1 2004-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * chartab.c (Fput_char_attribute): Convert char-specs to
4 characters in value of `ideographic-structure'.
5 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
6 for `{<-|->}simplified(@...)'.
7 (Fdefine_char): bTry to use predefined character's id.
9 2004-02-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
11 * fns.c (simplify_char_spec): Try to convert builtin chars to
14 2004-02-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
16 * chartab.c (Fput_char_attribute): Convert char-refs in value of
17 `<-simplified[^*]*' to characters and put reverse links.
19 2004-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
21 * chartab.c (Q_subsumptive): Renamed from Q_unified.
22 (Q_subsumptive_from): Renamed from Q_unified_from.
23 (Fchar_feature): Use `Q_subsumptive_from' instead of
25 (Fput_char_attribute): Likewise; Use `Q_subsumptive' instead of
27 (syms_of_chartab): Rename `->unified' to `->subsumptive' and
28 `<-unified' to `<-subsumptive'.
30 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
32 * chartab.c (Fchar_feature): Check `<-denotational' to avoid
33 inheritance itself; fix typo; stop recursive search if cyclic
36 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
38 * chartab.c (Q_denotational): New variable.
39 (Q_denotational_from): New variable.
40 (Fchar_feature): Refer `<-denotational' as same as `<-unified'.
41 (put_char_attribute): New function.
42 (Fput_char_attribute): Use `put_char_attribute'; regard
43 `->denotational' and `<-denotational' as same as `->unified' and
45 (syms_of_chartab): Add new symbols `->denotational' and
48 2004-02-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
50 * chartab.c (Fget_composite_char): Use `Fchar_feature' instead of
51 `Fget_char_attribute'.
52 (Fchar_variants): Likewise.
53 (get_char_table): Likewise.
54 (Fchar_feature): New function.
55 (put_char_composition): Use `Fchar_feature' instead of
56 `Fget_char_attribute'.
57 (Fput_char_attribute): Likewise; don't put the target character
58 into its `->unified' value.
59 (syms_of_chartab): Add new builtin function `char-feature'.
61 2004-01-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
63 * text-coding.c (COMPOSE_ADD_CHAR): Use `Fchar_feature' instead of
64 `Fget_char_attribute'.
65 (char_encode_utf8): Likewise.
67 * chartab.h: Add an EXFUN for `Fchar_feature'.
69 2004-01-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
71 * chartab.c (Vnext_defined_char_id): New variable.
72 (Fput_char_attribute): Accept characters in `->unified'.
73 (Fdefine_char): Refer and update Vnext_defined_char_id to allocate
74 new characters which are not related with builtin char-id ranges.
75 (vars_of_chartab): Add new variable `next-defined-char-id'.
77 2004-01-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
79 * chartab.c (Q_unified): New variable.
80 (Q_unified_from): New variable.
81 (Fput_char_attribute): Add code for `->unified'.
82 (syms_of_chartab): Add new symbols `->unified' and `<-unified' in
85 2003-11-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
87 * mule-charset.c (decode_ccs_conversion): New function.
88 (decode_defined_char): Use `decode_ccs_conversion'.
89 (decode_builtin_char): Likewise.
91 2003-11-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
93 * char-ucs.h: Change some charset-ids of private coded-charsets.
95 2003-11-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
97 * text-coding.c (decode_add_er_char): Modify for `DECODE_CHAR'.
98 (char_encode_as_entity_reference): Likewise.
99 (decode_coding_big5): Modify for `decode_defined_char' and
101 (decode_coding_utf8): Modify for `decode_defined_char'; modify to
102 avoid compiler warning.
103 (decode_coding_iso2022): Modify for `DECODE_CHAR'.
105 * mule-charset.c (decode_defined_char): Add new argument
106 `without_inheritance'.
107 (Fdecode_char): Add new optional argument `without_inheritance'.
108 (Fdecode_builtin_char): Modify for `Fdecode_char'.
110 * fns.c (ids_format_unit): Modify for `Fdecode_char'.
111 (simplify_char_spec): Likewise.
113 * chartab.h (Fdecode_char): Modify number of arguments of EXFUN
116 * chartab.c (put_char_table): Modify for `DECODE_CHAR'.
117 (map_char_table): Likewise.
118 (Fdefine_char): Use `Fdecode_char' without inheritance.
119 (Ffind_char): Modify for `Fdecode_char'.
121 * character.h (CHARC_TO_CHAR): Modify for `DECODE_CHAR'.
123 * char-ucs.h (decode_defined_char): Add new argument
124 `without_inheritance'.
125 (DECODE_CHAR): Likewise.
126 (MAKE_CHAR): Modify for `DECODE_CHAR'.
128 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
130 * chartab.c (Vchise_system_db_directory): New variable.
131 (vars_of_chartab): Add new variable `chise-system-db-directory'.
133 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
135 * chartab.c: EXFUN `Fmount_char_attribute_table'.
136 (print_chartab_range): Don't define when `UTF2000' is defined.
137 (open_chise_data_source_maybe): Specify 0 instead of DB_HASH for
140 2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
142 * chartab.c (Fchar_attribute_list): When HAVE_LIBCHISE is defined
143 and optional argument `rehash' is specified, call
144 `open_chise_data_source_maybe' before
145 `chise_ds_foreach_char_feature_name' is called.
147 2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
149 * chartab.c (char_attribute_list_reset_map_func): New function
150 when HAVE_LIBCHISE is defined.
151 (Fchar_attribute_list): Add new optional argument `rehash' when
152 HAVE_LIBCHISE is defined.
153 (open_chise_data_source_maybe): Use "chise-db" instead of
155 (char_attribute_system_db_file): Likewise.
156 (Fload_char_attribute_table): Use
157 `chise_feature_foreach_char_with_value' instead of
158 `chise_char_feature_value_iterate'.
160 2003-10-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
162 * chartab.c (Vchise_db_directory): New variable.
163 (vars_of_chartab): Add new built-in variable `chise-db-directory'.
165 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
167 * mule-charset.c (Freset_charset_mapping_table): Use HAVE_LIBCHISE
168 instead of HAVE_CHISE to specify using with libchise.
170 * config.h.in (HAVE_CHISE_CLIENT): Deleted.
172 * chartab.h: Don't use HAVE_CHISE_CLIENT.
174 * chartab.c (Qsystem_char_id): Don't define when HAVE_CHISE is not
175 defined or HAVE_LIBCHISE_LIBCHISE is defined.
176 (char_attribute_system_db_file): Don't define when HAVE_LIBCHISE
178 (Freset_char_attribute_table): Use HAVE_LIBCHISE instead of
179 HAVE_CHISE to specify using with libchise.
180 (syms_of_chartab): Don't define symbol `system-char-id' when
181 HAVE_CHISE is not defined or HAVE_LIBCHISE_LIBCHISE is defined.
183 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
185 * mule-charset.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
186 specify CHISE DB support.
187 (Freset_charset_mapping_table): Use `chise_ccs_setup_db' instead
188 of `char_attribute_system_db_file' to check feature DB file.
190 * chartab.h, casetab.c, char-ucs.h: Use HAVE_CHISE instead of
191 HAVE_CHISE_CLIENT to specify CHISE DB support.
193 * chartab.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
194 specify CHISE DB support.
195 (open_chise_data_source_maybe): Don't define when HAVE_LIBCHISE is
197 (Freset_char_attribute_table): Use `chise_feature_setup_db'
198 instead of `char_attribute_system_db_file' to check feature DB
201 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
203 * mule.c (vars_of_mule): Use `HAVE_CHISE' instead of `CHISE' and
206 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
208 * mule-charset.c: Use HAVE_LIBCHISE instead of CHISE.
209 (Fsave_charset_mapping_table): Don't use
210 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
212 * config.h.in (HAVE_CHISE): Renamed from `CHISE'.
213 (HAVE_LIBCHISE): New macro.
215 * chartab.h: Use HAVE_LIBCHISE instead of CHISE.
217 * chartab.c: Use HAVE_LIBCHISE instead of CHISE.
218 (Fsave_char_attribute_table): Don't use
219 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
221 2003-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
223 * chartab.c (save_uint8_byte_table): Use libchise when CHISE is
225 (save_uint16_byte_table): Likewise.
226 (save_byte_table): Likewise.
227 (char_table_get_db): Use `chise_ds_load_char_feature_value'
228 instead of `chise_char_load_feature_value'.
229 (Fsave_char_attribute_table): Use libchise when CHISE is defined.
231 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
233 * chartab.h (struct Lisp_Char_Table): Delete member
234 `feature_table' if CHISE is defined.
236 * chartab.c (Fmake_char_table): Don't refer `ct->feature_table'.
237 (Fcopy_char_table): Likewise.
238 (char_table_open_db_maybe): Likewise.
239 (char_table_close_db_maybe): Likewise.
240 (char_table_get_db): Likewise.
241 (Fmount_char_attribute_table): Likewise.
242 (Fload_char_attribute_table): Likewise.
244 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
246 * mule-charset.c (load_char_decoding_entry_maybe): Use
247 `chise_ds_decode_char' instead of `chise_ds_get_ccs' and
250 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
252 * chartab.c (open_chise_data_source_maybe): Use `CHISE_DS_open'
253 instead of `chise_open_data_source'.
254 (Fclose_char_data_source): Use `CHISE_DS_close' instead of
257 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
259 * chartab.c (char_table_open_db_maybe): Use `chise_ds_get_feature'
260 instead of `chise_ds_open_feature_table'.
261 (char_table_close_db_maybe): Don't use `chise_ft_close'.
263 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
265 * mule-charset.c (Fsave_charset_mapping_table): Use
266 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
267 `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
268 `chise_ccs_sync' instead of `chise_ccst_close'.
269 (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
271 * chartab.c (open_chise_data_source_maybe): Modify for
272 `chise_open_data_source'.
273 (char_table_open_db_maybe): Modify for
274 `chise_ds_open_feature_table'.
276 2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
278 * mule-charset.c (load_char_decoding_entry_maybe): Use
279 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
282 2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
284 * mule-charset.c (Fsave_charset_mapping_table): Use
285 `chise_ds_open_ccs_table', `chise_ccst_put_char' and
286 `chise_ccst_close' instead of `chise_ds_open_decoding_table',
287 `chise_dt_put_char' and `chise_dt_close'.
288 (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
289 `chise_ccs_decode' and `chise_ccst_close' instead of
290 `chise_ds_open_decoding_table', `chise_dt_get_char' and
293 * chartab.c (char_table_get_db): Use
294 `chise_char_load_feature_value' instead of `chise_ft_get_value'.
295 (load_char_attribute_table_map_func): Modify for
296 `chise_char_feature_value_iterate'.
297 (Fload_char_attribute_table): Use
298 `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
300 2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
302 * text-coding.c (COMPOSE_ADD_CHAR): Fixed.
304 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
306 * chartab.c (put_char_table): Modify for inherited coded-charsets
309 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
311 * chartab.c (Fput_char_table_map_function): Fixed.
312 (word_boundary_p): Don't check charset in XEmacs CHISE.
314 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
316 * mule-charset.c (Fsave_charset_mapping_table): Use
317 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
318 instead of `chise_open_decoding_table'; refer
319 `default_chise_data_source'; use `chise_dt_close' instead of
320 `chise_close_decoding_table'.
321 (load_char_decoding_entry_maybe): Likewise.
323 * chartab.c (default_chise_data_source): New variable when `CHISE'
325 (Fcopy_char_table): `ct->ds' is deleted.
326 (open_chise_data_source_maybe): New function.
327 (Fclose_char_data_source): New function.
328 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
329 use `chise_ds_open_feature_table' instead of
330 `chise_open_feature_table'.
331 (char_table_close_db_maybe): Use `chise_ft_close' instead of
332 `chise_close_feature_table'; `cit->ds' is deleted.
333 (syms_of_chartab): Add new builtin function
334 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
336 * chartab.h (default_chise_data_source): New extern variable.
337 (open_chise_data_source_maybe): New prototype.
338 (struct Lisp_Char_Table): Delete `ds'.
340 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
342 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
345 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
347 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
348 not defined; add code for non-libchise setting.
349 (char_table_close_db_maybe): Likewise.
350 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
352 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
353 even if `CHISE' is not defined.
354 (Freset_char_attribute_table): Likewise.
355 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
356 `char_table_close_db_maybe' even if `CHISE' is not defined; use
358 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
359 `char_table_close_db_maybe' even if `CHISE' is not defined.
361 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
363 * chartab.c (char_table_open_db_maybe): New function.
364 (char_table_close_db_maybe): New function.
365 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
366 (Freset_char_attribute_table): Likewise.
367 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
368 `char_table_close_db_maybe'.
369 (Fload_char_attribute_table): Likewise.
371 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
373 * chartab.c: Don't include <chise.h> because it is included in
375 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
377 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
379 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
381 (Fclose_char_attribute_table): Close `ct->feature_table' and
382 `ct->ds' when `CHISE' is defined.
383 (Freset_char_attribute_table): Likewise.
384 (load_char_attribute_maybe): Use `cit->ds' and
385 `cit->feature_table' when `CHISE' is defined.
386 (Fload_char_attribute_table): Likewise.
388 * chartab.h: Include <chise.h> when `CHISE' is defined.
389 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
390 when `CHISE' is defined.
392 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
394 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
396 (char_table_description): Likewise.
397 (Fmake_char_table): Likewise.
398 (Fcopy_char_table): Likewise.
399 (Fmount_char_attribute_table): Likewise.
400 (Fclose_char_attribute_table): Likewise.
401 (Freset_char_attribute_table): Likewise.
402 (load_char_attribute_maybe): Likewise.
403 (Fload_char_attribute_table): Likewise.
405 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
408 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
410 * chartab.c (load_char_attribute_table_map_func): New function
411 when CHISE is defined.
412 (Qload_char_attribute_table_map_function): Don't define when CHISE
414 (Fload_char_attribute_table_map_function): Likewise.
415 (Fload_char_attribute_table): Use libchise when `CHISE' is
417 (syms_of_chartab): Don't define
418 `load-char-attribute-table-map-function' when CHISE is defined.
420 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
422 * chartab.c: Include <chise.h> when `CHISE' is defined.
423 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
425 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
427 * mule-charset.c (charset_code_point): Fix problem when searching
428 in mother CCS fails with `defined_only' mode.
430 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
432 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
433 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
434 (put_char_composition): Likewise.
435 (Fput_char_attribute): Likewise.
436 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
438 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
440 * chartab.c (Q_ucs): Deleted.
441 (Fput_char_attribute): Don't refer `->ucs'.
442 (Fdefine_char): Likewise.
443 (Ffind_char): Likewise.
444 (syms_of_chartab): Delete `->ucs'.
446 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
448 * mule-charset.c (Qmap_cns11643_2): Renamed from
449 `Qchinese_cns11643_2'.
450 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
451 `chinese-cns11643-2'.
452 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
455 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
457 * mule-charset.c (Qmap_cns11643_1): Renamed from
458 `Qchinese_cns11643_1'.
459 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
460 `chinese-cns11643-1'.
461 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
464 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
466 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
467 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
469 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
472 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
474 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
475 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
477 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
480 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
482 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
483 (syms_of_mule_charset): Add new symbol `=big5' instead of
485 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
487 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
489 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
490 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
492 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
495 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
497 * mule-charset.c (Qmap_jis_x0212): Renamed from
498 `Qjapanese_jisx0212'.
499 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
501 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
504 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
506 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
507 `Qjapanese_jisx0208'.
508 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
509 of `japanese-jisx0208'.
510 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
513 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
515 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
516 `Qjapanese_jisx0208_1978'.
517 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
518 of `japanese-jisx0208-1978'.
519 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
522 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
524 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
525 only for XEmacs CHISE.
527 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
529 * char-ucs.h: Compact non-ISO-IR charset-ids.
530 (LEADING_BYTE_UCS): Changed to -177.
531 (LEADING_BYTE_CONTROL_1): Changed to -77.
532 (LEADING_BYTE_UCS_BMP): Changed to -176.
533 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
535 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
537 * mule-charset.c (Qiso_ir): New variable.
538 (Fmake_charset): Recognise new property `iso-ir'.
539 (syms_of_mule_charset): Add new symbol `iso-ir'.
541 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
543 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
544 n to -n; charset-id of non ISO-IR sets are changed to positive
547 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
549 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
550 for &MCS-XXXXXXXX; values.
552 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
554 * mule.c (Vxemacs_chise_version): Renamed from
556 (vars_of_mule): Add new variable `xemacs-chise-version'; define
557 `utf-2000-version' as an alias for `xemacs-chise-version'.
559 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
561 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
562 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
565 * config.h.in (CHISE): New macro.
567 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
569 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
571 (Qmap_ucs): New variable.
572 (syms_of_mule_charset): Add new symbol `=ucs'.
573 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
575 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
576 (simplify_char_spec): Likewise.
578 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
580 * char-ucs.h (Qmap_ucs): New extern variable.
582 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
584 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
585 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
586 don't define it when UTF2000 is not defined.
587 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
588 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
589 when UTF2000 is not defined.
590 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
591 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
593 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
595 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
597 * mule-charset.c (Vcharset_ucs_gb): Deleted.
599 (syms_of_mule_charset): Delete `ucs-gb'.
600 (complex_vars_of_mule_charset): Likewise.
602 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
604 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
606 * mule-charset.c (Vcharset_ucs_cns): Deleted.
608 (syms_of_mule_charset): Delete `ucs-cns'.
609 (complex_vars_of_mule_charset): Likewise.
611 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
613 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
615 * mule-charset.c (Vcharset_ucs_jis): Deleted.
617 (syms_of_mule_charset): Delete `ucs-jis'.
618 (complex_vars_of_mule_charset): Likewise.
620 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
622 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
624 * mule-charset.c (Vcharset_ucs_ks): Deleted.
626 (syms_of_mule_charset): Delete `ucs-ks'.
627 (complex_vars_of_mule_charset): Likewise.
629 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
631 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
632 (Qideograph_daikanwa_2): Deleted.
633 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
634 (complex_vars_of_mule_charset): Likewise.
636 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
637 (LEADING_BYTE_DAIKANWA_1): Deleted.
638 (LEADING_BYTE_DAIKANWA_2): Deleted.
639 (MIN_CHAR_DAIKANWA): Deleted.
640 (MAX_CHAR_DAIKANWA): Deleted.
642 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
644 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
645 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
646 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
648 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
649 (Vcharset_ideograph_daikanwa): Deleted.
650 (Qideograph_hanziku_{1..12}): Deleted.
651 (Qideograph_daikanwa): Deleted.
652 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
653 Vcharset_ideograph_daikanwa.
654 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
655 `ideograph-hanziku-{1..12}'.
656 (complex_vars_of_mule_charset): Likewise.
658 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
660 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
662 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
663 (Qideograph_gt_pj_{1..11}): Deleted.
664 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
665 (complex_vars_of_mule_charset): Likewise.
667 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
669 * mule-charset.c (Vcharset_ucs_big5): Deleted.
670 (Vcharset_ideograph_gt): Deleted.
671 (Qucs_big5): Deleted.
672 (Qideograph_gt): Deleted.
673 (syms_of_mule_charset): Delete symbol `ucs-big5' and
675 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
678 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
679 (LEADING_BYTE_GT): Deleted.
680 (MIN_CHAR_GT): Deleted.
681 (MAX_CHAR_GT): Deleted.
683 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
685 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
687 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
689 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
690 (save_uint16_byte_table): Likewise.
691 (save_byte_table): Likewise; convert values by it.
692 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
693 for `ideographic-structure'.
694 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
695 as the filter for `ideographic-structure'.
697 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
699 * chartab.c (put_char_composition): New function.
700 (Fput_char_attribute): Use `put_char_composition'; use
701 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
703 * fns.c (simplify_char_spec): New function.
704 (char_ref_simplify_spec): New function.
705 (Fchar_refs_simplify_char_specs): New function.
706 (syms_of_fns): Add new builtin function
707 `char-refs-simplify-char-specs'.
709 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
711 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
712 (Qideograph_cbeta): Deleted.
713 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
714 (complex_vars_of_mule_charset): Likewise.
716 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
717 (MIN_CHAR_CBETA): Comment out.
718 (MAX_CHAR_CBETA): Likewise.
720 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
722 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
723 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
724 CHISE client feature.
726 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
728 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
730 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
732 * mule-charset.c (charset_lookup_description_1): Use
733 `NUM_LEADING_BYTES' in UTF-2000.
735 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
737 * char-ucs.h (GC_CHARSETP): Deleted.
739 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
741 * char-ucs.h (MAX_CHAR_GT): Updated.
743 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
745 * text-coding.c: Sync with XEmacs 21.4.10.
747 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
749 * mule-charset.c (Vcharset_china3_jef): Deleted.
750 (Qchina3_jef): Deleted.
751 (syms_of_mule_charset): Don't define `china3-jef'.
752 (complex_vars_of_mule_charset): Likewise.
754 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
755 (MIN_CHAR_CHINA3_JEF): Comment out.
756 (MAX_CHAR_CHINA3_JEF): Comment out.
758 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
760 * mule-charset.c (Vcharset_ucs_gb): New variable.
761 (Qucs_gb): New variable.
762 (syms_of_mule_charset): Add new symbol `ucs-gb'.
763 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
765 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
767 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
769 * mule-charset.c (charset_code_point): if a coded-charset has a
770 final-byte, don't inherit the builtin range of the mother CCS.
772 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
774 * mule-charset.c (charset_code_point): Fix problem about
777 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
779 * mule-charset.c (decode_builtin_char): Reorganized.
781 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
783 * text-coding.c (char_encode_as_entity_reference): Modify for
784 `charset_code_point'.
785 (char_encode_shift_jis): Likewise.
786 (char_encode_big5): Likewise.
787 (char_encode_utf8): Likewise.
788 (char_encode_iso2022): Likewise.
790 * mule-charset.c (charset_code_point): Add new argument
792 (Fencode_char): Add new optional argument `defined_only'.
794 * chartab.c (put_char_table): Modify for `charset_code_point'.
796 * char-ucs.h (charset_code_point): Add new argument
798 (encode_char_1): Modify for `charset_code_point'.
800 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
802 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
803 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
805 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
807 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
808 (Qjis_x0208): Likewise.
809 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
810 XCHARSET_FINAL(charset).
811 (charset_code_point): Modify condition for final-byte based
813 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
814 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
815 in UTF-2000; specify `=jis-x0208' as the mother of
816 `japanese-jisx0208-1978', `japanese-jisx0208' and
817 `japanese-jisx0208-1990' in UTF-2000.
819 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
821 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
823 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
825 * text-coding.c (decode_coding_utf16): Support UTF-16.
826 (char_encode_utf16): Fixed.
828 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
830 * text-coding.c (Qutf16): New variable in MULE.
831 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
832 (Fcoding_system_type): Add `utf-16' in MULE.
833 (struct detection_state): Add a structure for utf16 in MULE.
834 (detect_coding_type): Setup st->utf16.mask in MULE.
835 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
837 (reset_encoding_stream): Use `char_encode_utf16' and
838 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
839 (detect_coding_utf16): New function [incomplete].
840 (decode_coding_utf16): New function [support only UCS-2].
841 (char_encode_utf16): New function.
842 (char_finish_utf16): New function.
843 (syms_of_file_coding): Add new symbol `utf-16'; setup
844 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
846 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
848 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
849 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
851 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
853 * chartab.c (put_char_table): When a charset is specified as a
854 range in UTF-2000, don't support builtin characters.
856 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
858 * mule-charset.c (decode_defined_char): Don't refer external
859 database if Qunbound or Qnil are found.
860 (Fsave_charset_mapping_table): Don't define it if
861 HAVE_CHISE_CLIENT is not defined.
862 (Freset_charset_mapping_table): New function.
863 (load_char_decoding_entry_maybe): Store Qnil if a character is not
864 found in external database.
865 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
866 if HAVE_CHISE_CLIENT is not defined; add new builtin function
867 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
869 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
871 * text-coding.c (decode_coding_utf8): Check CCS is specified or
874 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
876 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
877 Q_lowercase, Q_uppercase in UTF-2000.
879 * chartab.c (get_char_table): Add special code for the standard
880 case table to use character attribute `->downcase' and
881 `->uppercase' for case operations in UTF-2000.
883 * casetab.c (Qflippedcase): New variable in UTF-2000.
884 (Q_lowercase): Likewise.
885 (Q_uppercase): Likewise.
886 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
887 and `->uppercase' in UTF-2000.
888 (complex_vars_of_casetab): Assign attribute name `downcase' to
889 downcase and CANON table of Vstandard_case_table in UTF-2000;
890 assign attribute name `flippedcase' to upcase and EQV table of
891 Vstandard_case_table in UTF-2000.
893 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
895 * text-coding.c (decode_add_er_char): Support isolated-chars.
896 (char_encode_as_entity_reference): Likewise.
898 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
900 * emacs.c (Vutf_2000_lisp_directory): New variable.
901 (Vconfigure_utf_2000_lisp_directory): Likewise.
902 (complex_vars_of_emacs): Add new variable
903 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
905 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
907 * char-ucs.h (DECODE_CHAR): Delete special code for
908 `chinese-big5-1' and `chinese-big5-2'.
910 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
912 (decode_defined_char): Support CONVERSION_BIG5_1 and
914 (decode_builtin_char): Likewise.
915 (charset_code_point): Likewise.
916 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
917 'conversion in UTF-2000.
918 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
919 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
920 `chinese-big5-2' as children of `chinese-big5'.
922 * char-ucs.h (CONVERSION_BIG5_1): New macro.
923 (CONVERSION_BIG5_2): New macro.
925 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
927 * text-coding.c (char_encode_big5): Support entity-reference.
929 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
931 * text-coding.c (char_encode_as_entity_reference): New function.
932 (char_encode_utf8): Use `char_encode_as_entity_reference'.
934 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
936 * text-coding.c (decode_coding_big5): Support entity-reference
939 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
941 * text-coding.c (allocate_coding_system): Initialize initial
942 charsets for CODESYS_UTF8.
943 (Fmake_coding_system): Accept charset-g0, charset-g1 and
944 charset-g2 for CODESYS_UTF8.
945 (decode_coding_utf8): Use charset-g0.
946 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
947 to force variants to map to UCS.
949 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
951 * text-coding.c (Qutf_8_mcs): New variable.
952 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
953 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
954 instead of `utf-8' in UTF-2000.
956 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
958 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
959 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
960 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
961 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
962 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
963 CONVERSION_96x96x96x96 are introduced.
964 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
965 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
966 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
968 * char-ucs.h (CONVERSION_94): New macro.
969 (CONVERSION_96): New macro.
970 (CONVERSION_94x94): New macro.
971 (CONVERSION_96x96): New macro.
972 (CONVERSION_94x94x94): New macro.
973 (CONVERSION_96x96x96): New macro.
974 (CONVERSION_94x94x94x60): New macro.
975 (CONVERSION_94x94x94x94): New macro.
976 (CONVERSION_96x96x96x96): New macro.
978 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
980 * chartab.c (Vcharacter_variant_table): Deleted.
981 (Fchar_variants): Use character-attribute `->ucs-variants' instead
982 of `Vcharacter_variant_table'.
983 (Fput_char_attribute): Likewise.
984 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
985 (complex_vars_of_chartab): Likewise.
987 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
989 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
991 * fns.c (Qideographic_structure): New variable.
992 (Qkeyword_char): New variable.
993 (ids_format_unit): New function.
994 (Fideographic_structure_to_ids): New function.
995 (syms_of_fns): Add new symbols `ideographic-structure' and
996 `:char'; add new builtin function `ideographic-structure-to-ids'.
998 * data.c (Fchar_ref_p): New function.
999 (syms_of_data): Add new builtin function `char-ref-p'.
1001 * chartab.h: Add an EXFUN for `Ffind_char'.
1003 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1005 * text-coding.c (Vcharacter_composition_table): Deleted.
1006 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
1009 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
1011 (Vcharacter_composition_table): Deleted.
1012 (Fget_composite_char): Use the implementation for external-DB
1013 support in every UTF-2000.
1014 (Fput_char_attribute): Likewise.
1015 (char_attribute_system_db_file): Don't define if external-DB
1016 feature is not available.
1017 (Fsave_char_attribute_table): Likewise.
1018 (Fmount_char_attribute_table): Likewise.
1019 (Fclose_char_attribute_table): Likewise.
1020 (Freset_char_attribute_table): Likewise.
1021 (Fload_char_attribute_table): Likewise.
1022 (syms_of_chartab): Don't define `save-char-attribute-table',
1023 `mount-char-attribute-table', `reset-char-attribute-table',
1024 `close-char-attribute-table' and `load-char-attribute-table' if
1025 external-DB feature is not available.
1026 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
1028 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1030 * text-coding.c (Qcomposition): Add extern if external-DB feature
1032 (Vcharacter_composition_table): Don't add extern if external-DB
1033 feature is supported.
1034 (COMPOSE_ADD_CHAR): Modify for new data-representation of
1035 character composition rule if external-DB feature is supported.
1037 * chartab.c (Vcharacter_composition_table): Don't define if
1038 external-DB feature is supported.
1039 (Qcomposition): New variable.
1040 (Fget_composite_char): New implementation for external-DB support.
1041 (Fput_char_attribute): Use `composition' property of each
1042 character instead of `Vcharacter_composition_table' to store
1043 character-composition rules if external-DB feature is supported.
1044 (syms_of_chartab): Add new symbol `composition'.
1045 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
1046 external-DB feature is supported.
1048 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1050 * chartab.c (Vchar_db_stingy_mode): New variable.
1051 (load_char_attribute_maybe): Close database if
1052 Vchar_db_stingy_mode is not NIL.
1053 (Fload_char_attribute_table_map_function): Use
1054 `get_char_id_table_0' instead of `get_char_id_table'.
1055 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
1057 * chartab.h (get_char_id_table_0): New inline function.
1058 (get_char_id_table): Use `get_char_id_table_0'.
1060 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1062 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
1063 and `COMPOSE_ADD_CHAR'.
1064 (decode_coding_iso2022): Use `decode_flush_er_chars'.
1066 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1068 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
1069 instead of `DECODE_ADD_UCS_CHAR'.
1070 (COMPOSE_ADD_CHAR): Likewise.
1072 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1074 * text-coding.c (decode_flush_er_chars): New inline function.
1075 (decode_add_er_char): New function.
1076 (decode_coding_utf8): Use `decode_flush_er_chars' and
1077 `decode_add_er_char'.
1079 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1081 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
1082 done before `decode_output_utf8_partial_char'.
1084 * mule-charset.c (complex_vars_of_mule_charset): Specify
1085 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
1086 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
1088 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1090 * mule-charset.c (decode_defined_char): New function; search
1092 (decode_builtin_char): Don't search mother if
1093 XCHARSET_MAX_CODE(charset) == 0.
1094 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
1095 == 0 even if code >= XCHARSET_MAX_CODE(charset).
1096 (Fdecode_char): Use `decode_defined_char' instead of
1097 `DECODE_DEFINED_CHAR'.
1098 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
1099 mother of `Vcharset_ucs_jis'.
1101 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
1102 instead of `DECODE_DEFINED_CHAR'.
1104 * char-ucs.h (decode_defined_char): Renamed from
1105 `DECODE_DEFINED_CHAR'; changed to normal function.
1106 (DECODE_CHAR): Use `decode_defined_char' instead of
1107 `DECODE_DEFINED_CHAR'.
1109 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
1111 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1113 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
1115 * text-coding.c (Vcoded_charset_entity_reference_alist): New
1117 (Quse_entity_reference): New variable.
1121 (coding_system_description): Add description for
1122 `ccs_priority_list'.
1123 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
1124 (allocate_coding_system): Initialize `ccs_priority_list' in
1126 (Fmake_coding_system): Add description about
1127 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
1129 (Fcoding_system_property): Accept `disable-composition' and
1130 `use-entity-reference' in UTF-2000.
1131 (struct decoding_stream): Add new member `er_counter' and `er_buf'
1133 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
1134 (decode_coding_utf8): Decode entity-reference if
1135 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
1136 (char_encode_utf8): Encode non-Unicode characters as
1137 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
1139 (syms_of_file_coding): Add new symbols `use-entity-reference',
1141 (vars_of_file_coding): Add new variable
1142 `coded-charset-entity-reference-alist'.
1143 (complex_vars_of_file_coding): Declare `disable-composition' and
1144 `use-entity-reference' to be coding-system-properties in UTF-2000.
1146 * file-coding.h (struct Lisp_Coding_System): Add new member
1147 `use_entity_reference' and `ccs_priority_list'.
1148 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1149 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
1150 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1152 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1154 * chartab.c (save_uint8_byte_table): Don't clear the table.
1155 (save_uint16_byte_table): Likewise.
1156 (save_byte_table): Likewise.
1157 (Fmount_char_attribute_table): New function.
1158 (syms_of_chartab): Add new builtin function
1159 `mount-char-attribute-table'.
1161 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1163 * mule-charset.c (Fsave_charset_mapping_table): Open database as
1165 (load_char_decoding_entry_maybe): Open database as read-only mode.
1167 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
1168 open database as "w+" mode.
1169 (load_char_attribute_maybe): Open database as read-only mode.
1170 (Fload_char_attribute_table): Likewise.
1172 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1174 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
1175 (char_table_description): Delete member `db_file'.
1176 (Fmake_char_table): Don't refer `ct->db_file'.
1177 (Fcopy_char_table): Likewise.
1178 (Fsave_char_attribute_table): Likewise.
1179 (Fclose_char_attribute_table): Likewise.
1180 (Freset_char_attribute_table): Likewise.
1181 (load_char_attribute_maybe): Likewise.
1182 (Fload_char_attribute_table): Likewise.
1184 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
1186 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1188 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
1189 (Fsave_char_attribute_table): Don't check `ct->db_file' if
1191 (load_char_attribute_maybe): Likewise.
1192 (Fload_char_attribute_table): Likewise.
1194 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1196 * chartab.c (Fclose_char_attribute_table): Set Qnil on
1197 `ct->db_file' unconditionally.
1199 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1201 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
1203 (char_table_description): Add description for `db_file' and `db'
1205 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
1207 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
1208 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
1209 (Fclose_char_attribute_table): New function.
1210 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
1211 (load_char_attribute_maybe): Change interface; use `cit->db_file'
1213 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
1214 (syms_of_chartab): Add new builtin function
1215 `Fclose_char_attribute_table'.
1217 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1219 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
1221 (load_char_attribute_maybe): Change interface.
1222 (get_char_id_table): Modify for `load_char_attribute_maybe'.
1224 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1226 * database.h: Add an EXFUN for `Fdatabase_live_p'.
1228 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1230 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
1231 instead of `DECODE_CHAR' for mother; don't use special code for
1232 chinese-big5 to use code space of chinese-big5-1 and
1234 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
1235 `MAX_CHAR_BIG5_CDP' for chinese-big5.
1237 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
1238 (MAX_CHAR_BIG5_CDP): Revival.
1240 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1242 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
1243 the XLFD registry-encoding name of `chinese-big5'.
1245 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1247 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
1248 (Qchinese_big5_cdp): Deleted.
1249 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
1250 (complex_vars_of_mule_charset): Delete coded-charset
1253 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
1254 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
1255 `CHARSET_ID_OFFSET - n' for private CCS.
1256 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
1257 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
1258 of `MIN_LEADING_BYTE'.
1259 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
1260 `(CHARSET_ID_OFFSET - 97)'.
1261 (MIN_CHAR_BIG5_CDP): Deleted.
1262 (MAX_CHAR_BIG5_CDP): Deleted.
1264 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1266 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
1268 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1270 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
1271 (vars_of_mule): Add new variable `utf-2000-version' [moved from
1274 * chartab.c (Vutf_2000_version): Moved to mule.c.
1275 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
1277 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1279 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
1280 when HAVE_CHISE_CLIENT is not defined.
1282 * mule.c (vars_of_mule): Provide feature `chise' when
1283 HAVE_CHISE_CLIENT is defined.
1285 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1287 * config.h.in (UTF2000): Add comment.
1288 (HAVE_CHISE_CLIENT): New macro.
1290 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1292 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
1294 (Fput_char_attribute): Likewise.
1295 (char_attribute_system_db_file): Encode file-name of attribute.
1296 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
1299 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1301 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
1302 (Fsave_charset_mapping_table): Use
1303 `char_attribute_system_db_file'.
1304 (load_char_decoding_entry_maybe): Likewise.
1306 * chartab.h (Qsystem_char_id): New external variable.
1307 (char_attribute_system_db_file): New prototype.
1309 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
1310 (char_attribute_system_db_file): New function.
1311 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
1312 (Freset_char_attribute_table): Likewise.
1313 (load_char_attribute_maybe): Likewise.
1314 (Fload_char_attribute_table): Likewise.
1315 (syms_of_chartab): Add new symbol `system-char-id'.
1317 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1319 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
1320 `XCHARSET_GRAPHIC(ccs)'.
1322 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1324 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
1326 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1328 * chartab.c (Q_ucs_variants): New variable.
1329 (syms_of_chartab): Add new symbol `->ucs-variants'.
1330 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
1331 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
1332 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
1334 * mule-charset.c (load_char_decoding_entry_maybe): New function.
1336 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
1337 `HAVE_DATABASE' is defined.
1338 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
1339 `HAVE_DATABASE' is defined.
1341 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1343 * chartab.c (Fsave_char_attribute_table): Don't clear internal
1345 (Freset_char_attribute_table): New function.
1346 (syms_of_chartab): Add new builtin function
1347 `reset-char-attribute-table'.
1349 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1351 * chartab.c (load_char_attribute_maybe): Don't make directories.
1353 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1355 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
1357 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
1360 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1362 * mule-charset.c (Fsave_charset_mapping_table): Use
1363 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
1365 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
1366 instead of `XCHARSET_CHARS'.
1368 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1370 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
1371 (XCHARSET_BYTE_SIZE): Likewise.
1373 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
1375 (XCHARSET_BYTE_SIZE): Likewise.
1377 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1379 * chartab.c (Fput_char_attribute): Use exec-directory instead of
1380 data-directory to store database.
1381 (Fsave_char_attribute_table): Likewise.
1382 (load_char_attribute_maybe): Likewise.
1383 (Fload_char_attribute_table): Likewise.
1385 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1387 * mule-charset.c (Fsave_charset_mapping_table): New function.
1388 (syms_of_mule_charset): Add new builtin function
1389 `save-charset-mapping-table'.
1391 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1393 * char-ucs.h (decoding_table_check_elements): Delete prototype.
1394 (get_ccs_octet_table): New inline function.
1395 (put_ccs_octet_table): Likewise.
1396 (decoding_table_put_char): Use `get_ccs_octet_table' and
1397 `put_ccs_octet_table'.
1398 (decoding_table_remove_char): Use `decoding_table_put_char'.
1399 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
1401 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
1402 into encoding_table.
1403 (make_charset): Use Qunbound instead Qnil as initial value of
1406 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1408 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
1409 element is Qunloaded.
1410 (map_over_uint16_byte_table): Likewise.
1411 (map_over_byte_table): Likewise.
1412 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
1413 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
1414 database support, load encoding-table of the specified
1415 coded-charset if it is not loaded yet.
1416 (save_uint8_byte_table): New function of UTF-2000 with external
1418 (save_uint16_byte_table): Likewise.
1419 (save_byte_table): Likewise.
1420 (Fput_char_attribute): Don't store value into external database
1421 even if the external database feature is supported in UTF-2000;
1422 set `attribute' as name of char-table if the external database
1423 feature is supported.
1424 (Fsave_char_attribute_table): New function in UTF-2000.
1425 (syms_of_chartab): Add new builtin function
1426 `save-char-attribute-table' in UTF-2000.
1428 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1430 * chartab.c (char_attribute_table_to_put): New variable in
1432 (Qput_char_table_map_function): Likewise.
1433 (value_to_put): Likewise.
1434 (Fput_char_table_map_function): New function in UTF-2000.
1435 (put_char_table): Use `Fmap_char_attribute' for
1436 CHARTAB_RANGE_CHARSET in UTF-2000.
1437 (Fput_char_attribute): Store symbol instead of string in
1438 `XCHAR_TABLE_NAME (table)'.
1439 (load_char_attribute_maybe): Likewise.
1440 (syms_of_chartab): Add new symbol/function
1441 `put-char-table-map-function'.
1443 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1445 * database.h: Add new EXFUN for `Fmap_database'.
1447 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
1448 (syms_of_database): Likewise.
1450 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
1452 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
1453 (XCHAR_TABLE_UNLOADED): Likewise.
1455 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
1456 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
1457 HAVE_DATABASE is defined.
1458 (char_attribute_table_to_load): New variable of UTF-2000 with
1459 external database support.
1460 (Qload_char_attribute_table_map_function): Likewise.
1461 (Fload_char_attribute_table_map_function): New function of
1462 UTF-2000 with external database support.
1463 (Fload_char_attribute_table): New function of UTF-2000.
1464 (Fmap_char_attribute): Call Fload_char_attribute_table if
1465 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
1466 (syms_of_chartab): Add new symbol and function
1467 `load-char-attribute-table-map-function' in UTF-2000 with external
1468 database support; add new function `load-char-attribute-table' in
1471 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1473 * chartab.h (load_char_attribute_maybe): New prototype for
1474 UTF-2000 with DATABASE support.
1475 (get_char_id_table): Use `load_char_attribute_maybe' if
1476 HAVE_DATABASE is defined.
1478 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
1479 with DATABASE support.
1481 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1483 * chartab.c (Fput_char_attribute): Use S-expression as key of
1486 * chartab.h (get_char_id_table): Use S-expression as key of
1489 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1491 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
1492 if an element is not loaded, load the corresponding attributes
1493 from an external database.
1494 (map_over_uint16_byte_table): Likewise.
1495 (map_over_byte_table): Likewise.
1496 (map_char_table): Modify for `map_over_uint8_byte_table',
1497 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
1498 element is not loaded, load the corresponding attributes from an
1500 (Fput_char_attribute): Change initial values to Qunloaded.
1502 * chartab.h (get_char_id_table): If a character attribute is not
1503 loaded and the attribute value is not found in an external
1504 database, store Qunbound as the attribute value.
1506 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1508 * chartab.c (BT_UINT8_unloaded): New macro.
1509 (UINT8_VALUE_P): Accept Qunloaded.
1510 (UINT8_ENCODE): Likewise.
1511 (UINT8_DECODE): Likewise.
1512 (BT_UINT16_unloaded): New macro.
1513 (UINT16_VALUE_P): Accept Qunloaded.
1514 (UINT16_ENCODE): Likewise.
1515 (UINT16_DECODE): Likewise.
1516 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
1518 (mark_char_table): Mark `ct->name' in UTF-2000.
1519 (char_table_description): Add `name' in UTF-2000.
1520 (Fmake_char_table): Initialize `ct->name'.
1521 (Fcopy_char_table): Copy `ct->name'.
1522 (Fput_char_attribute): Store value into an external database if
1523 HAVE_DATABASE is defined.
1525 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
1527 (CHAR_TABLE_NAME): New macro in UTF-2000.
1528 (XCHAR_TABLE_NAME): New macro in UTF-2000.
1529 (get_char_id_table): Try to read an external database if Qunloaded
1530 is stored in a table.
1532 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
1535 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1537 * database.h: Add EXFUN definitions for Fopen_database,
1538 Fput_database, Fget_database and Fclose_database.
1540 * data.c (Qunloaded): New variable in UTF-2000.
1542 * lisp.h (Qunloaded): New variable in UTF-2000.
1544 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1546 * mule-charset.c (put_char_ccs_code_point): Modify for
1547 `decoding_table_remove_char' and `decoding_table_put_char'.
1548 (remove_char_ccs): Modify for `decoding_table_remove_char'.
1550 * char-ucs.h (decoding_table_remove_char): Change arguments to
1551 hide decoding_table vector.
1552 (decoding_table_put_char): Likewise.
1554 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1556 * mule-charset.c (decoding_table_remove_char): Moved to
1558 (decoding_table_put_char): Likewise.
1560 * char-ucs.h (decoding_table_check_elements): New prototype [moved
1561 from mule-charset.c].
1562 (decoding_table_remove_char): New inline function [moved from
1564 (decoding_table_put_char): Likewise.
1566 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1568 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
1571 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1573 * mule-charset.c (decode_builtin_char): Support mother charsets.
1575 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1577 * mule-charset.c (Q94x94x60): New variable.
1578 (charset_code_point): Support conversion `94x94x60'.
1579 (Fmake_charset): Likewise.
1580 (syms_of_mule_charset): Add new symbol `94x94x60'.
1582 * char-ucs.h (CONVERSION_94x94x60): New macro.
1584 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1586 * mule-charset.c (charset_code_point): Unify code about
1589 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1591 * mule-charset.c (charset_code_point): Merge code about builtin
1592 characters into code about mother charsets; don't use
1593 `range_charset_code_point'.
1594 (range_charset_code_point): Deleted.
1596 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1598 * mule-charset.c (Qcode_offset): New variable.
1599 (Fmake_charset): Use `XUINT' to get value of `min-code' and
1600 `max-code'; accept new property `code-offset'.
1601 (syms_of_mule_charset): Add new symbol `code-offset'.
1603 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1605 * mule-charset.c (range_charset_code_point): Fixed.
1607 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1609 * mule-charset.c (decode_builtin_char): Change semantics of
1610 code-offset of coded-charset.
1611 (charset_code_point): Likewise.
1612 (range_charset_code_point): Likewise.
1613 (complex_vars_of_mule_charset): Modify for the change.
1615 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1617 * mule-charset.c (Fencode_char): Reverse arguments.
1619 * mule-charset.c (charset_code_point): Fixed.
1621 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1623 * mule-charset.c (Vcharset_mojikyo): Deleted.
1624 (Vcharset_mojikyo_2022_1): Deleted.
1625 (Vcharset_mojikyo_pj_{1..21}): Deleted.
1626 (Qmin_code): New variable in UTF-2000.
1627 (Qmax_code): Likewise.
1628 (Qmother): Likewise.
1629 (Qconversion): Likewise.
1631 (Qmojikyo): Deleted.
1632 (Qmojikyo_2022_1): Deleted.
1633 (Qmojikyo_pj_{1..22}): Deleted.
1634 (mark_charset): Mark `cs->mother'.
1635 (charset_description): Add description for `mother'.
1636 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
1637 new arguments `mother' and `conversion'; use
1638 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
1639 (charset_code_point): Moved from char-ucs.h; support `mother'
1641 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
1642 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
1643 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
1644 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
1645 allow 2 as the value of `graphic' in UTF-2000; add new properties
1646 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
1647 require `final' in UTF-2000; modify for `make_charset'.
1648 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
1649 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
1650 (Fcharset_property): Support `mother', `min-code' and `max-code'.
1651 (Fencode_char): New function.
1652 (syms_of_mule_charset): Add new builtin function `encode-char' in
1653 UTF-2000; add new symbols `min-code', `max-code', `mother',
1654 `conversion' and `94x60'; delete symbols `mojikyo',
1655 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
1656 (complex_vars_of_mule_charset): Modify for `make_charset' change;
1657 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
1658 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
1660 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
1661 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
1663 * char-ucs.h (Vcharset_mojikyo): Deleted.
1664 (Vcharset_mojikyo_2022_1): Deleted.
1665 (LEADING_BYTE_MOJIKYO): Deleted.
1666 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
1667 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
1668 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
1669 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
1670 add new member `mother'; add new member `conversion'.
1671 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
1672 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
1673 (CHARSET_MOTHER): New macro.
1674 (CHARSET_CONVERSION): New macro.
1675 (CONVERSION_IDENTICAL): New macro.
1676 (CONVERSION_94x60): New macro.
1677 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
1678 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
1679 (XCHARSET_MOTHER): New macro.
1680 (XCHARSET_CONVERSION): New macro.
1681 (MIN_CHAR_MOJIKYO): Deleted.
1682 (MAX_CHAR_MOJIKYO): Deleted.
1683 (DECODE_MOJIKYO_2022): Deleted.
1684 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
1685 (charset_code_point): Changed to non-inline function.
1686 (encode_char_1): Use `charset_code_point'.
1687 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
1689 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1691 * lread.c (read_compiled_function): Fix prototype.
1692 (read_vector): Likewise.
1694 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1696 * lrecord.h (struct lrecord_header): Delete `older'.
1697 (set_lheader_implementation): Delete code for `older'.
1698 (set_lheader_older_implementation): Deleted.
1699 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
1700 (OLDER_RECORD_P): Deleted.
1701 (OLDER_RECORD_HEADER_P): Deleted.
1702 (alloc_older_lcrecord): Deleted.
1703 (alloc_older_lcrecord_type): Deleted.
1705 * alloc.c (all_older_lcrecords): Deleted.
1706 (alloc_older_lcrecord): Deleted.
1707 (disksave_object_finalization_1): Delete code for older objects.
1708 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
1709 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
1711 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1713 * mule-charset.c (decoding_table_put_char): Use `make_vector'
1714 instead of `make_older_vector'.
1715 (put_char_ccs_code_point): Likewise.
1716 (mark_charset): Mark `cs->decoding_table'.
1717 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
1719 * lisp.h (make_older_vector): Deleted.
1720 (make_vector_newer): Deleted.
1722 * config.h.in (HAVE_GGC): Deleted.
1724 * alloc.c (make_older_vector): Deleted.
1725 (make_vector_newer_1): Deleted.
1726 (make_vector_newer): Deleted.
1728 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1730 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
1731 (Qideograph_daikanwa_2): New variable.
1732 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
1733 (complex_vars_of_mule_charset): Add new coded-charset
1734 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
1735 `LEADING_BYTE_DAIKANWA'.
1737 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
1738 (LEADING_BYTE_DAIKANWA_1): New macro.
1739 (LEADING_BYTE_DAIKANWA_2): New macro.
1740 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
1742 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1744 * mule-charset.c (complex_vars_of_mule_charset): Change
1745 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
1746 the second revised version.
1748 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1750 * mule-charset.c (Vcharset_ucs_smp): New variable.
1751 (Vcharset_ucs_sip): New variable.
1752 (Qucs_smp): New variable.
1753 (Qucs_sip): New variable.
1754 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
1755 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
1756 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
1757 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
1758 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
1759 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
1761 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
1762 (LEADING_BYTE_UCS_SIP): New macro.
1763 (MIN_CHAR_SMP): New macro.
1764 (MAX_CHAR_SMP): New macro.
1765 (MIN_CHAR_SIP): New macro.
1766 (MAX_CHAR_SIP): New macro.
1768 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
1770 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
1773 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1775 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
1776 value; don't store value into `encoding_table' of `Lisp_Charset'.
1777 (mark_charset): `encoding_table' was deleted.
1778 (charset_description): Likewise.
1779 (make_charset): Likewise.
1780 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
1781 `put_char_ccs_code_point'.
1783 * chartab.h (Fput_char_attribute): New EXFUN.
1785 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
1786 is unified with normal symbol space.
1787 (Fget_char_attribute): Likewise.
1788 (Fput_char_attribute): Likewise; behavior of
1789 `put_char_ccs_code_point' is changed.
1791 * char-ucs.h: Include "elhash.h".
1792 (Vchar_attribute_hash_table): New external variable.
1793 (struct Lisp_Charset): Delete `encoding_table'.
1794 (CHARSET_ENCODING_TABLE): New implementation; refer
1795 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
1798 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1800 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
1803 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1805 * text-coding.c (char_encode_big5): Prefer charset-g1 than
1808 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1810 * chartab.c (uint8_byte_table_description): New constant.
1811 (uint8-byte-table): Use `uint8_byte_table_description'.
1812 (uint16_byte_table_description): New constant.
1813 (uint16-byte-table): Use `uint16_byte_table_description'.
1815 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1817 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
1818 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
1820 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1822 * mule-charset.c (Vcharset_ucs_ks): New variable.
1823 (Qucs_ks): New variable.
1824 (syms_of_mule_charset): Add new symbol `ucs-ks'.
1825 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
1827 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
1829 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1831 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
1832 (Fdecode_char): Likewise.
1834 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
1836 (Fdefine_char): Modify for Fdecode_char.
1837 (Ffind_char): Likewise.
1839 * mule-charset.c (Fdecode_char): Add new optional argument
1841 (Fdecode_builtin_char): Modify for `Fdecode_char'.
1843 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1845 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
1846 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
1847 (allocate_coding_system): Initialize initial-charsets of
1848 CODESYS_BIG5 in XEmacs UTF-2000.
1849 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
1850 CODESYS_BIG5 in XEmacs UTF-2000.
1851 (decode_coding_big5): Use initial-charset-g0 and -g1 of
1852 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
1854 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
1856 (Qideograph_hanziku_{1 .. 12}): Likewise.
1857 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
1859 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
1860 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
1861 `ideograph-hanziku-{1 .. 12}'.
1863 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
1864 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
1865 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
1866 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
1867 (DECODE_DEFINED_CHAR): New inline function.
1868 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
1870 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1872 * mule-charset.c (Vcharset_china3_jef): Renamed from
1873 `Vcharset_japanese_jef_china3'.
1874 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
1875 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
1876 `{MIN|MAX}_CHAR_JEF_CHINA3'..
1877 (syms_of_mule_charset): Rename `china3-jef' from
1878 `japanese-jef-china3'.
1879 (complex_vars_of_mule_charset): Likewise; rename
1880 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
1882 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
1883 `LEADING_BYTE_JEF_CHINA3'.
1884 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
1885 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
1887 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1889 * mule-charset.c (encode_builtin_char_1): Comment out special code
1890 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
1892 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
1893 (MAX_CHAR_MOJIKYO_0): Comment out.
1894 (MIN_CHAR_CBETA): Changed to 0x00E20000.
1895 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
1896 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
1897 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
1899 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1901 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
1902 (Qideograph_cbeta): New variable.
1903 (encode_builtin_char_1): Comment out special code for
1904 coded-charset `mojikyo' and `japanese-jef-china3'.
1905 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
1906 (complex_vars_of_mule_charset): Add new coded-charset
1909 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
1910 (MIN_CHAR_CBETA): New macro.
1911 (MAX_CHAR_CBETA): New macro.
1913 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1915 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
1916 (LEADING_BYTE_JEF_CHINA3): New macro.
1917 (MIN_CHAR_JEF_CHINA3): New macro.
1918 (MAX_CHAR_JEF_CHINA3): Likewise.
1919 (DECODE_CHAR): Fixed.
1921 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1923 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
1924 (Qjapanese_jef_china3): New variable.
1925 (encode_builtin_char_1): Support `japanese-jef-china3'.
1926 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
1927 (complex_vars_of_mule_charset): Add new coded-charset
1928 `japanese-jef-china3'.
1930 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1932 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
1933 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
1934 94^4, 96^3, 96^4, 128^n and 256^n set.
1935 (put_char_table): Use `XCHARSET_CELL_RANGE'.
1936 (map_char_table): Likewise.
1938 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1940 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
1943 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1945 * chartab.h (get_char_id_table): New inline function.
1947 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
1950 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1952 * chartab.h (decode_char_table_range): New prototype in XEmacs
1954 (put_char_id_table): New inline function in XEmacs UTF-2000.
1956 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
1958 (decode_char_table_range): Delete static declaration in XEmacs
1961 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1963 * chartab.c (put_char_id_table): Use `put_char_table'.
1965 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1967 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
1968 (map_over_uint16_byte_table): Likewise.
1969 (map_over_byte_table): Likewise.
1970 (map_char_table): Modify for `map_over_uint8_byte_table',
1971 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
1974 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1976 * chartab.c (struct map_char_table_for_charset_arg): New
1978 (map_char_table_for_charset_fun): New function.
1979 (map_char_table): Use `map_char_table' for encoding_table of
1982 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1984 * chartab.c (map_char_table): Check a character is found in
1985 range->charset instead of non default value is defined in
1986 char-table when range is CHARTAB_RANGE_ROW.
1988 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1990 * chartab.c (map_char_id_table): Deleted.
1991 (Fmap_char_attribute): Use `map_char_table' instead of
1992 `map_char_id_table'.
1994 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1996 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
1998 (update_syntax_table): Deleted in XEmacs UTF-2000.
2000 * syntax.c (find_defun_start): Use `syntax_table' instead of
2001 `mirror_syntax_table' in XEmacs UTF-2000.
2002 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
2004 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
2006 (Fmatching_paren): Likewise.
2007 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
2009 (find_start_of_comment): Likewise.
2010 (find_end_of_comment): Likewise.
2011 (Fforward_comment): Likewise.
2012 (scan_lists): Likewise.
2013 (char_quoted): Likewise.
2014 (Fbackward_prefix_chars): Likewise.
2015 (scan_sexps_forward): Likewise.
2016 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
2017 (update_syntax_table): Likewise.
2019 * search.c (skip_chars): Use `syntax_table' instead of
2020 `mirror_syntax_table' in XEmacs UTF-2000.
2021 (wordify): Likewise.
2022 (Freplace_match): Likewise.
2024 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
2025 `mirror_syntax_table' in XEmacs UTF-2000.
2026 (WORDCHAR_P_UNSAFE): Likewise.
2027 (re_match_2_internal): Likewise.
2029 * font-lock.c (find_context): Use `buf->syntax_table' instead of
2030 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2032 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
2033 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
2035 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
2038 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
2040 (print_char_table): Print `default_value' in XEmacs UTF-2000.
2041 (char_table_description): Delete `mirror_table' in XEmacs
2043 (fill_char_table): Don't call `update_syntax_table' in XEmacs
2045 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
2046 (Fcopy_char_table): Likewise.
2047 (put_char_table): Don't call `update_syntax_table' in XEmacs
2050 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
2051 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2052 (casify_region_internal): Likewise.
2054 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
2056 * buffer.c (common_init_complex_vars_of_buffer): Don't use
2057 `mirror_syntax_table' in XEmacs UTF-2000.
2059 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
2060 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2061 (Fexpand_abbrev): Likewise.
2063 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2065 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
2067 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2069 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
2070 (map_over_uint16_byte_table): Likewise.
2071 (map_over_byte_table): Likewise.
2072 (get_char_id_table): Refer `cit->default_value'.
2073 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2074 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
2075 of character-id ranges.
2076 (mark_char_table): Mark `ct->default_value'.
2077 (char_table_description): Add `default_value'.
2078 (fill_char_table): Use `default_value'.
2079 (decode_char_table_range): Decode `nil' as
2080 `CHARTAB_RANGE_DEFAULT'.
2081 (get_char_id_table): Refer `cit->default_value'.
2082 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2083 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
2084 temporary hack; check value of char-table is bound or not.
2085 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
2087 * chartab.h (struct Lisp_Char_Table): Add new member
2088 `default_value' in XEmacs UTF-2000.
2089 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
2090 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
2093 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2095 * chartab.h (Lisp_Char_ID_Table): Deleted.
2097 * chartab.c (char_table_description): Fix typo.
2098 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
2099 `Lisp_Char_ID_Table'.
2101 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2103 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
2106 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
2109 * chartab.h (XCHAR_ID_TABLE): Deleted.
2110 (XSETCHAR_ID_TABLE): Deleted.
2111 (CHAR_ID_TABLE_P): Deleted.
2113 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
2115 (Fget_composite_char): Likewise.
2116 (put_char_table): Likewise.
2117 (add_char_attribute_alist_mapper): Fixed.
2118 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
2120 (Fget_char_attribute): Likewise.
2121 (Fget_char_attribute): Likewise.
2122 (Fmap_char_attribute): Likewise.
2124 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
2126 (encode_char_1): Likewise.
2128 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2130 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
2133 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
2134 instead of `XCHAR_ID_TABLE'.
2135 (remove_char_ccs): Likewise.
2137 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
2139 (Fget_composite_char): Likewise.
2140 (Fchar_variants): Likewise.
2141 (put_char_table): Likewise.
2142 (add_char_attribute_alist_mapper): Likewise.
2143 (Fchar_attribute_alist): Likewise.
2144 (Fget_char_attribute): Likewise.
2145 (Fput_char_attribute): Likewise.
2146 (Fmap_char_attribute): Likewise.
2147 (Fmap_char_attribute): Likewise.
2149 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
2151 (encode_char_1): Likewise.
2153 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2155 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
2156 `Lisp_Char_ID_Table'.
2157 (mark_char_id_table): Deleted.
2158 (print_char_id_table): Likewise.
2159 (char_id_table_equal): Likewise.
2160 (char_id_table_hash): Likewise.
2161 (char_id_table_description): Likewise.
2162 (char_id_table): Likewise.
2163 (make_char_id_table): Use `Fmake_char_table' and
2165 (get_char_id_table): Use `Lisp_Char_Table' instead of
2166 `Lisp_Char_ID_Table'.
2167 (put_char_id_table): Likewise.
2168 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
2170 (Fremove_char_attribute): Likewise.
2171 (syms_of_chartab): Don't define type `char-id-table'.
2173 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
2174 (char_id_table): Likewise.
2175 (GC_CHAR_ID_TABLE_P): Likewise.
2176 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
2177 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
2178 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
2179 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
2180 (get_char_id_table): Use `Lisp_Char_Table' instead of
2181 `Lisp_Char_ID_Table'.
2182 (put_char_id_table_0): Likewise.
2183 (put_char_id_table): Likewise.
2185 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2187 * chartab.h: Lisp_Byte_Table related codes are moved from
2190 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
2192 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2194 * chartab.h: Don't include "chartab.h".
2195 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
2196 (Lisp_Char_ID_Table): Likewise.
2197 (char_id_table): Likewise.
2198 (XCHAR_ID_TABLE): Likewise.
2199 (XSETCHAR_ID_TABLE): Likewise.
2200 (CHAR_ID_TABLE_P): Likewise.
2201 (GC_CHAR_ID_TABLE_P): Likewise.
2202 (get_char_id_table): Likewise.
2204 * char-ucs.h: Include "chartab.h".
2205 (struct Lisp_Char_ID_Table): Moved to chartab.h.
2206 (Lisp_Char_ID_Table): Likewise.
2207 (char_id_table): Likewise.
2208 (XCHAR_ID_TABLE): Likewise.
2209 (XSETCHAR_ID_TABLE): Likewise.
2210 (CHAR_ID_TABLE_P): Likewise.
2211 (GC_CHAR_ID_TABLE_P): Likewise.
2212 (get_char_id_table): Likewise.
2214 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2216 * chartab.c (copy_uint8_byte_table): New function.
2217 (copy_uint16_byte_table): New function.
2218 (copy_byte_table): New function.
2219 (map_over_uint8_byte_table): Modify to avoid huge numbers of
2221 (map_over_uint16_byte_table): Likewise.
2222 (map_over_byte_table): Likewise.
2223 (get_byte_table): Move prototype to chartab.h.
2224 (put_byte_table): Likewise.
2225 (put_char_id_table_0): Moved to chartab.h.
2226 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
2227 (char_table_entry_equal): Likewise.
2228 (char_table_entry_hash): Likewise.
2229 (char_table_entry_description): Likewise.
2230 (char_table_entry): Likewise.
2231 (make_char_table_entry): Likewise.
2232 (copy_char_table_entry): Likewise.
2233 (get_non_ascii_char_table_value): Likewise.
2234 (map_over_charset_ascii): Likewise.
2235 (map_over_charset_control_1): Likewise.
2236 (map_over_charset_row): Likewise.
2237 (map_over_other_charset): Likewise.
2238 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
2239 (print_char_table): Likewise.
2240 (char_table_equal): Likewise.
2241 (char_table_hash): Likewise.
2242 (char_table_description): Likewise.
2243 (fill_char_table): Likewise.
2244 (Fcopy_char_table): Likewise.
2245 (get_char_table): Likewise.
2246 (Fget_range_char_table): Likewise.
2247 (put_char_table): Likewise.
2248 (map_char_table): Likewise.
2249 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
2252 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2254 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
2255 `Vauto_fill_chars' in XEmacs UTF-2000.
2257 * chartab.h (get_byte_table): New prototype [moved from
2259 (put_byte_table): Likewise [moved from chartab.c].
2260 (put_char_id_table_0): New inline function [moved from chartab.c].
2261 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
2262 (Lisp_Char_Table_Entry): Likewise.
2263 (char_table_entry): Likewise.
2264 (XCHAR_TABLE_ENTRY): Likewise.
2265 (XSETCHAR_TABLE_ENTRY): Likewise.
2266 (CHAR_TABLE_ENTRYP): Likewise.
2267 (CHECK_CHAR_TABLE_ENTRY): Likewise.
2268 (NUM_ASCII_CHARS): Likewise.
2269 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
2270 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
2272 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2274 * chartab.c (get_char_id_table): Change interface.
2275 (put_char_id_table_0): New function.
2276 (put_char_id_table): Change interface; new implementation.
2277 (Fget_composite_char): Modify for interface change of
2278 `get_char_id_table'.
2279 (Fchar_variants): Likewise.
2280 (add_char_attribute_alist_mapper): Likewise.
2281 (Fchar_attribute_alist): Likewise.
2282 (Fget_char_attribute): Likewise.
2283 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
2284 as same as character as the first argument like `put-char-table';
2285 modify for interface change of `put_char_id_table'.
2286 (Fremove_char_attribute): Modify for interface change of
2287 `put_char_id_table'.
2289 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2291 * text-coding.c: Sync up with XEmacs 21.2.41.
2292 (COMPOSE_ADD_CHAR): Modify for interface change of
2293 `get_char_id_table'.
2295 * mule-charset.c (put_char_ccs_code_point): Modify for interface
2296 change of `put_char_id_table'.
2297 (remove_char_ccs): Likewise.
2299 * chartab.h (put_char_id_table): Change interface.
2301 * char-ucs.h (get_char_id_table): Change interface.
2302 (charset_code_point): Modify for interface change of
2303 `get_char_id_table'.
2304 (encode_char_1): Likewise.
2306 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2308 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
2310 (map_over_uint16_byte_table): Likewise.
2311 (map_over_byte_table): Likewise.
2312 (map_char_id_table): Add new argument `range' like
2314 (Fmap_char_attribute): Add new argument `range' like
2317 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2319 * chartab.c (map_over_uint8_byte_table): Change interface of
2320 mapping function to use struct chartab_range instead of Emchar.
2321 (map_over_uint16_byte_table): Likewise.
2322 (map_over_byte_table): Likewise.
2323 (map_char_id_table): Likewise.
2324 (struct slow_map_char_id_table_arg): Deleted.
2325 (slow_map_char_id_table_fun): Deleted.
2326 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
2327 function `slow_map_char_table_fun' instead of struct
2328 `slow_map_char_id_table_arg' and function
2329 `slow_map_char_id_table_fun'.
2331 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2333 * mule-charset.c: Move char-it-table related codes to chartab.c.
2334 (Vutf_2000_version): Moved to chartab.c.
2335 (Fdefine_char): Likewise.
2336 (Ffind_char): Likewise.
2337 (syms_of_mule_charset): Move types `uint8-byte-table',
2338 `uint16-byte-table', `byte-table' and `char-id-table' to
2339 chartab.c; move functions `char_attribute_list,
2340 `find_char_attribute_table, `char_attribute_alist,
2341 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
2342 `map_char_attribute, `define_char, `find_char, `char_variants and
2343 `get_composite_char to chartab.c; move symbols `=>ucs',
2344 `->decomposition', `compat', `isolated', `initial', `medial',
2345 `final', `vertical', `noBreak', `fraction', `super', `sub',
2346 `circle', `square', `wide', `narrow', `small' and `font' to
2348 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
2349 setting codes for `Vcharacter_composition_table' and
2350 `Vcharacter_variant_table' to chartab.c.
2351 (complex_vars_of_mule_charset): Move setting code for
2352 `Vchar_attribute_hash_table' to chartab.c.
2354 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
2355 (make_char_id_table): New prototype.
2356 (put_char_id_table): Likewise.
2357 (Fget_char_attribute): Likewise.
2359 * chartab.c: Move char-id-table related code from mule-charset.c.
2360 (Vutf_2000_version): Moved from mule-charset.c.
2362 * char-ucs.h (Qucs): New external variable.
2363 (put_char_ccs_code_point): New prototype.
2364 (remove_char_ccs): Likewise.
2366 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2368 * mule-charset.c (Vcharset_ucs_jis): New variable.
2369 (Qucs_jis): Likewise.
2370 (syms_of_mule_charset): Add new symbol `ucs-jis'.
2371 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
2373 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
2375 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2377 * mule-charset.c (map_over_uint8_byte_table): New function.
2378 (map_over_uint16_byte_table): Likewise.
2379 (map_over_byte_table): Likewise.
2380 (map_char_id_table): Likewise.
2381 (slow_map_char_id_table_fun): Likewise.
2382 (Fmap_char_attribute): Likewise.
2383 (syms_of_mule_charset): Add new function `map-char-attribute'.
2385 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2387 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
2388 (syms_of_mule_charset): Add new function `find-char'.
2390 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2392 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
2394 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
2395 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
2397 (complex_vars_of_mule_charset): Add new coded-charset
2398 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
2399 `ideograph-gt-pj-*'.
2401 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
2403 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2405 * mule-charset.c (encode_builtin_char_1): Purge codes about
2406 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
2407 {MIN|MAX}_CHAR_HEBREW.
2408 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
2409 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
2411 * char-ucs.h (MIN_CHAR_GREEK): Purged.
2412 (MAX_CHAR_GREEK): Purged.
2413 (MIN_CHAR_CYRILLIC): Purged.
2414 (MAX_CHAR_CYRILLIC): Purged.
2415 (MIN_CHAR_HEBREW): Commented out.
2416 (MAX_CHAR_HEBREW): Likewise.
2418 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2420 * mule-charset.c (Qto_ucs): New variable.
2421 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
2422 (Fdefine_char): Likewise.
2423 (syms_of_mule_charset): Add new symbol `=>ucs'.
2425 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2427 * mule-charset.c (Fdecode_char): Fixed.
2429 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2431 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
2432 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
2435 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2437 * mule-charset.c (Vcharset_ucs_big5): New variable.
2438 (Qucs_big5): Likewise.
2439 (syms_of_mule_charset): Add new symbol `ucs-big5'.
2440 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
2442 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
2444 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2446 * mule-charset.c (decode_builtin_char): Check Big5 code range
2447 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
2449 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2451 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
2452 (Qchinese_gb12345): Likewise.
2453 (Fdecode_builtin_char): Fixed.
2454 (syms_of_mule_charset): Add `chinese-gb12345'.
2455 (complex_vars_of_mule_charset): Add coded-charset
2458 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
2459 (LEADING_BYTE_CHINESE_GB12345): New macro.
2461 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2463 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
2464 and `latin-viscii-upper' for `latin-viscii'.
2466 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2468 * mule-charset.c (Fdecode_builtin_char): Comment out
2469 regularization code for ISO-IR GR representation.
2471 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2473 * mule-charset.c (decode_builtin_char): New function; renamed from
2474 `make_builtin_char'; return -1 instead of signal.
2475 (Fdecode_builtin_char): Use `decode_builtin_char'.
2477 * char-ucs.h (decode_builtin_char): New prototype; renamed from
2478 `make_builtin_char'.
2479 (DECODE_CHAR): Use `decode_builtin_char' instead of
2480 `make_builtin_char'; use mapping table of `chinese-big5' for
2481 `chinese-big5-{1,2}'.
2483 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2485 * text-coding.c (char_encode_big5): New function.
2486 (char_finish_big5): Likewise.
2487 (reset_encoding_stream): Use `char_encode_big5' and
2488 `char_finish_big5' for CODESYS_BIG5.
2489 (mule_encode): Don't use `encode_coding_big5'.
2490 (encode_coding_big5): Deleted.
2492 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2494 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
2495 0x81- in XEmacs UTF-2000.
2496 (detect_coding_big5): Likewise.
2498 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2500 * mule-charset.c (Fdefine_char): Don't use a CCS property to
2501 generate character-id if the CCS property does not have
2502 corresponding predefined character.
2503 (make_builtin_char): Return -1 if corresponding predefined
2504 character is not found.
2505 (Fdecode_char): Return nil if corresponding character is not
2507 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
2508 don't map to builtin ucs space.
2510 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2512 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
2513 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
2515 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2517 * mule-charset.c (Vcharset_ideograph_gt): New variable.
2518 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
2519 (Qideograph_gt): Likewise.
2520 (Qideograph_gt_pj_{1..11}): Likewise.
2521 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
2522 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
2523 `ideograph-gt-pj-11'.
2524 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
2525 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
2526 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
2528 * char-ucs.h (LEADING_BYTE_GT): New macro.
2529 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
2530 (MIN_CHAR_GT): Likewise.
2531 (MAX_CHAR_GT): Likewise.
2533 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2535 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
2536 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
2538 * doprnt.c (unsigned_int_converters): Add `c'.
2539 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
2541 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
2542 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
2544 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
2545 (MAX_CHAR_MOJIKYO_0): New macro.
2546 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
2548 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2550 * mule-charset.c (Fdefine_char): Delete cemented out code.
2551 (encode_builtin_char_1): Modify for new allocation of builtin
2554 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
2556 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2558 * mule-charset.c (Vcharset_ucs_cns): New variable.
2559 (Qucs_cns): New variable.
2560 (syms_of_mule_charset): Add new symbol `ucs-cns'.
2561 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
2563 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2565 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
2567 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2569 * search.c (search_buffer): Make `charset_base_code' as
2570 character-id >> 6 to eliminate the corresponding last byte in
2571 UTF-8 representation [I'm not sure it is right thing].
2572 (boyer_moore): Likewise.
2574 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2576 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
2577 representation in MULE.
2579 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2581 * text-coding.c (Fmake_coding_system): Use
2582 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
2583 `EXTERNAL_PROPERTY_LIST_LOOP'.
2585 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2587 * text-coding.c (decode_output_utf8_partial_char): New function.
2588 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
2590 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2592 * text-coding.c (decode_coding_utf8): Output original byte
2593 sequence if it is broken; change order of conditions.
2595 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
2598 * mb-multibyte.h (BYTE_ASCII_P):
2599 Use bit ops for char-signedness safety.
2600 (BYTE_C0_P): Use bit ops for char-signedness safety.
2601 (BYTE_C1_P): Use bit ops for char-signedness safety.
2603 * character.h: (XCHAR_OR_CHAR_INT):
2604 Always use inline function.
2605 Remove redundant type checking assert() - XINT will abort quite
2608 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2610 * text-coding.c: (Fencode_shift_jis_char):
2611 (Fencode_big5_char):
2612 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
2613 Replace 0 with '\0' when working with bytes.
2614 Replace initial "(" with "\(" in docstrings.
2616 (Fmake_coding_system):
2617 When type is ccl and value is vector, register it with a proper
2618 symbol. And checks whether the given ccl program is valid.
2619 (mule_decode): When calling ccl_driver, if src indicates
2620 NULL pointer, set an empty string instead.
2621 (mule_encode): Likewise.
2624 (detect_coding_sjis):
2625 (decode_coding_sjis):
2626 (detect_coding_big5):
2627 (decode_coding_big5):
2628 (detect_coding_ucs4):
2629 (decode_coding_ucs4):
2630 (detect_coding_utf8):
2631 (decode_coding_utf8):
2632 (detect_coding_iso2022):
2633 (decode_coding_iso2022):
2634 (decode_coding_no_conversion):
2636 Make all detecting and decoding functions take an Extbyte * arg.
2637 (text_encode_generic):
2638 (encode_coding_big5):
2639 (encode_coding_no_conversion):
2641 Make all encoding functions take a Bufbyte * arg.
2642 Use size_t instead of unsigned int for memory sizes.
2643 Only cast to unsigned char whenever dereferencing Extbyte *.
2645 (struct lrecord_description fcd_description_1): Use countof.
2646 (complex_vars_of_file_coding):
2647 Use countof instead of sizeof.
2648 Use CHECK_NATNUM instead of CHECK_INT.
2650 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2652 * mule-charset.c (Fget_char_attribute): Add new optional argument
2654 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
2655 (remove_char_ccs): Likewise.
2657 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2659 * text-coding.c (char_encode_shift_jis): New implementation in
2661 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
2664 * mule-charset.c (Vcharset_chinese_big5): New variable in
2666 (Qchinese_big5): New variable in UTF-2000.
2667 (BIG5_SAME_ROW): New macro in UTF-2000.
2668 (make_builtin_char): Use builtin characters of
2669 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
2670 characters of `Vcharset_chinese_big5'.
2671 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
2672 (complex_vars_of_mule_charset): Add new coded-charset
2673 `chinese-big5' in UTF-2000.
2675 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
2676 (Vcharset_chinese_big5): New external variable declaration.
2677 (Vcharset_japanese_jisx0208_1990): Likewise.
2679 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2681 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
2683 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
2685 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2687 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
2688 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
2689 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
2692 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2694 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
2696 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2698 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2701 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2703 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
2704 for `CHARSET_BY_ATTRIBUTES'.
2705 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2706 `CHARSET_BY_ATTRIBUTES'.
2708 * text-coding.c (struct decoding_stream): Rename member `CH' to
2710 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
2711 (decode_coding_sjis): Likewise.
2712 (decode_coding_big5): Likewise.
2713 (decode_coding_ucs4): Likewise.
2714 (decode_coding_utf8): Likewise.
2715 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2716 `CHARSET_BY_ATTRIBUTES'.
2717 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
2718 `str->counter'; decode 3, 4 bytes sets.
2719 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
2721 (decode_coding_no_conversion): Use `str->cpos' instead of
2724 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
2725 (Qmojikyo_2022_1): New variable.
2726 (make_charset): Don't use `CHARSET_TYPE_*'.
2727 (range_charset_code_point): Support coded-charset
2729 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
2730 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
2731 `CHARSET_BY_ATTRIBUTES'.
2732 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
2733 `CHARSET_BY_ATTRIBUTES'.
2734 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
2735 (complex_vars_of_mule_charset): Add new coded-charset
2738 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
2739 interface; changed to inline function.
2741 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
2742 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
2743 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
2744 (CHARSET_TYPE_94): Deleted.
2745 (CHARSET_TYPE_94X94): Deleted.
2746 (CHARSET_TYPE_96): Deleted.
2747 (CHARSET_TYPE_96X96): Deleted.
2748 (CHARSET_TYPE_128): Deleted.
2749 (CHARSET_TYPE_128X128): Deleted.
2750 (CHARSET_TYPE_256): Deleted.
2751 (CHARSET_TYPE_256X256): Deleted.
2752 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
2754 (DECODE_MOJIKYO_2022): New inline function.
2755 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
2756 `Vcharset_mojikyo_2022_1'.
2758 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2760 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
2762 (put_byte_table): Likewise.
2763 (char_id_table_equal): Use `get_byte_table' [new implementation].
2765 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2767 * mule-charset.c: Include <limits.h> in UTF-2000.
2768 (BT_UINT8_MIN): New macro in UTF-2000.
2769 (BT_UINT8_MAX): New macro in UTF-2000.
2770 (BT_UINT8_t): New macro in UTF-2000.
2771 (BT_UINT8_nil): New macro in UTF-2000.
2772 (BT_UINT8_unbound): New macro in UTF-2000.
2773 (INT_UINT8_P): New inline function in UTF-2000.
2774 (UINT8_VALUE_P): New inline function in UTF-2000.
2775 (UINT8_ENCODE): New inline function in UTF-2000.
2776 (UINT8_DECODE): New inline function in UTF-2000.
2777 (mark_uint8_byte_table): New function in UTF-2000.
2778 (print_uint8_byte_table): New function in UTF-2000.
2779 (uint8_byte_table_equal): New function in UTF-2000.
2780 (uint8_byte_table_hash): New function in UTF-2000.
2781 (make_uint8_byte_table): New function in UTF-2000.
2782 (uint8_byte_table_same_value_p): New function in UTF-2000.
2783 (BT_UINT16_MIN): New macro in UTF-2000.
2784 (BT_UINT16_MAX): New macro in UTF-2000.
2785 (BT_UINT16_t): New macro in UTF-2000.
2786 (BT_UINT16_nil): New macro in UTF-2000.
2787 (BT_UINT16_unbound): New macro in UTF-2000.
2788 (INT_UINT16_P): New inline function in UTF-2000.
2789 (UINT16_VALUE_P): New inline function in UTF-2000.
2790 (UINT16_ENCODE): New inline function in UTF-2000.
2791 (UINT16_DECODE): New inline function in UTF-2000.
2792 (UINT8_TO_UINT16): New inline function in UTF-2000.
2793 (mark_uint16_byte_table): New function in UTF-2000.
2794 (print_uint16_byte_table): New function in UTF-2000.
2795 (uint16_byte_table_equal): New function in UTF-2000.
2796 (uint16_byte_table_hash): New function in UTF-2000.
2797 (make_uint16_byte_table): New function in UTF-2000.
2798 (uint16_byte_table_same_value_p): New function in UTF-2000.
2799 (print_byte_table): New function in UTF-2000.
2800 (byte-table): Use `print_byte_table' as printer.
2801 (make_byte_table): Delete second argument `older'.
2802 (byte_table_same_value_p): New function in UTF-2000.
2803 (copy_byte_table): Deleted.
2804 (get_byte_table): New function in UTF-2000.
2805 (put_byte_table): New function in UTF-2000.
2806 (print_char_id_table): New function in UTF-2000.
2807 (char-id-table): Use `print_char_id_table' as printer.
2808 (make_char_id_table): Delete second argument `older'.
2809 (get_char_id_table): Use `get_byte_table [new implementation].
2810 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
2812 (Ffind_char_attribute_table): New function in UTF-2000.
2813 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
2814 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
2815 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
2816 (syms_of_mule_charset): Add new function
2817 `find-char-attribute-table' in UTF-2000.
2819 * lrecord.h (enum lrecord_type): Add
2820 `lrecord_type_uint16_byte_table' and
2821 `lrecord_type_uint8_byte_table'.
2823 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
2824 (Lisp_Uint8_Byte_Table): New type.
2825 (XUINT8_BYTE_TABLE): New macro.
2826 (XSETUINT8_BYTE_TABLE): New macro.
2827 (UINT8_BYTE_TABLE_P): New macro.
2828 (GC_UINT8_BYTE_TABLE_P): New macro.
2829 (struct Lisp_Uint16_Byte_Table): New structure.
2830 (Lisp_Uint16_Byte_Table): New type.
2831 (XUINT16_BYTE_TABLE): New macro.
2832 (XSETUINT16_BYTE_TABLE): New macro.
2833 (UINT16_BYTE_TABLE_P): New macro.
2834 (GC_UINT16_BYTE_TABLE_P): New macro.
2836 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2838 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
2839 (Vcharacter_ideographic_strokes_table): Deleted.
2840 (Vcharacter_total_strokes_table): Deleted.
2841 (Vcharacter_morohashi_daikanwa_table): Deleted.
2842 (Vcharacter_decomposition_table): Deleted.
2843 (Qname): Deleted because it is duplicated.
2844 (Qideographic_radical): Deleted.
2845 (Qideographic_strokes): Deleted.
2846 (Qtotal_strokes): Deleted.
2847 (Qmorohashi_daikanwa): Deleted.
2848 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
2849 `ideographic-radical', `ideographic-strokes', `total-strokes',
2850 `morohashi-daikanwa' and `->decomposition'.
2851 (Fget_char_attribute): Likewise.
2852 (Fput_char_attribute): Likewise; use `make-vector' instead of
2853 `make_older_vector' for `->decomposition' value.
2854 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
2855 `ideograph-daikanwa'.
2856 (syms_of_mule_charset): Delete builtin symbols `name',
2857 `ideographic-radical', `ideographic-strokes', `total-strokes' and
2858 `morohashi-daikanwa'.
2859 (vars_of_mule_charset): Don't setup
2860 `Vcharacter_ideographic_radical_table',
2861 `Vcharacter_ideographic_strokes_table',
2862 `Vcharacter_total_strokes_table',
2863 `Vcharacter_morohashi_daikanwa_table' and
2864 `Vcharacter_decomposition_table'.
2866 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2868 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
2869 `make_older_vector', `make_vector_newer_1' and
2870 `make_vector_newer'.
2872 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
2873 `make_older_vector' and `make_vector_newer'.
2875 * config.h.in (HAVE_GGC): New macro.
2877 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2879 * mule-charset.c (struct char_attribute_list_closure): New
2880 structure in UTF-2000.
2881 (add_char_attribute_to_list_mapper): New function in UTF-2000.
2882 (Fchar_attribute_list): Likewise.
2883 (Fset_charset_mapping_table): Use `make_vector_newer'.
2884 (Fdecode_builtin_char): New function in UTF-2000.
2885 (syms_of_mule_charset): Add new function `char-attribute-list' and
2886 `decode-builtin-char' in UTF-2000.
2888 * lisp.h (make_vector_newer): New prototype.
2890 * alloc.c (make_vector_newer_1): New function.
2891 (make_vector_newer): New function.
2893 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2895 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
2898 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2900 * mule-charset.c (Vchar_attribute_hash_table): New variable.
2901 (Vcharacter_attribute_table): Deleted.
2902 (Vcharacter_name_table): Deleted.
2903 (put_char_attribute): Deleted.
2904 (remove_char_attribute): Deleted.
2905 (struct char_attribute_alist_closure): New structure.
2906 (add_char_attribute_alist_mapper): New function.
2907 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
2908 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
2909 (Fget_char_attribute): Likewise.
2910 (Fput_char_attribute): Likewise.
2911 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
2912 of `remove_char_attribute'.
2913 (Fdefine_char): Return character.
2914 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
2915 and `Vcharacter_name_table'.
2916 (complex_vars_of_mule_charset): Likewise
2917 `Vchar_attribute_hash_table'.
2919 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2921 * character.h (CHARC_CHARSET): New macro.
2922 (CHARC_CHARSET_ID): New macro.
2923 (CHARC_CODE_POINT): New macro.
2924 (CHARC_COLUMNS): New macro.
2925 (CHARC_TO_CHAR): New inline function.
2926 (CHARC_EQ): New inline function.
2927 (CHARC_ASCII_EQ): New inline function.
2928 (CHARC_IS_SPACE): New inline function.
2929 (ASCII_TO_CHARC): New inline function.
2931 * char-ucs.h (encode_char_2): Deleted.
2932 (ENCODE_CHAR): Use `encode_char_1' again.
2933 (breakup_char_1): Likewise.
2934 (CHAR_TO_CHARC): New inline function.
2936 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
2938 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2940 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
2941 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
2942 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
2943 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
2944 (create_string_text_block): Use `CHARC_ASCII_EQ' and
2946 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
2948 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
2950 (x_output_display_block): Use `CHARC_CHARSET' and
2953 * redisplay-tty.c (tty_output_display_block): Use
2955 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
2957 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
2959 * insdel.c (find_charsets_in_charc_string): Use
2961 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
2962 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
2963 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
2964 (convert_charc_string_into_malloced_string): Likewise.
2966 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2968 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
2969 instead of <Emchar_dynarr *> for buf; use
2970 `convert_bufbyte_string_into_charc_dynarr' instead of
2971 `convert_bufbyte_string_into_emchar_dynarr'; use
2972 `find_charsets_in_charc_string' instead of
2973 `find_charsets_in_emchar_string'.
2976 - Include "character.h".
2977 (struct rune): New member `cglyph'; delete member `chr'.
2979 * redisplay.c (redisplay_text_width_charc_string): New function;
2980 delete `redisplay_text_width_emchar_string'.
2981 (rtw_charc_dynarr): New variable; renamed from
2982 `rtw_emchar_dynarr'.
2983 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
2984 `rtw_emchar_dynarr'; use
2985 `convert_bufbyte_string_into_charc_dynarr' instead of
2986 `convert_bufbyte_string_into_emchar_dynarr'; use
2987 `redisplay_text_width_charc_string' instead of
2988 `redisplay_text_width_emchar_string'.
2989 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
2990 instead of `rtw_emchar_dynarr'; use
2991 `convert_bufbyte_string_into_charc_dynarr' instead of
2992 `convert_bufbyte_string_into_emchar_dynarr'.
2993 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
2994 `redisplay_text_width_charc_string' instead of
2995 `redisplay_text_width_emchar_string'.
2996 (create_text_block): Modify for <struct rune> change.
2997 (generate_formatted_string_db): Likewise.
2998 (create_string_text_block): Likewise.
2999 (pixel_to_glyph_translation): Likewise.
3001 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
3002 instead of <const Emchar *>.
3003 (x_text_width): Likewise.
3004 (x_output_display_block): Use <Charc_dynarr *> instead
3005 <Emchar_dynarr *>; modify for <structure rune> change.
3006 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
3009 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
3010 <const Emchar *>; use `charc_string_displayed_columns' instead of
3011 `emchar_string_displayed_columns'.
3012 (tty_output_display_block): Use <Charc_dynarr *> instead of
3013 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
3014 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
3015 (tty_output_charc_dynarr_dynarr): New variable; renamed from
3016 `tty_output_emchar_dynarr_dynarr'.
3017 (tty_output_charc_dynarr): New function; delete
3018 `tty_output_charc_dynarr'.
3020 * redisplay-output.c (compare_runes): Modify for `struct rune'.
3021 (redisplay_output_layout): Use <Charc_dynarr *> instead of
3022 <Emchar_dynarr *> for buf; use
3023 `convert_bufbyte_string_into_charc_dynarr' instead of
3024 `convert_bufbyte_string_into_emchar_dynarr'.
3026 * frame.c (title_string_charc_dynarr): New variable; renamed from
3027 `title_string_emchar_dynarr'.
3028 (generate_title_string): Use `title_string_charc_dynarr' instead
3029 of `title_string_emchar_dynarr'; use
3030 `convert_charc_string_into_malloced_string' instead of
3031 `convert_emchar_string_into_malloced_string'.
3032 (init_frame): Use `title_string_charc_dynarr' instead of
3033 `title_string_emchar_dynarr'.
3036 - Include "character.h".
3037 (struct console_methods): Use <const Charc *> instead of <const
3038 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
3039 <Emchar_dynarr *> in output_string_method.
3041 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
3044 * console-stream.c (stream_text_width): Use <const Charc *>
3045 instead of <const Emchar *>.
3047 * character.h (Charc_dynarr): New type.
3049 * char-ucs.h (structure Charc): New structure; define new type
3052 * char-lb.h (DECODE_CHAR): New inline function.
3053 (encode_char_1): New inline function.
3054 (ENCODE_CHAR): New macro.
3055 (structure Charc): New structure; define new type `Charc'.
3057 * char-1byte.h (Vcharset_control_1): New macro.
3058 (Vcharset_latin_iso8859_1): New macro.
3059 (DECODE_CHAR): New inline function.
3060 (encode_char_1): New inline function.
3061 (ENCODE_CHAR): New macro.
3062 (structure Charc): New structure; define new type `Charc'.
3064 * insdel.c (find_charsets_in_charc_string): New function; delete
3065 `find_charsets_in_emchar_string'.
3066 (charc_string_displayed_columns): New function; delete
3067 `emchar_string_displayed_columns'.
3068 (convert_bufbyte_string_into_charc_dynarr): New function; delete
3069 `convert_bufbyte_string_into_emchar_dynarr'.
3070 (convert_charc_string_into_bufbyte_dynarr): New function; delete
3071 `convert_charc_string_into_bufbyte_dynarr'.
3072 (convert_charc_string_into_malloced_string): New function; delete
3073 `convert_charc_string_into_malloced_string'.
3075 * buffer.h (find_charsets_in_charc_string): New prototype; delete
3076 `find_charsets_in_emchar_string'.
3077 (charc_string_displayed_columns): New prototype; delete
3078 `emchar_string_displayed_columns'.
3079 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
3080 `convert_charc_string_into_bufbyte_dynarr'.
3081 (convert_charc_string_into_malloced_string): New prototype; delete
3082 `convert_charc_string_into_malloced_string'.
3084 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3086 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
3088 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3090 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
3092 * char-ucs.h: Use <short> for <Charset_ID>.
3094 * mule-charset.h, char-1byte.h: Use <unsigned char> for
3097 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3099 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3102 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3104 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
3106 (Qmorohashi_daikanwa): New variable.
3107 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
3108 for `morohashi-daikanwa' attribute.
3109 (Fget_char_attribute): Likewise.
3110 (Fput_char_attribute): Likewise.
3111 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
3112 has the same value of `ideograph-daikanwa'.
3113 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
3114 (vars_of_mule_charset): Setup
3115 `Vcharacter_morohashi_daikanwa_table'.
3117 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3119 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
3121 (add_charset_to_list_mapper): Add `key' instead of
3122 `XCHARSET_NAME (value)' to return aliases.
3124 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3126 * mule-charset.c (Vcharacter_ideographic_radical_table): New
3128 (Vcharacter_ideographic_strokes_table): New variable.
3129 (Qideographic_radical): New variable.
3130 (Qideographic_strokes): New variable.
3131 (Fchar_attribute_alist): Use
3132 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
3133 attribute; use `Vcharacter_ideographic_strokes_table' for
3134 `ideographic-strokes' attribute.
3135 (Fget_char_attribute): Likewise.
3136 (Fput_char_attribute): Likewise.
3137 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
3138 `ideographic-strokes'.
3139 (vars_of_mule_charset): Setup
3140 `Vcharacter_ideographic_radical_table' and
3141 `Vcharacter_ideographic_strokes_table'.
3143 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3145 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
3146 (Qtotal_strokes): New variable.
3147 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
3148 `total-strokes' attribute.
3149 (Fget_char_attribute): Likewise.
3150 (Fput_char_attribute): Likewise.
3151 (syms_of_mule_charset): Add new symbol `total-strokes'.
3152 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
3154 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3156 * mule-charset.c (Vcharacter_decomposition_table): New variable.
3157 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
3159 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
3160 `->decomposition' attribute.
3161 (Fput_char_attribute): Likewise.
3162 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
3164 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3166 * mule-charset.c (decoding_table_check_elements): New function.
3167 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
3169 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3171 * mule-charset.c (Fset_charset_mapping_table): Use
3172 `put_char_ccs_code_point'.
3174 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3176 * mule-charset.c (decoding_table_put_char): New inline function.
3177 (put_char_ccs_code_point): Use `decoding_table_put_char'.
3179 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3181 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
3182 (XCHARSET_BYTE_SIZE): New macro.
3183 (decoding_table_remove_char): New inline function.
3184 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
3185 `decoding_table_remove_char'.
3186 (remove_char_ccs): Use `decoding_table_remove_char'.
3187 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
3189 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3191 * mule-charset.c (Vcharacter_name_table): New variable.
3192 (Qname): New variable.
3193 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
3195 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
3196 `Vcharacter_name_table' for `name' attribute.
3197 (Fremove_char_attribute): Use function `remove_char_ccs'.
3198 (put_char_ccs_code_point): New function.
3199 (remove_char_ccs): New function.
3200 (syms_of_mule_charset): Add new symbol `name'.
3201 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
3203 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3205 * mule-charset.c (make_byte_table): Add new argument `older'.
3206 (make_char_id_table): Likewise.
3207 (copy_char_id_table): Comment out because it is not used.
3208 (put_char_id_table): Modify for `make_byte_table'.
3209 (Fput_char_attribute): Make encoding_table as older object;
3210 inherit older bit of `Vcharacter_composition_table'.
3211 (mark_charset): Don't mark `cs->encoding_table'.
3212 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
3213 normal object; make `Vcharacter_composition_table' as an older
3214 object; delete staticpro for `Vcharacter_composition_table'; make
3215 `Vcharacter_variant_table' as a normal object.
3217 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
3218 (mark_object): Don't check older object in UTF-2000.
3220 * lrecord.h (struct lrecord_header): Add new member `older' in
3222 (set_lheader_implementation): Setup `SLI_header->older' in
3224 (set_lheader_older_implementation): New macro in UTF-2000.
3225 (OLDER_RECORD_P): New macro in UTF-2000.
3226 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
3227 (alloc_older_lcrecord): New prototype in UTF-2000.
3228 (alloc_older_lcrecord_type): New macro in UTF-2000.
3230 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3232 * mule-charset.c (byte_table_description): Use
3233 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
3234 (char_id_table_description): Delete bogus `, 1'.
3235 (Fget_char_attribute): Refer encoding_table of each coded-charset
3236 to get value of coded-charset attribute of a character.
3237 (Fput_char_attribute): Use `make_older_vector' instead of
3238 `make_vector'; use encoding_table of each coded-charset to store
3239 value of coded-charset attribute of a character.
3240 (Fremove_char_attribute): Use encoding_table of each coded-charset
3241 to store value of coded-charset attribute of a character.
3242 (mark_charset): Mark `cs->encoding_table'; don't mark
3243 `cs->decoding_table'.
3244 (charset_description): Add description of new member
3246 (make_charset): Initialize `encoding_table'.
3248 * char-ucs.h (struct Lisp_Charset): Add new member
3250 (CHARSET_ENCODING_TABLE): New macro.
3251 (XCHARSET_ENCODING_TABLE): New macro.
3252 (charset_code_point): New implementation.
3253 (encode_char_1): Likewise.
3255 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
3256 (disksave_object_finalization_1): Call finalizers of
3257 `all_older_lcrecords' in UTF-2000.
3258 (make_older_vector): New function in UTF-2000.
3259 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
3262 * lisp.h (make_older_vector): New prototype in UTF-2000.
3264 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3266 * lrecord.h (enum lrecord_type): Rename
3267 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
3269 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
3270 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
3271 `get_char_code_table'.
3273 * mule-charset.c (mark_char_id_table): Renamed from
3274 `mark_char_code_table'.
3275 (char_id_table_equal): Renamed from `char_code_table_equal'.
3276 (char_id_table_hash): Renamed from `char_code_table_hash'.
3277 (make_char_id_table): Renamed from `make_char_code_table'.
3278 (copy_char_id_table): Renamed from `copy_char_code_table'.
3279 (get_char_id_table): Renamed from `get_char_code_table'.
3280 (put_char_id_table): Renamed from `put_char_code_table'.
3281 (to_char_id): Renamed from `to_char_code'.
3283 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
3284 `Lisp_Char_Code_Table'.
3285 (char_id_table): Renamed from `char_code_table'.
3286 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
3287 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
3288 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
3289 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
3290 (get_char_id_table): Renamed from `get_char_code_table'.
3292 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3294 * lrecord.h (enum lrecord_type): Rename
3295 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
3297 * mule-charset.c (mark_byte_table): Renamed from
3298 `mark_char_byte_table'.
3299 (byte_table_equal): Renamed from `char_byte_table_equal'.
3300 (byte_table_hash): Renamed from `byte_table_hash'.
3301 (make_byte_table): Renamed from `make_byte_table'.
3302 (copy_byte_table): Renamed from `copy_char_byte_table'.
3304 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
3305 `Lisp_Char_Byte_Table'.
3306 (byte_table): Renamed from `char_byte_table'.
3307 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
3308 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
3309 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
3310 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
3312 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3314 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
3315 (dfc_convert_to_internal_format): Likewise.
3317 * text-coding.c (Fcoding_system_canonical_name_p): New function.
3318 * text-coding.c (Fcoding_system_alias_p): New function.
3319 * text-coding.c (Fcoding_system_aliasee): New function.
3320 * text-coding.c (append_suffix_to_symbol): New function.
3321 * text-coding.c (dangling_coding_system_alias_p): New function.
3322 * text-coding.c (Ffind_coding_system):
3323 * text-coding.c (Fcopy_coding_system):
3324 * text-coding.c (encode_coding_no_conversion):
3325 * text-coding.c (syms_of_file_coding):
3326 * text-coding.c (vars_of_file_coding):
3327 Rewrite coding system alias code.
3328 Allow nested aliases, like symbolic links.
3329 Allow redefinition of coding system aliases.
3330 Prevent existence of dangling coding system aliases.
3331 Eliminate convert_to_external_format.
3332 Eliminate convert_to_internal_format.
3334 * text-coding.c: Change enum eol_type to eol_type_t.
3336 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3338 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
3339 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3341 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
3342 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3344 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3346 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
3347 `ideograph-daikanwa'.
3349 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
3350 (Vcharset_ucs_bmp): Likewise.
3351 (Vcharset_mojikyo): Add new extern variable definition.
3352 (Vcharset_latin_iso8859_2): Deleted because it is not used.
3353 (Vcharset_latin_iso8859_3): Likewise.
3354 (Vcharset_latin_iso8859_4): Likewise.
3355 (Vcharset_latin_iso8859_9): Likewise.
3356 (Vcharset_latin_viscii_lower): Likewise.
3357 (Vcharset_latin_viscii_upper): Likewise.
3358 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
3359 `mojikyo' code-point is used to decode.
3360 (encode_char_2): New function [to convert `mojikyo' code-point to
3361 Mojikyo font encoding].
3362 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
3363 (breakup_char_1): Likewise.
3364 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
3366 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3368 * text-coding.c (Fmake_coding_system): Add document about
3369 `disable-composition' property.
3371 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3373 * text-coding.c (Qdisable_composition): New variable; delete
3375 (Fmake_coding_system): Add new property `disable-composite';
3376 delete property `composite'.
3377 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
3378 instead of `!CODING_SYSTEM_COMPOSITE'.
3379 (syms_of_file_coding): Add new symbol `disable-composition';
3380 delete symbol `composite'.
3382 * file-coding.h (struct Lisp_Coding_System): Add
3383 `disable_composition'; delete `enable_composition'.
3384 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3385 `CODING_SYSTEM_COMPOSITE'.
3386 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3387 `XCODING_SYSTEM_COMPOSITE'.
3389 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3391 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3394 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3396 * text-coding.c (Qcomposite): New variable.
3397 (Fmake_coding_system): Add new property `composite'.
3398 (struct decoding_stream): Add `combined_char_count',
3399 `combined_chars' and `combining_table' in UTF-2000.
3400 (COMPOSE_FLUSH_CHARS): New macro.
3401 (COMPOSE_ADD_CHAR): New macro.
3402 (reset_decoding_stream): Reset `str->combined_char_count' and
3403 `str->combining_table' in UTF-2000.
3404 (decode_coding_iso2022): Modify for character-decomposition.
3405 (syms_of_file_coding): Add new symbol `composite'.
3407 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3409 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
3410 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
3411 of `Vcharacter_composition_table' if `->decomposition' property
3413 (Qlatin_tcvn5712): New variable.
3414 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
3415 (complex_vars_of_mule_charset): Add new coded-charset
3418 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
3420 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3422 * file-coding.h (struct Lisp_Coding_System): Add
3423 `enable_composition'.
3424 (CODING_SYSTEM_COMPOSITE): New macro.
3425 (XCODING_SYSTEM_COMPOSITE): New macro.
3427 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
3429 * mule-canna.c (c2mu): Fix problem with UTF-2000.
3431 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
3433 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
3434 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
3436 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
3438 * mule-charset.c (Vcharset_mojikyo): New variable.
3439 (Fdefine_char): Don't use coded-charset which does not have
3440 non-builtin character range to allocate character-id.
3441 (Qmojikyo): New variable.
3442 (syms_of_mule_charset): Add new symbol `mojikyo'.
3443 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
3445 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
3446 (LEADING_BYTE_MOJIKYO): New macro.
3447 (MIN_CHAR_MOJIKYO): New macro.
3448 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
3449 (MAX_CHAR_MOJIKYO): New macro.
3451 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
3453 * mule-charset.c (remove_char_attribute): Fixed.
3455 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
3457 * mule-charset.c (remove_char_attribute): New function.
3458 (Fremove_char_attribute): New function.
3459 (encode_builtin_char_1): Comment out builtin-support for
3460 greek-iso8859-7 and cyrillic-iso8859-5.
3461 (Fdecode_char): Check `code' is an integer.
3462 (syms_of_mule_charset): Add `remove-char-attribute'.
3463 (MIN_CHAR_GREEK): Deleted.
3464 (MAX_CHAR_GREEK): Likewise.
3465 (MIN_CHAR_CYRILLIC): Likewise.
3466 (MAX_CHAR_CYRILLIC): Likewise.
3467 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
3468 MAX_CHAR_GREEK for `greek-iso8859-7'.
3470 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
3471 (MAX_CHAR_GREEK): Likewise.
3472 (MIN_CHAR_CYRILLIC): Likewise.
3473 (MAX_CHAR_CYRILLIC): Likewise.
3475 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
3477 * mule-charset.c (Fdefine_char): Fix problem when new code-point
3478 format is used without `ucs' property.
3479 (Fdecode_char): Fix problem with GR representation.
3480 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
3481 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
3483 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3485 * mule-charset.c (make_builtin_char): New function.
3486 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
3487 (Fset_charset_mapping_table): Modify for new representation of
3489 (Fdecode_char): New function.
3490 (syms_of_mule_charset): Add new builtin function `decode-char' in
3493 * char-ucs.h (make_builtin_char): New prototype.
3494 (DECODE_CHAR): New inline function.
3495 (MAKE_CHAR): Use `DECODE_CHAR'.
3497 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
3499 * text-coding.c (parse_charset_conversion_specs): Use
3500 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
3502 (iso2022_designate): Likewise.
3504 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
3505 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
3507 * mule-charset.c (Vcharset_ucs): New variable.
3508 (print_charset): Change design; use `CHARSET_CHARS' and
3509 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
3510 (make_charset): Change signature to specify `chars' and
3511 `dimension' instead of `type'.
3512 (range_charset_code_point): Modify for 256^n-set.
3513 (encode_builtin_char_1): Encode as `ucs' in default.
3514 (Fmake_charset): Modify for `make_charset'.
3515 (Fmake_reverse_direction_charset): Likewise.
3516 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
3518 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
3521 * char-ucs.h (Vcharset_ucs): New variable.
3522 (LEADING_BYTE_UCS): New macro.
3523 (struct Lisp_Charset): Delete `type'; change type of `dimension'
3524 and `chars' to `unsigned short' from `unsigned int'.
3525 (CHARSET_TYPE): Deleted.
3526 (XCHARSET_TYPE): Deleted.
3528 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
3530 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
3532 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
3533 (ENCODE_CHAR): New macro.
3535 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3537 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3538 to 0.14 (Kawachi-Katakami).
3540 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3542 * text-coding.c (char_encode_shift_jis): Modify for
3543 `charset_code_point'.
3544 (char_encode_iso2022): Likewise.
3546 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
3547 (integer) instead of list of <Lisp_Object>s (integers) as the
3548 format of code-point of a coded-charset.
3549 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3550 (encode_builtin_char_1): New function; delete
3551 `split_builtin_char'.
3552 (charset_code_point): Return <int> instead of <Lisp_Object>.
3553 (Fsplit_char): Don't use `SPLIT_CHAR'.
3555 * char-ucs.h (encode_builtin_char_1): New prototype; delete
3556 prototype for `split_builtin_char'.
3557 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3558 (charset_code_point): Likewise.
3559 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
3560 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
3562 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
3564 * mule-charset.c (complex_vars_of_mule_charset): Don't define
3565 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
3567 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3569 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
3571 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
3572 (MAX_CHAR_OBS_94x94): Deleted.
3574 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3576 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
3578 * char-ucs.h (MAX_CHAR_BMP): New macro.
3580 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3582 * text-coding.c: Sync with r21-2-24.
3584 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3586 * file-coding.c: Modify for UTF-2000.
3588 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3590 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3593 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3595 * mule-charset.c (split_builtin_char): Delete builtin support for
3596 `katakana-jisx0201'.
3597 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
3598 BMP area in builtin representation.
3600 * char-ucs.h (MAKE_CHAR): Delete builtin support for
3601 `Vcharset_katakana_jisx0201'.
3603 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
3605 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
3606 (Qisolated): New variable.
3607 (Qinitial): New variable.
3608 (Qmedial): New variable.
3609 (Qfinal): New variable.
3610 (Qvertical): New variable.
3611 (Qsmall): New variable.
3612 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
3613 `Qvertical' and `Qsmall'.
3614 (Qmojikyo_pj_[1 .. 21]): New variable.
3615 (syms_of_mule_charset): Add new symbols `isolated', `initial',
3616 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
3617 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
3620 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3622 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
3623 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
3624 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
3626 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3628 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
3629 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
3631 (Qjapanese_jisx0208_1990): New variable.
3632 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
3633 (complex_vars_of_mule_charset): Add new coded-charset
3634 `japanese-jisx0208-1990'.
3636 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
3637 (MIN_CHAR_JIS_X0208_1990): New macro.
3638 (MAX_CHAR_JIS_X0208_1990): New macro.
3640 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3642 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
3643 coded-charset is not found.
3645 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3647 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
3648 (Fdefine_char): Use `Fmake_char'.
3650 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3652 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
3653 (Vcharset_hiragana_jisx0208): Deleted.
3654 (Vcharset_katakana_jisx0208): Deleted.
3655 (Qideograph_daikanwa): New variable.
3656 (Qhiragana_jisx0208): Deleted.
3657 (Qkatakana_jisx0208): Deleted.
3658 (split_builtin_char): Split `ideograph-daikanwa'.
3659 (Fsplit_char): New implementation for UTF-2000.
3660 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
3661 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
3662 (complex_vars_of_mule_charset): Add new coded-charset
3663 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
3664 `katakana-jisx0208'.
3666 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
3667 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
3668 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
3669 (MIN_CHAR_DAIKANWA): New macro.
3670 (MAX_CHAR_DAIKANWA): New macro.
3672 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3674 * data.c (Fstring_to_number): Don't recognize floating point if
3677 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3679 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
3681 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3683 * mule-charset.c (Qsquare): New variable.
3684 (to_char_code): Add `Qsquare'.
3685 (syms_of_mule_charset): Add new symbol `square'.
3687 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3689 * mule-charset.c (Qcircle): New variable.
3690 (to_char_code): Add `Qcircle'.
3691 (syms_of_mule_charset): Add new symbol `circle'.
3693 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3695 * mule-charset.c (Qfont): New variable.
3696 (to_char_code): Add `Qfont'.
3697 (syms_of_mule_charset): Add new symbol `font'.
3699 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3701 * mule-charset.c (Qsub): New variable.
3702 (to_char_code): Add `Qsub'.
3703 (syms_of_mule_charset): Add new symbol `sub'.
3705 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3707 * mule-charset.c (Fput_char_attribute): Convert each element of
3708 VALUE to GL position if ATTRIBUTE is a GR-set,
3710 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3712 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
3713 coded-charset is a GR-set.
3715 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3717 * mule-charset.c (Fput_char_attribute): Check each element of
3718 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
3720 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3722 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
3724 (Qethiopic_ucs): New variable in UTF-2000.
3725 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
3726 (complex_vars_of_mule_charset): Add new coded-charset
3727 `ethiopic-ucs' in UTF-2000.
3729 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
3730 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
3732 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
3734 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
3736 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3738 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
3741 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3743 * mule-charset.c (Vcharacter_variant_table): New variable.
3744 (Q_ucs): New variable.
3745 (Fchar_variants): New function.
3746 (Fput_char_attribute): Register `->ucs' value to
3747 `Vcharacter_variant_table'.
3748 (syms_of_mule_charset): Add new function `char-variants' and new
3750 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
3752 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3754 * mule-charset.c (get_char_code_table): Allow negative character
3756 (put_char_code_table): Likewise.
3757 (Vcharacter_composition_table): New variable.
3758 (Q_decomposition): New variable.
3759 (Qwide): New variable.
3760 (Qnarrow): New variable.
3761 (Qcompat): New variable.
3762 (QnoBreak): New variable.
3763 (Qsuper): New variable.
3764 (Qfraction): New variable.
3765 (to_char_code): New function.
3766 (Fget_composite_char): New function.
3767 (Fput_char_attribute): Register `->decomposition' value to
3768 `Vcharacter_composition_table'.
3769 (syms_of_mule_charset): Add new function `get-composite-char', new
3770 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
3771 `super' and `fraction'.
3772 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
3774 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3776 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
3777 character; copy the return value.
3779 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3781 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
3783 * mule-charset.c (range_charset_code_point): Must use make_int.
3784 (split_builtin_char): New function.
3786 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3788 * mule-charset.c (char_byte_table): Change name from
3789 "char-code-table" to "char-byte-table".
3790 (mark_char_code_table): New function.
3791 (char_code_table_equal): New function.
3792 (char_code_table_hash): New function.
3793 (char_code_table_description): New constant.
3794 (char_code_table): New type.
3795 (make_char_code_table): New function.
3796 (copy_char_code_table): New function.
3797 (get_char_code_table): Modify for `char_code_table' type.
3798 (put_char_code_table): Likewise.
3799 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
3802 * char-ucs.h (char_code_table): New type.
3803 (XCHAR_CODE_TABLE): New macro.
3804 (XSETCHAR_CODE_TABLE): New macro.
3805 (CHAR_CODE_TABLE_P): New macro.
3806 (GC_CHAR_CODE_TABLE_P): New macro.
3807 (struct Lisp_Char_Code_Table): New structure.
3809 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3811 * mule-charset.c (Fmake_charset): Setup byte_offset for
3814 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
3816 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
3819 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3821 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
3824 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3826 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
3827 charset, it is regarded as a charset.
3828 (put_char_attribute): New function in UTF-2000.
3829 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
3830 charset, mapping-table of the charset is modified.
3831 (Fdefine_char): New function in UTF-2000.
3832 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
3833 `Fput_char_attribute'.
3834 (syms_of_mule_charset): Add new function `define-char' and new
3835 symbol `ucs' in UTF-2000.
3836 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
3838 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3840 * mule-charset.c (Fcharset_name): Define `byte_offset' in
3841 non-UTF-2000 configuration.
3843 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3845 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
3846 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
3848 * mule-charset.c (mark_charset): `cs->encoding_table' has been
3850 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
3851 (Fset_charset_mapping_table): Likewise.
3853 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
3854 (CHARSET_ENCODING_TABLE): Delete.
3855 (XCHARSET_ENCODING_TABLE): Delete.
3856 (charset_code_point): New interface.
3858 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3860 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
3861 instead of `charset_get_byte1' and `charset_get_byte2'.
3863 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
3864 (charset_get_byte2): Deleted.
3866 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3868 * char-ucs.h (SPLIT_CHAR): New inline function.
3869 (breakup_char_1): Use `SPLIT_CHAR'.
3871 * mule-charset.c (range_charset_code_point): New function.
3872 (charset_code_point): New function.
3874 * char-ucs.h (range_charset_code_point): New interface.
3875 (breakup_char_1): Use `range_charset_code_point'.
3877 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3879 * mule-charset.c (Fmake_charset): Delete unused local variable
3882 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
3883 (breakup_char_1): Find a charset and code-point in
3884 `Vcharacter_attribute_table'.
3886 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3888 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3891 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
3893 * mule-charset.c (Vcharacter_attribute_table): New variable.
3894 (Fchar_attribute_alist): New function.
3895 (Fget_char_attribute): New function.
3896 (Fput_char_attribute): New function.
3897 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
3899 (syms_of_mule_charset): Add new function `char-attribute-alist',
3900 `get-char-attribute' and `put-char-attribute'.
3901 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
3903 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
3905 * mule-charset.c (Fmake_charset): Just use
3906 `get_unallocated_leading_byte'.
3908 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
3909 sets; don't use final-byte based number for private sets.
3911 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3913 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
3916 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3918 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3921 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3923 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
3924 of `CHAR_LEADING_BYTE' in UTF-2000.
3926 * insdel.c (find_charsets_in_bufbyte_string): Use
3927 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
3928 (find_charsets_in_emchar_string): Likewise.
3930 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
3931 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
3933 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
3934 (CHAR_CHARSET_ID): New macro.
3936 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3938 * chartab.c (get_char_table): Don't use type `Charset_ID' for
3939 charset-id - MIN_LEADING_BYTE.
3940 (put_char_table): Likewise.
3942 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3944 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
3945 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
3946 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
3947 (CHARSET_ID_OFFSET): New macro.
3948 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
3949 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
3950 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
3951 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
3953 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
3955 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
3956 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
3957 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
3958 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
3959 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
3961 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3963 * mule-charset.c (next_allocated_leading_byte): New variable in
3965 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
3966 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
3967 (get_unallocated_leading_byte): Simply use
3968 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
3969 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
3972 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
3973 (MAX_LEADING_BYTE_PRIVATE): New macro.
3974 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
3975 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
3977 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3979 * mule-charset.c (Fmake_charset): Allocate final-byte based
3980 charset-id for 94-set, 96-set and 94x94-set.
3982 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3984 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
3986 (Fmake_charset): Likewise.
3987 (complex_vars_of_mule_charset): Modify the font registry of
3988 `ucs-bmp' not to match `Ethiopic-Unicode'.
3990 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3992 * mule-charset.c (complex_vars_of_mule_charset): Add font
3993 registory of `ucs-bmp'.
3995 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3997 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
3998 coded-charsets in `default-coded-charset-priority-list' when
3999 breaking up a character.
4001 * mule-charset.c (Vcharset_latin_viscii): New variable.
4002 (Qlatin_viscii): New variable.
4003 (make_charset): Don't use `decoding_table'.
4004 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
4006 (Fset_charset_mapping_table): New implementation.
4007 (syms_of_mule_charset): Add new symbol `latin-viscii'.
4008 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
4009 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
4010 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
4011 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
4012 charset `latin_viscii'.
4014 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
4015 (CHARSET_TYPE_94X94): Change to 1 from 2.
4016 (CHARSET_TYPE_96): Change to 2 from 1.
4017 (CHARSET_TYPE_128): New macro.
4018 (CHARSET_TYPE_128X128): Change to 5 from 4.
4019 (CHARSET_TYPE_256): New macro.
4020 (CHARSET_TYPE_256X256): Change to 7 from 5.
4021 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
4023 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4025 * text-coding.c (char_encode_shift_jis): Refer
4026 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
4027 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
4029 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
4030 (char_byte_table_equal): New function in UTF-2000.
4031 (char_byte_table_hash): New function in UTF-2000.
4032 (char_byte_table_description): New constant in UTF-2000.
4033 (char_byte_table): New type in UTF-2000.
4034 (make_char_byte_table): New function in UTF-2000.
4035 (copy_char_byte_table): New function in UTF-2000.
4036 (make_char_code_table): New macro in UTF-2000.
4037 (get_char_code_table): New function in UTF-2000.
4038 (put_char_code_table): New function in UTF-2000.
4039 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
4040 (charset_description): Add setting in UTF-2000.
4041 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
4042 `CHARSET_TO_BYTE1_TABLE(cs)'.
4043 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
4044 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
4045 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
4046 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
4047 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
4048 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
4049 `CHARSET_TO_BYTE2_TABLE(cs)'.
4051 * char-ucs.h (char_byte_table): New type.
4052 (XCHAR_BYTE_TABLE): New macro.
4053 (XSETCHAR_BYTE_TABLE): New macro.
4054 (CHAR_BYTE_TABLE_P): New macro.
4055 (GC_CHAR_BYTE_TABLE_P): New macro.
4056 (struct Lisp_Char_Byte_Table): New structure.
4057 (get_char_code_table): New interface.
4058 (Emchar_to_byte_table): Deleted.
4059 (get_byte_from_character_table): Deleted.
4060 (struct Lisp_Charset): Add `encoding_table'; delete
4061 `to_byte1_table' and `to_byte2_table'.
4062 (CHARSET_ENCODING_TABLE): New macro.
4063 (CHARSET_TO_BYTE1_TABLE): Deleted.
4064 (CHARSET_TO_BYTE2_TABLE): Deleted.
4065 (XCHARSET_ENCODING_TABLE): New macro.
4066 (XCHARSET_TO_BYTE1_TABLE): Deleted.
4067 (XCHARSET_TO_BYTE2_TABLE): Deleted.
4069 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4071 * mule-charset.c (syms_of_mule_charset): Delete charset alias
4072 `vietnamese-viscii-*'.
4074 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4076 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
4077 (Qvietnamese_viscii_upper): New variable.
4078 (Fdefine_charset_alias): New function.
4079 (syms_of_mule_charset): Add new function `define-charset-alias'.
4080 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
4081 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
4084 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
4086 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
4087 (MAX_CHAR_OBS_94x94): New macro.
4088 (breakup_char_1): Support obsolete XEmacs-UCS private code space
4091 * mule-charset.c (put_byte_from_character_table): Change unit size
4093 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
4095 (Fmake_reverse_direction_charset): Modify dummy argument of
4096 `make_charset' for non-UTF-2000 environment.
4098 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4100 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
4102 * mule-charset.c (destroy_byte_from_character_table): New macro.
4103 (latin_jisx0201_to_ucs): Deleted.
4104 (latin_iso8859_2_to_ucs): Deleted.
4105 (latin_iso8859_3_to_ucs): Deleted.
4106 (latin_iso8859_4_to_ucs): Deleted.
4107 (latin_iso8859_9_to_ucs): Deleted.
4108 (latin_viscii_lower_to_ucs): Deleted.
4109 (latin_viscii_upper_to_ucs): Deleted.
4110 (mark_charset): Mark `cs->decoding_table'.
4111 (Fcharset_mapping_table): Fix DOC-string.
4112 (Fset_charset_mapping_table): New function.
4113 (syms_of_mule_charset): Add nwe function
4114 `set-charset-mapping-table'.
4115 (complex_vars_of_mule_charset): Don't setup and use
4118 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
4120 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
4123 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
4125 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
4126 (Vcharset_katakana_jisx0208): New variable.
4127 (Qhiragana_jisx0208): New variable.
4128 (Qkatakana_jisx0208): New variable.
4129 (make_charset): Add new argument `byte_offset'.
4130 (charset_get_byte1): Modify for new coded-charset definition; use
4131 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4132 `XCHARSET_BYTE_OFFSET'.
4133 (Fmake_charset): Modify for `make_charset'.
4134 (Fmake_reverse_direction_charset): Likewise.
4135 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
4136 `katakana-jisx0208'.
4137 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
4138 `.' in font registry of charset `katakana-jisx0201',
4139 `latin-jisx0201', `vietnamese-viscii-lower' and
4140 `vietnamese-viscii-upper'; modify DOC-string of charset
4141 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
4142 registry of charset `japanese-jisx0208' not to use font for JIS
4143 X0208:1990; add new charset `hiragana-jisx0208' and
4144 `katakana-jisx0208'.
4146 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
4147 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
4148 (struct Lisp_Charset): Add `byte_offset'.
4149 (CHARSET_BYTE_OFFSET): New macro.
4150 (XCHARSET_UCS_MIN): New macro.
4151 (XCHARSET_UCS_MAX): New macro.
4152 (XCHARSET_CODE_OFFSET): New macro.
4153 (XCHARSET_BYTE_OFFSET): New macro.
4154 (MIN_CHAR_HIRAGANA): New macro.
4155 (MAX_CHAR_HIRAGANA): New macro.
4156 (MIN_CHAR_KATAKANA): New macro.
4157 (MAX_CHAR_KATAKANA): New macro.
4158 (MAKE_CHAR): Modify for new coded-charset definition; use
4159 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4160 `XCHARSET_BYTE_OFFSET'.
4162 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4164 * mule-charset.c (CHAR96): Deleted.
4165 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
4167 (latin_iso8859_2_to_ucs): Likewise.
4168 (latin_iso8859_3_to_ucs): Likewise.
4169 (latin_iso8859_4_to_ucs): Likewise.
4170 (latin_iso8859_9_to_ucs): Likewise.
4171 (latin_viscii_lower_to_ucs): Likewise.
4172 (latin_viscii_upper_to_ucs): Likewise.
4173 (latin_tcvn5712_to_ucs): Commented out.
4174 (make_charset): Change type of argument `decoding_table' from
4175 <Emchar*> to <Lisp_Object> [vector of characters].
4176 (Fmake_charset): Modify for `make_charset'.
4177 (Fmake_reverse_direction_charset): Likewise.
4178 (Fcharset_mapping_table): New function in UTF-2000.
4179 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
4181 (complex_vars_of_mule_charset): Modify for type change of
4182 `*_to_ucs'; modify for `make_charset'.
4184 * char-ucs.h (struct Lisp_Charset): Change type of
4185 `decoding_table' from <Emchar*> to <Lisp_Object>.
4186 (MAKE_CHAR): Modify for new specification of `decoding_table'.
4188 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4190 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
4191 error with non-UTF-2000-Mule.
4193 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
4195 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
4197 (Vcharset_chinese_cns11643_4): Likewise.
4198 (Vcharset_chinese_cns11643_5): Likewise.
4199 (Vcharset_chinese_cns11643_6): Likewise.
4200 (Vcharset_chinese_cns11643_7): Likewise.
4201 (Qchinese_cns11643_3): Likewise.
4202 (Qchinese_cns11643_4): Likewise.
4203 (Qchinese_cns11643_5): Likewise.
4204 (Qchinese_cns11643_6): Likewise.
4205 (Qchinese_cns11643_7): Likewise.
4206 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
4207 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4208 and `chinese-cns11643-7' to lisp/mule/chinese.el.
4209 (complex_vars_of_mule_charset): Likewise.
4211 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4213 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
4215 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
4216 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
4218 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4220 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
4222 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
4223 (breakup_char_1): Likewise.
4225 * text-coding.c (char_encode_iso2022): Keep designated charsets if
4226 one of them includes the specified character.
4228 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4230 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
4232 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4234 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
4236 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4238 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
4239 definition for non-UTF-2000 Mule.
4240 (latin_iso8859_3_to_ucs): Likewise.
4241 (latin_iso8859_4_to_ucs): Likewise.
4242 (latin_iso8859_9_to_ucs): Likewise.
4243 (latin_jisx0201_to_ucs): Likewise.
4244 (MIN_CHAR_THAI): Likewise.
4245 (MAX_CHAR_THAI): Likewise.
4246 (MIN_CHAR_GREEK): Likewise.
4247 (MAX_CHAR_GREEK): Likewise.
4248 (MIN_CHAR_HEBREW): Likewise.
4249 (MAX_CHAR_HEBREW): Likewise.
4250 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
4251 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
4252 (MIN_CHAR_CYRILLIC): Likewise.
4253 (MAX_CHAR_CYRILLIC): Likewise.
4255 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4257 * char-ucs.h (breakup_char_1): Use
4258 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
4259 thai-tis620 and katakana-jisx0201 area.
4261 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4263 * char-ucs.h (breakup_char_1): Use
4264 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
4267 * text-coding.c (reset_encoding_stream): Fixed.
4268 (char_encode_ucs4): Delete `& 255'.
4270 * char-ucs.h (breakup_char_1): Use
4271 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
4273 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4275 * file-coding.c (Fmake_coding_system): Don't set up
4276 `codesys->fixed.size'.
4277 (encode_coding_no_conversion): Don't refer
4278 `str->codesys->fixed.size'.
4280 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4282 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
4283 (latin_a_char_to_byte1): Deleted.
4284 (latin_a_char_to_byte2): Deleted.
4286 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4288 * mule-charset.c (make_charset): Add new argument `ucs_min',
4289 `ucs_max' and `code_offset'.
4290 (charset_get_byte1): New implementation [delete specific charset
4291 depended implementations].
4292 (Fmake_charset): Modify for `make_charset'.
4293 (Fmake_reverse_direction_charset): Likewise.
4294 (complex_vars_of_mule_charset): Likewise.
4296 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
4298 (CHARSET_UCS_MIN): New macro.
4299 (CHARSET_UCS_MAX): New macro.
4300 (CHARSET_CODE_OFFSET): New macro.
4301 (MAKE_CHAR): Delete charset depended definitions [except
4304 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4306 * char-ucs.h (breakup_char_1): Use
4307 `Vdefault_coded_charset_priority_list' for C0-Controls,
4308 Basic-Latin, C1-Controls and Latin-1-Supplement area.
4310 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4312 * char-ucs.h (charset_get_byte1): New function.
4313 (XCHARSET_GET_BYTE1): Deleted.
4314 (charset_get_byte2): New function.
4315 (XCHARSET_GET_BYTE2): Deleted.
4316 (Vdefault_coded_charset_priority_list): New external variable.
4317 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
4318 `Vdefault_preferred_coded_charset_list'.
4320 * mule-charset.c (charset_get_byte1): New function.
4321 (charset_get_byte2): New function.
4322 (Vdefault_coded_charset_priority_list): New variable.
4323 (vars_of_mule_charset): Add new variable
4324 `default-coded-charset-priority-list'.
4326 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4328 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
4329 (XCHARSET_GET_BYTE2): New inline function.
4330 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
4331 `XCHARSET_GET_BYTE2'.
4333 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4335 * mule-charset.c (make_charset): Initialize
4336 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
4337 NULL if table is not defined.
4339 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4341 * text-coding.c (char_encode_shift_jis): Use
4342 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
4343 `ucs_to_latin_jisx0201'.
4345 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
4346 (ucs_to_latin_iso8859_2): Deleted.
4347 (ucs_to_latin_iso8859_3): Deleted.
4348 (ucs_to_latin_iso8859_4): Deleted.
4349 (ucs_to_latin_iso8859_9): Deleted.
4350 (ucs_to_latin_viscii_lower): Deleted.
4351 (ucs_to_latin_viscii_upper): Deleted.
4352 (ucs_to_latin_tcvn5712): Deleted.
4353 (make_charset): Add new argument `decoding_table'; set up
4354 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
4355 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
4356 `decoding_table' is defined in UTF-2000.
4357 (Fmake_charset): Modify for `make_charset'.
4358 (Fmake_reverse_direction_charset): Likewise.
4359 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
4360 and `GENERATE_96_SET'.
4362 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
4363 (ucs_to_latin_jisx0201): Deleted.
4364 (latin_iso8859_2_to_ucs): Deleted.
4365 (ucs_to_latin_iso8859_2): Deleted.
4366 (latin_iso8859_3_to_ucs): Deleted.
4367 (ucs_to_latin_iso8859_3): Deleted.
4368 (latin_iso8859_4_to_ucs): Deleted.
4369 (ucs_to_latin_iso8859_4): Deleted.
4370 (latin_iso8859_9_to_ucs): Deleted.
4371 (ucs_to_latin_iso8859_9): Deleted.
4372 (latin_viscii_lower_to_ucs): Deleted.
4373 (ucs_to_latin_viscii_lower): Deleted.
4374 (latin_viscii_upper_to_ucs): Deleted.
4375 (ucs_to_latin_viscii_upper): Deleted.
4376 (struct Lisp_Charset): Renamed `encoding_table' to
4377 `to_byte1_table'; add `to_byte2_table'.
4378 (CHARSET_DECODING_TABLE): New macro.
4379 (CHARSET_TO_BYTE1_TABLE): New macro.
4380 (CHARSET_TO_BYTE2_TABLE): New macro.
4381 (XCHARSET_DECODING_TABLE): New macro.
4382 (XCHARSET_TO_BYTE1_TABLE): New macro.
4383 (XCHARSET_TO_BYTE2_TABLE): New macro.
4384 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
4386 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
4387 don't use `ucs_to_*' tables.
4389 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4391 * text-coding.c (Fmake_coding_system): Don't set up
4392 `codesys->fixed.size'.
4393 (encode_coding_no_conversion): Use `if' instead of `switch'.
4395 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
4397 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4399 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
4400 (Fmake_charset): Modify for `make_charset'.
4401 (Fmake_reverse_direction_charset): Likewise.
4402 (complex_vars_of_mule_charset): Likewise.
4404 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4406 * text-coding.c (char_encode_shift_jis): Use table
4407 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
4409 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4411 * text-coding.c (text_encode_generic): Use `if' instead of
4413 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
4416 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4418 * text-coding.c (encode_coding_sjis): Deleted.
4419 (char_encode_shift_jis): New function.
4420 (char_finish_shift_jis): New function.
4421 (reset_encoding_stream): Set up `encode_char' and `finish' for
4422 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
4423 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
4424 (char_encode_utf8): Treat `eol_type'.
4426 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4428 * file-coding.c (decode_coding_iso2022): Use
4429 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
4431 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4433 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4436 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4438 * char-lb.h (CHAR_COLUMNS): New macro.
4440 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4442 * text-coding.c (char_encode_ucs4): New function.
4443 (char_finish_ucs4): New function.
4444 (encode_coding_ucs4): Deleted.
4445 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
4446 (text_encode_generic): Delete local variable `charset' and `half'.
4447 (ucs_to_mule_table): Deleted.
4448 (mule_to_ucs_table): Deleted.
4449 (Fset_ucs_char): Deleted.
4450 (ucs_to_char): Deleted.
4451 (Fucs_char): Deleted.
4452 (Fset_char_ucs): Deleted.
4453 (Fchar_ucs): Deleted.
4454 (decode_ucs4): Deleted.
4455 (mule_char_to_ucs4): Deleted.
4456 (encode_ucs4): Deleted.
4457 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
4458 (decode_coding_utf8): Likewise.
4459 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
4460 (char_encode_iso2022): Fixed.
4461 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
4462 `Fset_char_ucs' and `Fchar_ucs'.
4463 (complex_vars_of_file_coding): Don't initialize
4464 `ucs_to_mule_table'.
4466 * objects-tty.c (tty_initialize_font_instance): Don't use
4469 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
4472 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
4473 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4475 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
4476 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4477 (emchar_string_displayed_columns): Likewise.
4479 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
4480 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4481 (string_column_at_point): Likewise.
4482 (Fmove_to_column): Likewise.
4484 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
4485 `encoding_table' and `decoding_table'.
4486 (CHARSET_REP_BYTES): Deleted.
4487 (XCHARSET_REP_BYTES): Deleted.
4488 (XCHARSET_COLUMNS): Deleted.
4489 (CHAR_COLUMNS): New macro.
4490 (lookup_composite_char): Deleted unconditionally.
4491 (composite_char_string): Likewise.
4493 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4495 * char-ucs.h (Emchar_to_byte_table): New type.
4496 (get_byte_from_character_table): New function interface.
4497 (Vcharset_latin_jisx0201): New variable.
4498 (latin_jisx0201_to_ucs): New variable.
4499 (ucs_to_latin_jisx0201): New variable.
4500 (Vcharset_latin_iso8859_2): New variable.
4501 (latin_iso8859_2_to_ucs): New variable.
4502 (ucs_to_latin_iso8859_2): New variable.
4503 (Vcharset_latin_iso8859_3): New variable.
4504 (latin_iso8859_3_to_ucs): New variable.
4505 (ucs_to_latin_iso8859_3): New variable.
4506 (Vcharset_latin_iso8859_4): New variable.
4507 (latin_iso8859_4_to_ucs): New variable.
4508 (ucs_to_latin_iso8859_4): New variable.
4509 (Vcharset_latin_iso8859_9): New variable.
4510 (latin_iso8859_9_to_ucs): New variable.
4511 (ucs_to_latin_iso8859_9): New variable.
4512 (Vcharset_latin_viscii_lower): New variable.
4513 (latin_viscii_lower_to_ucs): New variable.
4514 (ucs_to_latin_viscii_lower): New variable.
4515 (Vcharset_latin_viscii_upper): New variable.
4516 (latin_viscii_upper_to_ucs): New variable.
4517 (ucs_to_latin_viscii_upper): New variable.
4518 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
4519 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
4520 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
4521 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
4522 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
4523 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
4524 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
4525 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
4526 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
4527 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
4529 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
4530 (Vcharset_latin_viscii_upper): New variable.
4531 (make_byte_from_character_table): New function.
4532 (put_byte_from_character_table): New function.
4533 (get_byte_from_character_table): New function.
4534 (CHAR96): New macro.
4535 (ucs_to_latin_jisx0201): New variable.
4536 (latin_jisx0201_to_ucs): New variable.
4537 (ucs_to_latin_iso8859_2): New variable.
4538 (latin_iso8859_2_to_ucs): New variable.
4539 (ucs_to_latin_iso8859_3): New variable.
4540 (latin_iso8859_3_to_ucs): New variable.
4541 (ucs_to_latin_iso8859_4): New variable.
4542 (latin_iso8859_4_to_ucs): New variable.
4543 (ucs_to_latin_iso8859_9): New variable.
4544 (latin_iso8859_9_to_ucs): New variable.
4545 (ucs_to_latin_viscii_lower): New variable.
4546 (latin_viscii_lower_to_ucs): New variable.
4547 (ucs_to_latin_viscii_upper): New variable.
4548 (latin_viscii_upper_to_ucs): New variable.
4549 (ucs_to_latin_tcvn5712): New variable.
4550 (latin_tcvn5712_to_ucs): New variable.
4551 (Qlatin_viscii_lower): New variable.
4552 (Qlatin_viscii_upper): New variable.
4553 (syms_of_mule_charset): Set up new symbol
4554 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
4555 (complex_vars_of_mule_charset): Set up new charset
4556 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
4557 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
4558 `ucs_to_<CHARSET>' tables.
4560 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4562 * text-coding.c: New file.
4564 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4566 * mule-charset.c (Fmake_char): Fix problem of 256-set.
4568 * char-ucs.h (Vcharset_ucs_bmp): New variable.
4569 (MAKE_CHAR): Modify for `ucs-bmp'.
4570 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
4571 non-MULE characters of BMP.
4573 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
4575 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4578 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
4581 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
4582 - Include character.h for `CHAR_ASCII_P'.
4584 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
4586 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
4587 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
4589 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
4590 (BYTE_C0_P): Likewise.
4591 (BYTE_C1_P): Likewise.
4592 (Lstream_get_emchar_1): Likewise.
4593 (Lstream_fput_emchar): Likewise.
4594 (Lstream_funget_emchar): Likewise.
4595 (copy_internal_to_external): Likewise.
4596 (copy_external_to_internal): Likewise.
4598 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
4599 (BYTE_C0_P): Likewise.
4600 (BYTE_C1_P): Likewise.
4601 (Lstream_get_emchar_1): Likewise.
4602 (Lstream_fput_emchar): Likewise.
4603 (Lstream_funget_emchar): Likewise.
4604 (copy_internal_to_external): Likewise.
4605 (copy_external_to_internal): Likewise.
4607 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
4608 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4610 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
4611 (BYTE_ASCII_P): Moved to mb-1byte.h.
4613 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
4615 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
4617 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
4618 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
4619 (VALID_CHARPTR_P): Moved to mb-*byte.h.
4620 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4621 (VALIDATE_CHARPTR_FORWARD): Likewise.
4622 (simple_charptr_emchar): Moved to mb-multibyte.h.
4623 (simple_set_charptr_emchar): Likewise.
4624 (simple_charptr_copy_char): Likewise.
4625 (non_ascii_charptr_emchar): Likewise.
4626 (non_ascii_set_charptr_emchar): Likewise.
4627 (non_ascii_charptr_copy_char): Likewise.
4628 (charptr_emchar): Moved to mb-*byte.h.
4629 (set_charptr_emchar): Likewise.
4630 (charptr_copy_char): Likewise.
4632 * mb-1byte.h, mb-multibyte.h: New files.
4634 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4636 * mb-utf-8.h (MULTIBYTE): New macro.
4637 (MAX_EMCHAR_LEN): Moved from buffer.h.
4638 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
4640 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
4642 * mb-lb.h, multibyte.h: New files.
4644 * char-1byte.h (Charset_ID): Moved from buffer.h.
4645 (MIN_LEADING_BYTE): Likewise.
4646 (LEADING_BYTE_ASCII): Likewise.
4647 (NUM_LEADING_BYTES): Likewise.
4648 (CHARSETP): Likewise.
4649 (CHARSET_BY_LEADING_BYTE): Likewise.
4650 (XCHARSET_LEADING_BYTE): Likewise.
4651 (XCHARSET_GRAPHIC): Likewise.
4652 (XCHARSET_COLUMNS): Likewise.
4653 (XCHARSET_DIMENSION): Likewise.
4654 (CHAR_CHARSET): Likewise.
4655 (CHAR_LEADING_BYTE): Likewise.
4656 (BREAKUP_CHAR): Likewise.
4657 (Vcharset_ascii): Likewise.
4659 * buffer.h: Include multibyte.h unconditionally.
4660 (VALID_CHARPTR_P): Moved to multibyte.h.
4661 (ASSERT_VALID_CHARPTR): Likewise.
4662 (REAL_INC_CHARPTR): Likewise.
4663 (REAL_INC_CHARBYTIND): Likewise.
4664 (REAL_DEC_CHARPTR): Likewise.
4665 (INC_CHARPTR): Likewise.
4666 (INC_CHARBYTIND): Likewise.
4667 (DEC_CHARPTR): Likewise.
4668 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4669 (VALIDATE_CHARPTR_FORWARD): Likewise.
4670 (charptr_n_addr): Likewise.
4671 (MAX_EMCHAR_LEN): Moved to mb-*.h.
4672 (simple_charptr_emchar): Moved to multibyte.h.
4673 (simple_set_charptr_emchar): Likewise.
4674 (simple_charptr_copy_char): Likewise.
4675 (non_ascii_charptr_emchar): Likewise.
4676 (non_ascii_set_charptr_emchar): Likewise.
4677 (non_ascii_charptr_copy_char): Likewise.
4678 (charptr_emchar): Likewise.
4679 (set_charptr_emchar): Likewise.
4680 (charptr_copy_char): Likewise.
4681 (charptr_emchar_n): Likewise.
4682 (Charset_ID): Moved to char-1byte.h.
4683 (Vcharset_ascii): Likewise.
4684 (CHAR_CHARSET): Likewise.
4685 (CHAR_LEADING_BYTE): Likewise.
4686 (LEADING_BYTE_ASCII): Likewise.
4687 (NUM_LEADING_BYTES): Likewise.
4688 (MIN_LEADING_BYTE): Likewise.
4689 (CHARSETP): Likewise.
4690 (CHARSET_BY_LEADING_BYTE): Likewise.
4691 (XCHARSET_LEADING_BYTE): Likewise.
4692 (XCHARSET_GRAPHIC): Likewise.
4693 (XCHARSET_COLUMNS): Likewise.
4694 (XCHARSET_DIMENSION): Likewise.
4695 (BREAKUP_CHAR): Likewise.
4697 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4699 * character.h: Add document about interface for characters.
4701 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
4702 (MAKE_CHAR): Delete comment about
4703 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
4704 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
4705 (BREAKUP_CHAR): Modify name of arguments.
4706 (CHAR_CHARSET): Modify name of argument.
4708 * buffer.h: Delete document about Emchar accessors.
4710 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4712 * character.h (CHAR_INTP): Moved from buffer.h
4713 (CHAR_OR_CHAR_INTP): Likewise.
4714 (XCHAR_OR_CHAR_INT): Likewise.
4715 (CHECK_CHAR_COERCE_INT): Likewise.
4717 * buffer.h (CHAR_INTP): Moved to character.h
4718 (CHAR_OR_CHAR_INTP): Likewise.
4719 (XCHAR_OR_CHAR_INT): Likewise.
4720 (CHECK_CHAR_COERCE_INT): Likewise.
4722 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4725 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
4726 - Include char-1byte.h, char-lb.h or char-ucs.h.
4728 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
4730 * buffer.h: Include character unconditionally.
4731 (valid_char_p): Moved to char-*.h.
4732 (non_ascii_valid_char_p): Moved to char-lb.h.
4734 * char-1byte.h, char-lb.h, char-ucs.h: New files.
4736 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4738 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
4739 in UTF-2000 because it is not ported yet and not to use
4740 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
4741 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
4742 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
4744 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
4745 (CHAR_ASCII_P): Moved from character.h.
4747 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
4748 (CHAR_ASCII_P): Likewise.
4749 (CHAR_FIELD1_MASK): Deleted.
4750 (CHAR_FIELD2_MASK): Deleted.
4751 (CHAR_FIELD3_MASK): Deleted.
4752 (MAX_CHAR_BASIC_LATIN): New macro.
4753 (CHAR_FIELD1): Deleted.
4754 (CHAR_FIELD2_INTERNAL): Deleted.
4755 (CHAR_FIELD3_INTERNAL): Deleted.
4756 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
4757 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
4758 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
4759 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
4760 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
4761 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
4762 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
4763 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
4764 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
4765 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
4766 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
4767 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
4768 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
4769 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
4770 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
4771 (MIN_CHAR_COMPOSITION): Deleted.
4772 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
4773 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
4775 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
4777 * buffer.h: Include mb-utf-8.h in UTF-2000.
4779 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
4781 * mb-utf-8.h: New file.
4783 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
4785 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
4788 * mule-charset.h, buffer.h (Charset_ID): New type.
4790 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
4792 * mule-canna.c (c2mu): Use `MAKE_CHAR',
4793 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
4794 instead of `MULE_CHAR_PRIVATE_OFFSET',
4795 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
4796 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
4797 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
4799 * character.h (Vcharset_japanese_jisx0212): New variable
4802 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
4804 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
4805 (charset_by_attributes): Delete array about direction.
4806 (latin_a_char_to_charset): New variable in UTF-2000.
4807 (latin_a_char_to_byte1): New variable in UTF-2000.
4808 (latin_a_char_to_byte2): New variable in UTF-2000.
4809 (Qucs_bmp): New variable.
4810 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
4812 (next_allocated_2_byte_leading_byte): Likewise.
4813 (non_ascii_set_charptr_emchar): Likewise.
4814 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
4815 `CHARSET_TYPE_256X256' in UTF-2000; modify for
4816 `charset_by_attributes'.
4817 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
4818 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
4819 and `CHARSET_BY_LEADING_BYTE'.
4820 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
4821 `utf-2000-version' to `vars_of_mule_charset'.
4822 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
4823 define `leading-code-private-11' in UTF-2000; move setting of
4824 `utf-2000-version' from `syms_of_mule_charset'.
4825 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
4828 * character.h (Charset_ID): New type.
4829 (LEADING_BYTE_UCS_BMP): New macro.
4830 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
4831 (CHARSET_ID_OFFSET_94): New macro.
4832 (MIN_CHARSET_ID_PRIVATE_94): New macro.
4833 (MAX_CHARSET_ID_PRIVATE_94): New macro.
4834 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
4836 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
4837 (LEADING_BYTE_LATIN_JISX0201): Likewise.
4838 (CHARSET_ID_OFFSET_96): New macro.
4839 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
4840 CHARSET_ID_OFFSET_96 and final-byte.
4841 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
4842 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
4843 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
4844 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
4845 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
4846 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
4847 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
4848 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
4849 (LEADING_BYTE_THAI_TIS620): Likewise.
4850 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
4851 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
4852 (CHARSET_ID_OFFSET_94x94): New macro.
4853 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
4854 CHARSET_ID_OFFSET_94x94 and final-byte.
4855 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
4856 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
4857 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
4858 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
4859 (LEADING_BYTE_CHINESE_GB2312): Likewise.
4860 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
4861 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
4862 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
4863 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
4864 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
4865 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
4866 (CHARSET_TYPE_128X128): New macro.
4867 (CHARSET_TYPE_256X256): New macro.
4868 (XCHARSET_PRIVATE_P): Delete unconditionally.
4869 (charset_by_attributes): Delete array about direction.
4870 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
4871 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
4872 (MIN_CHAR_94): New macro.
4873 (MAX_CHAR_94): New macro.
4874 (MIN_CHAR_96): New macro.
4875 (MAX_CHAR_96): New macro.
4876 (MIN_CHAR_94x94): New macro.
4877 (MAX_CHAR_94x94): New macro.
4878 (MIN_CHAR_96x96): New macro.
4879 (MAX_CHAR_96x96): New macro.
4880 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
4881 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
4882 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
4884 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
4885 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
4886 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
4887 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
4888 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
4889 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
4890 `XCHARSET_LEADING_BYTE' to make code-point.
4891 (latin_a_char_to_charset): New variable.
4892 (latin_a_char_to_byte1): New variable.
4893 (latin_a_char_to_byte2): New variable.
4894 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
4895 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
4896 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
4898 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
4899 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
4900 (find_charsets_in_emchar_string): Likewise.
4901 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
4903 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
4905 (decode_coding_iso2022): Likewise.
4907 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
4910 * redisplay.c (redisplay_text_width_emchar_string): Use
4911 `Charset_ID' instead of `unsigned char'.
4912 (redisplay_frame_text_width_string): Likewise.
4914 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
4917 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
4918 instead of `unsigned char'.
4919 (face_cachel_charset_font_metric_info): Likewise.
4921 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
4922 (get_non_ascii_char_table_value): Likewise.
4923 (get_char_table): Likewise.
4924 (put_char_table): Likewise.
4925 (map_over_other_charset): Likewise.
4926 (map_char_table): Likewise.
4928 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
4929 instead of `unsigned char'.
4931 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
4933 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
4934 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
4936 * mule-charset.c (leading_code_private_11): Don't define in
4939 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
4940 in UTF-2000 because it is not ported yet and not to use
4941 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
4943 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
4945 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
4947 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4949 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
4952 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
4953 of unsigned char to store leading-byte.
4955 * chartab.c (get_non_ascii_char_table_value): Don't use
4956 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
4958 * file-coding.c (encode_coding_big5): Delete bogus implementation
4961 * character.h (LEADING_BYTE_*): Delete definition for
4963 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
4964 (LEADING_BYTE_PREFIX_P): Deleted.
4965 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
4966 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
4967 (BUFBYTE_LEADING_BYTE_P): Deleted.
4968 (CHARSET_PRIVATE_P): Deleted unconditionally.
4969 (rep_bytes_by_first_byte): Deleted unconditionally.
4970 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
4971 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
4972 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
4973 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
4974 (CHAR_FIELD2): Deleted.
4975 (CHAR_FIELD3): Deleted.
4976 (MAKE_CHAR): Delete definition for non-UTF-2000.
4977 (BREAKUP_CHAR_1_UNSAFE): Deleted.
4978 (breakup_char_1): New implementation.
4979 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
4980 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
4982 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4984 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
4987 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4989 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
4990 (CHARSET_PRIVATE_P): Likewise.
4991 (XCHARSET_PRIVATE_P): Likewise.
4992 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
4994 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
4996 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
4998 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5000 * character.h (LEADING_BYTE_*): Changed in UTF2000.
5001 (NUM_LEADING_BYTES): Changed from 128 to 256.
5002 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5003 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
5005 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5007 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
5009 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
5010 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
5011 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
5012 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
5013 (Qchinese_cns11643_3): New variable in UTF2000.
5014 (Qchinese_cns11643_4): New variable in UTF2000.
5015 (Qchinese_cns11643_5): New variable in UTF2000.
5016 (Qchinese_cns11643_6): New variable in UTF2000.
5017 (Qchinese_cns11643_7): New variable in UTF2000.
5018 (syms_of_mule_charset): Define `chinese-cns11643-3',
5019 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
5020 and `chinese-cns11643-7' in UTF2000.
5021 (vars_of_mule_charset): Initialize
5022 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
5024 (complex_vars_of_mule_charset): Setup charset
5025 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
5026 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
5028 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5030 * mule-charset.c: Move setting for `leading-code-private-11' from
5031 `syms_of_mule_charset' to `vars_of_mule_charset'.
5033 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5035 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
5036 and `NUM_LEADING_BYTES' in assert.
5038 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5040 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
5042 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
5043 `NUM_LEADING_BYTES' instead of 128.
5045 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
5047 * mule-charset.h (charset_by_leading_byte): Use
5048 `NUM_LEADING_BYTES' instead of 128.
5049 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
5051 * mule-charset.c (charset_by_leading_byte): Use
5052 `NUM_LEADING_BYTES' instead of 128.
5053 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
5055 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
5058 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
5060 * mule-charset.c (syms_of_mule_charset): Update to
5063 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
5065 * file-coding.c (encode_coding_sjis): New implementation for
5066 UTF2000. (decode_coding_sjis): Ditto.
5068 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5070 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
5071 Don't define in UTF2000.
5073 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
5076 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5077 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
5080 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5082 * config.h.in (CHAR_IS_UCS4): New macro.
5084 * mule-charset.c (rep_bytes_by_first_byte): Modify for
5085 conventional MULE representation.
5086 (syms_of_mule_charset): Update to 0.3 (Imamiya).
5088 * mule-charset.h: Reverted to original.
5090 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5091 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
5092 "mule-charset.h" if CHAR_IS_UCS4 is defined.
5094 * character.h: New file.
5096 * file-coding.c (Fmake_coding_system): Set 1 to
5097 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
5099 (encode_coding_no_conversion): New implementation for UTF2000.
5101 * file-coding.h (struct Lisp_Coding_System): Add new member
5104 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
5106 * file-coding.c (decode_coding_iso2022): Code-point arguments of
5107 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
5108 (encode_coding_iso2022): New implementation for UTF2000.
5110 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5112 * mule-canna.c (c2mu): New implementation for UTF2000.
5115 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5117 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
5119 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5121 * file-coding.c (reset_encoding_stream): Set 0 to
5122 `str->iso2022.current_char_boundary' in UTF2000.
5123 (encode_utf8): Don't define in UTF2000.
5124 (encode_coding_utf8): New implementation for UTF-8 representation
5126 (complex_vars_of_file_coding): Define coding-system `utf-8'.
5128 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5130 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
5132 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
5134 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5136 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
5138 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
5139 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
5140 as UTF-8 in UTF2000.
5141 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
5142 (non_ascii_valid_char_p): Don't define in UTF2000.
5143 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
5144 (Lstream_get_emchar_1): Likewise.
5145 (utf-2000-version): New variable in UTF2000.
5147 * lread.c (read_escape): Add new reader `u'.
5149 * insdel.c (three_to_one_table): Don't define in UTF2000.
5150 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
5151 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5153 (bytind_to_bufpos_func): Likewise.
5154 (buffer_mule_signal_inserted_region): Likewise.
5155 (vars_of_insdel): Don't initialize `three_to_one_table'.
5156 (init_buffer_text): Use `buf->text->mule_size' instead of
5157 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5160 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
5161 UTF-8 representation in UTF2000.
5162 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
5163 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
5164 (decode_coding_iso2022): Don't define local variable `lb' in
5165 UTF2000; don't use LEADING_BYTE in UTF2000; use
5166 `DECODE_ADD_UCS_CHAR' in UTF2000.
5167 (convert_to_external_format): Decode as UTF-8 in UTF2000.
5169 * config.h.in (UTF2000): New macro.
5171 * buffer.h (struct buffer_text): Add new member `mule_size' and
5172 don't add `mule_shifter' and `mule_three_p' in UTF2000.
5173 (valid_char_p): Return always 1 in UTF2000.
5174 (MAX_EMCHAR_LEN): 6 in UTF2000.
5175 (three_to_one_table): Don't define in UTF2000.
5176 (real_bufpos_to_bytind): Modify for UTF-8 representation in
5178 (real_bytind_to_bufpos): Likewise.
5180 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
5182 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5184 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
5185 representation change.
5186 (Vutf_2000_version): New variable.
5187 (leading_code_private_11): New variable.
5188 (syms_of_mule_charset): Add new variables `utf-2000-version' and
5189 `leading-code-private-11'.
5191 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
5192 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
5193 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
5194 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
5195 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
5196 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
5197 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
5198 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
5199 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
5200 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
5201 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
5202 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
5203 (MIN_CHAR_GREEK): New macro.
5204 (MAX_CHAR_GREEK): New macro.
5205 (MIN_CHAR_CYRILLIC): New macro.
5206 (MAX_CHAR_CYRILLIC): New macro.
5207 (MIN_CHAR_HEBREW): New macro.
5208 (MAX_CHAR_HEBREW): New macro.
5209 (MIN_CHAR_THAI): New macro.
5210 (MAX_CHAR_THAI): New macro.
5211 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
5212 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
5213 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
5214 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
5215 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
5216 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
5217 (CHAR_FIELD2): New inline function.
5218 (CHAR_FIELD3): New inline function.
5219 (MULE_CHAR_PRIVATE_OFFSET): New macro.
5220 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
5221 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
5222 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
5223 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
5224 (MIN_CHAR_COMPOSITION): Likewise.
5225 (CHAR_LEADING_BYTE): Modified for character representation change.
5226 (MAKE_CHAR): Likewise.
5228 * lisp.h (Vcharset_latin_iso8859_1): New variable.
5229 (Vcharset_greek_iso8859_7): Likewise.
5230 (Vcharset_cyrillic_iso8859_5): Likewise.
5231 (Vcharset_hebrew_iso8859_8): Likewise.
5232 (Vcharset_thai_tis620): Likewise.
5233 (Vcharset_katakana_jisx0201): Likewise.
5235 2003-09-03 Vin Shelton <acs@xemacs.org>
5237 * XEmacs 21.4.14 is released
5239 2003-08-15 Stephen J. Turnbull <stephen@xemacs.org>
5241 * config.h.in (REGEX_MALLOC): Make it configure'able.
5243 2003-08-14 Andrew Begel <abegel@CS.Berkeley.EDU>
5245 * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic
5247 * sysdll.c (dll_init):
5248 * sysdll.c (dll_open):
5249 * sysdll.c (dll_close):
5250 * sysdll.c (dll_function):
5251 * sysdll.c (dll_variable):
5252 * sysdll.c (dll_error):
5253 Add support for loading bundles using Darwin/MacOSX
5256 2003-08-12 Stephen J. Turnbull <stephen@xemacs.org>
5258 * process.c (start-process-internal): Document coding systems.
5260 2003-07-30 Jerry James <james@xemacs.org>
5262 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
5264 2003-07-31 René Kyllingstad <listmailxemacs@kyllingstad.com>
5266 * event-msw.c (mswindows_enqueue_mouse_button_event):
5267 * event-msw.c (mswindows_wnd_proc):
5268 enqueue button event when scrollwheel event isn't handled by
5269 mswindows_handle_mousewheel_event, such as when the scrollbars
5272 2003-07-29 Stephen J. Turnbull <stephen@xemacs.org>
5274 * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*.
5276 2003-03-24 Stephen J. Turnbull <stephen@xemacs.org>
5278 * database.c (Fopen_database): Don't use DB_AUTO_COMMIT.
5280 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org>
5282 * regex.c (re_match_2_internal): Fix matching degenerate word
5285 2003-05-25 XEmacs Build Bot <builds@cvs.xemacs.org>
5287 * XEmacs 21.4.13 is released
5289 2003-03-20 Stephen J. Turnbull <stephen@xemacs.org>
5291 * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H):
5292 * lisp.h (<inttypes.h>):
5293 Cygwin defines these types in <cygwin/types.h>. Don't duplicate
5296 2003-03-15 Martin Buchholz <martin@xemacs.org>
5298 * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file.
5299 Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs'
5300 Result: "temacs can only be run in -batch mode."
5301 Fix: Check xemacs executable candidate for directory-ness.
5303 2003-03-03 Robert Pluim <rpluim@bigfoot.com>
5305 * database.c: Don't use the u_int8_t etc typedefs on FreeBSD,
5306 they conflict with <sys/types.h>.
5308 2003-02-14 Martin Buchholz <martin@xemacs.org>
5310 * database.c: Berkeley DB wants __STDC__ to be defined.
5312 2003-02-13 Martin Buchholz <martin@xemacs.org>
5314 * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'.
5316 2003-02-01 Martin Buchholz <martin@xemacs.org>
5318 * process-unix.c (unix_send_process): Fix C++ compile error.
5320 2003-02-25 Andrew Begel <abegel@cs.berkeley.edu>
5322 * Added .dylib as an acceptable shared library file extension
5323 * to support MacOSX.
5325 2003-02-01 Martin Buchholz <martin@xemacs.org>
5327 * EmacsFrameP.h (EmacsFramePart):
5328 Kludge to allow compiling with Motif1, but linking with Motif2.
5330 2003-01-28 Martin Buchholz <martin@xemacs.org>
5332 * config.h.in (_ALL_SOURCE): Guard against multiple definition.
5335 2003-02-23 Stephen J. Turnbull <stephen@xemacs.org>
5337 * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin.
5339 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
5341 * sysdll.c: Included lisp.h to define needed alloca_array.
5343 2003-02-13 Martin Buchholz <martin@xemacs.org>
5345 Make XEmacs redisplay 10 times faster.
5346 If, that is, you're using a slow X connection and MoveOpaque.
5347 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
5348 Use compress_motion = TRUE.
5349 * EmacsFrame.c (emacsFrameClassRec):
5350 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
5351 * EmacsManager.c (emacsManagerClassRec):
5352 * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
5354 2003-01-30 Vin Shelton <acs@xemacs.org>
5356 * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux.
5358 2003-01-17 Stephen J. Turnbull <stephen@xemacs.org>
5360 * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef.
5361 Patch by Martin Buchholz.
5363 2003-01-16 Stephen J. Turnbull <stephen@xemacs.org>
5365 * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison.
5366 Thanks to icc for warning and Martin Buchholz for reporting.
5368 2003-01-29 Vin Shelton <acs@xemacs.org>
5370 Patch courtesy of Andrew Begel <abegel@cs.berkeley.edu>
5372 * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so
5373 remember to multiply by the element size.
5375 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
5377 * XEmacs 21.4.12 "Portable Code" is released.
5379 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
5381 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
5382 * s/cygwin.sc: new linker file.
5384 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
5386 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
5388 * redisplay-x.c (x_output_string): Use X11-specified types.
5389 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
5390 * emacs.c (__free_hook): Use typeof with Intel compiler.
5391 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
5393 2003-01-08 Andy Piper <andy@xemacs.org>
5395 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
5396 reserve size during unexec().
5398 2003-01-07 Daiki Ueno <daiki@xemacs.org>
5400 * process-unix.c (unix_create_process): Don't let outchannel block.
5402 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
5404 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
5405 Needed for IsBadReadPtr().
5407 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
5409 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
5411 2002-12-14 Ben Wing <ben@xemacs.org>
5413 * callint.c: Declaration error.
5415 * dumper.c (pdump_load): Warning fix.
5416 * process.c: GCPRO error.
5417 * glyphs.c (unmap_subwindow):
5418 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
5419 * event-stream.c (maybe_kbd_translate): Wrong argument to
5420 character_to_event().
5422 * alloc.c (garbage_collect_1):
5424 * emacs.c (debug_can_access_memory):
5425 * emacs.c (fatal_error_signal):
5426 * emacs.c (mswindows_handle_hardware_exceptions):
5429 * emacs.c (assert_failed):
5430 * emacs.c (syms_of_emacs):
5433 * print.c (std_handle_out_va):
5434 * print.c (write_string_to_stdio_stream):
5435 * print.c (write_fmt_string):
5436 * print.c (printing_badness):
5437 * print.c (printing_major_badness):
5438 * print.c (print_internal):
5439 * print.c (debug_print_no_newline):
5440 * print.c (debug_backtrace):
5441 Be more defensive in handling bad values when printing. Add code
5442 from trunk involving inhibit_non_essential_printing_operations.
5443 When going down or in debug_print(), don't do external conversion
5444 and such and try really, really hard when printing to avoid core
5445 dumping. Add force-debugging-signal, debug_break().
5447 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
5449 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
5450 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
5452 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
5454 * database.c: Fix open_database. Berkeley DB API has changed in
5455 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
5457 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
5459 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
5461 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
5463 * event-Xt.c (Xt_timeout):
5464 (Xt_timeout_callback):
5465 (emacs_Xt_add_timeout):
5466 (emacs_Xt_remove_timeout):
5467 (Xt_timeout_to_emacs_event):
5468 Turn completed_timeouts from a stack into a queue. Fixes
5469 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
5471 2002-11-07 Wolfram Gloger <wg@malloc.de>
5473 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
5474 * emacs.c (main): Assert that mmap'd allocation is disabled.
5476 2002-10-14 Andy Piper <andy@xemacs.org>
5478 * glyphs-widget.c (layout_query_geometry): add in fiddle
5479 factor. Include border text in width layout calculation.
5480 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
5482 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
5484 * XEmacs 21.4.10 "Military Intelligence" is released.
5486 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
5488 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
5489 using the NAS private array SoundFileInfo that no longer exists in
5490 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
5491 and earlier. This is broken for some versions between 1.5a and
5494 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
5496 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
5498 * emacs.c (shut_down_emacs): Improve crash message.
5500 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
5502 * file-coding.c (determine_real_coding_system): Check for coding
5503 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
5504 shebangs and Python PEP 263.
5506 2002-10-08 Andy Piper <andy@xemacs.org>
5508 * glyphs-widget.c (layout_query_geometry): only resize dynamically
5509 if static sizes haven't been set.
5511 2002-08-30 Mike Alexander <mta@arbortext.com>
5513 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
5516 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
5518 * callproc.c (child_setup): 21.4 doesn't have retry_close.
5520 2002-09-20 Mike Sperber <mike@xemacs.org>
5522 (This partially gets back my patch from 2002-07-20 without the
5524 * callproc.c (child_setup): Remove Ben's comment noting confusion
5525 over the file descriptors >= 3: close_process_descs() doesn't
5526 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
5527 * process-unix.c (unix_create_process): Call
5528 begin_dont_check_for_quit to inhibit unwanted interaction (and
5529 thus breaking of X event synchronicity) in the child.
5531 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
5533 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
5536 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
5538 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
5539 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
5540 the xemacs process did not exit, but looped infinitely here. This
5543 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
5545 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
5546 (find_context): Improve comments.
5548 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
5549 (re_match_2): An XCHAR_TABLE operation was missing.
5551 Many of the following changes were inspired by Andy Piper's (now
5552 obsolete) patch to make syntax-table text property lookup optional.
5556 * syntax.h (top level): Document semantics of syntax flags.
5557 * syntax.c (comstr_start, Fforward_comment): Improve comments.
5558 * syntax.c, syntax.h (top level): Document syntax cache better in
5561 [Instrument syntax caching (temporary change)]
5563 * syntax.h (enum syntax_cache_statistics_functions, struct
5564 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
5565 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
5566 * syntax.c (scan_words, Fforward_comment, scan_lists,
5567 Fbackward_prefix_characters):
5568 * font-lock.c (find_context):
5569 Use them to instrument syntax caching.
5570 * syntax.c (struct syntax_cache_statistics, scs_statistics,
5571 syntax_cache_statistics_function_names): New type and variables.
5572 * syntax.c (update_syntax_cache): Update and report statistics.
5574 [Major syntax cache optimizations]
5576 syntax.c (lookup_syntax_properties): Default off.
5578 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
5579 * syntax.c (update_syntax_cache):
5580 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
5582 [Minor syntax cache optimizations and code clarifications]
5584 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
5585 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
5586 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
5587 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
5588 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
5589 (Code clarification.)
5591 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
5592 scan_lists): Compute code from syncode, use Boolean macros instead
5593 of redundant masking operations. (Code clarification; any decent
5594 compiler can do this optimization.)
5596 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
5599 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
5600 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
5601 use F*_single_property_change instead of F*_extent_change.
5602 Currently F*_single_property_change is _much_ less efficient.
5604 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
5605 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
5606 syntax_cache.object properly, don't leave Qt or Qnil.
5607 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
5608 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
5609 tests for Qt or Qnil.
5611 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
5613 * redisplay.c (point_in_line_start_cache):
5614 * extents.c (print_extent_1):
5617 * extents.c (Fset_extent_property): Document `syntax-table' property.
5619 * extents.h (Fnext_single_property_change): EXFUN it.
5621 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
5623 * search.c (clear_unused_search_regs): New static function.
5627 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
5628 Minor clarifications in comments.
5630 * regex.c (re_match_2_internal): Ensure no stale submatches.
5632 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
5634 * event-Xt.c (enqueue_focus_event): Add missing prototype.
5636 2002-08-29 Jerry James <james@xemacs.org>
5638 * lisp.h: structrures -> structures.
5640 2002-06-03 Andy Piper <andy@xemacs.org>
5642 * frame.c (frame_conversion_internal): add conversion appropriate
5643 for setting frame dimensions in pixels.
5645 * console.h (struct console_methods): add device-specific widget
5648 * emacs.c (main_1): initialize glyph vars.
5650 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
5651 (handle_focus_event_2): new function. Allow focus to
5652 be set to a particular window and widget.
5653 (enqueue_focus_event): new function. Create a
5654 synthetic focus event.
5655 (emacs_Xt_handle_magic_event): call
5656 handle_focus_event_2.
5658 * frame.c (Fset_frame_pixel_height): new function. Allow
5659 pixel-based sizing. Does the right thing on character-oriented
5661 (Fset_frame_pixel_width): ditto.
5662 (Fset_frame_pixel_size): ditto.
5663 (syms_of_frame): declare.
5665 * general-slots.h: add :vertically-justify and
5666 :horizontally-justify.
5668 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
5669 (mswindows_widget_border_width): new function.
5670 (mswindows_combo_box_instantiate): set border widths.
5671 (console_type_create_glyphs_mswindows): declare.
5674 (check_valid_justification): allow vertical and horizontal
5676 (widget_border_width): new function. Call device methods.
5677 (widget_instance_border_width): ditto.
5678 (logical_unit_height): new function. Determine the height of a
5679 logical-unit. Logical units are intended to provide grid-like
5680 layout for subcontrols in a layout. If the layout is
5681 :vertically-justify top then subcontrols will be positioned on
5682 logical-unit boundaries, thus allowing adjacent subcontrols to
5684 (widget_logical_unit_height): ditto for widgets.
5685 (redisplay_widget): misc cleanup.
5686 (widget_spacing): new function. Call device specific
5687 methods. Intended to be the default gap between adjacent widgets.
5688 (widget_query_geometry): use new spacing functions to determine
5689 appropriate geometry.
5690 (initialize_widget_image_instance): initialize horizontal and
5691 vertical justification.
5692 (widget_instantiate): use logica-units where appropriate for
5693 sizing large widgets.
5694 (button_query_geometry): use widget_instance_border_width.
5695 (tree_view_query_geometry): ditto.
5696 (tab_control_query_geometry): ditto.
5697 (edit_field_query_geometry): new function.
5698 (layout_update): pick up :justify, :horizontally-justify and
5699 :vertically-justify none of which worked previously. :justify is
5700 used as a fallback for both horizontal and vertical justification.
5701 (layout_query_geometry): use logical units to size appropriately.
5702 (layout_layout): ditto.
5703 (Fwidget_logical_to_character_width): new function. Allow users to
5704 convert from logical units to characters so that frame sizes can
5705 be set appropriately.
5706 (Fwidget_logical_to_character_height): ditto.
5707 (syms_of_glyphs_widget): declare.
5708 (image_instantiator_edit_fields): add edit_field_query_geometry.
5709 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
5710 :horizontally-justify.
5711 (specifier_vars_of_glyphs_widget): new function. Declare
5712 Vwidget_border_width which is not yet used.
5714 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
5715 (x_widget_border_width): new function.
5716 (x_widget_instantiate): create a sensible name for widgets.
5717 (console_type_create_glyphs_x): declare x_widget_border_width.
5719 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
5720 (struct Lisp_Image_Instance): add :vertically-justify and
5721 :horizontally-justify.
5722 (LAYOUT_JUSTIFY_TOP): new.
5723 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
5724 (ROUND_UP): new macro. Round argument up to next integral
5727 * redisplay-output.c (redisplay_output_layout): misc formatting.
5729 * symsinit.h: declare specifier_vars_of_glyphs_widget.
5731 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
5733 * XEmacs 21.4.9 "Informed Management" is released.
5735 2002-08-19 Andy Piper <andy@xemacs.org>
5737 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
5740 * realpath.c (xrealpath): normalize drive spec also so that dir
5741 sep chars are not mixed on cygwin.
5743 2002-08-06 Jerry James <james@xemacs.org>
5745 * window.c (Fsplit_window): Count only half of the divider width
5746 against the left window when splitting horizontally.
5748 2002-06-24 Andy Piper <andy@xemacs.org>
5750 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
5751 toolbar was cleared.
5753 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
5754 function. Split out from mswindows_output_frame_toolbars.
5755 (mswindows_output_frame_toolbars): move clear pieces to
5756 mswindows_output_frame_toolbars.
5758 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
5759 out from gtk_output_frame_toolbars.
5760 (gtk_output_frame_toolbars): move clear pieces to
5761 gtk_clear_frame_toolbars.
5763 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
5764 the frame is cleared. How this ever worked before is a mystery.
5765 (x_output_frame_toolbars): Only output toolbars.
5766 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
5768 * gutter.c (update_gutter_geometry):
5769 Mark frame layout changed.
5770 (update_frame_gutter_geometry, update_frame_gutters):
5771 Respect frame_layout_changed.
5773 * console.h (struct console_methods): add
5774 clear_frame_toolbars_method.
5776 * redisplay.c (redisplay_frame): call
5777 update_frame_toolbars_geometry and re-order update_frame_toolbars.
5779 * toolbar.h: declare update_frame_toolbars_geometry.
5781 * toolbar.c (update_frame_toolbars_geometry): new function. Split
5782 out from update_frame_toolbars. Call clear_frame_toolbars.
5783 (update_frame_toolbars): only output, do not change geometry.
5785 * redisplay.c: add frame_layout_changed.
5787 * redisplay.h: add frame_layout_changed.
5788 (CLASS_RESET_CHANGED_FLAGS): set it.
5789 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
5790 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
5791 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
5793 * device.h (struct device): add frame_layout_changed.
5794 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
5796 * frame.h (struct frame): add frame_layout_changed.
5797 (MARK_FRAME_LAYOUT_CHANGED): new.
5799 2002-06-30 Mike Alexander <mta@arbortext.com>
5801 * event-msw.c (mswindows_need_event): Don't wait for a new message
5802 if the queue is not empty. Suggested by Paul Moore.
5804 2002-06-12 Andy Piper <andy@xemacs.org>
5806 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
5807 for printing on accurately.
5809 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
5811 * event-msw.c (mswindows_wnd_proc): Add a handler for the
5812 WM_ACTIVATE message. Make sure that the frame is visible if the
5813 window is visible. This seemss to fix the problem where XEmacs
5814 appears to freeze after switching desktops with certain virtual
5816 (debug_output_mswin_message): Added code to output message
5817 parameters for WM_WINDOWPOSCHANGED,
5818 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
5820 2002-05-25 Andy Piper <andy@xemacs.org>
5822 * select-x.c (vars_of_select_x): Fix docstring of
5823 x-selection-strict-motif-ownership
5825 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5827 * keymap.c (get_keymap):
5828 Add comment about do_autoload GCPROs own args.
5830 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5832 * bytecode.c (execute_optimized_program): check_opcode ifdef
5833 ERROR_CHECK_BYTE_CODE.
5835 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5837 Thanks to Ben Wing and Michael Sperber.
5839 * eval.c (Fcommand_execute):
5842 (Fmacroexpand_internal):
5843 (function_argcount):
5844 callint.c (Fcall_interactively):
5845 Add comment about do_autoload GCPROs own args.
5847 * (do_autoload): GCPRO both args as well as local Lisp_Object.
5849 * eval.c (Ffuncall): Extra braces to placate GCC.
5851 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
5853 * backtrace.h (grow_specpdl):
5855 * EmacsFrame.c (EmacsFrameSetValues):
5856 * eval.c (grow_specpdl):
5857 * ExternalShell.c (hack_event_masks_1):
5858 * glyphs-x.c (convert_EImage_to_XImage):
5859 (x_finalize_image_instance):
5860 * ralloc.c (page_size):
5862 * xgccache.c (gc_cache_hash):
5863 Fix unsigned comparison warnings.
5865 2002-07-29 Jerry James <james@xemacs.org>
5867 * lread.c (locate_file): Any nonnegative return value indicates
5868 success if MODE is nonnegative.
5870 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
5872 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
5875 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
5877 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
5879 * dumper.c (pdump_get_indirect_count):
5880 (pdump_scan_by_alignment):
5881 (pdump_dump_root_struct_ptrs):
5882 (pdump_dump_rtables):
5883 (pdump_dump_root_objects):
5885 * nas.c (WaveOpenDataForReading):
5886 * fns.c (print_bit_vector):
5887 * font-lock.c (SINGLE_SYNTAX_STYLE):
5888 * glyphs.c (check_for_ignored_expose):
5889 (find_matching_subwindow):
5891 * imgproc.c (get_histogram):
5892 * redisplay.c (point_in_line_start_cache):
5893 * redisplay-output.c (redisplay_unmap_subwindows):
5894 * symbols.c (defsymbol_massage_name_1):
5895 (defkeyword_massage_name):
5896 (deferror_massage_name_and_message):
5897 * redisplay-x.c (x_output_string):
5898 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
5899 * frame.h (struct frame):
5900 * filelock.c (current_lock_owner):
5901 * doprnt.c (emacs_doprnt_1):
5902 * lisp.h (struct Lisp_Bit_Vector):
5906 2002-02-13 Ben Wing <ben@xemacs.org>
5908 * event-stream.c (reset_key_echo):
5909 * event-stream.c (reset_this_command_keys):
5910 * event-stream.c (execute_command_event):
5911 If console is dead as a result of C-x 5 0, then post-command stuff
5912 needs to be careful and do only non-console-specific stuff.
5914 2002-07-01 Mike Sperber <mike@xemacs.org>
5916 * process-unix.c (unix_send_process): Mark coding_outstream as
5917 non-open upon SIGPIPE.
5919 * event-stream.c (Fnext_event): Reorder switch cases to something
5922 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
5924 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
5925 Don't bogusly reinitialize ascii_character property.
5927 2002-07-08 Mike Sperber <mike@xemacs.org>
5929 * process.c (Fstart_process_internal): Do error checking before we
5930 fork off the child, so the child can't muck with the state of the
5933 2002-07-08 Mike Sperber <mike@xemacs.org>
5935 * ralloc.c (init_ralloc): Allocate properly for pdump.
5937 2002-06-12 Andy Piper <andy@xemacs.org>
5939 * glyphs.c (query_string_geometry): check the string.
5941 * glyphs-widget.c (widget_logical_unit_height): cope with nil
5944 2002-06-17 Jerry James <james@xemacs.org>
5946 * sysdll.c: Remove RTLD_GLOBAL initialization.
5947 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
5949 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
5951 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
5953 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
5955 * sysdep.c (sys_rename): Make sys_rename work for the case where
5956 Windows rename sets errno to EACCES if target file exists.
5958 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
5960 * device-msw.c (mswindows_handle_page_setup_dialog_box):
5961 Fix detection of metric units to work on Win95
5963 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
5965 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
5967 2002-04-25 Andy Piper <andy@xemacs.org>
5969 * redisplay.c (create_text_block): Remove extra comment trailer.
5971 2002-04-24 Andy Piper <andy@xemacs.org>
5973 * redisplay.c (create_text_block): Don't actually add propagation
5974 data if the line ends after we have added a glyph.
5976 2002-04-22 Andy Piper <andy@xemacs.org>
5978 * extents.c (extent_fragment_update): check for glyphs we have
5979 previously displayed.
5980 * extents.c (print_extent_1): warning removal.
5981 * extents.h: change prototype.
5982 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
5983 widths correctly for wide glyphs.
5984 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
5985 * redisplay.c (prop_type): add PROP_GLYPH.
5986 * redisplay.c (struct prop_block): add glyph type
5987 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
5988 to the propagation data.
5989 * redisplay.c (create_text_block): if there is a glyph in the
5990 propagation data use it to salt extent_fragment_update.
5991 * redisplay.c (create_string_text_block): ditto.
5993 2002-04-13 Nix <nix@esperi.demon.co.uk>
5995 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
5996 * redisplay-output.c (compare_runes): Compare them.
5997 * redisplay.c: Update copyright date.
5998 * redisplay.c (pos_data): Add need_baseline_computation field.
5999 * redisplay.c (add_glyph_rune): Update ascent, descent, and
6000 need_baseline_computation; zero yoffset. Set max_pixmap_height
6001 for all pixmaps, not just automatically positioned ones.
6002 * redisplay.c (calculate_yoffset): New, compute yoffset values.
6003 * redisplay.c (calculate_baseline): New, compute textual baseline.
6004 * redisplay.c (add_glyph_rune): Call them.
6005 * redisplay.c (create_text_block): Likewise.
6006 * redisplay.c (create_overlay_glyph_block): Likewise.
6007 * redisplay.c (add_margin_runes): Likewise.
6008 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
6010 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
6011 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
6012 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
6013 * redisplay-msw.c (mswindows_output_string): Likewise.
6014 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
6015 * redisplay-gtk.c (gtk_output_display_block): Likewise.
6016 * redisplay-x.c (x_output_display_block): Likewise.
6018 2002-03-28 Ben Wing <ben@xemacs.org>
6020 * redisplay.c: Fixed bug in redisplay
6021 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
6022 and down of the lines, since they're bigger than the line
6023 size. (It was seen most obviously when there's a horizontal scroll
6024 bar, e.g. do C-h a glyph or something like that.) The problem was
6025 that the glyph-contrib-p setting on glyphs was ignored even if it
6026 was set properly, which it wasn't until now.
6028 2002-04-24 Andy Piper <andy@xemacs.org>
6030 * lisp.h (Dynarr_end): Fix definition.
6032 2002-02-06 Adrian Aichner <adrian@xemacs.org>
6034 * redisplay.c (mark_redisplay): Remove call to
6035 update_frame_window_mirror.
6037 2001-11-15 Andy Piper <andy@xemacs.org>
6039 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
6042 2002-02-13 Andy Piper <andy@xemacs.org>
6044 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
6045 we did in fact enqueue the XM_MAPFRAME event.
6047 2002-01-15 Adrian Aichner <adrian@xemacs.org>
6049 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
6050 to fix problem switching between virtual desktops under virtuawin
6051 virtual window manager.
6053 2001-07-30 Adrian Aichner <adrian@xemacs.org>
6055 * event-msw.c: Typo fix.
6056 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
6057 magic XM_MAPFRAME event has been sent.
6059 2001-11-23 Andy Piper <andy@xemacs.org>
6061 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
6063 2001-11-21 Andy Piper <andy@xemacs.org>
6065 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
6066 mouse events outside the frame.
6068 2002-03-20 Andy Piper <andy@xemacs.org>
6070 * menubar-msw.c (mswindows_popup_menu): warning removal.
6071 * dialog-msw.c (dialog_popped_down): ditto.
6073 2001-12-11 Andy Piper <andy@xemacs.org>
6075 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
6076 * dialog-msw.c (mswindows_make_dialog_box_internal): set
6078 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
6079 * menubar-msw.c (mswindows_handle_wm_command): ditto.
6080 * menubar-msw.c (mswindows_popup_menu): ditto.
6082 2001-10-29 Andy Piper <andy@xemacs.org>
6084 * dialog-msw.c (handle_directory_dialog_box): quit if the user
6087 2002-01-03 Andy Piper <andy@xemacs.org>
6089 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
6093 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
6095 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
6096 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
6097 * device-msw.c (mswindows_handle_page_setup_dialog_box):
6098 Detect and handle case where machine is set up for metric units
6100 2002-04-02 Andy Piper <andy@xemacs.org>
6102 * dired-msw.c (mswindows_get_files):
6103 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
6104 completely handled by XEmacs. Suggested by Thomas Vogler
6105 <mail@thomas-vogler.de>.
6107 2001-11-14 Andy Piper <andy@xemacs.org>
6109 * nt.c (REG_ROOT): change registry key to XEmacs.
6111 2002-04-27 Andy Piper <andy@xemacs.org>
6113 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
6115 2002-04-26 Andy Piper <andy@xemacs.org>
6117 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
6120 2002-03-14 Mike Alexander <mta@arbortext.com>
6122 * event-msw.c (mswindows_unwait_process): New, remove process from
6124 * process-nt.c (nt_finalize_process_data): Call
6125 mswindows_unwait_process
6126 * console-msw.h: Declare mswindows_unwait_process
6128 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
6130 * editfns.c (Fdecode_time):
6131 (Fformat_time_string):
6132 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
6133 (make_time): Warning elimination (change arg name).
6135 2001-11-24 Andy Piper <andy@xemacs.org>
6137 * window.c (Fsplit_window): Doc return type.
6139 2002-04-01 Andy Piper <andy@xemacs.org>
6141 * emacs.c (Fkill_emacs): Only output message box in interactive
6144 2002-04-26 Andy Piper <andy@xemacs.org>
6146 * config.h.in: pull in 21.5.x change to stop alloca warnings under
6149 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
6151 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
6154 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
6156 * XEmacs 21.4.8 "Honest Recruiter" is released.
6158 2002-05-07 Nix <nix@esperi.demon.co.uk>
6160 Supersedes 2002-04-17 patch.
6162 * process.h (PROCESS_LIVE_P): Use the process status as
6163 evidence of health, not the state of the input stream.
6164 (PROCESS_READABLE_P): Say if the process is readable
6165 from. (It may be dead nonetheless.)
6166 (CHECK_READABLE_PROCESS): Test for that condition.
6168 * process.c (create_process): Use PROCESS_READABLE_P.
6169 (read_process_output, set_process_filter): Likewise.
6171 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
6172 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
6174 This code is #if 0'd, this is not the time to add new functions:
6176 * process.c (Fprocess_readable_p): Report readability status.
6177 * process.c (Qprocess_readable_p): New, associated symbol...
6178 * process.c (syms_of_process): ... initialize it.
6180 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
6182 * XEmacs 21.4.7 "Economic Science" is released.
6184 2002-04-17 Nix <nix@esperi.demon.co.uk>
6186 * process.h (PROCESS_LIVE_P): Use the process status as
6187 evidence of health, not the state of the input stream.
6189 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
6191 * sysdep.c (sys_siglist): change "signum" to "signal"
6193 2001-04-21 Martin Buchholz <martin@xemacs.org>
6195 * s/darwin.h: New file.
6196 Thanks to Greg Parker <gparker@cs.stanford.edu>.
6198 2002-04-23 Andreas Jaeger <aj@suse.de>
6200 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
6201 which use lib64 for 64-bit libs.
6202 (START_FILES): Likewise.
6204 2002-02-11 Mike Sperber <mike@xemacs.org>
6207 (x_IO_error_handler):
6208 (x_init_device): Temporarily keep device in static variable
6209 `device_being_initialized' so we can recover gracefully from
6210 internal XOpenDevice failure. (XOpenDevice is documented to
6211 return NULL on failure, but sometimes calls the IO error handler
6214 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
6216 * dired.c (Ffile_name_all_completions): Change documentation --
6217 remove reference to completion-ignored-extensions.
6218 * dired.c (vars_of_dired): Change documentation for
6219 completion-ignored-extensions -- remove reference to
6220 file-name-all-completions.
6222 2002-03-06 Jerry James <james@xemacs.org>
6224 * emodules.c (emodules_load): Fix multiple loading of same module.
6226 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
6227 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
6228 RTLD_LAZY to avoid incorrect symbol binding when using nested
6229 shared libraries on Solaris.
6231 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
6233 * fileio.c (Ffind_file_name_handler): Improve docstring.
6235 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
6237 * fns.c (Fmapconcat): Improve docstring.
6239 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
6241 * device-gtk.c: Add prototype for
6242 emacs_gtk_selection_clear_event_handle.
6243 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
6244 selection. Setup signal handler for "selection_clear_event"
6245 (emacs_gtk_selection_clear_event_handle).
6247 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
6248 other applications owning the clipboard (based on
6249 x_handle_selection_clear).
6251 2001-12-23 William M. Perry <wmperry@gnu.org>
6253 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
6255 2002-01-04 Martin Buchholz <martin@xemacs.org>
6257 * keymap.c (define_key_alternate_name): Parenthesize EQ.
6259 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
6261 * XEmacs 21.4.6 "Common Lisp" is released.
6263 2001-12-16 Torsten Duwe <duwe@caldera.de>
6265 * search.c (Freplace_match): Add missing sub-expression functionality.
6267 * buffer.c (decode_buffer): Add a check for pointer type to
6268 decode_buffer, before gcc's CSE optimization reorders a
6269 dereference in front of the allow_string test.
6271 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
6273 * window.c (window_loop): Fix bug that sometimes prevented
6274 window_loop() from iterating across multiple devices. Also, at
6275 Ben's request, changed infloop-detecting code to abort() instead
6276 of silently terminating window_loop().
6278 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
6280 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
6281 * editfns.c (make_time): New function.
6282 (Fencode_time): Use it instead of wasteful_word_to_lisp.
6283 * lisp.h (make_time): Prototype and comment it.
6284 * dired.c (wasteful_word_to_lisp): Deprecate.
6285 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
6287 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
6289 * fileio.c (auto_save_1): Use current coding system, not
6292 2001-11-13 Ben Wing <ben@xemacs.org>
6295 * window.c (window_truncation_on):
6296 * window.c (syms_of_window):
6297 truncate-partial-width-windows should respect the buffer being
6298 displayed, like other redisplay vars.
6300 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
6302 * event-stream.c (Fread_key_sequence): save current buffer.
6304 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
6306 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
6308 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
6310 * alloc.c (lcrecord_stats): Add space for types defined in modules.
6312 2001-10-26 Mike Alexander <mta@arbortext.com>
6314 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
6316 2001-10-25 Andy Piper <andy@xemacs.org>
6319 * dialog-msw.c (handle_directory_proc): new function.
6320 (handle_directory_dialog_box): new fucntion.
6321 (handle_file_dialog_box): use new directory dialog support.
6322 (mswindows_make_dialog_box_internal): ditto.
6323 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
6325 (mswindows_find_frame): make global.
6326 * fileio.c (Fexpand_file_name): build fix.
6327 * general-slots.h: add Qdirectory.
6328 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
6330 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
6331 cygwin not leaving win32 paths unchanged.
6332 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
6333 cygwin runtime to do path conversion.
6334 (Fmswindows_shell_execute): fix cygwin handling of URLs.
6335 (syms_of_win32): add new function.
6336 * window.c (window_loop): build fix.
6338 2001-10-15 Andy Piper <andy@xemacs.org>
6340 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
6342 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
6344 * XEmacs 21.4.5 "Civil Service" is released.
6346 2001-04-08 Danny Colascione <qtmstr@optonline.net>
6348 * glyphs-x.c: Force buffer-tab highlight update when moving the
6349 buffer, avoiding an ugly black border, used for keyboard focus
6350 indication, on a widget that can never have keyboard focus, the
6353 2001-08-30 Daiki Ueno <ueno@unixuser.org>
6355 * process-unix.c (unix_open_multicast_group): Remove too much
6356 conversion between host and network byte order.
6358 2001-09-10 Nix <nix@esperi.demon.co.uk>
6360 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
6361 before replacing them.
6363 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
6366 * src/window.c (undedicate_windows): Use it.
6367 * src/window.h: Add prototype.
6369 2001-09-17 Ben Wing <ben@xemacs.org>
6371 * fileio.c (normalize_filename):
6372 * fileio.c (Fexpand_file_name):
6373 Fix various C++ compile errors in Andy's recent code.
6375 * callint.c (Fcall_interactively):
6376 * editfns.c (Ftemp_directory):
6377 * editfns.c (Fuser_full_name):
6378 * emacs.c (argmatch):
6379 * lread.c (locate_file_map_suffixes):
6380 * redisplay-x.c (x_ring_bell):
6381 Fix sign-compare warnings.
6383 2001-09-08 Andy Piper <andy@xemacs.org>
6385 * fileio.c (normalize_filename): copied from nt.c
6386 * (Ffile_name_directory): enable win32 paths under cygwin.
6387 * (Ffile_name_nondirectory): ditto.
6388 * (directory_file_name): ditto.
6389 * (Fexpand_file_name): ditto.
6390 * (Ffile_truename): ditto.
6391 * (Fsubstitute_in_file_name): ditto.
6392 * (Ffile_name_absolute_p): ditto.
6393 * (Ffile_readable_p): ditto.
6395 2001-09-08 Andy Piper <andy@xemacs.org>
6397 * device-msw.c (mswindows_finish_init_device): remove dde
6399 * device-msw.c (mswindows_init_dde): factor out from
6400 mswindows_finish_init_device()
6401 * device-msw.c (init_mswindows_very_early): new function
6402 initialize but don't enable dde.
6403 * emacs.c (main_1): call init_mswindows_very_early.
6405 * event-msw.c (mswindows_dde_callback): only execute when we are
6407 * symsinit.h: declare init_mswindows_very_early.
6409 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6411 [sjt: This has been in 21.5 for months with no complaints.]
6413 * console.h (struct console_methods): Added flags member.
6414 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
6415 (CONMETH_IMPL_FLAG):
6416 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
6417 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
6419 * device.c (window_system_pixelated_geometry): Use the above macros.
6421 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
6422 implememntation flag.
6423 * device.h (DEVICE_DISPLAY_P): Use it.
6425 * frame.c (delete_frame_internal): Use the above macro.
6427 * redisplay.c (redisplay_device): Use it.
6428 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
6429 (redisplay_frame): Ditto.
6431 * device-msw.c (mswindows_device_implementation_flags): Removed.
6432 (msprinter_device_implementation_flags): Removed.
6433 (console_type_create_device_mswindows): Removed references to
6434 implementation_flags methods, set implementation flags here.
6435 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
6437 * device-gtk.c (gtk_device_implementation_flags): Removed method.
6438 (console_type_create_device_gtk): Removed method declaration.
6439 Added commented out statement which semantically matches the
6440 commented out statement in the above removed method.
6442 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
6444 The attached patch fixes a few warnings.
6446 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
6447 * src/frame-gtk.c: guard against GNOME calls in GTK only
6448 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
6449 * src/select-gtk.c: prototype lisp_to_time
6451 2001-06-08 Ben Wing <ben@xemacs.org>
6453 ------ gc-in-window-procedure fixes ------
6456 * alloc.c (struct post_gc_action):
6457 * alloc.c (register_post_gc_action):
6458 * alloc.c (run_post_gc_actions):
6459 * alloc.c (garbage_collect_1):
6460 Create "post-gc actions", to avoid those dreaded "GC during window
6461 procedure" problems.
6464 Abort, clean and simple, when GC in window procedure. We want
6465 to flush these puppies out.
6468 * glyphs-msw.c (finalize_destroy_window):
6469 * glyphs-msw.c (mswindows_finalize_image_instance):
6470 Use a post-gc action when destroying subwindows.
6473 Declare register_post_gc_action().
6476 * scrollbar-msw.c (unshow_that_mofo):
6477 Use a post-gc action when unshowing scrollbar windows, if in gc.
6479 * redisplay.c (mark_redisplay):
6480 Add comment about the utter evilness of what's going down here.
6482 ------ cygwin setitimer fixes ------
6484 * Makefile.in.in (sheap_objs):
6485 * Makefile.in.in (profile_objs):
6486 * Makefile.in.in (objs):
6487 Compile profile.c only when HAVE_SETITIMER.
6489 * nt.c (mswindows_sigset):
6490 * nt.c (mswindows_sighold):
6491 * nt.c (mswindows_sigrelse):
6492 * nt.c (mswindows_sigpause):
6493 * nt.c (mswindows_raise):
6494 * nt.c (close_file_data):
6498 Move setitimer() emulation to win32.c, because Cygwin needs it too.
6501 * profile.c (Fstart_profiling):
6502 * profile.c (Fstop_profiling):
6503 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
6504 instead of just plain setitimer().
6507 * signal.c (set_one_shot_timer):
6509 Define qxe_setitimer() as an encapsulation around setitimer() --
6510 call setitimer() directly unless Cygwin or MS Win, in which case
6511 we use our simulated version in win32.c.
6514 * systime.h (struct itimerval):
6515 * systime.h (ITIMER_REAL):
6516 Prototype mswindows_setitimer() and qxe_setitimer(). Long
6517 comment about "qxe" and the policy regarding encapsulation.
6520 * win32.c (setitimer_helper_proc):
6521 * win32.c (setitimer_helper_period):
6522 * win32.c (setitimer_helper):
6523 * win32.c (mswindows_setitimer):
6524 Move setitimer() emulation here, so Cygwin can use it.
6525 Rename a couple of functions and variables to be longer and more
6526 descriptive. In setitimer_helper_proc(), send the signal
6527 using either mswindows_raise() or (on Cygwin) kill(). If for
6528 some reason we are still getting lockups, we'll change the kill()
6529 to directly invoke the signal handlers.
6531 ------ windows shell fixes ------
6535 Comments about how these two files must die.
6537 * callproc.c (init_callproc):
6538 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
6539 not just COMSPEC. (more correct and closer to FSF.) Don't
6540 force a value for SHELL into the environment. (Comments added
6541 to explain why not.)
6543 * nt.c (init_user_info):
6544 Don't shove a fabricated SHELL into the environment. See above.
6546 2001-06-01 Ben Wing <ben@xemacs.org>
6548 * Makefile.in.in (ldflags):
6549 eliminate that pesky "defaulting to 00401000" warning.
6553 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
6555 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
6556 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
6558 2001-04-24 Jerry James <james@xemacs.org>
6560 * faces.h: pass parameters to Fadd_spec_to_specifier in the
6563 2001-06-01 Ben Wing <ben@xemacs.org>
6565 * event-msw.c (debug_mswin_messages):
6566 conditionalize the messages that were causing compile errors.
6567 (if only macros could generate #ifdef statements ...)
6569 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
6571 * XEmacs 21.4.4 "Artificial Intelligence" is released.
6573 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
6575 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
6577 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
6579 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
6580 * process-unix.c (unix_canonicalize_host_name):
6581 sysdep.c (init_system_name):
6582 Use it to conditionally support IPv6 canonicalization.
6584 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
6587 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
6589 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
6591 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
6592 attempt is made to scroll when no scroll bar is available.
6594 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
6596 * input-method-motif.c (XIM_delete_frame): New callback.
6597 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
6598 got deleted from 21.4.3.)
6600 2001-06-01 Ben Wing <ben@xemacs.org>
6602 * nt.c (mswindows_utime):
6603 * nt.c (close_file_data):
6604 fix off-by-one-indirection error.
6606 2001-05-29 Adrian Aichner <adrian@xemacs.org>
6608 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
6609 because set_file_times() now takes Lisp_Object path, instead of
6611 * nt.c: Include buffer.h.
6612 * nt.c (convert_from_time_t): New.
6613 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
6614 not set mtime correctly.
6615 * nt.h: Declare mswindows_utime().
6616 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
6617 path, instead of char*.
6618 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
6620 2001-05-30 Ben Wing <ben@xemacs.org>
6624 (Stephen, just take all event-msw.c patches. This includes
6625 the "iconify" fix below.)
6628 * event-msw.c (mswindows_dequeue_dispatch_event):
6629 * event-msw.c (assert):
6630 * event-msw.c (emacs_mswindows_quit_p):
6631 * event-msw.c (debug_mswin_messages):
6632 * event-msw.c (debug_output_mswin_message):
6633 * event-msw.c (vars_of_event_mswindows):
6634 Fix yet more problems with C-g handling.
6635 Implement debug-mswindows-events.
6637 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6639 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
6641 2001-05-23 Ben Wing <ben@xemacs.org>
6643 * event-msw.c (winsock_writer):
6644 * event-msw.c (winsock_closer):
6645 prior kludgy code was clobbering the buffer, thinking it was
6646 "unused" space to store an unneeded return value; instead, use
6647 the variable we've already got staring us in the face.
6649 2001-05-17 Andy Piper <andy@xemacs.org>
6651 * sysfile.h: don't assume that file attributes are boolean
6653 2001-05-23 Ben Wing <ben@xemacs.org>
6655 * device-msw.c (msprinter_init_device):
6656 signal an error rather than crash with an unavailable network
6657 printer (from Mike Alexander).
6660 * event-msw.c (struct winsock_stream):
6661 * event-msw.c (winsock_writer):
6662 * event-msw.c (winsock_closer):
6663 * event-msw.c (make_winsock_stream_1):
6664 cleanup headers. fix (hopefully) an error with data corruption
6665 when sending to a network connection.
6667 * fileio.c (Fexpand_file_name): Fix evil code that attempts
6668 to handle the ~user prefix by (a) always assuming we're referencing
6669 ourselves and not even verifying the user -- hence any file with
6670 a tilde as its first char is invalid! (b) if there wasn't a slash
6671 following the filename, the pointer was set *past* the end of
6672 file and we started reading from uninitialized memory. Now we
6673 simply treat these as files, always.
6675 * buffer.c (common_init_complex_vars_of_buffer): comment change.
6677 2001-05-19 Ben Wing <ben@xemacs.org>
6679 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
6682 * process-nt.c (vars_of_process_nt):
6683 remove unused mswindows-quote-process-args. rec for 21.4.
6685 2001-05-12 Ben Wing <ben@xemacs.org>
6687 * event-msw.c (mswindows_dde_callback):
6688 * event-msw.c (mswindows_wnd_proc):
6689 eliminate cygwin warnings.
6691 2001-05-06 Ben Wing <ben@xemacs.org>
6695 * device-msw.c (print_dialog_worker):
6696 * device-msw.c (mswindows_handle_print_dialog_box):
6697 * device-msw.c (syms_of_device_mswindows):
6698 * dialog-msw.c (mswindows_make_dialog_box_internal):
6700 implement printing the selection when it's selected.
6702 2001-05-20 Drazen Kacar <dave@arsdigita.com>
6704 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
6706 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
6708 * lisp.h (EMACS_INT_MAX): This should be one bit less since
6709 EMACS_INT is signed.
6711 2001-04-15 Michael Lausch <mla@1012surf.net>
6713 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
6714 gtk_widget_request_size() to give scrollbar >0 width for
6717 2001-05-30 William M. Perry <wmperry@gnu.org>
6719 * event-gtk.c: Check for buttons as modifier keys.
6721 2001-05-25 Craig Lanning <CraigL@Knology.net>
6724 Properly find MinGW's <process.h> inside Cygwin's restructured
6725 include directories. Don't try to include <cygwin/version.h>
6726 since we are dropping support for MinGW in versions of Cygwin
6729 Drop support for MinGW in versions of Cygwin before b21.
6731 Properly find MinGW's <process.h> inside Cygwin's restructured
6732 include directories.
6734 Drop support for MinGW in versions of Cygwin before b21.
6736 Even though a.out.h is no longer detected by configure, allow
6737 MinGW to use it until we figure out how to do the job with Win32.
6739 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
6741 * syntax.c (find_start_of_comment):
6742 Fix `unbalanced parentheses' bug when dealing with mixed comment
6743 styles in c++/java/etc. mode
6745 2001-05-29 Mike Alexander <mta@arbortext.com>
6747 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
6748 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
6750 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
6752 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
6754 2001-03-31 Mike Sperber <mike@xemacs.org>
6756 * search.c (Freplace_match): Support FSF-style specification of
6757 match subexpression when applied to a buffer.
6759 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
6761 * event-stream.c (is_scrollbar_event): add missing semicolon
6763 2001-05-22 Isaac Hollander <ysh@mindspring.com>
6765 * Makefile.in.in: Use TAR macro instead of hardcoding
6766 tar. Allows use of GNU tar instead of system tar
6768 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
6770 * event-stream.c (is_scrollbar_event): add missing semicolon
6772 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
6774 * XEmacs 21.4.3 "Academic Rigor" is released.
6776 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
6778 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
6780 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
6782 * buffer.c (Vcase_fold_search): Remove obsolete
6783 comment about non ASCII case-fold-search. This
6784 bug has been fixed by case-table changes.
6786 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
6788 * event-msw.c: Restore include of events-mod.h.
6790 2001-04-22 zhaoway <zw@debian.org>
6792 * event-stream.c (is_scrollbar_event): Noop returning 0 if
6795 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
6797 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
6799 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
6801 * mule-charset.c (Fmake_charset): Add missing else.
6803 2001-04-23 Ben Wing <ben@xemacs.org>
6805 * event-msw.c (FAKE_MOD_QUIT):
6806 * event-msw.c (mswindows_dequeue_dispatch_event):
6807 * event-msw.c (mswindows_wnd_proc):
6808 * event-msw.c (emacs_mswindows_quit_p):
6809 Get critical quit working.
6811 2001-05-05 Ben Wing <ben@xemacs.org>
6815 * device-msw.c (mswindows_get_default_margin):
6816 * frame-msw.c (mswindows_size_frame_internal):
6817 * frame-msw.c (msprinter_init_frame_1):
6818 * frame-msw.c (vars_of_frame_mswindows):
6819 Change top/bottom margin defaults to 0.5 inches.
6821 2001-05-01 Martin Buchholz <martin@xemacs.org>
6823 Fix link error with gcc 3.0 on Linux.
6824 * terminfo.c (UP): Remove.
6825 * terminfo.c (BC): Remove.
6826 * terminfo.c (PC): Remove.
6827 They weren't used, and in any case, these symbols should be
6828 defined in the *library*.
6830 2001-05-03 Martin Buchholz <martin@xemacs.org>
6832 * s/aix4.h: Fix crash with xlc -O3.
6833 Improve comment explaining how -O3 works.
6835 2001-04-15 Ben Wing <ben@xemacs.org>
6838 * event-stream.c (Fnext_event):
6839 * event-stream.c (is_scrollbar_event):
6840 * event-stream.c (execute_command_event):
6841 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
6842 crash' problem. His fix introduces other problems. We filter
6843 out scrollbar events specifically, making them somewhat invisible
6844 to command-building, and not appearing in `this-command-keys'.
6845 More work is still needed (see comments in event-stream.c), but
6846 this fixes all the major problems.
6848 2001-04-20 Ben Wing <ben@xemacs.org>
6850 * .cvsignore: Added stuff for Windows.
6852 2001-04-28 Ben Wing <ben@xemacs.org>
6854 * buffer.c (Ferase_buffer):
6855 * editfns.c (buffer_insert1):
6856 * editfns.c (Finsert_before_markers):
6857 * editfns.c (Finsert_string):
6858 * editfns.c (Finsert_char):
6859 * editfns.c (Fdelete_region):
6860 * editfns.c (Fwiden):
6861 * editfns.c (Fnarrow_to_region):
6862 remove bogus lines setting zmacs_region_stays to 0.
6864 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
6866 * process-unix.c (unix_open_network_stream): If connect() fails
6867 invalidate file descriptor after closing it.
6869 2001-03-08 Mike Alexander <mta@arbortext.com>
6871 * event-msw.c (mswindows_need_event_in_modal_loop):
6872 Don't dispatch a message if we didn't get one.
6873 (mswindows_need_event):
6874 Terminate the correct process when one exits instead of the first
6875 one on Vprocess_list and look for process termination when in
6876 mswindows_protect_modal_loop.
6878 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
6880 * XEmacs 21.4.1 "Copyleft" is released.
6882 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
6884 * input-method-motif.c (XIM_delete_frame): New callback.
6885 (XIM_init_frame): Register it.
6887 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
6889 * XEmacs 21.4.0 "Solid Vapor" is released.
6891 2001-04-15 Ben Wing <ben@xemacs.org>
6893 * cmdloop.c (call_command_loop):
6894 Fix braino in bit-rotting code.
6896 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
6898 * extents.c (Fset_extent_endpoints): Force creation of extent info
6899 in buffer_or_string.
6901 * extents.c (process_extents_for_insertion_mapper): Correctly
6902 check for open-open zero-length extents.
6904 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
6906 * lisp.h: New typedefs Memory_count, Element_count.
6909 Sign-compare warning elimination: several unsigned -> signed.
6910 Based on work by Ben Wing <ben@xemacs.org>.
6912 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
6914 * XEmacs 21.2.47 "Zephir" is released.
6916 2001-04-02 Jan Vroonhof <jan@xemacs.org>
6918 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
6920 2001-04-03 Mike Sperber <mike@xemacs.org>
6922 * search.c: Revert previous patch due because of release.
6924 2001-03-30 Ben Wing <ben@xemacs.org>
6927 Add missing killpg prototype.
6930 Add a comment about fixing problems when a new entry is added
6933 * frame-msw.c (mswindows_init_frame_1):
6934 Fix compile warnings.
6936 * menubar.c (vars_of_menubar):
6937 Provide `menu-accelerator-support' to indicate that we properly
6938 support %_ in menu specifications, so that package code can
6939 conditionalize on this (and remove %_ from menu specifications
6944 * scrollbar-msw.c (can_scroll):
6946 Fix handling of mouse wheel under Windows to follow standards --
6947 now scrolls window under pointer, not selected window.
6949 2001-03-31 Mike Sperber <mike@xemacs.org>
6951 * search.c (Freplace_match): Support FSF-style specification of
6952 match subexpression when applied to a buffer.
6954 2001-03-15 Martin Buchholz <martin@xemacs.org>
6956 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
6957 function to modify KEYMAP, so map over a copy of the hash table.
6959 2001-03-21 Martin Buchholz <martin@xemacs.org>
6961 * XEmacs 21.2.46 "Urania" is released.
6963 2001-03-20 Dan Holmsand <dan@eyebee.com>
6965 * realpath.c (xrealpath): Make file-truename work with symlinks to
6966 /cygdrive paths on cygwin. Always lowercase drive-letters on
6968 (cygwin_readlink): Don't try to find canonical filename unless
6971 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
6973 * ChangeLog: Log GTK merge.
6979 Revert gratuitous whitespace changes from GTK merge.
6981 * emacs.c: Document end of complex #ifdef @ l. 1495.
6984 2001-03-12 Andy Piper <andy@xemacs.org>
6986 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
6987 have to do likewise.
6989 2001-03-12 Andy Piper <andy@xemacs.org>
6991 * sysdep.c: we only support mingw now.
6993 2001-03-09 Andy Piper <andy@xemacs.org>
6995 * unexcw.c (copy_executable_and_dump_data_section): making approx
6996 overrun a warning only.
6998 2001-03-10 William M. Perry <wmperry@aventail.com>
7000 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
7001 satisfy Stephen's identical-after-cpp plea.
7003 2001-03-02 Ben Wing <ben@xemacs.org>
7006 * cmds.c (Fforward_char):
7010 Augment documentation of the most common motion commands to make
7011 note of the shifted-motion support.
7013 2001-03-02 Ben Wing <ben@xemacs.org>
7015 * nt.c (mswindows_fstat):
7016 * nt.c (mswindows_stat):
7017 * search.c (boyer_moore):
7018 Fix compile warnings under Windows.
7020 * sysdep.c (sys_readdir):
7021 Fix buggy filename-conversion code under Mule.
7023 2001-03-09 William M. Perry <wmperry@aventail.com>
7045 * redisplay-output.c:
7051 The Great GTK Merge.
7058 * emacs-widget-accessors.c:
7072 * native-gtk-toolbar.c:
7083 The Great GTK Merge: new files.
7085 2001-02-26 Ben Wing <ben@xemacs.org>
7087 Reapplied Lstream change.
7089 2001-02-26 Ben Wing <ben@xemacs.org>
7091 Undid the last change, since it is more controversial than I
7092 thought. It should be back in at some point soon.
7094 2001-02-25 Ben Wing <ben@xemacs.org>
7097 * callproc.c (Fold_call_process_internal):
7098 * event-msw.c (ntpipe_slurp_reader):
7099 * event-msw.c (ntpipe_shove_writer):
7100 * event-msw.c (winsock_reader):
7101 * event-msw.c (winsock_writer):
7103 * file-coding.c (detect_eol_type):
7104 * file-coding.c (detect_coding_type):
7105 * file-coding.c (determine_real_coding_system):
7106 * file-coding.c (Fdetect_coding_region):
7107 * file-coding.c (decoding_reader):
7108 * file-coding.c (decoding_writer):
7109 * file-coding.c (mule_decode):
7110 * file-coding.c (Fdecode_coding_region):
7111 * file-coding.c (encoding_reader):
7112 * file-coding.c (encoding_writer):
7113 * file-coding.c (mule_encode):
7114 * file-coding.c (Fencode_coding_region):
7115 * file-coding.c (detect_coding_sjis):
7116 * file-coding.c (decode_coding_sjis):
7117 * file-coding.c (encode_coding_sjis):
7118 * file-coding.c (detect_coding_big5):
7119 * file-coding.c (decode_coding_big5):
7120 * file-coding.c (encode_coding_big5):
7121 * file-coding.c (detect_coding_ucs4):
7122 * file-coding.c (decode_coding_ucs4):
7123 * file-coding.c (encode_coding_ucs4):
7124 * file-coding.c (detect_coding_utf8):
7125 * file-coding.c (decode_coding_utf8):
7126 * file-coding.c (encode_coding_utf8):
7127 * file-coding.c (detect_coding_iso2022):
7128 * file-coding.c (decode_coding_iso2022):
7129 * file-coding.c (encode_coding_iso2022):
7130 * file-coding.c (decode_coding_no_conversion):
7131 * file-coding.c (encode_coding_no_conversion):
7132 * glyphs-x.c (write_lisp_string_to_temp_file):
7133 * gpmevent.c (tty_get_foreign_selection):
7136 * lstream.c (Lstream_flush_out):
7137 * lstream.c (Lstream_adding):
7138 * lstream.c (Lstream_write_1):
7139 * lstream.c (Lstream_write):
7140 * lstream.c (Lstream_raw_read):
7141 * lstream.c (Lstream_read_more):
7142 * lstream.c (Lstream_read):
7143 * lstream.c (Lstream_unread):
7144 * lstream.c (Lstream_fputc):
7145 * lstream.c (stdio_reader):
7146 * lstream.c (stdio_writer):
7147 * lstream.c (filedesc_reader):
7148 * lstream.c (filedesc_writer):
7149 * lstream.c (lisp_string_reader):
7150 * lstream.c (struct fixed_buffer_stream):
7151 * lstream.c (make_fixed_buffer_input_stream):
7152 * lstream.c (make_fixed_buffer_output_stream):
7153 * lstream.c (fixed_buffer_reader):
7154 * lstream.c (fixed_buffer_writer):
7155 * lstream.c (struct resizing_buffer_stream):
7156 * lstream.c (resizing_buffer_writer):
7157 * lstream.c (dynarr_writer):
7158 * lstream.c (lisp_buffer_reader):
7159 * lstream.c (lisp_buffer_writer):
7161 * lstream.h (lstream_implementation):
7162 * lstream.h (struct lstream):
7164 * process-nt.c (nt_send_process):
7165 * process-unix.c (unix_send_process):
7167 Correct Lstream lossage due to mixing of signed and unsigned
7168 quantities. All Lstream uses of size_t and ssize_t are now a
7169 single signed data type Lstream_data_count. This fixes problems
7170 under Windows with sending large quantities of data to a process,
7171 and may well fix other subtle bugs.
7173 2001-02-23 Martin Buchholz <martin@xemacs.org>
7175 * XEmacs 21.2.45 "Thelxepeia" is released.
7177 2001-02-21 Martin Buchholz <martin@xemacs.org>
7179 * lisp-union.h (XSETINT):
7182 Reverse previous change of 2001-02-06.
7184 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
7186 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
7188 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
7189 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
7190 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
7191 * regex.c (POS_AS_IN_BUFFER): removed
7192 * regex.c (re_search_2):
7193 * regex.c (re_match_2):
7194 Don't use an offset of 1 when calculating buffer positions, since
7195 `BI_BUF_BEGV' does it already.
7197 2001-02-18 Wim Dumon <wim@easics.be>
7199 * insdel.c (prepare_to_modify_buffer): Also check for
7200 supersession when clash-detection is enabled.
7202 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
7204 * regex.c (re_match_2_internal):
7205 Convert temp characters from 'const unsigned char' to 're_char'.
7206 Fix crashing bug with extended characters under mule.
7207 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
7208 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
7209 font-lock, pdump, and new syntax-table code.
7210 * syntax.c (find_start_of_comment):
7211 (find_end_of_comment):
7213 Fix crashing bugs involving moving beyond end of buffer.
7214 * syntax.c (find_start_of_comment):
7215 Fixed logic to allow proper detection of cases where the same
7216 character is used to end both a two-char comment start and a
7217 two-char comment end sequence. Fixes `(forward-comment -1)'.
7218 * syntax.c (find_start_of_comment):
7219 Return position just past last comment-end character for all cases
7220 (previously was only done for two-char comment-end sequences).
7221 * syntax.c (forward-comment):
7222 Take value returned from `find_end_of_comment', rather than
7224 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
7225 Properly deal with BUFFERP (syntax_cache.object)
7227 2001-02-17 Martin Buchholz <martin@xemacs.org>
7229 * alloc.c (Fgarbage_collect):
7230 * alloc.c (make_bit_vector_from_byte_vector):
7231 -Wsign-compare-correctness.
7233 2001-02-16 Martin Buchholz <martin@xemacs.org>
7235 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
7236 (XSETCHAR): Likewise.
7237 (XSETOBJ): Likewise.
7239 2001-02-15 Martin Buchholz <martin@xemacs.org>
7241 * mule-canna.c (canna-func-delete_previous):
7242 Rename to canna-func-delete-previous.
7244 2001-02-14 Martin Buchholz <martin@xemacs.org>
7246 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
7248 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
7250 * font-lock.c (find_context): Fix C++ compile errors introduced by
7253 2001-02-13 Martin Buchholz <martin@xemacs.org>
7255 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
7256 pragma, but earlier ones barf on the same pragma.
7258 2001-02-06 Mike Sperber <mike@xemacs.org>
7260 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
7261 `configure-mule-lisp-directory'.
7263 2001-02-12 Martin Buchholz <martin@xemacs.org>
7265 Make sure dump-id.c is compiled in the same way as other .c's.
7266 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
7267 * dump-id.h: Remove.
7268 * emacs.c: Move dump-id.h into dumper.h.
7269 * dumper.h: Move dump-id.h into dumper.h.
7271 Use standard .c.o rule for building dump-id.o.
7272 Remove preprocessor flags from link command.
7273 Add dump-id.o to ${otherobjs} if PDUMP.
7275 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
7277 Port FSF 20.7 syntax table improvements.
7281 Fixups for new syntax table stuff.
7282 * dired.c: Include syntax.c.
7283 (Fdirectory_files): Initialize regex_match_object and
7285 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
7286 and Fget_char_property.
7288 Use ported FSF 20.7 syntax table improvements.
7293 2001-02-09 Martin Buchholz <martin@xemacs.org>
7295 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
7296 Unixware's enum boolean from sys/types.h.
7298 2001-02-10 Martin Buchholz <martin@xemacs.org>
7300 Fix support for building with latest Purify.
7301 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
7302 (PURIFY_FLAGS): Likewise.
7304 2001-02-09 Martin Buchholz <martin@xemacs.org>
7306 * fileio.c (lisp_string_set_file_times): New.
7307 * fileio.c (Fcopy_file): Use it.
7309 (copy-file filename non-ascii-filename t t)
7310 ==> No such file or directory, non-ascii-filename
7312 2001-02-10 Martin Buchholz <martin@xemacs.org>
7314 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
7315 USHRT_MAX seems clearer than ~0 anyways.
7317 2001-02-09 Martin Buchholz <martin@xemacs.org>
7319 dumper improvements. Inspired by Olivier.
7320 * dumper.c (pdump_max_align): New.
7321 * dumper.c (pdump_add_entry): Use pdump_max_align.
7322 * dumper.c (pdump_get_entry_list): Likewise.
7323 * dumper.c (pdump_scan_by_alignment): Likewise.
7324 Don't iterate through unnecessary alignments.
7325 * dumper.c (pdump_file_get): No need to align result of malloc().
7326 * dumper.c (pdump_mallocadr): Remove.
7327 The result of malloc() is guaranteed to be maximally aligned.
7328 * dumper.c: s/elmt/elt/g;
7329 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
7330 * dumper.c (pdump_alert_undump_object): Likewise.
7331 * dumper.c (pdump_align_table):
7332 Don't support alignments > 64.
7333 Store ALIGNOF's, not shift counts, in table.
7335 2001-02-09 Martin Buchholz <martin@xemacs.org>
7337 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
7338 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
7339 * systime.h: Use HAVE_UTIME.
7340 * sysdep.c (struct utimbuf): Remove.
7341 * sysdep.c (set_file_times): Prefer utime() to utimes().
7342 * config.h.in (HAVE_UTIME): New.
7343 * config.h.in (HAVE_UTIME_H): Remove.
7344 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
7346 2001-02-09 Martin Buchholz <martin@xemacs.org>
7348 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
7350 2001-02-08 Martin Buchholz <martin@xemacs.org>
7352 * s/irix6-0.h: Use the standard system memmove, not bcopy.
7354 2001-02-08 Martin Buchholz <martin@xemacs.org>
7356 * XEmacs 21.2.44 "Thalia" is released.
7358 2001-02-06 Martin Buchholz <martin@xemacs.org>
7360 Fixes crashes in kill-emacs on some systems.
7361 * process-unix.c (unix_kill_child_process):
7362 It's OK for kill() to fail with ESRCH.
7364 2001-02-07 Martin Buchholz <martin@xemacs.org>
7366 Contortions to make .gdbinit tricks work on most systems.
7367 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
7368 * alloc.c (dbg_valmask): Make non-const.
7369 * alloc.c (dbg_typemask): Make non-const.
7370 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
7371 * alloc.c (dbg_valbits): Make non-const.
7372 * alloc.c (dbg_gctypebits): Make non-const.
7373 * .gdbinit (decode_object): Make it work with AIX cc.
7375 2001-02-06 Martin Buchholz <martin@xemacs.org>
7377 * elhash.c (make_general_lisp_hash_table):
7378 Use simpler and more efficient calloc to clear entries.
7380 2001-02-07 Martin Buchholz <martin@xemacs.org>
7382 * window.c (window_scroll): Work around an AIX C compiler bug.
7383 Fixes 'scroll-up' does nothing problem with xlC.
7385 2001-02-05 Martin Buchholz <martin@xemacs.org>
7387 * .gdbinit: Remove obsolete comment.
7389 2001-01-31 Mike Alexander <mta@arbortext.com>
7391 * select.c (Fown_selection_internal): Set owned_p for device
7394 2001-02-01 Martin Buchholz <martin@xemacs.org>
7397 "not" cannot be used as a macro name as it is an operator in C++
7398 * config.h.in: Stop #defining `not'.
7399 * chartab.c (check_category_char): not ==> not_p
7400 * chartab.h: Likewise.
7401 * regex.c (re_match_2_internal): Likewise.
7403 2001-02-02 Martin Buchholz <martin@xemacs.org>
7405 * lisp-disunion.h: Fix up comments.
7407 2001-01-31 Martin Buchholz <martin@xemacs.org>
7409 * keymap.c (define_key_check_and_coerce_keysym):
7411 Support mouse-6 and mouse-7 bindings in the obvious way.
7413 2001-02-01 Martin Buchholz <martin@xemacs.org>
7415 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
7417 2001-01-30 Martin Buchholz <martin@xemacs.org>
7419 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
7420 Previous patch missed DEFVAR_INT_MAGIC.
7421 Make sure future DEFVAR_foo use correct types.
7422 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
7423 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
7424 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
7425 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
7426 * (DEFVAR_INT): Likewise.
7427 * redisplay.c (vertical_clip): Should be of type Fixnum.
7428 * redisplay.c (horizontal_clip): Likewise.
7429 * lisp.h (dump_add_opaque_int): New.
7430 (dump_add_opaque_fixnum): New.
7432 2001-01-29 Andy Piper <andy@xemacs.org>
7434 * glyphs-widget.c (check_valid_int_or_function): allow symbols
7435 since they can be eval'ed
7437 2001-01-29 Martin Buchholz <martin@xemacs.org>
7439 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
7440 Oops, XEmacs redefines `class'. Use `typename' instead.
7442 2001-01-28 Martin Buchholz <martin@xemacs.org>
7444 * dumper.c: Fix C++ compile errors.
7446 2001-01-29 Martin Buchholz <martin@xemacs.org>
7448 * tparam.c: Use correct prototypes.
7450 2001-01-28 Martin Buchholz <martin@xemacs.org>
7452 * sysproc.h: #include util.h for NetBSD's openpty.
7454 2001-01-27 Martin Buchholz <martin@xemacs.org>
7456 More 64-bit correctness.
7457 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
7458 Use a typedef `fixnum' for the type used for DEFVAR_INT.
7460 This finally finishes the 64-bit SGI port.
7461 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
7462 * symbols.c: Fix up comments and type casts.
7463 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
7464 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
7465 * symeval.h (Fixnum): New type.
7466 * symeval.h (symbol_value_type): Fix up comment.
7482 * mule-canna.c: A million DEFVAR_INTs here...
7483 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
7496 s/int/Fixnum/g in DEFVAR_INT declarations.
7498 2001-01-26 Martin Buchholz <martin@xemacs.org>
7500 Port pdump to SGI alignment-sensitive environment.
7501 Lisp Object sizeof methods now return aligned sizes. Rely on that.
7502 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
7504 Define and use aligned reading and writing macros.
7505 Use buffered stdio instead of posix i/o for faster dumping.
7506 Eliminate kludgy 256 byte space for header.
7507 Read and write from dump file using structs for alignment safety.
7508 * dumper.c (pdump_align_stream): New.
7509 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
7510 * dumper.c (PDUMP_READ_ALIGNED): New.
7511 * dumper.c (PDUMP_WRITE_ALIGNED): New.
7512 * dumper.c (pdump_static_Lisp_Object): New struct.
7513 * dumper.c (pdump_static_pointer): New struct.
7514 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
7515 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
7516 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
7517 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
7519 * dumper.c (pdump_backtrace):
7520 * dumper.c (pdump_get_indirect_count):
7521 * dumper.c (pdump_register_object):
7522 * dumper.c (pdump_register_struct):
7523 * dumper.c (pdump_reloc_one):
7524 * dumper.c (pdump_scan_by_alignment):
7525 * dumper.c (pdump_dump_from_root_struct_ptrs):
7526 * dumper.c (pdump_dump_opaques):
7527 * dumper.c (pdump_dump_rtables):
7528 * dumper.c (pdump_dump_from_root_objects):
7530 * dumper.c (pdump_load_finish):
7531 Use aligned reading and writing.
7533 * dumper.c (pdump_free): Make static.
7534 * dumper.c (pdump_hFile): Likewise.
7535 * dumper.c (pdump_hMap): Likewise.
7537 2001-01-26 Martin Buchholz <martin@xemacs.org>
7539 * XEmacs 21.2.43 "Terspichore" is released.
7541 2001-01-25 Martin Buchholz <martin@xemacs.org>
7543 Type fiddling for window_config.saved_windows_count
7544 * window.c (struct window_config):
7545 Make saved_windows_count member unsigned.
7546 * window.c (sizeof_window_config_for_n_windows):
7547 Make parameter unsigned.
7548 * window.c (mark_window_config):
7549 * window.c (window_config_equal):
7550 * window.c (free_window_configuration):
7551 * window.c (Fset_window_configuration):
7552 * window.c (count_windows):
7553 * window.c (Fcurrent_window_configuration):
7554 * window.c (reinit_vars_of_window):
7555 Update all callers and users.
7557 2001-01-25 Martin Buchholz <martin@xemacs.org>
7559 Alignment correctness for flexible arrays.
7560 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
7561 Make alignment-correct. Add interesting comments.
7562 * alloc.c (size_vector):
7563 * alloc.c (make_vector_internal):
7564 * alloc.c (make_bit_vector_internal):
7565 * alloc.c (sweep_bit_vectors_1):
7566 * fns.c (size_bit_vector):
7567 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
7568 * window.c (sizeof_window_config_for_n_windows):
7569 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
7571 2001-01-24 Martin Buchholz <martin@xemacs.org>
7573 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
7575 2001-01-23 Andy Piper <andy@xemacs.org>
7577 * select.c (Fown_selection_internal): pass owned_p
7579 * select-msw.c (mswindows_own_selection): New Signature.
7581 * console.h (struct console_methods): add owned_p to
7584 * select-x.c (x_own_selection): pass owned_p
7585 (hack_motif_clipboard_selection): use owned_p
7586 (vars_of_select_x): new variable -
7587 x_selection_strict_motif_ownership.
7589 2001-01-23 Martin Buchholz <martin@xemacs.org>
7591 * specifier.h (specifier_data_offset): Remove pointless parens.
7592 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
7594 2001-01-24 Martin Buchholz <martin@xemacs.org>
7596 Make Lisp_Object sizeof methods be alignment-correct.
7597 pdump must restore objects to the same alignment as the C compiler
7598 assumes. It really matters on SGIs.
7599 * lstream.c (aligned_sizeof_lstream): New.
7600 (sizeof_lstream): Use aligned_sizeof_lstream.
7601 (Lstream_new): Likewise.
7602 * opaque.c (aligned_sizeof_opaque): New.
7603 (sizeof_opaque): Use aligned_sizeof_opaque.
7604 (make_opaque): Likewise.
7605 * specifier.c (aligned_sizeof_specifier): New.
7606 (sizeof_specifier): Use aligned_sizeof_specifier.
7607 (make_specifier_internal): Likewise.
7609 2001-01-23 Martin Buchholz <martin@xemacs.org>
7611 * lstream.h (struct lstream): Use max_align_t for trailing data.
7612 * specifier.h (struct Lisp_Specifier): Likewise.
7614 2001-01-22 Martin Buchholz <martin@xemacs.org>
7616 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
7617 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
7618 (CCL_SUSPEND): Likewise.
7619 (CCL_INVALID_CMD): Likewise.
7620 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
7621 (ccl_driver): Likewise.
7622 (CCL_WRITE_CHAR): Macro hygiene.
7623 (CCL_WRITE_STRING): Macro hygiene.
7625 2001-01-22 Martin Buchholz <martin@xemacs.org>
7627 Port "portable" dumper to SunOS 4 and HP-UX.
7628 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
7629 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
7630 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
7632 2001-01-22 Martin Buchholz <martin@xemacs.org>
7634 * lisp.h (ALIGNOF): A better definition for C++.
7636 2001-01-20 Martin Buchholz <martin@xemacs.org>
7639 Fix printf warnings: int format, long int arg.
7640 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
7641 (PUSH_FAILURE_POINT): Use correct printf formats.
7642 (POP_FAILURE_POINT): Use correct printf formats.
7643 Use do {...} while (0)
7645 2001-01-20 Martin Buchholz <martin@xemacs.org>
7647 * XEmacs 21.2.42 "Poseidon" is released.
7649 2001-01-20 Martin Buchholz <martin@xemacs.org>
7651 * console-x.h: typo fix du jour. Remove #if 0'ed code.
7653 2001-01-19 Martin Buchholz <martin@xemacs.org>
7655 De-kludgify FIXED_TYPE free list frobbing.
7656 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
7657 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
7658 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
7659 * alloc.c (Lisp_Free): New pseudo lisp object definition.
7660 * alloc.c (LRECORD_FREE_P): New.
7661 * alloc.c (MARK_LRECORD_AS_FREE): New.
7662 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
7663 * alloc.c (STRUCT_FREE_P): Deleted.
7664 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
7665 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
7666 * alloc.c (STRING_CHARS_FREE_P): New.
7667 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
7668 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
7669 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
7670 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
7671 * alloc.c (resize_string): Use new definitions.
7672 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
7673 * alloc.c (verify_string_chars_integrity): Use new definitions.
7674 * alloc.c (compact_string_chars): Use new definitions.
7675 * alloc.c: Update monster comments.
7676 * lrecord.h (lrecord_type): Add some new lrecord types for
7679 2001-01-18 Martin Buchholz <martin@xemacs.org>
7681 Improve alignment hackery.
7682 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
7683 (max_align_t): Moved from opaque.h - general purpose.
7684 (ALIGN_PTR): Use size_t, not long.
7685 * opaque.h (max_align_t): Move to lisp.h.
7687 2001-01-18 Norbert Koch <nk@LF.net>
7689 * gui.h: Fix and add prototypes to fix build problems.
7691 2001-01-18 Martin Buchholz <martin@xemacs.org>
7693 temacs is going away, so `dump-temacs' is now a bad name.
7694 * .dbxrc (dump-temacs): Rename to `dmp'.
7695 * .gdbinit (dump-temacs): Rename to `dmp'.
7697 2001-01-17 Andy Piper <andy@xemacs.org>
7699 * glyphs.c (print_image_instance): comment to make martin happy.
7701 * glyphs-x.c (x_redisplay_widget): update faces after a frame
7704 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
7706 (mswindows_tab_control_redisplay): warning suppression.
7708 * glyphs-widget.c (widget_update): re-write to cope with updated
7710 (widget_instantiate): use new gui_item functions.
7711 (tab_control_update): deleted.
7712 (progress_gauge_update): deleted.
7713 (image_instantiator_progress_guage): take out update reference.
7714 (image_instantiator_tree_view): ditto.
7715 (image_instantiator_tab_control): ditto.
7717 * gui.c (widget_gui_parse_item_keywords): new function. Do things
7719 (gui_item_add_keyval_pair): re-write to cope with descriptors and
7720 return whether anything was changed.
7721 (update_gui_item_keywords): as it sounds.
7723 * gui.h: declare widget_gui_parse_item_keywords.
7725 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
7726 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
7728 2001-01-17 Martin Buchholz <martin@xemacs.org>
7730 * XEmacs 21.2.41 "Polyhymnia" is released.
7732 2001-01-16 Didier Verna <didier@xemacs.org>
7734 * glyphs.c (image_instantiate): don't use fallbacks when
7735 instantiating a face's background pixmap by inheritance.
7737 2001-01-14 Mike Sperber <mike@xemacs.org>
7739 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
7740 Conditionalize accordingly.
7742 2001-01-16 Martin Buchholz <martin@xemacs.org>
7744 * dumper.c (pdump_file_get): Fix a compiler warning.
7746 2001-01-15 Martin Buchholz <martin@xemacs.org>
7748 Make Purify happy when pdumping.
7749 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
7750 iniitalizing all bits of new lisp object memory.
7751 * symbols.c (Fmake_local_variable): Likewise.
7752 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
7753 * symbols.c (Fdefvaralias): Likewise.
7754 * mule-charset.c (vars_of_mule_charset): Likewise.
7756 2001-01-15 Martin Buchholz <martin@xemacs.org>
7757 Add the `-nd' flag when running pre-dump operations under the debugger.
7758 * .dbxrc (run-temacs): Add `-nd'.
7759 * .dbxrc (update-elc): Likewise.
7760 * .dbxrc (dump-temacs): Likewise.
7761 * .gdbinit (run-temacs): Likewise.
7762 * .gdbinit (check-temacs): Likewise.
7763 * .gdbinit (update-elc): Likewise.
7764 * .gdbinit (dump-temacs): Likewise.
7766 2001-01-14 Martin Buchholz <martin@xemacs.org>
7768 Allow building 64-bit executables on AIX with GNU malloc, e.g.
7769 export OBJECT_MODE=64
7770 configure --pdump --use-union-type=no
7771 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
7772 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
7774 * miscplay.c (sndcnv8U_2mono):
7775 Avoid two uses of `++' in the same expression.
7776 Suppresses a GCC warning.
7778 2001-01-13 Martin Buchholz <martin@xemacs.org>
7780 Make sure future compilers don't miscompile alloc.c.
7782 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
7783 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
7785 2001-01-12 Martin Buchholz <martin@xemacs.org>
7787 * dumper.c: A little post-pdump-rename comment fixup.
7789 2001-01-09 Jerry James <james@eecs.ku.edu>
7791 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
7793 2001-01-13 Martin Buchholz <martin@xemacs.org>
7795 * *.[ch]: Globally rename symbols using the following `pdump-rename'
7799 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
7802 replace_symbol pdump_wire_lists pdump_weak_object_chains
7803 replace_symbol pdump_wire_list dump_add_weak_object_chain
7805 replace_symbol pdump_wires pdump_root_objects
7806 replace_symbol pdump_wire dump_add_root_object
7808 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
7809 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
7811 replace_symbol dumpstructinfos pdump_root_struct_ptrs
7812 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
7813 replace_symbol dumpstructinfo pdump_root_struct_ptr
7814 replace_symbol dumpstruct dump_add_root_struct_ptr
7816 replace_symbol dumpopaque dump_add_opaque
7817 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
7818 replace_symbol dumpopaqueinfos pdump_opaques
7819 replace_symbol dumpopaqueinfo pdump_opaque
7821 replace_symbol nb_structdump nb_root_struct_ptrs
7822 replace_symbol nb_opaquedump nb_opaques
7824 replace_symbol align_table pdump_align_table
7825 replace_symbol dump_header pdump_header
7827 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
7828 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
7831 2001-01-12 Martin Buchholz <martin@xemacs.org>
7833 * s/aix4.h: Keep the C for AIX compiler from overaggressively
7834 optimizing bytecount_to_charcount().
7836 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
7839 (HAVE_DLFCN_H): Removed.
7840 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
7842 2001-01-06 Martin Buchholz <martin@xemacs.org>
7844 Portable dumper maintainability improvements.
7845 * alloc.c (staticpro):
7846 * alloc.c (staticpro_nodump):
7847 * alloc.c (garbage_collect_1):
7848 * alloc.c (reinit_alloc_once_early):
7849 * alloc.c (init_alloc_once_early):
7850 * alloc.c: Move dumper functions to alloc.c.
7851 * dumper.c (pdump_backtrace):
7852 * dumper.c (pdump_dump_structs):
7853 * dumper.c (pdump_dump_opaques):
7854 * dumper.c (pdump_dump_rtables):
7855 * dumper.c (pdump_dump_wired):
7857 * dumper.c (pdump_load_check):
7858 * dumper.c (pdump_load_finish):
7859 * dumper.c (pdump_file_unmap):
7860 * dumper.c (pdump_file_get):
7861 * dumper.c (pdump_resource_free):
7862 * dumper.c (pdump_resource_get):
7863 * dumper.c (pdump_file_free):
7864 * dumper.c (pdump_file_try):
7865 * dumper.c (pdump_load):
7866 Remove fixed size limits on staticpro(), staticpro_nodump(),
7867 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
7868 Remove custom code for dumping lrecord_implementations_table - use
7870 Remove (most of the) custom code for dumping staticpros - dump it
7871 like any other dynarr.
7873 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
7874 * dumper.c: Moved functions from alloc.c.
7875 * alloc.c (dumpstruct): Moved to dumper.c.
7876 * alloc.c (dumpopaque): Likewise.
7877 * alloc.c (pdump_wire): Likewise.
7878 * alloc.c (pdump_wire_list): Likewise.
7880 * lisp.h (Dynarr_sizeof): New.
7881 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
7882 * lisp.h (Dynarr_end): New. Very slightly C++oid.
7883 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
7885 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
7886 * lisp.h (dumpopaque): ditto.
7887 * lisp.h (pdump_wire): ditto.
7888 * lisp.h (pdump_wire_list): ditto.
7890 2001-01-09 Martin Buchholz <martin@xemacs.org>
7892 * make-src-depend (PrintPatternDeps):
7893 Use `sort' to make output independent of perl version.
7895 2001-01-08 Martin Buchholz <martin@xemacs.org>
7898 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
7899 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
7901 2001-01-03 Didier Verna <didier@xemacs.org>
7903 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
7904 that `focus_frame' is alive before thinking of calling
7905 `redisplay_redraw_cursor' on it.
7907 2001-01-08 Martin Buchholz <martin@xemacs.org>
7909 * XEmacs 21.2.40 is released.
7911 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
7913 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
7915 2001-01-06 Martin Buchholz <martin@xemacs.org>
7917 * alloc.c (dbg_valmask): Make const.
7918 * alloc.c (dbg_typemask): Make const.
7919 * alloc.c (dbg_USE_UNION_TYPE): Make const.
7920 * alloc.c (dbg_valbits): Make const.
7921 * alloc.c (dbg_gctypebits): Make const.
7923 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
7925 * redisplay-x.c (x_bevel_area):
7926 redisplay.h (struct rune):
7927 Typo fixes in comments.
7929 2001-01-05 Andy Piper <andy@xemacs.org>
7931 * glyphs-x.c (x_redisplay_widget): use size changed for offset
7934 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
7936 2001-01-05 Martin Buchholz <martin@xemacs.org>
7938 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
7940 * mule-ccl.c (stack_idx_of_map_multiple):
7941 Non const global data must not be initialized!
7942 Found by MIYASHITA Hisashi.
7944 2001-01-02 Andy Piper <andy@xemacs.org>
7946 * frame.c (change_frame_size): make sure frame size is always
7949 * glyphs.c (image_instance_layout): minor code reuse.
7951 * window.c (Fcurrent_window_configuration): revert previous
7954 2001-01-02 Martin Buchholz <martin@xemacs.org>
7957 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
7959 2000-12-31 Andy Piper <andy@xemacs.org>
7961 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
7962 when widget gets unmapped.
7964 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
7965 function. Make sure widgets losing focus don't just drop it.
7966 (handle_focus_event_1): record the widget with focus.
7968 2000-12-31 Andy Piper <andy@xemacs.org>
7970 * window.c (allocate_window): use
7971 make_image_instance_cache_hash_table.
7972 (make_dummy_parent): ditto.
7973 (Fset_window_configuration): ditto.
7975 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
7977 * glyphs.c (process_image_string_instantiator): use
7979 (get_image_instantiator_governing_domain): ditto.
7980 (normalize_image_instantiator): ditto.
7981 (instantiate_image_instantiator): ditto.
7982 (make_image_instance_1): ditto.
7983 (image_instantiate): ditto. Key on glyph *and* instantiator type.
7984 (instantiator_eq_equal): new function for use with instance hash
7986 (instantiator_eq_hash): ditto.
7987 (make_image_instance_cache_hash_table): create a suitable hash
7988 table for storing image instances.
7990 * elhash.h (hash_table_weakness): new internal weakness type
7991 HASH_TABLE_KEY_CAR_VALUE_WEAK.
7992 declare new functions.
7994 * elhash.c (finish_marking_weak_hash_tables): introduce yet
7995 another weakness type for glyphs.
7996 (make_standard_lisp_hash_table): new function split out from
7997 make_general_lisp_hash_table.
7998 (make_lisp_hash_table): call make_standard_lisp_hash_table.
7999 (hash_table_instantiate): ditto.
8000 (Fmake_hash_table): ditto.
8002 2000-12-31 Martin Buchholz <martin@xemacs.org>
8004 * XEmacs 21.2.39 is released.
8006 2000-12-29 Andy Piper <andy@xemacs.org>
8008 * menubar.c (menubar_visible_p_changed): signal the frame changed.
8010 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
8011 the frame has changed so that we pick up geometry changes such as
8014 2000-12-28 Andy Piper <andy@xemacs.org>
8016 * lastfile.c (my_ebss): make a char array so we can pad the
8017 bss. Fixes cygwin unexec.
8019 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
8021 2000-12-26 Andy Piper <andy@xemacs.org>
8023 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
8024 comments and try and be more precise about a non-/SIGIO world.
8025 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
8028 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
8029 we don't normalize to zero width or height.
8031 2000-12-24 Andy Piper <andy@xemacs.org>
8033 * Makefile.in.in (ldflags): add -mwindows when appropriate.
8035 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
8037 * s/sco5.h: SCO 5 has pty support.
8039 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
8041 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
8042 input-method-xlib.c contains whole contents of input-method-xfs.c,
8043 so we can use input-method-xlib.c's code for USE_XFONTSET
8045 * input-method-xfs.c: removed.
8047 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
8049 * file-coding.h (enum coding_category_type): reorder enumerators to
8050 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
8051 (now one greater than largest real coding_category_type enumerator).
8052 * file-coding.c (coding_category_symbol, coding_category_by_priority,
8053 coding_category_system, fcd_descriptihon_1, decode_coding_category,
8054 Fcoding_category_list, Fset_coding_priority_list,
8055 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
8056 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
8058 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
8060 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
8061 * redisplay-output.c (redisplay_output_window): Clear top of window
8062 when face is changed.
8063 * redisplay-x.c (x_redraw_exposed_window): Call
8064 redisplay_clear_top_of_window.
8065 * redisplay.h: Publish redisplay_clear_top_of_window.
8067 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
8069 * buffer.c (Fkill_buffer): Map over all devices.
8070 * window.c (window_loop): Remove UNSHOW_BUFFER code.
8071 (list_windows): New function.
8072 (list_all_windows): Ditto.
8073 (Freplace_buffer_in_windows): Use them.
8075 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
8077 * database.c (berkdb_subtype): Recognize new subtype `queue'.
8078 (Fopen_database): Use `db_create' instead of `db_open'.
8079 (syms_of_database): Initialize Qqueue.
8081 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
8083 * buffer.c (common_init_complex_vars_of_buffer): Initialize
8084 buffer_local_face_property.
8085 * buffer.h (struct buffer): New member buffer_local_face_property.
8086 * window.c (Fset_window_buffer): Mark window's face as changed
8087 when buffer has buffer local face.
8088 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
8089 * objects.c (color_after_change): Set buffer_local_face_property
8090 when locale of face specifier is buffer.
8091 * objects.c (font_after_change): Ditto.
8092 * objects.c (face_boolean_after_change): Ditto.
8093 * glyphs.c (image_after_change): Ditto.
8095 2000-12-09 Dan Holmsand <dan@eyebee.com>
8097 * nt.c (mswindows_fstat): Report file permissions, volume serial
8098 number, etc. Code adapted from FSF Emacs 20.7.
8100 2000-12-09 Dan Holmsand <dan@eyebee.com>
8102 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
8103 of stat when we don't have symbolic links, to make sure
8104 mswindows_stat is called on mswindows.
8106 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
8108 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
8110 2000-12-12 Martin Buchholz <martin@xemacs.org>
8112 * doprnt.c (emacs_doprnt_1): More printing fixes.
8113 Make printing of numbers compatible with libc and FSF Emacs.
8114 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
8115 Use the system printf to do most of the hard work of formatting,
8116 instead of doprnt_1().
8117 Calculate memory to allocate for format string.
8118 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
8119 (doprnt_1): Cleaner code and documentation.
8121 2000-12-01 Jerry James <james@eecs.ukans.edu>
8123 * Makefile.in.in: Use the loop variable to install headers.
8125 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8127 * window.c (Fsplit_window): Don't invalidate face cache.
8129 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8131 * minibuf.c (Fall_completions): Undo the previous change
8132 which removed checking elements start with space.
8134 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
8136 * mule-canna.c: Didier suppression.
8138 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
8140 * mule-canna.c: rename static unsigned char buf[] to key_buffer
8141 (warning suppression). Add English comment translations.
8143 2000-12-05 Martin Buchholz <martin@xemacs.org>
8145 * unexelfsgi.c (unexec): Better test for mmap failure.
8147 2000-12-05 Martin Buchholz <martin@xemacs.org>
8149 * XEmacs 21.2.38 is released.
8151 2000-12-05 Martin Buchholz <martin@xemacs.org>
8153 * redisplay.c (bar-cursor): Make a user variable.
8155 * symsinit.h: Add init_postgresql_from_environment.
8157 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8159 * regex.c: Convert to clean C.
8161 2000-12-05 Dan Holmsand <dan@eyebee.com>
8164 Don't #include sysfile.h. Revert to duplicating PATH_MAX
8166 (sys_readlink): renamed to system_readlink to avoid conflict with
8167 the other sys_readlink.
8169 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
8171 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
8173 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
8175 * postgresql.c (init_postgresql_from_environment): new function.
8176 (vars_of_postgresql): Move code initializing Lisp variables out and
8177 into init_postgresql_from_environment.
8178 emacs.c (main_1): Call init_postgresql_from_environment if and only
8179 if running a dumped XEmacs.
8181 2000-08-31 Dan Holmsand <dan@eyebee.com>
8183 * buffer.c: Make find-file-compare-truenames default to true on
8186 * realpath.c (win32_abs_start):
8188 (win32_readlink): New functions.
8189 (xrealpath): Return really real filenames on windows.
8191 * fileio.c (Ffile_truename): Make file-truename work on windows.
8193 2000-11-29 Didier Verna <didier@xemacs.org>
8195 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
8196 * faces.c (update_face_cachel_data): use it.
8197 * faces.c (add_face_cachel): use it. Complete background pixmap
8198 frobbing in face cache if `update_face_cachel_data' has not done so.
8200 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
8202 * search.c (string_match_1): Don't set last_thing_searched
8205 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
8207 * buffer.c: Include casetab.h
8208 (common_init_complex_vars_of_buffer): Use new case-table object.
8209 * buffer.h: Include casetab.h
8210 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
8211 (DOWNCASE_TABLE_OF): Ditto.
8212 * bufslots.h: Remove char-tables and add case-table.
8213 * casetab.c: Include casetab.h
8214 (CASE_TABLE_P): Removed.
8215 (mark_case_table): New function.
8216 (allocate_case_table): New function.
8217 (Fcase_table_p): Use new case-table.
8218 (case_table_char): New function.
8219 (Fget_case_table): Ditto.
8220 (Fput_case_table): Ditto.
8221 (Fput_case_table_pair): Ditto.
8222 (Fcopy_case_table): Ditto.
8223 (Fcurrent_case_table): Return case-table.
8224 (Fstandard_case_table): Return case-table.
8225 (Fset_case_table): Fix doc-string.
8226 (set_case_table): Use case-table
8227 (syms_of_casetab): DEFSUBR new functions.
8228 (complex_vars_of_casetab): Set up standard case-table.
8229 * casetab.h: New file.
8230 * editfns.c: Include casetab.h
8231 (Fcompare_buffer_substrings): Use case-table.
8232 * inline.c: Include casetab.h
8233 * lisp.h: Remove bogus extern.
8234 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
8235 * search.c: Include casetab.h
8236 (TRANSLATE_ASCII): Removed.
8237 (TRANSLATE): Unconditionally translate character.
8238 (looking_at_1): Use case-table.
8239 (string_match_1): Ditto.
8240 (fast_string_match): Ditto.
8241 (search_command): Ditto.
8242 (search_buffer): Separate boyer_moore. Check whether
8243 boyer_moore is possible.
8244 (simple_search): New function.
8245 (boyer_moore): Separated from search_buffer. Translate char.
8247 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
8249 * regex.c (RE_TR_ASCII): Removed.
8250 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
8251 (PATFETCH): Call PATFETCH_RAW.
8252 (PATFETCH_RAW): Fetch Emchar.
8253 (PATUNFETCH): Decrement charptr.
8254 (GET_BUFFER_SPACE): Rename b to buf_end.
8256 (BUF_PUSH_2): Ditto.
8257 (BUF_PUSH_3): Ditto.
8258 (EXTEND_BUFFER): Ditto.
8259 (SET_LIST_BIT): Ditto.
8260 (regex_compile): Ditto. Translate non ASCII char.
8261 (compile_range): Ditto.
8262 (re_search_2): Ditto.
8263 (re_match_2_internal): Compare Emchar.
8264 (bcmp_translate): Ditto.
8266 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
8268 * lisp.h (basic char/int typedefs): comment improvement.
8270 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
8272 * emacs.c (main_1): unconditional pdump unstomping; don't save and
8273 unstomp inhibit_site_lisp. Improve comments.
8275 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
8277 * mule-charset.c (Fcharset_property): improve type checking, comments.
8279 2000-11-28 Andy Piper <andy@xemacs.org>
8281 * redisplay-output.c (redisplay_output_subwindow): make sure we do
8282 clipped display for windows in the gutter also.
8283 (redisplay_display_boxes_in_window_p): change semantics of return
8284 codes to be more intuitive.
8286 * gutter.h: declare display_boxes_in_gutter_p.
8288 * gutter.c (display_boxes_in_gutter_p): new function for
8291 2000-11-22 Andy Piper <andy@xemacs.org>
8293 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
8296 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
8298 * callproc.c (Fold_call_process_internal):
8299 * gpm.c (Freceive_gpm_event):
8300 (tty_get_foreign_selection): Might be just warning supression.
8301 * fileio.c (Fwrite_region_internal):
8302 (Fset_visited_file_modtime):
8303 * keymap.c (event_matches_key_specifier_p):
8304 Initialize GCPROed variable.
8306 * menubar-x.c (command_builder_find_menu_accelerator):
8307 Initialize before use.
8309 2000-11-23 Andy Piper <andy@xemacs.org>
8311 * unexcw.c (unexec): make the resulting executable executable.
8313 2000-11-21 Martin Buchholz <martin@xemacs.org>
8315 * doc.c (get_doc_string):
8316 Use size_t, not int, for result of XSTRING_LENGTH.
8318 * cmds.c (Fdelete_char):
8319 * cmds.c (Fpoint_at_eol):
8320 * cmds.c (Fself_insert_command):
8321 Use EMACS_INT, not int, for result of XINT.
8322 Someday, someone will want to insert more than 2**31 identical characters.
8324 * cmds.c (Fdelete_char):
8325 * cmds.c (Fdelete_backward_char):
8326 * syntax.c (Fforward_word):
8327 * syntax.c (Fforward_comment):
8328 Make COUNT argument optional, for consistency with forward-char et al.
8330 2000-11-22 Martin Buchholz <martin@xemacs.org>
8333 * print.c (long_to_string):
8334 Return a useful value: the pointer at end of data written.
8337 Use `static const char * const' for constant strings.
8338 (union printf_arg): Delete `i', `ui' members.
8341 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
8342 Do all printf-ing via the `l' specifier.
8343 Use EMACS_INT instead of int.
8346 2000-11-20 Didier Verna <didier@xemacs.org>
8348 * faces.c (update_face_cachel_data): don't frob the background
8349 pixmap when the window is being created. The face is needed but
8352 2000-11-20 Andy Piper <andy@xemacs.org>
8354 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
8355 messing with a debug environment.
8357 2000-11-20 Martin Buchholz <martin@xemacs.org>
8359 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
8361 2000-11-20 Martin Buchholz <martin@xemacs.org>
8363 * casetab.c (Fcase_table_p): Fix compile error and crash.
8365 2000-11-18 Philip Aston <philipa@mail.com>
8367 * s/cygwin32.h: Cygwin has SVR4-like pty support.
8369 2000-11-18 Martin Buchholz <martin@xemacs.org>
8371 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
8372 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
8374 2000-11-17 Martin Buchholz <martin@xemacs.org>
8376 * config.h.in: Define HAVE_ELF_H if elf.h exists.
8377 * unexelf.c: Use HAVE_ELF_H.
8378 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
8379 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
8380 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
8381 Greg Harrington <greg_harrington@hotmail.com> provided a machine
8383 So this is an unexelfsgi.c from a different line of development.
8385 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
8387 * regex.c (RE_TR_ASCII): New function.
8388 (RE_TRANSLATE): Call it.
8390 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
8392 * buffer.h (TRT_TABLE_OF): Remove assert.
8393 (IN_TRT_TABLE_DOMAIN): Removed.
8395 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
8397 * free-hook.c (log_gcpro):
8398 (show_gcprohist): Add support for GCPRO5.
8400 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
8402 * emacs.c (main_1): Improve -sd error message when --pdump=no.
8404 2000-11-16 Olivier Galibert <galibert@xemacs.org>
8406 * symeval.h: Declare flush_all_buffer_local_cache.
8408 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
8409 (flush_buffer_local_cache): Added.
8410 (flush_all_buffer_local_cache): Added.
8412 * lrecord.h: Remove unused XD_LO_RESET_NIL.
8414 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
8415 (pdump_dump_data): Ditto.
8416 (pdump_reloc_one): Ditto.
8417 (pdump): Remove unused pdump_qnil. Flush buffer local caches
8421 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
8423 * buffer.c: Remove if 0'ed entry.
8424 * buffer.h: Rewrite TRT to use char-table.
8425 * bufslots.h: Remove mirror tables.
8426 * casetab.c: Remove mirror tables.
8427 (CASE_TABLE_P): New macro.
8428 (Fcase_table_p): Element of a case table is string or char-table.
8429 (make_mirror_trt_table): Removed.
8430 (set_case_table): Setup char-table from strings for backward
8432 * dired.c (Fdirectory_files):
8433 * dired-msw.c: (mswindows_get_files):
8434 * lisp.h: Change prototype of re_pattern_buffer.
8435 * regex.c: (RE_TRANSLATE): New macro.
8436 (TRANSLATE_P): Ditto.
8437 Change translate to type RE_TRANSLATE_TYPE.
8438 * regex.h: Define RE_TRANSLATE_TYPE
8439 * search.c (TRANSLATE): New macro.
8440 (TRANSLATE_ASCII): New macro.
8441 Translate table is changed to Lisp_Object.
8442 (signal_failure): Inhibit return.
8444 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
8451 Do UNGCPRO before return.
8453 2000-11-14 Martin Buchholz <martin@xemacs.org>
8455 * XEmacs 21.2.37 is released.
8457 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
8459 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
8460 Add comments about discarded return value.
8462 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
8465 * event-stream.c: Fix comments. Remove some #if 0'ed part.
8467 2000-10-27 Andy Piper <andy@xemacs.org>
8469 * gutter.c (Fset_default_gutter_position): default left and right
8471 (calculate_gutter_size): calculate resonable heuristic for left
8472 and right gutter sizes.
8473 (specifier_vars_of_gutter): change left and right gutter sizes to
8475 (calculate_gutter_size_from_display_lines): new function.
8476 (output_gutter): check for resizing on left and right gutters.
8477 (clear_gutter): don't special case top and left gutters.
8478 (specifier_vars_of_gutter): use new signature for
8479 set_specifier_caching.
8481 * glyphs-x.c (x_redisplay_widget): spelling fix.
8482 * glyphs.c (specifier_vars_of_glyphs):
8483 * menubar.c (specifier_vars_of_menubar):
8484 * redisplay.c (specifier_vars_of_redisplay):
8485 * toolbar.c (specifier_vars_of_toolbar):
8486 * window.c (specifier_vars_of_window):
8487 * scrollbar.c (specifier_vars_of_scrollbar):
8488 (complex_vars_of_scrollbar): use new signature for
8489 set_specifier_caching.
8491 * specifier.c (set_specifier_caching): include recompute flag.
8492 (recompute_one_cached_specifier_in_window): always recompute if
8494 (recompute_one_cached_specifier_in_frame): ditto.
8496 * specifier.h (struct specifier_caching): add recompute flag.
8498 2000-10-24 Andy Piper <andy@xemacs.org>
8500 * unexcw.c (copy_executable_and_dump_data_section): add new
8501 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
8504 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8506 * console-x.h (x_device): New member modifier_release_time.
8507 * event-Xt.c (x_handle_sticky_modifiers):
8508 Bound interval modifier keys are sticky.
8509 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
8510 * events.h: extern it.
8512 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8514 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
8516 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8518 * event-stream.c (execute_command_event): Preserve current_events
8519 and the like when event is misc-user-event.
8520 Inhibit quit during the call to maybe_echo_keys.
8522 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
8524 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
8525 symlink when buffer is killed.
8526 (inhibit_clash_detection): New variable.
8528 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8530 * console.c (Fset_input_method): Trigger redisplay on tty.
8532 2000-11-07 Martin Buchholz <martin@xemacs.org>
8534 * process.c (Fprocess_status): Revert to previous behavior:
8535 (process-status "nosuchprocess") ==> nil
8537 2000-11-06 Martin Buchholz <martin@xemacs.org>
8539 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
8540 Work around another GCC 2.95.2 optimizer bug.
8542 2000-11-02 Martin Buchholz <martin@xemacs.org>
8544 * process.c (Fget_process): Use LIST_LOOP_2.
8545 (kill_buffer_processes): Use LIST_LOOP_2.
8547 * minibuf.c (Fall_completions):
8548 Delete old non-functional code for FSF fourth argument.
8550 * frame.c (frame_matches_frame_spec):
8551 Renamed from `frame_matches_frametype'. Update all callers.
8552 (device_matches_device_spec):
8553 Renamed from 'device_matches_console_spec'. Update all callers.
8555 * doc.c (Fsubstitute_command_keys):
8556 Remove buffer overflow crash. Small code cleanups.
8558 * casetab.c (check_case_table): Simpler code.
8560 * window.c (Freplace_buffer_in_windows):
8561 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
8562 (and similar implementation) as Fdelete_windows_on.
8565 * alloc.c (Fmake_list):
8566 * alloc.c (make_vector):
8567 * alloc.c (Fmake_vector):
8568 * alloc.c (make_bit_vector):
8569 * alloc.c (Fmake_bit_vector):
8570 * alloc.c (Fbit_vector):
8571 * alloc.c (Fmake_string):
8572 * alloc.c (Fpurecopy):
8573 * alloc.c (Fmemory_limit):
8575 * buffer.c (Fget_buffer):
8576 * buffer.c (Fkill_buffer):
8577 * buffer.c (complex_vars_of_buffer):
8578 * bytecode.c (Fcompiled_function_stack_depth):
8579 * callint.c (Fprefix_numeric_value):
8581 * event-stream.c (Fread_key_sequence):
8583 * casetab.c (Fcase_table_p):
8584 * casetab.c (check_case_table):
8585 * casetab.c (Fset_case_table):
8586 * casetab.c (Fset_standard_case_table):
8588 * chartab.c (Fchar_table_type):
8589 * chartab.c (Freset_char_table):
8590 * chartab.c (Fget_char_table):
8591 * chartab.c (Fget_range_char_table):
8592 * chartab.c (Fput_char_table):
8593 * chartab.c (Fmap_char_table):
8594 * chartab.c (Fcategory_table_p):
8595 * chartab.c (Fcheck_category_at):
8596 * chartab.c (Fchar_in_category_p):
8597 * chartab.c (Fcategory_table):
8598 * chartab.c (Fcopy_category_table):
8599 * chartab.c (Fset_category_table):
8600 * chartab.c (Fcategory_designator_p):
8601 * chartab.c (Fcategory_table_value_p):
8602 * cmds.c (Fdelete_char):
8603 * cmds.c (Fdelete_backward_char):
8604 * cmds.c (Fself_insert_command):
8605 * cmds.c (Fself_insert_internal):
8606 * console.c (Fvalid_console_type_p):
8607 * console.c (Fcdfw_console):
8608 * console.c (Fconsole_type):
8609 * console.c (Fconsole_name):
8610 * console.c (Fconsole_device_list):
8611 * console.c (Fconsole_on_window_system_p):
8615 * data.c (Fsubr_interactive):
8616 * data.c (Fchar_to_int):
8617 * data.c (Fint_to_char):
8620 * data.c (Fnumber_to_string):
8621 * data.c (Fstring_to_number):
8623 * database.c (mark_database):
8624 * database.c (finalize_database):
8625 * database.c (Fdatabase_live_p):
8626 * database.c (Fdatabasep):
8627 * device-x.c (Fx_get_resource):
8628 * device.c (Fdfw_device):
8630 * dired.c (Ffile_name_completion):
8631 * dired.c (Ffile_name_all_completions):
8632 * dired.c (Fuser_name_completion):
8633 * dired.c (Fuser_name_completion_1):
8634 * dired.c (Fuser_name_all_completions):
8635 * doc.c (Fdocumentation):
8636 * doc.c (Fdocumentation_property):
8637 * doc.c (Fsubstitute_command_keys):
8639 * editfns.c (Fchar_to_string):
8640 * editfns.c (Fstring_to_char):
8641 * editfns.c (Ftemp_directory):
8642 * editfns.c (Finsert_char):
8643 * editfns.c (Fbuffer_substring_no_properties):
8644 * editfns.c (Fnarrow_to_region):
8645 * editfns.c (Fchar_equal):
8646 * editfns.c (Fchar_Equal):
8647 * editfns.c (Ftranspose_regions):
8648 * emacs.c (Fdump_emacs):
8650 * eval.c (Fcommand_execute):
8651 * eval.c (Fautoload):
8652 * eval.c (Fbacktrace):
8653 * eval.c (Fbacktrace_frame):
8655 * events.c (Fcopy_event):
8656 * events.c (Fcharacter_to_event):
8657 * events.c (Fevent_button):
8658 * events.c (Fevent_process):
8660 * extents.c (Fnext_extent_change):
8661 * extents.c (Fextent_property):
8663 * faces.c (Fmake_face):
8665 * file-coding.c (Fencode_shift_jis_char):
8666 * file-coding.c (Fencode_big5_char):
8667 * fileio.c (Ffile_name_directory):
8668 * fileio.c (Ffile_name_nondirectory):
8669 * fileio.c (Ffile_name_as_directory):
8670 * fileio.c (Fdirectory_file_name):
8671 * fileio.c (Ffile_truename):
8672 * fileio.c (Fsubstitute_in_file_name):
8673 * fileio.c (Ffile_modes):
8674 * fileio.c (Fset_file_modes):
8675 * fileio.c (Fset_default_file_modes):
8676 * fileio.c (Fverify_visited_file_modtime):
8677 * floatfns.c (Facos):
8678 * floatfns.c (Fasin):
8679 * floatfns.c (Fatan):
8680 * floatfns.c (Fcos):
8681 * floatfns.c (Fsin):
8682 * floatfns.c (Ftan):
8683 * floatfns.c (Fbessel_j0):
8684 * floatfns.c (Fbessel_j1):
8685 * floatfns.c (Fbessel_jn):
8686 * floatfns.c (Fbessel_y0):
8687 * floatfns.c (Fbessel_y1):
8688 * floatfns.c (Fbessel_yn):
8689 * floatfns.c (Ferf):
8690 * floatfns.c (Ferfc):
8691 * floatfns.c (Flog_gamma):
8692 * floatfns.c (Fexp):
8693 * floatfns.c (Fexpt):
8694 * floatfns.c (Flog):
8695 * floatfns.c (Flog10):
8696 * floatfns.c (Fsqrt):
8697 * floatfns.c (Fcube_root):
8698 * floatfns.c (Facosh):
8699 * floatfns.c (Fasinh):
8700 * floatfns.c (Fatanh):
8701 * floatfns.c (Fcosh):
8702 * floatfns.c (Fsinh):
8703 * floatfns.c (Ftanh):
8704 * floatfns.c (Fabs):
8705 * floatfns.c (Ffloat):
8706 * floatfns.c (Flogb):
8707 * floatfns.c (Fceiling):
8708 * floatfns.c (Ffloor):
8709 * floatfns.c (Fround):
8710 * floatfns.c (Ftruncate):
8711 * floatfns.c (Ffceiling):
8712 * floatfns.c (Fffloor):
8713 * floatfns.c (Ffround):
8714 * floatfns.c (Fftruncate):
8715 * fns.c (Fstring_equal):
8716 * fns.c (Fstring_lessp):
8721 * fns.c (Fsubstring):
8723 * fns.c (Fold_assoc):
8724 * fns.c (assoc_no_quit):
8726 * fns.c (Fold_assq):
8727 * fns.c (assq_no_quit):
8729 * fns.c (Fold_rassoc):
8731 * fns.c (Fold_rassq):
8732 * fns.c (rassq_no_quit):
8733 * fns.c (Fremassoc):
8734 * fns.c (remassoc_no_quit):
8736 * fns.c (remassq_no_quit):
8737 * fns.c (Fremrassoc):
8738 * fns.c (Fremrassq):
8739 * fns.c (remrassq_no_quit):
8741 * fns.c (Fplist_get):
8742 * fns.c (Fplist_put):
8743 * fns.c (Fplist_remprop):
8744 * fns.c (Fplist_member):
8745 * fns.c (Flax_plist_get):
8746 * fns.c (Flax_plist_put):
8747 * fns.c (Flax_plist_remprop):
8748 * fns.c (Flax_plist_member):
8750 * fns.c (Fold_equal):
8752 * fns.c (Fbase64_encode_region):
8753 * fns.c (Fbase64_encode_string):
8754 * fns.c (Fbase64_decode_region):
8756 * frame.c (frame_matches_frame_spec):
8757 * frame.c (device_matches_device_spec):
8758 * frame.c (next_frame):
8759 * frame.c (previous_frame):
8760 * frame.c (Fnext_frame):
8761 * frame.c (Fprevious_frame):
8762 * frame.c (Fframe_property):
8763 * frame.c (Fset_frame_height):
8764 * frame.c (Fset_frame_size):
8768 * glyphs.c (decode_error_behavior_flag):
8769 * glyphs.c (Fmake_image_instance):
8770 * indent.c (Findent_to):
8771 * intl.c (Fignore_defer_gettext):
8772 * keymap.c (Fkeymapp):
8773 * keymap.c (Flookup_key):
8775 * lread.c (Fload_internal):
8776 * lread.c (Feval_buffer):
8777 * lread.c (Feval_region):
8778 * macros.c (Fexecute_kbd_macro):
8779 * marker.c (set_marker_internal):
8780 * marker.c (Fset_marker):
8781 * marker.c (set_marker_restricted):
8782 * marker.c (Fcopy_marker):
8783 * marker.c (noseeum_copy_marker):
8785 * menubar.c (Fpopup_menu):
8787 * mule-charset.c (Fcharset_name):
8788 * mule-charset.c (Fchar_charset):
8789 * mule-charset.c (Fchar_octet):
8790 * mule-charset.c (Fsplit_char):
8791 * mule-wnnfns.c (Fwnn_open):
8792 * mule-wnnfns.c (Fwnn_dict_comment):
8793 * mule-wnnfns.c (Fwnn_quit_henkan):
8794 * mule-wnnfns.c (Fwnn_word_toroku):
8795 * mule-wnnfns.c (Fwnn_word_sakujo):
8796 * mule-wnnfns.c (Fwnn_word_use):
8797 * mule-wnnfns.c (Fwnn_hindo_set):
8799 * objects.c (Fmake_color_instance):
8800 * objects.c (Fmake_font_instance):
8801 * print.c (Fwrite_char):
8803 * process.c (mark_process):
8804 * process.c (print_process):
8805 * process.c (get_process_from_usid):
8806 * process.c (Fprocessp):
8807 * process.c (Fprocess_live_p):
8808 * process.c (Fget_process):
8809 * process.c (Fget_buffer_process):
8810 * process.c (get_process):
8811 * process.c (Fprocess_id):
8812 * process.c (Fprocess_name):
8813 * process.c (Fprocess_command):
8814 * process.c (init_process_io_handles):
8815 * process.c (start_process_unwind):
8816 * process.c (Fstart_process_internal):
8817 * process.c (Fopen_multicast_group_internal):
8818 * process.c (Fset_process_window_size):
8819 * process.c (read_process_output):
8820 * process.c (send_process):
8821 * process.c (Fprocess_tty_name):
8822 * process.c (Fset_process_buffer):
8823 * process.c (Fprocess_buffer):
8824 * process.c (Fprocess_mark):
8825 * process.c (set_process_filter):
8826 * process.c (Fset_process_filter):
8827 * process.c (Fprocess_filter):
8828 * process.c (Fprocess_send_region):
8829 * process.c (Fprocess_send_string):
8830 * process.c (exec_sentinel):
8831 * process.c (Fset_process_sentinel):
8832 * process.c (Fprocess_sentinel):
8833 * process.c (status_notify):
8834 * process.c (Fprocess_status):
8835 * process.c (Fprocess_exit_status):
8836 * process.c (process_send_signal):
8837 * process.c (Fprocess_send_eof):
8838 * process.c (deactivate_process):
8839 * process.c (remove_process):
8840 * process.c (Fdelete_process):
8841 * process.c (kill_buffer_processes):
8842 * process.c (Fprocess_kill_without_query):
8843 * process.c (Fprocess_kill_without_query_p):
8845 * rangetab.c (Fget_range_table):
8846 * rangetab.c (Fput_range_table):
8847 * rangetab.c (Fremove_range_table):
8848 * rangetab.c (Fclear_range_table):
8850 * search.c (Fskip_chars_forward):
8851 * search.c (Fskip_chars_backward):
8852 * search.c (Fskip_syntax_forward):
8853 * search.c (Fskip_syntax_backward):
8854 * search.c (search_command):
8855 * search.c (Freplace_match):
8856 * search.c (Fregexp_quote):
8857 * select.c (Fown_selection_internal):
8858 * select.c (Fselection_owner_p):
8859 * select.c (Fselection_exists_p):
8860 * select.c (Fget_selection_internal):
8863 * symbols.c (Fintern):
8864 * symbols.c (Fintern_soft):
8865 * symbols.c (Funintern):
8866 * symbols.c (Fapropos_internal):
8867 * symbols.c (Fset_default):
8869 * syntax.c (Fsyntax_table_p):
8870 * syntax.c (Fcopy_syntax_table):
8871 * syntax.c (Fset_syntax_table):
8872 * syntax.c (Fchar_syntax):
8873 * syntax.c (syntax_match):
8874 * syntax.c (Fmatching_paren):
8875 * syntax.c (Fforward_word):
8876 * syntax.c (scan_lists):
8877 * syntax.c (Fscan_lists):
8878 * syntax.c (Fscan_sexps):
8879 * syntax.c (Fparse_partial_sexp):
8880 * toolbar.c (Fcheck_toolbar_button_syntax):
8883 * window.c (Fwindowp):
8884 * window.c (Fwindow_live_p):
8885 * window.c (Fwindow_point):
8886 * window.c (Fdelete_window):
8887 * window.c (Fnext_window):
8888 * window.c (Fprevious_window):
8889 * window.c (Fother_window):
8890 * window.c (window_loop):
8891 * window.c (Fget_lru_window):
8892 * window.c (Fsplit_window):
8893 * window.c (Fenlarge_window):
8894 * window.c (Fenlarge_window_pixels):
8895 * window.c (Fshrink_window):
8896 * window.c (Fshrink_window_pixels):
8897 * window.c (change_window_height):
8898 * window.c (Fwindow_configuration_p):
8899 * window.c (Fcurrent_window_configuration):
8901 * casefiddle.c (casify_object):
8902 * casefiddle.c (Fupcase):
8903 * casefiddle.c (Fdowncase):
8904 * casefiddle.c (Fcapitalize):
8905 * casefiddle.c (Fupcase_initials):
8906 * casefiddle.c (casify_region_internal):
8907 * casefiddle.c (casify_region):
8908 * casefiddle.c (Fupcase_region):
8909 * casefiddle.c (Fdowncase_region):
8910 * casefiddle.c (Fcapitalize_region):
8911 * casefiddle.c (Fupcase_initials_region):
8912 * casefiddle.c (Fupcase_word):
8913 * casefiddle.c (Fdowncase_word):
8914 * casefiddle.c (Fcapitalize_word):
8915 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
8916 Replace 0 with '\0' when working with bytes.
8917 Replace initial "(" with "\(" in docstrings.
8919 2000-11-01 Martin Buchholz <martin@xemacs.org>
8921 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
8923 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
8925 2000-10-31 Martin Buchholz <martin@xemacs.org>
8927 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
8929 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8931 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
8934 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8936 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
8937 (inhibit_auto_save_session): New variable.
8938 (vars_of_fileio): Declare and initialize them.
8939 * fileio.c (Fdo_auto_save): Don't create session file if
8940 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
8942 2000-10-31 Martin Buchholz <martin@xemacs.org>
8944 * sgiplay.c (play_internal): C++ compilability.
8945 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
8946 * callproc.c (Fold_call_process_internal):
8947 Remove unused vars `env', `first'.
8948 * scrollbar.c (update_scrollbar_instance):
8949 #### unused var `current_window'.
8950 * redisplay-tty.c: Put currently unused vars insert_mode_on,
8951 etc. within #ifdef NOT_YET.
8952 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
8953 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
8954 * specifier.c (specifier_instance):
8955 #### unused var `tag'.
8956 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
8958 2000-10-27 Martin Buchholz <martin@xemacs.org>
8961 * fns.c (list_sort):
8962 * fns.c (Ffillarray):
8963 * fns.c (bytecode_nconc2):
8966 * fns.c (Fmapconcat):
8967 Be pedantically 64-bit correct. For the time when someone will
8968 want to have a list with length > 2**32.
8970 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
8971 Work around MIPSpro compiler bug.
8973 * process-unix.c (unix_kill_child_process): Add snarky comment.
8974 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
8976 * config.h.in: Oops, _getpt ==> _getpty
8978 2000-10-26 Martin Buchholz <martin@xemacs.org>
8982 Use void*, not char*, as return type of alloca().
8984 * alloc.c (free_marker): Side effect inside assert expression!
8986 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
8988 * mule-charset.c (Fset_charset_ccl_program): To check
8989 if the given ccl program is valid, use setup_ccl_program()
8990 instead of CHECK_VECTOR().
8991 (Fmake_charset): Likewise.
8993 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
8995 * faces.c (get_extent_fragment_face_cache_index):
8996 Fix cachel.merged_faces memory leak.
8998 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
9000 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
9001 Reset MSB of octets obtained by DECODE_SJIS
9002 because of the incompatibility with Emacs.
9003 (ccl_driver)<CCL_ENCODE_SJIS>:
9004 Set MSB of octets before passing them to
9005 ENCODE_SJIS because of the incompatibility
9008 2000-10-18 Daiki Ueno <ueno@unixuser.org>
9010 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
9011 (DECLARE_LRECORD): Undo the last change.
9012 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
9014 2000-10-17 Daiki Ueno <ueno@unixuser.org>
9016 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
9017 the implementation to lrecord_implementations_table.
9019 2000-10-14 Daiki Ueno <ueno@unixuser.org>
9021 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
9022 initial value of `lrecord_type_##c_name' and
9023 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
9024 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
9025 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
9026 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
9027 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
9029 2000-10-17 Martin Buchholz <martin@xemacs.org>
9031 * miscplay.c (sndcnv8S_2mono):
9032 (sndcnv2monounsigned):
9033 (sndcnvULaw_2linear):
9035 Remove implementation-defined behavior.
9037 2000-10-12 Martin Buchholz <martin@xemacs.org>
9039 * input-method-xlib.c: Warning suppression.
9041 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
9043 * mule-ccl.c: Sync up with Emacs 21.0.90.
9044 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
9046 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
9048 (ccl_driver[WriteMultibyteChar2]): Bug fix.
9049 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
9050 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
9051 leading char belongs to official 2-dimensional charset.
9052 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
9053 write the given character as is. Otherwise,
9054 if it is a multibyte char, convert it by
9055 non_ascii_set_charptr_emchar, then write it.
9056 (CCL_WRITE_STRING): Likewise.
9057 (ccl_get_compiled_code): New function.
9058 (setup_ccl_program): When ccl_prog is invalid,
9060 (Fregister_code_conversion_map): New function.
9061 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
9063 * mule-ccl.h: Sync up with Emacs 21.0.90.
9064 (Fregister_ccl_program): export it.
9066 * redisplay-msw.c (separate_textual_runs):
9067 If ccl program is not valid, don't do ccl conversion.
9069 * redisplay-x.c (separate_textual_runs): Ditto.
9071 * file-coding.c (Fmake_coding_system):
9072 When type is ccl and value is vector, register it
9073 with a proper symbol. And checks whether the
9074 given ccl program is valid.
9075 (mule_decode): When calling ccl_driver, if src indicates
9076 NULL pointer, set an empty string instead.
9077 (mule_encode): Likewise.
9079 2000-10-11 Martin Buchholz <martin@xemacs.org>
9081 The following large batch of changes gets us back to a state of
9082 C++ compilability. Extbyte is now a char, which means that
9083 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
9085 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
9087 * sound.c (Fplay_sound): Type correctness.
9089 * select-x.c (hack_motif_clipboard_selection): Type correctness.
9090 (x_get_window_property): Type correctness.
9091 (receive_incremental_selection): unsigned char ==> Extbyte
9092 (selection_data_to_lisp_data): unsigned char ==> Extbyte
9093 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
9094 (Fx_store_cutbuffer_internal): Type correctness.
9096 * process-unix.c (try_to_initialize_subtty): Type correctness.
9098 * objects-x.c (x_print_color_instance): Type correctness.
9099 (x_print_font_instance): Type correctness.
9100 (x_list_fonts): SExtbyte ==> Extbyte.
9101 (valid_x_font_name_p): SExtbyte ==> Extbyte.
9102 (x_find_charset_font): SExtbyte ==> Extbyte.
9103 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
9104 (truename_via_XListFonts): SExtbyte ==> Extbyte.
9105 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
9108 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
9109 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
9110 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
9111 (BYTE_C0_P): Use bit ops for char-signedness safety.
9112 (BYTE_C1_P): Use bit ops for char-signedness safety.
9113 (CHARSET_BY_LEADING_BYTE):
9114 (CHARSET_BY_ATTRIBUTES):
9115 Always use inline function.
9116 Use type_checking_assert.
9119 * mule-charset.c (non_ascii_charptr_copy_char):
9120 Modify to work with both ASCII and non-ASCII characters.
9121 Improve docs and variable names.
9122 Replace over-clever fall-through switch with a simple loop.
9123 (Lstream_get_emchar_1):
9124 Replace over-clever fall-through switch with a simple loop.
9126 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9127 Warning suppression.
9129 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
9130 the return value of Lstream_getc, which could be EOF as well.
9132 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
9134 * lisp.h: Make Extbyte a char, not unsigned char, so that external
9135 APIs can be used on Extbytes without casts. Risky!
9139 * input-method-xlib.c (XIM_init_device):
9140 Use Xlib.h instead of IntrinsicP.h.
9141 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
9142 which will break in X11R7.
9143 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
9144 to call XRegisterIMInstantiateCallback with correct types.
9146 * gui-x.c (button_item_to_widget_value): Type correctness.
9148 * glyphs.c (bitmap_to_lisp_data): Type correctness.
9150 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
9151 (xbm_instantiate_1): Type correctness.
9152 (BUILD_GLYPH_INST): Type correctness.
9154 * fileio.c (Fsubstitute_in_file_name): Type correctness.
9157 (decode_coding_sjis):
9158 (decode_coding_big5):
9159 (decode_coding_ucs4):
9160 (decode_coding_utf8):
9161 (decode_coding_iso2022):
9162 (decode_coding_no_conversion):
9163 Make all decoding functions take an Extbyte * arg.
9164 (encode_coding_sjis):
9165 (encode_coding_big5):
9166 (encode_coding_ucs4):
9167 (encode_coding_utf8):
9168 (encode_coding_iso2022):
9169 (encode_coding_no_conversion):
9170 Make all encoding functions take a Bufbyte * arg.
9171 Use size_t instead of unsigned int for memory sizes.
9172 Only cast to unsigned char whenever dereferencing Extbyte *.
9174 * doc.c (unparesseuxify_doc_string): Type correctness.
9176 * console-x.c (split_up_display_spec):
9177 Rewrite without using details of internal string representation.
9178 (x_semi_canonicalize_device_connection): Type correctness.
9181 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
9182 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
9183 (HAVE_XFREE386): Removed.
9185 * buffer.h (DEC_CHARPTR): `const' correctness.
9186 (bufbyte_strcmp): New.
9187 (bufbyte_memcmp): New.
9189 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
9191 * buffer.h (XCHAR_OR_CHAR_INT):
9192 Always use inline function.
9193 Remove redundant type checking assert() - XINT will abort quite nicely.
9195 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9197 * search.c (Freplace_match): Set newtext to an empty string.
9199 2000-10-10 Martin Buchholz <martin@xemacs.org>
9201 * s/decosf1-3.h: Remove #include of stropts.h
9202 * s/ptx.h: Remove #include of stropts.h
9203 * s/usg5-4.h: Remove #include of stropts.h
9206 Use stropts.h, not sys/stropts.h.
9207 Use strtio.h, not sys/strtio.h.
9209 2000-10-04 Martin Buchholz <martin@xemacs.org>
9211 * XEmacs 21.2.36 is released.
9213 2000-09-21 Andy Piper <andy@xemacs.org>
9215 * glyphs-x.c (x_redisplay_widget): make sure non-structural
9216 changes still involve copying the widget tree.
9217 (update_widget_face): make sure a change is register in the widget
9218 tree. Call update_tab_widget_face appropriately.
9219 (update_tab_widget_face): ditto.
9220 (x_tab_control_redisplay): make sure non-structural changes still
9221 involve copying the widget tree.
9223 2000-08-31 Daiki Ueno <ueno@unixuser.org>
9225 * lread.c (locate_file): Check the path element is non-nil.
9227 2000-10-02 Martin Buchholz <martin@xemacs.org>
9229 * lisp.h: Warning suppression for SCO compilers.
9231 * redisplay-tty.c (reset_tty_modes): Fix crash.
9232 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
9234 2000-09-27 Martin Buchholz <martin@xemacs.org>
9236 Big signal/process handling overhaul. Bugs fixed:
9237 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
9238 M-x comint-kill-subjob should work for both values nil and t of
9239 process-connection-type. It was broken on most platforms.
9240 Testing on Irix and Cygwin still needed. Other plaforms tested.
9241 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
9242 * process-unix.c: Signal/Process handling overhaul.
9243 (pty_name): make 64 bytes, as `expect' does, for paranoia.
9244 (allocate_pty): Use all available modern methods of allocating
9245 ptys, falling back to old style BSD allocation as a last resort.
9246 Use allegedly more secure Unix98 pty allocation by default.
9247 (allocate_pty_the_old_fashioned_way): New. the last resort.
9248 (unix_create_process): Push ptem, ldterm, ttcompat where
9249 available. Autoconfiscate.
9250 (try_to_initialize_subtty): New.
9251 (unix_kill_child_process): Proper signal handling for ptys on most
9252 platforms, using special knowledge of AIX, BSD, etc...
9253 (unix_create_process): Always disconnect_controlling_terminal() for
9254 subprocesses, whether using ptys or not.
9255 * process.h: Remove old getpt-dependent PTY code.
9256 * process.c (Fprocess_send_signal): New, obvious generic function.
9257 (decode_signal): New.
9258 (Finterrupt_process):
9262 (Fcontinue_process):
9263 (Fsignal_process): Use decode_signal.
9264 (process_send_signal):
9265 Many docstring corrections.
9266 Allow any signal to be sent to a process object.
9267 * config.h.in: Add symbols for big signal/process overhaul.
9268 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
9269 * sysproc.h: Include process-related headers, where available:
9270 sys/stropts.h sys/strtio.h pty.h libutil.h
9278 Remove old S&M pty stuff.
9279 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
9280 * systty.h: Simplify cpp hackery, improve comments.
9281 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
9283 * editfns.c (Fformat_time_string):
9284 Be a little more paranoid with the return value of ctime.
9286 * fileio.c (check_executable):
9288 Use symbolic constants X_OK, W_OK.
9290 * console-x.c (split_up_display_spec): Fix a warning.
9292 2000-10-02 Martin Buchholz <martin@xemacs.org>
9294 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
9295 * ntproc.c (sys_spawnve): make_string ==> build_string
9296 Small clarity improvements.
9298 2000-09-30 Martin Buchholz <martin@xemacs.org>
9300 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
9302 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
9304 * config.h.in (HAVE_STRCASECMP): Remove.
9306 2000-09-29 Martin Buchholz <martin@xemacs.org>
9308 * redisplay-output.c (redisplay_output_pixmap):
9309 Cleaner and possibly more 64-bit correct code.
9311 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
9313 * dumper.c (pdump_load_finish): move restoration of
9314 `noninteractive1' to emacs.c (main_1).
9315 * emacs.c (main_1): protect LISP-visible command-line flags
9318 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
9320 * Makefile.in.in (versionclean): Use EXE_TARGET and
9321 DUMP_TARGET instead of literal program names.
9323 2000-09-20 Martin Buchholz <martin@xemacs.org>
9325 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
9327 2000-09-19 Martin Buchholz <martin@xemacs.org>
9329 * *: Spelling mega-patch
9331 2000-09-19 Martin Buchholz <martin@xemacs.org>
9333 * fns.c (bad_bad_turtle):
9334 Delete "Eek!" comment, since we fixed the bug to which it refers.
9336 2000-09-16 Martin Buchholz <martin@xemacs.org>
9338 * alloca.c: Replace REGISTER with register.
9340 2000-09-16 Daiki Ueno <ueno@unixuser.org>
9342 * file-coding.c (ucs_to_char): Use countof.
9344 2000-09-16 Martin Buchholz <martin@xemacs.org>
9346 * file-coding.c: (ucs_to_char):
9347 (complex_vars_of_file_coding):
9348 Use countof instead of sizeof.
9349 Use CHECK_NATNUM instead of CHECK_INT.
9351 * sysdep.c (strcasecmp): Remove.
9352 * device-x.c (ascii_strcasecmp): New.
9353 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
9354 Avoid using non-standard non-portable strcasecmp.
9356 2000-09-16 Martin Buchholz <martin@xemacs.org>
9358 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
9359 * font-lock.c: remove reference to emacsfns.h.
9360 * search.c: small doc improvement.
9361 * event-Xt.c: correct file names in comments.
9362 * console-x.h Correct file names in comments.
9363 * frame.c: Correct file names in comments.
9364 * event-stream.c: remove Energize from comments.
9366 2000-09-15 Martin Buchholz <martin@xemacs.org>
9368 * symeval.h (DEFERROR_STANDARD):
9371 (DEFSYMBOL_NO_DUMP):
9372 (DEFSYMBOL_MULTIWORD_PREDICATE):
9373 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
9375 The construct &##name is not sensible C.
9376 Fixes compilation errors with Unixware native compiler.
9378 2000-09-14 Martin Buchholz <martin@xemacs.org>
9380 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
9381 (next_frame_internal): Removed. We now just have next_frame.
9383 Write a simpler and cleaner one-pass algorithm.
9384 Remove called_from_delete_device arg and #ifdefed-out code.
9386 Renamed from prev_frame. Update callers.
9387 Cleaned up to have an analogous implementation to next_frame.
9388 (other_visible_frames_internal): Remove the
9389 called_from_delete_device bogus arg, and hence, remove this
9390 function. Just use other_visible_frames().
9392 * window.c (Fnext_window):
9394 Since next_frame() is guaranteed to return a frame, remove check
9395 for nil inserted in previous patch.
9398 Make code look more like Fnext_window.
9400 Respect the `console' arg when iterating through windows.
9401 Fixes bug: (get-buffer-window buffer t device) not respecting
9403 This function needs more work, as others have pointed out.
9405 * frame.h: Rename prev_frame to previous_frame.
9406 device_matches_console_spec no longer takes a `frame' arg.
9411 Use EMACS_BLOCK_SIGNAL instead of sigblock.
9412 From "Golubev I. N." <gin@mo.msk.ru>.
9414 * make-src-depend: Fix typo.
9416 2000-09-13 Martin Buchholz <martin@xemacs.org>
9418 * window.c (Fnext_window):
9419 next_frame() might return nil, not a frame.
9421 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
9423 * frame.c (next_frame_internal):
9424 We've passed a frame if we've passed its device.
9426 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
9427 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
9429 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
9431 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
9432 Allow option to suppress accelerators in menu/dialog items.
9433 (populate_or_checksum_helper): Pass dialog title through above.
9435 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
9437 * event-msw.c (mswindows_key_to_emacs_keysym):
9438 Add "pause" key, fix "menu" key.
9440 2000-09-09 Martin Buchholz <martin@xemacs.org>
9442 * eval.c (reinit_vars_of_eval):
9443 Increase max_lisp_eval_depth to 1000,
9444 required for thai-xtis.el to byte-compile under some circumstances.
9446 2000-09-04 Martin Buchholz <martin@xemacs.org>
9448 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
9451 2000-09-01 Martin Buchholz <martin@xemacs.org>
9453 * make-src-depend: Make the generated Makefiles smaller.
9455 * s/hpux.h (SETUP_SLAVE_PTY):
9456 Provide a %d in the format string for the errno argument.
9458 * editfns.c (Ftemp_directory):
9460 Avoid buffer overrun on very long file name.
9462 * input-method-xlib.c (XIM_init_device):
9463 6th parameter of XRegisterIMInstantiateCallback has different
9464 pointer types on different OSes, so simply cast to (void *).
9466 * unexhp9k800.c: Warning fixes. Fiddly changes.
9468 * sysdll.c (dll_open):
9469 shl_load will hang hard if passed a NULL filename.
9470 Simply return NULL for compatibility with dlopen.
9471 * sysdll.c: Conform to XEmacs coding standards.
9473 * sysdep.c (get_pty_max_bytes):
9474 Support pty input lines longer than 512 bytes on HP-UX 10.20.
9476 2000-08-31 Martin Buchholz <martin@xemacs.org>
9478 * tooltalk.c: Add #include <syssignal.h>
9480 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
9482 * s/hpux.h: Don't use undefined function sigunblock().
9484 2000-08-31 Martin Buchholz <martin@xemacs.org>
9486 * config.h.in: Add HAVE_BALLOON_HELP.
9487 * emacs.c: Use HAVE_BALLOON_HELP.
9488 * Makefile.in.in (x_objs):
9489 Make Balloon Help conditional on finding shape.h.
9491 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
9493 * syntax.c (regex_emacs_buffer_p): New variable.
9494 * syntax.h (regex_emacs_buffer_p): extern.
9495 * search.c (looking_at_1):
9497 (fast_string_match):
9498 (search_buffer): Set regex_emacs_buffer_p.
9499 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
9500 when before_dot, at_dot, after_dot.
9502 2000-08-23 Andy Piper <andy@xemacs.org>
9504 * gui-x.c (popup_selection_callback): Only set action_occurred
9505 when we really have an image instance.
9506 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
9508 2000-08-23 Andy Piper <andy@xemacs.org>
9510 * gui-msw.c (mswindows_handle_gui_wm_command): set
9512 * gui-x.c (popup_selection_callback): ditto.
9514 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
9515 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
9516 (struct Lisp_Image_Instance): add action_occurred flag.
9518 * glyphs.c (redisplay_subwindow): use action_occurred flag.
9519 (image_instance_changed): ditto.
9520 (reset_frame_subwindow_instance_cache): only unmap windows - do
9521 not remove them from the cache also.
9523 * glyphs-widget.c (tab_control_update): better debug.
9524 (progress_gauge_update): ditto.
9525 (layout_update): ditto.
9526 (layout_instantiate): ditto.
9527 (tab_control_order_only_changed): cope with null pending items.
9529 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
9530 debug. Force selection of an item when an action occurred. Cope
9531 with null pending_items.
9532 (mswindows_progress_gauge_redisplay): better debug.
9533 * glyphs-x.c (x_tab_control_redisplay): ditto.
9535 * redisplay.c (redisplay_frame): reset the frame cache if the
9538 * window.c (Fset_window_configuration): potentially re-enable
9540 (window_unmap_subwindows): need to finalize instances here since
9541 it is only used in mark_window_as_deleted.
9543 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
9545 * nas.c (SndOpenDataForReading):
9546 nas.c (WaveOpenDataForReading):
9547 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
9548 Somehow escaped from the 2000-08-14 patch.
9550 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
9552 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
9553 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
9555 2000-08-21 Andy Piper <andy@xemacs.org>
9557 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
9558 window if it is not already displayed.
9560 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
9561 it is not already displayed.
9563 * window.c (Fset_window_configuration): don't reset the frame
9566 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
9567 instances from the frame cache if we are actually finalizing them.
9568 (reset_frame_subwindow_instance_cache): reset frame cache only
9569 after unmapping everything.
9570 (map_subwindow): set displayed flag after mapping.
9572 2000-08-21 Martin Buchholz <martin@xemacs.org>
9574 * data.c (indirect_function):
9575 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
9577 * eval.c (function_argcount):
9578 Use original function when signaling errors.
9580 2000-08-18 Andy Piper <andy@xemacs.org>
9582 * frame.c (delete_frame_internal): use new
9583 free_frame_subwindow_instances name.
9585 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
9586 (add_tab_item): make return type correct.
9587 (mswindows_tab_control_instantiate): assert index of tab.
9588 (mswindows_tab_control_redisplay): Re-code to use
9589 gui_item_equal_sans_selected and gui_item_list_find_selected.
9591 * glyphs-widget.c (tab_control_update): Correct comment.
9593 * window.c (window_unmap_subwindows): use new
9594 unmap_subwindow_instance_cache_mapper.
9595 (window_unmap_subwindows_cache_mapper): deleted.
9596 (Fset_window_configuration): comparisons should now be with
9597 EQ. Preserve the subwindow instance cache across configuration
9599 (allocate_window): ditto.
9600 (make_dummy_parent): ditto.
9602 * glyphs.c (free_frame_subwindow_instances): rename from
9603 free_frame_subwindow_instance_cache. finalize all instances rather
9604 than just those in the display cache.
9605 (finalize_all_subwindow_instances): walk windows unmapping and
9606 finalizing subwindows.
9607 (unmap_subwindow_instance_cache_mapper): moved from
9608 window.c. Allow finalization as well as unmapping.
9610 * gui.c (gui_item_list_find_selected): new function.
9612 * gui.h (gui_item_list_find_selected): declare.
9614 * glyphs-x.c (x_tab_control_redisplay): pick tab
9615 explicitly. Re-code to use gui_item_equal_sans_selected and
9616 gui_item_list_find_selected.
9618 * glyphs-x.h: add lwlib-utils.h
9620 * buffer.c (Frecord_buffer): undo previous change.
9622 2000-08-09 Vin Shelton <acs@xemacs.org>
9624 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
9625 possible. Create temporary files more securely. The patch was
9626 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
9627 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
9628 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
9631 2000-08-07 Ben Wing <ben@xemacs.org>
9633 * getloadavg.c: remove duplicate (and windows-breaking)
9634 includes of fcntl.h and sys/file.h.
9636 * nt.c: remove duplicate getloadavg() definition.
9638 * sysdll.h (Qdll_filename_encoding): add missing stand-in
9641 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
9643 * eval.c (function_argcount): If function needs to be autoloaded
9644 actually use the loaded definition.
9647 2000-08-05 Ben Wing <ben@xemacs.org>
9649 * getloadavg.c: add prototype for getloadavg(). remove
9650 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
9651 of the code). remove duplicate header includes.
9653 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
9655 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
9656 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
9657 useful load average.
9659 * alloc.c (reinit_alloc_once_early): removed references to
9660 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
9661 the lisp vars are the only things referencing the malloc_sbrk_*
9662 vars, and they were already if 0'd out. these vars only exist
9663 in the older malloc.c, which is basically unused, and they're
9664 only for informational purposes.
9666 * m\*.h: removed useless VIRT_ADDR_VARIES.
9668 * m\powerpc.h: removed stray NO_ARG_ARRAY.
9670 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
9672 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
9673 color if the image is a mono pixmap.
9675 2000-07-30 Ben Wing <ben@xemacs.org>
9677 * Makefile.in.in (release):
9680 * buffer.c (directory_is_current_directory):
9681 * dired-msw.c (mswindows_get_files):
9683 * dired.c (Fdirectory_files):
9684 * dired.c (file_name_completion_stat):
9685 * dired.c (Ffile_attributes):
9686 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
9687 preprocessor tricks, to avoid problems on some machines
9690 * callproc.c (egetenv): GC docs.
9693 * console-msw.h (struct mswindows_dialog_id):
9694 * lrecord.h (lrecord_type):
9695 New object for use with MSW dialogs.
9697 * console.h (struct console_methods):
9698 New enable/disable frame methods, for proper modal dialogs.
9700 * device-msw.c (msprinter_default_printer): Fix to follow
9701 proper Mule conventions.
9704 * device-msw.c (signal_open_printer_error):
9705 * device-msw.c (msprinter_init_device):
9706 * device-msw.c (ensure_not_printing):
9707 * device-msw.c (plist_get_margin):
9708 * device-msw.c (Fmsprinter_select_settings):
9709 * device-msw.c (finalize_devmode):
9710 * device-msw.c (Fmsprinter_settings_despecialize):
9711 * device-msw.c (signal_enum_priner_error):
9712 * extents.c (decode_extent):
9713 * extents.c (decode_map_extents_flags):
9714 * extents.c (decode_extent_at_flag):
9715 * extents.c (Fextent_at):
9716 * extents.c (Fextents_at):
9717 * extents.c (symbol_to_glyph_layout):
9718 [[[[2]]]] Use structured errors.
9721 * dialog-msw.c (mswindows_is_dialog_msg):
9722 * dialog-msw.c (mark_mswindows_dialog_id):
9723 * dialog-msw.c (dialog_proc):
9724 * dialog-msw.c (handle_question_dialog_box):
9725 * dialog-msw.c (syms_of_dialog_mswindows):
9726 Define new object to clean up marking; use it as a dialog identifier.
9727 Call new delete-dialog-box-hook.
9729 * dialog-x.c (dbox_selection_callback):
9730 * dialog-x.c (dbox_descriptor_to_widget_value):
9731 * dialog-x.c (x_make_dialog_box_internal):
9732 Call new delete-dialog-box-hook.
9736 * dialog.c (syms_of_dialog):
9737 * dialog.c (vars_of_dialog):
9738 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
9741 * eval.c (signal_call_debugger):
9742 when noninteractive, output stack traces on the console instead
9743 of in a (never-seen) buffer.
9745 * eval.c (signal_type_error):
9746 * eval.c (invalid_argument_2):
9748 new funs for use w/structured errors.
9751 * event-Xt.c (x_to_emacs_keysym):
9752 * event-Xt.c (describe_event):
9753 * event-Xt.c (emacs_Xt_event_handler):
9754 * event-Xt.c (vars_of_event_Xt):
9756 * event-msw.c (mswindows_wnd_proc):
9757 * event-msw.c (vars_of_event_mswindows):
9758 rename {x,mswindows}-debug-events to debug-{}-events for
9759 consistency with other debug-foo variables.
9762 document next-event more clearly.
9764 * fileio.c (Ffile_name_directory):
9765 * fileio.c (Ffile_name_nondirectory):
9766 * fileio.c (Funhandled_file_name_directory):
9767 * fileio.c (file_name_as_directory):
9768 * fileio.c (Ffile_name_as_directory):
9769 * fileio.c (directory_file_name):
9770 * fileio.c (Fdirectory_file_name):
9771 * fileio.c (Fmake_temp_name):
9772 * fileio.c (Ffile_truename):
9773 * fileio.c (Fsubstitute_in_file_name):
9774 * fileio.c (expand_and_dir_to_file):
9775 * fileio.c (barf_or_query_if_file_exists):
9776 * fileio.c (check_executable):
9777 * fileio.c (Ffile_exists_p):
9778 * fileio.c (Ffile_writable_p):
9779 * fileio.c (Ffile_directory_p):
9780 * fileio.c (Ffile_regular_p):
9781 * fileio.c (Ffile_modes):
9782 * fileio.c (Ffile_newer_than_file_p):
9783 * fileio.c (Fverify_visited_file_modtime):
9784 * fileio.c (Fset_visited_file_modtime):
9785 * fileio.c (auto_save_1):
9790 * frame-msw.c (mswindows_init_frame_1):
9791 * frame-msw.c (mswindows_enable_frame):
9792 * frame-msw.c (error_frame_unsizable):
9793 * frame-msw.c (msprinter_init_frame_1):
9794 * frame-msw.c (msprinter_init_frame_3):
9795 * frame-msw.c (console_type_create_frame_mswindows):
9797 implement new enable/disable frame methods.
9800 * frame-x.c (x_enable_frame):
9801 * frame-x.c (console_type_create_frame_x):
9802 implement new enable/disable frame methods.
9805 * frame.c (Fdisable_frame):
9806 * frame.c (syms_of_frame):
9807 * frame.h (struct frame):
9808 implement new enable/disable frame methods/functions.
9813 * glyphs-msw.c (mswindows_widget_instantiate):
9814 comment that initial-focus should be implemented.
9817 * glyphs-widget.c (check_valid_instantiator):
9818 * glyphs-widget.c (check_valid_orientation):
9819 * glyphs-widget.c (check_valid_tab_orientation):
9820 * glyphs-widget.c (check_valid_justification):
9821 * glyphs-widget.c (check_valid_border):
9822 * glyphs-widget.c (check_valid_callback):
9823 * glyphs-widget.c (check_valid_int_or_function):
9824 * glyphs-widget.c (check_valid_string_or_vector):
9825 * glyphs-widget.c (check_valid_item_list_1):
9826 * glyphs-widget.c (widget_validate):
9827 * glyphs-widget.c (combo_box_validate):
9828 * glyphs-widget.c (widget_instantiate):
9829 * glyphs-widget.c (syms_of_glyphs_widget):
9830 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
9831 * glyphs-widget.c (image_instantiator_combo_box):
9832 * glyphs-widget.c (image_instantiator_scrollbar):
9833 * glyphs-widget.c (image_instantiator_tab_control):
9834 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
9836 support (unimplemented) keyword initial-focus.
9837 reindent long macros.
9839 * glyphs-x.c (x_redisplay_widget):
9840 * glyphs-x.c (x_button_instantiate):
9841 * glyphs-x.c (x_button_redisplay):
9842 * glyphs-x.c (x_progress_gauge_instantiate):
9843 * glyphs-x.c (x_edit_field_instantiate):
9844 * glyphs-x.c (x_combo_box_instantiate):
9845 * glyphs-x.c (x_tab_control_instantiate):
9846 * glyphs-x.c (x_label_instantiate):
9848 * gui-x.c (button_item_to_widget_value):
9849 * gui-x.c (gui_items_to_widget_values_1):
9850 * gui-x.c (gui_item_children_to_widget_values):
9851 * gui-x.c (gui_items_to_widget_values):
9853 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9854 add new flag to gui-parsing routines to indicate whether
9855 accelerator specs should be supported.
9857 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
9859 * glyphs.h (struct Lisp_Image_Instance):
9860 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
9861 add initial-focus flag.
9864 * gui.c (syms_of_gui):
9865 * gui.c (vars_of_gui):
9866 clean up menu-no-selection-hook.
9869 support delete-dialog-box-hook.
9871 * lread.c (Fload_internal):
9872 * lread.c (locate_file_in_directory_mapper):
9876 * lrecord.h (struct toolbar_button):
9877 * lrecord.h (syms_of_toolbar):
9878 document how to create a new object.
9880 * menubar-msw.c (mswindows_char_is_accelerator):
9881 may be called on frames w/o menus.
9883 * menubar.c (vars_of_menubar):
9884 clean up :filter docs.
9891 * process-nt.c (validate_signal_number):
9892 * process-nt.c (signal_cannot_launch):
9893 * process-nt.c (nt_create_process):
9894 * process-nt.c (nt_send_process):
9895 * process-nt.c (nt_kill_child_process):
9896 * process-nt.c (nt_open_network_stream):
9897 * process-nt.c (syms_of_process_nt):
9899 delete quote-handling. call new lisp code that does it better.
9901 * process-unix.c (connect_to_file_descriptor):
9902 * process-unix.c (allocate_pty):
9903 * process-unix.c (unix_send_process):
9904 * process-unix.c (unix_kill_child_process):
9905 * process-unix.c (unix_open_network_stream):
9906 * process-unix.c (unix_open_multicast_group):
9910 * process.c (Fstart_process_internal):
9911 (2). need to canonicalize process path even if absolute.
9913 * select-msw.c (symbol_to_ms_cf):
9914 * select-msw.c (ms_cf_to_symbol):
9915 * select-msw.c (cf_is_autofreed):
9916 * select-msw.c (mswindows_destroy_selection):
9918 * select.c (syms_of_select):
9920 support dibv5, fix bugs. (from Mike Alexander)
9922 * select.c (Fget_selection_internal):
9923 * select.c (select_convert_out):
9926 * sysdep.c (xemacs_stat):
9931 but keep original stat() here because we provide encapsulation
9935 * sysfile.h (fstat):
9936 remove stat garbage.
9940 don't include tchar.h. it's inappropriate because it makes
9941 compile-time distinctions when we want runtime distinctions.
9942 (we provide our own tchar replacements)
9945 use default object printer for toolbar-button.
9948 make sure we don't encapsulate.
9950 * window.c (vars_of_window):
9951 emphasize that temp-buffer-show-hook is obsolete.
9953 2000-08-05 Martin Buchholz <martin@xemacs.org>
9955 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
9956 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
9958 * events.c (Fevent_timestamp_lessp):
9959 Not 64-bit clean. Use EMACS_INT, not int.
9961 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
9963 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
9964 unsigned int and changed the last enum to
9965 lrecord_type_last_built_in_type.
9966 (lrecord_implementations_table): changed prototype to know how
9967 long the array is supposed to be.
9968 (lrecord_type_count): new unsigned int to keep track of the
9969 current number of lisp lrecord types.
9970 (DEFINE_EXTERNAL_LRECORD):
9971 (DECLARE_EXTERNAL_LRECORD): Added these two for external
9972 dynamic-modules to declare new lisp types. They are the same
9973 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
9974 int for each new type, and increment lrecord_type_count by 1.
9976 * alloc.c (lrecord_implementations_table): Changed to reference
9977 lrecord_type_last_built_in_type for the size of the array.
9978 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
9980 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9982 * glyphs.h (check_valid_item_list): Renamed from
9983 check_valid_item_list_1.
9985 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
9987 * select.c (Qselect_coerce): New.
9988 * select.c (Vselection_coercion_alist): New.
9989 * select.c (syms_of_select): Declare.
9990 * select.c (get-selection-internal): Use it.
9991 Use the new select-coerce functionality.
9993 * select.c (select_coerce): New.
9994 * select.h (select_coerce): Declare.
9995 New function to coerce one type of data into another.
9997 2000-08-03 Martin Buchholz <martin@xemacs.org>
9999 * callproc.c (Fcall_process_internal):
10000 (Fcall_process_internal):
10001 * process-unix.c (unix_create_process):
10002 Save and restore the value of errno, so that error messages are accurate.
10004 2000-08-01 Martin Buchholz <martin@xemacs.org>
10006 * elhash.c (print_hash_table):
10007 Fix printing of hash tables to also use `key-and-value' instead of `t'.
10008 Prettify docstrings and indentation.
10010 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
10012 * window.c (Fwindow_pixel_edges): Subtract frame border and
10015 2000-07-31 Andy Piper <andy@xemacs.org>
10017 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
10018 will acknowledge the change.
10020 * glyphs.h: declare tab_control_order_only_changed.
10022 * glyphs-x.c (x_tab_control_redisplay): use
10023 tab_control_order_only_changed.
10025 * glyphs-widget.c (tab_control_order_only_changed): new function.
10027 * glyphs-msw.c (mswindows_tab_control_redisplay): use
10028 tab_control_order_only_changed.
10030 * gui.c (gui_item_equal_sans_selected): new function.
10031 (gui_item_equal): use it.
10033 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
10034 :properties in favor of :items..
10036 * glyphs-widget.c (check_valid_item_list): rename from
10037 check_valid_item_list_1.
10038 (check_valid_item_list_1): renamed.
10039 (combo_box_validate): deprecate :properties in favor of :items.
10040 (widget_instantiate): ditto.
10041 (tab_control_update): ditto.
10042 (image_instantiator_combo_box): ditto.
10043 (image_instantiator_tree_view): ditto.
10044 (image_instantiator_tab_control): ditto.
10045 (layout_post_instantiate): remove dead code.
10047 * print.c (debug_print_no_newline): only write to debugger if in
10050 * elhash.c (Fmake_hash_table): update doc string.
10052 * event-msw.c (mswindows_wnd_proc): don't allow processing of
10053 messages whilst in GC. This at least stops XEmacs crashing but has
10054 the potential for wierd behaviour.
10056 2000-07-31 Martin Buchholz <martin@xemacs.org>
10059 Make existence of s&m files optional.
10061 * s/bsd386.h: Remove HAVE_GETLOADAVG.
10062 * s/freebsd.h: Remove HAVE_GETLOADAVG.
10063 * s/gnu.h: Remove HAVE_GETLOADAVG.
10064 * s/netbsd.h: Remove HAVE_GETLOADAVG.
10065 * s/sol2.h: Remove HAVE_GETLOADAVG.
10066 * lisp.h: Remove getloadavg() declaration.
10068 Include <sys/loadavg.h> if available.
10069 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
10070 * config.h.in: Group together getloadavg()-related macros.
10071 Use only configure-time tests to detect getloadavg().
10073 2000-07-30 Martin Buchholz <martin@xemacs.org>
10075 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
10077 2000-07-25 Andy Piper <andy@xemacs.org>
10079 * syswindows.h: add tchar.h for native builds.
10081 * frame.c (syms_of_frame): remove set-glyph-image.
10083 * general-slots.h: add Qset_glyph_image.
10085 * glyphs-widget.c (layout_update): add domain arg to
10087 (syms_of_glyphs_widget): remove set-glyph-image.
10089 2000-07-23 Ben Wing <ben@xemacs.org>
10091 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
10094 2000-07-22 Andy Piper <andy@xemacs.org>
10096 * symsinit.h: add syms_of_win32().
10098 * gui-msw.c (syms_of_gui_mswindows): remove
10099 Fmswindows_shell_execute.
10100 (Fmswindows_shell_execute): moved to win32.c.
10102 * emacs.c (main_1): add syms_of_win32 ().
10104 * win32.c (init_potentially_nonexistent_functions): rewrite in
10105 compiler-friendly terms.
10106 (Fmswindows_shell_execute): move here from gui-msw.c.
10107 (syms_of_win32): new.
10109 * device-msw.c (Fmswindows_printer_list): clean up args to
10111 Don't include tchar under cygwin or mingw.
10112 (msprinter_default_printer): make cygwin-friendly.
10114 2000-07-21 Andy Piper <andy@xemacs.org>
10116 * glyphs-widget.c (image_instantiator_tree_view): use tab
10117 control's update function.
10118 (layout_property): new function. Retrieve items.
10120 * glyphs-msw.c (mswindows_tree_view_redisplay): new
10121 function. Re-populate the tree view from the pending items.
10123 * glyphs.c (instantiate_image_instantiator): Make sure the domain
10124 is designated the parent if the domain is an image instance. This
10125 is needed so that dirtiness can be cascade up the hierarchy and
10126 thus for layout children to be redisplayed correctly.
10127 (allocate_image_instance): rename glyph -> parent.
10129 * redisplay.h: change redisplay_output_layout signature.
10131 * redisplay-msw.c (mswindows_output_display_block): use domain
10134 * redisplay-x.c (x_output_display_block): use domain arg.
10136 2000-07-10 Andy Piper <andy@xemacs.org>
10138 * window.c (Fset_window_configuration): add comment.
10140 * redisplay-output.c (compare_runes):
10141 (redisplay_output_subwindow): redisplay rather than update subwindow.
10142 (redisplay_output_layout): ditto.
10144 * redisplay-msw.c (mswindows_frame_output_end):
10145 (mswindows_frame_output_end): make defer window pos optional.
10147 * lisp.h: add Flast.
10149 * glyphs.h (struct image_instantiator_methods): add dest_mask top
10150 normalize method. Change update method to be for changed
10151 instantiators. Add redisplay method. Change signature of layout
10153 (struct Lisp_Image_Instance): add instantiator.
10154 (IMAGE_INSTANCE_INSTANTIATOR): new.
10155 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
10156 (XIMAGE_INSTANCE_INSTANTIATOR): new.
10157 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
10160 (find_instantiator_differences): new function.
10161 (Fset_instantiator_property): new convenience function.
10162 (check_image_instance_structure): strictly check for vector
10164 (normalize_image_instantiator): make non-static.
10165 (instantiate_image_instantiator): pass on dest_mask and use new
10166 signatures for image_instance_layout and friends.
10167 (mark_image_instance): mark the instantiator. Mark the subwindow
10168 face not the widget face.
10169 (image_instance_equal): add instantiator.
10170 (image_instance_hash): ditto.
10171 (allocate_image_instance): ditto.
10172 (Fset_image_instance_property): removed.
10173 (Fimage_instance_file_name): ditto.
10174 (Fcolorize_image_instance): ditto.
10175 (image_instance_layout): add offsets to be set.
10176 (update_image_instance): new function. update an image instance
10177 from its changed instantiator.
10178 (inherit_normalize): add dest_mask.
10179 (xbm_normalize): ditto.
10180 (xface_normalize): ditto.
10181 (xpm_normalize): ditto.
10182 (text_update): set_property -> update.
10183 (image_instantiate): use the glyph identity as a hash key, not the
10185 (glyph_width): use new image_instance_layout signature.
10186 (glyph_ascent): ditto.
10187 (glyph_descent): ditto.
10188 (glyph_height): ditto.
10189 (glyph_query_geometry): ressurrect.
10190 (glyph_layout): ditto.
10191 (redisplay_subwindow): update -> redisplay.
10192 (syms_of_glyphs): add Fset_instantiator_property.
10193 (image_instantiator_format_create): set_property -> update.
10196 (autodetect_normalize): add dest_maks to signature.
10197 (x_redisplay_subwindow): update -> redisplay.
10198 (x_redisplay_widget): ditto.
10199 (x_button_redisplay): ditto.
10200 (x_progress_gauge_redisplay): ditto.
10201 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
10203 (console_type_create_glyphs_x): update -> redisplay.
10204 (image_instantiator_format_create_glyphs_x): ditto.
10207 (check_valid_instantiator): disallow glyphs in the instantiator,
10208 they must now be vectors.
10209 (check_valid_instantiator_list): ditto.
10210 (glyph_instantiator_to_glyph): use internal symbol rather than
10212 (widget_update): renamed from widget_set_property. Call cascaded
10214 (redisplay_widget): renamed from update_widget.
10215 (widget_layout): image_instance_layout now takes position as well
10217 (widget_normalize): ditto.
10218 (widget_instantiate): ditto.
10219 (tab_control_query_geometry) ditto.:
10220 (tab_control_update): renamed from tab_control_set_property.
10221 (progress_gauge_update): set_property -> update.
10222 (layout_normalize): rewrite so that child instantiators are
10224 (layout_update): new function. Create glyphs from the normalized
10225 children and cope with any other layout keywords. We do not
10226 instantiate children here that will be take care of by
10227 redisplay_output_layout.
10228 (layout_instantiate): call layout_update and not much else.
10229 (layout_post_instantiate): not sure whether this is needed
10231 (layout_query_geometry): query glyph geometry rather than
10232 image_instance geometry.
10233 (layout_layout): set offsets from pass in parameters. Use glyph
10234 geometry and layout functions rather than image instance ones.
10235 (native_layout_layout): ditto.
10236 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
10237 (image_instantiator_widget): set_property -> update.
10238 (image_instantiator_buttons): ditto.
10239 (image_instantiator_progress_guage): ditto.
10240 (image_instantiator_tab_control): ditto.
10241 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
10242 (image_instantiator_layout): add update method.
10244 * glyphs-msw.c (bmp_normalize):
10245 (mswindows_resource_normalize): add dest_mask so that it can be
10246 proprogated by layout_normalize.
10247 (begin_defer_window_pos): make optional because it may not be the
10248 right thing to do and it introduces differences with X.
10249 (mswindows_unmap_subwindow): ditto.
10250 (mswindows_map_subwindow): ditto.
10251 (mswindows_redisplay_subwindow): renamed from
10252 mswindows_update_subwindow.
10253 (mswindows_redisplay_widget): ditto.
10254 (mswindows_button_redisplay): renamed from
10255 mswindows_button_update. Update is now what the instantiation
10256 function does for a changed instantiator.
10257 (mswindows_progress_gauge_instantiate): set the progress value
10258 here if appropriate.
10259 (mswindows_tab_control_redisplay): cope with re-ordering of the
10260 members of the tab widget by simply selecting the new top
10261 widget. This makes things appear ok if you click on a tab.
10262 (mswindows_combo_box_instantiate): image_instance_layout now takes
10263 position as well as size.
10264 (mswindows_progress_gauge_redisplay): renamed from
10265 mswindows_progress_gauge_update.
10266 (console_type_create_glyphs_mswindows): fix update -> redisplay.
10267 (image_instantiator_format_create_glyphs_mswindows): ditto.
10269 * glyphs-eimage.c (jpeg_normalize):
10272 (tiff_normalize): add dest_mask so that it can be proprogated by
10276 (print_hash_table):
10277 (hash_table_weakness_validate):
10278 (decode_hash_table_weakness):
10279 (Fhash_table_weakness):
10280 (Fhash_table_type):
10281 (syms_of_elhash): use Ben's naming scheme for hashtable types..
10283 * console.h (struct console_methods): move update_* to
10286 2000-07-20 Ben Wing <ben@xemacs.org>
10288 * *.[ch] (XSETOBJ): remove unused middle argument.
10289 lisp-disunion.h: correct wrap_object() to one argument.
10291 2000-07-15 Ben Wing <ben@xemacs.org>
10294 * s/cygwin32.h (CYGWIN_CONV_PATH):
10295 Add missing logb prototype for v1.1.
10296 Use post-b20 names and alias to pre-b20 names when pre-b20.
10298 * s/windowsnt.h: [5].
10300 2000-07-15 Ben Wing <ben@xemacs.org>
10302 * Makefile.in.in (x_objs):
10303 * Makefile.in.in (sheap_objs):
10304 * Makefile.in.in (objs):
10305 added win32.o, cosmetic cleanups.
10307 * alloc.c (Fmake_byte_code):
10308 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
10309 etc. macros which declare their own args now.
10311 * alloc.c (syms_of_alloc):
10312 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
10315 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
10317 * buffer.c (Fget_file_buffer):
10318 Fixed GCPRO problem.
10320 * buffer.c (get_truename_buffer):
10321 Fixed comment about GC checking.
10323 * buffer.c (syms_of_buffer):
10324 Undeclared those dedicated frame funs.
10328 Define convenience macros for internal/external conversions.
10329 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
10330 and Qenvironment_variable_encoding for cleaner code.
10333 Remove dedicated-frame; in lisp.
10335 * bytecode.c (funcall_compiled_function):
10338 * bytecode.c (syms_of_bytecode):
10342 * console-msw.c (mswindows_show_console): Rewrote.
10344 * console-msw.c (Fmswindows_debugging_output): New.
10345 Sends to OutputDebugString (special MSWin debugger interface).
10347 * console-msw.c (Fmswindows_message_box):
10348 Fixed stupid bugs so it works when called from kill-emacs.
10350 * console-msw.c (syms_of_console_mswindows):
10351 Declare Fmswindows_debugging_output.
10354 New MSWin prototypes.
10356 * console-msw.h (struct mswindows_frame):
10357 New entry last-click-mods for improved button-modifier support.
10359 * console-msw.h (FRAME_MSWINDOWS_POPUP):
10360 New struct entry `popup' with corresponding accessor.
10363 * console-x.c (split_up_display_spec):
10364 * console-x.c (get_display_arg_connection):
10365 * console-x.c (x_semi_canonicalize_console_connection):
10366 * console-x.c (x_canonicalize_device_connection):
10367 [[[6]]]: Change char to more specific type.
10368 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
10370 * console-x.c (x_semi_canonicalize_console_connection):
10371 * console-x.c (x_canonicalize_device_connection):
10372 [[[9]]]: Fix up error signalling to use new structured error system.
10375 [[[4]]]: Define codesys aliases:
10376 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
10377 Qx_color_name_encoding, Qx_display_name_encoding.
10379 * console.h (struct console_methods):
10380 New method make_dialog_box_internal supersedes older
10381 popup_dialog_box method.
10384 Define many new errors, part of new structured errors.
10386 * data.c (init_errors_once_early):
10387 * data.c (syms_of_data):
10390 * device-msw.c (mswindows_init_device):
10391 [[[5]]]: Cleanup to support NT 3.51.
10393 * device-msw.c (decode_devmode): Cleanup.
10395 * device-msw.c (mswindows_handle_print_setup_dialog_box):
10396 * device-msw.c (mswindows_handle_print_dialog_box):
10397 * device-msw.c (mswindows_handle_page_setup_dialog_box):
10398 * device-msw.c (syms_of_device_mswindows):
10399 Delete the dialog box primitives recently introduced by Kirill and
10400 instead interface to general dialog box interface.
10403 * device-x.c (compute_x_app_name):
10404 * device-x.c (x_init_device):
10405 * device-x.c (Fx_valid_keysym_name_p):
10406 * device-x.c (Fx_set_font_path):
10410 * device.h (wrap_device): New.
10411 First of its kind; meant to replace XSETDEVICE.
10413 * dialog-msw.c: Many file-dialog symbols.
10415 * dialog-msw.c (mswindows_register_popup_frame): New.
10416 * dialog-msw.c (mswindows_is_dialog_msg): New.
10417 For supporting kbd traversal in dialog boxes.
10419 * dialog-msw.c (dialog_proc):
10420 Support hitting ESC in dialogs.
10422 * dialog-msw.c (struct):
10423 Common dialog box errors.
10425 * dialog-msw.c (handle_file_dialog_box): New.
10426 Add file dialog code.
10428 * dialog-msw.c (handle_question_dialog_box):
10429 Redo existing code to support new question dialog syntax.
10431 * dialog-msw.c (console_type_create_dialog_mswindows):
10432 We support new dialog console method.
10434 * dialog-msw.c (syms_of_dialog_mswindows):
10435 * dialog-msw.c (vars_of_dialog_mswindows):
10436 New file dialog symbols, vars.
10439 * dialog-x.c (maybe_run_dbox_text_callback):
10440 * dialog-x.c (dbox_descriptor_to_widget_value):
10441 * dialog-x.c (x_make_dialog_box_internal):
10442 * dialog-x.c (console_type_create_dialog_x):
10443 Mule-ize entire file.
10444 Redo to support question dialog syntax.
10448 * dialog.c (Fmake_dialog_box_internal):
10449 * dialog.c (syms_of_dialog):
10450 Kill old popup-dialog-box, replace with new primitive.
10451 Just call device method or signal error.
10453 * eldap.c (Fldap_open):
10454 * eldap.c (Fldap_search_basic):
10455 * eldap.c (Fldap_add):
10456 * eldap.c (Fldap_modify):
10461 * emacs.c (make_arg_list_1):
10462 * emacs.c (make_arg_list):
10463 Mule-ize call to dll_init().
10467 * emacs.c (make_argc_argv):
10468 * emacs.c (free_argc_argv):
10469 * emacs.c (init_cmdargs):
10470 * emacs.c (main_1):
10471 * emacs.c (Fkill_emacs):
10472 * emacs.c (Fdump_emacs):
10473 Update comments about what can be used in syms_* etc.
10474 Call init_win32() when necessary.
10475 Fix up MS Win dialog box in kill-buffer to actually work right.
10486 * eval.c (condition_case_3):
10488 * eval.c (function_argcount):
10489 * eval.c (funcall_lambda):
10492 * eval.c (type_error): New.
10493 * eval.c (maybe_type_error): New.
10494 * eval.c (continuable_type_error): New.
10495 * eval.c (maybe_continuable_type_error): New.
10496 * eval.c (type_error_with_frob): New.
10497 * eval.c (maybe_type_error_with_frob): New.
10498 * eval.c (continuable_type_error_with_frob): New.
10499 * eval.c (maybe_continuable_type_error_with_frob): New.
10500 New functions for use with structured errors.
10503 * event-Xt.c (x_event_to_emacs_event):
10504 Buttons are now modifiers too.
10506 * event-Xt.c (emacs_Xt_current_event_timestamp):
10507 Implement new event method.
10508 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
10511 * event-msw.c (ntpipe_shove_writer): [5].
10512 * event-msw.c (mswindows_enqueue_mouse_button_event):
10513 * event-msw.c (mswindows_drain_windows_queue):
10514 * event-msw.c (mswindows_wnd_proc): [7].
10515 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
10516 * event-msw.c (mswindows_modifier_state):
10517 Throughout: support new button modifiers.
10519 * event-msw.c (emacs_mswindows_current_event_timestamp):
10520 Implement new event method.
10521 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
10524 * event-stream.c (event_stream_current_event_timestamp): New.
10525 * event-stream.c (maybe_kbd_translate): New functionality.
10526 * event-stream.c (vars_of_event_stream):
10527 Document new kbd-translate-table functionality.
10529 * event-stream.c (Fcurrent_event_timestamp): New.
10530 New primitive for use in fabricated events.
10531 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
10533 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
10536 * events.c (Fmake_event):
10537 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
10541 * events.c (format_event_object): fix gcc warnings.
10543 * events.c (Fevent_timestamp): Document new primitives.
10545 * events.c (TIMESTAMP_HALFSPACE): New.
10547 * events.c (Fevent_timestamp_lessp): New. New primitive for
10548 comparing timestamps correctly (half-space algorithm).
10550 * events.c (Fevent_modifier_bits): Doc fix.
10552 * events.c (Fevent_modifiers): Major doc addition.
10553 * events.c (event_x_y_pixel_internal): Typo fix.
10554 * events.c (syms_of_events): Declare new primitives.
10557 Update long comment for button modifiers, timestamps.
10559 * events.h (struct event_stream):
10560 New current_event_timestamp method.
10563 * extents.c (extent_in_region_p):
10564 * extents.c (decode_extent):
10565 * extents.c (Fset_extent_parent):
10566 * extents.c (decode_map_extents_flags):
10570 * extents.c (struct extent_at_arg):
10571 * extents.c (decode_extent_at_flag):
10572 * extents.c (extent_at_mapper):
10573 * extents.c (extent_at_bytind):
10574 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
10575 * extents.c (Fextents_at): New primitive. [9].
10576 * extents.c (symbol_to_glyph_layout): [9].
10577 Support new primitive `extents-at'.
10580 * extents.c (get_text_property_bytind):
10581 extent_at_bytind has another arg.
10584 * extents.c (syms_of_extents): New primitive.
10586 * file-coding.c (Fmake_coding_system): [1].
10587 * file-coding.c (subsidiary_coding_system): fix gcc warning
10588 * file-coding.c (syms_of_file_coding): [2].
10590 * fileio.c (Fexpand_file_name):
10591 * fileio.c (Fsysnetunam):
10592 * fileio.c (Ffile_exists_p):
10593 * fileio.c (Ffile_executable_p):
10594 * fileio.c (Fverify_visited_file_modtime):
10597 * fileio.c (syms_of_fileio): [2].
10599 * filelock.c (lock_file_1):
10600 * filelock.c (current_lock_owner):
10601 * filelock.c (lock_if_free):
10602 * filelock.c (lock_file):
10603 * filelock.c (unlock_file):
10606 * fns.c (concat): Fix gcc warning.
10609 * fns.c (Fold_member):
10611 * fns.c (Fold_memq):
10612 * fns.c (memq_no_quit):
10614 * fns.c (Fold_assoc):
10616 * fns.c (Fold_assq):
10617 * fns.c (assq_no_quit):
10619 * fns.c (Fold_rassoc):
10621 * fns.c (Fold_rassq):
10622 * fns.c (rassq_no_quit):
10624 * fns.c (Fold_delete):
10626 * fns.c (Fold_delq):
10627 * fns.c (delq_no_quit):
10628 * fns.c (Fremassoc):
10629 * fns.c (Fremassq):
10630 * fns.c (remassq_no_quit):
10631 * fns.c (Fremrassoc):
10632 * fns.c (Fremrassq):
10633 * fns.c (remrassq_no_quit):
10634 * fns.c (Freverse):
10638 * frame-msw.c (mswindows_init_frame_1):
10639 * frame-msw.c (mswindows_delete_frame):
10640 Register popups with dialog code so keyboard traversing works.
10642 * frame-tty.c (tty_raise_frame_no_select): [1].
10645 * frame-x.c (x_set_frame_text_value):
10646 * frame-x.c (x_set_frame_properties):
10647 * frame-x.c (x_create_widgets):
10651 * frame.c (Fmouse_pixel_position): Minor doc fixes.
10653 * frame.h (wrap_frame): New.
10654 Macro like wrap_device.
10657 * general.c (SYMBOL):
10658 * general.c (syms_of_general):
10659 Major reorg. This is now just a wrapper and symbols themselves
10660 are listed in general-slots.h.
10662 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
10663 * glyphs-msw.c (mswindows_resource_instantiate): [5].
10665 * glyphs-msw.c (mswindows_native_layout_instantiate):
10666 Add DS_CONTROL so keyboard traversal will work.
10669 * glyphs-widget.c (syms_of_glyphs_widget):
10670 Move some symbols to general-slots.h.
10673 * glyphs-x.c (xbm_instantiate_1):
10674 * glyphs-x.c (x_xbm_instantiate):
10675 * glyphs-x.c (x_xface_instantiate):
10676 * glyphs-x.c (autodetect_instantiate):
10677 * glyphs-x.c (cursor_font_instantiate):
10678 * glyphs-x.c (x_update_widget):
10679 * glyphs-x.c (x_widget_instantiate):
10680 * glyphs.c (bitmap_to_lisp_data):
10681 * glyphs.c (pixmap_to_lisp_data):
10684 * glyphs.c (syms_of_glyphs):
10688 * gui-x.c (print_widget_value):
10689 * gui-x.c (menu_separator_style_and_to_external):
10690 * gui-x.c (add_accel_and_to_external):
10691 * gui-x.c (button_item_to_widget_value):
10692 * gui-x.c (gui_items_to_widget_values_1):
10693 * gui-x.c (gui_items_to_widget_values):
10694 * gui-x.c (syms_of_gui_x):
10695 * gui-x.c (vars_of_gui_x):
10696 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
10700 Muleize, prototype changes matching gui-x.c.
10703 * gui.c (separator_string_p):
10704 * gui.c (gui_item_add_keyval_pair):
10705 * gui.c (make_gui_item_from_keywords_internal):
10706 * gui.c (signal_too_long_error):
10707 * gui.c (parse_gui_item_tree_item):
10708 * gui.c (syms_of_gui):
10709 * gui.c (vars_of_gui):
10711 menu-no-selection-hook moved here (used by MSWin).
10712 Move some symbols to general-slots.h.
10716 * insdel.c (get_buffer_pos_char):
10717 * insdel.c (get_buffer_range_char):
10720 * keymap.c (keymap_lookup_directly):
10721 * keymap.c (keymap_store):
10722 * keymap.c (ensure_meta_prefix_char_keymapp):
10723 * keymap.c (describe_map):
10725 Support new button modifiers.
10727 * lisp-disunion.h (wrap_object):
10728 * lisp-disunion.h (XSETOBJ):
10729 Rename make_obj to wrap_object.
10732 * lisp-union.h (make_int):
10733 * lisp-union.h (make_char):
10734 Support wrap_object.
10737 * lisp.h (LIST_LOOP):
10738 * lisp.h (EXTERNAL_LIST_LOOP):
10739 * lisp.h (LIST_LOOP_2):
10740 * lisp.h (EXTERNAL_LIST_LOOP_1):
10741 * lisp.h (EXTERNAL_LIST_LOOP_2):
10742 * lisp.h (EXTERNAL_LIST_LOOP_3):
10743 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
10744 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
10745 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
10746 * lisp.h (EXTERNAL_ALIST_LOOP_5):
10747 * lisp.h (EXTERNAL_ALIST_LOOP_6):
10748 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
10749 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
10750 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
10751 * lisp.h (struct Lisp_Symbol):
10752 * lisp.h (maybe_continuable_error_with_frob):
10753 Fix up section comments.
10754 Add new types for char to indicate usage.
10755 Delete symbols auto-generated from general-slots.h.
10756 Add prototypes for structured error functions.
10757 Add long comments describing looping macros and change interface
10758 so that lvalues are automatically declared.
10759 Add NO_DECLARE macro in case callers want to declare lvalues
10762 * lread.c (read_syntax_error):
10763 * lread.c (continuable_read_syntax_error):
10764 * lread.c (read_structure):
10765 * lread.c (sequence_reader):
10766 * lread.c (read_list_conser):
10767 * lread.c (read_compiled_function):
10768 Rename syntax_error and continuable_syntax_error to avoid clash
10769 with same-named structured error functions.
10771 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
10772 * menubar-msw.c (populate_menu_add_item):
10773 * menubar-msw.c (populate_or_checksum_helper):
10778 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10779 Mule-ize whole file.
10781 * menubar.c (Fnormalize_menu_item_name): Add optimization.
10783 * mule-charset.c (Fmake_charset):
10784 * mule-wnnfns.c (Fwnn_set_param):
10787 * ntproc.c (create_child):
10788 * ntproc.c (Fwin32_set_current_locale):
10789 Add comments portending doom.
10792 * objects-msw.c (old_font_enum_callback_2):
10793 * objects-msw.c (font_enum_callback_1):
10794 * objects-msw.c (mswindows_enumerate_fonts):
10798 * objects-x.c (allocate_nearest_color):
10799 * objects-x.c (x_parse_nearest_color):
10800 * objects-x.c (x_initialize_color_instance):
10801 * objects-x.c (x_print_color_instance):
10802 * objects-x.c (x_finalize_color_instance):
10803 * objects-x.c (x_valid_color_name_p):
10804 * objects-x.c (x_initialize_font_instance):
10805 * objects-x.c (x_print_font_instance):
10806 * objects-x.c (valid_x_font_name_p):
10807 * objects-x.c (truename_via_FONT_prop):
10808 * objects-x.c (truename_via_random_props):
10809 * objects-x.c (truename_via_XListFonts):
10810 * objects-x.c (x_font_truename):
10811 * objects-x.c (x_font_instance_truename):
10812 * objects-x.c (x_font_instance_properties):
10813 * objects-x.c (x_list_fonts):
10814 * objects-x.c (x_find_charset_font):
10815 Mule-ize entire file.
10822 * print.c (std_handle_out_external):
10823 * print.c (debug_print_no_newline):
10824 * print.c (syms_of_print):
10825 Output to all debugger kinds in debug-print.
10826 Fix console-output code under MSWin to actually work.
10828 * process-nt.c (send_signal):
10829 * process-nt.c (nt_create_process):
10830 Use newer Unicode macros.
10832 * process-unix.c (unix_create_process):
10833 * process-unix.c (unix_canonicalize_host_name):
10834 * process-unix.c (unix_open_network_stream):
10840 * search.c (syms_of_search):
10843 * select-msw.c (mswindows_destroy_selection):
10846 * select-x.c (symbol_to_x_atom):
10849 * select.c (syms_of_select):
10852 * sound.c (Fplay_sound_file):
10856 * specifier.c (decode_specifier_type):
10857 * specifier.c (Fvalid_specifier_locale_type_p):
10858 * specifier.c (check_valid_locale_or_locale_type):
10859 * specifier.c (decode_locale):
10860 * specifier.c (decode_locale_type):
10861 * specifier.c (decode_locale_list):
10862 * specifier.c (check_valid_domain):
10863 * specifier.c (decode_specifier_tag_set):
10864 * specifier.c (Fcanonicalize_tag_set):
10865 * specifier.c (Fdefine_specifier_tag):
10866 * specifier.c (Fspecifier_tag_predicate):
10867 * specifier.c (check_valid_inst_list):
10868 * specifier.c (check_valid_spec_list):
10869 * specifier.c (decode_how_to_add_specification):
10870 * specifier.c (check_modifiable_specifier):
10871 * specifier.c (specifier_add_spec):
10872 * specifier.c (boolean_validate):
10873 * specifier.c (display_table_validate):
10876 * specifier.c (syms_of_specifier):
10877 Move some symbols to general-slots.h.
10881 * symbols.c (Fmapatoms):
10882 * symbols.c (Fapropos_internal):
10885 * symbols.c (set_default_buffer_slot_variable):
10886 * symbols.c (set_default_console_slot_variable):
10889 * symbols.c (defsymbol_massage_name_1):
10890 * symbols.c (defkeyword_massage_name):
10891 * symbols.c (deferror_1):
10892 * symbols.c (deferror):
10893 * symbols.c (deferror_massage_name_and_message):
10895 * symeval.h (DEFSYMBOL):
10896 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
10898 * symbols.c (syms_of_symbols):
10902 * symsinit.h (init_win32): New.
10903 Also new is syms_of_dialog_mswindows.
10906 Add new Unicode macros, missing Cygwin wide-char functions,
10907 convenience conversion macros for Qmswindows_tstr, macros for
10908 encapsulating required MSWin <-> Cygwin filename conversions,
10909 prototype for dynamically-extracted (not in NT 3.51) functions.
10914 * tooltalk.c (Fadd_tooltalk_message_arg):
10915 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
10916 * tooltalk.c (Fadd_tooltalk_pattern_arg):
10919 * tooltalk.c (syms_of_tooltalk):
10923 * unexnt.c (unexec):
10924 Fix up headers, declaration of unexec() to be more standard.
10926 2000-07-20 Martin Buchholz <martin@xemacs.org>
10928 * offix.h: Revert change to guard macros - they're used in offix.c!
10930 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10932 * lisp.h: Defsubred Fdelete.
10934 * console-msw.h: (msprinter_default_printer): Added.
10936 * console-msw.c (msprinter_canonicalize_console_connection):
10937 (msprinter_canonicalize_device_connection): Added.
10939 * device-msw.c (msprinter_default_printer):
10940 (Fmswingows_get_default_printer):
10941 (signal_enum_priner_error):
10942 (Fmswingows_printer_list): Added.
10944 2000-07-19 Martin Buchholz <martin@xemacs.org>
10946 * XEmacs 21.2.35 is released.
10948 2000-07-19 Martin Buchholz <martin@xemacs.org>
10950 * select-x.c (x_handle_selection_request):
10951 Text selected in xemacs and pasted into xterm failed to appear.
10952 Spelling fixes and cosmetic changes.
10954 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10956 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
10957 XEmacs frame (fix for doubling chars in dialog boxes).
10959 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
10961 * select.c (select_convert_in, select_convert_out):
10962 Don't call intern() every time.
10964 * select.c (Qselect_convert_in, Qselect_convert_out): New.
10965 * select.c (vars_of_select): Initialise them.
10967 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
10969 * select.c (selection-coercible-types): New.
10971 * select.c (own-selection-internal):
10972 * select.c (get-selection-internal):
10973 MULE bug fix - these should default to COMPOUND_TEXT and not
10974 STRING for MULE. I think.
10976 * select.c (select_convert_out): Use selection-coercible-types
10977 to find types that we can attempt to perform coercions on.
10979 2000-07-18 Martin Buchholz <martin@xemacs.org>
10983 Add coding: cookie to identify encoding.
10985 * mule-canna.c (CANNA_mode_keys): make static.
10986 Use proper prototypes, even for functions of no arguments.
10987 Remove external prototype for Fding().
10989 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
10991 * select.c (syms_of_select): Add missing DEFSUBR.
10993 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
10995 * select.c (get_selection_internal, own_selection_internal):
10996 Make the type default to STRING, rather than placing a nil type
10997 into Vselection_alist.
10999 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
11001 * gpmevent.c (tty_selection_exists_p):
11002 * gpmevent.c (tty_own_selection):
11003 Updated parameter lists.
11005 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
11007 * select.h (selection-alist): Removed declaration.
11009 * select.h (get_local_selection):
11010 * select.c (get_local_selection):
11013 * select.h (convert_selection): Removed declaration.
11014 * select.c (convert_selection): Removed.
11015 This function belongs in Lisp.
11017 * select.h (select_convert_in): Declare.
11018 * select.h (select_convert_out): Declare.
11019 * select.c (select_convert_in): New.
11020 * select.c (select_convert_out): New.
11021 New conversion functions for other files to call.
11023 * select.h (select_notify_buffer_kill): Declare.
11024 * select.c (select_notify_buffer_kill): New.
11025 New functions that get called from kill-buffer.
11027 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
11028 X-specific lisp code.
11030 * select.h: Declare some of the lisp-visible functions for
11033 * select.c (clean_local_selection_data): Removed. This was
11034 a disgusting function, and previously should have been in
11035 select-x.c in any case. The functionality is now provided
11036 in select-convert-from-integer (select.el).
11038 * select.c (available-selection-types): Fixed stupidity where
11039 INTEGER and ATOM got added twice. Also add STRING when we see an
11042 * select.c (get-selection-internal): Removed symbol stripping. No
11043 longer causes conversion when data comes from the internal cache.
11045 * select.c (syms_of_select): Added new functions.
11047 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
11048 error checking - previously this called abort!
11050 * select-x.c (x_own_selection): Changed comment.
11052 * select-x.c (x_handle_selection_request): Use select_convert_out.
11053 Don't mess with selection-alist; it's an internal variable of select.c.
11055 * select-x.c (x_get_foreign_selection): Use select_convert_in.
11057 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
11058 rather than messing with selection-alist.
11060 * select-msw.c (mswindows_get_foreign_selection):
11061 Use TO_INTERNAL_FORMAT rather than hacking.
11063 2000-07-14 Martin Buchholz <martin@xemacs.org>
11065 * process-unix.c (unix_open_multicast_group):
11066 (unix_open_multicast_group): Remove useless casts.
11068 2000-07-13 Martin Buchholz <martin@xemacs.org>
11070 * sound.c (Fplay_sound): Fix `unused variable' warning.
11072 * emacs.c (main): Use correct type for _environ on SCO5.
11074 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
11076 * console.h (own_selection_method):
11077 * console.h (selection_exists_p_method):
11078 * console.h (available_selection_types_method): New.
11079 * console.h (register_selection_data_type_method): New.
11080 * console.h (selection_data_type_name): New.
11082 * console-msw.h (mswindows_destroy_selection): Declare it. New
11083 function & alist to track GlobalAlloc()'d handles that need
11084 releasing when the clipboard data gets replaced or emptied.
11086 * event-msw.c (mswindows_wnd_proc): Call it.
11088 * lisp.h, general.c (Qappend): New symbol representing a
11091 * select.c (own-selection-internal):
11092 * select.c (selection-exists-p):
11093 * select.c (available-selection-types): New.
11094 * select.c (register-selection-data-type): New.
11095 * select.c (selection-data-type-name): New. New functions to deal
11096 with device-specific selection data formats.
11097 * select.c (selection-converter-out-alist): Renamed.
11098 * select.c (selection-converter-in-alist): New.
11099 * select.c (selection-appender-alist): New. Added new alists.
11100 * select.c (syms_of_select, vars_of_select): Added new symbols &
11102 * select.c (get_local_selection): Split.
11103 * select.c: Removed spurious type checking - selections may now be
11104 of any type, not just strings.
11105 * select.c (own-selection-internal):
11107 * select.h, select.c (convert_selection): New. Created
11108 convert_selection() function based on get_local_selection().
11109 * select.h, select.c (QCF_*): New symbols representing mswindows
11111 * select.h, select.c (Qreplace_all, Qreplace_existing): New
11112 symbols representing `how-to-add' modes.
11114 * select-msw.c (x_sym_p): New.
11115 * select-msw.c (symbol_to_ms_cf): New.
11116 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
11117 symbols & clipboard formats. Can also handle string names.
11118 * select-msw.c (mswindows_own_selection):
11119 * select-msw.c (mswindows_selection_exists_p):
11120 Added `data-type' parameter. Use it.
11121 * select-msw.c (mswindows_available_selection_types): New.
11122 * select-msw.c (mswindows_register_selection_data_type): New.
11123 * select-msw.c (mswindows_selection_data_type_name): New.
11124 * select-msw.c (mswindows_own_selection):
11125 * select-msw.c (mswindows_get_foreign_selection):
11126 * select-msw.c (mswindows_selection_exists_p): Rewrote.
11127 * select-msw.c (console_create_select_mswindows): Added new methods.
11128 * select-msw.c (mswindows_destroy_selection): New.
11129 * select-msw.c (Vhandle_alist): New list.
11130 * select-msw.c (mswindows_own_selection):
11132 * select-x.c (x_own_selection):
11133 * select-x.c (x_selection_exists_p):
11134 * select-x.c: Added some comments about maybe using new
11136 * select-x.c (x_own_selection):
11138 * specifier.c: Remove definition of Qappend (now in general.c)
11139 * specifier.c (syms_of_specifier): Remove Qappend.
11141 2000-07-12 Martin Buchholz <martin@xemacs.org>
11143 * config.h.in: Add socklen_t.
11145 * s/decosf4-0.h: No special compiler flags needed or desired.
11146 In particular, undefine _BSD for DEC OSF 4.0.
11148 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11150 * redisplay-msw.c (msprinter_frame_output_end): Added.
11151 (console_type_create_redisplay_mswindows): Referred the above.
11153 * frame.c (setup_frame_without_minibuffer): Do not create a
11154 default minibuffer frame on a printer device.
11156 * frame-msw.c (apply_dc_geometry): Added.
11157 (msprinter_start_page):
11158 (msprinter_init_frame_3):
11159 (msprinter_eject_page): Use it.
11161 * console-msw.h (struct msprinter_frame): Added pix_left and top,
11162 and removed residual duplex and orientation properties.
11164 2000-07-11 Martin Buchholz <martin@xemacs.org>
11166 * eval.c (function_argcount): Work around a DEC CC compiler bug.
11168 * unexalpha.c: Remove system prototypes from C sources!
11170 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
11172 * eval.c: Remove references to M-x edit-options in DEFUNs for
11173 `defvar' and `defconst'.
11175 2000-07-09 Martin Buchholz <martin@xemacs.org>
11177 * config.h.in: Remove SMART_INCLUDE hackery.
11179 PostgreSQL hacking:
11180 * config.h.in: Don't use SMART_INCLUDE.
11182 * postgresql.h: Include libpq-fe.h here. Fix typo.
11183 * inline.c: Simply #include "postgresql.h"
11185 - Don't use SMART_INCLUDE
11186 - Use simply "const".
11187 - Use standard doc string conventions.
11188 - Use correct type for result of PQstatus.
11190 2000-07-09 Martin Buchholz <martin@xemacs.org>
11192 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
11194 C++ compilation changes.
11195 * config.h.in (EXTERN_C): Define.
11196 * config.h.in (not): This is also a C++ keyword.
11197 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
11198 * cm.c: Use EXTERN_C.
11199 * redisplay-tty.c: Use EXTERN_C.
11200 * sysdep.c: Use EXTERN_C. Remove Gould support.
11202 2000-07-09 Martin Buchholz <martin@xemacs.org>
11204 * general.c: Remove duplicate definition for Qfunction.
11206 2000-07-08 Ben Wing <ben@xemacs.org>
11208 * device-msw.c (msprinter_init_device):
11209 * device-msw.c (sync_printer_with_devmode):
11210 * device-msw.c (handle_devmode_changes):
11211 * device-msw.c (print_dialog_worker):
11212 * device-msw.c (Fmsprinter_apply_settings):
11213 * device-msw.c (hash_devmode):
11214 * device-msw.c (Fmsprinter_settings_despecialize):
11215 use Qmswindows_tstr, not Qctext.
11217 * vm-limit.c (check_memory_limits):
11218 avoid infinite loop printing warning messages.
11220 2000-07-05 Craig Lanning <lanning@scra.org>
11222 * Makefile.in.in: Add support for including the Windows resources
11223 when building with the cygwin and mingw targets.
11225 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
11226 not set or not correct.
11227 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
11228 (init_initial_directory): Don't try to use $PWD on the
11229 WIN32_NATIVE target.
11232 [[Add -mwindows to eliminate console window.]] not required --ben
11233 (HAVE_NATIVE_SOUND): removed; now handled by configure.
11234 (MAIL_USE_POP): removed; now handled by configure.
11236 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
11237 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
11238 (HAVE_NATIVE_SOUND): removed; now handled by configure.
11239 (MAIL_USE_POP): removed; now handled by configure.
11240 (ENCAPSULATE_STAT): from Dan Holmsand, added.
11241 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
11242 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
11244 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
11245 up from <winsock.h> via systime.h.
11246 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
11247 (getpagesize): from Dan Holmsand, added.
11248 Added #endif which was left dangling by Ben's mega patch; added
11249 comment to help prevent this in the future.
11251 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
11253 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11255 * console-msw.h (struct mswindows_device): Removed unnecessary
11256 cached device geometry values.
11257 Added update_tick and an accessor macro.
11258 (Lisp_Devmode): Added lrecord declaration.
11259 (struct msprinter_device): Contain devmode as a Lisp object.
11260 Added mswindows_get_selected_frame_hwnd();
11262 * console.h (struct console_methods): Indentation nitpicking.
11264 * device-msw.c (mswindows_init_device): Do not initialize geometry
11265 cache. Initialize update tick.
11266 (mswindows_device_system_metrics): Ask the device for its geometry.
11267 (global_free_2_maybe):
11268 (devmode_to_hglobal):
11269 (handle_printer_changes):
11270 (ensure_not_printing):
11271 (print_dialog_worker):
11272 (Fmsprinter_print_setup_dialog):
11273 (Fmsprinter_print_dialog):
11274 (plist_get_margin):
11275 (plist_set_margin):
11276 (Fmsprinter_page_setup_dialog): Added functions.
11277 (sync_printer_with_devmode):
11278 (handle_devmode_changes):
11279 (Fmsprinter_get_settings):
11280 (Fmsprinter_select_settings):
11281 (Fmsprinter_apply_settings):
11282 (allocate_devmode):
11283 (Fmsprinter_settings_copy):
11284 (Fmsprinter_settings_despecialize):
11286 (finalize_devmode):
11288 (hash_devmode): Added functions
11289 (syms_of_device_mswindows): Init devmode lrecord class.
11291 * device.h: Added an exfun for find-device.
11293 * event-msw.c (mswindows_wnd_proc): Do not update the cached
11294 geometry; although, recreate the device compatible DC.
11296 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
11297 (msprinter_init_frame_3):
11298 (msprinter_frame_property):
11299 (msprinter_internal_frame_property_p):
11300 (msprinter_frame_properties):
11301 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
11302 print job properties (will move to device settings).
11304 * lisp.h: Added symbols.
11306 * general.c (syms_of_general): Declared them.
11308 * hash.c (string_hash): Added.
11310 * lrecord.h (lrecord_type): Added devmode lrecord type.
11312 2000-07-02 Mike Sperber <mike@xemacs.org>
11314 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
11317 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
11319 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
11322 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
11324 * data.c (Fstring_to_number): Don't recognize floating point if
11327 2000-06-22 Martin Buchholz <martin@xemacs.org>
11329 * glyphs-widget.c (tab_control_query_geometry):
11330 (widget_query_geometry):
11331 (button_query_geometry):
11332 * glyphs.c (text_query_geometry):
11333 Enforce type correctness.
11335 2000-06-18 Martin Buchholz <martin@xemacs.org>
11337 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
11338 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
11340 2000-06-17 Martin Buchholz <martin@xemacs.org>
11342 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
11343 conflicts with gcc's fixincluded version of FOO.h.
11345 * glyphs.h (image_instance_geometry): Remove trailing `,'
11347 2000-06-08 Mike Alexander <mta@arbortext.com>
11349 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
11350 (shove_thread): Don't write the same output twice
11351 (make_ntpipe_output_stream): Increase priority of shove thread
11352 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
11354 (ntpipe_shove_closer): Don't delete the pipe until we're done with
11357 2000-06-12 Ben Wing <ben@xemacs.org>
11359 * s\mingw32.h (sigset):
11360 * s\windowsnt.h (sigset):
11361 rename msw_ to mswindows_ for consistency with general convention.
11363 2000-06-12 Ben Wing <ben@xemacs.org>
11366 * console-msw.c (mswindows_get_console_hwnd):
11367 * console-msw.c (mswindows_ensure_console_allocated):
11368 * console-msw.c (mswindows_hide_console):
11369 * console-msw.c (mswindows_show_console):
11370 * console-msw.c (mswindows_ensure_console_buffered):
11371 * console-msw.c (mswindows_output_console_string):
11372 * console-msw.c (mswindows_windows9x_p):
11374 * device-msw.c (mswindows_get_workspace_coords):
11375 * device-msw.c (mswindows_device_system_metrics):
11376 * dialog-msw.c (mswindows_popup_dialog_box):
11377 * event-msw.c (mswindows_wnd_proc):
11378 * frame-msw.c (mswindows_size_frame_internal):
11379 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11380 * menubar-msw.c (displayable_menu_item):
11381 * menubar-msw.c (mswindows_char_is_accelerator):
11383 * nt.c (mswindows_sigset):
11384 * nt.c (mswindows_sigrelse):
11385 * nt.c (mswindows_sigpause):
11386 * nt.c (mswindows_raise):
11387 * nt.c (timer_proc):
11389 * ntproc.c (find_child_console):
11390 * ntproc.c (sys_kill):
11392 * print.c (std_handle_out_external):
11393 * process-nt.c (find_child_console):
11394 * process-nt.c (send_signal_the_95_way):
11395 * process-nt.c (ensure_console_window_exists):
11396 * process-nt.c (nt_create_process):
11398 rename msw_ to mswindows_ for consistency with general convention.
11402 include nt.h, not syswindows.h.
11404 * nt.c (mswindows_fstat):
11405 * nt.c (mswindows_stat):
11406 prefix mswindows_ instead of attempting to directly override the
11407 library functions. fix declarations.
11410 include syswindows.h. move some sysdep.h stuff here.
11413 include syswindows.h, not <windows.h>.
11421 * sysdep.c (sys_fstat):
11422 * sysdep.c (sys_stat):
11423 call mswindows versions when appropriate.
11426 move mswin decls to nt.h.
11429 add long comment describing appropriate use of the various windows
11432 2000-06-11 Ben Wing <ben@xemacs.org>
11434 * device-x.c: Correct doc string for sixth arg of x-get-resource.
11436 2000-06-10 Ben Wing <ben@xemacs.org>
11438 * Makefile.in.in (release):
11439 Correction to make sure xemacs.exe always dumped when correct.
11443 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
11445 * buffer.c (set_buffer_internal):
11446 [[[[2]]]]: Remove HAVE_FEP code.
11448 * buffer.c (init_initial_directory):
11452 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
11456 * callproc.c (call_process_cleanup):
11457 * callproc.c (Fold_call_process_internal):
11458 * callproc.c (child_setup):
11459 * callproc.c (getenv_internal):
11460 * callproc.c (init_callproc):
11461 * callproc.c (vars_of_callproc):
11462 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
11463 __CYGWIN32__ -> CYGWIN.
11464 DOS_NT -> WIN32_NATIVE.
11465 Remove MSDOS support/references, converting to WIN32_NATIVE
11467 __MINGW32__ -> MINGW.
11468 Fix windows.h includes.
11469 Remove bogus HAVE_NTGUI.
11475 mswindows_message_outputted added for use in allowing startup
11476 errors on the console to be seen.
11478 * console-msw.c (msw_ensure_console_allocated):
11479 * console-msw.c (msw_output_console_string):
11480 * console-msw.c (DHEADER):
11481 * console-msw.c (DOPAQUE_DATA):
11482 * console-msw.c (DEVENT):
11483 * console-msw.c (DCONS):
11484 * console-msw.c (DCONSCDR):
11485 * console-msw.c (DSTRING):
11486 * console-msw.c (DVECTOR):
11487 * console-msw.c (DSYMBOL):
11488 * console-msw.c (DSYMNAME):
11491 * console-stream.c (stream_init_console):
11492 Fix text/binary problems.
11495 * device-msw.c (mswindows_finish_init_device):
11496 * device-msw.c (mswindows_delete_device):
11499 * device.c (handle_asynch_device_change):
11503 * dgif_lib.c (DGifOpenFileName):
11504 * dgif_lib.c (DGifOpenFileHandle):
11505 * dgif_lib.c (DGifGetLine):
11506 * dgif_lib.c (DGifGetPixel):
11507 Added config.h/lisp.h, fix up includes.
11514 * dired.c (file_name_completion):
11515 * dired.c (Ffile_attributes):
11516 * dired.c (syms_of_dired):
11520 * dumper.c (pdump_file_unmap):
11521 * dumper.c (pdump_load):
11525 * editfns.c (Ftemp_directory):
11526 * editfns.c (user_login_name):
11527 * editfns.c (Fuser_real_login_name):
11528 * editfns.c (get_home_directory):
11531 * elhash.c (finish_marking_weak_hash_tables):
11532 [[[[5]]]]: Fix GCC warnings.
11535 * emacs.c (mswindows_handle_hardware_exceptions):
11536 * emacs.c (make_arg_list_1):
11537 * emacs.c (main_1):
11538 * emacs.c (Fkill_emacs):
11539 * emacs.c (Fdump_emacs):
11541 Fix problems with nested crashes, add long comment.
11543 * event-Xt.c (init_event_Xt_late):
11547 * event-msw.c (mswindows_dde_callback):
11548 * event-msw.c (mswindows_handle_sticky_modifiers):
11549 * event-msw.c (mswindows_wnd_proc):
11553 * events.c (character_to_event):
11557 * fileio.c (Ffile_name_directory):
11558 * fileio.c (Ffile_name_nondirectory):
11559 * fileio.c (directory_file_name):
11560 * fileio.c (Fexpand_file_name):
11561 * fileio.c (Fsubstitute_in_file_name):
11562 * fileio.c (Ffile_name_absolute_p):
11563 * fileio.c (check_executable):
11564 * fileio.c (Ffile_readable_p):
11565 * fileio.c (Ffile_accessible_directory_p):
11566 * fileio.c (Ffile_modes):
11567 * fileio.c (Funix_sync):
11568 * fileio.c (vars_of_fileio):
11571 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
11573 Expand getdefdir defn.
11574 Fix bogus rename() comment.
11576 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
11577 to use standard XEmacs include files, e.g. sysfile.h, rather
11578 than system-specific includes.
11584 * frame.c (vars_of_frame):
11588 * getloadavg.c (getloadavg):
11590 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
11591 (We don't use it elsewhere in the code; just add a comment.)
11598 * glyphs-msw.c (mswindows_resource_instantiate):
11601 * glyphs-x.c (x_native_layout_instantiate):
11604 * gui-msw.c (Fmswindows_shell_execute):
11613 * lread.c (locate_file_in_directory_mapper):
11620 * mem-limits.h (get_lim_data):
11632 * nt.c (rva_to_section):
11633 * nt.c (mswindows_executable_type):
11635 Fix closedir() defn.
11638 [[[[8]]]]: *_OK defs moved to sysfile.h.
11647 * print.c (std_handle_out_external):
11651 * process-nt.c (nt_create_process):
11653 try to fix process quoting somewhat.
11655 * process-unix.c (unix_create_process):
11659 * process.c (vars_of_process):
11666 * realpath.c (xrealpath):
11669 * redisplay-tty.c (init_tty_for_redisplay):
11679 * sheap.c (more_static_core):
11680 * sheap.c (report_sheap_usage):
11684 * signal.c (alarm_signal):
11691 * strftime.c (zone_name):
11694 * symsinit.h (init_sunpro):
11698 commctrl.h not in Cygwin b20.1.
11701 * sysdep.c (endif):
11702 * sysdep.c (sys_subshell):
11703 * sysdep.c (init_baud_rate):
11704 * sysdep.c (emacs_get_tty):
11705 * sysdep.c (emacs_set_tty):
11706 * sysdep.c (tty_init_sys_modes_on_device):
11707 * sysdep.c (init_system_name):
11708 * sysdep.c (sys_open):
11709 * sysdep.c (interruptible_open):
11710 * sysdep.c (sys_fopen):
11711 * sysdep.c (sys_mkdir):
11712 * sysdep.c (sys_rename):
11713 * sysdep.c (get_process_times_1):
11720 * sysdir.h (DIRENTRY_NONEMPTY):
11723 * sysdll.c (dll_init):
11729 added text/binary defs.
11735 * sysproc.h (EDESTADDRREQ):
11736 * sysproc.h (poll_fds_for_input):
11753 Always define WIN32_LEAN_AND_MEAN.
11755 * unexcw.c (unexec):
11759 * unexec.c (copy_text_and_data):
11760 * unexec.c (adjust_lnnoptrs):
11764 * unexnt.c (_start):
11767 2000-06-07 Ben Wing <ben@xemacs.org>
11769 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
11770 was used only as a model. We've long since extracted any useful
11771 logic or code out of this. (I just did an exhaustive search.)
11773 * s\msdos.h: Removed.
11775 * s\windows95.h: Removed.
11777 2000-06-10 Ben Wing <ben@xemacs.org>
11781 Don't use extern with fun defs.
11785 Remove nt\inc include.
11786 Remove getdisk, getdefdir. (The former is unused, the latter
11787 expanded in fileio.h.)
11790 * s\windowsnt.h (WIN32_NATIVE):
11791 * s\windowsnt.h (HAVE_STRCASECMP):
11793 Add long comment about preprocessor changes.
11794 Remove getdisk, getdefdir. (The former is unused, the latter
11795 expanded in fileio.h.)
11797 2000-06-10 Ben Wing <ben@xemacs.org>
11806 Remove bogus/unused NO_SOCK_SIGIO.
11808 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
11810 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
11813 2000-06-04 Mike Sperber <mike@xemacs.org>
11815 * casetab.c (set_case_table): For `set-standard-case-table',
11816 actually deposit the new case tables where the rest of XEmacs can
11819 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
11821 * data.c (Faset): Don't cast XCHAR() to unsigned char.
11823 2000-06-05 Ben Wing <ben@xemacs.org>
11825 * callproc.c (child_setup): Don't do close_load_descs() under
11826 MS Windows. Put in a comment explaining why.
11828 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
11830 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
11831 Toolkit shell" which breaks `kill-compilation' on Windows NT
11832 native, retaining STDERR handling improvements.
11834 2000-06-01 Andreas Jaeger <aj@suse.de>
11836 * s/s390.h: Support for S390, based on a patch by Martin
11837 Schwidefsky <schwidefsky@de.ibm.com>.
11839 2000-05-30 Andy Piper <andy@xemacs.org>
11841 * window.c (allocate_window):
11842 (make_dummy_parent):
11843 (Fset_window_configuration): use new hashtable type.
11845 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
11846 (struct image_instantiator_methods):
11847 (struct Lisp_Image_Instance): make instance geometry signed.
11849 * glyphs.c (instantiate_image_instantiator):
11850 (image_instance_query_geometry):
11851 (image_instance_layout):
11852 (image_instance_layout):
11853 (query_string_geometry):
11854 (text_query_geometry):
11855 (image_instantiate):
11856 (image_instantiate):
11857 (cache_subwindow_instance_in_frame_maybe):
11858 (subwindow_query_geometry): make instance geometry signed.
11860 * glyphs-widget.c (widget_query_geometry):
11862 (button_query_geometry):
11863 (tree_view_query_geometry):
11864 (tab_control_query_geometry):
11865 (layout_query_geometry):
11867 (native_layout_layout): make instance geometry signed.
11869 2000-05-29 Olivier Galibert <galibert@pobox.com>
11871 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
11874 * general.c (syms_of_general): Add Qfull_assoc symbol.
11876 * data.c (finish_marking_weak_lists): Mark full-assoc lists
11878 (decode_weak_list_type): Decode full-assoc type.
11879 (encode_weak_list_type): Encode full-assoc type.
11880 (Fmake_weak_list): Update doc string.
11882 2000-05-30 Andy Piper <andy@xemacs.org>
11884 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
11886 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
11887 (decode_hash_table_weakness): ditto.
11888 (Fhash_table_weakness): ditto.
11889 (Fhash_table_type): ditto.
11890 (finish_marking_weak_hash_tables): ditto.
11891 (hash_table_weakness_validate): ditto.
11892 (syms_of_elhash): ditto.
11894 2000-05-28 Martin Buchholz <martin@xemacs.org>
11896 * XEmacs 21.2.34 is released.
11898 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
11900 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
11902 (updating_line_start_cache): Gone.
11903 (regenerate_window): Replace resetting of VERTICAL_CLIP by
11904 generic code to force a minimum of 1 line laid out in the
11907 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
11909 * glyphs.c (instantiate_image_instantiator): Check for initialized
11910 height & width no longer special cases IMAGE_NOTHING.
11911 (nothing_instantiate): Set height and width of instance.
11913 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
11915 * unexelf.c (unexec): Search for ".data" section.
11916 Initialize new_data2_offset from old_data_index.
11917 Remove redundant check for ElfW.
11919 2000-05-23 Andy Piper <andy@xemacs.org>
11921 * glyphs.c (get_image_instantiator_governing_domain): allow more
11922 specific domains as the governing domain rather than expecting an
11923 exact match. This fixes problems with layouts.
11925 2000-05-22 Andy Piper <andy@xemacs.org>
11927 * redisplay-output.c (compare_runes): check for non-images
11929 * glyphs.c (set_glyph_dirty_p): ditto.
11930 (update_glyph_cachel_data): ditto.
11932 * glyphs-widget.c (layout_post_instantiate): ditto.
11933 (layout_post_instantiate): ditto.
11935 * event-msw.c (mswindows_wnd_proc): warning removal.
11937 2000-05-12 Craig Lanning <CraigL@DyCon.com>
11939 * s\mingw32.h: Added #undef for CLASH_DETECTION.
11941 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
11943 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
11945 * nt.c (rva_to_section): mingw32 needs rva_to_section.
11946 (mswindows_executable_type): mingw32 now has enough headers for
11949 2000-05-20 Andy Piper <andy@xemacs.org>
11951 * console-msw.c (mswindows_output_last_error): ; -> ,
11953 2000-05-12 Andy Piper <andy@xemacs.org>
11955 * console-msw.c (FROB): compare ints with ints.
11957 2000-05-11 Andy Piper <andy@xemacs.org>
11959 * glyphs-x.c (x_finalize_image_instance): make minimal build
11962 2000-05-20 Ben Wing <ben@xemacs.org>
11965 * event-Xt.c (vars_of_event_Xt):
11966 move modifier-keys-are-sticky to event-stream.c.
11969 * event-msw.c (mswindows_enqueue_mouse_button_event):
11970 * event-msw.c (key_needs_default_processing_p):
11971 * event-msw.c (XEMSW_LCONTROL):
11972 * event-msw.c (mswindows_handle_sticky_modifiers):
11973 * event-msw.c (FROB):
11974 * event-msw.c (clear_sticky_modifiers):
11975 * event-msw.c (output_modifier_keyboard_state):
11976 * event-msw.c (output_alt_keyboard_state):
11977 * event-msw.c (mswindows_wnd_proc):
11978 * event-msw.c (mswindows_modifier_state):
11979 * event-msw.c (emacs_mswindows_handle_magic_event):
11980 implement sticky modifiers.
11983 * event-stream.c (vars_of_event_stream):
11984 move modifier-keys-are-sticky here.
11987 add CHECK_FUNCTION.
11990 implement map-range-table.
11993 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
11995 * redisplay-tty.c (reset_tty_modes):
11996 (tty_redisplay_shutdown): Adjust argument type to
11997 tty_frame_output_end.
11999 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
12001 * eval.c (Fbacktrace): Don't output a line with only right
12004 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
12006 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
12007 (Fpq_reset_poll): Ditto.
12009 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
12011 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
12013 2000-05-16 Ben Wing <ben@xemacs.org>
12016 * buffer.c (dfc_convert_to/from_internal_format):
12017 * buffer.c (reinit_vars_of_buffer):
12018 Fix conversion functions to allow reentrancy.
12021 * console-msw.c (mswindows_output_last_error):
12022 New fun, generally useful -- output a human-readable
12023 version of GetLastError() on the console.
12026 * console-msw.h (struct mswindows_frame):
12027 Changes for DeferWindowPos. Declare mswindows_output_last_error().
12029 * console-stream.c (stream_output_begin):
12030 * console-stream.c (stream_output_end):
12031 * console-stream.c (stream_output_vertical_divider):
12032 * console-stream.c (stream_clear_region):
12033 * console-stream.c (stream_flash):
12034 * console-stream.c (console_type_create_stream):
12035 Delete blank stream methods, not needed.
12037 * console.h (struct console_methods):
12038 Split begin/end methods into window and frame.
12041 * event-msw.c (mswindows_handle_paint):
12042 * event-msw.c (output_alt_keyboard_state):
12043 * event-msw.c (mswindows_wnd_proc):
12044 * event-msw.c (vars_of_event_mswindows):
12045 Comment about problems with ignored-expose.
12046 Define mswindows-debug-events; not really implemented.
12048 * frame-msw.c (mswindows_init_frame_1):
12052 * glyphs-msw.c (begin_defer_window_pos):
12053 * glyphs-msw.c (mswindows_unmap_subwindow):
12054 * glyphs-msw.c (mswindows_map_subwindow):
12055 * glyphs-msw.c (mswindows_resize_subwindow):
12056 Use DeferWindowPos to reduce flashing when mapping/unmapping.
12058 * glyphs.c (make_image_instance_1):
12061 * gutter.c (Fredisplay_gutter_area):
12062 Use new begin/end methods.
12064 * lisp.h (Dynarr_new2):
12068 * redisplay-msw.c (mswindows_frame_output_begin):
12069 * redisplay-msw.c (mswindows_frame_output_end):
12070 * redisplay-msw.c (console_type_create_redisplay_mswindows):
12071 New begin/end methods -- handle DeferWindowPos.
12073 * redisplay-output.c (redisplay_move_cursor):
12074 * redisplay-output.c (redraw_cursor_in_window):
12075 * redisplay-output.c (redisplay_update_line):
12076 * redisplay-output.c (redisplay_output_window):
12077 New begin/end methods.
12080 * redisplay-tty.c (tty_frame_output_begin):
12081 * redisplay-tty.c (tty_frame_output_end):
12082 * redisplay-tty.c (console_type_create_redisplay_tty):
12083 New begin/end methods.
12086 * redisplay-x.c (x_window_output_begin):
12087 * redisplay-x.c (x_window_output_end):
12088 * redisplay-x.c (console_type_create_redisplay_x):
12089 New begin/end methods.
12091 * redisplay.c (redisplay_frame):
12092 * redisplay.c (Fredisplay_echo_area):
12093 New begin/end methods.
12094 use MAYBE_DEVMETH for clear_frame; it may not exist.
12096 * window.h (WINDOW_XFRAME):
12097 WINDOW_XFOO macros -- get locale and decode struct pointer.
12100 2000-05-12 Ben Wing <ben@xemacs.org>
12103 * emacs.c (ensure_no_quitting_from_now_on):
12104 * emacs.c (fatal_error_signal):
12105 * emacs.c (mswindows_handle_hardware_exceptions):
12107 * emacs.c (Fkill_emacs):
12108 * emacs.c (shut_down_emacs):
12109 * emacs.c (assert_failed):
12110 various improvements in fatal error handling.
12113 move preparing_for_armageddon to emacs.c.
12116 declare fatal_error_in_progress.
12119 * print.c (std_handle_out_external):
12120 * print.c (std_handle_out_va):
12121 * print.c (stderr_out):
12122 * print.c (stdout_out):
12123 use console under mswin when no standard output.
12124 don't do code conversion during fatal error.
12126 * scrollbar.c (Fscrollbar_page_up):
12127 * scrollbar.c (Fscrollbar_page_down):
12128 fix missing else. reindent.
12130 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
12134 * glyphs.h (GLYPH_CACHEL_DESCENT):
12135 (GLYPH_CACHEL_DESCENT):
12136 (GLYPH_CACHEL_DESCENT):
12137 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
12138 used in case these are inline functions.
12139 Use more absurd values to error check.
12141 include window.h for error check functions.
12143 2000-05-11 Ben Wing <ben@xemacs.org>
12145 * cmdloop.c (Freally_early_error_handler):
12146 Display message box under windows; otherwise, message will disappear
12147 before it can be viewed.
12150 * console-msw.c (Fmswindows_message_box):
12151 * console-msw.c (FROB):
12152 * console-msw.c (syms_of_console_mswindows):
12153 Define new fun `mswindows-message-box'.
12154 #### I will merge this into `popup-dialog-box'; just give me
12158 * general.c (syms_of_general):
12159 Some new symbols used in `mswindows-message-box'.
12162 * glyphs.c (Fset_image_instance_property):
12163 put warning in this fun.
12166 * glyphs.h (GLYPH_CACHEL_WIDTH):
12167 * glyphs.h (GLYPH_CACHEL_ASCENT):
12168 * glyphs.h (GLYPH_CACHEL):
12169 * glyphs.h (GLYPH_CACHEL_GLYPH):
12170 define error-checking versions to try to catch a bug i've seen --
12171 redisplay gets in an infinite loop because the glyph width of the
12172 continuation glyph is 65535.
12175 Extern message-box stuff.
12177 * window.c (allocate_window):
12178 * window.c (make_dummy_parent):
12179 * window.c (Fset_window_configuration):
12180 Use EQUAL not EQ for subwindow caches to make them work a bit
12181 better. (Something is still very broken.)
12184 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
12186 * glyphs.c (image_instantiate): Suppress gcc warnings.
12187 (Fmake_image_instance): Fix doc string.
12188 * specifier.c (Fmake_specifier): Ditto.
12190 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
12192 * paths.h.in (PATH_LOCK): Removed.
12193 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
12194 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
12196 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
12198 * fns.c (Ffeaturep): Update e-mail address in doc-string.
12199 Document (featurep '(and xemacs 21.02)).
12201 2000-05-09 Ben Wing <ben@xemacs.org>
12203 * buffer.c (complex_vars_of_buffer):
12204 update modeline-format doc.
12207 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
12210 timeline of all released versions of Emacs, for use in creating
12211 authorship comments and in synching up.
12213 * glyphs-widget.c (image_instantiator_buttons):
12214 * glyphs-widget.c (image_instantiator_edit_fields):
12215 * glyphs-widget.c (image_instantiator_combo_box):
12216 * glyphs-widget.c (image_instantiator_scrollbar):
12217 * glyphs-widget.c (image_instantiator_progress_guage):
12218 * glyphs-widget.c (image_instantiator_tree_view):
12219 * glyphs-widget.c (image_instantiator_tab_control):
12220 * glyphs-widget.c (image_instantiator_labels):
12221 * glyphs-widget.c (image_instantiator_layout):
12222 * glyphs-widget.c (image_instantiator_native_layout):
12223 rename decode_domain method to governing_domain.
12226 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
12227 * glyphs.c (add_entry_to_device_ii_format_list):
12228 make sure we don't put an entry more than once into the list.
12229 * glyphs.c (check_instance_cache_mapper):
12230 *************************************************************
12231 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
12233 *************************************************************
12234 * glyphs.c (get_image_instantiator_governing_domain):
12235 clean up, expand on new concept of governing domain.
12236 * glyphs.c (instantiate_image_instantiator):
12237 * glyphs.c (allocate_image_instance):
12238 use governing_domain instead of cache_domain in naming.
12239 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
12240 * glyphs.c (make_image_instance_1):
12241 * glyphs.c (Fmake_image_instance):
12242 allow for any domain (not just device), and process the
12243 governing domain correctly. very big doc fix.
12244 * glyphs.c (Fimage_instance_domain):
12245 new primitive, to retrieve the governing domain of an image instance.
12246 * glyphs.c (image_instantiate):
12247 use new governing_domain stuff. this fixes a crash you could get
12248 by instantiating certain widget glyphs in frame locales. (should
12249 signal an error instead of crashing.)
12250 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
12251 * glyphs.c (Fglyphp): clean up doc.
12252 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
12253 * glyphs.c (syms_of_glyphs):
12254 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
12255 * glyphs.c (image_instantiator_format_create): add some comments about
12257 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
12258 for current-display-table. (Apparently Hrjove implemented in 1998 a
12259 design I wrote up in 1996, but didn't update the doc string.)
12261 * glyphs.h: clean up a doc string.
12262 * glyphs.h (governing_domain):
12263 * glyphs.h (struct image_instantiator_methods):
12264 changes for governing_domain stuff.
12267 * gutter.c (Fgutter_specifier_p):
12268 * gutter.c (Fgutter_size_specifier_p):
12269 * gutter.c (Fgutter_visible_specifier_p):
12271 * objects.c (Fcolor_specifier_p):
12272 * objects.c (Ffont_specifier_p):
12273 * objects.c (Fface_boolean_specifier_p):
12274 doc strings moved to make-*-specifier.
12276 * redisplay.c (add_disp_table_entry_runes_1):
12277 * redisplay.c (generate_fstring_runes):
12278 * redisplay.c (screen):
12279 add random comments and doc strings.
12282 * specifier.c (Fmake_specifier):
12283 major overhaul of this doc string.
12285 * specifier.c (Fvalid_specifier_domain_p):
12286 comment about the bogosity of image instances being domains.
12287 * specifier.c (decode_domain):
12288 now non-static, used in glyphs.c.
12289 * specifier.c (specifier_instance):
12290 comment about the bogosity of image instances being domains.
12291 * specifier.c (Fgeneric_specifier_p):
12292 move doc string to make-generic-specifier.
12293 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
12297 * specifier.h (DOMAIN_FRAME):
12298 * specifier.h (DOMAIN_LIVE_P):
12299 * specifier.h (DOMAIN_XDEVICE):
12301 add comments about problems with these macros.
12302 prototype for decode_domain.
12305 * toolbar.c (Ftoolbar_specifier_p):
12306 move doc string to `make-toolbar-specifier'.
12308 * window.c (window_unmap_subwindows_cache_mapper):
12309 *************************************************************
12310 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
12312 *************************************************************
12314 2000-05-09 Andy Piper <andy@xemacs.org>
12316 * glyphs.h: declare reset_frame_subwindow_instance_cache.
12318 * window.c (Fset_window_configuration): reset the frame subwindow
12319 cache and re-initialize the window subwindow caches.
12321 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
12323 2000-05-09 Ben Wing <ben@xemacs.org>
12325 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
12328 2000-04-26 Mike Woolley <mike@bulsara.com>
12330 * ntheap.c: Changed recreate_heap to limit the amount reserved
12331 for the heap to that which is actually available. Also now
12332 displays a message box (with some dignostics) in the event that
12333 it still can't start.
12335 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
12337 * callproc.c (Fold_call_process_internal): GCPRO path
12339 2000-05-08 Jan Vroonhof <jan@xemacs.org>
12341 Patch by Bill Perry.
12343 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
12344 back data instead of #ifdef.
12345 (Fscrollbar_page_down): ditto.
12347 2000-05-07 Ben Wing <ben@xemacs.org>
12350 Kludge for defining Qmswindows_tstr.
12353 * nt.c (open_input_file):
12354 * nt.c (open_output_file):
12355 * nt.c (rva_to_section):
12356 * nt.c (mswindows_executable_type):
12357 Move all memory-mapped-file routines here (some were in unexnt.c,
12358 which is bad because they are used by process-nt.c, and unexnt
12359 won't be around when portable dumping). Synched the above routines
12363 Removed ifdef'd out bogus code.
12364 Fixed some prototypes.
12366 * nt.h (file_data):
12367 * nt.h (OFFSET_TO_RVA):
12368 * nt.h (RVA_TO_OFFSET):
12369 * nt.h (RVA_TO_PTR):
12370 Moved the memory-mapped-file structures, macros and prototypes
12371 here, to parallel nt.c. ntheap.h should really be removed
12372 entirely, and it's a non-portable-dumper specific file.
12374 * ntheap.h (round_to_next):
12375 Moved the memory-mapped-file structures, macros and prototypes
12378 * ntproc.c (compare_env):
12379 Moved rva_to_section and mswindows_executable_type to nt.c.
12380 Moved compare_env to process-nt.c.
12381 ntproc.c will die, one day.
12383 * ntproc.c (sys_spawnve):
12384 Account for win32_ -> mswindows_.
12387 * process-nt.c (struct nt_process_data):
12388 * process-nt.c (ensure_console_window_exists):
12389 * process-nt.c (compare_env):
12390 * process-nt.c (nt_create_process):
12391 * process-nt.c (nt_kill_process_by_pid):
12392 * process-nt.c (syms_of_process_nt):
12393 * process-nt.c (vars_of_process_nt):
12394 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
12395 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
12396 changes). Eliminate our old `nt-quote-process-args' mechanism.
12397 Synch up nt_create_process with FSF 20.6 sys_spawnve.
12398 Move compare_env here from ntproc.c.
12400 * process.c (Fprocess_send_region):
12401 Takes an optional fourth argument, BUFFER, which should fix some
12402 problems with call-process.
12405 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
12408 Move ICC_BAR_CLASSES to syscommctrl.h.
12409 Add preliminary macros for MSWindows/Mule. More to come.
12412 * unexnt.c (unexec):
12413 open_output_file moved to nt.c.
12416 2000-05-05 Andy Piper <andy@xemacs.org>
12418 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
12419 instance from the frame cache also since GC may catch up too late
12420 to make frame deletion sane.
12422 2000-05-04 Andy Piper <andy@xemacs.org>
12424 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
12425 (x_finalize_image_instance): ungcpro on deletion.
12427 * glyphs.c (image_instantiator_format_create): give pointers a
12428 query geometry method so that the geometry is at least set.
12430 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
12431 initialize layouts if using widgets.
12433 2000-05-03 Andy Piper <andy@xemacs.org>
12435 * nt.c: remove bogus reference to sysmmsystem.h
12437 * gui-x.c (popup_selection_callback): fix no selection abort.
12439 2000-05-02 Andy Piper <andy@xemacs.org>
12441 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
12442 (mswindows_widget_instantiate): ditto.
12444 * glyphs-widget.c (initialize_widget_image_instance): initialize
12445 children correctly.
12446 (widget_instantiate): cope with children and items in the same
12449 * glyphs.c (mark_image_instance): cope with children as a first
12451 (image_instance_equal): ditto.
12452 (image_instance_hash): ditto.
12453 (image_instance_changed): ditto.
12455 2000-04-30 Andy Piper <andy@xemacs.org>
12457 * glyphs.c (subwindow_query_geometry): new function. Return some
12459 (subwindow_instantiate): don't assign dimensions if none have been
12461 (image_instantiator_format_create): add subwindow_query_geometry.
12462 (print_image_instance): cope with layouts as widgets.
12464 2000-04-29 Andy Piper <andy@xemacs.org>
12466 * frame.c (delete_frame_internal): call
12467 free_frame_subwindow_instance_cache so that all subwindows are
12468 finalized before their parent.
12469 (mark_frame): remove subwindow_cachels.
12470 (Fmake_frame): remove subwindow_cachel manipulation.
12471 (allocate_frame_core): subwindow_instance_cache is a weak list.
12472 (delete_frame_internal): set subwindow_instance_cache to nil.
12474 * glyphs-msw.c (mswindows_finalize_image_instance): make double
12476 (mswindows_finalize_image_instance): use the device
12477 not the domain as the domain may have died already.
12479 * glyphs-x.c (x_finalize_image_instance): ditto.
12480 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
12483 * redisplay-output.c (redisplay_unmap_subwindows): update for
12484 subwindow instance cache as a weak list.
12485 (redisplay_unmap_subwindows_maybe): ditto.
12486 (redisplay_unmap_subwindows_except_us): ditto.
12488 * glyphs.c (unmap_subwindow): error checking will check the domain
12489 so don't deal with it here. Don't use cachels anymore.
12490 (map_subwindow): ditto.
12491 (update_subwindow_cachel_data): remove old accessor names.
12492 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
12493 (Fresize_subwindow): don't update cachel.
12494 (mark_subwindow_cachels):
12495 (update_subwindow_cachel_data):
12496 (add_subwindow_cachel):
12497 (get_subwindow_cachel_index):
12498 (update_subwindow_cachel):
12499 (reset_subwindow_cachels):
12500 (mark_subwindow_cachels_as_not_updated): deleted.
12501 (cache_subwindow_instance_in_frame_maybe): new function. Add a
12502 subwindow instance to the frame cache.
12503 (find_matching_subwindow): update for subwindow instance cache as
12505 (update_widget_instances): ditto.
12506 (image_instance_type_to_mask):inlined.
12507 (free_frame_subwindow_instance_cache): new function. finalize all
12508 subwindows that are instantiated.
12510 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
12511 of cachel information.
12512 (IMAGE_INSTANCE_DISPLAY_X):
12513 (IMAGE_INSTANCE_DISPLAY_Y):
12514 (IMAGE_INSTANCE_DISPLAY_WIDTH):
12515 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
12516 (XIMAGE_INSTANCE_DISPLAY_X):
12517 (XIMAGE_INSTANCE_DISPLAY_Y):
12518 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
12519 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
12520 remove subwindow_cachel structure and function references.
12521 (image_instance_type_to_mask): inline from glyphs.c
12523 * redisplay.c (redisplay_frame): remove subwindow_cachel
12526 * frame.h (struct frame): remove subwindow_cachels.
12527 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
12529 * frameslots.h: add subwindow_instance_cache.
12531 * window.c (replace_window): check subwindow cache of replacement.
12532 (window_unmap_subwindows_cache_mapper):
12533 (window_unmap_subwindows): new functions. Unmap all subwindows
12534 cached on this window.
12535 (mark_window_as_deleted): unmap all subwindows.
12537 2000-04-27 Andy Piper <andy@xemacs.org>
12539 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
12541 * glyphs-widget.c (widget_layout): return something.
12542 (layout_layout): return something. Fail if not initialized.
12543 (layout_query_geometry): ditto.
12544 (image_instantiator_native_layout): new function. Initialized the
12545 native layout type.
12546 (widget_instantiate): don't do layout stuff here.
12548 * glyphs.c (instantiate_image_instantiator): reorded calling or
12549 instantiate and post_instantiate with layout in between.
12550 (image_instance_layout): be more selective about deciding whether
12551 the layout has been done or not.
12553 * glyphs.h (struct image_instantiator_methods): return a value
12554 from layout_method.
12556 2000-04-26 Andy Piper <andy@xemacs.org>
12558 * glyphs.c (allocate_image_instance): make initial width and
12559 height unspecified. Set initialized to 0.
12561 * syscommctrl.h new file. Encapsulates commctrl.h.
12563 * syswindows.h new file. Encapsulates windows.h.
12565 * ntplay.c: use new syswindows.h and syscommctrl.h header.
12567 * console-msw.h: ditto.
12569 * redisplay-tty.c (tty_output_display_block): remove layout references.
12571 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
12572 window handle rather than just the frame.
12574 * glyphs.c (mark_image_instance): remove layout references.
12575 (print_image_instance): ditto.
12576 (image_instance_equal): ditto.
12577 (image_instance_hash): ditto.
12578 (decode_image_instance_type): ditto.
12579 (encode_image_instance_type): ditto.
12580 (image_instantiate): ditto.
12581 (allocate_glyph): ditto.
12582 (Fimage_instance_height): ditto.
12583 (Fimage_instance_width): ditto.
12584 (update_subwindow): ditto.
12586 * redisplay-x.c (x_output_display_block): recode for layouts as
12589 * redisplay-output.c (redisplay_output_layout): recode for layouts
12591 (compare_runes): remove layout references.
12593 * redisplay-msw.c (mswindows_output_display_block): recode for
12594 layouts as widgets.
12596 * glyphs-widget.c (image_instantiator_layout): remove
12597 layout_possible_dest_types.
12598 (layout_possible_dest_types): deleted.
12600 * glyphs.h (image_instance_type): remove layout references.
12601 (struct Lisp_Image_Instance): ditto. Add initialized flag.
12602 (IMAGE_INSTANCE_INITIALIZED): new accessor.
12603 (XIMAGE_INSTANCE_INITIALIZED): ditto.
12605 2000-04-25 Andy Piper <andy@xemacs.org>
12607 * glyphs-widget.c (image_instantiator_buttons):
12608 (image_instantiator_edit_fields):
12609 (image_instantiator_combo_box):
12610 (image_instantiator_scrollbar):
12611 (image_instantiator_progress_guage):
12612 (image_instantiator_tree_view):
12613 (image_instantiator_tab_control):
12614 (image_instantiator_labels):
12615 (image_instantiator_layout): call default post_instantiate method.
12616 (widget_post_instantiate): new function. Simply lays out the
12619 * glyphs.h (struct image_instantiator_methods): add
12620 post_instantiate method.
12622 * glyphs.c (instantiate_image_instantiator): add post_instantiate
12625 2000-04-23 Andy Piper <andy@xemacs.org>
12627 * glyphs.h (struct image_instantiator_methods): add
12628 decode_domain_method.
12629 (struct Lisp_Image_Instance): remove subwindow frame - it can be
12630 derived from the domain.
12631 (IMAGE_INSTANCE_FRAME): new accessor.
12632 (XIMAGE_INSTANCE_FRAME): ditto.
12634 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
12635 instead of _SUBWINDOW_FRAME.
12636 (finalize_image_instance): ditto.
12637 (Fimage_instance_foreground): ditto.
12638 (Fimage_instance_background): ditto.
12639 (image_instantiate): ditto.
12640 (update_subwindow_cachel): ditto.
12641 (update_subwindow): ditto.
12642 (unmap_subwindow): ditto.
12643 (map_subwindow): ditto
12644 (subwindow_instantiate): ditto.
12645 * glyphs-msw.c (mswindows_update_widget): ditto.
12646 (mswindows_progress_gauge_instantiate): ditto.
12647 (mswindows_tab_control_update): ditto.
12648 * glyphs-x.c (x_update_widget): ditto.
12649 (x_widget_instantiate): ditto.
12650 (x_tab_control_instantiate): ditto.
12651 (x_tab_control_update): ditto.
12652 * event-msw.c (mswindows_wnd_proc): ditto
12654 * glyphs-widget.c (image_instantiator_layout): use
12655 subwindow_decode_domain.
12656 (image_instantiator_buttons): ditto.
12657 (image_instantiator_edit_fields): ditto.
12658 (image_instantiator_combo_box): ditto.
12659 (image_instantiator_scrollbar): ditto.
12660 (image_instantiator_progress_guage): ditto.
12661 (image_instantiator_tree_view): ditto.
12662 (image_instantiator_tab_control): ditto.
12663 (image_instantiator_labels): ditto.
12664 (image_instantiator_layout): ditto.
12666 * glyphs.c: add instance error checking to many functions.
12667 (instantiate_image_instantiator): decode device from cache_domain.
12668 (image_instantiate): partially rewrite by using
12669 decode_image_instantiator_domain to determine what domain the
12670 instance needs to be cached in.
12671 (decode_image_instantiator_domain): new function. Determine what
12672 domain the image needs to be cached in.
12673 (check_window_subwindow_cache): new error checking function.
12674 (check_instance_cache_mapper): ditto.
12675 (check_image_instance_structure): ditto.
12676 (subwindow_decode_domain): new function. Encodes a window as a
12677 subwindow's cache domain.
12678 (image_instantiator_format_create): use it for text and
12681 2000-04-21 Andy Piper <andy@xemacs.org>
12683 * glyphs.c (image_instance_device): new function.
12684 (image_instance_frame): new function.
12685 (image_instance_window): new function.
12686 (image_instance_live_p): new function.
12688 * window.c (mark_window_as_deleted): reset the subwindow_instance_
12691 * glyphs.h (struct Lisp_Image_Instance): device->domain.
12692 (IMAGE_INSTANCE_DOMAIN): new accessor.
12693 (XIMAGE_INSTANCE_DOMAIN): ditto.
12695 * glyphs-x.c (x_finalize_image_instance): device->domain.
12697 * glyphs-msw.c (init_image_instance_geometry): device->domain.
12698 (mswindows_finalize_image_instance): ditto.
12700 * glyphs-eimage.c (jpeg_instantiate): device->domain.
12701 (gif_instantiate): ditto.
12702 (png_instantiate): ditto.
12703 (tiff_instantiate): ditto.
12705 * glyphs.c (instantiate_image_instantiator): use domain rather
12707 (mark_image_instance): device -> domain.
12708 (print_image_instance): ditto.
12709 (finalize_image_instance): ditto.
12710 (image_instance_equal): ditto.
12711 (allocate_image_instance): ditto.
12712 (Fcolorize_image_instance): ditto.
12713 (query_string_geometry): ditto.
12714 (image_instantiate): ditto
12715 (query_string_font): ditto.
12716 (image_instantiate): ditto.
12717 (update_subwindow): ditto.
12718 (unmap_subwindow): ditto.
12719 (map_subwindow): ditto.
12720 (subwindow_instantiate): ditto.
12722 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
12723 (DOMAIN_FRAME): ditto.
12724 (DOMAIN_WINDOW): ditto.
12725 (DOMAIN_LIVE_P): ditto.
12726 (XDOMAIN_DEVICE): ditto.
12727 (XDOMAIN_FRAME): ditto.
12728 (XDOMAIN_WINDOW): ditto.
12730 * specifier.c (Fvalid_specifier_domain_p): add image instances as
12731 a valid specifier domain.
12733 2000-04-19 Andy Piper <andy@xemacs.org>
12735 * glyphs-widget.c (syms_of_glyphs_widget): remove
12736 widget-callback-current-channel.
12737 (vars_of_glyphs_widget): ditto.
12740 * gui.c (get_gui_callback): revert to previous behaviour.
12742 2000-04-18 Andy Piper <andy@xemacs.org>
12744 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
12745 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
12746 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
12748 * glyphs.c (image_instance_equal): add margin_width.
12749 (image_instance_hash): ditto.
12751 * glyphs-widget.c (widget_instantiate): deal with margin-width.
12752 (layout_query_geometry): ditto.
12753 (layout_layout): ditto.
12754 (syms_of_glyphs_widget): add margin-width.
12755 (image_instantiator_layout): allow margin-width.
12757 * glyphs.c (update_widget_instances): make a normal function.
12758 (syms_of_glyphs): remove Qupdate_widget_instances.
12761 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
12762 so that we don't corrupt ideas about the last event or
12763 command. Remove widget-callback-current-channel fiddling.
12764 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
12766 2000-05-01 Martin Buchholz <martin@xemacs.org>
12768 * XEmacs 21.2.33 is released.
12770 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
12772 * make-src-depend: Allow dots in header file name.
12774 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
12776 * mule-charset.h (struct charset_lookup): Add
12777 next_allocated_1_byte_leading_byte and
12778 next_allocated_2_byte_leading_byte.
12779 * mule-charset.c: Move above two variables so that those values
12782 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
12784 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
12785 when string length is zero.
12786 (find_charsets_in_emchar_string): Ditto.
12788 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
12790 * lisp.h: extern Qdialog and Qmenubar.
12792 * gui-x.c: added events.h.
12793 also fixed typo which made the file uncompilable.
12795 * general.c: Added Qmenubar and Qdialog
12797 2000-04-28 Ben Wing <ben@xemacs.org>
12799 * frame-msw.c (mswindows_init_frame_1):
12800 * frame-msw.c (mswindows_mark_frame):
12801 * event-msw.c (mswindows_enqueue_dispatch_event):
12803 * console-msw.h (struct mswindows_frame):
12804 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
12805 there are now three hash tables for callbacks.
12806 mswindows_enqueue_dispatch_event is no longer static.
12808 * dialog-x.c (maybe_run_dbox_text_callback):
12809 * dialog-x.c (dbox_descriptor_to_widget_value):
12810 switch to new cons3 form for callbacks.
12812 * glyphs-msw.c (mswindows_register_gui_item):
12813 * glyphs-msw.c (mswindows_widget_instantiate):
12814 * glyphs-msw.c (add_tree_item):
12815 * glyphs-msw.c (add_tab_item):
12816 new image instance parameter, so it can be passed to callback-ex.
12817 respect :callback-ex as well as :callback.
12819 * glyphs-widget.c (VALID_GUI_KEYWORDS):
12822 * glyphs.c (print_image_instance):
12823 prettify, e.g. now prints widget type.
12826 certain funs have new image instance parameter.
12829 * gui.c (get_gui_callback):
12830 * gui.c (gui_item_add_keyval_pair):
12831 * gui.c (gui_item_init):
12832 * gui.c (gui_add_item_keywords_to_plist):
12833 * gui.c (mark_gui_item):
12834 * gui.c (gui_item_hash):
12835 * gui.c (gui_item_equal):
12836 * gui.c (copy_gui_item):
12837 * gui.c (syms_of_gui):
12838 recognize callback-ex in a number of places.
12839 also, fix the annoying "can't get out of yes-no dialog" bug.
12842 * gui.h (struct Lisp_Gui_Item):
12843 recognize callback-ex in a number of places.
12845 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
12846 new parameter in button_item_to_widget_value.
12848 * glyphs-x.c (x_update_widget):
12849 * glyphs-x.c (x_button_instantiate):
12850 * glyphs-x.c (x_button_update):
12851 * glyphs-x.c (x_progress_gauge_instantiate):
12852 * glyphs-x.c (x_edit_field_instantiate):
12853 * glyphs-x.c (x_combo_box_instantiate):
12854 * glyphs-x.c (x_tab_control_instantiate):
12855 * glyphs-x.c (x_label_instantiate):
12856 new image instance parameter in various places.
12859 * event-Xt.c (enqueue_Xt_dispatch_event):
12860 this fun gets exported.
12863 * gui-msw.c (mswindows_handle_gui_wm_command):
12864 handle both :callback and :callback-ex, and generate our own
12865 event because it's one of the callback-ex arguments.
12868 * gui-x.c (popup_selection_callback):
12869 handle both :callback and :callback-ex, and generate our own
12870 event because it's one of the callback-ex arguments.
12871 * gui-x.c (button_item_to_widget_value):
12872 * gui-x.c (gui_items_to_widget_values_1):
12873 * gui-x.c (gui_item_children_to_widget_values):
12874 * gui-x.c (gui_items_to_widget_values):
12875 new image instance parameter in various places.
12877 * fns.c (Freplace_list):
12878 fix small typo in doc string.
12881 declare enqueue_Xt_dispatch_event.
12883 2000-04-28 Ben Wing <ben@xemacs.org>
12886 * buffer.c (Frecord_buffer):
12887 * buffer.c (syms_of_buffer):
12888 delete record-buffer-hook.
12891 * fns.c (Freplace_list):
12892 * fns.c (syms_of_fns):
12893 new primitive replace-list.
12896 slot for old buffer-alist.
12899 exfun replace-list.
12902 * redisplay.c (redisplay_frame):
12903 * redisplay.c (syms_of_redisplay):
12904 * redisplay.c (vars_of_redisplay):
12905 new hook buffer-list-changed-hook.
12908 2000-04-27 Ben Wing <ben@xemacs.org>
12910 * extents.h: extern in_modeline_generation.
12912 * redisplay.c (generate_formatted_string_db): set
12913 in_modeline_generation.
12915 * extents.c (extent_changed_for_redisplay): don't mark redisplay
12916 flags if in modeline generation. otherwise frame-modified-tick
12917 is ticked far too often.
12918 Declare in_modeline_generation.
12920 2000-04-26 Ben Wing <ben@xemacs.org>
12922 * emacs.c (vars_of_emacs): document quick-build "error-checking"
12924 (vars_of_emacs): add quick-build as an error-checking option.
12925 A bit kludgy, but there doesn't seem much point in creating
12926 a real var for this.
12928 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
12930 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
12932 * redisplay.h (struct display_line): Add a new variable,
12935 * redisplay.c (create_text_block): Set dl->line_continuation if
12936 the line continues.
12937 (create_string_text_block): Ditto.
12938 (regenerate_window_incrementally): Use line_continuation instead
12939 of searching continuation glyph.
12940 (add_margin_runes): Call add_glyph_rune.
12941 (add_glyph_rune): Handle margin glyph.
12943 2000-04-20 Martin Buchholz <martin@xemacs.org>
12945 * filelock.c (fill_in_lock_file_name):
12947 Check for IS_ANY_SEP instead of '/'.
12949 Avoid generating gratuitous garbage. Call user_login_name() directly.
12950 Never check errno without first seeing that system call failed.
12951 (unlock_file): Add GCPRO.
12952 (Flock_buffer): Fix docstring.
12953 (Ffile_locked_p): Fix docstring. Add GCPRO.
12955 2000-04-19 Martin Buchholz <martin@xemacs.org>
12957 * sysdep.c (get_pty_max_bytes):
12958 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
12959 strings longer than 252 bytes.
12961 * md5.c: Unconditionally include ANSI header <limits.h>
12963 * glyphs-x.c (convert_EImage_to_XImage):
12964 * lisp-union.h (union Lisp_Object):
12965 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
12967 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
12969 * filelock.c (current_lock_owner): Remove unused variable o, p.
12971 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
12973 * callint.c: Remove multiply defined symbol Qlet
12974 (syms_of_callint): ditto.
12976 2000-04-14 Andy Piper <andy@xemacs.org>
12978 * general.c (syms_of_general): add last-command, this-command, let
12981 * lisp.h: declare various symbols.
12983 * glyphs.h: declare Qwidget_callback_current_channel;
12985 * glyphs-widget.c (syms_of_glyphs_widget): add
12986 Qgui_callback_current_channel.
12987 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
12989 * gui-msw.c (mswindows_handle_gui_wm_command): bind
12990 widget-callback-current-channel when invoking the interactive
12991 arg. Also bind last-command and next-command when invoking the
12993 * gui-x.c (popup_selection_callback): ditto.
12995 * gui.c (get_gui_callback): massage args so that we are always
12996 calling eval. This allows us to add our own variable bindings
12999 * glyphs-x.c (x_button_instantiate): use
13000 gui_items_to_widget_values since this is GC safe.
13001 (x_progress_gauge_instantiate): ditto.
13002 (x_edit_field_instantiate): ditto.
13003 (x_label_instantiate): ditto.
13005 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
13006 (emacs_Xt_event_widget_focus_out): new function
13007 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
13009 (emacs_Xt_event_add_widget_actions): new function. add focus
13010 functions as actions.
13011 (init_event_Xt_late): use it.
13013 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
13015 * event-stream.c (Fdispatch_event): Doc fix.
13017 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
13019 * postgresql.c: Remove all references to PQsetenv*.
13021 * postgresql.h: Remove references to PGsetenvHandler object.
13022 * lrecord.h (lrecord_type): Ditto.
13024 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13026 * glyphs-msw.h (struct mswindows_image_instance_data): Added
13027 real_heigh and real_width members, and accessor macros for these.
13029 * glyphs-msw.c (init_image_instance_geometry): New function.
13030 (init_image_instance_from_dibitmap): Use it.
13031 (mswindows_resource_instantiate): Use it.
13032 (init_image_instance_from_xbm_inline): Use it.
13033 (mswindows_initialize_image_instance_mask): Use real bitmap
13035 (mswindows_create_resized_bitmap): Ditto.
13036 (mswindows_create_resized_mask): Ditto.
13038 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
13039 and bitmap to their surface size.
13041 2000-04-11 Jan Vroonhof <jan@xemacs.org>
13043 * process-unix.c (unix_send_process): Guard against process MIA
13044 after Faccept_process_output.
13046 2000-04-11 Ben Wing <ben@xemacs.org>
13048 * eval.c (unbind_to_hairy): fix brokenness introduced by
13049 nanosecond speed improvements.
13051 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
13053 * sunplay.c (init_device): To play sounds correctly, the device
13054 apparently needs to be initialized at least once by XEmacs. Make
13057 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
13059 * redisplay.c (add_margin_runes): Add text image glyph
13062 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
13064 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
13065 gcc is newer than 2.5.
13067 2000-04-06 Colin Rafferty <colin@xemacs.org>
13069 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
13071 * fns.c (size_bit_vector):
13072 * alloc.c (size_vector):
13073 (make_vector_internal):
13074 (make_bit_vector_internal):
13075 (sweep_bit_vectors_1):
13076 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
13078 2000-04-06 Andy Piper <andy@xemacs.org>
13080 * gmalloc.c (malloc): undo previous change.
13085 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
13087 * line-number.c (buffer_line_number): Revert to former version.
13089 2000-04-06 Andy Piper <andy@xemacs.org>
13091 * gmalloc.c (malloc): add error checking.
13096 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
13097 button_item_to_widget_value arg.
13099 * glyphs-x.c (x_button_instantiate): add extra
13100 button_item_to_widget_value arg.
13101 (x_progress_gauge_instantiate): ditto.
13102 (x_edit_field_instantiate): ditto.
13103 (x_label_instantiate): ditto.
13105 * gui-x.c (gui_items_to_widget_values_1): add extra
13106 button_item_to_widget_value arg.
13107 (button_item_to_widget_value): add extra menu_item_p arg.
13109 * gui-x.h: change signature of button_item_to_widget_value.
13111 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
13112 button_item_to_widget_value arg.
13114 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
13116 * buffer.h (struct buffer): auto_save_modified should be long.
13118 2000-04-05 Andy Piper <andy@xemacs.org>
13120 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
13122 (button_query_geometry): give a little more room so that athena
13125 2000-04-05 Andy Piper <andy@xemacs.org>
13127 * faces.c (complex_vars_of_faces): The widget face should inherit
13128 the font of the gui-element face.
13130 2000-04-04 Andy Piper <andy@xemacs.org>
13132 * glyphs-x.c (x_button_update): new function. unconditionally
13133 update a button's state when the instance is dirty.
13134 (image_instantiator_format_create_glyphs_x): add x_button_update.
13135 (x_widget_instantiate): remove old resize cruft.
13137 2000-04-02 Andy Piper <andy@xemacs.org>
13139 * frame.c (change_frame_size_1): The introduction of gutters means
13140 that we need to allow 0 as a potential frame dimension.
13142 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
13144 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
13145 image glyph if allow_cursor.
13146 (add_hscroll_rune): Don't allow cursor to border glyph.
13147 (create_text_block): Ditto.
13149 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
13150 text not in buffer.
13151 (redisplay_output_layout): Call ensure_face_cachel_complete for
13155 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
13157 * redisplay.c (add_glyph_rune): Adding text image as text runes.
13159 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
13162 * redisplay-tty.c (tty_output_display_block): Delete the routine
13163 for text image glyph
13164 * redisplay-x.c (x_output_display_block): ditto
13165 * redisplay-msw.c (mswindows_output_display_block): ditto
13167 2000-02-02 Mike Alexander <mta@arbortext.com>
13169 Note: Some of these were committed by accident as part of other
13172 * regex.c (regex_compile): Avoid compiler warnings.
13174 * ntproc.c (sys_spawnve): Avoid compiler warnings.
13176 * nt.h: Declare term_ntproc correctly.
13178 * nt.c: Remove incorrect declaration of get_home_directory which
13179 is declared correctly in lisp.h.
13181 * keymap.c (get_keyelt): Avoid compiler warnings.
13182 (raw_lookup_key_mapper): Avoid compiler warnings.
13184 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
13186 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
13188 * filemode.c (mode_string): Avoid compiler warnings.
13190 * file-coding.c (Fcoding_system_aliasee): Add return statement to
13193 * events-mod.h: Undef some things that winuser.h defines differently.
13195 * data.c (Faset): Avoid compiler warnings.
13197 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
13199 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
13201 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
13202 Fall through to simple beep on error.
13203 Replace "extern" by real header file.
13205 * linuxplay.c: Use nativesound.h
13206 (play_sound_data): Return error code. Be less verbose on error.
13208 * sunplay.c: Use nativesound.h
13209 (play_sound_data): Return error code. Be less verbose on error.
13211 * ntplay.c: Use nativesound.h
13212 (play_sound_data): Return fake error code
13214 * sgiplay.c: Use nativesound.h
13215 (play_sound_data): Return error code
13217 * hpplay.c: Use nativesound.h, partially implement
13218 new error code. Break compilation until finished.
13219 (play_sound_data): error code.
13221 * nativesound.h (play_sound_file):
13222 (play_sound_data): Prototype in new header.
13224 2000-03-31 Andy Piper <andy@xemacs.org>
13226 * glyphs-widget.c: (button_query_geometry): new function. Adjust
13227 for toggle and radio buttons.
13228 (image_instantiator_buttons): use it.
13230 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
13232 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
13233 (x_update_horizontal_scrollbar_callback): Return if no mirror was
13234 found. Scrollbar event probably belonged to some old config.
13236 2000-03-31 Andy Piper <andy@xemacs.org>
13238 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
13240 (initialize_widget_image_instance): default layout to
13241 LAYOUT_HORIZONTAL rather than 0.
13242 (widget_instantiate): reverse the item list at the end rather than
13244 (layout_layout): re-code for the border text at the front of the
13245 item list rather than at the end.
13246 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
13247 provided by the user.
13248 (widget_query_geometry): comment.
13250 2000-03-30 Andy Piper <andy@xemacs.org>
13252 * glyphs-widget.c (image_instantiator_layout): allow standard
13253 widget keywords in layouts.
13255 * gutter.c (output_gutter): cope with nil gutter contents.
13257 * frame.c (Fset_frame_properties): add gutter docs.
13259 2000-03-29 Andy Piper <andy@xemacs.org>
13261 * toolbar-msw.c (TBSTYLE_FLAT): add.
13262 (mswindows_output_toolbar): minor fiddling.
13264 2000-03-29 Andy Piper <andy@xemacs.org>
13266 * gutter.c (output_gutter): force gutter size recalculation if
13267 what we are trying to display won't fit.
13268 (update_gutter_geometry): new function. A per-gutter version of
13269 update_frame_gutter_geometry.
13270 (update_frame_gutter_geometry): use it.
13271 (redraw_exposed_gutter): add extra debugging output.
13273 2000-03-28 Mike Alexander <mta@arbortext.com>
13275 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
13276 (pdump_file_unmap): Implement it on Windows
13277 (pdump_file_get): Save alocated handles for pdump_file_unmap
13279 2000-03-28 Andy Piper <andy@xemacs.org>
13281 * gui.c (get_gui_callback): treat Quit specially.
13283 2000-03-27 Andy Piper <andy@xemacs.org>
13285 * glyphs.c (image_instantiate): be careful to check in the same
13288 2000-03-27 Didier Verna <didier@xemacs.org>
13290 * config.h.in: define the proper SMART_INCLUDE macro.
13291 handle renaming of `foo_h_path' to `foo_h_file'.
13293 * database.c: ditto.
13297 * linuxplay.c: ditto.
13299 * terminfo.c: ditto.
13301 * tooltalk.h: ditto.
13303 2000-03-27 Andy Piper <andy@xemacs.org>
13305 * glyphs-msw.c (mswindows_update_widget): make sure the widget
13306 gets updated whenever the face might have changed.
13308 2000-03-26 Mike Alexander <mta@arbortext.com>
13310 * dumper.c (pdump_resource_free): Fix the comment.
13312 2000-03-21 Olivier Galibert <galibert@pobox.com>
13314 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
13316 2000-03-22 Mike Alexander <mta@arbortext.com>
13318 * dumper.c: Include Windows headers on Windows
13319 (pdump_resource_free): Add a body to the function
13320 (pdump_load): exe_name -> exe_path and add some comments.
13322 2000-03-25 Mike Alexander <mta@arbortext.com>
13324 * gui.c (copy_gui_item_tree): Return a value in all cases
13326 2000-03-21 Didier Verna <didier@xemacs.org>
13328 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
13330 (SMART_INCLUDE): new macro.
13331 (POSTGRES_INCLUDE): new macro to include postgresql headers from
13332 the proper location.
13334 * postgresql.c: use it.
13338 2000-03-24 Andy Piper <andy@xemacs.org>
13340 * gutter.c (redraw_exposed_gutters): must be "in display" when we
13343 2000-03-24 Andy Piper <andy@xemacs.org>
13345 * redisplay-output.c (compare_runes): use image_instance_changed
13346 to detect changes. Do not depend on glyphs_changed, only depend on
13348 (redisplay_output_layout): add debug messages.
13349 (compare_runes): ditto.
13351 * glyphs.h: declare new functions.
13352 (struct Lisp_Image_Instance): remove percent and associated
13355 * gui.h: declare new copying functions.
13357 * gui.c (copy_gui_item_tree): new function.
13358 (copy_gui_item): new function.
13359 (gui_item_id_hash): revert to standard hash.
13360 (gui_item_hash): ditto.
13361 (gui_item_hash_internal): deleted.
13362 (mark_gui_item): mark value.
13363 (gui_item_add_keyval_pair): add value.
13364 (gui_item_init): ditto.
13365 (gui_add_item_keywords_to_plist): ditto.
13366 (gui_item_equal): ditto.
13367 (syms_of_gui): add Q_value.
13369 * glyphs-x.c (x_progress_gauge_update): use pending items and
13370 value for setting the state.
13371 (x_update_widget): don't set items from pending here.
13373 * glyphs-widget.c (update_widget): update items here.
13374 (progress_gauge_set_property): use items for storing value. Put
13375 new value in pending items.
13377 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
13378 items for new value. Convert percent -> value.
13379 (mswindows_tab_control_update): don't update items here.
13381 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
13382 (update_subwindow): ditto.
13383 (image_instance_changed): new function. Compare hash values and
13384 past and present widget items.
13385 (image_instantiate): We more careful about where we instantiate
13387 (image_instantiate): add error checking.
13389 * gutter.c (syms_of_gutter): use -hook.
13391 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
13393 * console-tty.c (Fset_console_tty_input_coding_system): Use
13395 (Fset_console_tty_output_coding_system): Use Qterminal.
13396 (tty_init_console): Use Qkeyboard and Qterminal.
13398 2000-03-21 Ben Wing <ben@xemacs.org>
13400 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
13401 From Mike Alexander <mta@arbortext.com>.
13403 2000-03-21 Ben Wing <ben@xemacs.org>
13405 * event-msw.c (mswindows_need_event): Horrible kludge to fix
13406 process brokenness. Proper implementation to come.
13408 Rename call-process-internal to old-call-process-internal.
13409 New impl. in process.el.
13411 2000-03-21 Martin Buchholz <martin@xemacs.org>
13413 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
13415 2000-03-20 Andy Piper <andy@xemacs.org>
13417 * glyphs.c (full_list_hash): make hashes of the same elements in
13418 different orders return different values.
13420 2000-03-20 Martin Buchholz <martin@xemacs.org>
13422 * XEmacs 21.2.32 is released.
13424 2000-03-20 Martin Buchholz <martin@xemacs.org>
13426 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
13427 (DFC_MALLOC_USE_CONVERTED_DATA):
13428 Add aliasing-safe casts to allow use with char* or unsigned char*
13431 * eldap.c (Fldap_open):
13432 (Fldap_search_basic):
13435 Make C++-compilable.
13436 Make sure GCPRO'ed variables are initialized.
13437 Use temp variables to avoid repeated calls to Flength.
13439 2000-03-16 Martin Buchholz <martin@xemacs.org>
13442 Make sure PATH_MAX is always defined.
13443 Include limits.h for PATH_MAX.
13444 Deprecate use of MAXPATHLEN.
13446 2000-03-10 Martin Buchholz <martin@xemacs.org>
13448 * emacs.c: Add reinit_vars_of_fileio.
13449 * symsinit.h: Add reinit_vars_of_fileio.
13450 * fileio.c (reinit_vars_of_fileio): New.
13451 * fileio.c (Fmake_temp_name):
13452 Initialize temp_name random number from microseconds to make
13453 collisions even less likely. Initialize always at process startup
13454 time. (make-temp-name) used to return the same file name twice in
13456 Random stylistic fiddling.
13459 2000-03-20 Andy Piper <andy@xemacs.org>
13461 * glyphs.c (image_instantiate): allow text glyphs to be
13462 instantiated in the minibuffer window.
13464 2000-03-19 Andy Piper <andy@xemacs.org>
13466 * glyphs.c (image_instance_hash): be careful about which items we
13469 * glyphs-widget.c (tab_control_set_property): record into pending
13470 items rather than the actual items.
13472 * glyphs-x.c (x_update_widget): use pending items to update with.
13474 * glyphs-msw.c (mswindows_tab_control_update): use pending items
13477 * glyphs.c (mark_image_instance): mark pending items.
13479 * window.c (Fset_window_configuration): record the buffer.
13480 (Fselect_window): totally revert previous change which breaks many
13483 2000-03-18 Andy Piper <andy@xemacs.org>
13485 * glyphs-msw.c (mswindows_tab_control_update): force selected
13488 * glyphs.c (image_instantiate): don't allow the minibuffer as a
13489 window domain cache, otherwise we get inconsistencies at
13490 startup. There is something fishy at startup which can lead to the
13491 minibuffer being the selected window when the gutter content is
13494 * gui.c (parse_gui_item_tree_list): add probably unnecessary
13496 (parse_gui_item_tree_children): ditto.
13497 (parse_gui_item_tree_item): ditto.
13499 * glyphs.c (Fupdate_widget_instances): return something.
13501 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
13503 * window.c (Fselect_window): Undo 2000-03-17 change.
13505 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
13507 * postgresql.c (Fpq_setenv): Remove this turkey when linking
13508 against v7.0 libraries. Insta-coredump city until the postgres
13511 2000-03-17 Andy Piper <andy@xemacs.org>
13513 * faces.c (complex_vars_of_faces): don't give the widget face an
13514 inherited background pixmap.
13516 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
13519 * event-stream.c (Fdispatch_non_command_events): return something.
13521 * gutter.c (output_gutter): use widget face.
13522 (clear_gutter): ditto.
13524 * NEWS: adjust again.
13526 * window.c (Fselect_window): make sure this runs to completion to
13527 avoid oddities with Fset_window_configuration.
13528 (Fcurrent_window_configuration): in general do not save the
13529 minibuffer as the selected window.
13531 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
13533 2000-03-16 Olivier Galibert <galibert@pobox.com>
13535 * emacs.c (Frunning_temacs_p): Revert previous patch.
13536 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
13538 2000-03-16 Andy Piper <andy@xemacs.org>
13540 * glyphs-x.c (x_tab_control_update): if no widget values then
13543 * NEWS: update for new features.
13545 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
13546 synthetic event to the native system.
13547 (reinit_vars_of_event_Xt): set force_event_pending to
13548 emacs_Xt_force_event_pending.
13550 * events.h (struct event_stream): add force_event_pending.
13552 * specifier.c (recompute_one_cached_specifier_in_window): add
13555 * redisplay.c (redisplay_frame): don't call
13556 update_frame_subwindows. Reset subwindow cachels when
13557 subwindows_changed, removing this was an optimization too far.
13559 * redisplay-output.c (compare_runes): reorganize so that we catch
13560 glyph changes when we want them. Set optimize_output when this
13561 would help layouts.
13562 (redisplay_output_layout): remove frame_really_changed, use
13563 optimize_output instead.
13565 * redisplay-msw.c (mswindows_output_display_block): reset
13566 optimize_output after outputting a glyph.
13567 * redisplay-x.c (x_output_display_block): ditto.
13568 * redisplay-tty.c (tty_output_display_block): ditto.
13570 * gutter.c: (specifier_vars_of_gutter): use new spec changed
13572 (gutter_specs_changed): do specific gutter positions.
13573 (top_gutter_specs_changed): new function. Only update the
13574 specified gutter specs.
13575 (bottom_gutter_specs_changed): ditto.
13576 (left_gutter_specs_changed): ditto.
13577 (right_gutter_specs_changed): ditto.
13579 * gui.c (gui_item_hash_internal): new function, does a real hash.
13580 (gui_item_id_hash): use it.
13581 (gui_item_hash): hash the eval'ed gui_item.
13583 * gui-x.c (popup_selection_callback): send an eval event to call
13584 Fupdate_widget_instances.
13586 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
13587 to call Fupdate_widget_instances.
13589 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
13590 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
13592 * glyphs.c: (update_frame_subwindows): deleted.
13593 (Fupdate_widget_instances): new function for updating the dirty
13594 state of widgets that might have changed.
13595 (syms_of_glyphs): add Qupdate_widget_instances.
13596 (full_list_hash): hash a list completely.
13597 (image_instance_hash): use it for items and properties.
13599 * frame-msw.c (mswindows_size_frame_internal): remove unused
13602 * faces.h (struct face_cachel): fix comment.
13604 * event-stream.c (Fdispatch_non_command_events): new
13605 function. Process non-command events, forcing an event cycle
13607 (syms_of_event_stream): declare.
13608 (event_stream_force_event_pending): new function. Force an event
13609 on the native event queue so that an event cycle will occur next
13613 (struct ntpipe_shove_stream):
13614 (mswindows_enqueue_dispatch_event):
13615 (mswindows_dequeue_dispatch_event):
13616 (mswindows_cancel_dispatch_event):
13617 (mswindows_pump_outstanding_events):
13618 (mswindows_drain_windows_queue):
13619 (mswindows_handle_paint):
13620 (mswindows_wnd_proc):
13621 (mswindows_key_to_emacs_keysym):
13622 (get_process_input_waitable):
13623 (emacs_mswindows_delete_stream_pair): re-indent file.
13624 (mswindows_need_event): do not process further fds if the windows
13625 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
13626 fixes the 100% cpu problem.
13627 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
13629 2000-03-15 Olivier Galibert <galibert@pobox.com>
13635 * emacs.c: Moved dump file searching to dumper.c.
13636 (Frunning_temacs_p): Fixed.
13638 * alloc.c: Moved everything pdump-related to dumper.c. Removed
13639 last_lrecord_type_index_assigned.
13641 2000-02-20 Olivier Galibert <galibert@pobox.com>
13643 * symsinit.h: Added reinit parameter to init_console_stream
13646 * lisp.h: Added file parameter to pdump_load declaration.
13648 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
13649 support. Added dump file searching.
13651 * config.h.in: Added EMACS_PROGNAME.
13653 * console-stream.c (init_console_stream): Fix reinitialisation
13654 when running from temacs.
13656 * alloc.c (pdump): Add id support.
13657 (pdump_load): Add file parameter and signature/id support.
13659 * Makefile.in.in: Add full pdump support.
13661 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
13663 * postgresql.c: Update documentation to reflect latest code
13665 (print_result): Show tuple counts in printed representation when
13667 (Fpq_put_nbytes): MULE-ize.
13668 (Fpq_get_line_async): Ditto.
13670 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
13672 * postgresql.c (Fpq_lo_import): Fix return value.
13673 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
13675 2000-03-13 Ben Wing <ben@xemacs.org>
13677 * alloc.c (pdump_load):
13678 Fix compile warning under mswin.
13680 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
13682 * postgresql.c: Mule-ization, bug fixes.
13683 Use PG_CODING to encapsulate coding system name changes.
13684 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
13685 (pg-coding-system): Create.
13687 (Fpq_conn_defaults): Mule-ize.
13688 (Fpq_connectdb): Mule-ize & bug fix.
13689 (Fpq_connect_start): Mule-ize.
13690 (Fpq_set_client_encoding): Mule-ize.
13691 (Fpq_finish): Document `DEAD' connection status.
13692 (Fpq_clear): Ditto.
13693 (Fpq_pgconn): Mule-ize.
13694 (Fpq_exec): Mule-ize & bug fix.
13695 (Fpq_send_query): Ditto.
13696 (Fpq_get_result): Ditto.
13697 (Fpq_res_status): Mule-ize.
13698 (Fpq_result_error_message): Mule-ize.
13699 (Fpq_ntuples): fix comments.
13700 (Fpq_fname): Mule-ize.
13701 (Fpq_fnumber): Mule-ize.
13702 (Fpq_ftype): fix comments.
13703 (Fpq_get_value): Mule-ize.
13704 (Fpq_cmd_status): Ditto.
13705 (Fpq_cmd_tuples): Ditto.
13706 (Fpq_oid_value): Ditto.
13707 (Fpq_notifies): Ditto.
13708 (Fpq_lo_import): Ditto.
13709 (Fpq_lo_export): Ditto.
13710 (Fpq_get_line): Ditto.
13711 (Fpq_put_line): Mule-ize and bug fix.
13712 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
13714 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
13716 * postgresql.c (vars_of_postgresql): Mule-ize.
13717 (Fpq_conn_defaults): Ditto.
13719 2000-03-12 Ben Wing <ben@xemacs.org>
13721 * alloc.c (Fmake_byte_code):
13722 * alloc.c (debug_string_purity_print):
13723 * alloc.c (pdump_backtrace):
13724 * alloc.c (pdump_get_indirect_count):
13725 * alloc.c (pdump_register_sub):
13726 * alloc.c (pdump_register_object):
13727 * alloc.c (pdump_register_struct):
13728 * alloc.c (pdump_dump_data):
13729 * alloc.c (pdump_reloc_one):
13733 * console-msw.c (GetConsoleHwnd):
13734 * console-msw.c (msw_hide_console):
13735 * console-msw.c (msw_show_console):
13736 * console-msw.c (msw_ensure_console_buffered):
13737 * console-msw.c (msw_output_console_string):
13738 * console-msw.c (console_type_create_mswindows):
13740 a) Added functions to manipulate the console window for use with
13743 b) Added support for writing text to the console, which is now
13744 used under Windows when xemacs is not being run non-interactively,
13745 to write text that would otherwise be destined for stdout because
13746 under these circumstances, text written to stdout tends to
13747 disappear and not be seen.
13751 * event-Xt.c (x_event_to_emacs_event):
13752 * event-Xt.c (describe_event_window):
13753 * events-mod.h (XEMACS_MOD_CONTROL):
13755 * events.c (Fmake_event):
13756 * events.c (character_to_event):
13757 * events.c (event_to_character):
13758 * events.c (format_event_object):
13759 * events.c (Fevent_modifiers):
13761 * events.h (struct key_data):
13762 * events.h (struct button_data):
13763 * events.h (struct misc_user_data):
13764 * frame-x.c (Fcde_start_drag_internal):
13765 * frame-x.c (Foffix_start_drag_internal):
13766 * gpmevent.c (Freceive_gpm_event):
13768 * keymap.c (bucky_sym_to_bucky_bit):
13769 * keymap.c (control_meta_superify):
13770 * keymap.c (make_key_description):
13771 * keymap.c (keymap_lookup_directly):
13772 * keymap.c (create_bucky_submap):
13773 * keymap.c (keymap_store):
13774 * keymap.c (define_key_check_and_coerce_keysym):
13775 * keymap.c (define_key_parser):
13776 * keymap.c (define_key_alternate_name):
13777 * keymap.c (Fdefine_key):
13778 * keymap.c (raw_lookup_key_mapper):
13779 * keymap.c (struct map_keymap_unsorted_closure):
13780 * keymap.c (map_keymap_unsorted_mapper):
13781 * keymap.c (map_keymap_sort_predicate):
13782 * keymap.c (map_keymap_sorted):
13783 * keymap.c (accessible_keymaps_mapper_1):
13784 * keymap.c (where_is_recursive_mapper):
13785 * keymap.c (describe_map_mapper):
13786 * keymap.c (describe_map_sort_predicate):
13787 * keymap.c (describe_map):
13788 * keymap.c (complex_vars_of_keymap):
13789 And a number of other files, the key modifier preprocessor
13790 constants that xemacs uses have names that conflict with constants
13791 defined under MS Windows for other purposes, so they were renamed
13792 to begin with the prefix XEMACS_. The variables that hold such
13793 modifiers were changed to consistently be of type int to fix
13794 various compile warnings.
13796 * console.c (complex_vars_of_console):
13799 * device-msw.c (mswindows_finish_init_device):
13800 * device-msw.c (msw_get_workspace_coords):
13801 * device-msw.c (mswindows_device_system_metrics):
13802 and various other files, added support for a new
13803 device property called offset-workspace which returns the position
13804 of the upper left corner of the workspace area and goes along with
13805 the existing size-workspace property.
13808 * dialog-msw.c (push_bufbyte_string_as_unicode):
13809 * dialog-msw.c (mswindows_popup_dialog_box):
13810 Added support for XEmacs-style accelerator specifications in
13811 button text. Note: I didn't add support for this under X Windows,
13812 and somebody needs to do this.
13815 * dialog.c (Fpopup_dialog_box):
13816 Documented the support for accelerators that was just mentioned.
13818 editfns.c (get_home_directory): Changed behavior under Windows
13819 when HOME not defined; former behavior was irretrievably broken.
13822 * emacs.c (main_1):
13824 * minibuf.c (clear_echo_area_internal):
13825 * minibuf.c (echo_area_append):
13827 * print.c (std_handle_out_external):
13828 * print.c (std_handle_out_va):
13830 * print.c (write_string_to_stdio_stream):
13831 * print.c (output_string):
13832 * print.c (debug_print):
13833 * print.c (debug_backtrace):
13834 * print.c (debug_short_backtrace):
13835 Cleaned up the code that prints text to stdout so that this can be
13836 changed to output into a console window instead under MS Windows,
13837 as described above.
13840 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
13841 * eval.c (internal_catch):
13842 * eval.c (unwind_to_catch):
13843 * eval.c (throw_or_bomb_out):
13844 * eval.c (condition_case_1):
13845 * eval.c (signal_1):
13846 * eval.c (check_error_state_sanity):
13847 * eval.c (call_with_suspended_errors_1):
13848 * eval.c (call_with_suspended_errors):
13849 * eval.c (reinit_vars_of_eval):
13850 Added code to catch throw loops and check for a pesky bug that may
13854 * event-msw.c (key_needs_default_processing_p):
13855 * event-msw.c (mswindows_wnd_proc):
13856 * event-msw.c (mswindows_modifier_state):
13857 * event-msw.c (emacs_mswindows_quit_p):
13858 * event-msw.c (vars_of_event_mswindows):
13859 a) Added support for using the alt key to select menu items as is
13860 standard under MS Windows. This is controlled using the variable
13861 menu-accelerator-enabled, just like under X Windows. There is an
13862 option on the options menu to turn this support on. I really
13863 think that it should be on by default under Windows, but I'm not
13864 going to make this change yet.
13866 b) Added support for dynamic display size changes under Windows.
13869 * event-stream.c (maybe_echo_keys):
13870 * event-stream.c (Fnext_event):
13871 * event-stream.c (command_builder_find_leaf):
13872 * event-stream.c (lookup_command_event):
13873 * event-stream.c (execute_command_event):
13874 * event-stream.c (pre_command_hook):
13875 * event-stream.c (post_command_hook):
13876 * event-stream.c (syms_of_event_stream):
13877 * event-stream.c (vars_of_event_stream):
13878 * event-stream.c (complex_vars_of_event_stream):
13879 * events.h (struct command_builder):
13881 a) Tried to clean up a little bit the horribly written x-specific
13882 accelerator code that crept into this file. I moved this code
13883 into menubar-x.c where it belongs. I also needed to move the
13884 command builder structure into the file events.h because it is
13885 accessed directly by this accelerator code. What I didn't do, but
13886 which should be done at some point, is to properly abstract this
13887 code using device methods instead of the kludgy way that it
13888 currently hooks into the event code.
13890 b) Added the lisp variables this-command-properties and
13891 last-command- properties, which should be used to synchronize two
13892 adjacent commands in preference to playing games with the variable
13893 this-command, which is typically what happens.
13895 c) Added some slightly nasty code to hook into the lisp support
13896 for shifted- motion-key selection. This is actually necessary for
13897 somewhat complicated reasons, which are described in
13898 simple.el. (NB: I think the proper thing would be to have the code
13899 that calls the pre and post command hooks also call out to generic
13900 lisp functions in simple.el, where all built-in stuff could be
13901 added. I will think about this more.)
13903 * event-unixoid.c (poll_fds_for_input):
13904 * lread.c (readchar):
13905 * redisplay-tty.c (tty_clear_frame):
13906 * redisplay-x.c (x_get_gc):
13907 * signal.c (interrupt_signal):
13908 And a whole bunch of other files: fixed up places that printed
13909 directly to stderr to instead call the function stderr_out so that
13910 the changes I made under Windows work correctly.
13912 * filemode.c (mode_string):
13916 * frame-msw.c (mswindows_size_frame_internal):
13917 Fixed the computation of frame size and position to keep the frame
13918 within the workspace area, rather than within the physical
13919 dimensions of the screen, so that the frame doesn't overlap window
13920 manager decorations, such as the start menu and toolbar, typically
13921 at the bottom of the screen.
13923 * frame.c (vars_of_frame):
13924 Changed the default frame title format under MS Windows to consist
13925 of buffername-XEmacs, which is standard under MS Windows. I think
13926 it might be a good idea to change this everywhere because I think
13927 it is superior to the current frame title format, but this is the
13928 kind of change that is likely to cause some people to get annoyed,
13929 so I'm not making it.
13931 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
13933 * gui-msw.c (mswindows_handle_gui_wm_command):
13934 Fixed compile warnings.
13937 * gui-x.c (strdup_and_add_accel):
13938 * gui-x.c (button_item_to_widget_value):
13940 Added code to automatically put an accelerator onto the beginning
13941 of menu items that don't have one as is now the standard, and is
13942 described more later. Also fixed things so that the menu item
13943 name can be an evaluated expression, again a new standard.
13946 * gui.c (gui_item_add_keyval_pair):
13947 * gui.c (make_gui_item_from_keywords_internal):
13948 * gui.c (gui_add_item_keywords_to_plist):
13949 * gui.c (gui_item_accelerator):
13950 * gui.c (gui_name_accelerator):
13951 * gui.c (gui_item_included_p):
13952 * gui.c (gui_item_display_flush_left):
13953 * gui.c (gui_item_display_flush_right):
13954 * gui.c (parse_gui_item_tree_item):
13955 * gui.c (parse_gui_item_tree_children):
13956 * gui.c (parse_gui_item_tree_list):
13957 Mule-ized. Cleanup. GCPRO addition.
13959 * line-number.c (buffer_line_number):
13961 * lisp.h (EMACS_INT_MAX):
13962 Added the manifest constant EMACS_INT_MIN corresponding to the
13963 existing constant EMACS_INT_MAX. This is partially to fix compile
13964 warnings under Windows, and partly for cleanliness.
13967 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
13968 * menubar-msw.c (msw_translate_menu_or_dialog_item):
13969 * menubar-msw.c (displayable_menu_item):
13970 * menubar-msw.c (populate_menu_add_item):
13971 * menubar-msw.c (populate_or_checksum_helper):
13972 * menubar-msw.c (populate_menu):
13973 * menubar-msw.c (update_frame_menubar_maybe):
13974 * menubar-msw.c (prune_menubar):
13975 * menubar-msw.c (msw_char_is_accelerator):
13976 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
13977 * menubar-msw.c (mswindows_handle_wm_command):
13978 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
13979 * menubar-msw.c (mswindows_handle_wm_initmenu):
13980 * menubar-msw.c (mswindows_update_frame_menubars):
13981 * menubar-msw.c (mswindows_free_frame_menubars):
13982 * menubar-msw.c (mswindows_popup_menu):
13983 Fixed a bug in handling accelerators where an extra character
13984 would be displayed in the menu item. Also generalized the
13985 function displayable_menu_item because it is now used by the
13986 dialog box code as well. And finally, added code in the functions
13987 that create the menubar to extract a list of accelerators for the
13988 top level menubar, which is used in the event code to determine
13989 whether a particular alt-key combination should be used to invoke
13990 a menu item, or should be passed through to access the standard
13991 XEmacs keymap binding for this key combination.
13993 Much needed GCPROing.
13996 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
13997 * menubar-x.c (menu_item_descriptor_to_widget_value):
13998 * menubar-x.c (restore_in_menu_callback):
13999 * menubar-x.c (x_popup_menu):
14000 * menubar-x.c (menu_move_up):
14001 * menubar-x.c (menu_move_down):
14002 * menubar-x.c (menu_move_left):
14003 * menubar-x.c (menu_move_right):
14004 * menubar-x.c (menu_select_item):
14005 * menubar-x.c (command_builder_operate_menu_accelerator):
14006 * menubar-x.c (menu_accelerator_junk_on_error):
14007 * menubar-x.c (command_builder_find_menu_accelerator):
14008 * menubar-x.c (Faccelerate_menu):
14010 Moved a whole bunch of code here that was previously in
14011 event-stream.c as described above. There is also code connected
14012 to the new standard of adding an accelerator to the beginning of
14013 menu items that don't have one as described above and below.
14016 * menubar.c (menu_parse_submenu_keywords):
14017 * menubar.c (Fmenu_find_real_submenu):
14018 * menubar.c (Fnormalize_menu_item_name):
14019 * menubar.c (syms_of_menubar):
14020 * menubar.c (vars_of_menubar):
14021 * menubar.c (complex_vars_of_menubar):
14023 a) Cleaned up a bunch of documentation and improved it.
14025 b) XEmacs now automatically adds an accelerator onto the beginning
14026 of any menu items that don't have one. I did this because there
14027 will inevitably be some menu items on the main menubar that don't
14028 have accelerators on them because the package that adds that
14029 particular menu item hasn't yet been fixed up to have accelerators
14030 in them and it looked rather strange to have some items with and
14031 some items without accelerators, especially since even in items
14032 without accelerators, you can, at least under windows, still
14033 access the item through an accelerator corresponding to the first
14034 character in the item's name. If people don't like this behavior,
14035 I can add a variable to turn it off optionally, but I'm not sure
14036 this is a good idea because we really do need to have accelerators
14037 on all of the menu items, and if a package doesn't like the
14038 accelerators being put on the first character, then it should put
14039 the accelerators where they belong.
14041 c) I made a behavior change, which is that the descriptor that
14042 specifies the text of the menu item, which formerly was just a
14043 string, can now also be an evaluated expression. This makes this
14044 descriptor parallel with all of the others, which could also be
14045 evaluated expressions. This also obviates the need for the
14046 keyword :label, which was previously listed in the documentation
14047 as unimplemented, and which was for the same purpose.
14052 * ntproc.c (new_child):
14053 * ntproc.c (sys_spawnve):
14054 * ntproc.c (find_child_console):
14055 * ntproc.c (sys_kill):
14056 Fixed compile warnings. By the way, this file should really go
14057 away entirely, and this will happen as soon as Kirill makes his
14058 final round of process cleanups, which affect the function
14062 * process-nt.c (struct nt_process_data):
14063 * process-nt.c (find_process_from_pid):
14064 * process-nt.c (send_signal_the_nt_way):
14065 * process-nt.c (enable_child_signals):
14066 * process-nt.c (find_child_console):
14067 * process-nt.c (send_signal_the_95_way):
14068 * process-nt.c (nt_finalize_process_data):
14069 * process-nt.c (ensure_console_window_exists):
14070 * process-nt.c (nt_create_process):
14071 * process-nt.c (nt_kill_child_process):
14072 * process-nt.c (nt_kill_process_by_pid):
14073 * process-nt.c (nt_open_network_stream):
14074 * process-nt.c (vars_of_process_nt):
14075 Copied over code from Emacs 20.5 to correctly send signals to sub-
14076 processes under Windows 95. Also added code to automatically
14077 create and hide console window when a sub-process is created under
14078 Windows 95, which obviates the need for the separate runemacs.exe
14079 executable, and finally implemented some variables that were
14080 implemented in Emacs 20.5, but previously not in XEmacs. These
14081 include mswindows- start-process-share-console and
14082 mswindows-start-process-inherit-error-mode. (Both of these only
14083 apply to Windows 95.)
14085 * regex.c (regex_compile): Fixed a compile warning.
14088 * select-msw.c (mswindows_own_selection):
14089 * select-msw.c (mswindows_get_foreign_selection):
14090 * select-msw.c (mswindows_disown_selection):
14091 * select-msw.c (console_type_create_select_mswindows):
14092 * select-msw.c (syms_of_select_mswindows):
14093 Cleaned up the file and implemented the device method
14094 selection_exists_p, which had accidentally been left out. Also
14095 removed four lisp functions that were remnants from before the
14096 time when the selection code was properly device abstracted.
14097 These functions are no longer needed because there are generic
14098 equivalents, and because they were added recently and don't exist
14099 in FSF Emacs, I don't think there's any problem with just deleting
14103 * sysdep.c (sys_subshell):
14104 Fixed a compile warning, although in this case there's probably
14105 something wrong with this code, and it ought to be looked into
14106 more thoroughly by somebody who understands it.
14109 * window.c (Fwindow_text_area_height):
14110 * window.c (Fwindow_width):
14111 * window.c (Fwindow_full_width):
14112 * window.c (Fwindow_pixel_width):
14113 * window.c (debug_print_window):
14114 * window.c (syms_of_window):
14115 Added functions window-text-area-height and window-full-width,
14116 which are functions for returning various width and height
14117 characteristics of a window. (One of these functions is necessary
14118 for making the file dialog box work correctly, and the other one
14119 was added for completeness.) Also added a table to the
14120 documentation for window-height which describes the entire scheme
14121 for accessing width and height characteristics of a window.
14123 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14125 * nt.c (fstat): Added a comment for another problem with
14126 non-encapsulated [f]stat(), reported by Adrian Aichner
14127 <aichner@ecf.teradyne.com>.
14129 2000-03-11 Andy Piper <andy@xemacs.org>
14131 * window.c (make_dummy_parent): initialize subwindow instance
14133 (Fset_window_configuration): zero extent_modiff.
14135 2000-03-10 Andy Piper <andy@xemacs.org>
14137 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
14138 more changes can be triggered.
14139 (Fredisplay_frame): ditto.
14140 (Fredraw_device): ditto.
14141 (Fredisplay_device): ditto.
14142 (redisplay_frame): make non-static.
14143 (redisplay_frame): call update_frame_gutter_geometry outside of
14146 * gutter.h: declare update_frame_gutter_geometry.
14148 * redisplay.h: declare redisplay_frame.
14150 * gutter.c (update_frame_gutter_geometry): move geometry changes
14151 in update_frame_gutters here. Geometry changes can only occur
14152 outside of redisplay.
14153 (update_frame_gutters): remove geometry change code.
14154 (Fredisplay_gutter_area): make sure that we are in display when we
14155 update and that we have flushed any size changes.
14157 2000-03-11 Andy Piper <andy@xemacs.org>
14159 * alloc.c (pdump_dump_data): remove i & count shadows.
14161 2000-02-27 Mike Alexander <mta@arbortext.com>
14163 * sysdep.h: Declare pdump_read_file
14165 * sysdep.c (pdump_read_file): New function
14167 * alloc.c (pdump_load): Call pdump_read_file to get the portable
14170 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
14172 * lrecord.h: add `lrecord_type_pgsetenv'.
14174 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
14176 * symsinit.h: declare (vars|syms)_of* functions.
14177 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
14179 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
14181 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
14183 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
14186 * emacs.c (main_1): Call postgres initialization code.
14188 * postgresql.h: New file. PostgreSQL RDBMS support.
14189 * postgresql.c: New file.
14191 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
14193 * redisplay-output.c (redisplay_output_display_block): Disable
14196 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14198 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
14199 (Fcanna_henkan_next): Ditto.
14200 (Fcanna_bunsetu_henkou): Ditto.
14201 (Fcanna_henkan_kakutei): Ditto.
14202 (Fcanna_henkan_end): Ditto.
14203 (Fcanna_henkan_quit): Ditto.
14204 (Fcanna_henkan_next): Set retun value correctly.
14205 (c2mu): Use unsigned char instead of signed char.
14207 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14209 * emacs.c (main_1): Always call syms_of_gui.
14210 * inline.c: include gui.h
14212 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14214 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
14215 converted to Lisp_Object.
14216 (Qtop_bottom): New variable.
14217 (syms_of_redisplay): Initialize it.
14218 * redisplay.h (Vvisible_bell): Ditto.
14219 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
14220 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
14221 only flash top and bottom.
14223 2000-03-08 Andy Piper <andy@xemacs.org>
14225 * buffer.c (Frename_buffer): record new buffer name the right way.
14227 2000-03-08 Andy Piper <andy@xemacs.org>
14229 * glyphs.c (update_subwindow): increase hash depth so that widget
14230 items get picked up properly.
14232 * redisplay-output.c (compare_runes): increase hash depth so that
14233 widget items get picked up properly.
14235 2000-03-08 Andy Piper <andy@xemacs.org>
14237 * gutter.c (output_gutter): add some debug.
14239 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
14240 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
14241 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
14243 * redisplay-output.c (compare_runes): use display_hash to
14244 determine if glyphs really are not the same.
14246 * glyphs.c (update_subwindow): check display_hash to see if
14247 anything really needs to be updated. If not then do
14248 nothing. Record the display_hash after updating.
14249 (image_instance_equal): compare the image_instance face also.
14251 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
14253 * redisplay.h: Fix comment style.
14255 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
14257 * consle-msw.h (struct mswindows_frame):
14258 Added new member paint_pending to indicate whether a WM_PAINT
14259 magic event has been queued for this frame.
14261 * event-msw.c (mswindows_drain_windows_queue):
14262 Don't queue a WM_PAINT magic event if one is already queued.
14263 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
14265 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
14267 2000-03-07 Didier Verna <didier@xemacs.org>
14269 * dired.c: #include `regex.h' after `sysfile.h'.
14271 2000-03-06 Martin Buchholz <martin@xemacs.org>
14273 * sound.c (init_nas_sound): Fix compiler warning.
14275 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
14277 (MARK_STRUCT_AS_FREE):
14278 (MARK_STRUCT_AS_NOT_FREE):
14279 Make `gcc -fstrict-aliasing' work properly.
14281 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
14283 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
14284 (mswindows_delete_device): Call CoUnnitialize().
14286 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
14288 2000-02-25 <CraigL@DyCon.com>
14290 * process-nt.c: MinGW now has <shellapi.h>, but still needs
14293 * sysdep.c: This extern declaration for environ prevents MinGW
14294 from finding the variable in CRTDLL.DLL.
14296 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
14298 (SHGFI_EXETYPE): ..
14299 (WM_MOUSEWHEEL): ..
14300 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
14302 (MMRESULT): Removed, now defined in cygwin's windows headers.
14304 (uid_t,gid_t,pid_t,ssize_t): ..
14305 (_timeb): Removed, MinGW defines both _timeb and timeb.
14306 (HAVE_H_ERRNO): Added.
14307 (HAVE_TZNAME): Added, configure is not detecting this.
14309 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
14311 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
14312 * syntax.c (syntax_match): Use it.
14314 * cmds.c: Import auto-fill-chars from FSF Emacs.
14315 (Vauto_fill_chars): New variables.
14316 (internal_self_insert): Check Vauto_fill_chars.
14318 Declare auto-fill-chars as a Lisp variable and initialize it.
14320 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
14322 * fileio.c (Fmake_symbolic_link):
14324 Run handlers even if local machine doesn't have symlinks.
14326 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
14328 * event-msw.c (mswindows_drain_windows_queue):
14329 Don't generate paint magic events for non-XEmacs frames.
14331 2000-03-05 Andy Piper <andy@xemacs.org>
14333 * redisplay.c (redisplay_frame): generate_displayable_area and
14334 friends assumes that we are not in GC, we therefore have to make
14335 sure that this doesn't happen.
14337 * gutter.c (calculate_gutter_size): generate_displayable_area
14338 assumes that we are not in GC, we therefore have to make sure that
14339 this doesn't happen.
14341 2000-03-05 Martin Buchholz <martin@xemacs.org>
14343 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
14345 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14347 * redisplay.c (regenerate_window): Make sure we set a sane value
14348 for end_pos even if we jump out of the loop.
14349 (regenerate_window): Answer Ben's question :-).
14350 (start_end_of_last_line): Add may_error argument.
14351 (start_of_last_line):
14352 (end_of_last_line): Pass may_error = 0.
14353 (end_of_last_line_may_error): New function.
14354 (pixel_to_glyph_translation): Use it, so we don't crash in
14357 2000-03-04 Andy Piper <andy@xemacs.org>
14359 * window.h (struct window): add gutter_extent_modiff.
14361 * window.c (allocate_window): zero out gutter_extent_modiff.
14363 * redisplay.h: declare sync_display_line_structs.
14365 * redisplay.c (add_glyph_rune): add a better comment.
14367 * redisplay-output.c (sync_display_line_structs): made non-static.
14368 (compare_runes): remove unneccesary glyph cachel access.
14370 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
14372 * gutter.c (output_gutter): don't output the gutter if extent
14373 changes only involve extents in buffers. use 4 sets of display
14375 (gutter_extent_signal_changed_region_maybe): new function. Mark
14376 extents in gutters as changed.
14377 (update_frame_gutters): use 4 sets of display lines.
14378 (reset_gutter_display_lines): ditto.
14379 (free_frame_gutters): ditto.
14380 (redraw_exposed_gutter): force output of gutters.
14382 * frame.h (struct frame): add 4 sets of gutter display lines.
14384 * extents.c: (extent_changed_for_redisplay): signal changes to
14385 extents in strings in the gutter as well as extents in buffers.
14387 2000-03-02 Andy Piper <andy@xemacs.org>
14389 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
14391 * frame.c (Fmake_frame): make sure the gutters get initialized
14392 after the frame is visible.
14393 (set_frame_selected_window): re-arrange compilation macros a
14395 (change_frame_size_1): mark gutters changed.
14397 * device.c (Fset_device_class): mark gutters changed.
14399 2000-03-01 Andy Piper <andy@xemacs.org>
14401 * window.c (window_top_frame_gutter_height): deleted.
14402 (window_bottom_frame_gutter_height): ditto.
14403 (window_left_frame_gutter_height): ditto.
14404 (window_right_frame_gutter_height): ditto.
14405 (window_top_gutter_height): don't use them.
14406 (window_bottom_gutter_height): ditto.
14407 (window_left_gutter_width): ditto.
14408 (window_right_gutter_width): ditto.
14409 (Fsplit_window): ditto.
14410 (Fwindow_pixel_edges): don't use border dimensions here.
14412 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
14413 (update_scrollbar_instance): ditto.
14415 * redisplay.c (generate_modeline): don't take gutters into account.
14416 (generate_modeline): ditto.
14417 (redisplay_frame): small gutter display optimization.
14419 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
14421 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
14422 gutters into account.
14424 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
14425 for window position and type.
14427 * gutter.c (get_gutter_coords): fix for frame gutters.
14428 (update_frame_gutters): update frame geometry if the gutters have
14430 (init_frame_gutters): record current gutter geometries.
14432 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
14434 (mswindows_widget_instantiate): ditto.
14436 * frame.h (struct frame): add current_gutter_bounds.
14438 * frame.c (change_frame_size_1): position window and minibuffer
14439 appropriately taking into account the frame gutters.
14441 * frame-x.c: (x_initialize_frame_size): take into account the
14444 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
14446 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
14448 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
14450 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
14452 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14454 * file-coding.c (reset_decoding_stream): Clear previous
14455 detection state when autodetect.
14457 2000-02-29 Didier Verna <didier@xemacs.org>
14459 * extents.c (set_extent_glyph_1): don't require extents to be
14462 2000-02-27 Andy Piper <andy@xemacs.org>
14464 * gutter.c (Fset_default_gutter_position): don't default left and
14465 right gutter visibility to t.
14466 (Fset_default_gutter_position): run
14467 default-gutter-position-changed-hook.
14468 (syms_of_gutter): add default-gutter-position-changed-hook.
14470 2000-02-26 Andy Piper <andy@xemacs.org>
14472 * specifier.c (Fmake_specifier): add gutter references.
14474 * gutter.h (RAW_WINDOW_GUTTER): new macro.
14476 * lisp.h: declare Fvalid_plist_p.
14478 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
14480 (default_gutter_visible_p_changed_in_window): invalidate gutter as
14481 well as its visibility so that it gets reconstructed.
14482 (construct_window_gutter_spec): new function. Construct a string
14483 to be displayed in the gutter from a plist of strings. Take care
14484 to only use elements that are declared as visible.
14485 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
14487 (gutter_validate): allow plists of strings in the specifier.
14488 (gutter_specs_changed): construct the real_gutter from the gutter
14489 specs using construct_window_gutter_spec.
14490 (gutter_visible_validate): gutter-visible is a new specifier type.
14491 (Fgutter_visible_specifier_p): new function for the new specifier.
14492 (syms_of_gutter): declare gutter-visible and
14493 Fgutter_visible_specifier_p.
14494 (specifier_type_create_gutter): intitalize new gutter-visible
14496 (reinit_specifier_type_create_gutter): ditto.
14497 (specifier_vars_of_gutter): use new specifier type for gutter
14499 (init_frame_gutters): construct real_gutter correctly.
14500 (Fgutter_specifier_p): beef up documentation.
14501 (Fgutter_size_specifier_p): ditto.
14503 * winslots.h: add real_gutter slots.
14505 2000-02-25 Andy Piper <andy@xemacs.org>
14507 * device-msw.c: Be kind to older cygwin versions. From Raymond
14508 Toy <toy@rtp.ericsson.se>.
14510 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
14511 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
14513 2000-02-25 Martin Buchholz <martin@xemacs.org>
14515 * elhash.c (MARK_OBJ): Practice macro hygiene.
14517 2000-02-24 Martin Buchholz <martin@xemacs.org>
14519 * miscplay.c: s/__inline__/inline/g;
14520 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
14521 (get_device_compdc): INLINE ==> static inline
14522 * *.[ch]: Change INLINE to INLINE_HEADER globally.
14523 find -name '*.h' | \
14524 xargs global-replace \
14525 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
14527 2000-02-25 Andy Piper <andy@xemacs.org>
14529 * window.c (window_top_frame_gutter_height): new function.
14530 (window_top_window_gutter_height): ditto.
14531 (window_top_gutter_height): use them.
14532 (window_bottom_frame_gutter_height): new function.
14533 (window_bottom_window_gutter_height): ditto.
14534 (window_bottom_gutter_height): use them.
14535 (window_left_window_gutter_width): new function.
14536 (window_left_frame_gutter_width): ditto.
14537 (window_left_gutter_width): use them.
14538 (window_right_window_gutter_width): new function.
14539 (window_right_frame_gutter_width): ditto.
14540 (window_right_gutter_width): use them.
14541 (window_pixel_height): new function. calulate window pixel height
14542 with frame gutter involvement.
14543 (Fsplit_window): calculate new sizes taking frame gutters into
14545 (window_char_height_to_pixel_height): don't include frame gutters.
14546 (window_char_height): use window_pixel_height.
14547 (window_pixheight): rename from window_pixel_height.
14548 (change_window_height): use it.
14549 (window_pixel_height_to_char_height): don't include frame gutters.
14550 (window_char_width_to_pixel_width): ditto.
14552 2000-02-25 Andy Piper <andy@xemacs.org>
14554 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
14557 2000-02-24 Martin Buchholz <martin@xemacs.org>
14559 * alloc.c (staticpro):
14560 (staticpro_nodump):
14565 (compact_string_chars):
14566 (pdump_dump_wired):
14567 Convert: if (foo) abort(); ==> assert (! foo);
14569 * eldap.c (Fldap_search_basic):
14573 Fix compiler warnings, and possible crashes if (random) return
14574 value were to be used.
14576 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14578 * device-msw.c: Workaround ResetDC failure.
14580 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
14581 applying a devmode.
14583 * redisplay-msw.c (get_frame_dc): Added start_page_p.
14584 (mswindows_text_width): Do not start printer page.
14586 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
14588 * glyphs-msw.c: Added image methods to msprinter console and
14589 msprinter-specific image instantiation.
14591 2000-02-20 Mike Alexander <mta@arbortext.com>
14593 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
14594 to avoid crashes when selection-sets-clipboard is on
14595 (mswindows_own_selection): ditto
14597 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14600 * redisplay-msw.c (get_frame_dc):
14601 (get_frame_compdc):
14603 * device-msw.c (mswindows_init_device):
14604 (mswindows_delete_device):
14605 (msprinter_init_device):
14606 (msprinter_delete_device):
14607 * frame-msw.c (mswindows_init_frame_1):
14608 (mswindows_delete_frame):
14609 (msprinter_init_frame_3):
14610 (msprinter_delete_frame): Move compatible DC to device object from
14611 frame object, for both mswindows and msprinter. Only one at a time
14612 is needed, it is a real waste to have one per frame!
14614 2000-02-23 Andy Piper <andy@xemacs.org>
14616 * glyphs.c: add dynamic width and height elements.
14617 (image_instance_equal): ditto.
14619 * glyphs-widget.c (widget_query_geometry): calculate width and
14620 height dynamically if required.
14621 (initialize_widget_image_instance): initialize dynamic dimensions.
14622 (widget_instantiate): pick-up dynamic dimensions.
14624 * glyphs.h (struct Lisp_Image_Instance): add width and height for
14625 dynamic determination. Add appropriate macros.
14627 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
14629 (WINDOW_GUTTER_SIZE): ditto.
14630 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
14632 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
14634 (get_frame_dc): ditto.
14636 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
14639 2000-02-23 Martin Buchholz <martin@xemacs.org>
14641 * XEmacs 21.2.31 is released.
14643 2000-02-22 Ben Wing <ben@xemacs.org>
14645 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
14647 2000-02-22 Andy Piper <andy@xemacs.org>
14649 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
14651 2000-02-21 Mike Sperber <mike@xemacs.org>
14655 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
14658 2000-02-21 Mike Sperber <mike@xemacs.org>
14660 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
14662 2000-02-21 Martin Buchholz <martin@xemacs.org>
14664 * XEmacs 21.2.30 is released.
14666 2000-02-20 Martin Buchholz <martin@xemacs.org>
14668 Performance hacking.
14670 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
14671 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
14672 * emacs.c (main_1):
14674 * console.c (DEFVAR_CONSOLE_LOCAL_1):
14675 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
14676 * symeval.h (DEFVAR_SYMVAL_FWD):
14677 * symbols.c (guts_of_unbound_marker):
14678 Make all c_readonly objects also lisp_readonly and marked for life.
14679 * lrecord.h (struct lrecord_implementation):
14680 Document flags better.
14681 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
14682 * lrecord.h (DECLARE_LRECORD):
14683 * lrecord.h (XSETRECORD):
14684 * lrecord.h (RECORDP):
14685 * lrecord.h (RECORD_TYPEP):
14686 * lrecord.h (RECORD_MARKER): New.
14687 * lrecord.h (error_check_*):
14688 * lrecord.h (CONCHECK_NONRECORD):
14689 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
14690 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
14691 * lrecord.h (set_lheader_implementation):
14692 * lrecord.h (enum lrecord_type): New.
14693 * symeval.h (SYMBOL_VALUE_MAGIC_P):
14694 * alloc.c (disksave_object_finalization_1):
14695 * alloc.c (mark_object):
14696 * alloc.c (lrecord_type_index):
14697 * alloc.c (tick_lcrecord_stats):
14698 * alloc.c (Fgarbage_collect):
14699 * alloc.c (init_alloc_once_early):
14700 * alloc.c (pdump_load):
14701 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
14702 * alloc.c (lrecord_type_index): Delete.
14703 Make lisp object type indexes be constant.
14704 Makes (byte-compile) 5% faster.
14705 Put all marker functions into their own array.
14706 Makes (garbage-collect) 5% faster.
14707 Optimize SYMBOL_VALUE_MAGIC_P.
14708 Makes (byte-compile) 2-3% faster.
14709 * config.h.in (gc_checking_assert): New.
14710 * alloc.c: Use gc_checking_assert().
14711 * .dbxrc: Make compatible with new object type implementation.
14712 * .gdbinit: Make compatible with new object type implementation.
14713 * alloc.c: Delete all symbols defined only for debugging, such as
14714 Lisp_Type_Vector and lrecord_charset.
14716 2000-02-21 Andy Piper <andy@xemacs.org>
14718 * gui-msw.c (Fmswindows_shell_execute): fix file location
14721 * buffer.c (Fkill_buffer): remove buffer from alist buffer
14722 unshowing so that set_window_buffer doesn't undo
14723 kill_buffer_hook's hard work.
14725 * glyphs-widget.c (tab_control_query_geometry): don't count the
14726 first item when calculating geometry.
14728 * glyphs.c (map_subwindow): remove redundant code.
14729 (update_frame_subwindows): be more circumspect about when to
14732 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
14733 when items haven't changed. Update faces if faces have changed as
14734 well as just the widget face.
14735 (x_tab_control_update): Update faces if faces have changed as well
14736 as just the widget face.
14738 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
14740 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
14742 (build_syscolor_string): Use mswindows_color_to_string to try to
14744 (mswindows_device_system_metrics): Reverse the foreground and
14745 background colors so that they match the documentation.
14747 * objects-msw.c: (mswindows_X_color_map): tweak some values so
14748 they match the default Windows palette.
14749 (mswindows_color_to_string): New function.
14751 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
14753 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
14755 2000-02-18 Olivier Galibert <galibert@pobox.com>
14757 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
14758 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
14760 * symbols.c (init_symbols_once_early): Removed obsolete
14761 DATA_SEG_BITS related kludge.
14762 (defvar_magic): Ditto.
14764 * malloc.c: Removed obsolete DATA_SEG_BITS
14766 * mem-limits.h: Ditto.
14768 * Makefile.in.in: Removed obsolete HAVE_SHM
14771 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14773 * device-msw.c (mswindows_delete_device): Free DDE string
14776 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14778 * keymap.c (get_keyelt):
14779 * unexnt.c (unexec):
14780 * vm-limit.c (memory_warnings):
14781 * ntheap.c (recreate_heap):
14782 * ntheap.h (UNINIT_PTR):
14783 * select-msw.c (Fmswindows_get_clipboard):
14784 (Fmswindows_set_clipboard):
14785 * objects-msw.h (MSWINDOWS_BAD_HFONT):
14787 * menubar-msw.c (displayable_menu_item):
14789 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
14790 * sysdep.c (sys_subshell):
14791 * process-nt.c (nt_create_process):
14792 * nt.c (normalize_filename):
14793 (dostounix_filename):
14794 (unixtodos_filename):
14795 * ntproc.c (win32_executable_type):
14796 * ntplay.c (play_sound_data_1):
14798 * editfns.c (get_home_directory):
14799 * event-msw.c (struct winsock_stream):
14800 (mswindows_dde_callback):
14801 * device-msw.c (msprinter_init_device):
14802 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
14804 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
14805 mswindows_clear_toolbar were swapped!
14807 * objects-msw.c:(colormap_t):
14809 * emacs.c (struct standard_args): Fixed const jumble.
14811 * glyphs-widget.c (update_widget): Fixed comparison notation.
14813 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
14815 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
14816 __declspec(noreturn) syntax.
14818 2000-02-19 Martin Buchholz <martin@xemacs.org>
14820 * eldap.c (Fldap_open):
14821 (Fldap_search_basic):
14824 Use new coding system conversion macros.
14826 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14828 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
14830 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
14832 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
14833 (Fldap_add, Fldap_modify, Fldap_delete): New functions
14835 * eldap.c (Qadd, Qreplace): New constant symbols
14836 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
14837 interruptions by XEmacs signals
14838 Remove unnecessary calls to slow_down_interrupts and
14839 speed_up_interrupts
14840 (Fldap_search_basic): Renamed from Fldap_search_internal
14841 Added new optional parameter VERBOSE that triggers the
14842 display of progress messages
14843 Remove unnecessary calls to slow_down_interrupts and
14844 speed_up_interrupts
14845 LDAP result code analysis rewritten
14846 (Fldap_add, Fldap_modify, Fldap_delete): New functions
14847 (syms_of_eldap): Define the new symbols and functions
14850 2000-02-17 Martin Buchholz <martin@xemacs.org>
14852 * realpath.c: Determine PATH_MAX maximally portably.
14854 * insdel.c (bytecount_to_charcount): Optimize.
14855 The function used to be optimized for entirely ASCII sequences.
14856 Now it is optimized for successive characters from the same
14857 charset. This also wins big for _mostly_ ASCII sequences.
14859 * fileio.c (Ffile_truename): convert return from realpath() using
14860 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
14861 - Rewrite GCPROing slightly.
14863 * sysdep.c (sys_open): Do filename conversion, like all other
14864 sys_* functions. Fixes bug:
14865 (let ((file-name-coding-system 'iso-8859-2))
14866 (write-region x y latin2-name))
14867 ==> writes filename using internal encoding.
14869 2000-02-18 Martin Buchholz <martin@xemacs.org>
14871 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
14872 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
14873 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
14874 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
14875 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
14876 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
14877 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
14878 (CONST_IF_NOT_DEBUG): Delete.
14879 * alloc.c (this_one_is_unmarkable): Delete.
14880 (mark_object): Don't check for this_one_is_unmarkable. Use the
14881 c_readonly flag instead.
14882 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
14884 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
14886 * event-msw.c (mswindows_drain_windows_queue):
14887 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
14888 away redundant repaint events.
14890 2000-02-17 Andy Piper <andy@xemacs.org>
14892 * redisplay.h: declare mark_redisplay_structs.
14894 * redisplay.c (redisplay_window):
14895 (redisplay_frame): don't check subwindows_state_changed.
14896 (mark_redisplay): mark gutters here.
14898 * glyphs.c: (instantiate_image_instantiator): always layout if we
14899 haven't done so already.
14900 (allocate_image_instance): don't mark as dirty.
14901 (update_subwindow): bind inhibit_quit.
14903 * gutter.c (mark_gutters): new function.
14905 * glyphs-x.c (x_update_widget): Always resize to get round a
14908 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
14909 breaking absolutely everything.
14911 * gutter.h: declare mark_gutters.
14913 2000-02-16 Martin Buchholz <martin@xemacs.org>
14915 * XEmacs 21.2.29 is released.
14917 2000-02-15 Olivier Galibert <galibert@pobox.com>
14919 * fns.c (size_bit_vector): Fix computation of the size.
14921 2000-02-15 Martin Buchholz <martin@xemacs.org>
14923 * *.[ch]: Change CONST to const globally.
14924 find -name '*.[ch]' | \
14925 xargs global-replace \
14926 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
14927 - Remove vestigial references to CONST_IS_LOSING
14929 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14931 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
14932 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
14933 events instead of dispatching them directly.
14934 (mswindows_handle_paint): New function to do repainting.
14935 (mswindows_wnd_proc):
14936 (emacs_mswindows_handle_magic_event): Call above function.
14938 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14940 * objects-msw.c (mswindows_create_font_variant): Return the new
14942 (initialize_font_instance): Get font metrics from the underlined
14943 variant of the font to cope with the case where the underlined
14944 font has a bigger descent.
14946 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
14948 * gui.c (gui_item_accelerator): Return the first underlined
14949 character in item name.
14951 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14953 * lisp.h: Added Qprinter.
14955 * general.c (syms_of_general): Initialized it.
14957 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
14959 (get_frame_compdc): Made inline.
14961 * console.h (struct console_methods): Added eject_page method.
14963 * frame.h: Added FRAME_DISPLAY_P and friends.
14964 Aligned backslahes in many macros in more readable fashion.
14965 Added page_number to struct frame, and an accessor macro
14968 * defice.h: Added DEVICE_DISPLAY_P and friends.
14970 * device.c (Fdevice_printer_p): Used these.
14972 * frame.c (allocate_frame_core): Initialize page number.
14973 (Fprint_job_page_number):
14974 (Fprint_job_eject_page): Implemented.
14976 * frame-msw.c (msprinter_eject_page): Added method.
14977 (msprinter_start_page): Added.
14979 * window.c (Fwindow_truncated_p): Fixed docstring.
14980 (Fwindow_last_line_visible_height): Implemented.
14982 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14984 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
14986 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14988 * syntax.c (scan_words): Always advance at least one character.
14990 2000-02-13 Andy Piper <andy@xemacs.org>
14992 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
14993 to make sure the glyph is in the cachels.
14995 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
14996 global image instance flag.
14997 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
14998 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
15000 * glyphs.c (allocate_image_instance): set dirty bits correctly.
15001 (Fset_image_instance_property): mark layout as changed.
15002 (invalidate_glyph_geometry_maybe): mark layout as changed.
15003 (glyph_width): use new NEEDS_LAYOUT macro.
15004 (glyph_ascent): ditto.
15005 (glyph_descent): ditto.
15006 (glyph_height): ditto.
15007 (image_instance_layout): mark layout as clean after laying out.
15008 (update_subwindow): don't mark layout as clean here.
15010 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
15011 should no longer be needed.
15013 * glyphs-x.c (x_update_widget): sanitize asserts.
15014 (x_finalize_image_instance): sanitize assignment to widgets.
15016 * glyphs-widget.c (widget_instantiate): don't need to clear the
15019 2000-02-13 Martin Buchholz <martin@xemacs.org>
15021 * sysdep.c (getcwd): Use standard prototype.
15022 * sysdep.h (getcwd): Use standard prototype.
15024 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
15025 (sequence, start, end).
15026 Remove redundant type checking.
15027 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
15028 view of `caller-protects') to avoid a crash where the real fix was
15031 2000-02-12 Martin Buchholz <martin@xemacs.org>
15033 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
15035 * s/sol2.h: Remove feature macro initialization.
15037 * alloc.c (alloc_lcrecord): Add more type checking assertions.
15038 (vector_hash): New. Code from internal_hash.
15040 Fix up allocation subsystem comments.
15042 * config.h.in: Add __EXTENSIONS__ for Solaris.
15044 * systime.h (EMACS_GETTIMEOFDAY): New.
15045 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
15046 Remove Solaris-specific code.
15047 Use void* for the (ignored) second arg for gettimeofday().
15049 * elhash.c (hash_table_hash): Implement it, finally.
15050 * elhash.c: Use hashcode_t.
15052 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
15053 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
15055 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
15056 * fns.c (size_bit_vector):
15057 * alloc.c (size_vector):
15058 (make_vector_internal):
15059 (make_bit_vector_internal):
15060 (sweep_bit_vectors_1):
15061 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
15063 2000-02-10 Martin Buchholz <martin@xemacs.org>
15065 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
15066 Include strings.h to avoid warnings for bzero and strcasecmp.
15068 2000-02-10 Olivier Galibert <galibert@pobox.com>
15070 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
15071 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
15073 * fns.c (size_bit_vector): New. Declare bit vectors as a
15076 2000-02-10 Olivier Galibert <galibert@pobox.com>
15078 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
15079 use a value field instead.
15080 (symbol_value_forward_forward): Use value field.
15081 (DEFVAR_SYMVAL_FWD): Use value field.
15082 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
15083 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
15084 (DEFVAR_CONST_INT): Ditto.
15085 (DEFVAR_BOOL): Ditto.
15086 (DEFVAR_CONST_BOOL): Ditto.
15087 (DEFVAR_INT_MAGIC): Ditto.
15088 (DEFVAR_BOOL_MAGIC): Ditto.
15090 * symbols.c (guts_of_unbound_marker): Use value field.
15091 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
15092 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
15094 * lisp.h: Declare dumpopaque and noninteractive1.
15096 * alloc.c (dumpopaque): Added.
15097 (pdump_dump_opaquevec): Added.
15098 (pdump): Call pdump_dump_opaquevec to dump opaque data.
15099 (pdump_load): Reload opaque data. Sync noninteractive1 with
15102 2000-02-10 Andy Piper <andy@xemacs.org>
15104 * glyphs.c (image_instance_layout): if the size changes, mark it
15107 * redisplay-output.c (redisplay_output_layout): Update the
15109 (redisplay_output_subwindow): ditto.
15111 * glyphs.c (update_subwindow): make sure we reset flags for
15112 layouts as well as everything else.
15114 * glyphs-widget.c (layout_layout): don't need to set the instances
15117 2000-02-09 Martin Buchholz <martin@xemacs.org>
15119 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
15120 not HAVE_DLOPEN, which is a lower-level thing.
15122 * .cvsignore: Ignore gmon.out
15124 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
15126 * .cvsignore: Ignore portable dumper xemacs.dmp file
15128 2000-02-09 Andy Piper <andy@xemacs.org>
15130 * redisplay-output.c (redisplay_output_layout): be more clever
15131 about when we output based on the changed flags.
15133 * glyphs.h (struct image_instantiator_methods): add update_method.
15134 (struct Lisp_Image_Instance): add changed flags. Declare new
15135 macros for manipulating them.
15137 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
15138 (image_instance_parent_glyph): find an image_instance's parent
15139 glyph or image_instance.
15140 (image_instance_layout): mark the size as changed.
15141 (set_image_instance_dirty_p): new function. mark an image
15142 instance, plus all of its parents, as dirty.
15143 (Fset_image_instance_property): use it.
15144 (Fglyph_animated_timeout_handler): use it.
15145 (update_subwindow): call update_widget and device methods for
15146 update_subwindow. Mark all changed flags as clean.
15147 (Fresize_subwindow): mark size as changed.
15149 * glyphs-x.c (x_finalize_image_instance): try and detect gc
15151 (x_update_subwindow): only resize subwindows here.
15152 (x_update_widget): new function. Update all changed properties of
15154 (x_resize_subwindow): deleted.
15155 (x_widget_set_property): deleted.
15156 (x_progress_gauge_set_property): deleted.
15157 (x_progress_gauge_update): new function. Implement recorded
15159 (x_tab_control_update): ditto.
15160 (x_tab_control_set_property): deleted.
15161 (console_type_create_glyphs_x): declare new functions.
15162 (image_instantiator_format_create_glyphs_x): ditto.
15164 * glyphs-widget.c (widget_set_property): mark text changed.
15165 (update_widget): new function. Update properties of a widget.
15166 (widget_instantiate): for layouts make sure we set their
15167 children's parent correctly.
15168 (tab_control_set_property): new function. Record changes that will
15169 take place under redisplay's control.
15170 (progress_gauge_set_property): ditto.
15171 (image_instantiator_progress_guage): declare new functions.
15172 (image_instantiator_tab_control): ditto.
15174 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
15176 (mswindows_update_widget): new function. Update all properties on
15177 a widget that have changed.
15178 (mswindows_button_update): new function. Update a button's set
15180 (mswindows_tab_control_update): new function. Update the items in
15182 (mswindows_tab_control_set_property): deleted.
15183 (mswindows_progress_gauge_update): new function. Update the
15184 progress gauge's progress.
15185 (mswindows_widget_set_property): deleted. This is all done
15186 asynchronously now.
15187 (mswindows_progress_gauge_set_property): ditto.
15188 (console_type_create_glyphs_mswindows): declare new methods.
15189 (image_instantiator_format_create_glyphs_mswindows): ditto.
15191 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
15192 (msprinter_set_frame_properties): ditto.
15194 * console.h (struct console_methods): Add update_widget_method.
15196 2000-02-09 Andy Piper <andy@xemacs.org>
15198 * gui-msw.c (Fmswindows_shell_execute): Make
15199 mswindows-shell-execute industrial strength.
15201 2000-02-08 Martin Buchholz <martin@xemacs.org>
15203 * lrecord.h: Make macro argument `props' match member function `plist'.
15206 * fns.c (Fremprop):
15207 * fns.c (Fobject_plist):
15210 Object property list frobbing cleanup.
15211 - Allow any lisp object (compared with `eq'), not just symbols, as
15212 keys in object plists.
15213 - Move symbol plist frobbing into symbols.c, where it belongs.
15214 - Move string plist frobbing into alloc.c, where it belongs.
15215 - Everything's an lrecord now, so no need to test for symbolp, etc.
15216 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
15218 * extents.c: Reorder code to remove declarations.
15220 * frame.h (store_in_alist): Remove useless declaration.
15222 2000-02-07 Martin Buchholz <martin@xemacs.org>
15224 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
15225 * config.h.in: Add HAVE_XCONVERTCASE.
15227 2000-02-07 Andy Piper <andy@xemacs.org>
15229 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
15230 it breaks many things.
15232 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
15234 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
15235 actually can start a common comment type.
15236 * src/syntax.h (SYNTAX_END_P): ditto for end.
15238 2000-02-07 Martin Buchholz <martin@xemacs.org>
15240 * XEmacs 21.2.28 is released.
15242 2000-02-06 Martin Buchholz <martin@xemacs.org>
15244 * event-Xt.c (x_keysym_to_character): New.
15245 (maybe_define_x_key_as_self_inserting_character): New.
15246 (x_has_keysym): New.
15247 Auto-define all keys on the keyboard as self-insert-key.
15249 2000-02-02 Martin Buchholz <martin@xemacs.org>
15251 * menubar.c (vars_of_menubar): A small code simplification.
15253 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
15256 * ExternalClient.c:
15257 * EmacsShell-sub.c:
15260 Use consistent style for specifying X resources.
15262 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
15263 This makes (dontusethis-set-symbol-value-handler) actually usable.
15265 * lrecord.h (lrecord_decription_type):
15266 * alloc.c (pdump_register_sub):
15269 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
15270 Comply with XEmacs coding style.
15271 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
15272 args, and XD_LISP_OBJECT_ARRAY with 3 args.
15274 * keymap.c (Faccessible_keymaps):
15275 Make (accessible-keymaps map "\C-h") do the Right Thing.
15276 Make (accessible-keymaps map []) do the Right Thing.
15277 Make (accessible-keymaps map "") do the Right Thing.
15278 (check_keymap_definition_loop): New function.
15279 (keymap_store_internal): Keep luser from shooting self in foot,
15280 via (define-key ctl-x-4-map "p" global-map).
15281 Remove fullness slot from struct Lisp_Keymap, since hash tables
15283 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
15285 2000-01-30 Martin Buchholz <martin@xemacs.org>
15287 * redisplay.c (init_redisplay): Fix small memory leak.
15289 * elhash.c (pdump_reorganize_hash_table):
15290 Rename from reorganize_hash_table. Change prototype.
15291 Reuse the original memory for hentries. Save 100k.
15292 * alloc.c (PDUMP_READ): new macro.
15293 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
15294 * alloc.c: No need to #ifndef before #undef.
15296 * print.c: Allow debug_print() to print readably by modifying
15297 debug_print_readably. Use consistent variable names.
15299 * .dbxrc: Try to get things to work even if stopped in a function
15300 without source available by explicitly specifying source files.
15301 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15303 * unexnt.c (_start): Removed bogus code which caused loading heap
15304 from differrent executable file.
15305 Removed bogus assignment to _fmode, which caused inconsistencies.
15307 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15309 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
15310 Have spawnve encapsulation regard DONT_ENCAPSULATE.
15311 Do not preliminary `#define signal sigset'.
15313 * systime.h: Do not prototype environ on windows nt and cygwin,
15314 this conflicts with system header.
15316 * syssignal.h: Use correct define for WINDOWSNT
15318 * sysdep.h: Do not prototype environ on windows nt, this conflicts
15319 with system header.
15321 * sysdep.c (near start of file): Fixed commentary and rearranged
15322 ifdefs in readable order.
15323 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
15326 (end_of_data): Do not compile in if using PDUMP.
15328 * symsinit.h: Prototyped vars_of_nt().
15330 * ntproc.c (windows9x_p): Added, instead of os_subtype.
15331 (find_child_console): Use it.
15332 (sys_kill): Use it.
15334 * ntheap.h: Do not extern os_subtype.
15336 * ntheap.c (cache_system_info): Do not cache unneeded:
15337 nt_major_version, nt_minor_version and os_subtype.
15338 (recreate_heap): Do not compile in when PDUMPing.
15340 * nt.c (geteuid and friends): Use the new varibale
15341 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
15342 (init_user_info): Removed the above mentioned hackery.
15343 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
15344 stat has been fixed in the C runtime.
15345 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
15347 * file-coding.c (struct file_coding_dump): Do not define
15348 ucs_to_mule_table in the struct if not MULE.
15349 (struct struct lrecord_description fcd_description_1): Do not dump
15352 * emacs.c (main_1): Call vars_of_nt().
15353 (right before Fdump_emacs_data): Don't need lastfile if using both
15354 portabe dumper and system malloc.
15356 * alloc.c (Fmemory_limit): Conditionalized out.
15357 (pdump): Use OPEN_BINARY for the portable dump file.
15358 (pdump_load): Ditto.
15360 2000-02-02 Mike Alexander <mta@arbortext.com>
15362 * nt.c (convert_time): Set tm_isdst before calling mktime and
15363 avoid calling it at all if the compiler supports 64 bit integers.
15364 Also initialize utc_base_ft before using it.
15366 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
15368 * frame.c (change_frame_size_1): Take f->internal_border_width
15369 into consideration when calculating the width of the frame.
15371 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15373 * window.c (frame_min_height):
15374 (frame_size_valid_p):
15375 (frame_pixsize_valid_p): Added.
15376 (check_frame_size): Generalized.
15378 * window.h: Prototyped the above.
15381 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
15382 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
15383 Deleted Vwin32_* and Vbinary_process_* unused variables.
15385 * device-msw.c (msprinter_init_device): Do not get printer font
15386 list; Added DEVMODE functions.
15388 * frame-msw.c: Added lots of printer code.
15390 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
15393 * console-msw.h: Added more msprinter device private slots.
15395 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15397 * event-msw.c (key_needs_default_processing_p): Added.
15398 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
15400 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15402 * glyphs.c (image_instance_layout): Mark image instance as clean
15404 (glyph_dirty_p): Removed redundant function.
15405 (invalidate_glyph_geometry_maybe): Added.
15406 (update_glyph_cachel_data): Call it.
15408 * glyphs.h: Prototyped it.
15410 * redisplay.c (add_glyph_rune): Call it.
15411 (redisplay_window): Reset glyphs cachels when frame faces have
15412 changed, thus forcing recomputation of built-in border glyphs.
15414 2000-01-30 Martin Buchholz <martin@xemacs.org>
15416 * Makefile.in.in: Make portable dumper and purify play well together.
15417 Add imperfect, but better than nothing, support for pdump.
15418 Remove xemacs.dmp when temacs is re-generated.
15419 Don't ignore errors when dumping xemacs.
15421 * symbols.c (maybe_call_magic_handler): Remove one magic number.
15423 2000-01-28 Andy Piper <andy@xemacs.org>
15425 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
15426 (setup_normal_frame): ditto.
15427 (setup_frame_without_minibuffer): ditto.
15428 (setup_minibuffer_frame): ditto.
15429 (delete_frame_internal): ditto.
15430 (Fmake_frame_invisible): ditto.
15431 (Ficonify_frame): ditto.
15433 * window.h: change Fset_window_buffer signature.
15435 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
15436 (Fset_window_buffer): allow recording of buffer if the window is
15437 the selected window.
15438 (window_loop): Use new Fset_window signature.
15440 2000-01-23 Daniel Pittman <daniel@danann.net>
15442 * config.h.in: Added template for `HAVE_ATHENA_3D'
15444 2000-01-29 Andy Piper <andy@xemacs.org>
15446 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
15448 * gutter.c (output_gutter): Don't output if the window isn't live.
15450 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15452 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
15453 of 01/12/00: Moved SetFocus back here where it belongs.
15455 2000-01-23 Andy Piper <andy@xemacs.org>
15457 * s/cygwin32.h: declare printer things.
15459 2000-01-26 Andy Piper <andy@xemacs.org>
15461 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
15464 2000-01-24 Andy Piper <andy@xemacs.org>
15466 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
15467 (mswindows_button_instantiate): Make sure glyph is a pixmap.
15469 * glyphs-widget.c (widget_instantiate): Avoid shadows.
15471 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
15473 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
15475 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
15476 (mswindows_output_display_block): Avoid local shadows.
15478 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
15479 (mswindows_enqueue_mouse_button_event): ditto.
15480 (mswindows_handle_gui_wm_command): remove declaration.
15482 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
15485 * console-msw.h: Avoid shadows.
15486 (mswindows_get_toolbar_button_text):
15487 (emacs_mswindows_create_stream_pair):
15488 (emacs_mswindows_delete_stream_pair):
15489 (mswindows_handle_toolbar_wm_command): declare.
15491 * device-msw.c (build_syscolor_string): Avoid shadows.
15493 2000-01-23 Andy Piper <andy@xemacs.org>
15495 * glyphs-widget.c (widget_instantiate): reverse the items for
15496 layouts so that children are in the expected order.
15498 2000-01-28 Martin Buchholz <martin@xemacs.org>
15500 * ralloc.c: safe_bcopy ==> memmove
15501 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
15502 * s/msdos.h: Remove BCOPY macros.
15503 * insdel.c (gap_right): Remove BCOPY conditional code.
15504 * insdel.c (gap_left): Remove BCOPY conditional code.
15505 XEmacs demands a working ANSI C compiler - hence memmove.
15507 * regex.c (regex_compile): Remove accidental use of trigraphs.
15509 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15511 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
15514 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15516 * event-msw.c (mswindows_drain_windows_queue): Added the
15518 (mswindows_need_event): Commented the call to
15519 mswindows_drain_windows_queue().
15520 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
15523 * console-msw.h: Moved a few function prototypes here from
15526 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
15527 parameter from unsigned short to unsigned long.
15528 (Fmswindows_shell_execute): Added return value.
15530 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
15532 * sysdep.c (init_system_name):
15533 process-unix.c (unix_canonicalized_host_name):
15534 Don't call freeaddrinfo() if getaddrinfo() fails.
15536 * process-unix.c (unix_open_unix_network_stream):
15537 Moved the code to get a port # into address loop.
15539 2000-01-27 Martin Buchholz <martin@xemacs.org>
15541 * buffer.c (reinit_vars_of_buffer):
15542 The right place to initialize conversion_in_dynarr and
15543 conversion_out_dynarr.
15545 * alloc.c (pdump): Use the real open() till sys_open() is functional.
15547 * process-unix.c (unix_canonicalize_host_name): Muleize.
15548 (unix_open_network_stream): Muleize.
15550 * buffer.h: Fix up prototypes for ralloc.c functions.
15552 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
15553 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
15554 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
15555 instead of gethostbyname()
15556 * process-unix.c: In unix_canonicalize_host_name() and
15557 unix_open_network_stream(), add code to use getaddrinfo()
15558 instead of gethostbyname().
15560 2000-01-27 Daniel Pittman <daniel@danann.net>
15562 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
15563 libs when built with flat Athena.
15565 2000-01-27 Martin Buchholz <martin@xemacs.org>
15567 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
15568 Use coding standards for function prototypes.
15570 2000-01-25 Martin Buchholz <martin@xemacs.org>
15572 * dialog-msw.c (push_lisp_string_as_unicode):
15573 * doc.c (unparesseuxify_doc_string):
15574 * dired.c (Fuser_name_completion_1):
15575 * dired.c (Fuser_name_all_completions):
15576 * dired.c (free_user_cache):
15577 * dired.c (user_name_completion):
15578 * console-x.c (get_display_arg_connection):
15579 * minibuf.c (clear_echo_area_internal):
15580 * minibuf.c (echo_area_append):
15581 * eldap.c (Fldap_open):
15582 * eldap.c (Fldap_search_internal):
15583 * frame-x.c (x_set_frame_text_value):
15584 * frame-x.c (x_set_frame_properties):
15585 * frame-x.c (x_create_widgets):
15586 * redisplay-tty.c (term_get_fkeys_1):
15587 * objects-x.c (x_parse_nearest_color):
15588 * objects-x.c (x_valid_color_name_p):
15589 * objects-x.c (x_initialize_font_instance):
15590 * objects-x.c (x_list_fonts):
15591 * objects-x.c (x_find_charset_font):
15592 * tooltalk.c (Fadd_tooltalk_message_arg):
15593 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
15594 * tooltalk.c (Fadd_tooltalk_pattern_arg):
15595 * process-unix.c (unix_create_process):
15596 * ntproc.c (sys_spawnve):
15597 * sound.c (Fplay_sound_file):
15598 * sound.c (Fplay_sound):
15599 * buffer.c (init_initial_directory):
15600 * buffer.c (init_buffer):
15601 * editfns.c (init_editfns):
15602 * editfns.c (Ftemp_directory):
15603 * editfns.c (Fuser_full_name):
15604 * editfns.c (uncache_home_directory):
15605 * editfns.c (get_home_directory):
15606 * editfns.c (Fuser_home_directory):
15607 * editfns.c (Fformat_time_string):
15608 * editfns.c (Fcurrent_time_string):
15609 * gui-x.c (button_item_to_widget_value):
15610 * database.c (Fopen_database):
15611 * event-Xt.c (x_to_emacs_keysym):
15612 * event-Xt.c (x_event_to_emacs_event):
15613 * event-Xt.c (describe_event_window):
15614 * event-msw.c (mswindows_wnd_proc):
15615 * glyphs-eimage.c (jpeg_instantiate):
15616 * glyphs-eimage.c (gif_instantiate):
15617 * glyphs-eimage.c (png_instantiate):
15618 * glyphs-eimage.c (tiff_instantiate):
15619 * glyphs-x.c (xbm_instantiate_1):
15620 * glyphs-x.c (x_xbm_instantiate):
15621 * glyphs-x.c (x_xface_instantiate):
15622 * glyphs-x.c (autodetect_instantiate):
15623 * glyphs-x.c (cursor_font_instantiate):
15624 * glyphs-x.c (x_widget_instantiate):
15625 * glyphs-x.c (x_widget_set_property):
15626 * glyphs-x.c (x_widget_property):
15627 * glyphs-x.c (BUILD_GLYPH_INST):
15628 * print.c (write_string_to_stdio_stream):
15629 * print.c (output_string):
15630 * print.c (Falternate_debugging_output):
15631 * print.c (Fexternal_debugging_output):
15632 * glyphs-msw.c (extract_xpm_color_names):
15633 * glyphs-msw.c (mswindows_xpm_instantiate):
15634 * glyphs-msw.c (bmp_instantiate):
15635 * glyphs-msw.c (resource_name_to_resource):
15636 * glyphs-msw.c (mswindows_resource_instantiate):
15637 * glyphs-msw.c (xbm_instantiate_1):
15638 * glyphs-msw.c (mswindows_xbm_instantiate):
15639 * glyphs-msw.c (mswindows_xface_instantiate):
15640 * glyphs-msw.c (mswindows_widget_instantiate):
15641 * glyphs-msw.c (add_tree_item):
15642 * glyphs-msw.c (add_tab_item):
15643 * glyphs-msw.c (mswindows_combo_box_instantiate):
15644 * glyphs-msw.c (mswindows_widget_property):
15645 * glyphs-msw.c (mswindows_combo_box_property):
15646 * glyphs-msw.c (mswindows_widget_set_property):
15647 * console.c (stuff_buffered_input):
15648 * objects-msw.c (mswindows_initialize_color_instance):
15649 * objects-msw.c (mswindows_valid_color_name_p):
15650 * objects-msw.c (mswindows_list_fonts):
15651 * objects-msw.c (mswindows_font_instance_truename):
15652 * bytecode.c (optimize_compiled_function):
15653 * select-x.c (symbol_to_x_atom):
15654 * select-x.c (x_atom_to_symbol):
15655 * select-x.c (hack_motif_clipboard_selection):
15656 * select-x.c (selection_data_to_lisp_data):
15657 * select-x.c (lisp_data_to_selection_data):
15658 * select-x.c (Fx_get_cutbuffer_internal):
15659 * select-x.c (Fx_store_cutbuffer_internal):
15660 * buffer.h (TO_EXTERNAL_FORMAT): New function.
15661 * buffer.h (TO_INTERNAL_FORMAT): New function.
15662 * emacs.c (make_arg_list_1):
15663 * emacs.c (make_argc_argv):
15664 * emacs.c (main_1):
15665 * emacs.c (Fdump_emacs):
15666 * emacs.c (split_string_by_emchar_1):
15671 * device-x.c (x_init_device):
15672 * device-x.c (Fx_valid_keysym_name_p):
15673 * device-x.c (Fx_get_font_path):
15674 * device-x.c (Fx_set_font_path):
15675 * glyphs.c (bitmap_to_lisp_data):
15676 * glyphs.c (pixmap_to_lisp_data):
15677 * alloc.c (make_ext_string): Use coding system arguments. Update
15679 * alloc.c (build_string):
15680 * callproc.c (child_setup):
15681 * callproc.c (init_callproc):
15682 * fileio.c (lisp_strerror):
15683 * fileio.c (directory_file_name):
15684 * fileio.c (Fexpand_file_name):
15685 * fileio.c (Ffile_truename):
15686 * fileio.c (Fsysnetunam):
15687 * fileio.c (Fdo_auto_save):
15688 * sysdep.c (sys_readdir):
15689 * tests.c: New file. Allow adding C tests.
15690 Replace GET_* macros with a more comprehensible and flexible
15691 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
15693 Any coding system can be used to do format conversion.
15694 Eliminate enum external_data_format.
15695 Eliminate convert_to_external_format.
15696 Eliminate convert_to_internal_format.
15697 Make sure file-name, keyboard, terminal, and ctext are always
15698 defined as coding systems or aliases. Make
15699 file-name-coding-system, terminal-coding-system, and
15700 keyboard-coding-system magical variables that are equivalent to
15701 defining the corresponding coding system aliases.
15703 * file-coding.c (Fcoding_system_canonical_name_p): New function.
15704 * file-coding.c (Fcoding_system_alias_p): New function.
15705 * file-coding.c (Fcoding_system_aliasee): New function.
15706 * file-coding.c (append_suffix_to_symbol): New function.
15707 * file-coding.c (dangling_coding_system_alias_p): New function.
15708 * file-coding.c (Ffind_coding_system):
15709 * file-coding.c (Fcopy_coding_system):
15710 * file-coding.c (encode_coding_no_conversion):
15711 * file-coding.c (syms_of_file_coding):
15712 * file-coding.c (vars_of_file_coding):
15713 Rewrite coding system alias code.
15714 Allow nested aliases, like symbolic links.
15715 Allow redefinition of coding system aliases.
15716 Prevent existence of dangling coding system aliases.
15718 * dired.c (Fuser_name_completion_1):
15719 * dired.c (Fuser_name_all_completions):
15720 A crash would happen if user did QUIT in the middle of building
15721 user_name_cache. Remove redundant code in mainline and unwind_protect.
15724 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
15726 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
15727 an unsigned char *. Update all callers.
15729 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15731 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
15733 2000-01-25 Martin Buchholz <martin@xemacs.org>
15735 * elhash.c (hentry_description): Use more portable definition.
15736 (resize_hash_table): Initialize new hentries using
15737 xnew_array_and_zero, thereby simplifying the code.
15739 * mule-charset.c (make_charset): Make sure entire object is
15740 initialized, to avoid Purify warnings.
15742 * alloc.c (resize_string): Fix unlikely crash with big strings.
15744 2000-01-24 Martin Buchholz <martin@xemacs.org>
15746 * realpath.c (xrealpath):
15747 Don't call getwd().
15749 2000-01-25 Martin Buchholz <martin@xemacs.org>
15751 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
15753 1999-12-28 Max Matveev <max@melbourne.sgi.com>
15755 * unexelfsgi.c (unexec): Change the way we decide which segment
15756 should be extended.
15758 Assumption that .bss section should be outside the PT_LOADable
15759 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
15760 it's present) is inside the 'data' segment. This would fail the
15761 test which was used to find a segment to grow and cover new
15762 heap. Instead of this assumption, I created another one - on IRIX
15763 the segment to grow should start below .bss and it's address
15764 should extent above the end of .bss. Once this segment is
15765 identified, it's grown to accommodate the new heap and new
15766 zero-length .bss section is added at the end of .data2.
15768 2000-01-25 Martin Buchholz <martin@xemacs.org>
15770 * eval.c (Feval): Wrong number of arguments should use original
15771 function, not the indirect_function version of it.
15773 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
15775 * glyphs-x.c (x_button_instantiate): Don't add image if
15776 it is not a pixmap.
15777 (x_locate_pixmap_file): Call Fexpand_file_name when file name
15780 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
15782 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
15784 (DEFVAR_INT_MAGIC): Ditto.
15785 (DEFVAR_BOOL_MAGIC): Ditto.
15786 * glyphs.h: Reindent backslash.
15788 2000-01-24 Martin Buchholz <martin@xemacs.org>
15790 * glyphs-widget.c (layout_query_geometry):
15791 (layout_layout): Use correct types for gheight, gwidth.
15793 2000-01-24 Martin Buchholz <martin@xemacs.org>
15795 * EmacsManager.c (QueryGeometry): Purified.
15797 2000-01-23 Martin Buchholz <martin@xemacs.org>
15799 * alloc.c (make_float): Make sure entire object is initialized, to
15800 avoid Purify warnings.
15801 (pdump_register_sub): Remove useless assignment.
15802 (pdump): Use xmalloc, not malloc.
15803 (pdump_load): Use xmalloc, not malloc.
15805 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15812 * sysdep.c: Removed redundant #include <windows.h>
15814 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15816 * frame.c (delete_frame_internal): Do not delete device when its
15817 implementation so declares.
15818 (delete_frame_internal): Set device selected frame to nil when
15819 last frame goes away.
15821 * device-msw.c (msprinter_device_system_metrics): Implemented.
15822 (mswindows_device_system_metrics): Added 'device-dpi property.
15824 * device.c: (Fdevice_printer_p): Added.
15825 Added 'offset-workspace device metric.
15827 * console.h (device_metrics): Declared DM_offset_workspace.
15829 2000-01-23 Martin Buchholz <martin@xemacs.org>
15831 * fileio.c (Ffile_truename): Remove pointless and confusing
15832 initialization of elen.
15834 * glyphs-widget.c: Compiler warning fixes.
15836 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
15838 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
15839 instead of a Lisp_Object as argument to make it consistent with
15840 the other LIVE_P macros.
15841 (CHECK_LIVE_PROCESS): New macro.
15843 * process.c: Declare Qprocess_live_p.
15844 (Fprocess_live_p): New function.
15845 (create_process): Use PROCESS_LIVE_P.
15846 (read_process_output): Ditto.
15847 (set_process_filter): Ditto.
15848 (Fdelete_process): Ditto.
15849 (kill_buffer_processes): Ditto
15850 (process_send_signal): Use CHECK_LIVE_PROCESS.
15851 (Fprocess_input_coding_system): Check whether process is still
15852 alive (fix PR#1061).
15853 (Fprocess_output_coding_system): Ditto.
15854 (Fprocess_coding_system): Ditto.
15855 (Fset_process_input_coding_system): Ditto.
15856 (Fset_process_output_coding_system): Ditto.
15858 2000-01-23 Andy Piper <andy@xemacs.org>
15860 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
15863 * glyphs.c (mark_image_instance): take into account changed
15864 image_instance format.
15865 (image_instance_equal): ditto.
15866 (image_instance_hash): ditto.
15868 * glyphs-widget.c (widget_instantiate): Incorporate layout
15869 instantiation here. Delay layout of the layout until later.
15870 (layout_instantiate): deleted.
15871 (layout_query_geometry): new function. get the geometry of a
15873 (layout_layout): layout a layout dynamically.
15874 (image_instantiator_widget): New function - splitting up
15875 image_instantiator_format_create_glyphs_widget for netwinder
15877 (image_instantiator_buttons):
15878 (image_instantiator_edit_fields):
15879 (image_instantiator_combo_box):
15880 (image_instantiator_scrollbar):
15881 (image_instantiator_progress_guage):
15882 (image_instantiator_tree_view):
15883 (image_instantiator_tab_control):
15884 (image_instantiator_labels):
15885 (image_instantiator_layout): ditto.
15886 (image_instantiator_format_create_glyphs_widget): Call preceding
15889 2000-01-22 Martin Buchholz <martin@xemacs.org>
15891 * process.c (Fset_process_coding_system):
15892 * device-x.c (Fx_keysym_hash_table):
15895 * lstream.c (Lstream_write): Return documented value, not 0.
15897 * fileio.c (directory_file_name):
15898 (Fsubstitute_in_file_name):
15899 (Fsubstitute_insert_file_contents_internal):
15900 (Fwrite_region_internal):
15905 Remove vestigial APOLLO-conditional code.
15907 2000-01-21 Martin Buchholz <martin@xemacs.org>
15909 * getpagesize.h: Add guard macros.
15910 * libsst.h: Add guard macros.
15911 * libst.h: Add guard macros.
15912 * line-number.h: Add guard macros.
15913 * ndir.h: Add guard macros.
15914 * sysfloat.h: Add guard macros.
15915 * sysfile.h: Add guard macros.
15916 * sysproc.h: Add guard macros.
15917 * syswait.h: Add guard macros.
15918 * xintrinsic.h: Add guard macros.
15919 * xintrinsicp.h: Add guard macros.
15920 * xmmanager.h: Add guard macros.
15921 * xmmanagerp.h: Add guard macros.
15922 * xmprimitive.h: Add guard macros.
15923 * xmu.h: Add guard macros.
15924 * gpmevent.h: Add copyright statement. Add guard macros.
15925 * miscplay.h: Add guard macros.
15926 * *.h: Use consistent C-standards-approved guard macro names.
15928 * opaque.c (make_opaque): Switch parameter order.
15929 * opaque.h (make_opaque): Switch parameter order.
15930 Update all callers.
15931 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
15933 * config.h.in (type_checking_assert): Added.
15934 (bufpos_checking_assert): Added.
15936 2000-01-21 Martin Buchholz <martin@xemacs.org>
15938 * alloc.c: Harmless pdump changes.
15940 - spell alignment correctly.
15941 * sysdep.c: Use countof()
15943 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15945 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
15946 initially_selected_for_input() console method, default to 0.
15947 (semi_canonicalize_console_connection): Try to delegate to
15948 canonicalize_console_connection if no such console method.
15949 (canonicalize_console_connection): Vice versa.
15950 (print_console): Do not print nil connection.
15952 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
15953 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
15954 (XDEVIMPF_FRAMELESS_OK): Added.
15955 (CONSOLE_INHERITS_METHOD): Added.
15957 * console-msw.c (mswindows_canonicalize_console_connection):
15959 (mswindows_canonicalize_device_connection): Added.
15961 * console-msw.h (struct msprinter_device): Added this struct and
15963 (mswindows_device): Made fontlist a lisp object.
15965 * device.c (semi_canonicalize_device_connection): Try to delegate
15966 to canonicalize_device_connection if no such console method.
15967 (canonicalize_device_connection): Vice versa.
15968 (print_device): Do not print nil connection.
15970 * device-msw.c (mswindows_init_device): Call InitCommonControls
15972 (mswindows_delete_device): Removed fontlist deallocation.
15973 (mswindows_mark_device): Added.
15975 * events.c (event_equal): Added abort() at unreached code.
15976 (event_hash): Ditto.
15978 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
15979 fallback tags of Windows devices.
15981 * general.c (syms_of_general): Initialized Qmsprinter.
15983 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
15984 of fallback tags of Windows devices.
15986 * lisp.h: Declared Qmsprinter.
15988 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
15990 (mswindows_list_fonts): Ditto.
15991 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
15992 that it can be used by both mswindows and msprinter devices.
15993 (initialize_font_instance): Added.
15994 (mswindows_initialize_font_instance): Use it.
15995 (msprinter_initialize_font_instance): Added.
15997 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
15998 and implementation flags check.
15999 (redisplay_without_hooks): Changed the call to the above.
16000 (Fredraw_device): Ditto.
16001 (Fredisplay_device): Ditto.
16003 * redisplay-msw.c (get_frame_dc): Implemented.
16004 (get_frame_compdc): Implemented.
16005 (many functions): Use the two functions above to get device
16006 contexts, ether for a window or a printer.
16008 2000-01-21 Olivier Galibert <galibert@pobox.com>
16010 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
16011 initialization here.
16012 (init_symbols_once_early): Call it.
16013 * emacs.c (main_1): Call it.
16014 * symsinit.h: Declare it.
16016 2000-01-19 Olivier Galibert <galibert@pobox.com>
16018 * alloc.c: Use a lrecord_header * in the backtrace instead of a
16020 (pdump_backtrace): Ditto.
16021 (pdump_register_object): Ditto. Cleanup use of the pointers.
16022 (pdump_get_entry): Abort if trying to register a null pointer.
16023 (pdump_dump_data): Cleanup types when relocating.
16024 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
16025 (pdump_dump_rtables): Remove bad casts.
16026 (pdump_load): Cleanup relocation w.r.t union type. Use a
16027 Lisp_Object instead of a EMACS_INT for the hashtable
16030 2000-01-20 Martin Buchholz <martin@xemacs.org>
16032 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
16034 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
16036 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
16038 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
16040 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16042 * faces.h (FACE_STRIKETHRU_P): Added.
16044 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
16047 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
16048 (mswindows_set_dc_font): New function, aware of font variants,
16049 separated from mswindows_update_dc.
16051 * objects-msw.h (struct mswindows_font_instance_data): Added
16054 * objects-msw.c (mswindows_finalize_font_instance): Delete all
16055 cached fonts and the data structure.
16056 (mswindows_initialize_font_instance): Added creation of font data
16058 (mswindows_print_font_instance): Print at least something.
16059 (mswindows_create_font_variant): Implemented.
16060 (mswindows_get_hfont): Implemented.
16062 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
16064 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
16065 prototyping problem with msvc.
16067 * emacs.c (main_1): added syms_of_gui_mswindows() call
16069 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
16070 syms_of_gui_mswindows() function
16072 * symsinit.h: added the prototype for syms_of_gui_mswindows()
16074 2000-01-18 Martin Buchholz <martin@xemacs.org>
16076 * XEmacs 21.2.27 is released.
16078 2000-01-18 Martin Buchholz <martin@xemacs.org>
16080 * glyphs-eimage.c (struct tiff_error_struct):
16082 (tiff_warning_func):
16083 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
16088 * unexec.c: Remove vestigial Lucid C code.
16092 * libsst.c: Ansify.
16093 Remove declarations of errno and strerror().
16095 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
16097 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
16099 2000-01-16 Martin Buchholz <martin@xemacs.org>
16101 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
16104 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16109 Change enum eol_type to eol_type_t.
16111 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16113 * gui.c (get_gui_callback): Check cons before accessing car.
16115 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16117 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
16118 (XSETSPECIFIER_TYPE): Ditto.
16120 2000-01-17 Didier Verna <didier@xemacs.org>
16122 * redisplay.c (generate_fstring_runes): compute string size in
16123 characters, not bytes.
16125 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
16127 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
16129 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
16131 * print.c (print_error_message): Call print_prepare().
16133 2000-01-14 Martin Buchholz <martin@xemacs.org>
16135 * .dbxrc: Renamed from dbxrc.
16137 * events.c (event_to_character):
16138 Use `assert (foo)' instead of `if (!foo) abort()'
16140 * .gdbinit (xtype): Add documentation.
16141 * .gdbinit (check-temacs): New function.
16142 * .gdbinit (check-xemacs): New function.
16143 * dbxrc (check-xemacs): New function.
16144 * dbxrc (check-xemacs): New function.
16146 2000-01-14 Andy Piper <andy@xemacs.org>
16148 * glyphs-widget.c (widget_query_geometry): Make sure that we
16149 calculate default dimensions correctly.
16151 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16153 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
16155 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
16156 pdump_wire'd variable.
16158 * emacs.c: (main_1): Conditionalized calls to
16159 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
16161 2000-01-13 Martin Buchholz <martin@xemacs.org>
16163 * window.c (Fset_window_configuration):
16164 * sysdep.c (_start):
16165 * input-method-motif.c (res):
16166 * event-Xt.c (Xt_process_to_emacs_event):
16167 Simple compiler warning fixes.
16169 * bytecode.c (funcall_compiled_function): Use the original
16170 function symbol on the backtrace list in preference to the
16171 compiled_function object in error messages.
16173 2000-01-13 Andy Piper <andy@xemacs.org>
16175 * glyphs-x.c (update_widget_face): Make sure we update the widget
16176 background as well as foreground.
16178 2000-01-13 Andy Piper <andy@xemacs.org>
16180 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
16181 fields to subwindow.
16182 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
16183 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
16184 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
16185 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
16187 * glyphs-widget.c (check_valid_tab_orientation): new function.
16188 (initialize_widget_image_instance): zero orientation and
16190 (widget_instantiate): pick up orientation.
16191 (tab_control_query_geometry): return appropriate values for
16194 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
16195 appropriate creation flags for left, right and bottom tabs.
16197 * s/cygwin32.h: add tab definitions.
16199 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16201 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
16202 frame upon hiding a subwindow.
16203 (mswindows_button_instantiate): Changed the push button style to
16205 (mswindows_button_instantiate): Removed button BS_NOTIFY
16207 (mswindows_button_instantiate): Removed redundant check for
16208 a disabled gui item.
16209 (mswindows_button_instantiate): Made use of WS_TABSTOP
16210 consistent: "operable" controls (edit, button, tree, scroll) have
16211 this style, "display-only" ones (static, progress gauge) do
16212 not. This style is currently ignored by XEmacs though. Also,
16213 removed the WS_EX_CONTROLPARENT style - it is not for children,
16214 it is for their parents!
16215 (mswindows_edit_field_instantiate): Ditto.
16216 (mswindows_progress_gauge_instantiate): Ditto.
16217 (mswindows_tree_view_instantiate): Ditto.
16218 (mswindows_tab_control_instantiate): Ditto.
16219 (mswindows_scrollbar_instantiate): Ditto.
16220 (mswindows_combo_box_instantiate): Ditto.
16221 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
16222 style to the "clip" window.
16223 (mswindows_button_instantiate): Removed compilation warning by
16224 equally typing terms of the ?: operator.
16226 2000-01-12 Didier Verna <didier@xemacs.org>
16228 * redisplay.c (generate_fstring_runes): new parameter holding the
16229 last modeline-format extent.
16230 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
16231 extent, fill the glyph block with it.
16232 (generate_fstring_runes): handle these parameters.
16233 (generate_formatted_string_db): ditto.
16235 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
16236 glyphs'extents in the modeline.
16238 1999-01-11 Mike Woolley <mike@bulsara.com>
16240 * ntheap.c: Reduced the reserved heap space from 1Gb down to
16241 256Mb, as a workaround for the non-starting problem many people
16244 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16246 * console-tty.c (Fset_console_tty_output_coding_system):
16247 Force redrawing tty frame.
16249 2000-01-10 Didier Verna <didier@xemacs.org>
16251 * redisplay.c (generate_fstring_runes): fix size computation bug.
16253 2000-01-09 William M. Perry <wmperry@aventail.com>
16255 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
16257 2000-01-09 Andy Piper <andy@xemacs.org>
16259 * glyphs-msw.c: index -> i to avoid shadows.
16260 (xbm_create_bitmap_from_data): make static.
16261 (check_valid_string_or_int): deleted.
16262 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
16264 * glyphs-x.c (x_update_subwindow): remove unused args.
16266 * glyphs.c (glyph_image_instance): return the thing. Don't set the
16267 back pointer - this is done in allocate_image_instance.
16268 (query_string_font): return Qnil to make the compiler happy.
16269 (unmap_subwindow): set to ~0 to make the compiler happy.
16270 (glyph_query_geometry): comment out until used.
16271 (glyph_layout): ditto.
16273 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
16275 * insdel.c (signal_after_change): Remove extraneous unbind_to().