1 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * chartab.c (open_chise_data_source_maybe): Use Vdata_directory
4 instead of Vexec_directory.
5 (char_attribute_system_db_file): Likewise.
7 2004-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
9 * chartab.c (Fsave_char_attribute_table): Use
10 `save_charset_properties' for CCS features when HAVE_LIBCHISE is
13 * mule-charset.c (save_charset_properties): Renamed from
14 `Fsave_charset_properties'; changed to non-Lisp function.
15 (syms_of_mule_charset): Abolish builtin function
16 `save-charset-properties'.
18 2004-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
20 * mule-charset.c (Fsave_charset_properties): New function when
21 HAVE_LIBCHISE is defined.
22 (syms_of_mule_charset): Add new builtin function
23 `save-charset-properties' when HAVE_LIBCHISE is defined.
25 2004-06-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
27 * chartab.c (Fput_char_attribute): Convert char-specs in value of
28 `{<-|->}ancient[^*]*' to characters and put reverse links.
29 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
30 for `{<-|->}ancient[^*]*'.
32 2004-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
34 * chartab.c (Fput_char_attribute): Convert char-specs in value of
35 `{<-|->}original[^*]*' to characters and put reverse links.
36 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
37 for `{<-|->}original[^*]*'.
39 2004-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
41 * mule-canna.c (m2c): Fix problem with XEmacs CHISE.
43 2004-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
45 * mule-charset.c (Qsystem_char_id): New variable.
47 * chartab.c (Qsystem_char_id): Deleted even if HAVE_CHISE is
48 defined and HAVE_LIBCHISE_LIBCHISE is not defined.
50 2004-05-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
52 * chartab.c (Fput_char_attribute): When processing a reference of
53 a character, put into the end of the reversed reference of each
56 2004-05-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
58 * chartab.c (Q_same): Deleted.
60 (Fput_char_attribute): Use Fstring_match to find `{<-|->}same'.
61 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
63 (syms_of_chartab): Delete builtin symbol `{<-|->}same'.
65 2004-05-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
67 * chartab.c (Q_vulgar): Deleted.
68 (Q_vulgar_of): Deleted.
69 (Fput_char_attribute): Use Fstring_match to find `{<-|->}vulgar'.
70 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
72 (syms_of_chartab): Don't define `{<-|->}vulgar'.
74 2004-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
76 * chartab.c (Fput_char_attribute): Convert char-specs in value of
77 `{<-|->}wrong[^*]*' to characters and put reverse links.
78 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
79 for `{<-|->}wrong[^*]*'.
81 2004-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
83 * chartab.c (Q_vulgar): New variable.
84 (Q_vulgar_of): New variable.
85 (Fput_char_attribute): Convert char-specs in value of
86 `{->|<-}vulgar' to characters and put reverse links.
87 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
89 (syms_of_chartab): Add new symbols `{->|<-}vulgar'.
91 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
93 * text-coding.c (decode_add_er_char): Must to quote prefix string
96 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
98 * mule-charset.c (put_char_ccs_code_point): Store characters of
99 =ucs whose code_points >= 0xF0000.
101 2004-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
103 * mule-charset.c (Vcharset_system_char_id): New variable in XEmacs
105 (syms_of_mule_charset): Add new symbol `system-char-id' in XEmacs
107 (complex_vars_of_mule_charset): Add new coded-charset
108 `system-char-id' in XEmacs CHISE; modify `=ucs' to eliminate
109 builtin characters over 0xEFFFF.
111 * chartab.c (syms_of_chartab): Don't define symbol
112 `system-char-id' in every case.
114 * char-ucs.h (Qsystem_char_id): New extern variable.
115 (LEADING_BYTE_SYSTEM_CHAR_ID): New macro.
117 2004-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
119 * text-coding.c (char_encode_utf8): Try to use entity-references
120 for U-000F0000 ... U-0010FFFF.
122 2004-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
124 * text-coding.c (ER_BUF_SIZE): New macro.
125 (struct decoding_stream): Use `ER_BUF_SIZE' to specify size of
127 (decode_add_er_char): Use `ER_BUF_SIZE' instead of 16.
128 (char_encode_as_entity_reference): Use `ER_BUF_SIZE'.
130 2004-03-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
132 * chartab.c (find_char_feature_in_family): New function.
133 (Fchar_feature): Use `find_char_feature_in_family' with
134 `->identical', `<-subsumptive' and `<-denotational'.
136 2004-03-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
138 * text-coding.c (char_encode_as_entity_reference): Allow prefix
139 within 8 characters; fix infinite loop.
141 2004-03-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
143 * chartab.c (Q_same): New variable.
144 (Q_same_of): New variable.
145 (Fput_char_attribute): Convert char-specs in value of
146 `{->|<-}same' to characters and put reverse links.
147 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
149 (syms_of_chartab): Add new symbols `{->|<-}same'.
151 2004-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
153 * chartab.c (Q_component): New variable.
154 (Q_component_of): Likewise.
155 (Fput_char_attribute): Convert char-specs in value of
156 `{->|<-}ideographic-component-forms' to characters and put reverse
158 (syms_of_chartab): Add new symbols
159 `{->|<-}ideographic-component-forms'.
161 2004-02-24 MORIOKA Tomohiko <tomo@m17n.org>
163 * chartab.c (Q_identical): New variable.
164 (Q_identical_from): New variable.
165 (Fchar_feature): Regard `->identical' as a feature to find
167 (Fput_char_attribute): Add reversed link for `{->|<-}identical'.
168 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
169 for `{->|<-}identical'.
170 (syms_of_chartab): Add new symbols `{->|<-}identical'.
172 2004-02-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
174 * char-ucs.h (encode_char_2): New inline function.
175 (CHAR_TO_CHARC): Use `encode_char_2' instead of `encode_char_1'.
177 2004-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
179 * chartab.c (Fput_char_attribute): Convert char-specs to
180 characters in value of `ideographic-structure'.
181 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
182 for `{<-|->}simplified(@...)'.
183 (Fdefine_char): bTry to use predefined character's id.
185 2004-02-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
187 * fns.c (simplify_char_spec): Try to convert builtin chars to
190 2004-02-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
192 * chartab.c (Fput_char_attribute): Convert char-specs in value of
193 `<-simplified[^*]*' to characters and put reverse links.
195 2004-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
197 * chartab.c (Q_subsumptive): Renamed from Q_unified.
198 (Q_subsumptive_from): Renamed from Q_unified_from.
199 (Fchar_feature): Use `Q_subsumptive_from' instead of
201 (Fput_char_attribute): Likewise; Use `Q_subsumptive' instead of
203 (syms_of_chartab): Rename `->unified' to `->subsumptive' and
204 `<-unified' to `<-subsumptive'.
206 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
208 * chartab.c (Fchar_feature): Check `<-denotational' to avoid
209 inheritance itself; fix typo; stop recursive search if cyclic
210 inheritance is found.
212 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
214 * chartab.c (Q_denotational): New variable.
215 (Q_denotational_from): New variable.
216 (Fchar_feature): Refer `<-denotational' as same as `<-unified'.
217 (put_char_attribute): New function.
218 (Fput_char_attribute): Use `put_char_attribute'; regard
219 `->denotational' and `<-denotational' as same as `->unified' and
221 (syms_of_chartab): Add new symbols `->denotational' and
224 2004-02-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
226 * chartab.c (Fget_composite_char): Use `Fchar_feature' instead of
227 `Fget_char_attribute'.
228 (Fchar_variants): Likewise.
229 (get_char_table): Likewise.
230 (Fchar_feature): New function.
231 (put_char_composition): Use `Fchar_feature' instead of
232 `Fget_char_attribute'.
233 (Fput_char_attribute): Likewise; don't put the target character
234 into its `->unified' value.
235 (syms_of_chartab): Add new builtin function `char-feature'.
237 2004-01-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
239 * text-coding.c (COMPOSE_ADD_CHAR): Use `Fchar_feature' instead of
240 `Fget_char_attribute'.
241 (char_encode_utf8): Likewise.
243 * chartab.h: Add an EXFUN for `Fchar_feature'.
245 2004-01-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
247 * chartab.c (Vnext_defined_char_id): New variable.
248 (Fput_char_attribute): Accept characters in `->unified'.
249 (Fdefine_char): Refer and update Vnext_defined_char_id to allocate
250 new characters which are not related with builtin char-id ranges.
251 (vars_of_chartab): Add new variable `next-defined-char-id'.
253 2004-01-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
255 * chartab.c (Q_unified): New variable.
256 (Q_unified_from): New variable.
257 (Fput_char_attribute): Add code for `->unified'.
258 (syms_of_chartab): Add new symbols `->unified' and `<-unified' in
261 2003-11-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
263 * mule-charset.c (decode_ccs_conversion): New function.
264 (decode_defined_char): Use `decode_ccs_conversion'.
265 (decode_builtin_char): Likewise.
267 2003-11-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
269 * char-ucs.h: Change some charset-ids of private coded-charsets.
271 2003-11-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
273 * text-coding.c (decode_add_er_char): Modify for `DECODE_CHAR'.
274 (char_encode_as_entity_reference): Likewise.
275 (decode_coding_big5): Modify for `decode_defined_char' and
277 (decode_coding_utf8): Modify for `decode_defined_char'; modify to
278 avoid compiler warning.
279 (decode_coding_iso2022): Modify for `DECODE_CHAR'.
281 * mule-charset.c (decode_defined_char): Add new argument
282 `without_inheritance'.
283 (Fdecode_char): Add new optional argument `without_inheritance'.
284 (Fdecode_builtin_char): Modify for `Fdecode_char'.
286 * fns.c (ids_format_unit): Modify for `Fdecode_char'.
287 (simplify_char_spec): Likewise.
289 * chartab.h (Fdecode_char): Modify number of arguments of EXFUN
292 * chartab.c (put_char_table): Modify for `DECODE_CHAR'.
293 (map_char_table): Likewise.
294 (Fdefine_char): Use `Fdecode_char' without inheritance.
295 (Ffind_char): Modify for `Fdecode_char'.
297 * character.h (CHARC_TO_CHAR): Modify for `DECODE_CHAR'.
299 * char-ucs.h (decode_defined_char): Add new argument
300 `without_inheritance'.
301 (DECODE_CHAR): Likewise.
302 (MAKE_CHAR): Modify for `DECODE_CHAR'.
304 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
306 * chartab.c (Vchise_system_db_directory): New variable.
307 (vars_of_chartab): Add new variable `chise-system-db-directory'.
309 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
311 * chartab.c: EXFUN `Fmount_char_attribute_table'.
312 (print_chartab_range): Don't define when `UTF2000' is defined.
313 (open_chise_data_source_maybe): Specify 0 instead of DB_HASH for
316 2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
318 * chartab.c (Fchar_attribute_list): When HAVE_LIBCHISE is defined
319 and optional argument `rehash' is specified, call
320 `open_chise_data_source_maybe' before
321 `chise_ds_foreach_char_feature_name' is called.
323 2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
325 * chartab.c (char_attribute_list_reset_map_func): New function
326 when HAVE_LIBCHISE is defined.
327 (Fchar_attribute_list): Add new optional argument `rehash' when
328 HAVE_LIBCHISE is defined.
329 (open_chise_data_source_maybe): Use "chise-db" instead of
331 (char_attribute_system_db_file): Likewise.
332 (Fload_char_attribute_table): Use
333 `chise_feature_foreach_char_with_value' instead of
334 `chise_char_feature_value_iterate'.
336 2003-10-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
338 * chartab.c (Vchise_db_directory): New variable.
339 (vars_of_chartab): Add new built-in variable `chise-db-directory'.
341 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
343 * mule-charset.c (Freset_charset_mapping_table): Use HAVE_LIBCHISE
344 instead of HAVE_CHISE to specify using with libchise.
346 * config.h.in (HAVE_CHISE_CLIENT): Deleted.
348 * chartab.h: Don't use HAVE_CHISE_CLIENT.
350 * chartab.c (Qsystem_char_id): Don't define when HAVE_CHISE is not
351 defined or HAVE_LIBCHISE_LIBCHISE is defined.
352 (char_attribute_system_db_file): Don't define when HAVE_LIBCHISE
354 (Freset_char_attribute_table): Use HAVE_LIBCHISE instead of
355 HAVE_CHISE to specify using with libchise.
356 (syms_of_chartab): Don't define symbol `system-char-id' when
357 HAVE_CHISE is not defined or HAVE_LIBCHISE_LIBCHISE is defined.
359 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
361 * mule-charset.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
362 specify CHISE DB support.
363 (Freset_charset_mapping_table): Use `chise_ccs_setup_db' instead
364 of `char_attribute_system_db_file' to check feature DB file.
366 * chartab.h, casetab.c, char-ucs.h: Use HAVE_CHISE instead of
367 HAVE_CHISE_CLIENT to specify CHISE DB support.
369 * chartab.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
370 specify CHISE DB support.
371 (open_chise_data_source_maybe): Don't define when HAVE_LIBCHISE is
373 (Freset_char_attribute_table): Use `chise_feature_setup_db'
374 instead of `char_attribute_system_db_file' to check feature DB
377 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
379 * mule.c (vars_of_mule): Use `HAVE_CHISE' instead of `CHISE' and
382 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
384 * mule-charset.c: Use HAVE_LIBCHISE instead of CHISE.
385 (Fsave_charset_mapping_table): Don't use
386 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
388 * config.h.in (HAVE_CHISE): Renamed from `CHISE'.
389 (HAVE_LIBCHISE): New macro.
391 * chartab.h: Use HAVE_LIBCHISE instead of CHISE.
393 * chartab.c: Use HAVE_LIBCHISE instead of CHISE.
394 (Fsave_char_attribute_table): Don't use
395 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
397 2003-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
399 * chartab.c (save_uint8_byte_table): Use libchise when CHISE is
401 (save_uint16_byte_table): Likewise.
402 (save_byte_table): Likewise.
403 (char_table_get_db): Use `chise_ds_load_char_feature_value'
404 instead of `chise_char_load_feature_value'.
405 (Fsave_char_attribute_table): Use libchise when CHISE is defined.
407 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
409 * chartab.h (struct Lisp_Char_Table): Delete member
410 `feature_table' if CHISE is defined.
412 * chartab.c (Fmake_char_table): Don't refer `ct->feature_table'.
413 (Fcopy_char_table): Likewise.
414 (char_table_open_db_maybe): Likewise.
415 (char_table_close_db_maybe): Likewise.
416 (char_table_get_db): Likewise.
417 (Fmount_char_attribute_table): Likewise.
418 (Fload_char_attribute_table): Likewise.
420 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
422 * mule-charset.c (load_char_decoding_entry_maybe): Use
423 `chise_ds_decode_char' instead of `chise_ds_get_ccs' and
426 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
428 * chartab.c (open_chise_data_source_maybe): Use `CHISE_DS_open'
429 instead of `chise_open_data_source'.
430 (Fclose_char_data_source): Use `CHISE_DS_close' instead of
433 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
435 * chartab.c (char_table_open_db_maybe): Use `chise_ds_get_feature'
436 instead of `chise_ds_open_feature_table'.
437 (char_table_close_db_maybe): Don't use `chise_ft_close'.
439 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
441 * mule-charset.c (Fsave_charset_mapping_table): Use
442 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
443 `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
444 `chise_ccs_sync' instead of `chise_ccst_close'.
445 (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
447 * chartab.c (open_chise_data_source_maybe): Modify for
448 `chise_open_data_source'.
449 (char_table_open_db_maybe): Modify for
450 `chise_ds_open_feature_table'.
452 2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
454 * mule-charset.c (load_char_decoding_entry_maybe): Use
455 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
458 2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
460 * mule-charset.c (Fsave_charset_mapping_table): Use
461 `chise_ds_open_ccs_table', `chise_ccst_put_char' and
462 `chise_ccst_close' instead of `chise_ds_open_decoding_table',
463 `chise_dt_put_char' and `chise_dt_close'.
464 (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
465 `chise_ccs_decode' and `chise_ccst_close' instead of
466 `chise_ds_open_decoding_table', `chise_dt_get_char' and
469 * chartab.c (char_table_get_db): Use
470 `chise_char_load_feature_value' instead of `chise_ft_get_value'.
471 (load_char_attribute_table_map_func): Modify for
472 `chise_char_feature_value_iterate'.
473 (Fload_char_attribute_table): Use
474 `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
476 2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
478 * text-coding.c (COMPOSE_ADD_CHAR): Fixed.
480 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
482 * chartab.c (put_char_table): Modify for inherited coded-charsets
485 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
487 * chartab.c (Fput_char_table_map_function): Fixed.
488 (word_boundary_p): Don't check charset in XEmacs CHISE.
490 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
492 * mule-charset.c (Fsave_charset_mapping_table): Use
493 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
494 instead of `chise_open_decoding_table'; refer
495 `default_chise_data_source'; use `chise_dt_close' instead of
496 `chise_close_decoding_table'.
497 (load_char_decoding_entry_maybe): Likewise.
499 * chartab.c (default_chise_data_source): New variable when `CHISE'
501 (Fcopy_char_table): `ct->ds' is deleted.
502 (open_chise_data_source_maybe): New function.
503 (Fclose_char_data_source): New function.
504 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
505 use `chise_ds_open_feature_table' instead of
506 `chise_open_feature_table'.
507 (char_table_close_db_maybe): Use `chise_ft_close' instead of
508 `chise_close_feature_table'; `cit->ds' is deleted.
509 (syms_of_chartab): Add new builtin function
510 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
512 * chartab.h (default_chise_data_source): New extern variable.
513 (open_chise_data_source_maybe): New prototype.
514 (struct Lisp_Char_Table): Delete `ds'.
516 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
518 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
521 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
523 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
524 not defined; add code for non-libchise setting.
525 (char_table_close_db_maybe): Likewise.
526 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
528 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
529 even if `CHISE' is not defined.
530 (Freset_char_attribute_table): Likewise.
531 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
532 `char_table_close_db_maybe' even if `CHISE' is not defined; use
534 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
535 `char_table_close_db_maybe' even if `CHISE' is not defined.
537 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
539 * chartab.c (char_table_open_db_maybe): New function.
540 (char_table_close_db_maybe): New function.
541 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
542 (Freset_char_attribute_table): Likewise.
543 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
544 `char_table_close_db_maybe'.
545 (Fload_char_attribute_table): Likewise.
547 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
549 * chartab.c: Don't include <chise.h> because it is included in
551 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
553 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
555 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
557 (Fclose_char_attribute_table): Close `ct->feature_table' and
558 `ct->ds' when `CHISE' is defined.
559 (Freset_char_attribute_table): Likewise.
560 (load_char_attribute_maybe): Use `cit->ds' and
561 `cit->feature_table' when `CHISE' is defined.
562 (Fload_char_attribute_table): Likewise.
564 * chartab.h: Include <chise.h> when `CHISE' is defined.
565 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
566 when `CHISE' is defined.
568 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
570 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
572 (char_table_description): Likewise.
573 (Fmake_char_table): Likewise.
574 (Fcopy_char_table): Likewise.
575 (Fmount_char_attribute_table): Likewise.
576 (Fclose_char_attribute_table): Likewise.
577 (Freset_char_attribute_table): Likewise.
578 (load_char_attribute_maybe): Likewise.
579 (Fload_char_attribute_table): Likewise.
581 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
584 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
586 * chartab.c (load_char_attribute_table_map_func): New function
587 when CHISE is defined.
588 (Qload_char_attribute_table_map_function): Don't define when CHISE
590 (Fload_char_attribute_table_map_function): Likewise.
591 (Fload_char_attribute_table): Use libchise when `CHISE' is
593 (syms_of_chartab): Don't define
594 `load-char-attribute-table-map-function' when CHISE is defined.
596 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
598 * chartab.c: Include <chise.h> when `CHISE' is defined.
599 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
601 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
603 * mule-charset.c (charset_code_point): Fix problem when searching
604 in mother CCS fails with `defined_only' mode.
606 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
608 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
609 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
610 (put_char_composition): Likewise.
611 (Fput_char_attribute): Likewise.
612 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
614 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
616 * chartab.c (Q_ucs): Deleted.
617 (Fput_char_attribute): Don't refer `->ucs'.
618 (Fdefine_char): Likewise.
619 (Ffind_char): Likewise.
620 (syms_of_chartab): Delete `->ucs'.
622 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
624 * mule-charset.c (Qmap_cns11643_2): Renamed from
625 `Qchinese_cns11643_2'.
626 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
627 `chinese-cns11643-2'.
628 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
631 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
633 * mule-charset.c (Qmap_cns11643_1): Renamed from
634 `Qchinese_cns11643_1'.
635 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
636 `chinese-cns11643-1'.
637 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
640 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
642 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
643 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
645 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
648 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
650 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
651 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
653 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
656 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
658 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
659 (syms_of_mule_charset): Add new symbol `=big5' instead of
661 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
663 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
665 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
666 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
668 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
671 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
673 * mule-charset.c (Qmap_jis_x0212): Renamed from
674 `Qjapanese_jisx0212'.
675 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
677 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
680 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
682 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
683 `Qjapanese_jisx0208'.
684 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
685 of `japanese-jisx0208'.
686 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
689 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
691 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
692 `Qjapanese_jisx0208_1978'.
693 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
694 of `japanese-jisx0208-1978'.
695 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
698 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
700 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
701 only for XEmacs CHISE.
703 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
705 * char-ucs.h: Compact non-ISO-IR charset-ids.
706 (LEADING_BYTE_UCS): Changed to -177.
707 (LEADING_BYTE_CONTROL_1): Changed to -77.
708 (LEADING_BYTE_UCS_BMP): Changed to -176.
709 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
711 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
713 * mule-charset.c (Qiso_ir): New variable.
714 (Fmake_charset): Recognise new property `iso-ir'.
715 (syms_of_mule_charset): Add new symbol `iso-ir'.
717 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
719 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
720 n to -n; charset-id of non ISO-IR sets are changed to positive
723 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
725 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
726 for &MCS-XXXXXXXX; values.
728 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
730 * mule.c (Vxemacs_chise_version): Renamed from
732 (vars_of_mule): Add new variable `xemacs-chise-version'; define
733 `utf-2000-version' as an alias for `xemacs-chise-version'.
735 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
737 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
738 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
741 * config.h.in (CHISE): New macro.
743 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
745 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
747 (Qmap_ucs): New variable.
748 (syms_of_mule_charset): Add new symbol `=ucs'.
749 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
751 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
752 (simplify_char_spec): Likewise.
754 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
756 * char-ucs.h (Qmap_ucs): New extern variable.
758 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
760 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
761 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
762 don't define it when UTF2000 is not defined.
763 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
764 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
765 when UTF2000 is not defined.
766 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
767 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
769 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
771 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
773 * mule-charset.c (Vcharset_ucs_gb): Deleted.
775 (syms_of_mule_charset): Delete `ucs-gb'.
776 (complex_vars_of_mule_charset): Likewise.
778 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
780 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
782 * mule-charset.c (Vcharset_ucs_cns): Deleted.
784 (syms_of_mule_charset): Delete `ucs-cns'.
785 (complex_vars_of_mule_charset): Likewise.
787 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
789 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
791 * mule-charset.c (Vcharset_ucs_jis): Deleted.
793 (syms_of_mule_charset): Delete `ucs-jis'.
794 (complex_vars_of_mule_charset): Likewise.
796 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
798 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
800 * mule-charset.c (Vcharset_ucs_ks): Deleted.
802 (syms_of_mule_charset): Delete `ucs-ks'.
803 (complex_vars_of_mule_charset): Likewise.
805 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
807 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
808 (Qideograph_daikanwa_2): Deleted.
809 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
810 (complex_vars_of_mule_charset): Likewise.
812 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
813 (LEADING_BYTE_DAIKANWA_1): Deleted.
814 (LEADING_BYTE_DAIKANWA_2): Deleted.
815 (MIN_CHAR_DAIKANWA): Deleted.
816 (MAX_CHAR_DAIKANWA): Deleted.
818 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
820 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
821 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
822 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
824 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
825 (Vcharset_ideograph_daikanwa): Deleted.
826 (Qideograph_hanziku_{1..12}): Deleted.
827 (Qideograph_daikanwa): Deleted.
828 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
829 Vcharset_ideograph_daikanwa.
830 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
831 `ideograph-hanziku-{1..12}'.
832 (complex_vars_of_mule_charset): Likewise.
834 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
836 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
838 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
839 (Qideograph_gt_pj_{1..11}): Deleted.
840 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
841 (complex_vars_of_mule_charset): Likewise.
843 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
845 * mule-charset.c (Vcharset_ucs_big5): Deleted.
846 (Vcharset_ideograph_gt): Deleted.
847 (Qucs_big5): Deleted.
848 (Qideograph_gt): Deleted.
849 (syms_of_mule_charset): Delete symbol `ucs-big5' and
851 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
854 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
855 (LEADING_BYTE_GT): Deleted.
856 (MIN_CHAR_GT): Deleted.
857 (MAX_CHAR_GT): Deleted.
859 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
861 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
863 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
865 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
866 (save_uint16_byte_table): Likewise.
867 (save_byte_table): Likewise; convert values by it.
868 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
869 for `ideographic-structure'.
870 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
871 as the filter for `ideographic-structure'.
873 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
875 * chartab.c (put_char_composition): New function.
876 (Fput_char_attribute): Use `put_char_composition'; use
877 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
879 * fns.c (simplify_char_spec): New function.
880 (char_ref_simplify_spec): New function.
881 (Fchar_refs_simplify_char_specs): New function.
882 (syms_of_fns): Add new builtin function
883 `char-refs-simplify-char-specs'.
885 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
887 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
888 (Qideograph_cbeta): Deleted.
889 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
890 (complex_vars_of_mule_charset): Likewise.
892 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
893 (MIN_CHAR_CBETA): Comment out.
894 (MAX_CHAR_CBETA): Likewise.
896 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
898 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
899 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
900 CHISE client feature.
902 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
904 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
906 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
908 * mule-charset.c (charset_lookup_description_1): Use
909 `NUM_LEADING_BYTES' in UTF-2000.
911 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
913 * char-ucs.h (GC_CHARSETP): Deleted.
915 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
917 * char-ucs.h (MAX_CHAR_GT): Updated.
919 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
921 * text-coding.c: Sync with XEmacs 21.4.10.
923 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
925 * mule-charset.c (Vcharset_china3_jef): Deleted.
926 (Qchina3_jef): Deleted.
927 (syms_of_mule_charset): Don't define `china3-jef'.
928 (complex_vars_of_mule_charset): Likewise.
930 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
931 (MIN_CHAR_CHINA3_JEF): Comment out.
932 (MAX_CHAR_CHINA3_JEF): Comment out.
934 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
936 * mule-charset.c (Vcharset_ucs_gb): New variable.
937 (Qucs_gb): New variable.
938 (syms_of_mule_charset): Add new symbol `ucs-gb'.
939 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
941 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
943 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
945 * mule-charset.c (charset_code_point): if a coded-charset has a
946 final-byte, don't inherit the builtin range of the mother CCS.
948 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
950 * mule-charset.c (charset_code_point): Fix problem about
953 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
955 * mule-charset.c (decode_builtin_char): Reorganized.
957 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
959 * text-coding.c (char_encode_as_entity_reference): Modify for
960 `charset_code_point'.
961 (char_encode_shift_jis): Likewise.
962 (char_encode_big5): Likewise.
963 (char_encode_utf8): Likewise.
964 (char_encode_iso2022): Likewise.
966 * mule-charset.c (charset_code_point): Add new argument
968 (Fencode_char): Add new optional argument `defined_only'.
970 * chartab.c (put_char_table): Modify for `charset_code_point'.
972 * char-ucs.h (charset_code_point): Add new argument
974 (encode_char_1): Modify for `charset_code_point'.
976 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
978 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
979 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
981 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
983 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
984 (Qjis_x0208): Likewise.
985 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
986 XCHARSET_FINAL(charset).
987 (charset_code_point): Modify condition for final-byte based
989 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
990 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
991 in UTF-2000; specify `=jis-x0208' as the mother of
992 `japanese-jisx0208-1978', `japanese-jisx0208' and
993 `japanese-jisx0208-1990' in UTF-2000.
995 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
997 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
999 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1001 * text-coding.c (decode_coding_utf16): Support UTF-16.
1002 (char_encode_utf16): Fixed.
1004 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1006 * text-coding.c (Qutf16): New variable in MULE.
1007 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
1008 (Fcoding_system_type): Add `utf-16' in MULE.
1009 (struct detection_state): Add a structure for utf16 in MULE.
1010 (detect_coding_type): Setup st->utf16.mask in MULE.
1011 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
1013 (reset_encoding_stream): Use `char_encode_utf16' and
1014 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
1015 (detect_coding_utf16): New function [incomplete].
1016 (decode_coding_utf16): New function [support only UCS-2].
1017 (char_encode_utf16): New function.
1018 (char_finish_utf16): New function.
1019 (syms_of_file_coding): Add new symbol `utf-16'; setup
1020 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
1022 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
1024 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
1025 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
1027 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1029 * chartab.c (put_char_table): When a charset is specified as a
1030 range in UTF-2000, don't support builtin characters.
1032 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1034 * mule-charset.c (decode_defined_char): Don't refer external
1035 database if Qunbound or Qnil are found.
1036 (Fsave_charset_mapping_table): Don't define it if
1037 HAVE_CHISE_CLIENT is not defined.
1038 (Freset_charset_mapping_table): New function.
1039 (load_char_decoding_entry_maybe): Store Qnil if a character is not
1040 found in external database.
1041 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
1042 if HAVE_CHISE_CLIENT is not defined; add new builtin function
1043 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
1045 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1047 * text-coding.c (decode_coding_utf8): Check CCS is specified or
1050 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1052 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
1053 Q_lowercase, Q_uppercase in UTF-2000.
1055 * chartab.c (get_char_table): Add special code for the standard
1056 case table to use character attribute `->downcase' and
1057 `->uppercase' for case operations in UTF-2000.
1059 * casetab.c (Qflippedcase): New variable in UTF-2000.
1060 (Q_lowercase): Likewise.
1061 (Q_uppercase): Likewise.
1062 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
1063 and `->uppercase' in UTF-2000.
1064 (complex_vars_of_casetab): Assign attribute name `downcase' to
1065 downcase and CANON table of Vstandard_case_table in UTF-2000;
1066 assign attribute name `flippedcase' to upcase and EQV table of
1067 Vstandard_case_table in UTF-2000.
1069 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1071 * text-coding.c (decode_add_er_char): Support isolated-chars.
1072 (char_encode_as_entity_reference): Likewise.
1074 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1076 * emacs.c (Vutf_2000_lisp_directory): New variable.
1077 (Vconfigure_utf_2000_lisp_directory): Likewise.
1078 (complex_vars_of_emacs): Add new variable
1079 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
1081 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1083 * char-ucs.h (DECODE_CHAR): Delete special code for
1084 `chinese-big5-1' and `chinese-big5-2'.
1086 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
1087 (Qbig5_2): Likewise.
1088 (decode_defined_char): Support CONVERSION_BIG5_1 and
1090 (decode_builtin_char): Likewise.
1091 (charset_code_point): Likewise.
1092 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
1093 'conversion in UTF-2000.
1094 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
1095 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
1096 `chinese-big5-2' as children of `chinese-big5'.
1098 * char-ucs.h (CONVERSION_BIG5_1): New macro.
1099 (CONVERSION_BIG5_2): New macro.
1101 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1103 * text-coding.c (char_encode_big5): Support entity-reference.
1105 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1107 * text-coding.c (char_encode_as_entity_reference): New function.
1108 (char_encode_utf8): Use `char_encode_as_entity_reference'.
1110 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1112 * text-coding.c (decode_coding_big5): Support entity-reference
1115 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1117 * text-coding.c (allocate_coding_system): Initialize initial
1118 charsets for CODESYS_UTF8.
1119 (Fmake_coding_system): Accept charset-g0, charset-g1 and
1120 charset-g2 for CODESYS_UTF8.
1121 (decode_coding_utf8): Use charset-g0.
1122 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
1123 to force variants to map to UCS.
1125 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1127 * text-coding.c (Qutf_8_mcs): New variable.
1128 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
1129 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
1130 instead of `utf-8' in UTF-2000.
1132 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1134 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
1135 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
1136 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
1137 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
1138 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
1139 CONVERSION_96x96x96x96 are introduced.
1140 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
1141 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
1142 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
1144 * char-ucs.h (CONVERSION_94): New macro.
1145 (CONVERSION_96): New macro.
1146 (CONVERSION_94x94): New macro.
1147 (CONVERSION_96x96): New macro.
1148 (CONVERSION_94x94x94): New macro.
1149 (CONVERSION_96x96x96): New macro.
1150 (CONVERSION_94x94x94x60): New macro.
1151 (CONVERSION_94x94x94x94): New macro.
1152 (CONVERSION_96x96x96x96): New macro.
1154 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1156 * chartab.c (Vcharacter_variant_table): Deleted.
1157 (Fchar_variants): Use character-attribute `->ucs-variants' instead
1158 of `Vcharacter_variant_table'.
1159 (Fput_char_attribute): Likewise.
1160 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
1161 (complex_vars_of_chartab): Likewise.
1163 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1165 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
1167 * fns.c (Qideographic_structure): New variable.
1168 (Qkeyword_char): New variable.
1169 (ids_format_unit): New function.
1170 (Fideographic_structure_to_ids): New function.
1171 (syms_of_fns): Add new symbols `ideographic-structure' and
1172 `:char'; add new builtin function `ideographic-structure-to-ids'.
1174 * data.c (Fchar_ref_p): New function.
1175 (syms_of_data): Add new builtin function `char-ref-p'.
1177 * chartab.h: Add an EXFUN for `Ffind_char'.
1179 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1181 * text-coding.c (Vcharacter_composition_table): Deleted.
1182 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
1185 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
1187 (Vcharacter_composition_table): Deleted.
1188 (Fget_composite_char): Use the implementation for external-DB
1189 support in every UTF-2000.
1190 (Fput_char_attribute): Likewise.
1191 (char_attribute_system_db_file): Don't define if external-DB
1192 feature is not available.
1193 (Fsave_char_attribute_table): Likewise.
1194 (Fmount_char_attribute_table): Likewise.
1195 (Fclose_char_attribute_table): Likewise.
1196 (Freset_char_attribute_table): Likewise.
1197 (Fload_char_attribute_table): Likewise.
1198 (syms_of_chartab): Don't define `save-char-attribute-table',
1199 `mount-char-attribute-table', `reset-char-attribute-table',
1200 `close-char-attribute-table' and `load-char-attribute-table' if
1201 external-DB feature is not available.
1202 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
1204 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1206 * text-coding.c (Qcomposition): Add extern if external-DB feature
1208 (Vcharacter_composition_table): Don't add extern if external-DB
1209 feature is supported.
1210 (COMPOSE_ADD_CHAR): Modify for new data-representation of
1211 character composition rule if external-DB feature is supported.
1213 * chartab.c (Vcharacter_composition_table): Don't define if
1214 external-DB feature is supported.
1215 (Qcomposition): New variable.
1216 (Fget_composite_char): New implementation for external-DB support.
1217 (Fput_char_attribute): Use `composition' property of each
1218 character instead of `Vcharacter_composition_table' to store
1219 character-composition rules if external-DB feature is supported.
1220 (syms_of_chartab): Add new symbol `composition'.
1221 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
1222 external-DB feature is supported.
1224 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1226 * chartab.c (Vchar_db_stingy_mode): New variable.
1227 (load_char_attribute_maybe): Close database if
1228 Vchar_db_stingy_mode is not NIL.
1229 (Fload_char_attribute_table_map_function): Use
1230 `get_char_id_table_0' instead of `get_char_id_table'.
1231 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
1233 * chartab.h (get_char_id_table_0): New inline function.
1234 (get_char_id_table): Use `get_char_id_table_0'.
1236 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1238 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
1239 and `COMPOSE_ADD_CHAR'.
1240 (decode_coding_iso2022): Use `decode_flush_er_chars'.
1242 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1244 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
1245 instead of `DECODE_ADD_UCS_CHAR'.
1246 (COMPOSE_ADD_CHAR): Likewise.
1248 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1250 * text-coding.c (decode_flush_er_chars): New inline function.
1251 (decode_add_er_char): New function.
1252 (decode_coding_utf8): Use `decode_flush_er_chars' and
1253 `decode_add_er_char'.
1255 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1257 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
1258 done before `decode_output_utf8_partial_char'.
1260 * mule-charset.c (complex_vars_of_mule_charset): Specify
1261 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
1262 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
1264 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1266 * mule-charset.c (decode_defined_char): New function; search
1268 (decode_builtin_char): Don't search mother if
1269 XCHARSET_MAX_CODE(charset) == 0.
1270 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
1271 == 0 even if code >= XCHARSET_MAX_CODE(charset).
1272 (Fdecode_char): Use `decode_defined_char' instead of
1273 `DECODE_DEFINED_CHAR'.
1274 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
1275 mother of `Vcharset_ucs_jis'.
1277 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
1278 instead of `DECODE_DEFINED_CHAR'.
1280 * char-ucs.h (decode_defined_char): Renamed from
1281 `DECODE_DEFINED_CHAR'; changed to normal function.
1282 (DECODE_CHAR): Use `decode_defined_char' instead of
1283 `DECODE_DEFINED_CHAR'.
1285 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
1287 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1289 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
1291 * text-coding.c (Vcoded_charset_entity_reference_alist): New
1293 (Quse_entity_reference): New variable.
1297 (coding_system_description): Add description for
1298 `ccs_priority_list'.
1299 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
1300 (allocate_coding_system): Initialize `ccs_priority_list' in
1302 (Fmake_coding_system): Add description about
1303 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
1305 (Fcoding_system_property): Accept `disable-composition' and
1306 `use-entity-reference' in UTF-2000.
1307 (struct decoding_stream): Add new member `er_counter' and `er_buf'
1309 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
1310 (decode_coding_utf8): Decode entity-reference if
1311 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
1312 (char_encode_utf8): Encode non-Unicode characters as
1313 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
1315 (syms_of_file_coding): Add new symbols `use-entity-reference',
1317 (vars_of_file_coding): Add new variable
1318 `coded-charset-entity-reference-alist'.
1319 (complex_vars_of_file_coding): Declare `disable-composition' and
1320 `use-entity-reference' to be coding-system-properties in UTF-2000.
1322 * file-coding.h (struct Lisp_Coding_System): Add new member
1323 `use_entity_reference' and `ccs_priority_list'.
1324 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1325 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
1326 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1328 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1330 * chartab.c (save_uint8_byte_table): Don't clear the table.
1331 (save_uint16_byte_table): Likewise.
1332 (save_byte_table): Likewise.
1333 (Fmount_char_attribute_table): New function.
1334 (syms_of_chartab): Add new builtin function
1335 `mount-char-attribute-table'.
1337 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1339 * mule-charset.c (Fsave_charset_mapping_table): Open database as
1341 (load_char_decoding_entry_maybe): Open database as read-only mode.
1343 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
1344 open database as "w+" mode.
1345 (load_char_attribute_maybe): Open database as read-only mode.
1346 (Fload_char_attribute_table): Likewise.
1348 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1350 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
1351 (char_table_description): Delete member `db_file'.
1352 (Fmake_char_table): Don't refer `ct->db_file'.
1353 (Fcopy_char_table): Likewise.
1354 (Fsave_char_attribute_table): Likewise.
1355 (Fclose_char_attribute_table): Likewise.
1356 (Freset_char_attribute_table): Likewise.
1357 (load_char_attribute_maybe): Likewise.
1358 (Fload_char_attribute_table): Likewise.
1360 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
1362 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1364 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
1365 (Fsave_char_attribute_table): Don't check `ct->db_file' if
1367 (load_char_attribute_maybe): Likewise.
1368 (Fload_char_attribute_table): Likewise.
1370 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1372 * chartab.c (Fclose_char_attribute_table): Set Qnil on
1373 `ct->db_file' unconditionally.
1375 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1377 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
1379 (char_table_description): Add description for `db_file' and `db'
1381 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
1383 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
1384 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
1385 (Fclose_char_attribute_table): New function.
1386 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
1387 (load_char_attribute_maybe): Change interface; use `cit->db_file'
1389 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
1390 (syms_of_chartab): Add new builtin function
1391 `Fclose_char_attribute_table'.
1393 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1395 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
1397 (load_char_attribute_maybe): Change interface.
1398 (get_char_id_table): Modify for `load_char_attribute_maybe'.
1400 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1402 * database.h: Add an EXFUN for `Fdatabase_live_p'.
1404 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1406 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
1407 instead of `DECODE_CHAR' for mother; don't use special code for
1408 chinese-big5 to use code space of chinese-big5-1 and
1410 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
1411 `MAX_CHAR_BIG5_CDP' for chinese-big5.
1413 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
1414 (MAX_CHAR_BIG5_CDP): Revival.
1416 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1418 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
1419 the XLFD registry-encoding name of `chinese-big5'.
1421 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1423 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
1424 (Qchinese_big5_cdp): Deleted.
1425 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
1426 (complex_vars_of_mule_charset): Delete coded-charset
1429 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
1430 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
1431 `CHARSET_ID_OFFSET - n' for private CCS.
1432 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
1433 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
1434 of `MIN_LEADING_BYTE'.
1435 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
1436 `(CHARSET_ID_OFFSET - 97)'.
1437 (MIN_CHAR_BIG5_CDP): Deleted.
1438 (MAX_CHAR_BIG5_CDP): Deleted.
1440 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1442 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
1444 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1446 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
1447 (vars_of_mule): Add new variable `utf-2000-version' [moved from
1450 * chartab.c (Vutf_2000_version): Moved to mule.c.
1451 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
1453 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1455 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
1456 when HAVE_CHISE_CLIENT is not defined.
1458 * mule.c (vars_of_mule): Provide feature `chise' when
1459 HAVE_CHISE_CLIENT is defined.
1461 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1463 * config.h.in (UTF2000): Add comment.
1464 (HAVE_CHISE_CLIENT): New macro.
1466 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1468 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
1470 (Fput_char_attribute): Likewise.
1471 (char_attribute_system_db_file): Encode file-name of attribute.
1472 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
1475 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1477 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
1478 (Fsave_charset_mapping_table): Use
1479 `char_attribute_system_db_file'.
1480 (load_char_decoding_entry_maybe): Likewise.
1482 * chartab.h (Qsystem_char_id): New external variable.
1483 (char_attribute_system_db_file): New prototype.
1485 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
1486 (char_attribute_system_db_file): New function.
1487 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
1488 (Freset_char_attribute_table): Likewise.
1489 (load_char_attribute_maybe): Likewise.
1490 (Fload_char_attribute_table): Likewise.
1491 (syms_of_chartab): Add new symbol `system-char-id'.
1493 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1495 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
1496 `XCHARSET_GRAPHIC(ccs)'.
1498 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1500 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
1502 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1504 * chartab.c (Q_ucs_variants): New variable.
1505 (syms_of_chartab): Add new symbol `->ucs-variants'.
1506 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
1507 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
1508 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
1510 * mule-charset.c (load_char_decoding_entry_maybe): New function.
1512 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
1513 `HAVE_DATABASE' is defined.
1514 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
1515 `HAVE_DATABASE' is defined.
1517 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1519 * chartab.c (Fsave_char_attribute_table): Don't clear internal
1521 (Freset_char_attribute_table): New function.
1522 (syms_of_chartab): Add new builtin function
1523 `reset-char-attribute-table'.
1525 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1527 * chartab.c (load_char_attribute_maybe): Don't make directories.
1529 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1531 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
1533 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
1536 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1538 * mule-charset.c (Fsave_charset_mapping_table): Use
1539 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
1541 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
1542 instead of `XCHARSET_CHARS'.
1544 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1546 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
1547 (XCHARSET_BYTE_SIZE): Likewise.
1549 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
1551 (XCHARSET_BYTE_SIZE): Likewise.
1553 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1555 * chartab.c (Fput_char_attribute): Use exec-directory instead of
1556 data-directory to store database.
1557 (Fsave_char_attribute_table): Likewise.
1558 (load_char_attribute_maybe): Likewise.
1559 (Fload_char_attribute_table): Likewise.
1561 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1563 * mule-charset.c (Fsave_charset_mapping_table): New function.
1564 (syms_of_mule_charset): Add new builtin function
1565 `save-charset-mapping-table'.
1567 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1569 * char-ucs.h (decoding_table_check_elements): Delete prototype.
1570 (get_ccs_octet_table): New inline function.
1571 (put_ccs_octet_table): Likewise.
1572 (decoding_table_put_char): Use `get_ccs_octet_table' and
1573 `put_ccs_octet_table'.
1574 (decoding_table_remove_char): Use `decoding_table_put_char'.
1575 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
1577 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
1578 into encoding_table.
1579 (make_charset): Use Qunbound instead Qnil as initial value of
1582 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1584 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
1585 element is Qunloaded.
1586 (map_over_uint16_byte_table): Likewise.
1587 (map_over_byte_table): Likewise.
1588 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
1589 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
1590 database support, load encoding-table of the specified
1591 coded-charset if it is not loaded yet.
1592 (save_uint8_byte_table): New function of UTF-2000 with external
1594 (save_uint16_byte_table): Likewise.
1595 (save_byte_table): Likewise.
1596 (Fput_char_attribute): Don't store value into external database
1597 even if the external database feature is supported in UTF-2000;
1598 set `attribute' as name of char-table if the external database
1599 feature is supported.
1600 (Fsave_char_attribute_table): New function in UTF-2000.
1601 (syms_of_chartab): Add new builtin function
1602 `save-char-attribute-table' in UTF-2000.
1604 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1606 * chartab.c (char_attribute_table_to_put): New variable in
1608 (Qput_char_table_map_function): Likewise.
1609 (value_to_put): Likewise.
1610 (Fput_char_table_map_function): New function in UTF-2000.
1611 (put_char_table): Use `Fmap_char_attribute' for
1612 CHARTAB_RANGE_CHARSET in UTF-2000.
1613 (Fput_char_attribute): Store symbol instead of string in
1614 `XCHAR_TABLE_NAME (table)'.
1615 (load_char_attribute_maybe): Likewise.
1616 (syms_of_chartab): Add new symbol/function
1617 `put-char-table-map-function'.
1619 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1621 * database.h: Add new EXFUN for `Fmap_database'.
1623 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
1624 (syms_of_database): Likewise.
1626 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
1628 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
1629 (XCHAR_TABLE_UNLOADED): Likewise.
1631 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
1632 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
1633 HAVE_DATABASE is defined.
1634 (char_attribute_table_to_load): New variable of UTF-2000 with
1635 external database support.
1636 (Qload_char_attribute_table_map_function): Likewise.
1637 (Fload_char_attribute_table_map_function): New function of
1638 UTF-2000 with external database support.
1639 (Fload_char_attribute_table): New function of UTF-2000.
1640 (Fmap_char_attribute): Call Fload_char_attribute_table if
1641 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
1642 (syms_of_chartab): Add new symbol and function
1643 `load-char-attribute-table-map-function' in UTF-2000 with external
1644 database support; add new function `load-char-attribute-table' in
1647 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1649 * chartab.h (load_char_attribute_maybe): New prototype for
1650 UTF-2000 with DATABASE support.
1651 (get_char_id_table): Use `load_char_attribute_maybe' if
1652 HAVE_DATABASE is defined.
1654 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
1655 with DATABASE support.
1657 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1659 * chartab.c (Fput_char_attribute): Use S-expression as key of
1662 * chartab.h (get_char_id_table): Use S-expression as key of
1665 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1667 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
1668 if an element is not loaded, load the corresponding attributes
1669 from an external database.
1670 (map_over_uint16_byte_table): Likewise.
1671 (map_over_byte_table): Likewise.
1672 (map_char_table): Modify for `map_over_uint8_byte_table',
1673 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
1674 element is not loaded, load the corresponding attributes from an
1676 (Fput_char_attribute): Change initial values to Qunloaded.
1678 * chartab.h (get_char_id_table): If a character attribute is not
1679 loaded and the attribute value is not found in an external
1680 database, store Qunbound as the attribute value.
1682 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1684 * chartab.c (BT_UINT8_unloaded): New macro.
1685 (UINT8_VALUE_P): Accept Qunloaded.
1686 (UINT8_ENCODE): Likewise.
1687 (UINT8_DECODE): Likewise.
1688 (BT_UINT16_unloaded): New macro.
1689 (UINT16_VALUE_P): Accept Qunloaded.
1690 (UINT16_ENCODE): Likewise.
1691 (UINT16_DECODE): Likewise.
1692 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
1694 (mark_char_table): Mark `ct->name' in UTF-2000.
1695 (char_table_description): Add `name' in UTF-2000.
1696 (Fmake_char_table): Initialize `ct->name'.
1697 (Fcopy_char_table): Copy `ct->name'.
1698 (Fput_char_attribute): Store value into an external database if
1699 HAVE_DATABASE is defined.
1701 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
1703 (CHAR_TABLE_NAME): New macro in UTF-2000.
1704 (XCHAR_TABLE_NAME): New macro in UTF-2000.
1705 (get_char_id_table): Try to read an external database if Qunloaded
1706 is stored in a table.
1708 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
1711 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1713 * database.h: Add EXFUN definitions for Fopen_database,
1714 Fput_database, Fget_database and Fclose_database.
1716 * data.c (Qunloaded): New variable in UTF-2000.
1718 * lisp.h (Qunloaded): New variable in UTF-2000.
1720 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1722 * mule-charset.c (put_char_ccs_code_point): Modify for
1723 `decoding_table_remove_char' and `decoding_table_put_char'.
1724 (remove_char_ccs): Modify for `decoding_table_remove_char'.
1726 * char-ucs.h (decoding_table_remove_char): Change arguments to
1727 hide decoding_table vector.
1728 (decoding_table_put_char): Likewise.
1730 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1732 * mule-charset.c (decoding_table_remove_char): Moved to
1734 (decoding_table_put_char): Likewise.
1736 * char-ucs.h (decoding_table_check_elements): New prototype [moved
1737 from mule-charset.c].
1738 (decoding_table_remove_char): New inline function [moved from
1740 (decoding_table_put_char): Likewise.
1742 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1744 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
1747 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1749 * mule-charset.c (decode_builtin_char): Support mother charsets.
1751 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1753 * mule-charset.c (Q94x94x60): New variable.
1754 (charset_code_point): Support conversion `94x94x60'.
1755 (Fmake_charset): Likewise.
1756 (syms_of_mule_charset): Add new symbol `94x94x60'.
1758 * char-ucs.h (CONVERSION_94x94x60): New macro.
1760 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1762 * mule-charset.c (charset_code_point): Unify code about
1765 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1767 * mule-charset.c (charset_code_point): Merge code about builtin
1768 characters into code about mother charsets; don't use
1769 `range_charset_code_point'.
1770 (range_charset_code_point): Deleted.
1772 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1774 * mule-charset.c (Qcode_offset): New variable.
1775 (Fmake_charset): Use `XUINT' to get value of `min-code' and
1776 `max-code'; accept new property `code-offset'.
1777 (syms_of_mule_charset): Add new symbol `code-offset'.
1779 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1781 * mule-charset.c (range_charset_code_point): Fixed.
1783 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1785 * mule-charset.c (decode_builtin_char): Change semantics of
1786 code-offset of coded-charset.
1787 (charset_code_point): Likewise.
1788 (range_charset_code_point): Likewise.
1789 (complex_vars_of_mule_charset): Modify for the change.
1791 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1793 * mule-charset.c (Fencode_char): Reverse arguments.
1795 * mule-charset.c (charset_code_point): Fixed.
1797 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1799 * mule-charset.c (Vcharset_mojikyo): Deleted.
1800 (Vcharset_mojikyo_2022_1): Deleted.
1801 (Vcharset_mojikyo_pj_{1..21}): Deleted.
1802 (Qmin_code): New variable in UTF-2000.
1803 (Qmax_code): Likewise.
1804 (Qmother): Likewise.
1805 (Qconversion): Likewise.
1807 (Qmojikyo): Deleted.
1808 (Qmojikyo_2022_1): Deleted.
1809 (Qmojikyo_pj_{1..22}): Deleted.
1810 (mark_charset): Mark `cs->mother'.
1811 (charset_description): Add description for `mother'.
1812 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
1813 new arguments `mother' and `conversion'; use
1814 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
1815 (charset_code_point): Moved from char-ucs.h; support `mother'
1817 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
1818 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
1819 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
1820 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
1821 allow 2 as the value of `graphic' in UTF-2000; add new properties
1822 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
1823 require `final' in UTF-2000; modify for `make_charset'.
1824 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
1825 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
1826 (Fcharset_property): Support `mother', `min-code' and `max-code'.
1827 (Fencode_char): New function.
1828 (syms_of_mule_charset): Add new builtin function `encode-char' in
1829 UTF-2000; add new symbols `min-code', `max-code', `mother',
1830 `conversion' and `94x60'; delete symbols `mojikyo',
1831 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
1832 (complex_vars_of_mule_charset): Modify for `make_charset' change;
1833 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
1834 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
1836 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
1837 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
1839 * char-ucs.h (Vcharset_mojikyo): Deleted.
1840 (Vcharset_mojikyo_2022_1): Deleted.
1841 (LEADING_BYTE_MOJIKYO): Deleted.
1842 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
1843 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
1844 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
1845 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
1846 add new member `mother'; add new member `conversion'.
1847 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
1848 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
1849 (CHARSET_MOTHER): New macro.
1850 (CHARSET_CONVERSION): New macro.
1851 (CONVERSION_IDENTICAL): New macro.
1852 (CONVERSION_94x60): New macro.
1853 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
1854 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
1855 (XCHARSET_MOTHER): New macro.
1856 (XCHARSET_CONVERSION): New macro.
1857 (MIN_CHAR_MOJIKYO): Deleted.
1858 (MAX_CHAR_MOJIKYO): Deleted.
1859 (DECODE_MOJIKYO_2022): Deleted.
1860 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
1861 (charset_code_point): Changed to non-inline function.
1862 (encode_char_1): Use `charset_code_point'.
1863 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
1865 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1867 * lread.c (read_compiled_function): Fix prototype.
1868 (read_vector): Likewise.
1870 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1872 * lrecord.h (struct lrecord_header): Delete `older'.
1873 (set_lheader_implementation): Delete code for `older'.
1874 (set_lheader_older_implementation): Deleted.
1875 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
1876 (OLDER_RECORD_P): Deleted.
1877 (OLDER_RECORD_HEADER_P): Deleted.
1878 (alloc_older_lcrecord): Deleted.
1879 (alloc_older_lcrecord_type): Deleted.
1881 * alloc.c (all_older_lcrecords): Deleted.
1882 (alloc_older_lcrecord): Deleted.
1883 (disksave_object_finalization_1): Delete code for older objects.
1884 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
1885 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
1887 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1889 * mule-charset.c (decoding_table_put_char): Use `make_vector'
1890 instead of `make_older_vector'.
1891 (put_char_ccs_code_point): Likewise.
1892 (mark_charset): Mark `cs->decoding_table'.
1893 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
1895 * lisp.h (make_older_vector): Deleted.
1896 (make_vector_newer): Deleted.
1898 * config.h.in (HAVE_GGC): Deleted.
1900 * alloc.c (make_older_vector): Deleted.
1901 (make_vector_newer_1): Deleted.
1902 (make_vector_newer): Deleted.
1904 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1906 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
1907 (Qideograph_daikanwa_2): New variable.
1908 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
1909 (complex_vars_of_mule_charset): Add new coded-charset
1910 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
1911 `LEADING_BYTE_DAIKANWA'.
1913 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
1914 (LEADING_BYTE_DAIKANWA_1): New macro.
1915 (LEADING_BYTE_DAIKANWA_2): New macro.
1916 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
1918 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1920 * mule-charset.c (complex_vars_of_mule_charset): Change
1921 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
1922 the second revised version.
1924 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1926 * mule-charset.c (Vcharset_ucs_smp): New variable.
1927 (Vcharset_ucs_sip): New variable.
1928 (Qucs_smp): New variable.
1929 (Qucs_sip): New variable.
1930 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
1931 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
1932 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
1933 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
1934 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
1935 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
1937 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
1938 (LEADING_BYTE_UCS_SIP): New macro.
1939 (MIN_CHAR_SMP): New macro.
1940 (MAX_CHAR_SMP): New macro.
1941 (MIN_CHAR_SIP): New macro.
1942 (MAX_CHAR_SIP): New macro.
1944 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
1946 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
1949 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1951 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
1952 value; don't store value into `encoding_table' of `Lisp_Charset'.
1953 (mark_charset): `encoding_table' was deleted.
1954 (charset_description): Likewise.
1955 (make_charset): Likewise.
1956 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
1957 `put_char_ccs_code_point'.
1959 * chartab.h (Fput_char_attribute): New EXFUN.
1961 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
1962 is unified with normal symbol space.
1963 (Fget_char_attribute): Likewise.
1964 (Fput_char_attribute): Likewise; behavior of
1965 `put_char_ccs_code_point' is changed.
1967 * char-ucs.h: Include "elhash.h".
1968 (Vchar_attribute_hash_table): New external variable.
1969 (struct Lisp_Charset): Delete `encoding_table'.
1970 (CHARSET_ENCODING_TABLE): New implementation; refer
1971 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
1974 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1976 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
1979 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1981 * text-coding.c (char_encode_big5): Prefer charset-g1 than
1984 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1986 * chartab.c (uint8_byte_table_description): New constant.
1987 (uint8-byte-table): Use `uint8_byte_table_description'.
1988 (uint16_byte_table_description): New constant.
1989 (uint16-byte-table): Use `uint16_byte_table_description'.
1991 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1993 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
1994 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
1996 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1998 * mule-charset.c (Vcharset_ucs_ks): New variable.
1999 (Qucs_ks): New variable.
2000 (syms_of_mule_charset): Add new symbol `ucs-ks'.
2001 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
2003 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
2005 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2007 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
2008 (Fdecode_char): Likewise.
2010 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
2012 (Fdefine_char): Modify for Fdecode_char.
2013 (Ffind_char): Likewise.
2015 * mule-charset.c (Fdecode_char): Add new optional argument
2017 (Fdecode_builtin_char): Modify for `Fdecode_char'.
2019 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2021 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
2022 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
2023 (allocate_coding_system): Initialize initial-charsets of
2024 CODESYS_BIG5 in XEmacs UTF-2000.
2025 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
2026 CODESYS_BIG5 in XEmacs UTF-2000.
2027 (decode_coding_big5): Use initial-charset-g0 and -g1 of
2028 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
2030 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
2032 (Qideograph_hanziku_{1 .. 12}): Likewise.
2033 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
2035 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
2036 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
2037 `ideograph-hanziku-{1 .. 12}'.
2039 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
2040 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
2041 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
2042 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
2043 (DECODE_DEFINED_CHAR): New inline function.
2044 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
2046 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2048 * mule-charset.c (Vcharset_china3_jef): Renamed from
2049 `Vcharset_japanese_jef_china3'.
2050 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
2051 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
2052 `{MIN|MAX}_CHAR_JEF_CHINA3'..
2053 (syms_of_mule_charset): Rename `china3-jef' from
2054 `japanese-jef-china3'.
2055 (complex_vars_of_mule_charset): Likewise; rename
2056 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
2058 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
2059 `LEADING_BYTE_JEF_CHINA3'.
2060 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
2061 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
2063 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2065 * mule-charset.c (encode_builtin_char_1): Comment out special code
2066 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
2068 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
2069 (MAX_CHAR_MOJIKYO_0): Comment out.
2070 (MIN_CHAR_CBETA): Changed to 0x00E20000.
2071 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
2072 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
2073 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
2075 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2077 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
2078 (Qideograph_cbeta): New variable.
2079 (encode_builtin_char_1): Comment out special code for
2080 coded-charset `mojikyo' and `japanese-jef-china3'.
2081 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
2082 (complex_vars_of_mule_charset): Add new coded-charset
2085 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
2086 (MIN_CHAR_CBETA): New macro.
2087 (MAX_CHAR_CBETA): New macro.
2089 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2091 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
2092 (LEADING_BYTE_JEF_CHINA3): New macro.
2093 (MIN_CHAR_JEF_CHINA3): New macro.
2094 (MAX_CHAR_JEF_CHINA3): Likewise.
2095 (DECODE_CHAR): Fixed.
2097 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2099 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
2100 (Qjapanese_jef_china3): New variable.
2101 (encode_builtin_char_1): Support `japanese-jef-china3'.
2102 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
2103 (complex_vars_of_mule_charset): Add new coded-charset
2104 `japanese-jef-china3'.
2106 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2108 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
2109 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
2110 94^4, 96^3, 96^4, 128^n and 256^n set.
2111 (put_char_table): Use `XCHARSET_CELL_RANGE'.
2112 (map_char_table): Likewise.
2114 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2116 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
2119 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2121 * chartab.h (get_char_id_table): New inline function.
2123 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
2126 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2128 * chartab.h (decode_char_table_range): New prototype in XEmacs
2130 (put_char_id_table): New inline function in XEmacs UTF-2000.
2132 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
2134 (decode_char_table_range): Delete static declaration in XEmacs
2137 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2139 * chartab.c (put_char_id_table): Use `put_char_table'.
2141 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2143 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
2144 (map_over_uint16_byte_table): Likewise.
2145 (map_over_byte_table): Likewise.
2146 (map_char_table): Modify for `map_over_uint8_byte_table',
2147 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
2150 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2152 * chartab.c (struct map_char_table_for_charset_arg): New
2154 (map_char_table_for_charset_fun): New function.
2155 (map_char_table): Use `map_char_table' for encoding_table of
2158 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2160 * chartab.c (map_char_table): Check a character is found in
2161 range->charset instead of non default value is defined in
2162 char-table when range is CHARTAB_RANGE_ROW.
2164 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2166 * chartab.c (map_char_id_table): Deleted.
2167 (Fmap_char_attribute): Use `map_char_table' instead of
2168 `map_char_id_table'.
2170 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2172 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
2174 (update_syntax_table): Deleted in XEmacs UTF-2000.
2176 * syntax.c (find_defun_start): Use `syntax_table' instead of
2177 `mirror_syntax_table' in XEmacs UTF-2000.
2178 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
2180 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
2182 (Fmatching_paren): Likewise.
2183 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
2185 (find_start_of_comment): Likewise.
2186 (find_end_of_comment): Likewise.
2187 (Fforward_comment): Likewise.
2188 (scan_lists): Likewise.
2189 (char_quoted): Likewise.
2190 (Fbackward_prefix_chars): Likewise.
2191 (scan_sexps_forward): Likewise.
2192 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
2193 (update_syntax_table): Likewise.
2195 * search.c (skip_chars): Use `syntax_table' instead of
2196 `mirror_syntax_table' in XEmacs UTF-2000.
2197 (wordify): Likewise.
2198 (Freplace_match): Likewise.
2200 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
2201 `mirror_syntax_table' in XEmacs UTF-2000.
2202 (WORDCHAR_P_UNSAFE): Likewise.
2203 (re_match_2_internal): Likewise.
2205 * font-lock.c (find_context): Use `buf->syntax_table' instead of
2206 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2208 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
2209 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
2211 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
2214 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
2216 (print_char_table): Print `default_value' in XEmacs UTF-2000.
2217 (char_table_description): Delete `mirror_table' in XEmacs
2219 (fill_char_table): Don't call `update_syntax_table' in XEmacs
2221 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
2222 (Fcopy_char_table): Likewise.
2223 (put_char_table): Don't call `update_syntax_table' in XEmacs
2226 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
2227 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2228 (casify_region_internal): Likewise.
2230 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
2232 * buffer.c (common_init_complex_vars_of_buffer): Don't use
2233 `mirror_syntax_table' in XEmacs UTF-2000.
2235 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
2236 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2237 (Fexpand_abbrev): Likewise.
2239 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2241 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
2243 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2245 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
2246 (map_over_uint16_byte_table): Likewise.
2247 (map_over_byte_table): Likewise.
2248 (get_char_id_table): Refer `cit->default_value'.
2249 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2250 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
2251 of character-id ranges.
2252 (mark_char_table): Mark `ct->default_value'.
2253 (char_table_description): Add `default_value'.
2254 (fill_char_table): Use `default_value'.
2255 (decode_char_table_range): Decode `nil' as
2256 `CHARTAB_RANGE_DEFAULT'.
2257 (get_char_id_table): Refer `cit->default_value'.
2258 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2259 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
2260 temporary hack; check value of char-table is bound or not.
2261 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
2263 * chartab.h (struct Lisp_Char_Table): Add new member
2264 `default_value' in XEmacs UTF-2000.
2265 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
2266 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
2269 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2271 * chartab.h (Lisp_Char_ID_Table): Deleted.
2273 * chartab.c (char_table_description): Fix typo.
2274 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
2275 `Lisp_Char_ID_Table'.
2277 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2279 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
2282 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
2285 * chartab.h (XCHAR_ID_TABLE): Deleted.
2286 (XSETCHAR_ID_TABLE): Deleted.
2287 (CHAR_ID_TABLE_P): Deleted.
2289 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
2291 (Fget_composite_char): Likewise.
2292 (put_char_table): Likewise.
2293 (add_char_attribute_alist_mapper): Fixed.
2294 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
2296 (Fget_char_attribute): Likewise.
2297 (Fget_char_attribute): Likewise.
2298 (Fmap_char_attribute): Likewise.
2300 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
2302 (encode_char_1): Likewise.
2304 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2306 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
2309 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
2310 instead of `XCHAR_ID_TABLE'.
2311 (remove_char_ccs): Likewise.
2313 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
2315 (Fget_composite_char): Likewise.
2316 (Fchar_variants): Likewise.
2317 (put_char_table): Likewise.
2318 (add_char_attribute_alist_mapper): Likewise.
2319 (Fchar_attribute_alist): Likewise.
2320 (Fget_char_attribute): Likewise.
2321 (Fput_char_attribute): Likewise.
2322 (Fmap_char_attribute): Likewise.
2323 (Fmap_char_attribute): Likewise.
2325 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
2327 (encode_char_1): Likewise.
2329 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2331 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
2332 `Lisp_Char_ID_Table'.
2333 (mark_char_id_table): Deleted.
2334 (print_char_id_table): Likewise.
2335 (char_id_table_equal): Likewise.
2336 (char_id_table_hash): Likewise.
2337 (char_id_table_description): Likewise.
2338 (char_id_table): Likewise.
2339 (make_char_id_table): Use `Fmake_char_table' and
2341 (get_char_id_table): Use `Lisp_Char_Table' instead of
2342 `Lisp_Char_ID_Table'.
2343 (put_char_id_table): Likewise.
2344 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
2346 (Fremove_char_attribute): Likewise.
2347 (syms_of_chartab): Don't define type `char-id-table'.
2349 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
2350 (char_id_table): Likewise.
2351 (GC_CHAR_ID_TABLE_P): Likewise.
2352 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
2353 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
2354 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
2355 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
2356 (get_char_id_table): Use `Lisp_Char_Table' instead of
2357 `Lisp_Char_ID_Table'.
2358 (put_char_id_table_0): Likewise.
2359 (put_char_id_table): Likewise.
2361 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2363 * chartab.h: Lisp_Byte_Table related codes are moved from
2366 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
2368 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2370 * chartab.h: Don't include "chartab.h".
2371 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
2372 (Lisp_Char_ID_Table): Likewise.
2373 (char_id_table): Likewise.
2374 (XCHAR_ID_TABLE): Likewise.
2375 (XSETCHAR_ID_TABLE): Likewise.
2376 (CHAR_ID_TABLE_P): Likewise.
2377 (GC_CHAR_ID_TABLE_P): Likewise.
2378 (get_char_id_table): Likewise.
2380 * char-ucs.h: Include "chartab.h".
2381 (struct Lisp_Char_ID_Table): Moved to chartab.h.
2382 (Lisp_Char_ID_Table): Likewise.
2383 (char_id_table): Likewise.
2384 (XCHAR_ID_TABLE): Likewise.
2385 (XSETCHAR_ID_TABLE): Likewise.
2386 (CHAR_ID_TABLE_P): Likewise.
2387 (GC_CHAR_ID_TABLE_P): Likewise.
2388 (get_char_id_table): Likewise.
2390 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2392 * chartab.c (copy_uint8_byte_table): New function.
2393 (copy_uint16_byte_table): New function.
2394 (copy_byte_table): New function.
2395 (map_over_uint8_byte_table): Modify to avoid huge numbers of
2397 (map_over_uint16_byte_table): Likewise.
2398 (map_over_byte_table): Likewise.
2399 (get_byte_table): Move prototype to chartab.h.
2400 (put_byte_table): Likewise.
2401 (put_char_id_table_0): Moved to chartab.h.
2402 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
2403 (char_table_entry_equal): Likewise.
2404 (char_table_entry_hash): Likewise.
2405 (char_table_entry_description): Likewise.
2406 (char_table_entry): Likewise.
2407 (make_char_table_entry): Likewise.
2408 (copy_char_table_entry): Likewise.
2409 (get_non_ascii_char_table_value): Likewise.
2410 (map_over_charset_ascii): Likewise.
2411 (map_over_charset_control_1): Likewise.
2412 (map_over_charset_row): Likewise.
2413 (map_over_other_charset): Likewise.
2414 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
2415 (print_char_table): Likewise.
2416 (char_table_equal): Likewise.
2417 (char_table_hash): Likewise.
2418 (char_table_description): Likewise.
2419 (fill_char_table): Likewise.
2420 (Fcopy_char_table): Likewise.
2421 (get_char_table): Likewise.
2422 (Fget_range_char_table): Likewise.
2423 (put_char_table): Likewise.
2424 (map_char_table): Likewise.
2425 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
2428 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2430 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
2431 `Vauto_fill_chars' in XEmacs UTF-2000.
2433 * chartab.h (get_byte_table): New prototype [moved from
2435 (put_byte_table): Likewise [moved from chartab.c].
2436 (put_char_id_table_0): New inline function [moved from chartab.c].
2437 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
2438 (Lisp_Char_Table_Entry): Likewise.
2439 (char_table_entry): Likewise.
2440 (XCHAR_TABLE_ENTRY): Likewise.
2441 (XSETCHAR_TABLE_ENTRY): Likewise.
2442 (CHAR_TABLE_ENTRYP): Likewise.
2443 (CHECK_CHAR_TABLE_ENTRY): Likewise.
2444 (NUM_ASCII_CHARS): Likewise.
2445 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
2446 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
2448 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2450 * chartab.c (get_char_id_table): Change interface.
2451 (put_char_id_table_0): New function.
2452 (put_char_id_table): Change interface; new implementation.
2453 (Fget_composite_char): Modify for interface change of
2454 `get_char_id_table'.
2455 (Fchar_variants): Likewise.
2456 (add_char_attribute_alist_mapper): Likewise.
2457 (Fchar_attribute_alist): Likewise.
2458 (Fget_char_attribute): Likewise.
2459 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
2460 as same as character as the first argument like `put-char-table';
2461 modify for interface change of `put_char_id_table'.
2462 (Fremove_char_attribute): Modify for interface change of
2463 `put_char_id_table'.
2465 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2467 * text-coding.c: Sync up with XEmacs 21.2.41.
2468 (COMPOSE_ADD_CHAR): Modify for interface change of
2469 `get_char_id_table'.
2471 * mule-charset.c (put_char_ccs_code_point): Modify for interface
2472 change of `put_char_id_table'.
2473 (remove_char_ccs): Likewise.
2475 * chartab.h (put_char_id_table): Change interface.
2477 * char-ucs.h (get_char_id_table): Change interface.
2478 (charset_code_point): Modify for interface change of
2479 `get_char_id_table'.
2480 (encode_char_1): Likewise.
2482 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2484 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
2486 (map_over_uint16_byte_table): Likewise.
2487 (map_over_byte_table): Likewise.
2488 (map_char_id_table): Add new argument `range' like
2490 (Fmap_char_attribute): Add new argument `range' like
2493 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2495 * chartab.c (map_over_uint8_byte_table): Change interface of
2496 mapping function to use struct chartab_range instead of Emchar.
2497 (map_over_uint16_byte_table): Likewise.
2498 (map_over_byte_table): Likewise.
2499 (map_char_id_table): Likewise.
2500 (struct slow_map_char_id_table_arg): Deleted.
2501 (slow_map_char_id_table_fun): Deleted.
2502 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
2503 function `slow_map_char_table_fun' instead of struct
2504 `slow_map_char_id_table_arg' and function
2505 `slow_map_char_id_table_fun'.
2507 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2509 * mule-charset.c: Move char-it-table related codes to chartab.c.
2510 (Vutf_2000_version): Moved to chartab.c.
2511 (Fdefine_char): Likewise.
2512 (Ffind_char): Likewise.
2513 (syms_of_mule_charset): Move types `uint8-byte-table',
2514 `uint16-byte-table', `byte-table' and `char-id-table' to
2515 chartab.c; move functions `char_attribute_list,
2516 `find_char_attribute_table, `char_attribute_alist,
2517 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
2518 `map_char_attribute, `define_char, `find_char, `char_variants and
2519 `get_composite_char to chartab.c; move symbols `=>ucs',
2520 `->decomposition', `compat', `isolated', `initial', `medial',
2521 `final', `vertical', `noBreak', `fraction', `super', `sub',
2522 `circle', `square', `wide', `narrow', `small' and `font' to
2524 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
2525 setting codes for `Vcharacter_composition_table' and
2526 `Vcharacter_variant_table' to chartab.c.
2527 (complex_vars_of_mule_charset): Move setting code for
2528 `Vchar_attribute_hash_table' to chartab.c.
2530 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
2531 (make_char_id_table): New prototype.
2532 (put_char_id_table): Likewise.
2533 (Fget_char_attribute): Likewise.
2535 * chartab.c: Move char-id-table related code from mule-charset.c.
2536 (Vutf_2000_version): Moved from mule-charset.c.
2538 * char-ucs.h (Qucs): New external variable.
2539 (put_char_ccs_code_point): New prototype.
2540 (remove_char_ccs): Likewise.
2542 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2544 * mule-charset.c (Vcharset_ucs_jis): New variable.
2545 (Qucs_jis): Likewise.
2546 (syms_of_mule_charset): Add new symbol `ucs-jis'.
2547 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
2549 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
2551 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2553 * mule-charset.c (map_over_uint8_byte_table): New function.
2554 (map_over_uint16_byte_table): Likewise.
2555 (map_over_byte_table): Likewise.
2556 (map_char_id_table): Likewise.
2557 (slow_map_char_id_table_fun): Likewise.
2558 (Fmap_char_attribute): Likewise.
2559 (syms_of_mule_charset): Add new function `map-char-attribute'.
2561 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2563 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
2564 (syms_of_mule_charset): Add new function `find-char'.
2566 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2568 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
2570 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
2571 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
2573 (complex_vars_of_mule_charset): Add new coded-charset
2574 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
2575 `ideograph-gt-pj-*'.
2577 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
2579 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2581 * mule-charset.c (encode_builtin_char_1): Purge codes about
2582 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
2583 {MIN|MAX}_CHAR_HEBREW.
2584 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
2585 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
2587 * char-ucs.h (MIN_CHAR_GREEK): Purged.
2588 (MAX_CHAR_GREEK): Purged.
2589 (MIN_CHAR_CYRILLIC): Purged.
2590 (MAX_CHAR_CYRILLIC): Purged.
2591 (MIN_CHAR_HEBREW): Commented out.
2592 (MAX_CHAR_HEBREW): Likewise.
2594 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2596 * mule-charset.c (Qto_ucs): New variable.
2597 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
2598 (Fdefine_char): Likewise.
2599 (syms_of_mule_charset): Add new symbol `=>ucs'.
2601 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2603 * mule-charset.c (Fdecode_char): Fixed.
2605 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2607 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
2608 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
2611 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2613 * mule-charset.c (Vcharset_ucs_big5): New variable.
2614 (Qucs_big5): Likewise.
2615 (syms_of_mule_charset): Add new symbol `ucs-big5'.
2616 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
2618 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
2620 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2622 * mule-charset.c (decode_builtin_char): Check Big5 code range
2623 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
2625 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2627 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
2628 (Qchinese_gb12345): Likewise.
2629 (Fdecode_builtin_char): Fixed.
2630 (syms_of_mule_charset): Add `chinese-gb12345'.
2631 (complex_vars_of_mule_charset): Add coded-charset
2634 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
2635 (LEADING_BYTE_CHINESE_GB12345): New macro.
2637 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2639 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
2640 and `latin-viscii-upper' for `latin-viscii'.
2642 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2644 * mule-charset.c (Fdecode_builtin_char): Comment out
2645 regularization code for ISO-IR GR representation.
2647 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2649 * mule-charset.c (decode_builtin_char): New function; renamed from
2650 `make_builtin_char'; return -1 instead of signal.
2651 (Fdecode_builtin_char): Use `decode_builtin_char'.
2653 * char-ucs.h (decode_builtin_char): New prototype; renamed from
2654 `make_builtin_char'.
2655 (DECODE_CHAR): Use `decode_builtin_char' instead of
2656 `make_builtin_char'; use mapping table of `chinese-big5' for
2657 `chinese-big5-{1,2}'.
2659 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2661 * text-coding.c (char_encode_big5): New function.
2662 (char_finish_big5): Likewise.
2663 (reset_encoding_stream): Use `char_encode_big5' and
2664 `char_finish_big5' for CODESYS_BIG5.
2665 (mule_encode): Don't use `encode_coding_big5'.
2666 (encode_coding_big5): Deleted.
2668 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2670 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
2671 0x81- in XEmacs UTF-2000.
2672 (detect_coding_big5): Likewise.
2674 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2676 * mule-charset.c (Fdefine_char): Don't use a CCS property to
2677 generate character-id if the CCS property does not have
2678 corresponding predefined character.
2679 (make_builtin_char): Return -1 if corresponding predefined
2680 character is not found.
2681 (Fdecode_char): Return nil if corresponding character is not
2683 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
2684 don't map to builtin ucs space.
2686 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2688 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
2689 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
2691 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2693 * mule-charset.c (Vcharset_ideograph_gt): New variable.
2694 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
2695 (Qideograph_gt): Likewise.
2696 (Qideograph_gt_pj_{1..11}): Likewise.
2697 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
2698 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
2699 `ideograph-gt-pj-11'.
2700 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
2701 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
2702 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
2704 * char-ucs.h (LEADING_BYTE_GT): New macro.
2705 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
2706 (MIN_CHAR_GT): Likewise.
2707 (MAX_CHAR_GT): Likewise.
2709 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2711 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
2712 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
2714 * doprnt.c (unsigned_int_converters): Add `c'.
2715 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
2717 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
2718 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
2720 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
2721 (MAX_CHAR_MOJIKYO_0): New macro.
2722 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
2724 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2726 * mule-charset.c (Fdefine_char): Delete cemented out code.
2727 (encode_builtin_char_1): Modify for new allocation of builtin
2730 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
2732 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2734 * mule-charset.c (Vcharset_ucs_cns): New variable.
2735 (Qucs_cns): New variable.
2736 (syms_of_mule_charset): Add new symbol `ucs-cns'.
2737 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
2739 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2741 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
2743 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2745 * search.c (search_buffer): Make `charset_base_code' as
2746 character-id >> 6 to eliminate the corresponding last byte in
2747 UTF-8 representation [I'm not sure it is right thing].
2748 (boyer_moore): Likewise.
2750 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2752 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
2753 representation in MULE.
2755 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2757 * text-coding.c (Fmake_coding_system): Use
2758 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
2759 `EXTERNAL_PROPERTY_LIST_LOOP'.
2761 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2763 * text-coding.c (decode_output_utf8_partial_char): New function.
2764 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
2766 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2768 * text-coding.c (decode_coding_utf8): Output original byte
2769 sequence if it is broken; change order of conditions.
2771 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
2774 * mb-multibyte.h (BYTE_ASCII_P):
2775 Use bit ops for char-signedness safety.
2776 (BYTE_C0_P): Use bit ops for char-signedness safety.
2777 (BYTE_C1_P): Use bit ops for char-signedness safety.
2779 * character.h: (XCHAR_OR_CHAR_INT):
2780 Always use inline function.
2781 Remove redundant type checking assert() - XINT will abort quite
2784 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2786 * text-coding.c: (Fencode_shift_jis_char):
2787 (Fencode_big5_char):
2788 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
2789 Replace 0 with '\0' when working with bytes.
2790 Replace initial "(" with "\(" in docstrings.
2792 (Fmake_coding_system):
2793 When type is ccl and value is vector, register it with a proper
2794 symbol. And checks whether the given ccl program is valid.
2795 (mule_decode): When calling ccl_driver, if src indicates
2796 NULL pointer, set an empty string instead.
2797 (mule_encode): Likewise.
2800 (detect_coding_sjis):
2801 (decode_coding_sjis):
2802 (detect_coding_big5):
2803 (decode_coding_big5):
2804 (detect_coding_ucs4):
2805 (decode_coding_ucs4):
2806 (detect_coding_utf8):
2807 (decode_coding_utf8):
2808 (detect_coding_iso2022):
2809 (decode_coding_iso2022):
2810 (decode_coding_no_conversion):
2812 Make all detecting and decoding functions take an Extbyte * arg.
2813 (text_encode_generic):
2814 (encode_coding_big5):
2815 (encode_coding_no_conversion):
2817 Make all encoding functions take a Bufbyte * arg.
2818 Use size_t instead of unsigned int for memory sizes.
2819 Only cast to unsigned char whenever dereferencing Extbyte *.
2821 (struct lrecord_description fcd_description_1): Use countof.
2822 (complex_vars_of_file_coding):
2823 Use countof instead of sizeof.
2824 Use CHECK_NATNUM instead of CHECK_INT.
2826 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2828 * mule-charset.c (Fget_char_attribute): Add new optional argument
2830 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
2831 (remove_char_ccs): Likewise.
2833 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2835 * text-coding.c (char_encode_shift_jis): New implementation in
2837 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
2840 * mule-charset.c (Vcharset_chinese_big5): New variable in
2842 (Qchinese_big5): New variable in UTF-2000.
2843 (BIG5_SAME_ROW): New macro in UTF-2000.
2844 (make_builtin_char): Use builtin characters of
2845 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
2846 characters of `Vcharset_chinese_big5'.
2847 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
2848 (complex_vars_of_mule_charset): Add new coded-charset
2849 `chinese-big5' in UTF-2000.
2851 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
2852 (Vcharset_chinese_big5): New external variable declaration.
2853 (Vcharset_japanese_jisx0208_1990): Likewise.
2855 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2857 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
2859 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
2861 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2863 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
2864 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
2865 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
2868 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2870 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
2872 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2874 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2877 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2879 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
2880 for `CHARSET_BY_ATTRIBUTES'.
2881 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2882 `CHARSET_BY_ATTRIBUTES'.
2884 * text-coding.c (struct decoding_stream): Rename member `CH' to
2886 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
2887 (decode_coding_sjis): Likewise.
2888 (decode_coding_big5): Likewise.
2889 (decode_coding_ucs4): Likewise.
2890 (decode_coding_utf8): Likewise.
2891 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2892 `CHARSET_BY_ATTRIBUTES'.
2893 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
2894 `str->counter'; decode 3, 4 bytes sets.
2895 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
2897 (decode_coding_no_conversion): Use `str->cpos' instead of
2900 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
2901 (Qmojikyo_2022_1): New variable.
2902 (make_charset): Don't use `CHARSET_TYPE_*'.
2903 (range_charset_code_point): Support coded-charset
2905 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
2906 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
2907 `CHARSET_BY_ATTRIBUTES'.
2908 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
2909 `CHARSET_BY_ATTRIBUTES'.
2910 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
2911 (complex_vars_of_mule_charset): Add new coded-charset
2914 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
2915 interface; changed to inline function.
2917 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
2918 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
2919 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
2920 (CHARSET_TYPE_94): Deleted.
2921 (CHARSET_TYPE_94X94): Deleted.
2922 (CHARSET_TYPE_96): Deleted.
2923 (CHARSET_TYPE_96X96): Deleted.
2924 (CHARSET_TYPE_128): Deleted.
2925 (CHARSET_TYPE_128X128): Deleted.
2926 (CHARSET_TYPE_256): Deleted.
2927 (CHARSET_TYPE_256X256): Deleted.
2928 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
2930 (DECODE_MOJIKYO_2022): New inline function.
2931 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
2932 `Vcharset_mojikyo_2022_1'.
2934 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2936 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
2938 (put_byte_table): Likewise.
2939 (char_id_table_equal): Use `get_byte_table' [new implementation].
2941 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2943 * mule-charset.c: Include <limits.h> in UTF-2000.
2944 (BT_UINT8_MIN): New macro in UTF-2000.
2945 (BT_UINT8_MAX): New macro in UTF-2000.
2946 (BT_UINT8_t): New macro in UTF-2000.
2947 (BT_UINT8_nil): New macro in UTF-2000.
2948 (BT_UINT8_unbound): New macro in UTF-2000.
2949 (INT_UINT8_P): New inline function in UTF-2000.
2950 (UINT8_VALUE_P): New inline function in UTF-2000.
2951 (UINT8_ENCODE): New inline function in UTF-2000.
2952 (UINT8_DECODE): New inline function in UTF-2000.
2953 (mark_uint8_byte_table): New function in UTF-2000.
2954 (print_uint8_byte_table): New function in UTF-2000.
2955 (uint8_byte_table_equal): New function in UTF-2000.
2956 (uint8_byte_table_hash): New function in UTF-2000.
2957 (make_uint8_byte_table): New function in UTF-2000.
2958 (uint8_byte_table_same_value_p): New function in UTF-2000.
2959 (BT_UINT16_MIN): New macro in UTF-2000.
2960 (BT_UINT16_MAX): New macro in UTF-2000.
2961 (BT_UINT16_t): New macro in UTF-2000.
2962 (BT_UINT16_nil): New macro in UTF-2000.
2963 (BT_UINT16_unbound): New macro in UTF-2000.
2964 (INT_UINT16_P): New inline function in UTF-2000.
2965 (UINT16_VALUE_P): New inline function in UTF-2000.
2966 (UINT16_ENCODE): New inline function in UTF-2000.
2967 (UINT16_DECODE): New inline function in UTF-2000.
2968 (UINT8_TO_UINT16): New inline function in UTF-2000.
2969 (mark_uint16_byte_table): New function in UTF-2000.
2970 (print_uint16_byte_table): New function in UTF-2000.
2971 (uint16_byte_table_equal): New function in UTF-2000.
2972 (uint16_byte_table_hash): New function in UTF-2000.
2973 (make_uint16_byte_table): New function in UTF-2000.
2974 (uint16_byte_table_same_value_p): New function in UTF-2000.
2975 (print_byte_table): New function in UTF-2000.
2976 (byte-table): Use `print_byte_table' as printer.
2977 (make_byte_table): Delete second argument `older'.
2978 (byte_table_same_value_p): New function in UTF-2000.
2979 (copy_byte_table): Deleted.
2980 (get_byte_table): New function in UTF-2000.
2981 (put_byte_table): New function in UTF-2000.
2982 (print_char_id_table): New function in UTF-2000.
2983 (char-id-table): Use `print_char_id_table' as printer.
2984 (make_char_id_table): Delete second argument `older'.
2985 (get_char_id_table): Use `get_byte_table [new implementation].
2986 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
2988 (Ffind_char_attribute_table): New function in UTF-2000.
2989 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
2990 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
2991 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
2992 (syms_of_mule_charset): Add new function
2993 `find-char-attribute-table' in UTF-2000.
2995 * lrecord.h (enum lrecord_type): Add
2996 `lrecord_type_uint16_byte_table' and
2997 `lrecord_type_uint8_byte_table'.
2999 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
3000 (Lisp_Uint8_Byte_Table): New type.
3001 (XUINT8_BYTE_TABLE): New macro.
3002 (XSETUINT8_BYTE_TABLE): New macro.
3003 (UINT8_BYTE_TABLE_P): New macro.
3004 (GC_UINT8_BYTE_TABLE_P): New macro.
3005 (struct Lisp_Uint16_Byte_Table): New structure.
3006 (Lisp_Uint16_Byte_Table): New type.
3007 (XUINT16_BYTE_TABLE): New macro.
3008 (XSETUINT16_BYTE_TABLE): New macro.
3009 (UINT16_BYTE_TABLE_P): New macro.
3010 (GC_UINT16_BYTE_TABLE_P): New macro.
3012 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3014 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
3015 (Vcharacter_ideographic_strokes_table): Deleted.
3016 (Vcharacter_total_strokes_table): Deleted.
3017 (Vcharacter_morohashi_daikanwa_table): Deleted.
3018 (Vcharacter_decomposition_table): Deleted.
3019 (Qname): Deleted because it is duplicated.
3020 (Qideographic_radical): Deleted.
3021 (Qideographic_strokes): Deleted.
3022 (Qtotal_strokes): Deleted.
3023 (Qmorohashi_daikanwa): Deleted.
3024 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
3025 `ideographic-radical', `ideographic-strokes', `total-strokes',
3026 `morohashi-daikanwa' and `->decomposition'.
3027 (Fget_char_attribute): Likewise.
3028 (Fput_char_attribute): Likewise; use `make-vector' instead of
3029 `make_older_vector' for `->decomposition' value.
3030 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
3031 `ideograph-daikanwa'.
3032 (syms_of_mule_charset): Delete builtin symbols `name',
3033 `ideographic-radical', `ideographic-strokes', `total-strokes' and
3034 `morohashi-daikanwa'.
3035 (vars_of_mule_charset): Don't setup
3036 `Vcharacter_ideographic_radical_table',
3037 `Vcharacter_ideographic_strokes_table',
3038 `Vcharacter_total_strokes_table',
3039 `Vcharacter_morohashi_daikanwa_table' and
3040 `Vcharacter_decomposition_table'.
3042 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3044 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
3045 `make_older_vector', `make_vector_newer_1' and
3046 `make_vector_newer'.
3048 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
3049 `make_older_vector' and `make_vector_newer'.
3051 * config.h.in (HAVE_GGC): New macro.
3053 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3055 * mule-charset.c (struct char_attribute_list_closure): New
3056 structure in UTF-2000.
3057 (add_char_attribute_to_list_mapper): New function in UTF-2000.
3058 (Fchar_attribute_list): Likewise.
3059 (Fset_charset_mapping_table): Use `make_vector_newer'.
3060 (Fdecode_builtin_char): New function in UTF-2000.
3061 (syms_of_mule_charset): Add new function `char-attribute-list' and
3062 `decode-builtin-char' in UTF-2000.
3064 * lisp.h (make_vector_newer): New prototype.
3066 * alloc.c (make_vector_newer_1): New function.
3067 (make_vector_newer): New function.
3069 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3071 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
3074 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3076 * mule-charset.c (Vchar_attribute_hash_table): New variable.
3077 (Vcharacter_attribute_table): Deleted.
3078 (Vcharacter_name_table): Deleted.
3079 (put_char_attribute): Deleted.
3080 (remove_char_attribute): Deleted.
3081 (struct char_attribute_alist_closure): New structure.
3082 (add_char_attribute_alist_mapper): New function.
3083 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
3084 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
3085 (Fget_char_attribute): Likewise.
3086 (Fput_char_attribute): Likewise.
3087 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
3088 of `remove_char_attribute'.
3089 (Fdefine_char): Return character.
3090 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
3091 and `Vcharacter_name_table'.
3092 (complex_vars_of_mule_charset): Likewise
3093 `Vchar_attribute_hash_table'.
3095 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3097 * character.h (CHARC_CHARSET): New macro.
3098 (CHARC_CHARSET_ID): New macro.
3099 (CHARC_CODE_POINT): New macro.
3100 (CHARC_COLUMNS): New macro.
3101 (CHARC_TO_CHAR): New inline function.
3102 (CHARC_EQ): New inline function.
3103 (CHARC_ASCII_EQ): New inline function.
3104 (CHARC_IS_SPACE): New inline function.
3105 (ASCII_TO_CHARC): New inline function.
3107 * char-ucs.h (encode_char_2): Deleted.
3108 (ENCODE_CHAR): Use `encode_char_1' again.
3109 (breakup_char_1): Likewise.
3110 (CHAR_TO_CHARC): New inline function.
3112 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
3114 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3116 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
3117 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
3118 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
3119 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
3120 (create_string_text_block): Use `CHARC_ASCII_EQ' and
3122 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
3124 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
3126 (x_output_display_block): Use `CHARC_CHARSET' and
3129 * redisplay-tty.c (tty_output_display_block): Use
3131 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
3133 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
3135 * insdel.c (find_charsets_in_charc_string): Use
3137 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
3138 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
3139 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
3140 (convert_charc_string_into_malloced_string): Likewise.
3142 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3144 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
3145 instead of <Emchar_dynarr *> for buf; use
3146 `convert_bufbyte_string_into_charc_dynarr' instead of
3147 `convert_bufbyte_string_into_emchar_dynarr'; use
3148 `find_charsets_in_charc_string' instead of
3149 `find_charsets_in_emchar_string'.
3152 - Include "character.h".
3153 (struct rune): New member `cglyph'; delete member `chr'.
3155 * redisplay.c (redisplay_text_width_charc_string): New function;
3156 delete `redisplay_text_width_emchar_string'.
3157 (rtw_charc_dynarr): New variable; renamed from
3158 `rtw_emchar_dynarr'.
3159 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
3160 `rtw_emchar_dynarr'; use
3161 `convert_bufbyte_string_into_charc_dynarr' instead of
3162 `convert_bufbyte_string_into_emchar_dynarr'; use
3163 `redisplay_text_width_charc_string' instead of
3164 `redisplay_text_width_emchar_string'.
3165 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
3166 instead of `rtw_emchar_dynarr'; use
3167 `convert_bufbyte_string_into_charc_dynarr' instead of
3168 `convert_bufbyte_string_into_emchar_dynarr'.
3169 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
3170 `redisplay_text_width_charc_string' instead of
3171 `redisplay_text_width_emchar_string'.
3172 (create_text_block): Modify for <struct rune> change.
3173 (generate_formatted_string_db): Likewise.
3174 (create_string_text_block): Likewise.
3175 (pixel_to_glyph_translation): Likewise.
3177 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
3178 instead of <const Emchar *>.
3179 (x_text_width): Likewise.
3180 (x_output_display_block): Use <Charc_dynarr *> instead
3181 <Emchar_dynarr *>; modify for <structure rune> change.
3182 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
3185 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
3186 <const Emchar *>; use `charc_string_displayed_columns' instead of
3187 `emchar_string_displayed_columns'.
3188 (tty_output_display_block): Use <Charc_dynarr *> instead of
3189 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
3190 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
3191 (tty_output_charc_dynarr_dynarr): New variable; renamed from
3192 `tty_output_emchar_dynarr_dynarr'.
3193 (tty_output_charc_dynarr): New function; delete
3194 `tty_output_charc_dynarr'.
3196 * redisplay-output.c (compare_runes): Modify for `struct rune'.
3197 (redisplay_output_layout): Use <Charc_dynarr *> instead of
3198 <Emchar_dynarr *> for buf; use
3199 `convert_bufbyte_string_into_charc_dynarr' instead of
3200 `convert_bufbyte_string_into_emchar_dynarr'.
3202 * frame.c (title_string_charc_dynarr): New variable; renamed from
3203 `title_string_emchar_dynarr'.
3204 (generate_title_string): Use `title_string_charc_dynarr' instead
3205 of `title_string_emchar_dynarr'; use
3206 `convert_charc_string_into_malloced_string' instead of
3207 `convert_emchar_string_into_malloced_string'.
3208 (init_frame): Use `title_string_charc_dynarr' instead of
3209 `title_string_emchar_dynarr'.
3212 - Include "character.h".
3213 (struct console_methods): Use <const Charc *> instead of <const
3214 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
3215 <Emchar_dynarr *> in output_string_method.
3217 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
3220 * console-stream.c (stream_text_width): Use <const Charc *>
3221 instead of <const Emchar *>.
3223 * character.h (Charc_dynarr): New type.
3225 * char-ucs.h (structure Charc): New structure; define new type
3228 * char-lb.h (DECODE_CHAR): New inline function.
3229 (encode_char_1): New inline function.
3230 (ENCODE_CHAR): New macro.
3231 (structure Charc): New structure; define new type `Charc'.
3233 * char-1byte.h (Vcharset_control_1): New macro.
3234 (Vcharset_latin_iso8859_1): New macro.
3235 (DECODE_CHAR): New inline function.
3236 (encode_char_1): New inline function.
3237 (ENCODE_CHAR): New macro.
3238 (structure Charc): New structure; define new type `Charc'.
3240 * insdel.c (find_charsets_in_charc_string): New function; delete
3241 `find_charsets_in_emchar_string'.
3242 (charc_string_displayed_columns): New function; delete
3243 `emchar_string_displayed_columns'.
3244 (convert_bufbyte_string_into_charc_dynarr): New function; delete
3245 `convert_bufbyte_string_into_emchar_dynarr'.
3246 (convert_charc_string_into_bufbyte_dynarr): New function; delete
3247 `convert_charc_string_into_bufbyte_dynarr'.
3248 (convert_charc_string_into_malloced_string): New function; delete
3249 `convert_charc_string_into_malloced_string'.
3251 * buffer.h (find_charsets_in_charc_string): New prototype; delete
3252 `find_charsets_in_emchar_string'.
3253 (charc_string_displayed_columns): New prototype; delete
3254 `emchar_string_displayed_columns'.
3255 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
3256 `convert_charc_string_into_bufbyte_dynarr'.
3257 (convert_charc_string_into_malloced_string): New prototype; delete
3258 `convert_charc_string_into_malloced_string'.
3260 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3262 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
3264 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3266 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
3268 * char-ucs.h: Use <short> for <Charset_ID>.
3270 * mule-charset.h, char-1byte.h: Use <unsigned char> for
3273 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3275 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3278 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3280 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
3282 (Qmorohashi_daikanwa): New variable.
3283 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
3284 for `morohashi-daikanwa' attribute.
3285 (Fget_char_attribute): Likewise.
3286 (Fput_char_attribute): Likewise.
3287 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
3288 has the same value of `ideograph-daikanwa'.
3289 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
3290 (vars_of_mule_charset): Setup
3291 `Vcharacter_morohashi_daikanwa_table'.
3293 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3295 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
3297 (add_charset_to_list_mapper): Add `key' instead of
3298 `XCHARSET_NAME (value)' to return aliases.
3300 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3302 * mule-charset.c (Vcharacter_ideographic_radical_table): New
3304 (Vcharacter_ideographic_strokes_table): New variable.
3305 (Qideographic_radical): New variable.
3306 (Qideographic_strokes): New variable.
3307 (Fchar_attribute_alist): Use
3308 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
3309 attribute; use `Vcharacter_ideographic_strokes_table' for
3310 `ideographic-strokes' attribute.
3311 (Fget_char_attribute): Likewise.
3312 (Fput_char_attribute): Likewise.
3313 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
3314 `ideographic-strokes'.
3315 (vars_of_mule_charset): Setup
3316 `Vcharacter_ideographic_radical_table' and
3317 `Vcharacter_ideographic_strokes_table'.
3319 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3321 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
3322 (Qtotal_strokes): New variable.
3323 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
3324 `total-strokes' attribute.
3325 (Fget_char_attribute): Likewise.
3326 (Fput_char_attribute): Likewise.
3327 (syms_of_mule_charset): Add new symbol `total-strokes'.
3328 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
3330 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3332 * mule-charset.c (Vcharacter_decomposition_table): New variable.
3333 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
3335 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
3336 `->decomposition' attribute.
3337 (Fput_char_attribute): Likewise.
3338 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
3340 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3342 * mule-charset.c (decoding_table_check_elements): New function.
3343 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
3345 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3347 * mule-charset.c (Fset_charset_mapping_table): Use
3348 `put_char_ccs_code_point'.
3350 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3352 * mule-charset.c (decoding_table_put_char): New inline function.
3353 (put_char_ccs_code_point): Use `decoding_table_put_char'.
3355 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3357 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
3358 (XCHARSET_BYTE_SIZE): New macro.
3359 (decoding_table_remove_char): New inline function.
3360 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
3361 `decoding_table_remove_char'.
3362 (remove_char_ccs): Use `decoding_table_remove_char'.
3363 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
3365 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3367 * mule-charset.c (Vcharacter_name_table): New variable.
3368 (Qname): New variable.
3369 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
3371 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
3372 `Vcharacter_name_table' for `name' attribute.
3373 (Fremove_char_attribute): Use function `remove_char_ccs'.
3374 (put_char_ccs_code_point): New function.
3375 (remove_char_ccs): New function.
3376 (syms_of_mule_charset): Add new symbol `name'.
3377 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
3379 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3381 * mule-charset.c (make_byte_table): Add new argument `older'.
3382 (make_char_id_table): Likewise.
3383 (copy_char_id_table): Comment out because it is not used.
3384 (put_char_id_table): Modify for `make_byte_table'.
3385 (Fput_char_attribute): Make encoding_table as older object;
3386 inherit older bit of `Vcharacter_composition_table'.
3387 (mark_charset): Don't mark `cs->encoding_table'.
3388 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
3389 normal object; make `Vcharacter_composition_table' as an older
3390 object; delete staticpro for `Vcharacter_composition_table'; make
3391 `Vcharacter_variant_table' as a normal object.
3393 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
3394 (mark_object): Don't check older object in UTF-2000.
3396 * lrecord.h (struct lrecord_header): Add new member `older' in
3398 (set_lheader_implementation): Setup `SLI_header->older' in
3400 (set_lheader_older_implementation): New macro in UTF-2000.
3401 (OLDER_RECORD_P): New macro in UTF-2000.
3402 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
3403 (alloc_older_lcrecord): New prototype in UTF-2000.
3404 (alloc_older_lcrecord_type): New macro in UTF-2000.
3406 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3408 * mule-charset.c (byte_table_description): Use
3409 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
3410 (char_id_table_description): Delete bogus `, 1'.
3411 (Fget_char_attribute): Refer encoding_table of each coded-charset
3412 to get value of coded-charset attribute of a character.
3413 (Fput_char_attribute): Use `make_older_vector' instead of
3414 `make_vector'; use encoding_table of each coded-charset to store
3415 value of coded-charset attribute of a character.
3416 (Fremove_char_attribute): Use encoding_table of each coded-charset
3417 to store value of coded-charset attribute of a character.
3418 (mark_charset): Mark `cs->encoding_table'; don't mark
3419 `cs->decoding_table'.
3420 (charset_description): Add description of new member
3422 (make_charset): Initialize `encoding_table'.
3424 * char-ucs.h (struct Lisp_Charset): Add new member
3426 (CHARSET_ENCODING_TABLE): New macro.
3427 (XCHARSET_ENCODING_TABLE): New macro.
3428 (charset_code_point): New implementation.
3429 (encode_char_1): Likewise.
3431 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
3432 (disksave_object_finalization_1): Call finalizers of
3433 `all_older_lcrecords' in UTF-2000.
3434 (make_older_vector): New function in UTF-2000.
3435 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
3438 * lisp.h (make_older_vector): New prototype in UTF-2000.
3440 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3442 * lrecord.h (enum lrecord_type): Rename
3443 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
3445 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
3446 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
3447 `get_char_code_table'.
3449 * mule-charset.c (mark_char_id_table): Renamed from
3450 `mark_char_code_table'.
3451 (char_id_table_equal): Renamed from `char_code_table_equal'.
3452 (char_id_table_hash): Renamed from `char_code_table_hash'.
3453 (make_char_id_table): Renamed from `make_char_code_table'.
3454 (copy_char_id_table): Renamed from `copy_char_code_table'.
3455 (get_char_id_table): Renamed from `get_char_code_table'.
3456 (put_char_id_table): Renamed from `put_char_code_table'.
3457 (to_char_id): Renamed from `to_char_code'.
3459 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
3460 `Lisp_Char_Code_Table'.
3461 (char_id_table): Renamed from `char_code_table'.
3462 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
3463 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
3464 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
3465 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
3466 (get_char_id_table): Renamed from `get_char_code_table'.
3468 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3470 * lrecord.h (enum lrecord_type): Rename
3471 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
3473 * mule-charset.c (mark_byte_table): Renamed from
3474 `mark_char_byte_table'.
3475 (byte_table_equal): Renamed from `char_byte_table_equal'.
3476 (byte_table_hash): Renamed from `byte_table_hash'.
3477 (make_byte_table): Renamed from `make_byte_table'.
3478 (copy_byte_table): Renamed from `copy_char_byte_table'.
3480 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
3481 `Lisp_Char_Byte_Table'.
3482 (byte_table): Renamed from `char_byte_table'.
3483 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
3484 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
3485 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
3486 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
3488 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3490 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
3491 (dfc_convert_to_internal_format): Likewise.
3493 * text-coding.c (Fcoding_system_canonical_name_p): New function.
3494 * text-coding.c (Fcoding_system_alias_p): New function.
3495 * text-coding.c (Fcoding_system_aliasee): New function.
3496 * text-coding.c (append_suffix_to_symbol): New function.
3497 * text-coding.c (dangling_coding_system_alias_p): New function.
3498 * text-coding.c (Ffind_coding_system):
3499 * text-coding.c (Fcopy_coding_system):
3500 * text-coding.c (encode_coding_no_conversion):
3501 * text-coding.c (syms_of_file_coding):
3502 * text-coding.c (vars_of_file_coding):
3503 Rewrite coding system alias code.
3504 Allow nested aliases, like symbolic links.
3505 Allow redefinition of coding system aliases.
3506 Prevent existence of dangling coding system aliases.
3507 Eliminate convert_to_external_format.
3508 Eliminate convert_to_internal_format.
3510 * text-coding.c: Change enum eol_type to eol_type_t.
3512 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3514 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
3515 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3517 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
3518 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3520 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3522 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
3523 `ideograph-daikanwa'.
3525 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
3526 (Vcharset_ucs_bmp): Likewise.
3527 (Vcharset_mojikyo): Add new extern variable definition.
3528 (Vcharset_latin_iso8859_2): Deleted because it is not used.
3529 (Vcharset_latin_iso8859_3): Likewise.
3530 (Vcharset_latin_iso8859_4): Likewise.
3531 (Vcharset_latin_iso8859_9): Likewise.
3532 (Vcharset_latin_viscii_lower): Likewise.
3533 (Vcharset_latin_viscii_upper): Likewise.
3534 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
3535 `mojikyo' code-point is used to decode.
3536 (encode_char_2): New function [to convert `mojikyo' code-point to
3537 Mojikyo font encoding].
3538 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
3539 (breakup_char_1): Likewise.
3540 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
3542 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3544 * text-coding.c (Fmake_coding_system): Add document about
3545 `disable-composition' property.
3547 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3549 * text-coding.c (Qdisable_composition): New variable; delete
3551 (Fmake_coding_system): Add new property `disable-composite';
3552 delete property `composite'.
3553 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
3554 instead of `!CODING_SYSTEM_COMPOSITE'.
3555 (syms_of_file_coding): Add new symbol `disable-composition';
3556 delete symbol `composite'.
3558 * file-coding.h (struct Lisp_Coding_System): Add
3559 `disable_composition'; delete `enable_composition'.
3560 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3561 `CODING_SYSTEM_COMPOSITE'.
3562 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3563 `XCODING_SYSTEM_COMPOSITE'.
3565 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3567 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3570 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3572 * text-coding.c (Qcomposite): New variable.
3573 (Fmake_coding_system): Add new property `composite'.
3574 (struct decoding_stream): Add `combined_char_count',
3575 `combined_chars' and `combining_table' in UTF-2000.
3576 (COMPOSE_FLUSH_CHARS): New macro.
3577 (COMPOSE_ADD_CHAR): New macro.
3578 (reset_decoding_stream): Reset `str->combined_char_count' and
3579 `str->combining_table' in UTF-2000.
3580 (decode_coding_iso2022): Modify for character-decomposition.
3581 (syms_of_file_coding): Add new symbol `composite'.
3583 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3585 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
3586 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
3587 of `Vcharacter_composition_table' if `->decomposition' property
3589 (Qlatin_tcvn5712): New variable.
3590 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
3591 (complex_vars_of_mule_charset): Add new coded-charset
3594 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
3596 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3598 * file-coding.h (struct Lisp_Coding_System): Add
3599 `enable_composition'.
3600 (CODING_SYSTEM_COMPOSITE): New macro.
3601 (XCODING_SYSTEM_COMPOSITE): New macro.
3603 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
3605 * mule-canna.c (c2mu): Fix problem with UTF-2000.
3607 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
3609 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
3610 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
3612 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
3614 * mule-charset.c (Vcharset_mojikyo): New variable.
3615 (Fdefine_char): Don't use coded-charset which does not have
3616 non-builtin character range to allocate character-id.
3617 (Qmojikyo): New variable.
3618 (syms_of_mule_charset): Add new symbol `mojikyo'.
3619 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
3621 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
3622 (LEADING_BYTE_MOJIKYO): New macro.
3623 (MIN_CHAR_MOJIKYO): New macro.
3624 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
3625 (MAX_CHAR_MOJIKYO): New macro.
3627 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
3629 * mule-charset.c (remove_char_attribute): Fixed.
3631 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
3633 * mule-charset.c (remove_char_attribute): New function.
3634 (Fremove_char_attribute): New function.
3635 (encode_builtin_char_1): Comment out builtin-support for
3636 greek-iso8859-7 and cyrillic-iso8859-5.
3637 (Fdecode_char): Check `code' is an integer.
3638 (syms_of_mule_charset): Add `remove-char-attribute'.
3639 (MIN_CHAR_GREEK): Deleted.
3640 (MAX_CHAR_GREEK): Likewise.
3641 (MIN_CHAR_CYRILLIC): Likewise.
3642 (MAX_CHAR_CYRILLIC): Likewise.
3643 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
3644 MAX_CHAR_GREEK for `greek-iso8859-7'.
3646 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
3647 (MAX_CHAR_GREEK): Likewise.
3648 (MIN_CHAR_CYRILLIC): Likewise.
3649 (MAX_CHAR_CYRILLIC): Likewise.
3651 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
3653 * mule-charset.c (Fdefine_char): Fix problem when new code-point
3654 format is used without `ucs' property.
3655 (Fdecode_char): Fix problem with GR representation.
3656 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
3657 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
3659 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3661 * mule-charset.c (make_builtin_char): New function.
3662 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
3663 (Fset_charset_mapping_table): Modify for new representation of
3665 (Fdecode_char): New function.
3666 (syms_of_mule_charset): Add new builtin function `decode-char' in
3669 * char-ucs.h (make_builtin_char): New prototype.
3670 (DECODE_CHAR): New inline function.
3671 (MAKE_CHAR): Use `DECODE_CHAR'.
3673 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
3675 * text-coding.c (parse_charset_conversion_specs): Use
3676 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
3678 (iso2022_designate): Likewise.
3680 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
3681 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
3683 * mule-charset.c (Vcharset_ucs): New variable.
3684 (print_charset): Change design; use `CHARSET_CHARS' and
3685 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
3686 (make_charset): Change signature to specify `chars' and
3687 `dimension' instead of `type'.
3688 (range_charset_code_point): Modify for 256^n-set.
3689 (encode_builtin_char_1): Encode as `ucs' in default.
3690 (Fmake_charset): Modify for `make_charset'.
3691 (Fmake_reverse_direction_charset): Likewise.
3692 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
3694 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
3697 * char-ucs.h (Vcharset_ucs): New variable.
3698 (LEADING_BYTE_UCS): New macro.
3699 (struct Lisp_Charset): Delete `type'; change type of `dimension'
3700 and `chars' to `unsigned short' from `unsigned int'.
3701 (CHARSET_TYPE): Deleted.
3702 (XCHARSET_TYPE): Deleted.
3704 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
3706 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
3708 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
3709 (ENCODE_CHAR): New macro.
3711 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3713 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3714 to 0.14 (Kawachi-Katakami).
3716 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3718 * text-coding.c (char_encode_shift_jis): Modify for
3719 `charset_code_point'.
3720 (char_encode_iso2022): Likewise.
3722 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
3723 (integer) instead of list of <Lisp_Object>s (integers) as the
3724 format of code-point of a coded-charset.
3725 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3726 (encode_builtin_char_1): New function; delete
3727 `split_builtin_char'.
3728 (charset_code_point): Return <int> instead of <Lisp_Object>.
3729 (Fsplit_char): Don't use `SPLIT_CHAR'.
3731 * char-ucs.h (encode_builtin_char_1): New prototype; delete
3732 prototype for `split_builtin_char'.
3733 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3734 (charset_code_point): Likewise.
3735 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
3736 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
3738 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
3740 * mule-charset.c (complex_vars_of_mule_charset): Don't define
3741 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
3743 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3745 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
3747 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
3748 (MAX_CHAR_OBS_94x94): Deleted.
3750 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3752 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
3754 * char-ucs.h (MAX_CHAR_BMP): New macro.
3756 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3758 * text-coding.c: Sync with r21-2-24.
3760 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3762 * file-coding.c: Modify for UTF-2000.
3764 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3766 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3769 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3771 * mule-charset.c (split_builtin_char): Delete builtin support for
3772 `katakana-jisx0201'.
3773 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
3774 BMP area in builtin representation.
3776 * char-ucs.h (MAKE_CHAR): Delete builtin support for
3777 `Vcharset_katakana_jisx0201'.
3779 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
3781 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
3782 (Qisolated): New variable.
3783 (Qinitial): New variable.
3784 (Qmedial): New variable.
3785 (Qfinal): New variable.
3786 (Qvertical): New variable.
3787 (Qsmall): New variable.
3788 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
3789 `Qvertical' and `Qsmall'.
3790 (Qmojikyo_pj_[1 .. 21]): New variable.
3791 (syms_of_mule_charset): Add new symbols `isolated', `initial',
3792 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
3793 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
3796 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3798 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
3799 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
3800 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
3802 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3804 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
3805 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
3807 (Qjapanese_jisx0208_1990): New variable.
3808 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
3809 (complex_vars_of_mule_charset): Add new coded-charset
3810 `japanese-jisx0208-1990'.
3812 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
3813 (MIN_CHAR_JIS_X0208_1990): New macro.
3814 (MAX_CHAR_JIS_X0208_1990): New macro.
3816 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3818 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
3819 coded-charset is not found.
3821 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3823 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
3824 (Fdefine_char): Use `Fmake_char'.
3826 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3828 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
3829 (Vcharset_hiragana_jisx0208): Deleted.
3830 (Vcharset_katakana_jisx0208): Deleted.
3831 (Qideograph_daikanwa): New variable.
3832 (Qhiragana_jisx0208): Deleted.
3833 (Qkatakana_jisx0208): Deleted.
3834 (split_builtin_char): Split `ideograph-daikanwa'.
3835 (Fsplit_char): New implementation for UTF-2000.
3836 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
3837 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
3838 (complex_vars_of_mule_charset): Add new coded-charset
3839 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
3840 `katakana-jisx0208'.
3842 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
3843 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
3844 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
3845 (MIN_CHAR_DAIKANWA): New macro.
3846 (MAX_CHAR_DAIKANWA): New macro.
3848 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3850 * data.c (Fstring_to_number): Don't recognize floating point if
3853 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3855 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
3857 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3859 * mule-charset.c (Qsquare): New variable.
3860 (to_char_code): Add `Qsquare'.
3861 (syms_of_mule_charset): Add new symbol `square'.
3863 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3865 * mule-charset.c (Qcircle): New variable.
3866 (to_char_code): Add `Qcircle'.
3867 (syms_of_mule_charset): Add new symbol `circle'.
3869 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3871 * mule-charset.c (Qfont): New variable.
3872 (to_char_code): Add `Qfont'.
3873 (syms_of_mule_charset): Add new symbol `font'.
3875 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3877 * mule-charset.c (Qsub): New variable.
3878 (to_char_code): Add `Qsub'.
3879 (syms_of_mule_charset): Add new symbol `sub'.
3881 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3883 * mule-charset.c (Fput_char_attribute): Convert each element of
3884 VALUE to GL position if ATTRIBUTE is a GR-set,
3886 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3888 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
3889 coded-charset is a GR-set.
3891 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3893 * mule-charset.c (Fput_char_attribute): Check each element of
3894 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
3896 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3898 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
3900 (Qethiopic_ucs): New variable in UTF-2000.
3901 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
3902 (complex_vars_of_mule_charset): Add new coded-charset
3903 `ethiopic-ucs' in UTF-2000.
3905 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
3906 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
3908 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
3910 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
3912 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3914 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
3917 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3919 * mule-charset.c (Vcharacter_variant_table): New variable.
3920 (Q_ucs): New variable.
3921 (Fchar_variants): New function.
3922 (Fput_char_attribute): Register `->ucs' value to
3923 `Vcharacter_variant_table'.
3924 (syms_of_mule_charset): Add new function `char-variants' and new
3926 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
3928 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3930 * mule-charset.c (get_char_code_table): Allow negative character
3932 (put_char_code_table): Likewise.
3933 (Vcharacter_composition_table): New variable.
3934 (Q_decomposition): New variable.
3935 (Qwide): New variable.
3936 (Qnarrow): New variable.
3937 (Qcompat): New variable.
3938 (QnoBreak): New variable.
3939 (Qsuper): New variable.
3940 (Qfraction): New variable.
3941 (to_char_code): New function.
3942 (Fget_composite_char): New function.
3943 (Fput_char_attribute): Register `->decomposition' value to
3944 `Vcharacter_composition_table'.
3945 (syms_of_mule_charset): Add new function `get-composite-char', new
3946 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
3947 `super' and `fraction'.
3948 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
3950 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3952 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
3953 character; copy the return value.
3955 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3957 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
3959 * mule-charset.c (range_charset_code_point): Must use make_int.
3960 (split_builtin_char): New function.
3962 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3964 * mule-charset.c (char_byte_table): Change name from
3965 "char-code-table" to "char-byte-table".
3966 (mark_char_code_table): New function.
3967 (char_code_table_equal): New function.
3968 (char_code_table_hash): New function.
3969 (char_code_table_description): New constant.
3970 (char_code_table): New type.
3971 (make_char_code_table): New function.
3972 (copy_char_code_table): New function.
3973 (get_char_code_table): Modify for `char_code_table' type.
3974 (put_char_code_table): Likewise.
3975 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
3978 * char-ucs.h (char_code_table): New type.
3979 (XCHAR_CODE_TABLE): New macro.
3980 (XSETCHAR_CODE_TABLE): New macro.
3981 (CHAR_CODE_TABLE_P): New macro.
3982 (GC_CHAR_CODE_TABLE_P): New macro.
3983 (struct Lisp_Char_Code_Table): New structure.
3985 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3987 * mule-charset.c (Fmake_charset): Setup byte_offset for
3990 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
3992 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
3995 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3997 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
4000 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4002 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
4003 charset, it is regarded as a charset.
4004 (put_char_attribute): New function in UTF-2000.
4005 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
4006 charset, mapping-table of the charset is modified.
4007 (Fdefine_char): New function in UTF-2000.
4008 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
4009 `Fput_char_attribute'.
4010 (syms_of_mule_charset): Add new function `define-char' and new
4011 symbol `ucs' in UTF-2000.
4012 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
4014 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4016 * mule-charset.c (Fcharset_name): Define `byte_offset' in
4017 non-UTF-2000 configuration.
4019 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4021 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
4022 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
4024 * mule-charset.c (mark_charset): `cs->encoding_table' has been
4026 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
4027 (Fset_charset_mapping_table): Likewise.
4029 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
4030 (CHARSET_ENCODING_TABLE): Delete.
4031 (XCHARSET_ENCODING_TABLE): Delete.
4032 (charset_code_point): New interface.
4034 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4036 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
4037 instead of `charset_get_byte1' and `charset_get_byte2'.
4039 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
4040 (charset_get_byte2): Deleted.
4042 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4044 * char-ucs.h (SPLIT_CHAR): New inline function.
4045 (breakup_char_1): Use `SPLIT_CHAR'.
4047 * mule-charset.c (range_charset_code_point): New function.
4048 (charset_code_point): New function.
4050 * char-ucs.h (range_charset_code_point): New interface.
4051 (breakup_char_1): Use `range_charset_code_point'.
4053 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4055 * mule-charset.c (Fmake_charset): Delete unused local variable
4058 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
4059 (breakup_char_1): Find a charset and code-point in
4060 `Vcharacter_attribute_table'.
4062 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4064 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4067 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4069 * mule-charset.c (Vcharacter_attribute_table): New variable.
4070 (Fchar_attribute_alist): New function.
4071 (Fget_char_attribute): New function.
4072 (Fput_char_attribute): New function.
4073 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
4075 (syms_of_mule_charset): Add new function `char-attribute-alist',
4076 `get-char-attribute' and `put-char-attribute'.
4077 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
4079 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
4081 * mule-charset.c (Fmake_charset): Just use
4082 `get_unallocated_leading_byte'.
4084 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
4085 sets; don't use final-byte based number for private sets.
4087 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4089 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
4092 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4094 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4097 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4099 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
4100 of `CHAR_LEADING_BYTE' in UTF-2000.
4102 * insdel.c (find_charsets_in_bufbyte_string): Use
4103 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4104 (find_charsets_in_emchar_string): Likewise.
4106 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
4107 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4109 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
4110 (CHAR_CHARSET_ID): New macro.
4112 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4114 * chartab.c (get_char_table): Don't use type `Charset_ID' for
4115 charset-id - MIN_LEADING_BYTE.
4116 (put_char_table): Likewise.
4118 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4120 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
4121 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
4122 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
4123 (CHARSET_ID_OFFSET): New macro.
4124 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
4125 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
4126 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
4127 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4129 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4131 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
4132 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
4133 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
4134 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
4135 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
4137 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4139 * mule-charset.c (next_allocated_leading_byte): New variable in
4141 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
4142 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
4143 (get_unallocated_leading_byte): Simply use
4144 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
4145 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
4148 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
4149 (MAX_LEADING_BYTE_PRIVATE): New macro.
4150 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
4151 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
4153 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4155 * mule-charset.c (Fmake_charset): Allocate final-byte based
4156 charset-id for 94-set, 96-set and 94x94-set.
4158 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4160 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
4162 (Fmake_charset): Likewise.
4163 (complex_vars_of_mule_charset): Modify the font registry of
4164 `ucs-bmp' not to match `Ethiopic-Unicode'.
4166 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4168 * mule-charset.c (complex_vars_of_mule_charset): Add font
4169 registory of `ucs-bmp'.
4171 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4173 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
4174 coded-charsets in `default-coded-charset-priority-list' when
4175 breaking up a character.
4177 * mule-charset.c (Vcharset_latin_viscii): New variable.
4178 (Qlatin_viscii): New variable.
4179 (make_charset): Don't use `decoding_table'.
4180 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
4182 (Fset_charset_mapping_table): New implementation.
4183 (syms_of_mule_charset): Add new symbol `latin-viscii'.
4184 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
4185 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
4186 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
4187 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
4188 charset `latin_viscii'.
4190 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
4191 (CHARSET_TYPE_94X94): Change to 1 from 2.
4192 (CHARSET_TYPE_96): Change to 2 from 1.
4193 (CHARSET_TYPE_128): New macro.
4194 (CHARSET_TYPE_128X128): Change to 5 from 4.
4195 (CHARSET_TYPE_256): New macro.
4196 (CHARSET_TYPE_256X256): Change to 7 from 5.
4197 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
4199 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4201 * text-coding.c (char_encode_shift_jis): Refer
4202 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
4203 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
4205 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
4206 (char_byte_table_equal): New function in UTF-2000.
4207 (char_byte_table_hash): New function in UTF-2000.
4208 (char_byte_table_description): New constant in UTF-2000.
4209 (char_byte_table): New type in UTF-2000.
4210 (make_char_byte_table): New function in UTF-2000.
4211 (copy_char_byte_table): New function in UTF-2000.
4212 (make_char_code_table): New macro in UTF-2000.
4213 (get_char_code_table): New function in UTF-2000.
4214 (put_char_code_table): New function in UTF-2000.
4215 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
4216 (charset_description): Add setting in UTF-2000.
4217 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
4218 `CHARSET_TO_BYTE1_TABLE(cs)'.
4219 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
4220 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
4221 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
4222 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
4223 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
4224 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
4225 `CHARSET_TO_BYTE2_TABLE(cs)'.
4227 * char-ucs.h (char_byte_table): New type.
4228 (XCHAR_BYTE_TABLE): New macro.
4229 (XSETCHAR_BYTE_TABLE): New macro.
4230 (CHAR_BYTE_TABLE_P): New macro.
4231 (GC_CHAR_BYTE_TABLE_P): New macro.
4232 (struct Lisp_Char_Byte_Table): New structure.
4233 (get_char_code_table): New interface.
4234 (Emchar_to_byte_table): Deleted.
4235 (get_byte_from_character_table): Deleted.
4236 (struct Lisp_Charset): Add `encoding_table'; delete
4237 `to_byte1_table' and `to_byte2_table'.
4238 (CHARSET_ENCODING_TABLE): New macro.
4239 (CHARSET_TO_BYTE1_TABLE): Deleted.
4240 (CHARSET_TO_BYTE2_TABLE): Deleted.
4241 (XCHARSET_ENCODING_TABLE): New macro.
4242 (XCHARSET_TO_BYTE1_TABLE): Deleted.
4243 (XCHARSET_TO_BYTE2_TABLE): Deleted.
4245 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4247 * mule-charset.c (syms_of_mule_charset): Delete charset alias
4248 `vietnamese-viscii-*'.
4250 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4252 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
4253 (Qvietnamese_viscii_upper): New variable.
4254 (Fdefine_charset_alias): New function.
4255 (syms_of_mule_charset): Add new function `define-charset-alias'.
4256 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
4257 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
4260 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
4262 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
4263 (MAX_CHAR_OBS_94x94): New macro.
4264 (breakup_char_1): Support obsolete XEmacs-UCS private code space
4267 * mule-charset.c (put_byte_from_character_table): Change unit size
4269 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
4271 (Fmake_reverse_direction_charset): Modify dummy argument of
4272 `make_charset' for non-UTF-2000 environment.
4274 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4276 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
4278 * mule-charset.c (destroy_byte_from_character_table): New macro.
4279 (latin_jisx0201_to_ucs): Deleted.
4280 (latin_iso8859_2_to_ucs): Deleted.
4281 (latin_iso8859_3_to_ucs): Deleted.
4282 (latin_iso8859_4_to_ucs): Deleted.
4283 (latin_iso8859_9_to_ucs): Deleted.
4284 (latin_viscii_lower_to_ucs): Deleted.
4285 (latin_viscii_upper_to_ucs): Deleted.
4286 (mark_charset): Mark `cs->decoding_table'.
4287 (Fcharset_mapping_table): Fix DOC-string.
4288 (Fset_charset_mapping_table): New function.
4289 (syms_of_mule_charset): Add nwe function
4290 `set-charset-mapping-table'.
4291 (complex_vars_of_mule_charset): Don't setup and use
4294 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
4296 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
4299 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
4301 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
4302 (Vcharset_katakana_jisx0208): New variable.
4303 (Qhiragana_jisx0208): New variable.
4304 (Qkatakana_jisx0208): New variable.
4305 (make_charset): Add new argument `byte_offset'.
4306 (charset_get_byte1): Modify for new coded-charset definition; use
4307 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4308 `XCHARSET_BYTE_OFFSET'.
4309 (Fmake_charset): Modify for `make_charset'.
4310 (Fmake_reverse_direction_charset): Likewise.
4311 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
4312 `katakana-jisx0208'.
4313 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
4314 `.' in font registry of charset `katakana-jisx0201',
4315 `latin-jisx0201', `vietnamese-viscii-lower' and
4316 `vietnamese-viscii-upper'; modify DOC-string of charset
4317 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
4318 registry of charset `japanese-jisx0208' not to use font for JIS
4319 X0208:1990; add new charset `hiragana-jisx0208' and
4320 `katakana-jisx0208'.
4322 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
4323 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
4324 (struct Lisp_Charset): Add `byte_offset'.
4325 (CHARSET_BYTE_OFFSET): New macro.
4326 (XCHARSET_UCS_MIN): New macro.
4327 (XCHARSET_UCS_MAX): New macro.
4328 (XCHARSET_CODE_OFFSET): New macro.
4329 (XCHARSET_BYTE_OFFSET): New macro.
4330 (MIN_CHAR_HIRAGANA): New macro.
4331 (MAX_CHAR_HIRAGANA): New macro.
4332 (MIN_CHAR_KATAKANA): New macro.
4333 (MAX_CHAR_KATAKANA): New macro.
4334 (MAKE_CHAR): Modify for new coded-charset definition; use
4335 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4336 `XCHARSET_BYTE_OFFSET'.
4338 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4340 * mule-charset.c (CHAR96): Deleted.
4341 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
4343 (latin_iso8859_2_to_ucs): Likewise.
4344 (latin_iso8859_3_to_ucs): Likewise.
4345 (latin_iso8859_4_to_ucs): Likewise.
4346 (latin_iso8859_9_to_ucs): Likewise.
4347 (latin_viscii_lower_to_ucs): Likewise.
4348 (latin_viscii_upper_to_ucs): Likewise.
4349 (latin_tcvn5712_to_ucs): Commented out.
4350 (make_charset): Change type of argument `decoding_table' from
4351 <Emchar*> to <Lisp_Object> [vector of characters].
4352 (Fmake_charset): Modify for `make_charset'.
4353 (Fmake_reverse_direction_charset): Likewise.
4354 (Fcharset_mapping_table): New function in UTF-2000.
4355 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
4357 (complex_vars_of_mule_charset): Modify for type change of
4358 `*_to_ucs'; modify for `make_charset'.
4360 * char-ucs.h (struct Lisp_Charset): Change type of
4361 `decoding_table' from <Emchar*> to <Lisp_Object>.
4362 (MAKE_CHAR): Modify for new specification of `decoding_table'.
4364 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4366 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
4367 error with non-UTF-2000-Mule.
4369 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
4371 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
4373 (Vcharset_chinese_cns11643_4): Likewise.
4374 (Vcharset_chinese_cns11643_5): Likewise.
4375 (Vcharset_chinese_cns11643_6): Likewise.
4376 (Vcharset_chinese_cns11643_7): Likewise.
4377 (Qchinese_cns11643_3): Likewise.
4378 (Qchinese_cns11643_4): Likewise.
4379 (Qchinese_cns11643_5): Likewise.
4380 (Qchinese_cns11643_6): Likewise.
4381 (Qchinese_cns11643_7): Likewise.
4382 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
4383 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4384 and `chinese-cns11643-7' to lisp/mule/chinese.el.
4385 (complex_vars_of_mule_charset): Likewise.
4387 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4389 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
4391 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
4392 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
4394 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4396 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
4398 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
4399 (breakup_char_1): Likewise.
4401 * text-coding.c (char_encode_iso2022): Keep designated charsets if
4402 one of them includes the specified character.
4404 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4406 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
4408 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4410 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
4412 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4414 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
4415 definition for non-UTF-2000 Mule.
4416 (latin_iso8859_3_to_ucs): Likewise.
4417 (latin_iso8859_4_to_ucs): Likewise.
4418 (latin_iso8859_9_to_ucs): Likewise.
4419 (latin_jisx0201_to_ucs): Likewise.
4420 (MIN_CHAR_THAI): Likewise.
4421 (MAX_CHAR_THAI): Likewise.
4422 (MIN_CHAR_GREEK): Likewise.
4423 (MAX_CHAR_GREEK): Likewise.
4424 (MIN_CHAR_HEBREW): Likewise.
4425 (MAX_CHAR_HEBREW): Likewise.
4426 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
4427 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
4428 (MIN_CHAR_CYRILLIC): Likewise.
4429 (MAX_CHAR_CYRILLIC): Likewise.
4431 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4433 * char-ucs.h (breakup_char_1): Use
4434 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
4435 thai-tis620 and katakana-jisx0201 area.
4437 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4439 * char-ucs.h (breakup_char_1): Use
4440 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
4443 * text-coding.c (reset_encoding_stream): Fixed.
4444 (char_encode_ucs4): Delete `& 255'.
4446 * char-ucs.h (breakup_char_1): Use
4447 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
4449 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4451 * file-coding.c (Fmake_coding_system): Don't set up
4452 `codesys->fixed.size'.
4453 (encode_coding_no_conversion): Don't refer
4454 `str->codesys->fixed.size'.
4456 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4458 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
4459 (latin_a_char_to_byte1): Deleted.
4460 (latin_a_char_to_byte2): Deleted.
4462 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4464 * mule-charset.c (make_charset): Add new argument `ucs_min',
4465 `ucs_max' and `code_offset'.
4466 (charset_get_byte1): New implementation [delete specific charset
4467 depended implementations].
4468 (Fmake_charset): Modify for `make_charset'.
4469 (Fmake_reverse_direction_charset): Likewise.
4470 (complex_vars_of_mule_charset): Likewise.
4472 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
4474 (CHARSET_UCS_MIN): New macro.
4475 (CHARSET_UCS_MAX): New macro.
4476 (CHARSET_CODE_OFFSET): New macro.
4477 (MAKE_CHAR): Delete charset depended definitions [except
4480 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4482 * char-ucs.h (breakup_char_1): Use
4483 `Vdefault_coded_charset_priority_list' for C0-Controls,
4484 Basic-Latin, C1-Controls and Latin-1-Supplement area.
4486 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4488 * char-ucs.h (charset_get_byte1): New function.
4489 (XCHARSET_GET_BYTE1): Deleted.
4490 (charset_get_byte2): New function.
4491 (XCHARSET_GET_BYTE2): Deleted.
4492 (Vdefault_coded_charset_priority_list): New external variable.
4493 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
4494 `Vdefault_preferred_coded_charset_list'.
4496 * mule-charset.c (charset_get_byte1): New function.
4497 (charset_get_byte2): New function.
4498 (Vdefault_coded_charset_priority_list): New variable.
4499 (vars_of_mule_charset): Add new variable
4500 `default-coded-charset-priority-list'.
4502 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4504 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
4505 (XCHARSET_GET_BYTE2): New inline function.
4506 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
4507 `XCHARSET_GET_BYTE2'.
4509 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4511 * mule-charset.c (make_charset): Initialize
4512 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
4513 NULL if table is not defined.
4515 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4517 * text-coding.c (char_encode_shift_jis): Use
4518 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
4519 `ucs_to_latin_jisx0201'.
4521 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
4522 (ucs_to_latin_iso8859_2): Deleted.
4523 (ucs_to_latin_iso8859_3): Deleted.
4524 (ucs_to_latin_iso8859_4): Deleted.
4525 (ucs_to_latin_iso8859_9): Deleted.
4526 (ucs_to_latin_viscii_lower): Deleted.
4527 (ucs_to_latin_viscii_upper): Deleted.
4528 (ucs_to_latin_tcvn5712): Deleted.
4529 (make_charset): Add new argument `decoding_table'; set up
4530 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
4531 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
4532 `decoding_table' is defined in UTF-2000.
4533 (Fmake_charset): Modify for `make_charset'.
4534 (Fmake_reverse_direction_charset): Likewise.
4535 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
4536 and `GENERATE_96_SET'.
4538 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
4539 (ucs_to_latin_jisx0201): Deleted.
4540 (latin_iso8859_2_to_ucs): Deleted.
4541 (ucs_to_latin_iso8859_2): Deleted.
4542 (latin_iso8859_3_to_ucs): Deleted.
4543 (ucs_to_latin_iso8859_3): Deleted.
4544 (latin_iso8859_4_to_ucs): Deleted.
4545 (ucs_to_latin_iso8859_4): Deleted.
4546 (latin_iso8859_9_to_ucs): Deleted.
4547 (ucs_to_latin_iso8859_9): Deleted.
4548 (latin_viscii_lower_to_ucs): Deleted.
4549 (ucs_to_latin_viscii_lower): Deleted.
4550 (latin_viscii_upper_to_ucs): Deleted.
4551 (ucs_to_latin_viscii_upper): Deleted.
4552 (struct Lisp_Charset): Renamed `encoding_table' to
4553 `to_byte1_table'; add `to_byte2_table'.
4554 (CHARSET_DECODING_TABLE): New macro.
4555 (CHARSET_TO_BYTE1_TABLE): New macro.
4556 (CHARSET_TO_BYTE2_TABLE): New macro.
4557 (XCHARSET_DECODING_TABLE): New macro.
4558 (XCHARSET_TO_BYTE1_TABLE): New macro.
4559 (XCHARSET_TO_BYTE2_TABLE): New macro.
4560 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
4562 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
4563 don't use `ucs_to_*' tables.
4565 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4567 * text-coding.c (Fmake_coding_system): Don't set up
4568 `codesys->fixed.size'.
4569 (encode_coding_no_conversion): Use `if' instead of `switch'.
4571 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
4573 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4575 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
4576 (Fmake_charset): Modify for `make_charset'.
4577 (Fmake_reverse_direction_charset): Likewise.
4578 (complex_vars_of_mule_charset): Likewise.
4580 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4582 * text-coding.c (char_encode_shift_jis): Use table
4583 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
4585 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4587 * text-coding.c (text_encode_generic): Use `if' instead of
4589 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
4592 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4594 * text-coding.c (encode_coding_sjis): Deleted.
4595 (char_encode_shift_jis): New function.
4596 (char_finish_shift_jis): New function.
4597 (reset_encoding_stream): Set up `encode_char' and `finish' for
4598 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
4599 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
4600 (char_encode_utf8): Treat `eol_type'.
4602 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4604 * file-coding.c (decode_coding_iso2022): Use
4605 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
4607 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4609 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4612 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4614 * char-lb.h (CHAR_COLUMNS): New macro.
4616 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4618 * text-coding.c (char_encode_ucs4): New function.
4619 (char_finish_ucs4): New function.
4620 (encode_coding_ucs4): Deleted.
4621 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
4622 (text_encode_generic): Delete local variable `charset' and `half'.
4623 (ucs_to_mule_table): Deleted.
4624 (mule_to_ucs_table): Deleted.
4625 (Fset_ucs_char): Deleted.
4626 (ucs_to_char): Deleted.
4627 (Fucs_char): Deleted.
4628 (Fset_char_ucs): Deleted.
4629 (Fchar_ucs): Deleted.
4630 (decode_ucs4): Deleted.
4631 (mule_char_to_ucs4): Deleted.
4632 (encode_ucs4): Deleted.
4633 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
4634 (decode_coding_utf8): Likewise.
4635 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
4636 (char_encode_iso2022): Fixed.
4637 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
4638 `Fset_char_ucs' and `Fchar_ucs'.
4639 (complex_vars_of_file_coding): Don't initialize
4640 `ucs_to_mule_table'.
4642 * objects-tty.c (tty_initialize_font_instance): Don't use
4645 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
4648 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
4649 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4651 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
4652 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4653 (emchar_string_displayed_columns): Likewise.
4655 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
4656 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4657 (string_column_at_point): Likewise.
4658 (Fmove_to_column): Likewise.
4660 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
4661 `encoding_table' and `decoding_table'.
4662 (CHARSET_REP_BYTES): Deleted.
4663 (XCHARSET_REP_BYTES): Deleted.
4664 (XCHARSET_COLUMNS): Deleted.
4665 (CHAR_COLUMNS): New macro.
4666 (lookup_composite_char): Deleted unconditionally.
4667 (composite_char_string): Likewise.
4669 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4671 * char-ucs.h (Emchar_to_byte_table): New type.
4672 (get_byte_from_character_table): New function interface.
4673 (Vcharset_latin_jisx0201): New variable.
4674 (latin_jisx0201_to_ucs): New variable.
4675 (ucs_to_latin_jisx0201): New variable.
4676 (Vcharset_latin_iso8859_2): New variable.
4677 (latin_iso8859_2_to_ucs): New variable.
4678 (ucs_to_latin_iso8859_2): New variable.
4679 (Vcharset_latin_iso8859_3): New variable.
4680 (latin_iso8859_3_to_ucs): New variable.
4681 (ucs_to_latin_iso8859_3): New variable.
4682 (Vcharset_latin_iso8859_4): New variable.
4683 (latin_iso8859_4_to_ucs): New variable.
4684 (ucs_to_latin_iso8859_4): New variable.
4685 (Vcharset_latin_iso8859_9): New variable.
4686 (latin_iso8859_9_to_ucs): New variable.
4687 (ucs_to_latin_iso8859_9): New variable.
4688 (Vcharset_latin_viscii_lower): New variable.
4689 (latin_viscii_lower_to_ucs): New variable.
4690 (ucs_to_latin_viscii_lower): New variable.
4691 (Vcharset_latin_viscii_upper): New variable.
4692 (latin_viscii_upper_to_ucs): New variable.
4693 (ucs_to_latin_viscii_upper): New variable.
4694 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
4695 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
4696 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
4697 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
4698 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
4699 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
4700 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
4701 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
4702 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
4703 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
4705 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
4706 (Vcharset_latin_viscii_upper): New variable.
4707 (make_byte_from_character_table): New function.
4708 (put_byte_from_character_table): New function.
4709 (get_byte_from_character_table): New function.
4710 (CHAR96): New macro.
4711 (ucs_to_latin_jisx0201): New variable.
4712 (latin_jisx0201_to_ucs): New variable.
4713 (ucs_to_latin_iso8859_2): New variable.
4714 (latin_iso8859_2_to_ucs): New variable.
4715 (ucs_to_latin_iso8859_3): New variable.
4716 (latin_iso8859_3_to_ucs): New variable.
4717 (ucs_to_latin_iso8859_4): New variable.
4718 (latin_iso8859_4_to_ucs): New variable.
4719 (ucs_to_latin_iso8859_9): New variable.
4720 (latin_iso8859_9_to_ucs): New variable.
4721 (ucs_to_latin_viscii_lower): New variable.
4722 (latin_viscii_lower_to_ucs): New variable.
4723 (ucs_to_latin_viscii_upper): New variable.
4724 (latin_viscii_upper_to_ucs): New variable.
4725 (ucs_to_latin_tcvn5712): New variable.
4726 (latin_tcvn5712_to_ucs): New variable.
4727 (Qlatin_viscii_lower): New variable.
4728 (Qlatin_viscii_upper): New variable.
4729 (syms_of_mule_charset): Set up new symbol
4730 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
4731 (complex_vars_of_mule_charset): Set up new charset
4732 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
4733 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
4734 `ucs_to_<CHARSET>' tables.
4736 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4738 * text-coding.c: New file.
4740 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4742 * mule-charset.c (Fmake_char): Fix problem of 256-set.
4744 * char-ucs.h (Vcharset_ucs_bmp): New variable.
4745 (MAKE_CHAR): Modify for `ucs-bmp'.
4746 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
4747 non-MULE characters of BMP.
4749 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
4751 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4754 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
4757 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
4758 - Include character.h for `CHAR_ASCII_P'.
4760 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
4762 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
4763 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
4765 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
4766 (BYTE_C0_P): Likewise.
4767 (BYTE_C1_P): Likewise.
4768 (Lstream_get_emchar_1): Likewise.
4769 (Lstream_fput_emchar): Likewise.
4770 (Lstream_funget_emchar): Likewise.
4771 (copy_internal_to_external): Likewise.
4772 (copy_external_to_internal): Likewise.
4774 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
4775 (BYTE_C0_P): Likewise.
4776 (BYTE_C1_P): Likewise.
4777 (Lstream_get_emchar_1): Likewise.
4778 (Lstream_fput_emchar): Likewise.
4779 (Lstream_funget_emchar): Likewise.
4780 (copy_internal_to_external): Likewise.
4781 (copy_external_to_internal): Likewise.
4783 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
4784 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4786 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
4787 (BYTE_ASCII_P): Moved to mb-1byte.h.
4789 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
4791 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
4793 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
4794 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
4795 (VALID_CHARPTR_P): Moved to mb-*byte.h.
4796 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4797 (VALIDATE_CHARPTR_FORWARD): Likewise.
4798 (simple_charptr_emchar): Moved to mb-multibyte.h.
4799 (simple_set_charptr_emchar): Likewise.
4800 (simple_charptr_copy_char): Likewise.
4801 (non_ascii_charptr_emchar): Likewise.
4802 (non_ascii_set_charptr_emchar): Likewise.
4803 (non_ascii_charptr_copy_char): Likewise.
4804 (charptr_emchar): Moved to mb-*byte.h.
4805 (set_charptr_emchar): Likewise.
4806 (charptr_copy_char): Likewise.
4808 * mb-1byte.h, mb-multibyte.h: New files.
4810 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4812 * mb-utf-8.h (MULTIBYTE): New macro.
4813 (MAX_EMCHAR_LEN): Moved from buffer.h.
4814 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
4816 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
4818 * mb-lb.h, multibyte.h: New files.
4820 * char-1byte.h (Charset_ID): Moved from buffer.h.
4821 (MIN_LEADING_BYTE): Likewise.
4822 (LEADING_BYTE_ASCII): Likewise.
4823 (NUM_LEADING_BYTES): Likewise.
4824 (CHARSETP): Likewise.
4825 (CHARSET_BY_LEADING_BYTE): Likewise.
4826 (XCHARSET_LEADING_BYTE): Likewise.
4827 (XCHARSET_GRAPHIC): Likewise.
4828 (XCHARSET_COLUMNS): Likewise.
4829 (XCHARSET_DIMENSION): Likewise.
4830 (CHAR_CHARSET): Likewise.
4831 (CHAR_LEADING_BYTE): Likewise.
4832 (BREAKUP_CHAR): Likewise.
4833 (Vcharset_ascii): Likewise.
4835 * buffer.h: Include multibyte.h unconditionally.
4836 (VALID_CHARPTR_P): Moved to multibyte.h.
4837 (ASSERT_VALID_CHARPTR): Likewise.
4838 (REAL_INC_CHARPTR): Likewise.
4839 (REAL_INC_CHARBYTIND): Likewise.
4840 (REAL_DEC_CHARPTR): Likewise.
4841 (INC_CHARPTR): Likewise.
4842 (INC_CHARBYTIND): Likewise.
4843 (DEC_CHARPTR): Likewise.
4844 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4845 (VALIDATE_CHARPTR_FORWARD): Likewise.
4846 (charptr_n_addr): Likewise.
4847 (MAX_EMCHAR_LEN): Moved to mb-*.h.
4848 (simple_charptr_emchar): Moved to multibyte.h.
4849 (simple_set_charptr_emchar): Likewise.
4850 (simple_charptr_copy_char): Likewise.
4851 (non_ascii_charptr_emchar): Likewise.
4852 (non_ascii_set_charptr_emchar): Likewise.
4853 (non_ascii_charptr_copy_char): Likewise.
4854 (charptr_emchar): Likewise.
4855 (set_charptr_emchar): Likewise.
4856 (charptr_copy_char): Likewise.
4857 (charptr_emchar_n): Likewise.
4858 (Charset_ID): Moved to char-1byte.h.
4859 (Vcharset_ascii): Likewise.
4860 (CHAR_CHARSET): Likewise.
4861 (CHAR_LEADING_BYTE): Likewise.
4862 (LEADING_BYTE_ASCII): Likewise.
4863 (NUM_LEADING_BYTES): Likewise.
4864 (MIN_LEADING_BYTE): Likewise.
4865 (CHARSETP): Likewise.
4866 (CHARSET_BY_LEADING_BYTE): Likewise.
4867 (XCHARSET_LEADING_BYTE): Likewise.
4868 (XCHARSET_GRAPHIC): Likewise.
4869 (XCHARSET_COLUMNS): Likewise.
4870 (XCHARSET_DIMENSION): Likewise.
4871 (BREAKUP_CHAR): Likewise.
4873 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4875 * character.h: Add document about interface for characters.
4877 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
4878 (MAKE_CHAR): Delete comment about
4879 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
4880 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
4881 (BREAKUP_CHAR): Modify name of arguments.
4882 (CHAR_CHARSET): Modify name of argument.
4884 * buffer.h: Delete document about Emchar accessors.
4886 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4888 * character.h (CHAR_INTP): Moved from buffer.h
4889 (CHAR_OR_CHAR_INTP): Likewise.
4890 (XCHAR_OR_CHAR_INT): Likewise.
4891 (CHECK_CHAR_COERCE_INT): Likewise.
4893 * buffer.h (CHAR_INTP): Moved to character.h
4894 (CHAR_OR_CHAR_INTP): Likewise.
4895 (XCHAR_OR_CHAR_INT): Likewise.
4896 (CHECK_CHAR_COERCE_INT): Likewise.
4898 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4901 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
4902 - Include char-1byte.h, char-lb.h or char-ucs.h.
4904 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
4906 * buffer.h: Include character unconditionally.
4907 (valid_char_p): Moved to char-*.h.
4908 (non_ascii_valid_char_p): Moved to char-lb.h.
4910 * char-1byte.h, char-lb.h, char-ucs.h: New files.
4912 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4914 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
4915 in UTF-2000 because it is not ported yet and not to use
4916 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
4917 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
4918 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
4920 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
4921 (CHAR_ASCII_P): Moved from character.h.
4923 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
4924 (CHAR_ASCII_P): Likewise.
4925 (CHAR_FIELD1_MASK): Deleted.
4926 (CHAR_FIELD2_MASK): Deleted.
4927 (CHAR_FIELD3_MASK): Deleted.
4928 (MAX_CHAR_BASIC_LATIN): New macro.
4929 (CHAR_FIELD1): Deleted.
4930 (CHAR_FIELD2_INTERNAL): Deleted.
4931 (CHAR_FIELD3_INTERNAL): Deleted.
4932 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
4933 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
4934 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
4935 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
4936 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
4937 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
4938 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
4939 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
4940 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
4941 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
4942 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
4943 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
4944 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
4945 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
4946 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
4947 (MIN_CHAR_COMPOSITION): Deleted.
4948 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
4949 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
4951 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
4953 * buffer.h: Include mb-utf-8.h in UTF-2000.
4955 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
4957 * mb-utf-8.h: New file.
4959 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
4961 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
4964 * mule-charset.h, buffer.h (Charset_ID): New type.
4966 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
4968 * mule-canna.c (c2mu): Use `MAKE_CHAR',
4969 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
4970 instead of `MULE_CHAR_PRIVATE_OFFSET',
4971 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
4972 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
4973 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
4975 * character.h (Vcharset_japanese_jisx0212): New variable
4978 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
4980 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
4981 (charset_by_attributes): Delete array about direction.
4982 (latin_a_char_to_charset): New variable in UTF-2000.
4983 (latin_a_char_to_byte1): New variable in UTF-2000.
4984 (latin_a_char_to_byte2): New variable in UTF-2000.
4985 (Qucs_bmp): New variable.
4986 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
4988 (next_allocated_2_byte_leading_byte): Likewise.
4989 (non_ascii_set_charptr_emchar): Likewise.
4990 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
4991 `CHARSET_TYPE_256X256' in UTF-2000; modify for
4992 `charset_by_attributes'.
4993 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
4994 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
4995 and `CHARSET_BY_LEADING_BYTE'.
4996 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
4997 `utf-2000-version' to `vars_of_mule_charset'.
4998 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
4999 define `leading-code-private-11' in UTF-2000; move setting of
5000 `utf-2000-version' from `syms_of_mule_charset'.
5001 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
5004 * character.h (Charset_ID): New type.
5005 (LEADING_BYTE_UCS_BMP): New macro.
5006 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
5007 (CHARSET_ID_OFFSET_94): New macro.
5008 (MIN_CHARSET_ID_PRIVATE_94): New macro.
5009 (MAX_CHARSET_ID_PRIVATE_94): New macro.
5010 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
5012 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
5013 (LEADING_BYTE_LATIN_JISX0201): Likewise.
5014 (CHARSET_ID_OFFSET_96): New macro.
5015 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
5016 CHARSET_ID_OFFSET_96 and final-byte.
5017 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
5018 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
5019 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
5020 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
5021 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
5022 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
5023 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
5024 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
5025 (LEADING_BYTE_THAI_TIS620): Likewise.
5026 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
5027 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
5028 (CHARSET_ID_OFFSET_94x94): New macro.
5029 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
5030 CHARSET_ID_OFFSET_94x94 and final-byte.
5031 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
5032 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
5033 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
5034 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
5035 (LEADING_BYTE_CHINESE_GB2312): Likewise.
5036 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
5037 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
5038 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
5039 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
5040 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
5041 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
5042 (CHARSET_TYPE_128X128): New macro.
5043 (CHARSET_TYPE_256X256): New macro.
5044 (XCHARSET_PRIVATE_P): Delete unconditionally.
5045 (charset_by_attributes): Delete array about direction.
5046 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
5047 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
5048 (MIN_CHAR_94): New macro.
5049 (MAX_CHAR_94): New macro.
5050 (MIN_CHAR_96): New macro.
5051 (MAX_CHAR_96): New macro.
5052 (MIN_CHAR_94x94): New macro.
5053 (MAX_CHAR_94x94): New macro.
5054 (MIN_CHAR_96x96): New macro.
5055 (MAX_CHAR_96x96): New macro.
5056 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
5057 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5058 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
5060 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
5061 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
5062 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
5063 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
5064 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
5065 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
5066 `XCHARSET_LEADING_BYTE' to make code-point.
5067 (latin_a_char_to_charset): New variable.
5068 (latin_a_char_to_byte1): New variable.
5069 (latin_a_char_to_byte2): New variable.
5070 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
5071 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
5072 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
5074 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
5075 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
5076 (find_charsets_in_emchar_string): Likewise.
5077 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
5079 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
5081 (decode_coding_iso2022): Likewise.
5083 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
5086 * redisplay.c (redisplay_text_width_emchar_string): Use
5087 `Charset_ID' instead of `unsigned char'.
5088 (redisplay_frame_text_width_string): Likewise.
5090 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
5093 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
5094 instead of `unsigned char'.
5095 (face_cachel_charset_font_metric_info): Likewise.
5097 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
5098 (get_non_ascii_char_table_value): Likewise.
5099 (get_char_table): Likewise.
5100 (put_char_table): Likewise.
5101 (map_over_other_charset): Likewise.
5102 (map_char_table): Likewise.
5104 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
5105 instead of `unsigned char'.
5107 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
5109 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
5110 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
5112 * mule-charset.c (leading_code_private_11): Don't define in
5115 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
5116 in UTF-2000 because it is not ported yet and not to use
5117 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
5119 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
5121 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
5123 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5125 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
5128 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
5129 of unsigned char to store leading-byte.
5131 * chartab.c (get_non_ascii_char_table_value): Don't use
5132 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
5134 * file-coding.c (encode_coding_big5): Delete bogus implementation
5137 * character.h (LEADING_BYTE_*): Delete definition for
5139 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
5140 (LEADING_BYTE_PREFIX_P): Deleted.
5141 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
5142 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
5143 (BUFBYTE_LEADING_BYTE_P): Deleted.
5144 (CHARSET_PRIVATE_P): Deleted unconditionally.
5145 (rep_bytes_by_first_byte): Deleted unconditionally.
5146 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
5147 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
5148 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5149 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
5150 (CHAR_FIELD2): Deleted.
5151 (CHAR_FIELD3): Deleted.
5152 (MAKE_CHAR): Delete definition for non-UTF-2000.
5153 (BREAKUP_CHAR_1_UNSAFE): Deleted.
5154 (breakup_char_1): New implementation.
5155 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
5156 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
5158 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5160 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
5163 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5165 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
5166 (CHARSET_PRIVATE_P): Likewise.
5167 (XCHARSET_PRIVATE_P): Likewise.
5168 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
5170 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
5172 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
5174 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5176 * character.h (LEADING_BYTE_*): Changed in UTF2000.
5177 (NUM_LEADING_BYTES): Changed from 128 to 256.
5178 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5179 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
5181 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5183 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
5185 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
5186 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
5187 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
5188 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
5189 (Qchinese_cns11643_3): New variable in UTF2000.
5190 (Qchinese_cns11643_4): New variable in UTF2000.
5191 (Qchinese_cns11643_5): New variable in UTF2000.
5192 (Qchinese_cns11643_6): New variable in UTF2000.
5193 (Qchinese_cns11643_7): New variable in UTF2000.
5194 (syms_of_mule_charset): Define `chinese-cns11643-3',
5195 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
5196 and `chinese-cns11643-7' in UTF2000.
5197 (vars_of_mule_charset): Initialize
5198 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
5200 (complex_vars_of_mule_charset): Setup charset
5201 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
5202 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
5204 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5206 * mule-charset.c: Move setting for `leading-code-private-11' from
5207 `syms_of_mule_charset' to `vars_of_mule_charset'.
5209 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5211 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
5212 and `NUM_LEADING_BYTES' in assert.
5214 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5216 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
5218 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
5219 `NUM_LEADING_BYTES' instead of 128.
5221 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
5223 * mule-charset.h (charset_by_leading_byte): Use
5224 `NUM_LEADING_BYTES' instead of 128.
5225 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
5227 * mule-charset.c (charset_by_leading_byte): Use
5228 `NUM_LEADING_BYTES' instead of 128.
5229 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
5231 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
5234 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
5236 * mule-charset.c (syms_of_mule_charset): Update to
5239 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
5241 * file-coding.c (encode_coding_sjis): New implementation for
5242 UTF2000. (decode_coding_sjis): Ditto.
5244 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5246 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
5247 Don't define in UTF2000.
5249 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
5252 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5253 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
5256 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5258 * config.h.in (CHAR_IS_UCS4): New macro.
5260 * mule-charset.c (rep_bytes_by_first_byte): Modify for
5261 conventional MULE representation.
5262 (syms_of_mule_charset): Update to 0.3 (Imamiya).
5264 * mule-charset.h: Reverted to original.
5266 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5267 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
5268 "mule-charset.h" if CHAR_IS_UCS4 is defined.
5270 * character.h: New file.
5272 * file-coding.c (Fmake_coding_system): Set 1 to
5273 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
5275 (encode_coding_no_conversion): New implementation for UTF2000.
5277 * file-coding.h (struct Lisp_Coding_System): Add new member
5280 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
5282 * file-coding.c (decode_coding_iso2022): Code-point arguments of
5283 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
5284 (encode_coding_iso2022): New implementation for UTF2000.
5286 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5288 * mule-canna.c (c2mu): New implementation for UTF2000.
5291 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5293 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
5295 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5297 * file-coding.c (reset_encoding_stream): Set 0 to
5298 `str->iso2022.current_char_boundary' in UTF2000.
5299 (encode_utf8): Don't define in UTF2000.
5300 (encode_coding_utf8): New implementation for UTF-8 representation
5302 (complex_vars_of_file_coding): Define coding-system `utf-8'.
5304 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5306 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
5308 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
5310 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5312 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
5314 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
5315 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
5316 as UTF-8 in UTF2000.
5317 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
5318 (non_ascii_valid_char_p): Don't define in UTF2000.
5319 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
5320 (Lstream_get_emchar_1): Likewise.
5321 (utf-2000-version): New variable in UTF2000.
5323 * lread.c (read_escape): Add new reader `u'.
5325 * insdel.c (three_to_one_table): Don't define in UTF2000.
5326 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
5327 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5329 (bytind_to_bufpos_func): Likewise.
5330 (buffer_mule_signal_inserted_region): Likewise.
5331 (vars_of_insdel): Don't initialize `three_to_one_table'.
5332 (init_buffer_text): Use `buf->text->mule_size' instead of
5333 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5336 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
5337 UTF-8 representation in UTF2000.
5338 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
5339 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
5340 (decode_coding_iso2022): Don't define local variable `lb' in
5341 UTF2000; don't use LEADING_BYTE in UTF2000; use
5342 `DECODE_ADD_UCS_CHAR' in UTF2000.
5343 (convert_to_external_format): Decode as UTF-8 in UTF2000.
5345 * config.h.in (UTF2000): New macro.
5347 * buffer.h (struct buffer_text): Add new member `mule_size' and
5348 don't add `mule_shifter' and `mule_three_p' in UTF2000.
5349 (valid_char_p): Return always 1 in UTF2000.
5350 (MAX_EMCHAR_LEN): 6 in UTF2000.
5351 (three_to_one_table): Don't define in UTF2000.
5352 (real_bufpos_to_bytind): Modify for UTF-8 representation in
5354 (real_bytind_to_bufpos): Likewise.
5356 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
5358 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5360 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
5361 representation change.
5362 (Vutf_2000_version): New variable.
5363 (leading_code_private_11): New variable.
5364 (syms_of_mule_charset): Add new variables `utf-2000-version' and
5365 `leading-code-private-11'.
5367 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
5368 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
5369 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
5370 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
5371 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
5372 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
5373 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
5374 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
5375 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
5376 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
5377 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
5378 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
5379 (MIN_CHAR_GREEK): New macro.
5380 (MAX_CHAR_GREEK): New macro.
5381 (MIN_CHAR_CYRILLIC): New macro.
5382 (MAX_CHAR_CYRILLIC): New macro.
5383 (MIN_CHAR_HEBREW): New macro.
5384 (MAX_CHAR_HEBREW): New macro.
5385 (MIN_CHAR_THAI): New macro.
5386 (MAX_CHAR_THAI): New macro.
5387 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
5388 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
5389 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
5390 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
5391 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
5392 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
5393 (CHAR_FIELD2): New inline function.
5394 (CHAR_FIELD3): New inline function.
5395 (MULE_CHAR_PRIVATE_OFFSET): New macro.
5396 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
5397 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
5398 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
5399 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
5400 (MIN_CHAR_COMPOSITION): Likewise.
5401 (CHAR_LEADING_BYTE): Modified for character representation change.
5402 (MAKE_CHAR): Likewise.
5404 * lisp.h (Vcharset_latin_iso8859_1): New variable.
5405 (Vcharset_greek_iso8859_7): Likewise.
5406 (Vcharset_cyrillic_iso8859_5): Likewise.
5407 (Vcharset_hebrew_iso8859_8): Likewise.
5408 (Vcharset_thai_tis620): Likewise.
5409 (Vcharset_katakana_jisx0201): Likewise.
5411 2004-02-02 Vin Shelton <acs@xemacs.org>
5413 * XEmacs 21.4.15 is released
5415 2004-01-30 Glynn Clements <glynn.clements@virgin.net>
5417 * device-x.c (x_error_handler): Don't call stderr_out
5419 2003-11-07 Katsumi Yamaoka <yamaoka@jpl.org>
5421 * buffer.c (other-buffer): Clarify documentation of order of
5422 arguments for FSF Emacs.
5424 2003-10-11 Olivier Galibert <galibert@pobox.com>
5426 * window.c (Fdelete_window): Dirty the mirror structure _before_
5427 marking the window deleted.
5429 2003-09-15 Jerry James <james@xemacs.org>
5431 * event-msw.c (debug_mswin_messages): Conditionally compile
5432 messages missing from the Cygwin headers.
5434 2003-06-16 Stephen J. Turnbull <stephen@xemacs.org>
5436 * data.c (eq_with_ebola_notice): Fix typo in comment.
5437 (Ftrue_list_p): Improve docstring.
5439 2003-10-13 Stephen J. Turnbull <stephen@xemacs.org>
5441 * frame-x.c (x_update_frame_external_traits): Fix XtSetArg idiom.
5443 2003-09-27 Stephen J. Turnbull <stephen@xemacs.org>
5445 * search.c (trivial_regexp_p): Regexps containing "\{" are
5446 nontrivial. Thanks to Manfred Bartz for reporting the bug and
5447 Stefan Monnier for suggesting a diagnosis.
5449 2003-09-25 Stephen J. Turnbull <stephen@xemacs.org>
5451 * elhash.c (make-hash-table): Clarify use of :test #'equal.
5453 2003-09-12 Stephen J. Turnbull <stephen@xemacs.org>
5455 * search.c (Fsearch_forward):
5457 Document negative count.
5459 2003-09-13 Stephen J. Turnbull <stephen@xemacs.org>
5461 * regex.c (re_max_failures): Bump to 20000 for REGEX_MALLOC, too.
5463 2003-09-13 Martin Buchholz <martin@xemacs.org>
5465 * s/sol2.h: Use OS_RELEASE=os_release_major*100+os_release_minor
5467 2003-09-15 Vin Shelton <acs@xemacs.org>
5469 * .gdbinit (pobj): Remove Ilya's fix that was only intended for
5472 2003-09-12 Yoshiki Hayashi <yoshiki@xemacs.org>
5474 * regex.c (TRANSLATE_EXTENDED_UNSAFE): Remove.
5475 (re_search_2): Match the first byte of Bufbyte, not Emchar.
5476 (re_match_2_internal): Use TRANSLATE instead of
5477 TRANSLATE_EXTENDED_UNSAFE. The latter was a hack to bypass
5478 non-ASCII char case conversion.
5480 2003-09-08 Mike Sperber <mike@xemacs.org>
5482 * symbols.c (Fvariable_binding_locus): Add, as per suggestion from
5483 RMS at: http://article.gmane.org/gmane.emacs.pretest.bugs/1010
5485 2003-06-14 Ilya N. Golubev <gin@mo.msk.ru>
5487 * .gdbinit (pobj): fix printing of symbol name.
5489 2003-08-01 Ilya N. Golubev <gin@mo.msk.ru>
5491 * frame-x.c (x_layout_widgets): When resizing is about to cause
5492 frame size slip, mark it for redisplay.
5494 2003-08-18 Jerry James <james@xemacs.org>
5496 * opaque.h: Remove unused (X)OPAQUE_MARKFUN definitions.
5498 2003-09-03 Vin Shelton <acs@xemacs.org>
5500 * XEmacs 21.4.14 is released
5502 2003-08-15 Stephen J. Turnbull <stephen@xemacs.org>
5504 * config.h.in (REGEX_MALLOC): Make it configure'able.
5506 2003-08-14 Andrew Begel <abegel@CS.Berkeley.EDU>
5508 * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic
5510 * sysdll.c (dll_init):
5511 * sysdll.c (dll_open):
5512 * sysdll.c (dll_close):
5513 * sysdll.c (dll_function):
5514 * sysdll.c (dll_variable):
5515 * sysdll.c (dll_error):
5516 Add support for loading bundles using Darwin/MacOSX
5519 2003-08-12 Stephen J. Turnbull <stephen@xemacs.org>
5521 * process.c (start-process-internal): Document coding systems.
5523 2003-07-30 Jerry James <james@xemacs.org>
5525 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
5527 2003-07-31 René Kyllingstad <listmailxemacs@kyllingstad.com>
5529 * event-msw.c (mswindows_enqueue_mouse_button_event):
5530 * event-msw.c (mswindows_wnd_proc):
5531 enqueue button event when scrollwheel event isn't handled by
5532 mswindows_handle_mousewheel_event, such as when the scrollbars
5535 2003-07-29 Stephen J. Turnbull <stephen@xemacs.org>
5537 * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*.
5539 2003-03-24 Stephen J. Turnbull <stephen@xemacs.org>
5541 * database.c (Fopen_database): Don't use DB_AUTO_COMMIT.
5543 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org>
5545 * regex.c (re_match_2_internal): Fix matching degenerate word
5548 2003-05-25 XEmacs Build Bot <builds@cvs.xemacs.org>
5550 * XEmacs 21.4.13 is released
5552 2003-03-20 Stephen J. Turnbull <stephen@xemacs.org>
5554 * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H):
5555 * lisp.h (<inttypes.h>):
5556 Cygwin defines these types in <cygwin/types.h>. Don't duplicate
5559 2003-03-15 Martin Buchholz <martin@xemacs.org>
5561 * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file.
5562 Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs'
5563 Result: "temacs can only be run in -batch mode."
5564 Fix: Check xemacs executable candidate for directory-ness.
5566 2003-03-03 Robert Pluim <rpluim@bigfoot.com>
5568 * database.c: Don't use the u_int8_t etc typedefs on FreeBSD,
5569 they conflict with <sys/types.h>.
5571 2003-02-14 Martin Buchholz <martin@xemacs.org>
5573 * database.c: Berkeley DB wants __STDC__ to be defined.
5575 2003-02-13 Martin Buchholz <martin@xemacs.org>
5577 * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'.
5579 2003-02-01 Martin Buchholz <martin@xemacs.org>
5581 * process-unix.c (unix_send_process): Fix C++ compile error.
5583 2003-02-25 Andrew Begel <abegel@cs.berkeley.edu>
5585 * Added .dylib as an acceptable shared library file extension
5586 * to support MacOSX.
5588 2003-02-01 Martin Buchholz <martin@xemacs.org>
5590 * EmacsFrameP.h (EmacsFramePart):
5591 Kludge to allow compiling with Motif1, but linking with Motif2.
5593 2003-01-28 Martin Buchholz <martin@xemacs.org>
5595 * config.h.in (_ALL_SOURCE): Guard against multiple definition.
5598 2003-02-23 Stephen J. Turnbull <stephen@xemacs.org>
5600 * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin.
5602 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
5604 * sysdll.c: Included lisp.h to define needed alloca_array.
5606 2003-02-13 Martin Buchholz <martin@xemacs.org>
5608 Make XEmacs redisplay 10 times faster.
5609 If, that is, you're using a slow X connection and MoveOpaque.
5610 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
5611 Use compress_motion = TRUE.
5612 * EmacsFrame.c (emacsFrameClassRec):
5613 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
5614 * EmacsManager.c (emacsManagerClassRec):
5615 * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
5617 2003-01-30 Vin Shelton <acs@xemacs.org>
5619 * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux.
5621 2003-01-17 Stephen J. Turnbull <stephen@xemacs.org>
5623 * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef.
5624 Patch by Martin Buchholz.
5626 2003-01-16 Stephen J. Turnbull <stephen@xemacs.org>
5628 * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison.
5629 Thanks to icc for warning and Martin Buchholz for reporting.
5631 2003-01-29 Vin Shelton <acs@xemacs.org>
5633 Patch courtesy of Andrew Begel <abegel@cs.berkeley.edu>
5635 * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so
5636 remember to multiply by the element size.
5638 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
5640 * XEmacs 21.4.12 "Portable Code" is released.
5642 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
5644 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
5645 * s/cygwin.sc: new linker file.
5647 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
5649 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
5651 * redisplay-x.c (x_output_string): Use X11-specified types.
5652 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
5653 * emacs.c (__free_hook): Use typeof with Intel compiler.
5654 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
5656 2003-01-08 Andy Piper <andy@xemacs.org>
5658 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
5659 reserve size during unexec().
5661 2003-01-07 Daiki Ueno <daiki@xemacs.org>
5663 * process-unix.c (unix_create_process): Don't let outchannel block.
5665 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
5667 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
5668 Needed for IsBadReadPtr().
5670 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
5672 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
5674 2002-12-14 Ben Wing <ben@xemacs.org>
5676 * callint.c: Declaration error.
5678 * dumper.c (pdump_load): Warning fix.
5679 * process.c: GCPRO error.
5680 * glyphs.c (unmap_subwindow):
5681 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
5682 * event-stream.c (maybe_kbd_translate): Wrong argument to
5683 character_to_event().
5685 * alloc.c (garbage_collect_1):
5687 * emacs.c (debug_can_access_memory):
5688 * emacs.c (fatal_error_signal):
5689 * emacs.c (mswindows_handle_hardware_exceptions):
5692 * emacs.c (assert_failed):
5693 * emacs.c (syms_of_emacs):
5696 * print.c (std_handle_out_va):
5697 * print.c (write_string_to_stdio_stream):
5698 * print.c (write_fmt_string):
5699 * print.c (printing_badness):
5700 * print.c (printing_major_badness):
5701 * print.c (print_internal):
5702 * print.c (debug_print_no_newline):
5703 * print.c (debug_backtrace):
5704 Be more defensive in handling bad values when printing. Add code
5705 from trunk involving inhibit_non_essential_printing_operations.
5706 When going down or in debug_print(), don't do external conversion
5707 and such and try really, really hard when printing to avoid core
5708 dumping. Add force-debugging-signal, debug_break().
5710 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
5712 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
5713 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
5715 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
5717 * database.c: Fix open_database. Berkeley DB API has changed in
5718 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
5720 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
5722 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
5724 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
5726 * event-Xt.c (Xt_timeout):
5727 (Xt_timeout_callback):
5728 (emacs_Xt_add_timeout):
5729 (emacs_Xt_remove_timeout):
5730 (Xt_timeout_to_emacs_event):
5731 Turn completed_timeouts from a stack into a queue. Fixes
5732 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
5734 2002-11-07 Wolfram Gloger <wg@malloc.de>
5736 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
5737 * emacs.c (main): Assert that mmap'd allocation is disabled.
5739 2002-10-14 Andy Piper <andy@xemacs.org>
5741 * glyphs-widget.c (layout_query_geometry): add in fiddle
5742 factor. Include border text in width layout calculation.
5743 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
5745 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
5747 * XEmacs 21.4.10 "Military Intelligence" is released.
5749 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
5751 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
5752 using the NAS private array SoundFileInfo that no longer exists in
5753 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
5754 and earlier. This is broken for some versions between 1.5a and
5757 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
5759 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
5761 * emacs.c (shut_down_emacs): Improve crash message.
5763 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
5765 * file-coding.c (determine_real_coding_system): Check for coding
5766 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
5767 shebangs and Python PEP 263.
5769 2002-10-08 Andy Piper <andy@xemacs.org>
5771 * glyphs-widget.c (layout_query_geometry): only resize dynamically
5772 if static sizes haven't been set.
5774 2002-08-30 Mike Alexander <mta@arbortext.com>
5776 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
5779 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
5781 * callproc.c (child_setup): 21.4 doesn't have retry_close.
5783 2002-09-20 Mike Sperber <mike@xemacs.org>
5785 (This partially gets back my patch from 2002-07-20 without the
5787 * callproc.c (child_setup): Remove Ben's comment noting confusion
5788 over the file descriptors >= 3: close_process_descs() doesn't
5789 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
5790 * process-unix.c (unix_create_process): Call
5791 begin_dont_check_for_quit to inhibit unwanted interaction (and
5792 thus breaking of X event synchronicity) in the child.
5794 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
5796 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
5799 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
5801 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
5802 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
5803 the xemacs process did not exit, but looped infinitely here. This
5806 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
5808 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
5809 (find_context): Improve comments.
5811 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
5812 (re_match_2): An XCHAR_TABLE operation was missing.
5814 Many of the following changes were inspired by Andy Piper's (now
5815 obsolete) patch to make syntax-table text property lookup optional.
5819 * syntax.h (top level): Document semantics of syntax flags.
5820 * syntax.c (comstr_start, Fforward_comment): Improve comments.
5821 * syntax.c, syntax.h (top level): Document syntax cache better in
5824 [Instrument syntax caching (temporary change)]
5826 * syntax.h (enum syntax_cache_statistics_functions, struct
5827 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
5828 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
5829 * syntax.c (scan_words, Fforward_comment, scan_lists,
5830 Fbackward_prefix_characters):
5831 * font-lock.c (find_context):
5832 Use them to instrument syntax caching.
5833 * syntax.c (struct syntax_cache_statistics, scs_statistics,
5834 syntax_cache_statistics_function_names): New type and variables.
5835 * syntax.c (update_syntax_cache): Update and report statistics.
5837 [Major syntax cache optimizations]
5839 syntax.c (lookup_syntax_properties): Default off.
5841 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
5842 * syntax.c (update_syntax_cache):
5843 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
5845 [Minor syntax cache optimizations and code clarifications]
5847 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
5848 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
5849 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
5850 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
5851 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
5852 (Code clarification.)
5854 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
5855 scan_lists): Compute code from syncode, use Boolean macros instead
5856 of redundant masking operations. (Code clarification; any decent
5857 compiler can do this optimization.)
5859 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
5862 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
5863 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
5864 use F*_single_property_change instead of F*_extent_change.
5865 Currently F*_single_property_change is _much_ less efficient.
5867 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
5868 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
5869 syntax_cache.object properly, don't leave Qt or Qnil.
5870 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
5871 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
5872 tests for Qt or Qnil.
5874 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
5876 * redisplay.c (point_in_line_start_cache):
5877 * extents.c (print_extent_1):
5880 * extents.c (Fset_extent_property): Document `syntax-table' property.
5882 * extents.h (Fnext_single_property_change): EXFUN it.
5884 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
5886 * search.c (clear_unused_search_regs): New static function.
5890 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
5891 Minor clarifications in comments.
5893 * regex.c (re_match_2_internal): Ensure no stale submatches.
5895 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
5897 * event-Xt.c (enqueue_focus_event): Add missing prototype.
5899 2002-08-29 Jerry James <james@xemacs.org>
5901 * lisp.h: structrures -> structures.
5903 2002-06-03 Andy Piper <andy@xemacs.org>
5905 * frame.c (frame_conversion_internal): add conversion appropriate
5906 for setting frame dimensions in pixels.
5908 * console.h (struct console_methods): add device-specific widget
5911 * emacs.c (main_1): initialize glyph vars.
5913 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
5914 (handle_focus_event_2): new function. Allow focus to
5915 be set to a particular window and widget.
5916 (enqueue_focus_event): new function. Create a
5917 synthetic focus event.
5918 (emacs_Xt_handle_magic_event): call
5919 handle_focus_event_2.
5921 * frame.c (Fset_frame_pixel_height): new function. Allow
5922 pixel-based sizing. Does the right thing on character-oriented
5924 (Fset_frame_pixel_width): ditto.
5925 (Fset_frame_pixel_size): ditto.
5926 (syms_of_frame): declare.
5928 * general-slots.h: add :vertically-justify and
5929 :horizontally-justify.
5931 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
5932 (mswindows_widget_border_width): new function.
5933 (mswindows_combo_box_instantiate): set border widths.
5934 (console_type_create_glyphs_mswindows): declare.
5937 (check_valid_justification): allow vertical and horizontal
5939 (widget_border_width): new function. Call device methods.
5940 (widget_instance_border_width): ditto.
5941 (logical_unit_height): new function. Determine the height of a
5942 logical-unit. Logical units are intended to provide grid-like
5943 layout for subcontrols in a layout. If the layout is
5944 :vertically-justify top then subcontrols will be positioned on
5945 logical-unit boundaries, thus allowing adjacent subcontrols to
5947 (widget_logical_unit_height): ditto for widgets.
5948 (redisplay_widget): misc cleanup.
5949 (widget_spacing): new function. Call device specific
5950 methods. Intended to be the default gap between adjacent widgets.
5951 (widget_query_geometry): use new spacing functions to determine
5952 appropriate geometry.
5953 (initialize_widget_image_instance): initialize horizontal and
5954 vertical justification.
5955 (widget_instantiate): use logica-units where appropriate for
5956 sizing large widgets.
5957 (button_query_geometry): use widget_instance_border_width.
5958 (tree_view_query_geometry): ditto.
5959 (tab_control_query_geometry): ditto.
5960 (edit_field_query_geometry): new function.
5961 (layout_update): pick up :justify, :horizontally-justify and
5962 :vertically-justify none of which worked previously. :justify is
5963 used as a fallback for both horizontal and vertical justification.
5964 (layout_query_geometry): use logical units to size appropriately.
5965 (layout_layout): ditto.
5966 (Fwidget_logical_to_character_width): new function. Allow users to
5967 convert from logical units to characters so that frame sizes can
5968 be set appropriately.
5969 (Fwidget_logical_to_character_height): ditto.
5970 (syms_of_glyphs_widget): declare.
5971 (image_instantiator_edit_fields): add edit_field_query_geometry.
5972 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
5973 :horizontally-justify.
5974 (specifier_vars_of_glyphs_widget): new function. Declare
5975 Vwidget_border_width which is not yet used.
5977 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
5978 (x_widget_border_width): new function.
5979 (x_widget_instantiate): create a sensible name for widgets.
5980 (console_type_create_glyphs_x): declare x_widget_border_width.
5982 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
5983 (struct Lisp_Image_Instance): add :vertically-justify and
5984 :horizontally-justify.
5985 (LAYOUT_JUSTIFY_TOP): new.
5986 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
5987 (ROUND_UP): new macro. Round argument up to next integral
5990 * redisplay-output.c (redisplay_output_layout): misc formatting.
5992 * symsinit.h: declare specifier_vars_of_glyphs_widget.
5994 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
5996 * XEmacs 21.4.9 "Informed Management" is released.
5998 2002-08-19 Andy Piper <andy@xemacs.org>
6000 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
6003 * realpath.c (xrealpath): normalize drive spec also so that dir
6004 sep chars are not mixed on cygwin.
6006 2002-08-06 Jerry James <james@xemacs.org>
6008 * window.c (Fsplit_window): Count only half of the divider width
6009 against the left window when splitting horizontally.
6011 2002-06-24 Andy Piper <andy@xemacs.org>
6013 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
6014 toolbar was cleared.
6016 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
6017 function. Split out from mswindows_output_frame_toolbars.
6018 (mswindows_output_frame_toolbars): move clear pieces to
6019 mswindows_output_frame_toolbars.
6021 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
6022 out from gtk_output_frame_toolbars.
6023 (gtk_output_frame_toolbars): move clear pieces to
6024 gtk_clear_frame_toolbars.
6026 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
6027 the frame is cleared. How this ever worked before is a mystery.
6028 (x_output_frame_toolbars): Only output toolbars.
6029 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
6031 * gutter.c (update_gutter_geometry):
6032 Mark frame layout changed.
6033 (update_frame_gutter_geometry, update_frame_gutters):
6034 Respect frame_layout_changed.
6036 * console.h (struct console_methods): add
6037 clear_frame_toolbars_method.
6039 * redisplay.c (redisplay_frame): call
6040 update_frame_toolbars_geometry and re-order update_frame_toolbars.
6042 * toolbar.h: declare update_frame_toolbars_geometry.
6044 * toolbar.c (update_frame_toolbars_geometry): new function. Split
6045 out from update_frame_toolbars. Call clear_frame_toolbars.
6046 (update_frame_toolbars): only output, do not change geometry.
6048 * redisplay.c: add frame_layout_changed.
6050 * redisplay.h: add frame_layout_changed.
6051 (CLASS_RESET_CHANGED_FLAGS): set it.
6052 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
6053 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
6054 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
6056 * device.h (struct device): add frame_layout_changed.
6057 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
6059 * frame.h (struct frame): add frame_layout_changed.
6060 (MARK_FRAME_LAYOUT_CHANGED): new.
6062 2002-06-30 Mike Alexander <mta@arbortext.com>
6064 * event-msw.c (mswindows_need_event): Don't wait for a new message
6065 if the queue is not empty. Suggested by Paul Moore.
6067 2002-06-12 Andy Piper <andy@xemacs.org>
6069 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
6070 for printing on accurately.
6072 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
6074 * event-msw.c (mswindows_wnd_proc): Add a handler for the
6075 WM_ACTIVATE message. Make sure that the frame is visible if the
6076 window is visible. This seemss to fix the problem where XEmacs
6077 appears to freeze after switching desktops with certain virtual
6079 (debug_output_mswin_message): Added code to output message
6080 parameters for WM_WINDOWPOSCHANGED,
6081 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
6083 2002-05-25 Andy Piper <andy@xemacs.org>
6085 * select-x.c (vars_of_select_x): Fix docstring of
6086 x-selection-strict-motif-ownership
6088 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6090 * keymap.c (get_keymap):
6091 Add comment about do_autoload GCPROs own args.
6093 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6095 * bytecode.c (execute_optimized_program): check_opcode ifdef
6096 ERROR_CHECK_BYTE_CODE.
6098 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6100 Thanks to Ben Wing and Michael Sperber.
6102 * eval.c (Fcommand_execute):
6105 (Fmacroexpand_internal):
6106 (function_argcount):
6107 callint.c (Fcall_interactively):
6108 Add comment about do_autoload GCPROs own args.
6110 * (do_autoload): GCPRO both args as well as local Lisp_Object.
6112 * eval.c (Ffuncall): Extra braces to placate GCC.
6114 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
6116 * backtrace.h (grow_specpdl):
6118 * EmacsFrame.c (EmacsFrameSetValues):
6119 * eval.c (grow_specpdl):
6120 * ExternalShell.c (hack_event_masks_1):
6121 * glyphs-x.c (convert_EImage_to_XImage):
6122 (x_finalize_image_instance):
6123 * ralloc.c (page_size):
6125 * xgccache.c (gc_cache_hash):
6126 Fix unsigned comparison warnings.
6128 2002-07-29 Jerry James <james@xemacs.org>
6130 * lread.c (locate_file): Any nonnegative return value indicates
6131 success if MODE is nonnegative.
6133 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
6135 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
6138 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
6140 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
6142 * dumper.c (pdump_get_indirect_count):
6143 (pdump_scan_by_alignment):
6144 (pdump_dump_root_struct_ptrs):
6145 (pdump_dump_rtables):
6146 (pdump_dump_root_objects):
6148 * nas.c (WaveOpenDataForReading):
6149 * fns.c (print_bit_vector):
6150 * font-lock.c (SINGLE_SYNTAX_STYLE):
6151 * glyphs.c (check_for_ignored_expose):
6152 (find_matching_subwindow):
6154 * imgproc.c (get_histogram):
6155 * redisplay.c (point_in_line_start_cache):
6156 * redisplay-output.c (redisplay_unmap_subwindows):
6157 * symbols.c (defsymbol_massage_name_1):
6158 (defkeyword_massage_name):
6159 (deferror_massage_name_and_message):
6160 * redisplay-x.c (x_output_string):
6161 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
6162 * frame.h (struct frame):
6163 * filelock.c (current_lock_owner):
6164 * doprnt.c (emacs_doprnt_1):
6165 * lisp.h (struct Lisp_Bit_Vector):
6169 2002-02-13 Ben Wing <ben@xemacs.org>
6171 * event-stream.c (reset_key_echo):
6172 * event-stream.c (reset_this_command_keys):
6173 * event-stream.c (execute_command_event):
6174 If console is dead as a result of C-x 5 0, then post-command stuff
6175 needs to be careful and do only non-console-specific stuff.
6177 2002-07-01 Mike Sperber <mike@xemacs.org>
6179 * process-unix.c (unix_send_process): Mark coding_outstream as
6180 non-open upon SIGPIPE.
6182 * event-stream.c (Fnext_event): Reorder switch cases to something
6185 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
6187 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
6188 Don't bogusly reinitialize ascii_character property.
6190 2002-07-08 Mike Sperber <mike@xemacs.org>
6192 * process.c (Fstart_process_internal): Do error checking before we
6193 fork off the child, so the child can't muck with the state of the
6196 2002-07-08 Mike Sperber <mike@xemacs.org>
6198 * ralloc.c (init_ralloc): Allocate properly for pdump.
6200 2002-06-12 Andy Piper <andy@xemacs.org>
6202 * glyphs.c (query_string_geometry): check the string.
6204 * glyphs-widget.c (widget_logical_unit_height): cope with nil
6207 2002-06-17 Jerry James <james@xemacs.org>
6209 * sysdll.c: Remove RTLD_GLOBAL initialization.
6210 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
6212 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
6214 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
6216 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
6218 * sysdep.c (sys_rename): Make sys_rename work for the case where
6219 Windows rename sets errno to EACCES if target file exists.
6221 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
6223 * device-msw.c (mswindows_handle_page_setup_dialog_box):
6224 Fix detection of metric units to work on Win95
6226 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
6228 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
6230 2002-04-25 Andy Piper <andy@xemacs.org>
6232 * redisplay.c (create_text_block): Remove extra comment trailer.
6234 2002-04-24 Andy Piper <andy@xemacs.org>
6236 * redisplay.c (create_text_block): Don't actually add propagation
6237 data if the line ends after we have added a glyph.
6239 2002-04-22 Andy Piper <andy@xemacs.org>
6241 * extents.c (extent_fragment_update): check for glyphs we have
6242 previously displayed.
6243 * extents.c (print_extent_1): warning removal.
6244 * extents.h: change prototype.
6245 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
6246 widths correctly for wide glyphs.
6247 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
6248 * redisplay.c (prop_type): add PROP_GLYPH.
6249 * redisplay.c (struct prop_block): add glyph type
6250 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
6251 to the propagation data.
6252 * redisplay.c (create_text_block): if there is a glyph in the
6253 propagation data use it to salt extent_fragment_update.
6254 * redisplay.c (create_string_text_block): ditto.
6256 2002-04-13 Nix <nix@esperi.demon.co.uk>
6258 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
6259 * redisplay-output.c (compare_runes): Compare them.
6260 * redisplay.c: Update copyright date.
6261 * redisplay.c (pos_data): Add need_baseline_computation field.
6262 * redisplay.c (add_glyph_rune): Update ascent, descent, and
6263 need_baseline_computation; zero yoffset. Set max_pixmap_height
6264 for all pixmaps, not just automatically positioned ones.
6265 * redisplay.c (calculate_yoffset): New, compute yoffset values.
6266 * redisplay.c (calculate_baseline): New, compute textual baseline.
6267 * redisplay.c (add_glyph_rune): Call them.
6268 * redisplay.c (create_text_block): Likewise.
6269 * redisplay.c (create_overlay_glyph_block): Likewise.
6270 * redisplay.c (add_margin_runes): Likewise.
6271 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
6273 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
6274 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
6275 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
6276 * redisplay-msw.c (mswindows_output_string): Likewise.
6277 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
6278 * redisplay-gtk.c (gtk_output_display_block): Likewise.
6279 * redisplay-x.c (x_output_display_block): Likewise.
6281 2002-03-28 Ben Wing <ben@xemacs.org>
6283 * redisplay.c: Fixed bug in redisplay
6284 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
6285 and down of the lines, since they're bigger than the line
6286 size. (It was seen most obviously when there's a horizontal scroll
6287 bar, e.g. do C-h a glyph or something like that.) The problem was
6288 that the glyph-contrib-p setting on glyphs was ignored even if it
6289 was set properly, which it wasn't until now.
6291 2002-04-24 Andy Piper <andy@xemacs.org>
6293 * lisp.h (Dynarr_end): Fix definition.
6295 2002-02-06 Adrian Aichner <adrian@xemacs.org>
6297 * redisplay.c (mark_redisplay): Remove call to
6298 update_frame_window_mirror.
6300 2001-11-15 Andy Piper <andy@xemacs.org>
6302 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
6305 2002-02-13 Andy Piper <andy@xemacs.org>
6307 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
6308 we did in fact enqueue the XM_MAPFRAME event.
6310 2002-01-15 Adrian Aichner <adrian@xemacs.org>
6312 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
6313 to fix problem switching between virtual desktops under virtuawin
6314 virtual window manager.
6316 2001-07-30 Adrian Aichner <adrian@xemacs.org>
6318 * event-msw.c: Typo fix.
6319 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
6320 magic XM_MAPFRAME event has been sent.
6322 2001-11-23 Andy Piper <andy@xemacs.org>
6324 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
6326 2001-11-21 Andy Piper <andy@xemacs.org>
6328 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
6329 mouse events outside the frame.
6331 2002-03-20 Andy Piper <andy@xemacs.org>
6333 * menubar-msw.c (mswindows_popup_menu): warning removal.
6334 * dialog-msw.c (dialog_popped_down): ditto.
6336 2001-12-11 Andy Piper <andy@xemacs.org>
6338 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
6339 * dialog-msw.c (mswindows_make_dialog_box_internal): set
6341 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
6342 * menubar-msw.c (mswindows_handle_wm_command): ditto.
6343 * menubar-msw.c (mswindows_popup_menu): ditto.
6345 2001-10-29 Andy Piper <andy@xemacs.org>
6347 * dialog-msw.c (handle_directory_dialog_box): quit if the user
6350 2002-01-03 Andy Piper <andy@xemacs.org>
6352 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
6356 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
6358 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
6359 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
6360 * device-msw.c (mswindows_handle_page_setup_dialog_box):
6361 Detect and handle case where machine is set up for metric units
6363 2002-04-02 Andy Piper <andy@xemacs.org>
6365 * dired-msw.c (mswindows_get_files):
6366 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
6367 completely handled by XEmacs. Suggested by Thomas Vogler
6368 <mail@thomas-vogler.de>.
6370 2001-11-14 Andy Piper <andy@xemacs.org>
6372 * nt.c (REG_ROOT): change registry key to XEmacs.
6374 2002-04-27 Andy Piper <andy@xemacs.org>
6376 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
6378 2002-04-26 Andy Piper <andy@xemacs.org>
6380 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
6383 2002-03-14 Mike Alexander <mta@arbortext.com>
6385 * event-msw.c (mswindows_unwait_process): New, remove process from
6387 * process-nt.c (nt_finalize_process_data): Call
6388 mswindows_unwait_process
6389 * console-msw.h: Declare mswindows_unwait_process
6391 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
6393 * editfns.c (Fdecode_time):
6394 (Fformat_time_string):
6395 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
6396 (make_time): Warning elimination (change arg name).
6398 2001-11-24 Andy Piper <andy@xemacs.org>
6400 * window.c (Fsplit_window): Doc return type.
6402 2002-04-01 Andy Piper <andy@xemacs.org>
6404 * emacs.c (Fkill_emacs): Only output message box in interactive
6407 2002-04-26 Andy Piper <andy@xemacs.org>
6409 * config.h.in: pull in 21.5.x change to stop alloca warnings under
6412 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
6414 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
6417 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
6419 * XEmacs 21.4.8 "Honest Recruiter" is released.
6421 2002-05-07 Nix <nix@esperi.demon.co.uk>
6423 Supersedes 2002-04-17 patch.
6425 * process.h (PROCESS_LIVE_P): Use the process status as
6426 evidence of health, not the state of the input stream.
6427 (PROCESS_READABLE_P): Say if the process is readable
6428 from. (It may be dead nonetheless.)
6429 (CHECK_READABLE_PROCESS): Test for that condition.
6431 * process.c (create_process): Use PROCESS_READABLE_P.
6432 (read_process_output, set_process_filter): Likewise.
6434 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
6435 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
6437 This code is #if 0'd, this is not the time to add new functions:
6439 * process.c (Fprocess_readable_p): Report readability status.
6440 * process.c (Qprocess_readable_p): New, associated symbol...
6441 * process.c (syms_of_process): ... initialize it.
6443 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
6445 * XEmacs 21.4.7 "Economic Science" is released.
6447 2002-04-17 Nix <nix@esperi.demon.co.uk>
6449 * process.h (PROCESS_LIVE_P): Use the process status as
6450 evidence of health, not the state of the input stream.
6452 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
6454 * sysdep.c (sys_siglist): change "signum" to "signal"
6456 2001-04-21 Martin Buchholz <martin@xemacs.org>
6458 * s/darwin.h: New file.
6459 Thanks to Greg Parker <gparker@cs.stanford.edu>.
6461 2002-04-23 Andreas Jaeger <aj@suse.de>
6463 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
6464 which use lib64 for 64-bit libs.
6465 (START_FILES): Likewise.
6467 2002-02-11 Mike Sperber <mike@xemacs.org>
6470 (x_IO_error_handler):
6471 (x_init_device): Temporarily keep device in static variable
6472 `device_being_initialized' so we can recover gracefully from
6473 internal XOpenDevice failure. (XOpenDevice is documented to
6474 return NULL on failure, but sometimes calls the IO error handler
6477 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
6479 * dired.c (Ffile_name_all_completions): Change documentation --
6480 remove reference to completion-ignored-extensions.
6481 * dired.c (vars_of_dired): Change documentation for
6482 completion-ignored-extensions -- remove reference to
6483 file-name-all-completions.
6485 2002-03-06 Jerry James <james@xemacs.org>
6487 * emodules.c (emodules_load): Fix multiple loading of same module.
6489 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
6490 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
6491 RTLD_LAZY to avoid incorrect symbol binding when using nested
6492 shared libraries on Solaris.
6494 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
6496 * fileio.c (Ffind_file_name_handler): Improve docstring.
6498 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
6500 * fns.c (Fmapconcat): Improve docstring.
6502 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
6504 * device-gtk.c: Add prototype for
6505 emacs_gtk_selection_clear_event_handle.
6506 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
6507 selection. Setup signal handler for "selection_clear_event"
6508 (emacs_gtk_selection_clear_event_handle).
6510 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
6511 other applications owning the clipboard (based on
6512 x_handle_selection_clear).
6514 2001-12-23 William M. Perry <wmperry@gnu.org>
6516 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
6518 2002-01-04 Martin Buchholz <martin@xemacs.org>
6520 * keymap.c (define_key_alternate_name): Parenthesize EQ.
6522 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
6524 * XEmacs 21.4.6 "Common Lisp" is released.
6526 2001-12-16 Torsten Duwe <duwe@caldera.de>
6528 * search.c (Freplace_match): Add missing sub-expression functionality.
6530 * buffer.c (decode_buffer): Add a check for pointer type to
6531 decode_buffer, before gcc's CSE optimization reorders a
6532 dereference in front of the allow_string test.
6534 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
6536 * window.c (window_loop): Fix bug that sometimes prevented
6537 window_loop() from iterating across multiple devices. Also, at
6538 Ben's request, changed infloop-detecting code to abort() instead
6539 of silently terminating window_loop().
6541 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
6543 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
6544 * editfns.c (make_time): New function.
6545 (Fencode_time): Use it instead of wasteful_word_to_lisp.
6546 * lisp.h (make_time): Prototype and comment it.
6547 * dired.c (wasteful_word_to_lisp): Deprecate.
6548 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
6550 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
6552 * fileio.c (auto_save_1): Use current coding system, not
6555 2001-11-13 Ben Wing <ben@xemacs.org>
6558 * window.c (window_truncation_on):
6559 * window.c (syms_of_window):
6560 truncate-partial-width-windows should respect the buffer being
6561 displayed, like other redisplay vars.
6563 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
6565 * event-stream.c (Fread_key_sequence): save current buffer.
6567 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
6569 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
6571 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
6573 * alloc.c (lcrecord_stats): Add space for types defined in modules.
6575 2001-10-26 Mike Alexander <mta@arbortext.com>
6577 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
6579 2001-10-25 Andy Piper <andy@xemacs.org>
6582 * dialog-msw.c (handle_directory_proc): new function.
6583 (handle_directory_dialog_box): new fucntion.
6584 (handle_file_dialog_box): use new directory dialog support.
6585 (mswindows_make_dialog_box_internal): ditto.
6586 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
6588 (mswindows_find_frame): make global.
6589 * fileio.c (Fexpand_file_name): build fix.
6590 * general-slots.h: add Qdirectory.
6591 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
6593 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
6594 cygwin not leaving win32 paths unchanged.
6595 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
6596 cygwin runtime to do path conversion.
6597 (Fmswindows_shell_execute): fix cygwin handling of URLs.
6598 (syms_of_win32): add new function.
6599 * window.c (window_loop): build fix.
6601 2001-10-15 Andy Piper <andy@xemacs.org>
6603 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
6605 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
6607 * XEmacs 21.4.5 "Civil Service" is released.
6609 2001-04-08 Danny Colascione <qtmstr@optonline.net>
6611 * glyphs-x.c: Force buffer-tab highlight update when moving the
6612 buffer, avoiding an ugly black border, used for keyboard focus
6613 indication, on a widget that can never have keyboard focus, the
6616 2001-08-30 Daiki Ueno <ueno@unixuser.org>
6618 * process-unix.c (unix_open_multicast_group): Remove too much
6619 conversion between host and network byte order.
6621 2001-09-10 Nix <nix@esperi.demon.co.uk>
6623 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
6624 before replacing them.
6626 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
6629 * src/window.c (undedicate_windows): Use it.
6630 * src/window.h: Add prototype.
6632 2001-09-17 Ben Wing <ben@xemacs.org>
6634 * fileio.c (normalize_filename):
6635 * fileio.c (Fexpand_file_name):
6636 Fix various C++ compile errors in Andy's recent code.
6638 * callint.c (Fcall_interactively):
6639 * editfns.c (Ftemp_directory):
6640 * editfns.c (Fuser_full_name):
6641 * emacs.c (argmatch):
6642 * lread.c (locate_file_map_suffixes):
6643 * redisplay-x.c (x_ring_bell):
6644 Fix sign-compare warnings.
6646 2001-09-08 Andy Piper <andy@xemacs.org>
6648 * fileio.c (normalize_filename): copied from nt.c
6649 * (Ffile_name_directory): enable win32 paths under cygwin.
6650 * (Ffile_name_nondirectory): ditto.
6651 * (directory_file_name): ditto.
6652 * (Fexpand_file_name): ditto.
6653 * (Ffile_truename): ditto.
6654 * (Fsubstitute_in_file_name): ditto.
6655 * (Ffile_name_absolute_p): ditto.
6656 * (Ffile_readable_p): ditto.
6658 2001-09-08 Andy Piper <andy@xemacs.org>
6660 * device-msw.c (mswindows_finish_init_device): remove dde
6662 * device-msw.c (mswindows_init_dde): factor out from
6663 mswindows_finish_init_device()
6664 * device-msw.c (init_mswindows_very_early): new function
6665 initialize but don't enable dde.
6666 * emacs.c (main_1): call init_mswindows_very_early.
6668 * event-msw.c (mswindows_dde_callback): only execute when we are
6670 * symsinit.h: declare init_mswindows_very_early.
6672 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6674 [sjt: This has been in 21.5 for months with no complaints.]
6676 * console.h (struct console_methods): Added flags member.
6677 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
6678 (CONMETH_IMPL_FLAG):
6679 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
6680 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
6682 * device.c (window_system_pixelated_geometry): Use the above macros.
6684 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
6685 implememntation flag.
6686 * device.h (DEVICE_DISPLAY_P): Use it.
6688 * frame.c (delete_frame_internal): Use the above macro.
6690 * redisplay.c (redisplay_device): Use it.
6691 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
6692 (redisplay_frame): Ditto.
6694 * device-msw.c (mswindows_device_implementation_flags): Removed.
6695 (msprinter_device_implementation_flags): Removed.
6696 (console_type_create_device_mswindows): Removed references to
6697 implementation_flags methods, set implementation flags here.
6698 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
6700 * device-gtk.c (gtk_device_implementation_flags): Removed method.
6701 (console_type_create_device_gtk): Removed method declaration.
6702 Added commented out statement which semantically matches the
6703 commented out statement in the above removed method.
6705 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
6707 The attached patch fixes a few warnings.
6709 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
6710 * src/frame-gtk.c: guard against GNOME calls in GTK only
6711 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
6712 * src/select-gtk.c: prototype lisp_to_time
6714 2001-06-08 Ben Wing <ben@xemacs.org>
6716 ------ gc-in-window-procedure fixes ------
6719 * alloc.c (struct post_gc_action):
6720 * alloc.c (register_post_gc_action):
6721 * alloc.c (run_post_gc_actions):
6722 * alloc.c (garbage_collect_1):
6723 Create "post-gc actions", to avoid those dreaded "GC during window
6724 procedure" problems.
6727 Abort, clean and simple, when GC in window procedure. We want
6728 to flush these puppies out.
6731 * glyphs-msw.c (finalize_destroy_window):
6732 * glyphs-msw.c (mswindows_finalize_image_instance):
6733 Use a post-gc action when destroying subwindows.
6736 Declare register_post_gc_action().
6739 * scrollbar-msw.c (unshow_that_mofo):
6740 Use a post-gc action when unshowing scrollbar windows, if in gc.
6742 * redisplay.c (mark_redisplay):
6743 Add comment about the utter evilness of what's going down here.
6745 ------ cygwin setitimer fixes ------
6747 * Makefile.in.in (sheap_objs):
6748 * Makefile.in.in (profile_objs):
6749 * Makefile.in.in (objs):
6750 Compile profile.c only when HAVE_SETITIMER.
6752 * nt.c (mswindows_sigset):
6753 * nt.c (mswindows_sighold):
6754 * nt.c (mswindows_sigrelse):
6755 * nt.c (mswindows_sigpause):
6756 * nt.c (mswindows_raise):
6757 * nt.c (close_file_data):
6761 Move setitimer() emulation to win32.c, because Cygwin needs it too.
6764 * profile.c (Fstart_profiling):
6765 * profile.c (Fstop_profiling):
6766 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
6767 instead of just plain setitimer().
6770 * signal.c (set_one_shot_timer):
6772 Define qxe_setitimer() as an encapsulation around setitimer() --
6773 call setitimer() directly unless Cygwin or MS Win, in which case
6774 we use our simulated version in win32.c.
6777 * systime.h (struct itimerval):
6778 * systime.h (ITIMER_REAL):
6779 Prototype mswindows_setitimer() and qxe_setitimer(). Long
6780 comment about "qxe" and the policy regarding encapsulation.
6783 * win32.c (setitimer_helper_proc):
6784 * win32.c (setitimer_helper_period):
6785 * win32.c (setitimer_helper):
6786 * win32.c (mswindows_setitimer):
6787 Move setitimer() emulation here, so Cygwin can use it.
6788 Rename a couple of functions and variables to be longer and more
6789 descriptive. In setitimer_helper_proc(), send the signal
6790 using either mswindows_raise() or (on Cygwin) kill(). If for
6791 some reason we are still getting lockups, we'll change the kill()
6792 to directly invoke the signal handlers.
6794 ------ windows shell fixes ------
6798 Comments about how these two files must die.
6800 * callproc.c (init_callproc):
6801 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
6802 not just COMSPEC. (more correct and closer to FSF.) Don't
6803 force a value for SHELL into the environment. (Comments added
6804 to explain why not.)
6806 * nt.c (init_user_info):
6807 Don't shove a fabricated SHELL into the environment. See above.
6809 2001-06-01 Ben Wing <ben@xemacs.org>
6811 * Makefile.in.in (ldflags):
6812 eliminate that pesky "defaulting to 00401000" warning.
6816 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
6818 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
6819 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
6821 2001-04-24 Jerry James <james@xemacs.org>
6823 * faces.h: pass parameters to Fadd_spec_to_specifier in the
6826 2001-06-01 Ben Wing <ben@xemacs.org>
6828 * event-msw.c (debug_mswin_messages):
6829 conditionalize the messages that were causing compile errors.
6830 (if only macros could generate #ifdef statements ...)
6832 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
6834 * XEmacs 21.4.4 "Artificial Intelligence" is released.
6836 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
6838 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
6840 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
6842 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
6843 * process-unix.c (unix_canonicalize_host_name):
6844 sysdep.c (init_system_name):
6845 Use it to conditionally support IPv6 canonicalization.
6847 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
6850 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
6852 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
6854 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
6855 attempt is made to scroll when no scroll bar is available.
6857 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
6859 * input-method-motif.c (XIM_delete_frame): New callback.
6860 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
6861 got deleted from 21.4.3.)
6863 2001-06-01 Ben Wing <ben@xemacs.org>
6865 * nt.c (mswindows_utime):
6866 * nt.c (close_file_data):
6867 fix off-by-one-indirection error.
6869 2001-05-29 Adrian Aichner <adrian@xemacs.org>
6871 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
6872 because set_file_times() now takes Lisp_Object path, instead of
6874 * nt.c: Include buffer.h.
6875 * nt.c (convert_from_time_t): New.
6876 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
6877 not set mtime correctly.
6878 * nt.h: Declare mswindows_utime().
6879 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
6880 path, instead of char*.
6881 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
6883 2001-05-30 Ben Wing <ben@xemacs.org>
6887 (Stephen, just take all event-msw.c patches. This includes
6888 the "iconify" fix below.)
6891 * event-msw.c (mswindows_dequeue_dispatch_event):
6892 * event-msw.c (assert):
6893 * event-msw.c (emacs_mswindows_quit_p):
6894 * event-msw.c (debug_mswin_messages):
6895 * event-msw.c (debug_output_mswin_message):
6896 * event-msw.c (vars_of_event_mswindows):
6897 Fix yet more problems with C-g handling.
6898 Implement debug-mswindows-events.
6900 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6902 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
6904 2001-05-23 Ben Wing <ben@xemacs.org>
6906 * event-msw.c (winsock_writer):
6907 * event-msw.c (winsock_closer):
6908 prior kludgy code was clobbering the buffer, thinking it was
6909 "unused" space to store an unneeded return value; instead, use
6910 the variable we've already got staring us in the face.
6912 2001-05-17 Andy Piper <andy@xemacs.org>
6914 * sysfile.h: don't assume that file attributes are boolean
6916 2001-05-23 Ben Wing <ben@xemacs.org>
6918 * device-msw.c (msprinter_init_device):
6919 signal an error rather than crash with an unavailable network
6920 printer (from Mike Alexander).
6923 * event-msw.c (struct winsock_stream):
6924 * event-msw.c (winsock_writer):
6925 * event-msw.c (winsock_closer):
6926 * event-msw.c (make_winsock_stream_1):
6927 cleanup headers. fix (hopefully) an error with data corruption
6928 when sending to a network connection.
6930 * fileio.c (Fexpand_file_name): Fix evil code that attempts
6931 to handle the ~user prefix by (a) always assuming we're referencing
6932 ourselves and not even verifying the user -- hence any file with
6933 a tilde as its first char is invalid! (b) if there wasn't a slash
6934 following the filename, the pointer was set *past* the end of
6935 file and we started reading from uninitialized memory. Now we
6936 simply treat these as files, always.
6938 * buffer.c (common_init_complex_vars_of_buffer): comment change.
6940 2001-05-19 Ben Wing <ben@xemacs.org>
6942 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
6945 * process-nt.c (vars_of_process_nt):
6946 remove unused mswindows-quote-process-args. rec for 21.4.
6948 2001-05-12 Ben Wing <ben@xemacs.org>
6950 * event-msw.c (mswindows_dde_callback):
6951 * event-msw.c (mswindows_wnd_proc):
6952 eliminate cygwin warnings.
6954 2001-05-06 Ben Wing <ben@xemacs.org>
6958 * device-msw.c (print_dialog_worker):
6959 * device-msw.c (mswindows_handle_print_dialog_box):
6960 * device-msw.c (syms_of_device_mswindows):
6961 * dialog-msw.c (mswindows_make_dialog_box_internal):
6963 implement printing the selection when it's selected.
6965 2001-05-20 Drazen Kacar <dave@arsdigita.com>
6967 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
6969 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
6971 * lisp.h (EMACS_INT_MAX): This should be one bit less since
6972 EMACS_INT is signed.
6974 2001-04-15 Michael Lausch <mla@1012surf.net>
6976 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
6977 gtk_widget_request_size() to give scrollbar >0 width for
6980 2001-05-30 William M. Perry <wmperry@gnu.org>
6982 * event-gtk.c: Check for buttons as modifier keys.
6984 2001-05-25 Craig Lanning <CraigL@Knology.net>
6987 Properly find MinGW's <process.h> inside Cygwin's restructured
6988 include directories. Don't try to include <cygwin/version.h>
6989 since we are dropping support for MinGW in versions of Cygwin
6992 Drop support for MinGW in versions of Cygwin before b21.
6994 Properly find MinGW's <process.h> inside Cygwin's restructured
6995 include directories.
6997 Drop support for MinGW in versions of Cygwin before b21.
6999 Even though a.out.h is no longer detected by configure, allow
7000 MinGW to use it until we figure out how to do the job with Win32.
7002 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
7004 * syntax.c (find_start_of_comment):
7005 Fix `unbalanced parentheses' bug when dealing with mixed comment
7006 styles in c++/java/etc. mode
7008 2001-05-29 Mike Alexander <mta@arbortext.com>
7010 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
7011 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
7013 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
7015 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
7017 2001-03-31 Mike Sperber <mike@xemacs.org>
7019 * search.c (Freplace_match): Support FSF-style specification of
7020 match subexpression when applied to a buffer.
7022 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
7024 * event-stream.c (is_scrollbar_event): add missing semicolon
7026 2001-05-22 Isaac Hollander <ysh@mindspring.com>
7028 * Makefile.in.in: Use TAR macro instead of hardcoding
7029 tar. Allows use of GNU tar instead of system tar
7031 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
7033 * event-stream.c (is_scrollbar_event): add missing semicolon
7035 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
7037 * XEmacs 21.4.3 "Academic Rigor" is released.
7039 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
7041 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
7043 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
7045 * buffer.c (Vcase_fold_search): Remove obsolete
7046 comment about non ASCII case-fold-search. This
7047 bug has been fixed by case-table changes.
7049 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
7051 * event-msw.c: Restore include of events-mod.h.
7053 2001-04-22 zhaoway <zw@debian.org>
7055 * event-stream.c (is_scrollbar_event): Noop returning 0 if
7058 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
7060 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
7062 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
7064 * mule-charset.c (Fmake_charset): Add missing else.
7066 2001-04-23 Ben Wing <ben@xemacs.org>
7068 * event-msw.c (FAKE_MOD_QUIT):
7069 * event-msw.c (mswindows_dequeue_dispatch_event):
7070 * event-msw.c (mswindows_wnd_proc):
7071 * event-msw.c (emacs_mswindows_quit_p):
7072 Get critical quit working.
7074 2001-05-05 Ben Wing <ben@xemacs.org>
7078 * device-msw.c (mswindows_get_default_margin):
7079 * frame-msw.c (mswindows_size_frame_internal):
7080 * frame-msw.c (msprinter_init_frame_1):
7081 * frame-msw.c (vars_of_frame_mswindows):
7082 Change top/bottom margin defaults to 0.5 inches.
7084 2001-05-01 Martin Buchholz <martin@xemacs.org>
7086 Fix link error with gcc 3.0 on Linux.
7087 * terminfo.c (UP): Remove.
7088 * terminfo.c (BC): Remove.
7089 * terminfo.c (PC): Remove.
7090 They weren't used, and in any case, these symbols should be
7091 defined in the *library*.
7093 2001-05-03 Martin Buchholz <martin@xemacs.org>
7095 * s/aix4.h: Fix crash with xlc -O3.
7096 Improve comment explaining how -O3 works.
7098 2001-04-15 Ben Wing <ben@xemacs.org>
7101 * event-stream.c (Fnext_event):
7102 * event-stream.c (is_scrollbar_event):
7103 * event-stream.c (execute_command_event):
7104 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
7105 crash' problem. His fix introduces other problems. We filter
7106 out scrollbar events specifically, making them somewhat invisible
7107 to command-building, and not appearing in `this-command-keys'.
7108 More work is still needed (see comments in event-stream.c), but
7109 this fixes all the major problems.
7111 2001-04-20 Ben Wing <ben@xemacs.org>
7113 * .cvsignore: Added stuff for Windows.
7115 2001-04-28 Ben Wing <ben@xemacs.org>
7117 * buffer.c (Ferase_buffer):
7118 * editfns.c (buffer_insert1):
7119 * editfns.c (Finsert_before_markers):
7120 * editfns.c (Finsert_string):
7121 * editfns.c (Finsert_char):
7122 * editfns.c (Fdelete_region):
7123 * editfns.c (Fwiden):
7124 * editfns.c (Fnarrow_to_region):
7125 remove bogus lines setting zmacs_region_stays to 0.
7127 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
7129 * process-unix.c (unix_open_network_stream): If connect() fails
7130 invalidate file descriptor after closing it.
7132 2001-03-08 Mike Alexander <mta@arbortext.com>
7134 * event-msw.c (mswindows_need_event_in_modal_loop):
7135 Don't dispatch a message if we didn't get one.
7136 (mswindows_need_event):
7137 Terminate the correct process when one exits instead of the first
7138 one on Vprocess_list and look for process termination when in
7139 mswindows_protect_modal_loop.
7141 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
7143 * XEmacs 21.4.1 "Copyleft" is released.
7145 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
7147 * input-method-motif.c (XIM_delete_frame): New callback.
7148 (XIM_init_frame): Register it.
7150 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
7152 * XEmacs 21.4.0 "Solid Vapor" is released.
7154 2001-04-15 Ben Wing <ben@xemacs.org>
7156 * cmdloop.c (call_command_loop):
7157 Fix braino in bit-rotting code.
7159 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
7161 * extents.c (Fset_extent_endpoints): Force creation of extent info
7162 in buffer_or_string.
7164 * extents.c (process_extents_for_insertion_mapper): Correctly
7165 check for open-open zero-length extents.
7167 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
7169 * lisp.h: New typedefs Memory_count, Element_count.
7172 Sign-compare warning elimination: several unsigned -> signed.
7173 Based on work by Ben Wing <ben@xemacs.org>.
7175 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
7177 * XEmacs 21.2.47 "Zephir" is released.
7179 2001-04-02 Jan Vroonhof <jan@xemacs.org>
7181 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
7183 2001-04-03 Mike Sperber <mike@xemacs.org>
7185 * search.c: Revert previous patch due because of release.
7187 2001-03-30 Ben Wing <ben@xemacs.org>
7190 Add missing killpg prototype.
7193 Add a comment about fixing problems when a new entry is added
7196 * frame-msw.c (mswindows_init_frame_1):
7197 Fix compile warnings.
7199 * menubar.c (vars_of_menubar):
7200 Provide `menu-accelerator-support' to indicate that we properly
7201 support %_ in menu specifications, so that package code can
7202 conditionalize on this (and remove %_ from menu specifications
7207 * scrollbar-msw.c (can_scroll):
7209 Fix handling of mouse wheel under Windows to follow standards --
7210 now scrolls window under pointer, not selected window.
7212 2001-03-31 Mike Sperber <mike@xemacs.org>
7214 * search.c (Freplace_match): Support FSF-style specification of
7215 match subexpression when applied to a buffer.
7217 2001-03-15 Martin Buchholz <martin@xemacs.org>
7219 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
7220 function to modify KEYMAP, so map over a copy of the hash table.
7222 2001-03-21 Martin Buchholz <martin@xemacs.org>
7224 * XEmacs 21.2.46 "Urania" is released.
7226 2001-03-20 Dan Holmsand <dan@eyebee.com>
7228 * realpath.c (xrealpath): Make file-truename work with symlinks to
7229 /cygdrive paths on cygwin. Always lowercase drive-letters on
7231 (cygwin_readlink): Don't try to find canonical filename unless
7234 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
7236 * ChangeLog: Log GTK merge.
7242 Revert gratuitous whitespace changes from GTK merge.
7244 * emacs.c: Document end of complex #ifdef @ l. 1495.
7247 2001-03-12 Andy Piper <andy@xemacs.org>
7249 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
7250 have to do likewise.
7252 2001-03-12 Andy Piper <andy@xemacs.org>
7254 * sysdep.c: we only support mingw now.
7256 2001-03-09 Andy Piper <andy@xemacs.org>
7258 * unexcw.c (copy_executable_and_dump_data_section): making approx
7259 overrun a warning only.
7261 2001-03-10 William M. Perry <wmperry@aventail.com>
7263 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
7264 satisfy Stephen's identical-after-cpp plea.
7266 2001-03-02 Ben Wing <ben@xemacs.org>
7269 * cmds.c (Fforward_char):
7273 Augment documentation of the most common motion commands to make
7274 note of the shifted-motion support.
7276 2001-03-02 Ben Wing <ben@xemacs.org>
7278 * nt.c (mswindows_fstat):
7279 * nt.c (mswindows_stat):
7280 * search.c (boyer_moore):
7281 Fix compile warnings under Windows.
7283 * sysdep.c (sys_readdir):
7284 Fix buggy filename-conversion code under Mule.
7286 2001-03-09 William M. Perry <wmperry@aventail.com>
7308 * redisplay-output.c:
7314 The Great GTK Merge.
7321 * emacs-widget-accessors.c:
7335 * native-gtk-toolbar.c:
7346 The Great GTK Merge: new files.
7348 2001-02-26 Ben Wing <ben@xemacs.org>
7350 Reapplied Lstream change.
7352 2001-02-26 Ben Wing <ben@xemacs.org>
7354 Undid the last change, since it is more controversial than I
7355 thought. It should be back in at some point soon.
7357 2001-02-25 Ben Wing <ben@xemacs.org>
7360 * callproc.c (Fold_call_process_internal):
7361 * event-msw.c (ntpipe_slurp_reader):
7362 * event-msw.c (ntpipe_shove_writer):
7363 * event-msw.c (winsock_reader):
7364 * event-msw.c (winsock_writer):
7366 * file-coding.c (detect_eol_type):
7367 * file-coding.c (detect_coding_type):
7368 * file-coding.c (determine_real_coding_system):
7369 * file-coding.c (Fdetect_coding_region):
7370 * file-coding.c (decoding_reader):
7371 * file-coding.c (decoding_writer):
7372 * file-coding.c (mule_decode):
7373 * file-coding.c (Fdecode_coding_region):
7374 * file-coding.c (encoding_reader):
7375 * file-coding.c (encoding_writer):
7376 * file-coding.c (mule_encode):
7377 * file-coding.c (Fencode_coding_region):
7378 * file-coding.c (detect_coding_sjis):
7379 * file-coding.c (decode_coding_sjis):
7380 * file-coding.c (encode_coding_sjis):
7381 * file-coding.c (detect_coding_big5):
7382 * file-coding.c (decode_coding_big5):
7383 * file-coding.c (encode_coding_big5):
7384 * file-coding.c (detect_coding_ucs4):
7385 * file-coding.c (decode_coding_ucs4):
7386 * file-coding.c (encode_coding_ucs4):
7387 * file-coding.c (detect_coding_utf8):
7388 * file-coding.c (decode_coding_utf8):
7389 * file-coding.c (encode_coding_utf8):
7390 * file-coding.c (detect_coding_iso2022):
7391 * file-coding.c (decode_coding_iso2022):
7392 * file-coding.c (encode_coding_iso2022):
7393 * file-coding.c (decode_coding_no_conversion):
7394 * file-coding.c (encode_coding_no_conversion):
7395 * glyphs-x.c (write_lisp_string_to_temp_file):
7396 * gpmevent.c (tty_get_foreign_selection):
7399 * lstream.c (Lstream_flush_out):
7400 * lstream.c (Lstream_adding):
7401 * lstream.c (Lstream_write_1):
7402 * lstream.c (Lstream_write):
7403 * lstream.c (Lstream_raw_read):
7404 * lstream.c (Lstream_read_more):
7405 * lstream.c (Lstream_read):
7406 * lstream.c (Lstream_unread):
7407 * lstream.c (Lstream_fputc):
7408 * lstream.c (stdio_reader):
7409 * lstream.c (stdio_writer):
7410 * lstream.c (filedesc_reader):
7411 * lstream.c (filedesc_writer):
7412 * lstream.c (lisp_string_reader):
7413 * lstream.c (struct fixed_buffer_stream):
7414 * lstream.c (make_fixed_buffer_input_stream):
7415 * lstream.c (make_fixed_buffer_output_stream):
7416 * lstream.c (fixed_buffer_reader):
7417 * lstream.c (fixed_buffer_writer):
7418 * lstream.c (struct resizing_buffer_stream):
7419 * lstream.c (resizing_buffer_writer):
7420 * lstream.c (dynarr_writer):
7421 * lstream.c (lisp_buffer_reader):
7422 * lstream.c (lisp_buffer_writer):
7424 * lstream.h (lstream_implementation):
7425 * lstream.h (struct lstream):
7427 * process-nt.c (nt_send_process):
7428 * process-unix.c (unix_send_process):
7430 Correct Lstream lossage due to mixing of signed and unsigned
7431 quantities. All Lstream uses of size_t and ssize_t are now a
7432 single signed data type Lstream_data_count. This fixes problems
7433 under Windows with sending large quantities of data to a process,
7434 and may well fix other subtle bugs.
7436 2001-02-23 Martin Buchholz <martin@xemacs.org>
7438 * XEmacs 21.2.45 "Thelxepeia" is released.
7440 2001-02-21 Martin Buchholz <martin@xemacs.org>
7442 * lisp-union.h (XSETINT):
7445 Reverse previous change of 2001-02-06.
7447 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
7449 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
7451 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
7452 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
7453 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
7454 * regex.c (POS_AS_IN_BUFFER): removed
7455 * regex.c (re_search_2):
7456 * regex.c (re_match_2):
7457 Don't use an offset of 1 when calculating buffer positions, since
7458 `BI_BUF_BEGV' does it already.
7460 2001-02-18 Wim Dumon <wim@easics.be>
7462 * insdel.c (prepare_to_modify_buffer): Also check for
7463 supersession when clash-detection is enabled.
7465 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
7467 * regex.c (re_match_2_internal):
7468 Convert temp characters from 'const unsigned char' to 're_char'.
7469 Fix crashing bug with extended characters under mule.
7470 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
7471 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
7472 font-lock, pdump, and new syntax-table code.
7473 * syntax.c (find_start_of_comment):
7474 (find_end_of_comment):
7476 Fix crashing bugs involving moving beyond end of buffer.
7477 * syntax.c (find_start_of_comment):
7478 Fixed logic to allow proper detection of cases where the same
7479 character is used to end both a two-char comment start and a
7480 two-char comment end sequence. Fixes `(forward-comment -1)'.
7481 * syntax.c (find_start_of_comment):
7482 Return position just past last comment-end character for all cases
7483 (previously was only done for two-char comment-end sequences).
7484 * syntax.c (forward-comment):
7485 Take value returned from `find_end_of_comment', rather than
7487 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
7488 Properly deal with BUFFERP (syntax_cache.object)
7490 2001-02-17 Martin Buchholz <martin@xemacs.org>
7492 * alloc.c (Fgarbage_collect):
7493 * alloc.c (make_bit_vector_from_byte_vector):
7494 -Wsign-compare-correctness.
7496 2001-02-16 Martin Buchholz <martin@xemacs.org>
7498 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
7499 (XSETCHAR): Likewise.
7500 (XSETOBJ): Likewise.
7502 2001-02-15 Martin Buchholz <martin@xemacs.org>
7504 * mule-canna.c (canna-func-delete_previous):
7505 Rename to canna-func-delete-previous.
7507 2001-02-14 Martin Buchholz <martin@xemacs.org>
7509 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
7511 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
7513 * font-lock.c (find_context): Fix C++ compile errors introduced by
7516 2001-02-13 Martin Buchholz <martin@xemacs.org>
7518 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
7519 pragma, but earlier ones barf on the same pragma.
7521 2001-02-06 Mike Sperber <mike@xemacs.org>
7523 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
7524 `configure-mule-lisp-directory'.
7526 2001-02-12 Martin Buchholz <martin@xemacs.org>
7528 Make sure dump-id.c is compiled in the same way as other .c's.
7529 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
7530 * dump-id.h: Remove.
7531 * emacs.c: Move dump-id.h into dumper.h.
7532 * dumper.h: Move dump-id.h into dumper.h.
7534 Use standard .c.o rule for building dump-id.o.
7535 Remove preprocessor flags from link command.
7536 Add dump-id.o to ${otherobjs} if PDUMP.
7538 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
7540 Port FSF 20.7 syntax table improvements.
7544 Fixups for new syntax table stuff.
7545 * dired.c: Include syntax.c.
7546 (Fdirectory_files): Initialize regex_match_object and
7548 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
7549 and Fget_char_property.
7551 Use ported FSF 20.7 syntax table improvements.
7556 2001-02-09 Martin Buchholz <martin@xemacs.org>
7558 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
7559 Unixware's enum boolean from sys/types.h.
7561 2001-02-10 Martin Buchholz <martin@xemacs.org>
7563 Fix support for building with latest Purify.
7564 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
7565 (PURIFY_FLAGS): Likewise.
7567 2001-02-09 Martin Buchholz <martin@xemacs.org>
7569 * fileio.c (lisp_string_set_file_times): New.
7570 * fileio.c (Fcopy_file): Use it.
7572 (copy-file filename non-ascii-filename t t)
7573 ==> No such file or directory, non-ascii-filename
7575 2001-02-10 Martin Buchholz <martin@xemacs.org>
7577 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
7578 USHRT_MAX seems clearer than ~0 anyways.
7580 2001-02-09 Martin Buchholz <martin@xemacs.org>
7582 dumper improvements. Inspired by Olivier.
7583 * dumper.c (pdump_max_align): New.
7584 * dumper.c (pdump_add_entry): Use pdump_max_align.
7585 * dumper.c (pdump_get_entry_list): Likewise.
7586 * dumper.c (pdump_scan_by_alignment): Likewise.
7587 Don't iterate through unnecessary alignments.
7588 * dumper.c (pdump_file_get): No need to align result of malloc().
7589 * dumper.c (pdump_mallocadr): Remove.
7590 The result of malloc() is guaranteed to be maximally aligned.
7591 * dumper.c: s/elmt/elt/g;
7592 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
7593 * dumper.c (pdump_alert_undump_object): Likewise.
7594 * dumper.c (pdump_align_table):
7595 Don't support alignments > 64.
7596 Store ALIGNOF's, not shift counts, in table.
7598 2001-02-09 Martin Buchholz <martin@xemacs.org>
7600 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
7601 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
7602 * systime.h: Use HAVE_UTIME.
7603 * sysdep.c (struct utimbuf): Remove.
7604 * sysdep.c (set_file_times): Prefer utime() to utimes().
7605 * config.h.in (HAVE_UTIME): New.
7606 * config.h.in (HAVE_UTIME_H): Remove.
7607 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
7609 2001-02-09 Martin Buchholz <martin@xemacs.org>
7611 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
7613 2001-02-08 Martin Buchholz <martin@xemacs.org>
7615 * s/irix6-0.h: Use the standard system memmove, not bcopy.
7617 2001-02-08 Martin Buchholz <martin@xemacs.org>
7619 * XEmacs 21.2.44 "Thalia" is released.
7621 2001-02-06 Martin Buchholz <martin@xemacs.org>
7623 Fixes crashes in kill-emacs on some systems.
7624 * process-unix.c (unix_kill_child_process):
7625 It's OK for kill() to fail with ESRCH.
7627 2001-02-07 Martin Buchholz <martin@xemacs.org>
7629 Contortions to make .gdbinit tricks work on most systems.
7630 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
7631 * alloc.c (dbg_valmask): Make non-const.
7632 * alloc.c (dbg_typemask): Make non-const.
7633 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
7634 * alloc.c (dbg_valbits): Make non-const.
7635 * alloc.c (dbg_gctypebits): Make non-const.
7636 * .gdbinit (decode_object): Make it work with AIX cc.
7638 2001-02-06 Martin Buchholz <martin@xemacs.org>
7640 * elhash.c (make_general_lisp_hash_table):
7641 Use simpler and more efficient calloc to clear entries.
7643 2001-02-07 Martin Buchholz <martin@xemacs.org>
7645 * window.c (window_scroll): Work around an AIX C compiler bug.
7646 Fixes 'scroll-up' does nothing problem with xlC.
7648 2001-02-05 Martin Buchholz <martin@xemacs.org>
7650 * .gdbinit: Remove obsolete comment.
7652 2001-01-31 Mike Alexander <mta@arbortext.com>
7654 * select.c (Fown_selection_internal): Set owned_p for device
7657 2001-02-01 Martin Buchholz <martin@xemacs.org>
7660 "not" cannot be used as a macro name as it is an operator in C++
7661 * config.h.in: Stop #defining `not'.
7662 * chartab.c (check_category_char): not ==> not_p
7663 * chartab.h: Likewise.
7664 * regex.c (re_match_2_internal): Likewise.
7666 2001-02-02 Martin Buchholz <martin@xemacs.org>
7668 * lisp-disunion.h: Fix up comments.
7670 2001-01-31 Martin Buchholz <martin@xemacs.org>
7672 * keymap.c (define_key_check_and_coerce_keysym):
7674 Support mouse-6 and mouse-7 bindings in the obvious way.
7676 2001-02-01 Martin Buchholz <martin@xemacs.org>
7678 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
7680 2001-01-30 Martin Buchholz <martin@xemacs.org>
7682 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
7683 Previous patch missed DEFVAR_INT_MAGIC.
7684 Make sure future DEFVAR_foo use correct types.
7685 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
7686 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
7687 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
7688 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
7689 * (DEFVAR_INT): Likewise.
7690 * redisplay.c (vertical_clip): Should be of type Fixnum.
7691 * redisplay.c (horizontal_clip): Likewise.
7692 * lisp.h (dump_add_opaque_int): New.
7693 (dump_add_opaque_fixnum): New.
7695 2001-01-29 Andy Piper <andy@xemacs.org>
7697 * glyphs-widget.c (check_valid_int_or_function): allow symbols
7698 since they can be eval'ed
7700 2001-01-29 Martin Buchholz <martin@xemacs.org>
7702 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
7703 Oops, XEmacs redefines `class'. Use `typename' instead.
7705 2001-01-28 Martin Buchholz <martin@xemacs.org>
7707 * dumper.c: Fix C++ compile errors.
7709 2001-01-29 Martin Buchholz <martin@xemacs.org>
7711 * tparam.c: Use correct prototypes.
7713 2001-01-28 Martin Buchholz <martin@xemacs.org>
7715 * sysproc.h: #include util.h for NetBSD's openpty.
7717 2001-01-27 Martin Buchholz <martin@xemacs.org>
7719 More 64-bit correctness.
7720 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
7721 Use a typedef `fixnum' for the type used for DEFVAR_INT.
7723 This finally finishes the 64-bit SGI port.
7724 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
7725 * symbols.c: Fix up comments and type casts.
7726 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
7727 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
7728 * symeval.h (Fixnum): New type.
7729 * symeval.h (symbol_value_type): Fix up comment.
7745 * mule-canna.c: A million DEFVAR_INTs here...
7746 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
7759 s/int/Fixnum/g in DEFVAR_INT declarations.
7761 2001-01-26 Martin Buchholz <martin@xemacs.org>
7763 Port pdump to SGI alignment-sensitive environment.
7764 Lisp Object sizeof methods now return aligned sizes. Rely on that.
7765 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
7767 Define and use aligned reading and writing macros.
7768 Use buffered stdio instead of posix i/o for faster dumping.
7769 Eliminate kludgy 256 byte space for header.
7770 Read and write from dump file using structs for alignment safety.
7771 * dumper.c (pdump_align_stream): New.
7772 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
7773 * dumper.c (PDUMP_READ_ALIGNED): New.
7774 * dumper.c (PDUMP_WRITE_ALIGNED): New.
7775 * dumper.c (pdump_static_Lisp_Object): New struct.
7776 * dumper.c (pdump_static_pointer): New struct.
7777 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
7778 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
7779 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
7780 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
7782 * dumper.c (pdump_backtrace):
7783 * dumper.c (pdump_get_indirect_count):
7784 * dumper.c (pdump_register_object):
7785 * dumper.c (pdump_register_struct):
7786 * dumper.c (pdump_reloc_one):
7787 * dumper.c (pdump_scan_by_alignment):
7788 * dumper.c (pdump_dump_from_root_struct_ptrs):
7789 * dumper.c (pdump_dump_opaques):
7790 * dumper.c (pdump_dump_rtables):
7791 * dumper.c (pdump_dump_from_root_objects):
7793 * dumper.c (pdump_load_finish):
7794 Use aligned reading and writing.
7796 * dumper.c (pdump_free): Make static.
7797 * dumper.c (pdump_hFile): Likewise.
7798 * dumper.c (pdump_hMap): Likewise.
7800 2001-01-26 Martin Buchholz <martin@xemacs.org>
7802 * XEmacs 21.2.43 "Terspichore" is released.
7804 2001-01-25 Martin Buchholz <martin@xemacs.org>
7806 Type fiddling for window_config.saved_windows_count
7807 * window.c (struct window_config):
7808 Make saved_windows_count member unsigned.
7809 * window.c (sizeof_window_config_for_n_windows):
7810 Make parameter unsigned.
7811 * window.c (mark_window_config):
7812 * window.c (window_config_equal):
7813 * window.c (free_window_configuration):
7814 * window.c (Fset_window_configuration):
7815 * window.c (count_windows):
7816 * window.c (Fcurrent_window_configuration):
7817 * window.c (reinit_vars_of_window):
7818 Update all callers and users.
7820 2001-01-25 Martin Buchholz <martin@xemacs.org>
7822 Alignment correctness for flexible arrays.
7823 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
7824 Make alignment-correct. Add interesting comments.
7825 * alloc.c (size_vector):
7826 * alloc.c (make_vector_internal):
7827 * alloc.c (make_bit_vector_internal):
7828 * alloc.c (sweep_bit_vectors_1):
7829 * fns.c (size_bit_vector):
7830 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
7831 * window.c (sizeof_window_config_for_n_windows):
7832 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
7834 2001-01-24 Martin Buchholz <martin@xemacs.org>
7836 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
7838 2001-01-23 Andy Piper <andy@xemacs.org>
7840 * select.c (Fown_selection_internal): pass owned_p
7842 * select-msw.c (mswindows_own_selection): New Signature.
7844 * console.h (struct console_methods): add owned_p to
7847 * select-x.c (x_own_selection): pass owned_p
7848 (hack_motif_clipboard_selection): use owned_p
7849 (vars_of_select_x): new variable -
7850 x_selection_strict_motif_ownership.
7852 2001-01-23 Martin Buchholz <martin@xemacs.org>
7854 * specifier.h (specifier_data_offset): Remove pointless parens.
7855 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
7857 2001-01-24 Martin Buchholz <martin@xemacs.org>
7859 Make Lisp_Object sizeof methods be alignment-correct.
7860 pdump must restore objects to the same alignment as the C compiler
7861 assumes. It really matters on SGIs.
7862 * lstream.c (aligned_sizeof_lstream): New.
7863 (sizeof_lstream): Use aligned_sizeof_lstream.
7864 (Lstream_new): Likewise.
7865 * opaque.c (aligned_sizeof_opaque): New.
7866 (sizeof_opaque): Use aligned_sizeof_opaque.
7867 (make_opaque): Likewise.
7868 * specifier.c (aligned_sizeof_specifier): New.
7869 (sizeof_specifier): Use aligned_sizeof_specifier.
7870 (make_specifier_internal): Likewise.
7872 2001-01-23 Martin Buchholz <martin@xemacs.org>
7874 * lstream.h (struct lstream): Use max_align_t for trailing data.
7875 * specifier.h (struct Lisp_Specifier): Likewise.
7877 2001-01-22 Martin Buchholz <martin@xemacs.org>
7879 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
7880 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
7881 (CCL_SUSPEND): Likewise.
7882 (CCL_INVALID_CMD): Likewise.
7883 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
7884 (ccl_driver): Likewise.
7885 (CCL_WRITE_CHAR): Macro hygiene.
7886 (CCL_WRITE_STRING): Macro hygiene.
7888 2001-01-22 Martin Buchholz <martin@xemacs.org>
7890 Port "portable" dumper to SunOS 4 and HP-UX.
7891 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
7892 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
7893 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
7895 2001-01-22 Martin Buchholz <martin@xemacs.org>
7897 * lisp.h (ALIGNOF): A better definition for C++.
7899 2001-01-20 Martin Buchholz <martin@xemacs.org>
7902 Fix printf warnings: int format, long int arg.
7903 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
7904 (PUSH_FAILURE_POINT): Use correct printf formats.
7905 (POP_FAILURE_POINT): Use correct printf formats.
7906 Use do {...} while (0)
7908 2001-01-20 Martin Buchholz <martin@xemacs.org>
7910 * XEmacs 21.2.42 "Poseidon" is released.
7912 2001-01-20 Martin Buchholz <martin@xemacs.org>
7914 * console-x.h: typo fix du jour. Remove #if 0'ed code.
7916 2001-01-19 Martin Buchholz <martin@xemacs.org>
7918 De-kludgify FIXED_TYPE free list frobbing.
7919 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
7920 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
7921 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
7922 * alloc.c (Lisp_Free): New pseudo lisp object definition.
7923 * alloc.c (LRECORD_FREE_P): New.
7924 * alloc.c (MARK_LRECORD_AS_FREE): New.
7925 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
7926 * alloc.c (STRUCT_FREE_P): Deleted.
7927 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
7928 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
7929 * alloc.c (STRING_CHARS_FREE_P): New.
7930 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
7931 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
7932 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
7933 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
7934 * alloc.c (resize_string): Use new definitions.
7935 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
7936 * alloc.c (verify_string_chars_integrity): Use new definitions.
7937 * alloc.c (compact_string_chars): Use new definitions.
7938 * alloc.c: Update monster comments.
7939 * lrecord.h (lrecord_type): Add some new lrecord types for
7942 2001-01-18 Martin Buchholz <martin@xemacs.org>
7944 Improve alignment hackery.
7945 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
7946 (max_align_t): Moved from opaque.h - general purpose.
7947 (ALIGN_PTR): Use size_t, not long.
7948 * opaque.h (max_align_t): Move to lisp.h.
7950 2001-01-18 Norbert Koch <nk@LF.net>
7952 * gui.h: Fix and add prototypes to fix build problems.
7954 2001-01-18 Martin Buchholz <martin@xemacs.org>
7956 temacs is going away, so `dump-temacs' is now a bad name.
7957 * .dbxrc (dump-temacs): Rename to `dmp'.
7958 * .gdbinit (dump-temacs): Rename to `dmp'.
7960 2001-01-17 Andy Piper <andy@xemacs.org>
7962 * glyphs.c (print_image_instance): comment to make martin happy.
7964 * glyphs-x.c (x_redisplay_widget): update faces after a frame
7967 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
7969 (mswindows_tab_control_redisplay): warning suppression.
7971 * glyphs-widget.c (widget_update): re-write to cope with updated
7973 (widget_instantiate): use new gui_item functions.
7974 (tab_control_update): deleted.
7975 (progress_gauge_update): deleted.
7976 (image_instantiator_progress_guage): take out update reference.
7977 (image_instantiator_tree_view): ditto.
7978 (image_instantiator_tab_control): ditto.
7980 * gui.c (widget_gui_parse_item_keywords): new function. Do things
7982 (gui_item_add_keyval_pair): re-write to cope with descriptors and
7983 return whether anything was changed.
7984 (update_gui_item_keywords): as it sounds.
7986 * gui.h: declare widget_gui_parse_item_keywords.
7988 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
7989 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
7991 2001-01-17 Martin Buchholz <martin@xemacs.org>
7993 * XEmacs 21.2.41 "Polyhymnia" is released.
7995 2001-01-16 Didier Verna <didier@xemacs.org>
7997 * glyphs.c (image_instantiate): don't use fallbacks when
7998 instantiating a face's background pixmap by inheritance.
8000 2001-01-14 Mike Sperber <mike@xemacs.org>
8002 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
8003 Conditionalize accordingly.
8005 2001-01-16 Martin Buchholz <martin@xemacs.org>
8007 * dumper.c (pdump_file_get): Fix a compiler warning.
8009 2001-01-15 Martin Buchholz <martin@xemacs.org>
8011 Make Purify happy when pdumping.
8012 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
8013 iniitalizing all bits of new lisp object memory.
8014 * symbols.c (Fmake_local_variable): Likewise.
8015 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
8016 * symbols.c (Fdefvaralias): Likewise.
8017 * mule-charset.c (vars_of_mule_charset): Likewise.
8019 2001-01-15 Martin Buchholz <martin@xemacs.org>
8020 Add the `-nd' flag when running pre-dump operations under the debugger.
8021 * .dbxrc (run-temacs): Add `-nd'.
8022 * .dbxrc (update-elc): Likewise.
8023 * .dbxrc (dump-temacs): Likewise.
8024 * .gdbinit (run-temacs): Likewise.
8025 * .gdbinit (check-temacs): Likewise.
8026 * .gdbinit (update-elc): Likewise.
8027 * .gdbinit (dump-temacs): Likewise.
8029 2001-01-14 Martin Buchholz <martin@xemacs.org>
8031 Allow building 64-bit executables on AIX with GNU malloc, e.g.
8032 export OBJECT_MODE=64
8033 configure --pdump --use-union-type=no
8034 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
8035 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
8037 * miscplay.c (sndcnv8U_2mono):
8038 Avoid two uses of `++' in the same expression.
8039 Suppresses a GCC warning.
8041 2001-01-13 Martin Buchholz <martin@xemacs.org>
8043 Make sure future compilers don't miscompile alloc.c.
8045 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
8046 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
8048 2001-01-12 Martin Buchholz <martin@xemacs.org>
8050 * dumper.c: A little post-pdump-rename comment fixup.
8052 2001-01-09 Jerry James <james@eecs.ku.edu>
8054 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
8056 2001-01-13 Martin Buchholz <martin@xemacs.org>
8058 * *.[ch]: Globally rename symbols using the following `pdump-rename'
8062 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
8065 replace_symbol pdump_wire_lists pdump_weak_object_chains
8066 replace_symbol pdump_wire_list dump_add_weak_object_chain
8068 replace_symbol pdump_wires pdump_root_objects
8069 replace_symbol pdump_wire dump_add_root_object
8071 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
8072 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
8074 replace_symbol dumpstructinfos pdump_root_struct_ptrs
8075 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
8076 replace_symbol dumpstructinfo pdump_root_struct_ptr
8077 replace_symbol dumpstruct dump_add_root_struct_ptr
8079 replace_symbol dumpopaque dump_add_opaque
8080 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
8081 replace_symbol dumpopaqueinfos pdump_opaques
8082 replace_symbol dumpopaqueinfo pdump_opaque
8084 replace_symbol nb_structdump nb_root_struct_ptrs
8085 replace_symbol nb_opaquedump nb_opaques
8087 replace_symbol align_table pdump_align_table
8088 replace_symbol dump_header pdump_header
8090 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
8091 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
8094 2001-01-12 Martin Buchholz <martin@xemacs.org>
8096 * s/aix4.h: Keep the C for AIX compiler from overaggressively
8097 optimizing bytecount_to_charcount().
8099 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
8102 (HAVE_DLFCN_H): Removed.
8103 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
8105 2001-01-06 Martin Buchholz <martin@xemacs.org>
8107 Portable dumper maintainability improvements.
8108 * alloc.c (staticpro):
8109 * alloc.c (staticpro_nodump):
8110 * alloc.c (garbage_collect_1):
8111 * alloc.c (reinit_alloc_once_early):
8112 * alloc.c (init_alloc_once_early):
8113 * alloc.c: Move dumper functions to alloc.c.
8114 * dumper.c (pdump_backtrace):
8115 * dumper.c (pdump_dump_structs):
8116 * dumper.c (pdump_dump_opaques):
8117 * dumper.c (pdump_dump_rtables):
8118 * dumper.c (pdump_dump_wired):
8120 * dumper.c (pdump_load_check):
8121 * dumper.c (pdump_load_finish):
8122 * dumper.c (pdump_file_unmap):
8123 * dumper.c (pdump_file_get):
8124 * dumper.c (pdump_resource_free):
8125 * dumper.c (pdump_resource_get):
8126 * dumper.c (pdump_file_free):
8127 * dumper.c (pdump_file_try):
8128 * dumper.c (pdump_load):
8129 Remove fixed size limits on staticpro(), staticpro_nodump(),
8130 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
8131 Remove custom code for dumping lrecord_implementations_table - use
8133 Remove (most of the) custom code for dumping staticpros - dump it
8134 like any other dynarr.
8136 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
8137 * dumper.c: Moved functions from alloc.c.
8138 * alloc.c (dumpstruct): Moved to dumper.c.
8139 * alloc.c (dumpopaque): Likewise.
8140 * alloc.c (pdump_wire): Likewise.
8141 * alloc.c (pdump_wire_list): Likewise.
8143 * lisp.h (Dynarr_sizeof): New.
8144 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
8145 * lisp.h (Dynarr_end): New. Very slightly C++oid.
8146 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
8148 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
8149 * lisp.h (dumpopaque): ditto.
8150 * lisp.h (pdump_wire): ditto.
8151 * lisp.h (pdump_wire_list): ditto.
8153 2001-01-09 Martin Buchholz <martin@xemacs.org>
8155 * make-src-depend (PrintPatternDeps):
8156 Use `sort' to make output independent of perl version.
8158 2001-01-08 Martin Buchholz <martin@xemacs.org>
8161 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
8162 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
8164 2001-01-03 Didier Verna <didier@xemacs.org>
8166 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
8167 that `focus_frame' is alive before thinking of calling
8168 `redisplay_redraw_cursor' on it.
8170 2001-01-08 Martin Buchholz <martin@xemacs.org>
8172 * XEmacs 21.2.40 is released.
8174 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
8176 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
8178 2001-01-06 Martin Buchholz <martin@xemacs.org>
8180 * alloc.c (dbg_valmask): Make const.
8181 * alloc.c (dbg_typemask): Make const.
8182 * alloc.c (dbg_USE_UNION_TYPE): Make const.
8183 * alloc.c (dbg_valbits): Make const.
8184 * alloc.c (dbg_gctypebits): Make const.
8186 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
8188 * redisplay-x.c (x_bevel_area):
8189 redisplay.h (struct rune):
8190 Typo fixes in comments.
8192 2001-01-05 Andy Piper <andy@xemacs.org>
8194 * glyphs-x.c (x_redisplay_widget): use size changed for offset
8197 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
8199 2001-01-05 Martin Buchholz <martin@xemacs.org>
8201 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
8203 * mule-ccl.c (stack_idx_of_map_multiple):
8204 Non const global data must not be initialized!
8205 Found by MIYASHITA Hisashi.
8207 2001-01-02 Andy Piper <andy@xemacs.org>
8209 * frame.c (change_frame_size): make sure frame size is always
8212 * glyphs.c (image_instance_layout): minor code reuse.
8214 * window.c (Fcurrent_window_configuration): revert previous
8217 2001-01-02 Martin Buchholz <martin@xemacs.org>
8220 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
8222 2000-12-31 Andy Piper <andy@xemacs.org>
8224 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
8225 when widget gets unmapped.
8227 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
8228 function. Make sure widgets losing focus don't just drop it.
8229 (handle_focus_event_1): record the widget with focus.
8231 2000-12-31 Andy Piper <andy@xemacs.org>
8233 * window.c (allocate_window): use
8234 make_image_instance_cache_hash_table.
8235 (make_dummy_parent): ditto.
8236 (Fset_window_configuration): ditto.
8238 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
8240 * glyphs.c (process_image_string_instantiator): use
8242 (get_image_instantiator_governing_domain): ditto.
8243 (normalize_image_instantiator): ditto.
8244 (instantiate_image_instantiator): ditto.
8245 (make_image_instance_1): ditto.
8246 (image_instantiate): ditto. Key on glyph *and* instantiator type.
8247 (instantiator_eq_equal): new function for use with instance hash
8249 (instantiator_eq_hash): ditto.
8250 (make_image_instance_cache_hash_table): create a suitable hash
8251 table for storing image instances.
8253 * elhash.h (hash_table_weakness): new internal weakness type
8254 HASH_TABLE_KEY_CAR_VALUE_WEAK.
8255 declare new functions.
8257 * elhash.c (finish_marking_weak_hash_tables): introduce yet
8258 another weakness type for glyphs.
8259 (make_standard_lisp_hash_table): new function split out from
8260 make_general_lisp_hash_table.
8261 (make_lisp_hash_table): call make_standard_lisp_hash_table.
8262 (hash_table_instantiate): ditto.
8263 (Fmake_hash_table): ditto.
8265 2000-12-31 Martin Buchholz <martin@xemacs.org>
8267 * XEmacs 21.2.39 is released.
8269 2000-12-29 Andy Piper <andy@xemacs.org>
8271 * menubar.c (menubar_visible_p_changed): signal the frame changed.
8273 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
8274 the frame has changed so that we pick up geometry changes such as
8277 2000-12-28 Andy Piper <andy@xemacs.org>
8279 * lastfile.c (my_ebss): make a char array so we can pad the
8280 bss. Fixes cygwin unexec.
8282 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
8284 2000-12-26 Andy Piper <andy@xemacs.org>
8286 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
8287 comments and try and be more precise about a non-/SIGIO world.
8288 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
8291 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
8292 we don't normalize to zero width or height.
8294 2000-12-24 Andy Piper <andy@xemacs.org>
8296 * Makefile.in.in (ldflags): add -mwindows when appropriate.
8298 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
8300 * s/sco5.h: SCO 5 has pty support.
8302 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
8304 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
8305 input-method-xlib.c contains whole contents of input-method-xfs.c,
8306 so we can use input-method-xlib.c's code for USE_XFONTSET
8308 * input-method-xfs.c: removed.
8310 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
8312 * file-coding.h (enum coding_category_type): reorder enumerators to
8313 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
8314 (now one greater than largest real coding_category_type enumerator).
8315 * file-coding.c (coding_category_symbol, coding_category_by_priority,
8316 coding_category_system, fcd_descriptihon_1, decode_coding_category,
8317 Fcoding_category_list, Fset_coding_priority_list,
8318 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
8319 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
8321 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
8323 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
8324 * redisplay-output.c (redisplay_output_window): Clear top of window
8325 when face is changed.
8326 * redisplay-x.c (x_redraw_exposed_window): Call
8327 redisplay_clear_top_of_window.
8328 * redisplay.h: Publish redisplay_clear_top_of_window.
8330 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
8332 * buffer.c (Fkill_buffer): Map over all devices.
8333 * window.c (window_loop): Remove UNSHOW_BUFFER code.
8334 (list_windows): New function.
8335 (list_all_windows): Ditto.
8336 (Freplace_buffer_in_windows): Use them.
8338 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
8340 * database.c (berkdb_subtype): Recognize new subtype `queue'.
8341 (Fopen_database): Use `db_create' instead of `db_open'.
8342 (syms_of_database): Initialize Qqueue.
8344 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
8346 * buffer.c (common_init_complex_vars_of_buffer): Initialize
8347 buffer_local_face_property.
8348 * buffer.h (struct buffer): New member buffer_local_face_property.
8349 * window.c (Fset_window_buffer): Mark window's face as changed
8350 when buffer has buffer local face.
8351 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
8352 * objects.c (color_after_change): Set buffer_local_face_property
8353 when locale of face specifier is buffer.
8354 * objects.c (font_after_change): Ditto.
8355 * objects.c (face_boolean_after_change): Ditto.
8356 * glyphs.c (image_after_change): Ditto.
8358 2000-12-09 Dan Holmsand <dan@eyebee.com>
8360 * nt.c (mswindows_fstat): Report file permissions, volume serial
8361 number, etc. Code adapted from FSF Emacs 20.7.
8363 2000-12-09 Dan Holmsand <dan@eyebee.com>
8365 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
8366 of stat when we don't have symbolic links, to make sure
8367 mswindows_stat is called on mswindows.
8369 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
8371 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
8373 2000-12-12 Martin Buchholz <martin@xemacs.org>
8375 * doprnt.c (emacs_doprnt_1): More printing fixes.
8376 Make printing of numbers compatible with libc and FSF Emacs.
8377 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
8378 Use the system printf to do most of the hard work of formatting,
8379 instead of doprnt_1().
8380 Calculate memory to allocate for format string.
8381 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
8382 (doprnt_1): Cleaner code and documentation.
8384 2000-12-01 Jerry James <james@eecs.ukans.edu>
8386 * Makefile.in.in: Use the loop variable to install headers.
8388 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8390 * window.c (Fsplit_window): Don't invalidate face cache.
8392 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8394 * minibuf.c (Fall_completions): Undo the previous change
8395 which removed checking elements start with space.
8397 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
8399 * mule-canna.c: Didier suppression.
8401 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
8403 * mule-canna.c: rename static unsigned char buf[] to key_buffer
8404 (warning suppression). Add English comment translations.
8406 2000-12-05 Martin Buchholz <martin@xemacs.org>
8408 * unexelfsgi.c (unexec): Better test for mmap failure.
8410 2000-12-05 Martin Buchholz <martin@xemacs.org>
8412 * XEmacs 21.2.38 is released.
8414 2000-12-05 Martin Buchholz <martin@xemacs.org>
8416 * redisplay.c (bar-cursor): Make a user variable.
8418 * symsinit.h: Add init_postgresql_from_environment.
8420 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8422 * regex.c: Convert to clean C.
8424 2000-12-05 Dan Holmsand <dan@eyebee.com>
8427 Don't #include sysfile.h. Revert to duplicating PATH_MAX
8429 (sys_readlink): renamed to system_readlink to avoid conflict with
8430 the other sys_readlink.
8432 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
8434 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
8436 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
8438 * postgresql.c (init_postgresql_from_environment): new function.
8439 (vars_of_postgresql): Move code initializing Lisp variables out and
8440 into init_postgresql_from_environment.
8441 emacs.c (main_1): Call init_postgresql_from_environment if and only
8442 if running a dumped XEmacs.
8444 2000-08-31 Dan Holmsand <dan@eyebee.com>
8446 * buffer.c: Make find-file-compare-truenames default to true on
8449 * realpath.c (win32_abs_start):
8451 (win32_readlink): New functions.
8452 (xrealpath): Return really real filenames on windows.
8454 * fileio.c (Ffile_truename): Make file-truename work on windows.
8456 2000-11-29 Didier Verna <didier@xemacs.org>
8458 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
8459 * faces.c (update_face_cachel_data): use it.
8460 * faces.c (add_face_cachel): use it. Complete background pixmap
8461 frobbing in face cache if `update_face_cachel_data' has not done so.
8463 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
8465 * search.c (string_match_1): Don't set last_thing_searched
8468 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
8470 * buffer.c: Include casetab.h
8471 (common_init_complex_vars_of_buffer): Use new case-table object.
8472 * buffer.h: Include casetab.h
8473 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
8474 (DOWNCASE_TABLE_OF): Ditto.
8475 * bufslots.h: Remove char-tables and add case-table.
8476 * casetab.c: Include casetab.h
8477 (CASE_TABLE_P): Removed.
8478 (mark_case_table): New function.
8479 (allocate_case_table): New function.
8480 (Fcase_table_p): Use new case-table.
8481 (case_table_char): New function.
8482 (Fget_case_table): Ditto.
8483 (Fput_case_table): Ditto.
8484 (Fput_case_table_pair): Ditto.
8485 (Fcopy_case_table): Ditto.
8486 (Fcurrent_case_table): Return case-table.
8487 (Fstandard_case_table): Return case-table.
8488 (Fset_case_table): Fix doc-string.
8489 (set_case_table): Use case-table
8490 (syms_of_casetab): DEFSUBR new functions.
8491 (complex_vars_of_casetab): Set up standard case-table.
8492 * casetab.h: New file.
8493 * editfns.c: Include casetab.h
8494 (Fcompare_buffer_substrings): Use case-table.
8495 * inline.c: Include casetab.h
8496 * lisp.h: Remove bogus extern.
8497 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
8498 * search.c: Include casetab.h
8499 (TRANSLATE_ASCII): Removed.
8500 (TRANSLATE): Unconditionally translate character.
8501 (looking_at_1): Use case-table.
8502 (string_match_1): Ditto.
8503 (fast_string_match): Ditto.
8504 (search_command): Ditto.
8505 (search_buffer): Separate boyer_moore. Check whether
8506 boyer_moore is possible.
8507 (simple_search): New function.
8508 (boyer_moore): Separated from search_buffer. Translate char.
8510 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
8512 * regex.c (RE_TR_ASCII): Removed.
8513 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
8514 (PATFETCH): Call PATFETCH_RAW.
8515 (PATFETCH_RAW): Fetch Emchar.
8516 (PATUNFETCH): Decrement charptr.
8517 (GET_BUFFER_SPACE): Rename b to buf_end.
8519 (BUF_PUSH_2): Ditto.
8520 (BUF_PUSH_3): Ditto.
8521 (EXTEND_BUFFER): Ditto.
8522 (SET_LIST_BIT): Ditto.
8523 (regex_compile): Ditto. Translate non ASCII char.
8524 (compile_range): Ditto.
8525 (re_search_2): Ditto.
8526 (re_match_2_internal): Compare Emchar.
8527 (bcmp_translate): Ditto.
8529 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
8531 * lisp.h (basic char/int typedefs): comment improvement.
8533 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
8535 * emacs.c (main_1): unconditional pdump unstomping; don't save and
8536 unstomp inhibit_site_lisp. Improve comments.
8538 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
8540 * mule-charset.c (Fcharset_property): improve type checking, comments.
8542 2000-11-28 Andy Piper <andy@xemacs.org>
8544 * redisplay-output.c (redisplay_output_subwindow): make sure we do
8545 clipped display for windows in the gutter also.
8546 (redisplay_display_boxes_in_window_p): change semantics of return
8547 codes to be more intuitive.
8549 * gutter.h: declare display_boxes_in_gutter_p.
8551 * gutter.c (display_boxes_in_gutter_p): new function for
8554 2000-11-22 Andy Piper <andy@xemacs.org>
8556 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
8559 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
8561 * callproc.c (Fold_call_process_internal):
8562 * gpm.c (Freceive_gpm_event):
8563 (tty_get_foreign_selection): Might be just warning supression.
8564 * fileio.c (Fwrite_region_internal):
8565 (Fset_visited_file_modtime):
8566 * keymap.c (event_matches_key_specifier_p):
8567 Initialize GCPROed variable.
8569 * menubar-x.c (command_builder_find_menu_accelerator):
8570 Initialize before use.
8572 2000-11-23 Andy Piper <andy@xemacs.org>
8574 * unexcw.c (unexec): make the resulting executable executable.
8576 2000-11-21 Martin Buchholz <martin@xemacs.org>
8578 * doc.c (get_doc_string):
8579 Use size_t, not int, for result of XSTRING_LENGTH.
8581 * cmds.c (Fdelete_char):
8582 * cmds.c (Fpoint_at_eol):
8583 * cmds.c (Fself_insert_command):
8584 Use EMACS_INT, not int, for result of XINT.
8585 Someday, someone will want to insert more than 2**31 identical characters.
8587 * cmds.c (Fdelete_char):
8588 * cmds.c (Fdelete_backward_char):
8589 * syntax.c (Fforward_word):
8590 * syntax.c (Fforward_comment):
8591 Make COUNT argument optional, for consistency with forward-char et al.
8593 2000-11-22 Martin Buchholz <martin@xemacs.org>
8596 * print.c (long_to_string):
8597 Return a useful value: the pointer at end of data written.
8600 Use `static const char * const' for constant strings.
8601 (union printf_arg): Delete `i', `ui' members.
8604 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
8605 Do all printf-ing via the `l' specifier.
8606 Use EMACS_INT instead of int.
8609 2000-11-20 Didier Verna <didier@xemacs.org>
8611 * faces.c (update_face_cachel_data): don't frob the background
8612 pixmap when the window is being created. The face is needed but
8615 2000-11-20 Andy Piper <andy@xemacs.org>
8617 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
8618 messing with a debug environment.
8620 2000-11-20 Martin Buchholz <martin@xemacs.org>
8622 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
8624 2000-11-20 Martin Buchholz <martin@xemacs.org>
8626 * casetab.c (Fcase_table_p): Fix compile error and crash.
8628 2000-11-18 Philip Aston <philipa@mail.com>
8630 * s/cygwin32.h: Cygwin has SVR4-like pty support.
8632 2000-11-18 Martin Buchholz <martin@xemacs.org>
8634 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
8635 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
8637 2000-11-17 Martin Buchholz <martin@xemacs.org>
8639 * config.h.in: Define HAVE_ELF_H if elf.h exists.
8640 * unexelf.c: Use HAVE_ELF_H.
8641 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
8642 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
8643 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
8644 Greg Harrington <greg_harrington@hotmail.com> provided a machine
8646 So this is an unexelfsgi.c from a different line of development.
8648 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
8650 * regex.c (RE_TR_ASCII): New function.
8651 (RE_TRANSLATE): Call it.
8653 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
8655 * buffer.h (TRT_TABLE_OF): Remove assert.
8656 (IN_TRT_TABLE_DOMAIN): Removed.
8658 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
8660 * free-hook.c (log_gcpro):
8661 (show_gcprohist): Add support for GCPRO5.
8663 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
8665 * emacs.c (main_1): Improve -sd error message when --pdump=no.
8667 2000-11-16 Olivier Galibert <galibert@xemacs.org>
8669 * symeval.h: Declare flush_all_buffer_local_cache.
8671 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
8672 (flush_buffer_local_cache): Added.
8673 (flush_all_buffer_local_cache): Added.
8675 * lrecord.h: Remove unused XD_LO_RESET_NIL.
8677 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
8678 (pdump_dump_data): Ditto.
8679 (pdump_reloc_one): Ditto.
8680 (pdump): Remove unused pdump_qnil. Flush buffer local caches
8684 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
8686 * buffer.c: Remove if 0'ed entry.
8687 * buffer.h: Rewrite TRT to use char-table.
8688 * bufslots.h: Remove mirror tables.
8689 * casetab.c: Remove mirror tables.
8690 (CASE_TABLE_P): New macro.
8691 (Fcase_table_p): Element of a case table is string or char-table.
8692 (make_mirror_trt_table): Removed.
8693 (set_case_table): Setup char-table from strings for backward
8695 * dired.c (Fdirectory_files):
8696 * dired-msw.c: (mswindows_get_files):
8697 * lisp.h: Change prototype of re_pattern_buffer.
8698 * regex.c: (RE_TRANSLATE): New macro.
8699 (TRANSLATE_P): Ditto.
8700 Change translate to type RE_TRANSLATE_TYPE.
8701 * regex.h: Define RE_TRANSLATE_TYPE
8702 * search.c (TRANSLATE): New macro.
8703 (TRANSLATE_ASCII): New macro.
8704 Translate table is changed to Lisp_Object.
8705 (signal_failure): Inhibit return.
8707 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
8714 Do UNGCPRO before return.
8716 2000-11-14 Martin Buchholz <martin@xemacs.org>
8718 * XEmacs 21.2.37 is released.
8720 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
8722 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
8723 Add comments about discarded return value.
8725 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
8728 * event-stream.c: Fix comments. Remove some #if 0'ed part.
8730 2000-10-27 Andy Piper <andy@xemacs.org>
8732 * gutter.c (Fset_default_gutter_position): default left and right
8734 (calculate_gutter_size): calculate resonable heuristic for left
8735 and right gutter sizes.
8736 (specifier_vars_of_gutter): change left and right gutter sizes to
8738 (calculate_gutter_size_from_display_lines): new function.
8739 (output_gutter): check for resizing on left and right gutters.
8740 (clear_gutter): don't special case top and left gutters.
8741 (specifier_vars_of_gutter): use new signature for
8742 set_specifier_caching.
8744 * glyphs-x.c (x_redisplay_widget): spelling fix.
8745 * glyphs.c (specifier_vars_of_glyphs):
8746 * menubar.c (specifier_vars_of_menubar):
8747 * redisplay.c (specifier_vars_of_redisplay):
8748 * toolbar.c (specifier_vars_of_toolbar):
8749 * window.c (specifier_vars_of_window):
8750 * scrollbar.c (specifier_vars_of_scrollbar):
8751 (complex_vars_of_scrollbar): use new signature for
8752 set_specifier_caching.
8754 * specifier.c (set_specifier_caching): include recompute flag.
8755 (recompute_one_cached_specifier_in_window): always recompute if
8757 (recompute_one_cached_specifier_in_frame): ditto.
8759 * specifier.h (struct specifier_caching): add recompute flag.
8761 2000-10-24 Andy Piper <andy@xemacs.org>
8763 * unexcw.c (copy_executable_and_dump_data_section): add new
8764 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
8767 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8769 * console-x.h (x_device): New member modifier_release_time.
8770 * event-Xt.c (x_handle_sticky_modifiers):
8771 Bound interval modifier keys are sticky.
8772 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
8773 * events.h: extern it.
8775 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8777 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
8779 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8781 * event-stream.c (execute_command_event): Preserve current_events
8782 and the like when event is misc-user-event.
8783 Inhibit quit during the call to maybe_echo_keys.
8785 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
8787 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
8788 symlink when buffer is killed.
8789 (inhibit_clash_detection): New variable.
8791 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8793 * console.c (Fset_input_method): Trigger redisplay on tty.
8795 2000-11-07 Martin Buchholz <martin@xemacs.org>
8797 * process.c (Fprocess_status): Revert to previous behavior:
8798 (process-status "nosuchprocess") ==> nil
8800 2000-11-06 Martin Buchholz <martin@xemacs.org>
8802 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
8803 Work around another GCC 2.95.2 optimizer bug.
8805 2000-11-02 Martin Buchholz <martin@xemacs.org>
8807 * process.c (Fget_process): Use LIST_LOOP_2.
8808 (kill_buffer_processes): Use LIST_LOOP_2.
8810 * minibuf.c (Fall_completions):
8811 Delete old non-functional code for FSF fourth argument.
8813 * frame.c (frame_matches_frame_spec):
8814 Renamed from `frame_matches_frametype'. Update all callers.
8815 (device_matches_device_spec):
8816 Renamed from 'device_matches_console_spec'. Update all callers.
8818 * doc.c (Fsubstitute_command_keys):
8819 Remove buffer overflow crash. Small code cleanups.
8821 * casetab.c (check_case_table): Simpler code.
8823 * window.c (Freplace_buffer_in_windows):
8824 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
8825 (and similar implementation) as Fdelete_windows_on.
8828 * alloc.c (Fmake_list):
8829 * alloc.c (make_vector):
8830 * alloc.c (Fmake_vector):
8831 * alloc.c (make_bit_vector):
8832 * alloc.c (Fmake_bit_vector):
8833 * alloc.c (Fbit_vector):
8834 * alloc.c (Fmake_string):
8835 * alloc.c (Fpurecopy):
8836 * alloc.c (Fmemory_limit):
8838 * buffer.c (Fget_buffer):
8839 * buffer.c (Fkill_buffer):
8840 * buffer.c (complex_vars_of_buffer):
8841 * bytecode.c (Fcompiled_function_stack_depth):
8842 * callint.c (Fprefix_numeric_value):
8844 * event-stream.c (Fread_key_sequence):
8846 * casetab.c (Fcase_table_p):
8847 * casetab.c (check_case_table):
8848 * casetab.c (Fset_case_table):
8849 * casetab.c (Fset_standard_case_table):
8851 * chartab.c (Fchar_table_type):
8852 * chartab.c (Freset_char_table):
8853 * chartab.c (Fget_char_table):
8854 * chartab.c (Fget_range_char_table):
8855 * chartab.c (Fput_char_table):
8856 * chartab.c (Fmap_char_table):
8857 * chartab.c (Fcategory_table_p):
8858 * chartab.c (Fcheck_category_at):
8859 * chartab.c (Fchar_in_category_p):
8860 * chartab.c (Fcategory_table):
8861 * chartab.c (Fcopy_category_table):
8862 * chartab.c (Fset_category_table):
8863 * chartab.c (Fcategory_designator_p):
8864 * chartab.c (Fcategory_table_value_p):
8865 * cmds.c (Fdelete_char):
8866 * cmds.c (Fdelete_backward_char):
8867 * cmds.c (Fself_insert_command):
8868 * cmds.c (Fself_insert_internal):
8869 * console.c (Fvalid_console_type_p):
8870 * console.c (Fcdfw_console):
8871 * console.c (Fconsole_type):
8872 * console.c (Fconsole_name):
8873 * console.c (Fconsole_device_list):
8874 * console.c (Fconsole_on_window_system_p):
8878 * data.c (Fsubr_interactive):
8879 * data.c (Fchar_to_int):
8880 * data.c (Fint_to_char):
8883 * data.c (Fnumber_to_string):
8884 * data.c (Fstring_to_number):
8886 * database.c (mark_database):
8887 * database.c (finalize_database):
8888 * database.c (Fdatabase_live_p):
8889 * database.c (Fdatabasep):
8890 * device-x.c (Fx_get_resource):
8891 * device.c (Fdfw_device):
8893 * dired.c (Ffile_name_completion):
8894 * dired.c (Ffile_name_all_completions):
8895 * dired.c (Fuser_name_completion):
8896 * dired.c (Fuser_name_completion_1):
8897 * dired.c (Fuser_name_all_completions):
8898 * doc.c (Fdocumentation):
8899 * doc.c (Fdocumentation_property):
8900 * doc.c (Fsubstitute_command_keys):
8902 * editfns.c (Fchar_to_string):
8903 * editfns.c (Fstring_to_char):
8904 * editfns.c (Ftemp_directory):
8905 * editfns.c (Finsert_char):
8906 * editfns.c (Fbuffer_substring_no_properties):
8907 * editfns.c (Fnarrow_to_region):
8908 * editfns.c (Fchar_equal):
8909 * editfns.c (Fchar_Equal):
8910 * editfns.c (Ftranspose_regions):
8911 * emacs.c (Fdump_emacs):
8913 * eval.c (Fcommand_execute):
8914 * eval.c (Fautoload):
8915 * eval.c (Fbacktrace):
8916 * eval.c (Fbacktrace_frame):
8918 * events.c (Fcopy_event):
8919 * events.c (Fcharacter_to_event):
8920 * events.c (Fevent_button):
8921 * events.c (Fevent_process):
8923 * extents.c (Fnext_extent_change):
8924 * extents.c (Fextent_property):
8926 * faces.c (Fmake_face):
8928 * file-coding.c (Fencode_shift_jis_char):
8929 * file-coding.c (Fencode_big5_char):
8930 * fileio.c (Ffile_name_directory):
8931 * fileio.c (Ffile_name_nondirectory):
8932 * fileio.c (Ffile_name_as_directory):
8933 * fileio.c (Fdirectory_file_name):
8934 * fileio.c (Ffile_truename):
8935 * fileio.c (Fsubstitute_in_file_name):
8936 * fileio.c (Ffile_modes):
8937 * fileio.c (Fset_file_modes):
8938 * fileio.c (Fset_default_file_modes):
8939 * fileio.c (Fverify_visited_file_modtime):
8940 * floatfns.c (Facos):
8941 * floatfns.c (Fasin):
8942 * floatfns.c (Fatan):
8943 * floatfns.c (Fcos):
8944 * floatfns.c (Fsin):
8945 * floatfns.c (Ftan):
8946 * floatfns.c (Fbessel_j0):
8947 * floatfns.c (Fbessel_j1):
8948 * floatfns.c (Fbessel_jn):
8949 * floatfns.c (Fbessel_y0):
8950 * floatfns.c (Fbessel_y1):
8951 * floatfns.c (Fbessel_yn):
8952 * floatfns.c (Ferf):
8953 * floatfns.c (Ferfc):
8954 * floatfns.c (Flog_gamma):
8955 * floatfns.c (Fexp):
8956 * floatfns.c (Fexpt):
8957 * floatfns.c (Flog):
8958 * floatfns.c (Flog10):
8959 * floatfns.c (Fsqrt):
8960 * floatfns.c (Fcube_root):
8961 * floatfns.c (Facosh):
8962 * floatfns.c (Fasinh):
8963 * floatfns.c (Fatanh):
8964 * floatfns.c (Fcosh):
8965 * floatfns.c (Fsinh):
8966 * floatfns.c (Ftanh):
8967 * floatfns.c (Fabs):
8968 * floatfns.c (Ffloat):
8969 * floatfns.c (Flogb):
8970 * floatfns.c (Fceiling):
8971 * floatfns.c (Ffloor):
8972 * floatfns.c (Fround):
8973 * floatfns.c (Ftruncate):
8974 * floatfns.c (Ffceiling):
8975 * floatfns.c (Fffloor):
8976 * floatfns.c (Ffround):
8977 * floatfns.c (Fftruncate):
8978 * fns.c (Fstring_equal):
8979 * fns.c (Fstring_lessp):
8984 * fns.c (Fsubstring):
8986 * fns.c (Fold_assoc):
8987 * fns.c (assoc_no_quit):
8989 * fns.c (Fold_assq):
8990 * fns.c (assq_no_quit):
8992 * fns.c (Fold_rassoc):
8994 * fns.c (Fold_rassq):
8995 * fns.c (rassq_no_quit):
8996 * fns.c (Fremassoc):
8997 * fns.c (remassoc_no_quit):
8999 * fns.c (remassq_no_quit):
9000 * fns.c (Fremrassoc):
9001 * fns.c (Fremrassq):
9002 * fns.c (remrassq_no_quit):
9004 * fns.c (Fplist_get):
9005 * fns.c (Fplist_put):
9006 * fns.c (Fplist_remprop):
9007 * fns.c (Fplist_member):
9008 * fns.c (Flax_plist_get):
9009 * fns.c (Flax_plist_put):
9010 * fns.c (Flax_plist_remprop):
9011 * fns.c (Flax_plist_member):
9013 * fns.c (Fold_equal):
9015 * fns.c (Fbase64_encode_region):
9016 * fns.c (Fbase64_encode_string):
9017 * fns.c (Fbase64_decode_region):
9019 * frame.c (frame_matches_frame_spec):
9020 * frame.c (device_matches_device_spec):
9021 * frame.c (next_frame):
9022 * frame.c (previous_frame):
9023 * frame.c (Fnext_frame):
9024 * frame.c (Fprevious_frame):
9025 * frame.c (Fframe_property):
9026 * frame.c (Fset_frame_height):
9027 * frame.c (Fset_frame_size):
9031 * glyphs.c (decode_error_behavior_flag):
9032 * glyphs.c (Fmake_image_instance):
9033 * indent.c (Findent_to):
9034 * intl.c (Fignore_defer_gettext):
9035 * keymap.c (Fkeymapp):
9036 * keymap.c (Flookup_key):
9038 * lread.c (Fload_internal):
9039 * lread.c (Feval_buffer):
9040 * lread.c (Feval_region):
9041 * macros.c (Fexecute_kbd_macro):
9042 * marker.c (set_marker_internal):
9043 * marker.c (Fset_marker):
9044 * marker.c (set_marker_restricted):
9045 * marker.c (Fcopy_marker):
9046 * marker.c (noseeum_copy_marker):
9048 * menubar.c (Fpopup_menu):
9050 * mule-charset.c (Fcharset_name):
9051 * mule-charset.c (Fchar_charset):
9052 * mule-charset.c (Fchar_octet):
9053 * mule-charset.c (Fsplit_char):
9054 * mule-wnnfns.c (Fwnn_open):
9055 * mule-wnnfns.c (Fwnn_dict_comment):
9056 * mule-wnnfns.c (Fwnn_quit_henkan):
9057 * mule-wnnfns.c (Fwnn_word_toroku):
9058 * mule-wnnfns.c (Fwnn_word_sakujo):
9059 * mule-wnnfns.c (Fwnn_word_use):
9060 * mule-wnnfns.c (Fwnn_hindo_set):
9062 * objects.c (Fmake_color_instance):
9063 * objects.c (Fmake_font_instance):
9064 * print.c (Fwrite_char):
9066 * process.c (mark_process):
9067 * process.c (print_process):
9068 * process.c (get_process_from_usid):
9069 * process.c (Fprocessp):
9070 * process.c (Fprocess_live_p):
9071 * process.c (Fget_process):
9072 * process.c (Fget_buffer_process):
9073 * process.c (get_process):
9074 * process.c (Fprocess_id):
9075 * process.c (Fprocess_name):
9076 * process.c (Fprocess_command):
9077 * process.c (init_process_io_handles):
9078 * process.c (start_process_unwind):
9079 * process.c (Fstart_process_internal):
9080 * process.c (Fopen_multicast_group_internal):
9081 * process.c (Fset_process_window_size):
9082 * process.c (read_process_output):
9083 * process.c (send_process):
9084 * process.c (Fprocess_tty_name):
9085 * process.c (Fset_process_buffer):
9086 * process.c (Fprocess_buffer):
9087 * process.c (Fprocess_mark):
9088 * process.c (set_process_filter):
9089 * process.c (Fset_process_filter):
9090 * process.c (Fprocess_filter):
9091 * process.c (Fprocess_send_region):
9092 * process.c (Fprocess_send_string):
9093 * process.c (exec_sentinel):
9094 * process.c (Fset_process_sentinel):
9095 * process.c (Fprocess_sentinel):
9096 * process.c (status_notify):
9097 * process.c (Fprocess_status):
9098 * process.c (Fprocess_exit_status):
9099 * process.c (process_send_signal):
9100 * process.c (Fprocess_send_eof):
9101 * process.c (deactivate_process):
9102 * process.c (remove_process):
9103 * process.c (Fdelete_process):
9104 * process.c (kill_buffer_processes):
9105 * process.c (Fprocess_kill_without_query):
9106 * process.c (Fprocess_kill_without_query_p):
9108 * rangetab.c (Fget_range_table):
9109 * rangetab.c (Fput_range_table):
9110 * rangetab.c (Fremove_range_table):
9111 * rangetab.c (Fclear_range_table):
9113 * search.c (Fskip_chars_forward):
9114 * search.c (Fskip_chars_backward):
9115 * search.c (Fskip_syntax_forward):
9116 * search.c (Fskip_syntax_backward):
9117 * search.c (search_command):
9118 * search.c (Freplace_match):
9119 * search.c (Fregexp_quote):
9120 * select.c (Fown_selection_internal):
9121 * select.c (Fselection_owner_p):
9122 * select.c (Fselection_exists_p):
9123 * select.c (Fget_selection_internal):
9126 * symbols.c (Fintern):
9127 * symbols.c (Fintern_soft):
9128 * symbols.c (Funintern):
9129 * symbols.c (Fapropos_internal):
9130 * symbols.c (Fset_default):
9132 * syntax.c (Fsyntax_table_p):
9133 * syntax.c (Fcopy_syntax_table):
9134 * syntax.c (Fset_syntax_table):
9135 * syntax.c (Fchar_syntax):
9136 * syntax.c (syntax_match):
9137 * syntax.c (Fmatching_paren):
9138 * syntax.c (Fforward_word):
9139 * syntax.c (scan_lists):
9140 * syntax.c (Fscan_lists):
9141 * syntax.c (Fscan_sexps):
9142 * syntax.c (Fparse_partial_sexp):
9143 * toolbar.c (Fcheck_toolbar_button_syntax):
9146 * window.c (Fwindowp):
9147 * window.c (Fwindow_live_p):
9148 * window.c (Fwindow_point):
9149 * window.c (Fdelete_window):
9150 * window.c (Fnext_window):
9151 * window.c (Fprevious_window):
9152 * window.c (Fother_window):
9153 * window.c (window_loop):
9154 * window.c (Fget_lru_window):
9155 * window.c (Fsplit_window):
9156 * window.c (Fenlarge_window):
9157 * window.c (Fenlarge_window_pixels):
9158 * window.c (Fshrink_window):
9159 * window.c (Fshrink_window_pixels):
9160 * window.c (change_window_height):
9161 * window.c (Fwindow_configuration_p):
9162 * window.c (Fcurrent_window_configuration):
9164 * casefiddle.c (casify_object):
9165 * casefiddle.c (Fupcase):
9166 * casefiddle.c (Fdowncase):
9167 * casefiddle.c (Fcapitalize):
9168 * casefiddle.c (Fupcase_initials):
9169 * casefiddle.c (casify_region_internal):
9170 * casefiddle.c (casify_region):
9171 * casefiddle.c (Fupcase_region):
9172 * casefiddle.c (Fdowncase_region):
9173 * casefiddle.c (Fcapitalize_region):
9174 * casefiddle.c (Fupcase_initials_region):
9175 * casefiddle.c (Fupcase_word):
9176 * casefiddle.c (Fdowncase_word):
9177 * casefiddle.c (Fcapitalize_word):
9178 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
9179 Replace 0 with '\0' when working with bytes.
9180 Replace initial "(" with "\(" in docstrings.
9182 2000-11-01 Martin Buchholz <martin@xemacs.org>
9184 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
9186 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
9188 2000-10-31 Martin Buchholz <martin@xemacs.org>
9190 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
9192 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
9194 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
9197 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
9199 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
9200 (inhibit_auto_save_session): New variable.
9201 (vars_of_fileio): Declare and initialize them.
9202 * fileio.c (Fdo_auto_save): Don't create session file if
9203 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
9205 2000-10-31 Martin Buchholz <martin@xemacs.org>
9207 * sgiplay.c (play_internal): C++ compilability.
9208 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
9209 * callproc.c (Fold_call_process_internal):
9210 Remove unused vars `env', `first'.
9211 * scrollbar.c (update_scrollbar_instance):
9212 #### unused var `current_window'.
9213 * redisplay-tty.c: Put currently unused vars insert_mode_on,
9214 etc. within #ifdef NOT_YET.
9215 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
9216 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
9217 * specifier.c (specifier_instance):
9218 #### unused var `tag'.
9219 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
9221 2000-10-27 Martin Buchholz <martin@xemacs.org>
9224 * fns.c (list_sort):
9225 * fns.c (Ffillarray):
9226 * fns.c (bytecode_nconc2):
9229 * fns.c (Fmapconcat):
9230 Be pedantically 64-bit correct. For the time when someone will
9231 want to have a list with length > 2**32.
9233 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
9234 Work around MIPSpro compiler bug.
9236 * process-unix.c (unix_kill_child_process): Add snarky comment.
9237 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
9239 * config.h.in: Oops, _getpt ==> _getpty
9241 2000-10-26 Martin Buchholz <martin@xemacs.org>
9245 Use void*, not char*, as return type of alloca().
9247 * alloc.c (free_marker): Side effect inside assert expression!
9249 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
9251 * mule-charset.c (Fset_charset_ccl_program): To check
9252 if the given ccl program is valid, use setup_ccl_program()
9253 instead of CHECK_VECTOR().
9254 (Fmake_charset): Likewise.
9256 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
9258 * faces.c (get_extent_fragment_face_cache_index):
9259 Fix cachel.merged_faces memory leak.
9261 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
9263 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
9264 Reset MSB of octets obtained by DECODE_SJIS
9265 because of the incompatibility with Emacs.
9266 (ccl_driver)<CCL_ENCODE_SJIS>:
9267 Set MSB of octets before passing them to
9268 ENCODE_SJIS because of the incompatibility
9271 2000-10-18 Daiki Ueno <ueno@unixuser.org>
9273 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
9274 (DECLARE_LRECORD): Undo the last change.
9275 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
9277 2000-10-17 Daiki Ueno <ueno@unixuser.org>
9279 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
9280 the implementation to lrecord_implementations_table.
9282 2000-10-14 Daiki Ueno <ueno@unixuser.org>
9284 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
9285 initial value of `lrecord_type_##c_name' and
9286 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
9287 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
9288 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
9289 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
9290 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
9292 2000-10-17 Martin Buchholz <martin@xemacs.org>
9294 * miscplay.c (sndcnv8S_2mono):
9295 (sndcnv2monounsigned):
9296 (sndcnvULaw_2linear):
9298 Remove implementation-defined behavior.
9300 2000-10-12 Martin Buchholz <martin@xemacs.org>
9302 * input-method-xlib.c: Warning suppression.
9304 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
9306 * mule-ccl.c: Sync up with Emacs 21.0.90.
9307 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
9309 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
9311 (ccl_driver[WriteMultibyteChar2]): Bug fix.
9312 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
9313 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
9314 leading char belongs to official 2-dimensional charset.
9315 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
9316 write the given character as is. Otherwise,
9317 if it is a multibyte char, convert it by
9318 non_ascii_set_charptr_emchar, then write it.
9319 (CCL_WRITE_STRING): Likewise.
9320 (ccl_get_compiled_code): New function.
9321 (setup_ccl_program): When ccl_prog is invalid,
9323 (Fregister_code_conversion_map): New function.
9324 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
9326 * mule-ccl.h: Sync up with Emacs 21.0.90.
9327 (Fregister_ccl_program): export it.
9329 * redisplay-msw.c (separate_textual_runs):
9330 If ccl program is not valid, don't do ccl conversion.
9332 * redisplay-x.c (separate_textual_runs): Ditto.
9334 * file-coding.c (Fmake_coding_system):
9335 When type is ccl and value is vector, register it
9336 with a proper symbol. And checks whether the
9337 given ccl program is valid.
9338 (mule_decode): When calling ccl_driver, if src indicates
9339 NULL pointer, set an empty string instead.
9340 (mule_encode): Likewise.
9342 2000-10-11 Martin Buchholz <martin@xemacs.org>
9344 The following large batch of changes gets us back to a state of
9345 C++ compilability. Extbyte is now a char, which means that
9346 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
9348 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
9350 * sound.c (Fplay_sound): Type correctness.
9352 * select-x.c (hack_motif_clipboard_selection): Type correctness.
9353 (x_get_window_property): Type correctness.
9354 (receive_incremental_selection): unsigned char ==> Extbyte
9355 (selection_data_to_lisp_data): unsigned char ==> Extbyte
9356 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
9357 (Fx_store_cutbuffer_internal): Type correctness.
9359 * process-unix.c (try_to_initialize_subtty): Type correctness.
9361 * objects-x.c (x_print_color_instance): Type correctness.
9362 (x_print_font_instance): Type correctness.
9363 (x_list_fonts): SExtbyte ==> Extbyte.
9364 (valid_x_font_name_p): SExtbyte ==> Extbyte.
9365 (x_find_charset_font): SExtbyte ==> Extbyte.
9366 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
9367 (truename_via_XListFonts): SExtbyte ==> Extbyte.
9368 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
9371 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
9372 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
9373 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
9374 (BYTE_C0_P): Use bit ops for char-signedness safety.
9375 (BYTE_C1_P): Use bit ops for char-signedness safety.
9376 (CHARSET_BY_LEADING_BYTE):
9377 (CHARSET_BY_ATTRIBUTES):
9378 Always use inline function.
9379 Use type_checking_assert.
9382 * mule-charset.c (non_ascii_charptr_copy_char):
9383 Modify to work with both ASCII and non-ASCII characters.
9384 Improve docs and variable names.
9385 Replace over-clever fall-through switch with a simple loop.
9386 (Lstream_get_emchar_1):
9387 Replace over-clever fall-through switch with a simple loop.
9389 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9390 Warning suppression.
9392 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
9393 the return value of Lstream_getc, which could be EOF as well.
9395 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
9397 * lisp.h: Make Extbyte a char, not unsigned char, so that external
9398 APIs can be used on Extbytes without casts. Risky!
9402 * input-method-xlib.c (XIM_init_device):
9403 Use Xlib.h instead of IntrinsicP.h.
9404 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
9405 which will break in X11R7.
9406 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
9407 to call XRegisterIMInstantiateCallback with correct types.
9409 * gui-x.c (button_item_to_widget_value): Type correctness.
9411 * glyphs.c (bitmap_to_lisp_data): Type correctness.
9413 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
9414 (xbm_instantiate_1): Type correctness.
9415 (BUILD_GLYPH_INST): Type correctness.
9417 * fileio.c (Fsubstitute_in_file_name): Type correctness.
9420 (decode_coding_sjis):
9421 (decode_coding_big5):
9422 (decode_coding_ucs4):
9423 (decode_coding_utf8):
9424 (decode_coding_iso2022):
9425 (decode_coding_no_conversion):
9426 Make all decoding functions take an Extbyte * arg.
9427 (encode_coding_sjis):
9428 (encode_coding_big5):
9429 (encode_coding_ucs4):
9430 (encode_coding_utf8):
9431 (encode_coding_iso2022):
9432 (encode_coding_no_conversion):
9433 Make all encoding functions take a Bufbyte * arg.
9434 Use size_t instead of unsigned int for memory sizes.
9435 Only cast to unsigned char whenever dereferencing Extbyte *.
9437 * doc.c (unparesseuxify_doc_string): Type correctness.
9439 * console-x.c (split_up_display_spec):
9440 Rewrite without using details of internal string representation.
9441 (x_semi_canonicalize_device_connection): Type correctness.
9444 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
9445 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
9446 (HAVE_XFREE386): Removed.
9448 * buffer.h (DEC_CHARPTR): `const' correctness.
9449 (bufbyte_strcmp): New.
9450 (bufbyte_memcmp): New.
9452 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
9454 * buffer.h (XCHAR_OR_CHAR_INT):
9455 Always use inline function.
9456 Remove redundant type checking assert() - XINT will abort quite nicely.
9458 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9460 * search.c (Freplace_match): Set newtext to an empty string.
9462 2000-10-10 Martin Buchholz <martin@xemacs.org>
9464 * s/decosf1-3.h: Remove #include of stropts.h
9465 * s/ptx.h: Remove #include of stropts.h
9466 * s/usg5-4.h: Remove #include of stropts.h
9469 Use stropts.h, not sys/stropts.h.
9470 Use strtio.h, not sys/strtio.h.
9472 2000-10-04 Martin Buchholz <martin@xemacs.org>
9474 * XEmacs 21.2.36 is released.
9476 2000-09-21 Andy Piper <andy@xemacs.org>
9478 * glyphs-x.c (x_redisplay_widget): make sure non-structural
9479 changes still involve copying the widget tree.
9480 (update_widget_face): make sure a change is register in the widget
9481 tree. Call update_tab_widget_face appropriately.
9482 (update_tab_widget_face): ditto.
9483 (x_tab_control_redisplay): make sure non-structural changes still
9484 involve copying the widget tree.
9486 2000-08-31 Daiki Ueno <ueno@unixuser.org>
9488 * lread.c (locate_file): Check the path element is non-nil.
9490 2000-10-02 Martin Buchholz <martin@xemacs.org>
9492 * lisp.h: Warning suppression for SCO compilers.
9494 * redisplay-tty.c (reset_tty_modes): Fix crash.
9495 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
9497 2000-09-27 Martin Buchholz <martin@xemacs.org>
9499 Big signal/process handling overhaul. Bugs fixed:
9500 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
9501 M-x comint-kill-subjob should work for both values nil and t of
9502 process-connection-type. It was broken on most platforms.
9503 Testing on Irix and Cygwin still needed. Other plaforms tested.
9504 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
9505 * process-unix.c: Signal/Process handling overhaul.
9506 (pty_name): make 64 bytes, as `expect' does, for paranoia.
9507 (allocate_pty): Use all available modern methods of allocating
9508 ptys, falling back to old style BSD allocation as a last resort.
9509 Use allegedly more secure Unix98 pty allocation by default.
9510 (allocate_pty_the_old_fashioned_way): New. the last resort.
9511 (unix_create_process): Push ptem, ldterm, ttcompat where
9512 available. Autoconfiscate.
9513 (try_to_initialize_subtty): New.
9514 (unix_kill_child_process): Proper signal handling for ptys on most
9515 platforms, using special knowledge of AIX, BSD, etc...
9516 (unix_create_process): Always disconnect_controlling_terminal() for
9517 subprocesses, whether using ptys or not.
9518 * process.h: Remove old getpt-dependent PTY code.
9519 * process.c (Fprocess_send_signal): New, obvious generic function.
9520 (decode_signal): New.
9521 (Finterrupt_process):
9525 (Fcontinue_process):
9526 (Fsignal_process): Use decode_signal.
9527 (process_send_signal):
9528 Many docstring corrections.
9529 Allow any signal to be sent to a process object.
9530 * config.h.in: Add symbols for big signal/process overhaul.
9531 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
9532 * sysproc.h: Include process-related headers, where available:
9533 sys/stropts.h sys/strtio.h pty.h libutil.h
9541 Remove old S&M pty stuff.
9542 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
9543 * systty.h: Simplify cpp hackery, improve comments.
9544 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
9546 * editfns.c (Fformat_time_string):
9547 Be a little more paranoid with the return value of ctime.
9549 * fileio.c (check_executable):
9551 Use symbolic constants X_OK, W_OK.
9553 * console-x.c (split_up_display_spec): Fix a warning.
9555 2000-10-02 Martin Buchholz <martin@xemacs.org>
9557 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
9558 * ntproc.c (sys_spawnve): make_string ==> build_string
9559 Small clarity improvements.
9561 2000-09-30 Martin Buchholz <martin@xemacs.org>
9563 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
9565 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
9567 * config.h.in (HAVE_STRCASECMP): Remove.
9569 2000-09-29 Martin Buchholz <martin@xemacs.org>
9571 * redisplay-output.c (redisplay_output_pixmap):
9572 Cleaner and possibly more 64-bit correct code.
9574 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
9576 * dumper.c (pdump_load_finish): move restoration of
9577 `noninteractive1' to emacs.c (main_1).
9578 * emacs.c (main_1): protect LISP-visible command-line flags
9581 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
9583 * Makefile.in.in (versionclean): Use EXE_TARGET and
9584 DUMP_TARGET instead of literal program names.
9586 2000-09-20 Martin Buchholz <martin@xemacs.org>
9588 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
9590 2000-09-19 Martin Buchholz <martin@xemacs.org>
9592 * *: Spelling mega-patch
9594 2000-09-19 Martin Buchholz <martin@xemacs.org>
9596 * fns.c (bad_bad_turtle):
9597 Delete "Eek!" comment, since we fixed the bug to which it refers.
9599 2000-09-16 Martin Buchholz <martin@xemacs.org>
9601 * alloca.c: Replace REGISTER with register.
9603 2000-09-16 Daiki Ueno <ueno@unixuser.org>
9605 * file-coding.c (ucs_to_char): Use countof.
9607 2000-09-16 Martin Buchholz <martin@xemacs.org>
9609 * file-coding.c: (ucs_to_char):
9610 (complex_vars_of_file_coding):
9611 Use countof instead of sizeof.
9612 Use CHECK_NATNUM instead of CHECK_INT.
9614 * sysdep.c (strcasecmp): Remove.
9615 * device-x.c (ascii_strcasecmp): New.
9616 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
9617 Avoid using non-standard non-portable strcasecmp.
9619 2000-09-16 Martin Buchholz <martin@xemacs.org>
9621 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
9622 * font-lock.c: remove reference to emacsfns.h.
9623 * search.c: small doc improvement.
9624 * event-Xt.c: correct file names in comments.
9625 * console-x.h Correct file names in comments.
9626 * frame.c: Correct file names in comments.
9627 * event-stream.c: remove Energize from comments.
9629 2000-09-15 Martin Buchholz <martin@xemacs.org>
9631 * symeval.h (DEFERROR_STANDARD):
9634 (DEFSYMBOL_NO_DUMP):
9635 (DEFSYMBOL_MULTIWORD_PREDICATE):
9636 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
9638 The construct &##name is not sensible C.
9639 Fixes compilation errors with Unixware native compiler.
9641 2000-09-14 Martin Buchholz <martin@xemacs.org>
9643 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
9644 (next_frame_internal): Removed. We now just have next_frame.
9646 Write a simpler and cleaner one-pass algorithm.
9647 Remove called_from_delete_device arg and #ifdefed-out code.
9649 Renamed from prev_frame. Update callers.
9650 Cleaned up to have an analogous implementation to next_frame.
9651 (other_visible_frames_internal): Remove the
9652 called_from_delete_device bogus arg, and hence, remove this
9653 function. Just use other_visible_frames().
9655 * window.c (Fnext_window):
9657 Since next_frame() is guaranteed to return a frame, remove check
9658 for nil inserted in previous patch.
9661 Make code look more like Fnext_window.
9663 Respect the `console' arg when iterating through windows.
9664 Fixes bug: (get-buffer-window buffer t device) not respecting
9666 This function needs more work, as others have pointed out.
9668 * frame.h: Rename prev_frame to previous_frame.
9669 device_matches_console_spec no longer takes a `frame' arg.
9674 Use EMACS_BLOCK_SIGNAL instead of sigblock.
9675 From "Golubev I. N." <gin@mo.msk.ru>.
9677 * make-src-depend: Fix typo.
9679 2000-09-13 Martin Buchholz <martin@xemacs.org>
9681 * window.c (Fnext_window):
9682 next_frame() might return nil, not a frame.
9684 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
9686 * frame.c (next_frame_internal):
9687 We've passed a frame if we've passed its device.
9689 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
9690 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
9692 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
9694 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
9695 Allow option to suppress accelerators in menu/dialog items.
9696 (populate_or_checksum_helper): Pass dialog title through above.
9698 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
9700 * event-msw.c (mswindows_key_to_emacs_keysym):
9701 Add "pause" key, fix "menu" key.
9703 2000-09-09 Martin Buchholz <martin@xemacs.org>
9705 * eval.c (reinit_vars_of_eval):
9706 Increase max_lisp_eval_depth to 1000,
9707 required for thai-xtis.el to byte-compile under some circumstances.
9709 2000-09-04 Martin Buchholz <martin@xemacs.org>
9711 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
9714 2000-09-01 Martin Buchholz <martin@xemacs.org>
9716 * make-src-depend: Make the generated Makefiles smaller.
9718 * s/hpux.h (SETUP_SLAVE_PTY):
9719 Provide a %d in the format string for the errno argument.
9721 * editfns.c (Ftemp_directory):
9723 Avoid buffer overrun on very long file name.
9725 * input-method-xlib.c (XIM_init_device):
9726 6th parameter of XRegisterIMInstantiateCallback has different
9727 pointer types on different OSes, so simply cast to (void *).
9729 * unexhp9k800.c: Warning fixes. Fiddly changes.
9731 * sysdll.c (dll_open):
9732 shl_load will hang hard if passed a NULL filename.
9733 Simply return NULL for compatibility with dlopen.
9734 * sysdll.c: Conform to XEmacs coding standards.
9736 * sysdep.c (get_pty_max_bytes):
9737 Support pty input lines longer than 512 bytes on HP-UX 10.20.
9739 2000-08-31 Martin Buchholz <martin@xemacs.org>
9741 * tooltalk.c: Add #include <syssignal.h>
9743 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
9745 * s/hpux.h: Don't use undefined function sigunblock().
9747 2000-08-31 Martin Buchholz <martin@xemacs.org>
9749 * config.h.in: Add HAVE_BALLOON_HELP.
9750 * emacs.c: Use HAVE_BALLOON_HELP.
9751 * Makefile.in.in (x_objs):
9752 Make Balloon Help conditional on finding shape.h.
9754 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
9756 * syntax.c (regex_emacs_buffer_p): New variable.
9757 * syntax.h (regex_emacs_buffer_p): extern.
9758 * search.c (looking_at_1):
9760 (fast_string_match):
9761 (search_buffer): Set regex_emacs_buffer_p.
9762 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
9763 when before_dot, at_dot, after_dot.
9765 2000-08-23 Andy Piper <andy@xemacs.org>
9767 * gui-x.c (popup_selection_callback): Only set action_occurred
9768 when we really have an image instance.
9769 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
9771 2000-08-23 Andy Piper <andy@xemacs.org>
9773 * gui-msw.c (mswindows_handle_gui_wm_command): set
9775 * gui-x.c (popup_selection_callback): ditto.
9777 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
9778 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
9779 (struct Lisp_Image_Instance): add action_occurred flag.
9781 * glyphs.c (redisplay_subwindow): use action_occurred flag.
9782 (image_instance_changed): ditto.
9783 (reset_frame_subwindow_instance_cache): only unmap windows - do
9784 not remove them from the cache also.
9786 * glyphs-widget.c (tab_control_update): better debug.
9787 (progress_gauge_update): ditto.
9788 (layout_update): ditto.
9789 (layout_instantiate): ditto.
9790 (tab_control_order_only_changed): cope with null pending items.
9792 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
9793 debug. Force selection of an item when an action occurred. Cope
9794 with null pending_items.
9795 (mswindows_progress_gauge_redisplay): better debug.
9796 * glyphs-x.c (x_tab_control_redisplay): ditto.
9798 * redisplay.c (redisplay_frame): reset the frame cache if the
9801 * window.c (Fset_window_configuration): potentially re-enable
9803 (window_unmap_subwindows): need to finalize instances here since
9804 it is only used in mark_window_as_deleted.
9806 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
9808 * nas.c (SndOpenDataForReading):
9809 nas.c (WaveOpenDataForReading):
9810 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
9811 Somehow escaped from the 2000-08-14 patch.
9813 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
9815 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
9816 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
9818 2000-08-21 Andy Piper <andy@xemacs.org>
9820 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
9821 window if it is not already displayed.
9823 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
9824 it is not already displayed.
9826 * window.c (Fset_window_configuration): don't reset the frame
9829 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
9830 instances from the frame cache if we are actually finalizing them.
9831 (reset_frame_subwindow_instance_cache): reset frame cache only
9832 after unmapping everything.
9833 (map_subwindow): set displayed flag after mapping.
9835 2000-08-21 Martin Buchholz <martin@xemacs.org>
9837 * data.c (indirect_function):
9838 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
9840 * eval.c (function_argcount):
9841 Use original function when signaling errors.
9843 2000-08-18 Andy Piper <andy@xemacs.org>
9845 * frame.c (delete_frame_internal): use new
9846 free_frame_subwindow_instances name.
9848 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
9849 (add_tab_item): make return type correct.
9850 (mswindows_tab_control_instantiate): assert index of tab.
9851 (mswindows_tab_control_redisplay): Re-code to use
9852 gui_item_equal_sans_selected and gui_item_list_find_selected.
9854 * glyphs-widget.c (tab_control_update): Correct comment.
9856 * window.c (window_unmap_subwindows): use new
9857 unmap_subwindow_instance_cache_mapper.
9858 (window_unmap_subwindows_cache_mapper): deleted.
9859 (Fset_window_configuration): comparisons should now be with
9860 EQ. Preserve the subwindow instance cache across configuration
9862 (allocate_window): ditto.
9863 (make_dummy_parent): ditto.
9865 * glyphs.c (free_frame_subwindow_instances): rename from
9866 free_frame_subwindow_instance_cache. finalize all instances rather
9867 than just those in the display cache.
9868 (finalize_all_subwindow_instances): walk windows unmapping and
9869 finalizing subwindows.
9870 (unmap_subwindow_instance_cache_mapper): moved from
9871 window.c. Allow finalization as well as unmapping.
9873 * gui.c (gui_item_list_find_selected): new function.
9875 * gui.h (gui_item_list_find_selected): declare.
9877 * glyphs-x.c (x_tab_control_redisplay): pick tab
9878 explicitly. Re-code to use gui_item_equal_sans_selected and
9879 gui_item_list_find_selected.
9881 * glyphs-x.h: add lwlib-utils.h
9883 * buffer.c (Frecord_buffer): undo previous change.
9885 2000-08-09 Vin Shelton <acs@xemacs.org>
9887 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
9888 possible. Create temporary files more securely. The patch was
9889 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
9890 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
9891 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
9894 2000-08-07 Ben Wing <ben@xemacs.org>
9896 * getloadavg.c: remove duplicate (and windows-breaking)
9897 includes of fcntl.h and sys/file.h.
9899 * nt.c: remove duplicate getloadavg() definition.
9901 * sysdll.h (Qdll_filename_encoding): add missing stand-in
9904 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
9906 * eval.c (function_argcount): If function needs to be autoloaded
9907 actually use the loaded definition.
9910 2000-08-05 Ben Wing <ben@xemacs.org>
9912 * getloadavg.c: add prototype for getloadavg(). remove
9913 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
9914 of the code). remove duplicate header includes.
9916 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
9918 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
9919 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
9920 useful load average.
9922 * alloc.c (reinit_alloc_once_early): removed references to
9923 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
9924 the lisp vars are the only things referencing the malloc_sbrk_*
9925 vars, and they were already if 0'd out. these vars only exist
9926 in the older malloc.c, which is basically unused, and they're
9927 only for informational purposes.
9929 * m\*.h: removed useless VIRT_ADDR_VARIES.
9931 * m\powerpc.h: removed stray NO_ARG_ARRAY.
9933 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
9935 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
9936 color if the image is a mono pixmap.
9938 2000-07-30 Ben Wing <ben@xemacs.org>
9940 * Makefile.in.in (release):
9943 * buffer.c (directory_is_current_directory):
9944 * dired-msw.c (mswindows_get_files):
9946 * dired.c (Fdirectory_files):
9947 * dired.c (file_name_completion_stat):
9948 * dired.c (Ffile_attributes):
9949 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
9950 preprocessor tricks, to avoid problems on some machines
9953 * callproc.c (egetenv): GC docs.
9956 * console-msw.h (struct mswindows_dialog_id):
9957 * lrecord.h (lrecord_type):
9958 New object for use with MSW dialogs.
9960 * console.h (struct console_methods):
9961 New enable/disable frame methods, for proper modal dialogs.
9963 * device-msw.c (msprinter_default_printer): Fix to follow
9964 proper Mule conventions.
9967 * device-msw.c (signal_open_printer_error):
9968 * device-msw.c (msprinter_init_device):
9969 * device-msw.c (ensure_not_printing):
9970 * device-msw.c (plist_get_margin):
9971 * device-msw.c (Fmsprinter_select_settings):
9972 * device-msw.c (finalize_devmode):
9973 * device-msw.c (Fmsprinter_settings_despecialize):
9974 * device-msw.c (signal_enum_priner_error):
9975 * extents.c (decode_extent):
9976 * extents.c (decode_map_extents_flags):
9977 * extents.c (decode_extent_at_flag):
9978 * extents.c (Fextent_at):
9979 * extents.c (Fextents_at):
9980 * extents.c (symbol_to_glyph_layout):
9981 [[[[2]]]] Use structured errors.
9984 * dialog-msw.c (mswindows_is_dialog_msg):
9985 * dialog-msw.c (mark_mswindows_dialog_id):
9986 * dialog-msw.c (dialog_proc):
9987 * dialog-msw.c (handle_question_dialog_box):
9988 * dialog-msw.c (syms_of_dialog_mswindows):
9989 Define new object to clean up marking; use it as a dialog identifier.
9990 Call new delete-dialog-box-hook.
9992 * dialog-x.c (dbox_selection_callback):
9993 * dialog-x.c (dbox_descriptor_to_widget_value):
9994 * dialog-x.c (x_make_dialog_box_internal):
9995 Call new delete-dialog-box-hook.
9999 * dialog.c (syms_of_dialog):
10000 * dialog.c (vars_of_dialog):
10001 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
10004 * eval.c (signal_call_debugger):
10005 when noninteractive, output stack traces on the console instead
10006 of in a (never-seen) buffer.
10008 * eval.c (signal_type_error):
10009 * eval.c (invalid_argument_2):
10011 new funs for use w/structured errors.
10014 * event-Xt.c (x_to_emacs_keysym):
10015 * event-Xt.c (describe_event):
10016 * event-Xt.c (emacs_Xt_event_handler):
10017 * event-Xt.c (vars_of_event_Xt):
10019 * event-msw.c (mswindows_wnd_proc):
10020 * event-msw.c (vars_of_event_mswindows):
10021 rename {x,mswindows}-debug-events to debug-{}-events for
10022 consistency with other debug-foo variables.
10025 document next-event more clearly.
10027 * fileio.c (Ffile_name_directory):
10028 * fileio.c (Ffile_name_nondirectory):
10029 * fileio.c (Funhandled_file_name_directory):
10030 * fileio.c (file_name_as_directory):
10031 * fileio.c (Ffile_name_as_directory):
10032 * fileio.c (directory_file_name):
10033 * fileio.c (Fdirectory_file_name):
10034 * fileio.c (Fmake_temp_name):
10035 * fileio.c (Ffile_truename):
10036 * fileio.c (Fsubstitute_in_file_name):
10037 * fileio.c (expand_and_dir_to_file):
10038 * fileio.c (barf_or_query_if_file_exists):
10039 * fileio.c (check_executable):
10040 * fileio.c (Ffile_exists_p):
10041 * fileio.c (Ffile_writable_p):
10042 * fileio.c (Ffile_directory_p):
10043 * fileio.c (Ffile_regular_p):
10044 * fileio.c (Ffile_modes):
10045 * fileio.c (Ffile_newer_than_file_p):
10046 * fileio.c (Fverify_visited_file_modtime):
10047 * fileio.c (Fset_visited_file_modtime):
10048 * fileio.c (auto_save_1):
10053 * frame-msw.c (mswindows_init_frame_1):
10054 * frame-msw.c (mswindows_enable_frame):
10055 * frame-msw.c (error_frame_unsizable):
10056 * frame-msw.c (msprinter_init_frame_1):
10057 * frame-msw.c (msprinter_init_frame_3):
10058 * frame-msw.c (console_type_create_frame_mswindows):
10060 implement new enable/disable frame methods.
10063 * frame-x.c (x_enable_frame):
10064 * frame-x.c (console_type_create_frame_x):
10065 implement new enable/disable frame methods.
10068 * frame.c (Fdisable_frame):
10069 * frame.c (syms_of_frame):
10070 * frame.h (struct frame):
10071 implement new enable/disable frame methods/functions.
10076 * glyphs-msw.c (mswindows_widget_instantiate):
10077 comment that initial-focus should be implemented.
10080 * glyphs-widget.c (check_valid_instantiator):
10081 * glyphs-widget.c (check_valid_orientation):
10082 * glyphs-widget.c (check_valid_tab_orientation):
10083 * glyphs-widget.c (check_valid_justification):
10084 * glyphs-widget.c (check_valid_border):
10085 * glyphs-widget.c (check_valid_callback):
10086 * glyphs-widget.c (check_valid_int_or_function):
10087 * glyphs-widget.c (check_valid_string_or_vector):
10088 * glyphs-widget.c (check_valid_item_list_1):
10089 * glyphs-widget.c (widget_validate):
10090 * glyphs-widget.c (combo_box_validate):
10091 * glyphs-widget.c (widget_instantiate):
10092 * glyphs-widget.c (syms_of_glyphs_widget):
10093 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
10094 * glyphs-widget.c (image_instantiator_combo_box):
10095 * glyphs-widget.c (image_instantiator_scrollbar):
10096 * glyphs-widget.c (image_instantiator_tab_control):
10097 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
10099 support (unimplemented) keyword initial-focus.
10100 reindent long macros.
10102 * glyphs-x.c (x_redisplay_widget):
10103 * glyphs-x.c (x_button_instantiate):
10104 * glyphs-x.c (x_button_redisplay):
10105 * glyphs-x.c (x_progress_gauge_instantiate):
10106 * glyphs-x.c (x_edit_field_instantiate):
10107 * glyphs-x.c (x_combo_box_instantiate):
10108 * glyphs-x.c (x_tab_control_instantiate):
10109 * glyphs-x.c (x_label_instantiate):
10111 * gui-x.c (button_item_to_widget_value):
10112 * gui-x.c (gui_items_to_widget_values_1):
10113 * gui-x.c (gui_item_children_to_widget_values):
10114 * gui-x.c (gui_items_to_widget_values):
10116 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10117 add new flag to gui-parsing routines to indicate whether
10118 accelerator specs should be supported.
10120 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
10122 * glyphs.h (struct Lisp_Image_Instance):
10123 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
10124 add initial-focus flag.
10127 * gui.c (syms_of_gui):
10128 * gui.c (vars_of_gui):
10129 clean up menu-no-selection-hook.
10132 support delete-dialog-box-hook.
10134 * lread.c (Fload_internal):
10135 * lread.c (locate_file_in_directory_mapper):
10139 * lrecord.h (struct toolbar_button):
10140 * lrecord.h (syms_of_toolbar):
10141 document how to create a new object.
10143 * menubar-msw.c (mswindows_char_is_accelerator):
10144 may be called on frames w/o menus.
10146 * menubar.c (vars_of_menubar):
10147 clean up :filter docs.
10154 * process-nt.c (validate_signal_number):
10155 * process-nt.c (signal_cannot_launch):
10156 * process-nt.c (nt_create_process):
10157 * process-nt.c (nt_send_process):
10158 * process-nt.c (nt_kill_child_process):
10159 * process-nt.c (nt_open_network_stream):
10160 * process-nt.c (syms_of_process_nt):
10162 delete quote-handling. call new lisp code that does it better.
10164 * process-unix.c (connect_to_file_descriptor):
10165 * process-unix.c (allocate_pty):
10166 * process-unix.c (unix_send_process):
10167 * process-unix.c (unix_kill_child_process):
10168 * process-unix.c (unix_open_network_stream):
10169 * process-unix.c (unix_open_multicast_group):
10173 * process.c (Fstart_process_internal):
10174 (2). need to canonicalize process path even if absolute.
10176 * select-msw.c (symbol_to_ms_cf):
10177 * select-msw.c (ms_cf_to_symbol):
10178 * select-msw.c (cf_is_autofreed):
10179 * select-msw.c (mswindows_destroy_selection):
10181 * select.c (syms_of_select):
10183 support dibv5, fix bugs. (from Mike Alexander)
10185 * select.c (Fget_selection_internal):
10186 * select.c (select_convert_out):
10189 * sysdep.c (xemacs_stat):
10192 * sysdep.c (mkdir):
10193 * sysdep.c (rmdir):
10194 but keep original stat() here because we provide encapsulation
10198 * sysfile.h (fstat):
10199 remove stat garbage.
10202 fix X/MSW conflict.
10203 don't include tchar.h. it's inappropriate because it makes
10204 compile-time distinctions when we want runtime distinctions.
10205 (we provide our own tchar replacements)
10208 use default object printer for toolbar-button.
10211 make sure we don't encapsulate.
10213 * window.c (vars_of_window):
10214 emphasize that temp-buffer-show-hook is obsolete.
10216 2000-08-05 Martin Buchholz <martin@xemacs.org>
10218 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
10219 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
10221 * events.c (Fevent_timestamp_lessp):
10222 Not 64-bit clean. Use EMACS_INT, not int.
10224 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
10226 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
10227 unsigned int and changed the last enum to
10228 lrecord_type_last_built_in_type.
10229 (lrecord_implementations_table): changed prototype to know how
10230 long the array is supposed to be.
10231 (lrecord_type_count): new unsigned int to keep track of the
10232 current number of lisp lrecord types.
10233 (DEFINE_EXTERNAL_LRECORD):
10234 (DECLARE_EXTERNAL_LRECORD): Added these two for external
10235 dynamic-modules to declare new lisp types. They are the same
10236 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
10237 int for each new type, and increment lrecord_type_count by 1.
10239 * alloc.c (lrecord_implementations_table): Changed to reference
10240 lrecord_type_last_built_in_type for the size of the array.
10241 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
10243 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
10245 * glyphs.h (check_valid_item_list): Renamed from
10246 check_valid_item_list_1.
10248 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
10250 * select.c (Qselect_coerce): New.
10251 * select.c (Vselection_coercion_alist): New.
10252 * select.c (syms_of_select): Declare.
10253 * select.c (get-selection-internal): Use it.
10254 Use the new select-coerce functionality.
10256 * select.c (select_coerce): New.
10257 * select.h (select_coerce): Declare.
10258 New function to coerce one type of data into another.
10260 2000-08-03 Martin Buchholz <martin@xemacs.org>
10262 * callproc.c (Fcall_process_internal):
10263 (Fcall_process_internal):
10264 * process-unix.c (unix_create_process):
10265 Save and restore the value of errno, so that error messages are accurate.
10267 2000-08-01 Martin Buchholz <martin@xemacs.org>
10269 * elhash.c (print_hash_table):
10270 Fix printing of hash tables to also use `key-and-value' instead of `t'.
10271 Prettify docstrings and indentation.
10273 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
10275 * window.c (Fwindow_pixel_edges): Subtract frame border and
10278 2000-07-31 Andy Piper <andy@xemacs.org>
10280 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
10281 will acknowledge the change.
10283 * glyphs.h: declare tab_control_order_only_changed.
10285 * glyphs-x.c (x_tab_control_redisplay): use
10286 tab_control_order_only_changed.
10288 * glyphs-widget.c (tab_control_order_only_changed): new function.
10290 * glyphs-msw.c (mswindows_tab_control_redisplay): use
10291 tab_control_order_only_changed.
10293 * gui.c (gui_item_equal_sans_selected): new function.
10294 (gui_item_equal): use it.
10296 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
10297 :properties in favor of :items..
10299 * glyphs-widget.c (check_valid_item_list): rename from
10300 check_valid_item_list_1.
10301 (check_valid_item_list_1): renamed.
10302 (combo_box_validate): deprecate :properties in favor of :items.
10303 (widget_instantiate): ditto.
10304 (tab_control_update): ditto.
10305 (image_instantiator_combo_box): ditto.
10306 (image_instantiator_tree_view): ditto.
10307 (image_instantiator_tab_control): ditto.
10308 (layout_post_instantiate): remove dead code.
10310 * print.c (debug_print_no_newline): only write to debugger if in
10313 * elhash.c (Fmake_hash_table): update doc string.
10315 * event-msw.c (mswindows_wnd_proc): don't allow processing of
10316 messages whilst in GC. This at least stops XEmacs crashing but has
10317 the potential for wierd behaviour.
10319 2000-07-31 Martin Buchholz <martin@xemacs.org>
10322 Make existence of s&m files optional.
10324 * s/bsd386.h: Remove HAVE_GETLOADAVG.
10325 * s/freebsd.h: Remove HAVE_GETLOADAVG.
10326 * s/gnu.h: Remove HAVE_GETLOADAVG.
10327 * s/netbsd.h: Remove HAVE_GETLOADAVG.
10328 * s/sol2.h: Remove HAVE_GETLOADAVG.
10329 * lisp.h: Remove getloadavg() declaration.
10331 Include <sys/loadavg.h> if available.
10332 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
10333 * config.h.in: Group together getloadavg()-related macros.
10334 Use only configure-time tests to detect getloadavg().
10336 2000-07-30 Martin Buchholz <martin@xemacs.org>
10338 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
10340 2000-07-25 Andy Piper <andy@xemacs.org>
10342 * syswindows.h: add tchar.h for native builds.
10344 * frame.c (syms_of_frame): remove set-glyph-image.
10346 * general-slots.h: add Qset_glyph_image.
10348 * glyphs-widget.c (layout_update): add domain arg to
10350 (syms_of_glyphs_widget): remove set-glyph-image.
10352 2000-07-23 Ben Wing <ben@xemacs.org>
10354 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
10357 2000-07-22 Andy Piper <andy@xemacs.org>
10359 * symsinit.h: add syms_of_win32().
10361 * gui-msw.c (syms_of_gui_mswindows): remove
10362 Fmswindows_shell_execute.
10363 (Fmswindows_shell_execute): moved to win32.c.
10365 * emacs.c (main_1): add syms_of_win32 ().
10367 * win32.c (init_potentially_nonexistent_functions): rewrite in
10368 compiler-friendly terms.
10369 (Fmswindows_shell_execute): move here from gui-msw.c.
10370 (syms_of_win32): new.
10372 * device-msw.c (Fmswindows_printer_list): clean up args to
10374 Don't include tchar under cygwin or mingw.
10375 (msprinter_default_printer): make cygwin-friendly.
10377 2000-07-21 Andy Piper <andy@xemacs.org>
10379 * glyphs-widget.c (image_instantiator_tree_view): use tab
10380 control's update function.
10381 (layout_property): new function. Retrieve items.
10383 * glyphs-msw.c (mswindows_tree_view_redisplay): new
10384 function. Re-populate the tree view from the pending items.
10386 * glyphs.c (instantiate_image_instantiator): Make sure the domain
10387 is designated the parent if the domain is an image instance. This
10388 is needed so that dirtiness can be cascade up the hierarchy and
10389 thus for layout children to be redisplayed correctly.
10390 (allocate_image_instance): rename glyph -> parent.
10392 * redisplay.h: change redisplay_output_layout signature.
10394 * redisplay-msw.c (mswindows_output_display_block): use domain
10397 * redisplay-x.c (x_output_display_block): use domain arg.
10399 2000-07-10 Andy Piper <andy@xemacs.org>
10401 * window.c (Fset_window_configuration): add comment.
10403 * redisplay-output.c (compare_runes):
10404 (redisplay_output_subwindow): redisplay rather than update subwindow.
10405 (redisplay_output_layout): ditto.
10407 * redisplay-msw.c (mswindows_frame_output_end):
10408 (mswindows_frame_output_end): make defer window pos optional.
10410 * lisp.h: add Flast.
10412 * glyphs.h (struct image_instantiator_methods): add dest_mask top
10413 normalize method. Change update method to be for changed
10414 instantiators. Add redisplay method. Change signature of layout
10416 (struct Lisp_Image_Instance): add instantiator.
10417 (IMAGE_INSTANCE_INSTANTIATOR): new.
10418 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
10419 (XIMAGE_INSTANCE_INSTANTIATOR): new.
10420 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
10423 (find_instantiator_differences): new function.
10424 (Fset_instantiator_property): new convenience function.
10425 (check_image_instance_structure): strictly check for vector
10427 (normalize_image_instantiator): make non-static.
10428 (instantiate_image_instantiator): pass on dest_mask and use new
10429 signatures for image_instance_layout and friends.
10430 (mark_image_instance): mark the instantiator. Mark the subwindow
10431 face not the widget face.
10432 (image_instance_equal): add instantiator.
10433 (image_instance_hash): ditto.
10434 (allocate_image_instance): ditto.
10435 (Fset_image_instance_property): removed.
10436 (Fimage_instance_file_name): ditto.
10437 (Fcolorize_image_instance): ditto.
10438 (image_instance_layout): add offsets to be set.
10439 (update_image_instance): new function. update an image instance
10440 from its changed instantiator.
10441 (inherit_normalize): add dest_mask.
10442 (xbm_normalize): ditto.
10443 (xface_normalize): ditto.
10444 (xpm_normalize): ditto.
10445 (text_update): set_property -> update.
10446 (image_instantiate): use the glyph identity as a hash key, not the
10448 (glyph_width): use new image_instance_layout signature.
10449 (glyph_ascent): ditto.
10450 (glyph_descent): ditto.
10451 (glyph_height): ditto.
10452 (glyph_query_geometry): ressurrect.
10453 (glyph_layout): ditto.
10454 (redisplay_subwindow): update -> redisplay.
10455 (syms_of_glyphs): add Fset_instantiator_property.
10456 (image_instantiator_format_create): set_property -> update.
10459 (autodetect_normalize): add dest_maks to signature.
10460 (x_redisplay_subwindow): update -> redisplay.
10461 (x_redisplay_widget): ditto.
10462 (x_button_redisplay): ditto.
10463 (x_progress_gauge_redisplay): ditto.
10464 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
10466 (console_type_create_glyphs_x): update -> redisplay.
10467 (image_instantiator_format_create_glyphs_x): ditto.
10470 (check_valid_instantiator): disallow glyphs in the instantiator,
10471 they must now be vectors.
10472 (check_valid_instantiator_list): ditto.
10473 (glyph_instantiator_to_glyph): use internal symbol rather than
10475 (widget_update): renamed from widget_set_property. Call cascaded
10477 (redisplay_widget): renamed from update_widget.
10478 (widget_layout): image_instance_layout now takes position as well
10480 (widget_normalize): ditto.
10481 (widget_instantiate): ditto.
10482 (tab_control_query_geometry) ditto.:
10483 (tab_control_update): renamed from tab_control_set_property.
10484 (progress_gauge_update): set_property -> update.
10485 (layout_normalize): rewrite so that child instantiators are
10487 (layout_update): new function. Create glyphs from the normalized
10488 children and cope with any other layout keywords. We do not
10489 instantiate children here that will be take care of by
10490 redisplay_output_layout.
10491 (layout_instantiate): call layout_update and not much else.
10492 (layout_post_instantiate): not sure whether this is needed
10494 (layout_query_geometry): query glyph geometry rather than
10495 image_instance geometry.
10496 (layout_layout): set offsets from pass in parameters. Use glyph
10497 geometry and layout functions rather than image instance ones.
10498 (native_layout_layout): ditto.
10499 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
10500 (image_instantiator_widget): set_property -> update.
10501 (image_instantiator_buttons): ditto.
10502 (image_instantiator_progress_guage): ditto.
10503 (image_instantiator_tab_control): ditto.
10504 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
10505 (image_instantiator_layout): add update method.
10507 * glyphs-msw.c (bmp_normalize):
10508 (mswindows_resource_normalize): add dest_mask so that it can be
10509 proprogated by layout_normalize.
10510 (begin_defer_window_pos): make optional because it may not be the
10511 right thing to do and it introduces differences with X.
10512 (mswindows_unmap_subwindow): ditto.
10513 (mswindows_map_subwindow): ditto.
10514 (mswindows_redisplay_subwindow): renamed from
10515 mswindows_update_subwindow.
10516 (mswindows_redisplay_widget): ditto.
10517 (mswindows_button_redisplay): renamed from
10518 mswindows_button_update. Update is now what the instantiation
10519 function does for a changed instantiator.
10520 (mswindows_progress_gauge_instantiate): set the progress value
10521 here if appropriate.
10522 (mswindows_tab_control_redisplay): cope with re-ordering of the
10523 members of the tab widget by simply selecting the new top
10524 widget. This makes things appear ok if you click on a tab.
10525 (mswindows_combo_box_instantiate): image_instance_layout now takes
10526 position as well as size.
10527 (mswindows_progress_gauge_redisplay): renamed from
10528 mswindows_progress_gauge_update.
10529 (console_type_create_glyphs_mswindows): fix update -> redisplay.
10530 (image_instantiator_format_create_glyphs_mswindows): ditto.
10532 * glyphs-eimage.c (jpeg_normalize):
10535 (tiff_normalize): add dest_mask so that it can be proprogated by
10539 (print_hash_table):
10540 (hash_table_weakness_validate):
10541 (decode_hash_table_weakness):
10542 (Fhash_table_weakness):
10543 (Fhash_table_type):
10544 (syms_of_elhash): use Ben's naming scheme for hashtable types..
10546 * console.h (struct console_methods): move update_* to
10549 2000-07-20 Ben Wing <ben@xemacs.org>
10551 * *.[ch] (XSETOBJ): remove unused middle argument.
10552 lisp-disunion.h: correct wrap_object() to one argument.
10554 2000-07-15 Ben Wing <ben@xemacs.org>
10557 * s/cygwin32.h (CYGWIN_CONV_PATH):
10558 Add missing logb prototype for v1.1.
10559 Use post-b20 names and alias to pre-b20 names when pre-b20.
10561 * s/windowsnt.h: [5].
10563 2000-07-15 Ben Wing <ben@xemacs.org>
10565 * Makefile.in.in (x_objs):
10566 * Makefile.in.in (sheap_objs):
10567 * Makefile.in.in (objs):
10568 added win32.o, cosmetic cleanups.
10570 * alloc.c (Fmake_byte_code):
10571 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
10572 etc. macros which declare their own args now.
10574 * alloc.c (syms_of_alloc):
10575 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
10578 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
10580 * buffer.c (Fget_file_buffer):
10581 Fixed GCPRO problem.
10583 * buffer.c (get_truename_buffer):
10584 Fixed comment about GC checking.
10586 * buffer.c (syms_of_buffer):
10587 Undeclared those dedicated frame funs.
10591 Define convenience macros for internal/external conversions.
10592 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
10593 and Qenvironment_variable_encoding for cleaner code.
10596 Remove dedicated-frame; in lisp.
10598 * bytecode.c (funcall_compiled_function):
10601 * bytecode.c (syms_of_bytecode):
10605 * console-msw.c (mswindows_show_console): Rewrote.
10607 * console-msw.c (Fmswindows_debugging_output): New.
10608 Sends to OutputDebugString (special MSWin debugger interface).
10610 * console-msw.c (Fmswindows_message_box):
10611 Fixed stupid bugs so it works when called from kill-emacs.
10613 * console-msw.c (syms_of_console_mswindows):
10614 Declare Fmswindows_debugging_output.
10617 New MSWin prototypes.
10619 * console-msw.h (struct mswindows_frame):
10620 New entry last-click-mods for improved button-modifier support.
10622 * console-msw.h (FRAME_MSWINDOWS_POPUP):
10623 New struct entry `popup' with corresponding accessor.
10626 * console-x.c (split_up_display_spec):
10627 * console-x.c (get_display_arg_connection):
10628 * console-x.c (x_semi_canonicalize_console_connection):
10629 * console-x.c (x_canonicalize_device_connection):
10630 [[[6]]]: Change char to more specific type.
10631 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
10633 * console-x.c (x_semi_canonicalize_console_connection):
10634 * console-x.c (x_canonicalize_device_connection):
10635 [[[9]]]: Fix up error signalling to use new structured error system.
10638 [[[4]]]: Define codesys aliases:
10639 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
10640 Qx_color_name_encoding, Qx_display_name_encoding.
10642 * console.h (struct console_methods):
10643 New method make_dialog_box_internal supersedes older
10644 popup_dialog_box method.
10647 Define many new errors, part of new structured errors.
10649 * data.c (init_errors_once_early):
10650 * data.c (syms_of_data):
10653 * device-msw.c (mswindows_init_device):
10654 [[[5]]]: Cleanup to support NT 3.51.
10656 * device-msw.c (decode_devmode): Cleanup.
10658 * device-msw.c (mswindows_handle_print_setup_dialog_box):
10659 * device-msw.c (mswindows_handle_print_dialog_box):
10660 * device-msw.c (mswindows_handle_page_setup_dialog_box):
10661 * device-msw.c (syms_of_device_mswindows):
10662 Delete the dialog box primitives recently introduced by Kirill and
10663 instead interface to general dialog box interface.
10666 * device-x.c (compute_x_app_name):
10667 * device-x.c (x_init_device):
10668 * device-x.c (Fx_valid_keysym_name_p):
10669 * device-x.c (Fx_set_font_path):
10673 * device.h (wrap_device): New.
10674 First of its kind; meant to replace XSETDEVICE.
10676 * dialog-msw.c: Many file-dialog symbols.
10678 * dialog-msw.c (mswindows_register_popup_frame): New.
10679 * dialog-msw.c (mswindows_is_dialog_msg): New.
10680 For supporting kbd traversal in dialog boxes.
10682 * dialog-msw.c (dialog_proc):
10683 Support hitting ESC in dialogs.
10685 * dialog-msw.c (struct):
10686 Common dialog box errors.
10688 * dialog-msw.c (handle_file_dialog_box): New.
10689 Add file dialog code.
10691 * dialog-msw.c (handle_question_dialog_box):
10692 Redo existing code to support new question dialog syntax.
10694 * dialog-msw.c (console_type_create_dialog_mswindows):
10695 We support new dialog console method.
10697 * dialog-msw.c (syms_of_dialog_mswindows):
10698 * dialog-msw.c (vars_of_dialog_mswindows):
10699 New file dialog symbols, vars.
10702 * dialog-x.c (maybe_run_dbox_text_callback):
10703 * dialog-x.c (dbox_descriptor_to_widget_value):
10704 * dialog-x.c (x_make_dialog_box_internal):
10705 * dialog-x.c (console_type_create_dialog_x):
10706 Mule-ize entire file.
10707 Redo to support question dialog syntax.
10711 * dialog.c (Fmake_dialog_box_internal):
10712 * dialog.c (syms_of_dialog):
10713 Kill old popup-dialog-box, replace with new primitive.
10714 Just call device method or signal error.
10716 * eldap.c (Fldap_open):
10717 * eldap.c (Fldap_search_basic):
10718 * eldap.c (Fldap_add):
10719 * eldap.c (Fldap_modify):
10724 * emacs.c (make_arg_list_1):
10725 * emacs.c (make_arg_list):
10726 Mule-ize call to dll_init().
10730 * emacs.c (make_argc_argv):
10731 * emacs.c (free_argc_argv):
10732 * emacs.c (init_cmdargs):
10733 * emacs.c (main_1):
10734 * emacs.c (Fkill_emacs):
10735 * emacs.c (Fdump_emacs):
10736 Update comments about what can be used in syms_* etc.
10737 Call init_win32() when necessary.
10738 Fix up MS Win dialog box in kill-buffer to actually work right.
10749 * eval.c (condition_case_3):
10751 * eval.c (function_argcount):
10752 * eval.c (funcall_lambda):
10755 * eval.c (type_error): New.
10756 * eval.c (maybe_type_error): New.
10757 * eval.c (continuable_type_error): New.
10758 * eval.c (maybe_continuable_type_error): New.
10759 * eval.c (type_error_with_frob): New.
10760 * eval.c (maybe_type_error_with_frob): New.
10761 * eval.c (continuable_type_error_with_frob): New.
10762 * eval.c (maybe_continuable_type_error_with_frob): New.
10763 New functions for use with structured errors.
10766 * event-Xt.c (x_event_to_emacs_event):
10767 Buttons are now modifiers too.
10769 * event-Xt.c (emacs_Xt_current_event_timestamp):
10770 Implement new event method.
10771 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
10774 * event-msw.c (ntpipe_shove_writer): [5].
10775 * event-msw.c (mswindows_enqueue_mouse_button_event):
10776 * event-msw.c (mswindows_drain_windows_queue):
10777 * event-msw.c (mswindows_wnd_proc): [7].
10778 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
10779 * event-msw.c (mswindows_modifier_state):
10780 Throughout: support new button modifiers.
10782 * event-msw.c (emacs_mswindows_current_event_timestamp):
10783 Implement new event method.
10784 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
10787 * event-stream.c (event_stream_current_event_timestamp): New.
10788 * event-stream.c (maybe_kbd_translate): New functionality.
10789 * event-stream.c (vars_of_event_stream):
10790 Document new kbd-translate-table functionality.
10792 * event-stream.c (Fcurrent_event_timestamp): New.
10793 New primitive for use in fabricated events.
10794 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
10796 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
10799 * events.c (Fmake_event):
10800 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
10804 * events.c (format_event_object): fix gcc warnings.
10806 * events.c (Fevent_timestamp): Document new primitives.
10808 * events.c (TIMESTAMP_HALFSPACE): New.
10810 * events.c (Fevent_timestamp_lessp): New. New primitive for
10811 comparing timestamps correctly (half-space algorithm).
10813 * events.c (Fevent_modifier_bits): Doc fix.
10815 * events.c (Fevent_modifiers): Major doc addition.
10816 * events.c (event_x_y_pixel_internal): Typo fix.
10817 * events.c (syms_of_events): Declare new primitives.
10820 Update long comment for button modifiers, timestamps.
10822 * events.h (struct event_stream):
10823 New current_event_timestamp method.
10826 * extents.c (extent_in_region_p):
10827 * extents.c (decode_extent):
10828 * extents.c (Fset_extent_parent):
10829 * extents.c (decode_map_extents_flags):
10833 * extents.c (struct extent_at_arg):
10834 * extents.c (decode_extent_at_flag):
10835 * extents.c (extent_at_mapper):
10836 * extents.c (extent_at_bytind):
10837 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
10838 * extents.c (Fextents_at): New primitive. [9].
10839 * extents.c (symbol_to_glyph_layout): [9].
10840 Support new primitive `extents-at'.
10843 * extents.c (get_text_property_bytind):
10844 extent_at_bytind has another arg.
10847 * extents.c (syms_of_extents): New primitive.
10849 * file-coding.c (Fmake_coding_system): [1].
10850 * file-coding.c (subsidiary_coding_system): fix gcc warning
10851 * file-coding.c (syms_of_file_coding): [2].
10853 * fileio.c (Fexpand_file_name):
10854 * fileio.c (Fsysnetunam):
10855 * fileio.c (Ffile_exists_p):
10856 * fileio.c (Ffile_executable_p):
10857 * fileio.c (Fverify_visited_file_modtime):
10860 * fileio.c (syms_of_fileio): [2].
10862 * filelock.c (lock_file_1):
10863 * filelock.c (current_lock_owner):
10864 * filelock.c (lock_if_free):
10865 * filelock.c (lock_file):
10866 * filelock.c (unlock_file):
10869 * fns.c (concat): Fix gcc warning.
10872 * fns.c (Fold_member):
10874 * fns.c (Fold_memq):
10875 * fns.c (memq_no_quit):
10877 * fns.c (Fold_assoc):
10879 * fns.c (Fold_assq):
10880 * fns.c (assq_no_quit):
10882 * fns.c (Fold_rassoc):
10884 * fns.c (Fold_rassq):
10885 * fns.c (rassq_no_quit):
10887 * fns.c (Fold_delete):
10889 * fns.c (Fold_delq):
10890 * fns.c (delq_no_quit):
10891 * fns.c (Fremassoc):
10892 * fns.c (Fremassq):
10893 * fns.c (remassq_no_quit):
10894 * fns.c (Fremrassoc):
10895 * fns.c (Fremrassq):
10896 * fns.c (remrassq_no_quit):
10897 * fns.c (Freverse):
10901 * frame-msw.c (mswindows_init_frame_1):
10902 * frame-msw.c (mswindows_delete_frame):
10903 Register popups with dialog code so keyboard traversing works.
10905 * frame-tty.c (tty_raise_frame_no_select): [1].
10908 * frame-x.c (x_set_frame_text_value):
10909 * frame-x.c (x_set_frame_properties):
10910 * frame-x.c (x_create_widgets):
10914 * frame.c (Fmouse_pixel_position): Minor doc fixes.
10916 * frame.h (wrap_frame): New.
10917 Macro like wrap_device.
10920 * general.c (SYMBOL):
10921 * general.c (syms_of_general):
10922 Major reorg. This is now just a wrapper and symbols themselves
10923 are listed in general-slots.h.
10925 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
10926 * glyphs-msw.c (mswindows_resource_instantiate): [5].
10928 * glyphs-msw.c (mswindows_native_layout_instantiate):
10929 Add DS_CONTROL so keyboard traversal will work.
10932 * glyphs-widget.c (syms_of_glyphs_widget):
10933 Move some symbols to general-slots.h.
10936 * glyphs-x.c (xbm_instantiate_1):
10937 * glyphs-x.c (x_xbm_instantiate):
10938 * glyphs-x.c (x_xface_instantiate):
10939 * glyphs-x.c (autodetect_instantiate):
10940 * glyphs-x.c (cursor_font_instantiate):
10941 * glyphs-x.c (x_update_widget):
10942 * glyphs-x.c (x_widget_instantiate):
10943 * glyphs.c (bitmap_to_lisp_data):
10944 * glyphs.c (pixmap_to_lisp_data):
10947 * glyphs.c (syms_of_glyphs):
10951 * gui-x.c (print_widget_value):
10952 * gui-x.c (menu_separator_style_and_to_external):
10953 * gui-x.c (add_accel_and_to_external):
10954 * gui-x.c (button_item_to_widget_value):
10955 * gui-x.c (gui_items_to_widget_values_1):
10956 * gui-x.c (gui_items_to_widget_values):
10957 * gui-x.c (syms_of_gui_x):
10958 * gui-x.c (vars_of_gui_x):
10959 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
10963 Muleize, prototype changes matching gui-x.c.
10966 * gui.c (separator_string_p):
10967 * gui.c (gui_item_add_keyval_pair):
10968 * gui.c (make_gui_item_from_keywords_internal):
10969 * gui.c (signal_too_long_error):
10970 * gui.c (parse_gui_item_tree_item):
10971 * gui.c (syms_of_gui):
10972 * gui.c (vars_of_gui):
10974 menu-no-selection-hook moved here (used by MSWin).
10975 Move some symbols to general-slots.h.
10979 * insdel.c (get_buffer_pos_char):
10980 * insdel.c (get_buffer_range_char):
10983 * keymap.c (keymap_lookup_directly):
10984 * keymap.c (keymap_store):
10985 * keymap.c (ensure_meta_prefix_char_keymapp):
10986 * keymap.c (describe_map):
10988 Support new button modifiers.
10990 * lisp-disunion.h (wrap_object):
10991 * lisp-disunion.h (XSETOBJ):
10992 Rename make_obj to wrap_object.
10995 * lisp-union.h (make_int):
10996 * lisp-union.h (make_char):
10997 Support wrap_object.
11000 * lisp.h (LIST_LOOP):
11001 * lisp.h (EXTERNAL_LIST_LOOP):
11002 * lisp.h (LIST_LOOP_2):
11003 * lisp.h (EXTERNAL_LIST_LOOP_1):
11004 * lisp.h (EXTERNAL_LIST_LOOP_2):
11005 * lisp.h (EXTERNAL_LIST_LOOP_3):
11006 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
11007 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
11008 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
11009 * lisp.h (EXTERNAL_ALIST_LOOP_5):
11010 * lisp.h (EXTERNAL_ALIST_LOOP_6):
11011 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
11012 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
11013 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
11014 * lisp.h (struct Lisp_Symbol):
11015 * lisp.h (maybe_continuable_error_with_frob):
11016 Fix up section comments.
11017 Add new types for char to indicate usage.
11018 Delete symbols auto-generated from general-slots.h.
11019 Add prototypes for structured error functions.
11020 Add long comments describing looping macros and change interface
11021 so that lvalues are automatically declared.
11022 Add NO_DECLARE macro in case callers want to declare lvalues
11025 * lread.c (read_syntax_error):
11026 * lread.c (continuable_read_syntax_error):
11027 * lread.c (read_structure):
11028 * lread.c (sequence_reader):
11029 * lread.c (read_list_conser):
11030 * lread.c (read_compiled_function):
11031 Rename syntax_error and continuable_syntax_error to avoid clash
11032 with same-named structured error functions.
11034 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11035 * menubar-msw.c (populate_menu_add_item):
11036 * menubar-msw.c (populate_or_checksum_helper):
11041 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11042 Mule-ize whole file.
11044 * menubar.c (Fnormalize_menu_item_name): Add optimization.
11046 * mule-charset.c (Fmake_charset):
11047 * mule-wnnfns.c (Fwnn_set_param):
11050 * ntproc.c (create_child):
11051 * ntproc.c (Fwin32_set_current_locale):
11052 Add comments portending doom.
11055 * objects-msw.c (old_font_enum_callback_2):
11056 * objects-msw.c (font_enum_callback_1):
11057 * objects-msw.c (mswindows_enumerate_fonts):
11061 * objects-x.c (allocate_nearest_color):
11062 * objects-x.c (x_parse_nearest_color):
11063 * objects-x.c (x_initialize_color_instance):
11064 * objects-x.c (x_print_color_instance):
11065 * objects-x.c (x_finalize_color_instance):
11066 * objects-x.c (x_valid_color_name_p):
11067 * objects-x.c (x_initialize_font_instance):
11068 * objects-x.c (x_print_font_instance):
11069 * objects-x.c (valid_x_font_name_p):
11070 * objects-x.c (truename_via_FONT_prop):
11071 * objects-x.c (truename_via_random_props):
11072 * objects-x.c (truename_via_XListFonts):
11073 * objects-x.c (x_font_truename):
11074 * objects-x.c (x_font_instance_truename):
11075 * objects-x.c (x_font_instance_properties):
11076 * objects-x.c (x_list_fonts):
11077 * objects-x.c (x_find_charset_font):
11078 Mule-ize entire file.
11085 * print.c (std_handle_out_external):
11086 * print.c (debug_print_no_newline):
11087 * print.c (syms_of_print):
11088 Output to all debugger kinds in debug-print.
11089 Fix console-output code under MSWin to actually work.
11091 * process-nt.c (send_signal):
11092 * process-nt.c (nt_create_process):
11093 Use newer Unicode macros.
11095 * process-unix.c (unix_create_process):
11096 * process-unix.c (unix_canonicalize_host_name):
11097 * process-unix.c (unix_open_network_stream):
11103 * search.c (syms_of_search):
11106 * select-msw.c (mswindows_destroy_selection):
11109 * select-x.c (symbol_to_x_atom):
11112 * select.c (syms_of_select):
11115 * sound.c (Fplay_sound_file):
11119 * specifier.c (decode_specifier_type):
11120 * specifier.c (Fvalid_specifier_locale_type_p):
11121 * specifier.c (check_valid_locale_or_locale_type):
11122 * specifier.c (decode_locale):
11123 * specifier.c (decode_locale_type):
11124 * specifier.c (decode_locale_list):
11125 * specifier.c (check_valid_domain):
11126 * specifier.c (decode_specifier_tag_set):
11127 * specifier.c (Fcanonicalize_tag_set):
11128 * specifier.c (Fdefine_specifier_tag):
11129 * specifier.c (Fspecifier_tag_predicate):
11130 * specifier.c (check_valid_inst_list):
11131 * specifier.c (check_valid_spec_list):
11132 * specifier.c (decode_how_to_add_specification):
11133 * specifier.c (check_modifiable_specifier):
11134 * specifier.c (specifier_add_spec):
11135 * specifier.c (boolean_validate):
11136 * specifier.c (display_table_validate):
11139 * specifier.c (syms_of_specifier):
11140 Move some symbols to general-slots.h.
11144 * symbols.c (Fmapatoms):
11145 * symbols.c (Fapropos_internal):
11148 * symbols.c (set_default_buffer_slot_variable):
11149 * symbols.c (set_default_console_slot_variable):
11152 * symbols.c (defsymbol_massage_name_1):
11153 * symbols.c (defkeyword_massage_name):
11154 * symbols.c (deferror_1):
11155 * symbols.c (deferror):
11156 * symbols.c (deferror_massage_name_and_message):
11158 * symeval.h (DEFSYMBOL):
11159 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
11161 * symbols.c (syms_of_symbols):
11165 * symsinit.h (init_win32): New.
11166 Also new is syms_of_dialog_mswindows.
11169 Add new Unicode macros, missing Cygwin wide-char functions,
11170 convenience conversion macros for Qmswindows_tstr, macros for
11171 encapsulating required MSWin <-> Cygwin filename conversions,
11172 prototype for dynamically-extracted (not in NT 3.51) functions.
11177 * tooltalk.c (Fadd_tooltalk_message_arg):
11178 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
11179 * tooltalk.c (Fadd_tooltalk_pattern_arg):
11182 * tooltalk.c (syms_of_tooltalk):
11186 * unexnt.c (unexec):
11187 Fix up headers, declaration of unexec() to be more standard.
11189 2000-07-20 Martin Buchholz <martin@xemacs.org>
11191 * offix.h: Revert change to guard macros - they're used in offix.c!
11193 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11195 * lisp.h: Defsubred Fdelete.
11197 * console-msw.h: (msprinter_default_printer): Added.
11199 * console-msw.c (msprinter_canonicalize_console_connection):
11200 (msprinter_canonicalize_device_connection): Added.
11202 * device-msw.c (msprinter_default_printer):
11203 (Fmswingows_get_default_printer):
11204 (signal_enum_priner_error):
11205 (Fmswingows_printer_list): Added.
11207 2000-07-19 Martin Buchholz <martin@xemacs.org>
11209 * XEmacs 21.2.35 is released.
11211 2000-07-19 Martin Buchholz <martin@xemacs.org>
11213 * select-x.c (x_handle_selection_request):
11214 Text selected in xemacs and pasted into xterm failed to appear.
11215 Spelling fixes and cosmetic changes.
11217 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11219 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
11220 XEmacs frame (fix for doubling chars in dialog boxes).
11222 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
11224 * select.c (select_convert_in, select_convert_out):
11225 Don't call intern() every time.
11227 * select.c (Qselect_convert_in, Qselect_convert_out): New.
11228 * select.c (vars_of_select): Initialise them.
11230 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
11232 * select.c (selection-coercible-types): New.
11234 * select.c (own-selection-internal):
11235 * select.c (get-selection-internal):
11236 MULE bug fix - these should default to COMPOUND_TEXT and not
11237 STRING for MULE. I think.
11239 * select.c (select_convert_out): Use selection-coercible-types
11240 to find types that we can attempt to perform coercions on.
11242 2000-07-18 Martin Buchholz <martin@xemacs.org>
11246 Add coding: cookie to identify encoding.
11248 * mule-canna.c (CANNA_mode_keys): make static.
11249 Use proper prototypes, even for functions of no arguments.
11250 Remove external prototype for Fding().
11252 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
11254 * select.c (syms_of_select): Add missing DEFSUBR.
11256 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
11258 * select.c (get_selection_internal, own_selection_internal):
11259 Make the type default to STRING, rather than placing a nil type
11260 into Vselection_alist.
11262 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
11264 * gpmevent.c (tty_selection_exists_p):
11265 * gpmevent.c (tty_own_selection):
11266 Updated parameter lists.
11268 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
11270 * select.h (selection-alist): Removed declaration.
11272 * select.h (get_local_selection):
11273 * select.c (get_local_selection):
11276 * select.h (convert_selection): Removed declaration.
11277 * select.c (convert_selection): Removed.
11278 This function belongs in Lisp.
11280 * select.h (select_convert_in): Declare.
11281 * select.h (select_convert_out): Declare.
11282 * select.c (select_convert_in): New.
11283 * select.c (select_convert_out): New.
11284 New conversion functions for other files to call.
11286 * select.h (select_notify_buffer_kill): Declare.
11287 * select.c (select_notify_buffer_kill): New.
11288 New functions that get called from kill-buffer.
11290 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
11291 X-specific lisp code.
11293 * select.h: Declare some of the lisp-visible functions for
11296 * select.c (clean_local_selection_data): Removed. This was
11297 a disgusting function, and previously should have been in
11298 select-x.c in any case. The functionality is now provided
11299 in select-convert-from-integer (select.el).
11301 * select.c (available-selection-types): Fixed stupidity where
11302 INTEGER and ATOM got added twice. Also add STRING when we see an
11305 * select.c (get-selection-internal): Removed symbol stripping. No
11306 longer causes conversion when data comes from the internal cache.
11308 * select.c (syms_of_select): Added new functions.
11310 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
11311 error checking - previously this called abort!
11313 * select-x.c (x_own_selection): Changed comment.
11315 * select-x.c (x_handle_selection_request): Use select_convert_out.
11316 Don't mess with selection-alist; it's an internal variable of select.c.
11318 * select-x.c (x_get_foreign_selection): Use select_convert_in.
11320 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
11321 rather than messing with selection-alist.
11323 * select-msw.c (mswindows_get_foreign_selection):
11324 Use TO_INTERNAL_FORMAT rather than hacking.
11326 2000-07-14 Martin Buchholz <martin@xemacs.org>
11328 * process-unix.c (unix_open_multicast_group):
11329 (unix_open_multicast_group): Remove useless casts.
11331 2000-07-13 Martin Buchholz <martin@xemacs.org>
11333 * sound.c (Fplay_sound): Fix `unused variable' warning.
11335 * emacs.c (main): Use correct type for _environ on SCO5.
11337 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
11339 * console.h (own_selection_method):
11340 * console.h (selection_exists_p_method):
11341 * console.h (available_selection_types_method): New.
11342 * console.h (register_selection_data_type_method): New.
11343 * console.h (selection_data_type_name): New.
11345 * console-msw.h (mswindows_destroy_selection): Declare it. New
11346 function & alist to track GlobalAlloc()'d handles that need
11347 releasing when the clipboard data gets replaced or emptied.
11349 * event-msw.c (mswindows_wnd_proc): Call it.
11351 * lisp.h, general.c (Qappend): New symbol representing a
11354 * select.c (own-selection-internal):
11355 * select.c (selection-exists-p):
11356 * select.c (available-selection-types): New.
11357 * select.c (register-selection-data-type): New.
11358 * select.c (selection-data-type-name): New. New functions to deal
11359 with device-specific selection data formats.
11360 * select.c (selection-converter-out-alist): Renamed.
11361 * select.c (selection-converter-in-alist): New.
11362 * select.c (selection-appender-alist): New. Added new alists.
11363 * select.c (syms_of_select, vars_of_select): Added new symbols &
11365 * select.c (get_local_selection): Split.
11366 * select.c: Removed spurious type checking - selections may now be
11367 of any type, not just strings.
11368 * select.c (own-selection-internal):
11370 * select.h, select.c (convert_selection): New. Created
11371 convert_selection() function based on get_local_selection().
11372 * select.h, select.c (QCF_*): New symbols representing mswindows
11374 * select.h, select.c (Qreplace_all, Qreplace_existing): New
11375 symbols representing `how-to-add' modes.
11377 * select-msw.c (x_sym_p): New.
11378 * select-msw.c (symbol_to_ms_cf): New.
11379 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
11380 symbols & clipboard formats. Can also handle string names.
11381 * select-msw.c (mswindows_own_selection):
11382 * select-msw.c (mswindows_selection_exists_p):
11383 Added `data-type' parameter. Use it.
11384 * select-msw.c (mswindows_available_selection_types): New.
11385 * select-msw.c (mswindows_register_selection_data_type): New.
11386 * select-msw.c (mswindows_selection_data_type_name): New.
11387 * select-msw.c (mswindows_own_selection):
11388 * select-msw.c (mswindows_get_foreign_selection):
11389 * select-msw.c (mswindows_selection_exists_p): Rewrote.
11390 * select-msw.c (console_create_select_mswindows): Added new methods.
11391 * select-msw.c (mswindows_destroy_selection): New.
11392 * select-msw.c (Vhandle_alist): New list.
11393 * select-msw.c (mswindows_own_selection):
11395 * select-x.c (x_own_selection):
11396 * select-x.c (x_selection_exists_p):
11397 * select-x.c: Added some comments about maybe using new
11399 * select-x.c (x_own_selection):
11401 * specifier.c: Remove definition of Qappend (now in general.c)
11402 * specifier.c (syms_of_specifier): Remove Qappend.
11404 2000-07-12 Martin Buchholz <martin@xemacs.org>
11406 * config.h.in: Add socklen_t.
11408 * s/decosf4-0.h: No special compiler flags needed or desired.
11409 In particular, undefine _BSD for DEC OSF 4.0.
11411 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11413 * redisplay-msw.c (msprinter_frame_output_end): Added.
11414 (console_type_create_redisplay_mswindows): Referred the above.
11416 * frame.c (setup_frame_without_minibuffer): Do not create a
11417 default minibuffer frame on a printer device.
11419 * frame-msw.c (apply_dc_geometry): Added.
11420 (msprinter_start_page):
11421 (msprinter_init_frame_3):
11422 (msprinter_eject_page): Use it.
11424 * console-msw.h (struct msprinter_frame): Added pix_left and top,
11425 and removed residual duplex and orientation properties.
11427 2000-07-11 Martin Buchholz <martin@xemacs.org>
11429 * eval.c (function_argcount): Work around a DEC CC compiler bug.
11431 * unexalpha.c: Remove system prototypes from C sources!
11433 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
11435 * eval.c: Remove references to M-x edit-options in DEFUNs for
11436 `defvar' and `defconst'.
11438 2000-07-09 Martin Buchholz <martin@xemacs.org>
11440 * config.h.in: Remove SMART_INCLUDE hackery.
11442 PostgreSQL hacking:
11443 * config.h.in: Don't use SMART_INCLUDE.
11445 * postgresql.h: Include libpq-fe.h here. Fix typo.
11446 * inline.c: Simply #include "postgresql.h"
11448 - Don't use SMART_INCLUDE
11449 - Use simply "const".
11450 - Use standard doc string conventions.
11451 - Use correct type for result of PQstatus.
11453 2000-07-09 Martin Buchholz <martin@xemacs.org>
11455 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
11457 C++ compilation changes.
11458 * config.h.in (EXTERN_C): Define.
11459 * config.h.in (not): This is also a C++ keyword.
11460 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
11461 * cm.c: Use EXTERN_C.
11462 * redisplay-tty.c: Use EXTERN_C.
11463 * sysdep.c: Use EXTERN_C. Remove Gould support.
11465 2000-07-09 Martin Buchholz <martin@xemacs.org>
11467 * general.c: Remove duplicate definition for Qfunction.
11469 2000-07-08 Ben Wing <ben@xemacs.org>
11471 * device-msw.c (msprinter_init_device):
11472 * device-msw.c (sync_printer_with_devmode):
11473 * device-msw.c (handle_devmode_changes):
11474 * device-msw.c (print_dialog_worker):
11475 * device-msw.c (Fmsprinter_apply_settings):
11476 * device-msw.c (hash_devmode):
11477 * device-msw.c (Fmsprinter_settings_despecialize):
11478 use Qmswindows_tstr, not Qctext.
11480 * vm-limit.c (check_memory_limits):
11481 avoid infinite loop printing warning messages.
11483 2000-07-05 Craig Lanning <lanning@scra.org>
11485 * Makefile.in.in: Add support for including the Windows resources
11486 when building with the cygwin and mingw targets.
11488 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
11489 not set or not correct.
11490 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
11491 (init_initial_directory): Don't try to use $PWD on the
11492 WIN32_NATIVE target.
11495 [[Add -mwindows to eliminate console window.]] not required --ben
11496 (HAVE_NATIVE_SOUND): removed; now handled by configure.
11497 (MAIL_USE_POP): removed; now handled by configure.
11499 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
11500 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
11501 (HAVE_NATIVE_SOUND): removed; now handled by configure.
11502 (MAIL_USE_POP): removed; now handled by configure.
11503 (ENCAPSULATE_STAT): from Dan Holmsand, added.
11504 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
11505 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
11507 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
11508 up from <winsock.h> via systime.h.
11509 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
11510 (getpagesize): from Dan Holmsand, added.
11511 Added #endif which was left dangling by Ben's mega patch; added
11512 comment to help prevent this in the future.
11514 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
11516 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11518 * console-msw.h (struct mswindows_device): Removed unnecessary
11519 cached device geometry values.
11520 Added update_tick and an accessor macro.
11521 (Lisp_Devmode): Added lrecord declaration.
11522 (struct msprinter_device): Contain devmode as a Lisp object.
11523 Added mswindows_get_selected_frame_hwnd();
11525 * console.h (struct console_methods): Indentation nitpicking.
11527 * device-msw.c (mswindows_init_device): Do not initialize geometry
11528 cache. Initialize update tick.
11529 (mswindows_device_system_metrics): Ask the device for its geometry.
11530 (global_free_2_maybe):
11531 (devmode_to_hglobal):
11532 (handle_printer_changes):
11533 (ensure_not_printing):
11534 (print_dialog_worker):
11535 (Fmsprinter_print_setup_dialog):
11536 (Fmsprinter_print_dialog):
11537 (plist_get_margin):
11538 (plist_set_margin):
11539 (Fmsprinter_page_setup_dialog): Added functions.
11540 (sync_printer_with_devmode):
11541 (handle_devmode_changes):
11542 (Fmsprinter_get_settings):
11543 (Fmsprinter_select_settings):
11544 (Fmsprinter_apply_settings):
11545 (allocate_devmode):
11546 (Fmsprinter_settings_copy):
11547 (Fmsprinter_settings_despecialize):
11549 (finalize_devmode):
11551 (hash_devmode): Added functions
11552 (syms_of_device_mswindows): Init devmode lrecord class.
11554 * device.h: Added an exfun for find-device.
11556 * event-msw.c (mswindows_wnd_proc): Do not update the cached
11557 geometry; although, recreate the device compatible DC.
11559 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
11560 (msprinter_init_frame_3):
11561 (msprinter_frame_property):
11562 (msprinter_internal_frame_property_p):
11563 (msprinter_frame_properties):
11564 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
11565 print job properties (will move to device settings).
11567 * lisp.h: Added symbols.
11569 * general.c (syms_of_general): Declared them.
11571 * hash.c (string_hash): Added.
11573 * lrecord.h (lrecord_type): Added devmode lrecord type.
11575 2000-07-02 Mike Sperber <mike@xemacs.org>
11577 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
11580 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
11582 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
11585 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
11587 * data.c (Fstring_to_number): Don't recognize floating point if
11590 2000-06-22 Martin Buchholz <martin@xemacs.org>
11592 * glyphs-widget.c (tab_control_query_geometry):
11593 (widget_query_geometry):
11594 (button_query_geometry):
11595 * glyphs.c (text_query_geometry):
11596 Enforce type correctness.
11598 2000-06-18 Martin Buchholz <martin@xemacs.org>
11600 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
11601 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
11603 2000-06-17 Martin Buchholz <martin@xemacs.org>
11605 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
11606 conflicts with gcc's fixincluded version of FOO.h.
11608 * glyphs.h (image_instance_geometry): Remove trailing `,'
11610 2000-06-08 Mike Alexander <mta@arbortext.com>
11612 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
11613 (shove_thread): Don't write the same output twice
11614 (make_ntpipe_output_stream): Increase priority of shove thread
11615 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
11617 (ntpipe_shove_closer): Don't delete the pipe until we're done with
11620 2000-06-12 Ben Wing <ben@xemacs.org>
11622 * s\mingw32.h (sigset):
11623 * s\windowsnt.h (sigset):
11624 rename msw_ to mswindows_ for consistency with general convention.
11626 2000-06-12 Ben Wing <ben@xemacs.org>
11629 * console-msw.c (mswindows_get_console_hwnd):
11630 * console-msw.c (mswindows_ensure_console_allocated):
11631 * console-msw.c (mswindows_hide_console):
11632 * console-msw.c (mswindows_show_console):
11633 * console-msw.c (mswindows_ensure_console_buffered):
11634 * console-msw.c (mswindows_output_console_string):
11635 * console-msw.c (mswindows_windows9x_p):
11637 * device-msw.c (mswindows_get_workspace_coords):
11638 * device-msw.c (mswindows_device_system_metrics):
11639 * dialog-msw.c (mswindows_popup_dialog_box):
11640 * event-msw.c (mswindows_wnd_proc):
11641 * frame-msw.c (mswindows_size_frame_internal):
11642 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11643 * menubar-msw.c (displayable_menu_item):
11644 * menubar-msw.c (mswindows_char_is_accelerator):
11646 * nt.c (mswindows_sigset):
11647 * nt.c (mswindows_sigrelse):
11648 * nt.c (mswindows_sigpause):
11649 * nt.c (mswindows_raise):
11650 * nt.c (timer_proc):
11652 * ntproc.c (find_child_console):
11653 * ntproc.c (sys_kill):
11655 * print.c (std_handle_out_external):
11656 * process-nt.c (find_child_console):
11657 * process-nt.c (send_signal_the_95_way):
11658 * process-nt.c (ensure_console_window_exists):
11659 * process-nt.c (nt_create_process):
11661 rename msw_ to mswindows_ for consistency with general convention.
11665 include nt.h, not syswindows.h.
11667 * nt.c (mswindows_fstat):
11668 * nt.c (mswindows_stat):
11669 prefix mswindows_ instead of attempting to directly override the
11670 library functions. fix declarations.
11673 include syswindows.h. move some sysdep.h stuff here.
11676 include syswindows.h, not <windows.h>.
11684 * sysdep.c (sys_fstat):
11685 * sysdep.c (sys_stat):
11686 call mswindows versions when appropriate.
11689 move mswin decls to nt.h.
11692 add long comment describing appropriate use of the various windows
11695 2000-06-11 Ben Wing <ben@xemacs.org>
11697 * device-x.c: Correct doc string for sixth arg of x-get-resource.
11699 2000-06-10 Ben Wing <ben@xemacs.org>
11701 * Makefile.in.in (release):
11702 Correction to make sure xemacs.exe always dumped when correct.
11706 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
11708 * buffer.c (set_buffer_internal):
11709 [[[[2]]]]: Remove HAVE_FEP code.
11711 * buffer.c (init_initial_directory):
11715 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
11719 * callproc.c (call_process_cleanup):
11720 * callproc.c (Fold_call_process_internal):
11721 * callproc.c (child_setup):
11722 * callproc.c (getenv_internal):
11723 * callproc.c (init_callproc):
11724 * callproc.c (vars_of_callproc):
11725 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
11726 __CYGWIN32__ -> CYGWIN.
11727 DOS_NT -> WIN32_NATIVE.
11728 Remove MSDOS support/references, converting to WIN32_NATIVE
11730 __MINGW32__ -> MINGW.
11731 Fix windows.h includes.
11732 Remove bogus HAVE_NTGUI.
11738 mswindows_message_outputted added for use in allowing startup
11739 errors on the console to be seen.
11741 * console-msw.c (msw_ensure_console_allocated):
11742 * console-msw.c (msw_output_console_string):
11743 * console-msw.c (DHEADER):
11744 * console-msw.c (DOPAQUE_DATA):
11745 * console-msw.c (DEVENT):
11746 * console-msw.c (DCONS):
11747 * console-msw.c (DCONSCDR):
11748 * console-msw.c (DSTRING):
11749 * console-msw.c (DVECTOR):
11750 * console-msw.c (DSYMBOL):
11751 * console-msw.c (DSYMNAME):
11754 * console-stream.c (stream_init_console):
11755 Fix text/binary problems.
11758 * device-msw.c (mswindows_finish_init_device):
11759 * device-msw.c (mswindows_delete_device):
11762 * device.c (handle_asynch_device_change):
11766 * dgif_lib.c (DGifOpenFileName):
11767 * dgif_lib.c (DGifOpenFileHandle):
11768 * dgif_lib.c (DGifGetLine):
11769 * dgif_lib.c (DGifGetPixel):
11770 Added config.h/lisp.h, fix up includes.
11777 * dired.c (file_name_completion):
11778 * dired.c (Ffile_attributes):
11779 * dired.c (syms_of_dired):
11783 * dumper.c (pdump_file_unmap):
11784 * dumper.c (pdump_load):
11788 * editfns.c (Ftemp_directory):
11789 * editfns.c (user_login_name):
11790 * editfns.c (Fuser_real_login_name):
11791 * editfns.c (get_home_directory):
11794 * elhash.c (finish_marking_weak_hash_tables):
11795 [[[[5]]]]: Fix GCC warnings.
11798 * emacs.c (mswindows_handle_hardware_exceptions):
11799 * emacs.c (make_arg_list_1):
11800 * emacs.c (main_1):
11801 * emacs.c (Fkill_emacs):
11802 * emacs.c (Fdump_emacs):
11804 Fix problems with nested crashes, add long comment.
11806 * event-Xt.c (init_event_Xt_late):
11810 * event-msw.c (mswindows_dde_callback):
11811 * event-msw.c (mswindows_handle_sticky_modifiers):
11812 * event-msw.c (mswindows_wnd_proc):
11816 * events.c (character_to_event):
11820 * fileio.c (Ffile_name_directory):
11821 * fileio.c (Ffile_name_nondirectory):
11822 * fileio.c (directory_file_name):
11823 * fileio.c (Fexpand_file_name):
11824 * fileio.c (Fsubstitute_in_file_name):
11825 * fileio.c (Ffile_name_absolute_p):
11826 * fileio.c (check_executable):
11827 * fileio.c (Ffile_readable_p):
11828 * fileio.c (Ffile_accessible_directory_p):
11829 * fileio.c (Ffile_modes):
11830 * fileio.c (Funix_sync):
11831 * fileio.c (vars_of_fileio):
11834 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
11836 Expand getdefdir defn.
11837 Fix bogus rename() comment.
11839 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
11840 to use standard XEmacs include files, e.g. sysfile.h, rather
11841 than system-specific includes.
11847 * frame.c (vars_of_frame):
11851 * getloadavg.c (getloadavg):
11853 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
11854 (We don't use it elsewhere in the code; just add a comment.)
11861 * glyphs-msw.c (mswindows_resource_instantiate):
11864 * glyphs-x.c (x_native_layout_instantiate):
11867 * gui-msw.c (Fmswindows_shell_execute):
11876 * lread.c (locate_file_in_directory_mapper):
11883 * mem-limits.h (get_lim_data):
11895 * nt.c (rva_to_section):
11896 * nt.c (mswindows_executable_type):
11898 Fix closedir() defn.
11901 [[[[8]]]]: *_OK defs moved to sysfile.h.
11910 * print.c (std_handle_out_external):
11914 * process-nt.c (nt_create_process):
11916 try to fix process quoting somewhat.
11918 * process-unix.c (unix_create_process):
11922 * process.c (vars_of_process):
11929 * realpath.c (xrealpath):
11932 * redisplay-tty.c (init_tty_for_redisplay):
11942 * sheap.c (more_static_core):
11943 * sheap.c (report_sheap_usage):
11947 * signal.c (alarm_signal):
11954 * strftime.c (zone_name):
11957 * symsinit.h (init_sunpro):
11961 commctrl.h not in Cygwin b20.1.
11964 * sysdep.c (endif):
11965 * sysdep.c (sys_subshell):
11966 * sysdep.c (init_baud_rate):
11967 * sysdep.c (emacs_get_tty):
11968 * sysdep.c (emacs_set_tty):
11969 * sysdep.c (tty_init_sys_modes_on_device):
11970 * sysdep.c (init_system_name):
11971 * sysdep.c (sys_open):
11972 * sysdep.c (interruptible_open):
11973 * sysdep.c (sys_fopen):
11974 * sysdep.c (sys_mkdir):
11975 * sysdep.c (sys_rename):
11976 * sysdep.c (get_process_times_1):
11983 * sysdir.h (DIRENTRY_NONEMPTY):
11986 * sysdll.c (dll_init):
11992 added text/binary defs.
11998 * sysproc.h (EDESTADDRREQ):
11999 * sysproc.h (poll_fds_for_input):
12016 Always define WIN32_LEAN_AND_MEAN.
12018 * unexcw.c (unexec):
12022 * unexec.c (copy_text_and_data):
12023 * unexec.c (adjust_lnnoptrs):
12027 * unexnt.c (_start):
12030 2000-06-07 Ben Wing <ben@xemacs.org>
12032 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
12033 was used only as a model. We've long since extracted any useful
12034 logic or code out of this. (I just did an exhaustive search.)
12036 * s\msdos.h: Removed.
12038 * s\windows95.h: Removed.
12040 2000-06-10 Ben Wing <ben@xemacs.org>
12044 Don't use extern with fun defs.
12048 Remove nt\inc include.
12049 Remove getdisk, getdefdir. (The former is unused, the latter
12050 expanded in fileio.h.)
12053 * s\windowsnt.h (WIN32_NATIVE):
12054 * s\windowsnt.h (HAVE_STRCASECMP):
12056 Add long comment about preprocessor changes.
12057 Remove getdisk, getdefdir. (The former is unused, the latter
12058 expanded in fileio.h.)
12060 2000-06-10 Ben Wing <ben@xemacs.org>
12069 Remove bogus/unused NO_SOCK_SIGIO.
12071 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
12073 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
12076 2000-06-04 Mike Sperber <mike@xemacs.org>
12078 * casetab.c (set_case_table): For `set-standard-case-table',
12079 actually deposit the new case tables where the rest of XEmacs can
12082 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
12084 * data.c (Faset): Don't cast XCHAR() to unsigned char.
12086 2000-06-05 Ben Wing <ben@xemacs.org>
12088 * callproc.c (child_setup): Don't do close_load_descs() under
12089 MS Windows. Put in a comment explaining why.
12091 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
12093 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
12094 Toolkit shell" which breaks `kill-compilation' on Windows NT
12095 native, retaining STDERR handling improvements.
12097 2000-06-01 Andreas Jaeger <aj@suse.de>
12099 * s/s390.h: Support for S390, based on a patch by Martin
12100 Schwidefsky <schwidefsky@de.ibm.com>.
12102 2000-05-30 Andy Piper <andy@xemacs.org>
12104 * window.c (allocate_window):
12105 (make_dummy_parent):
12106 (Fset_window_configuration): use new hashtable type.
12108 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
12109 (struct image_instantiator_methods):
12110 (struct Lisp_Image_Instance): make instance geometry signed.
12112 * glyphs.c (instantiate_image_instantiator):
12113 (image_instance_query_geometry):
12114 (image_instance_layout):
12115 (image_instance_layout):
12116 (query_string_geometry):
12117 (text_query_geometry):
12118 (image_instantiate):
12119 (image_instantiate):
12120 (cache_subwindow_instance_in_frame_maybe):
12121 (subwindow_query_geometry): make instance geometry signed.
12123 * glyphs-widget.c (widget_query_geometry):
12125 (button_query_geometry):
12126 (tree_view_query_geometry):
12127 (tab_control_query_geometry):
12128 (layout_query_geometry):
12130 (native_layout_layout): make instance geometry signed.
12132 2000-05-29 Olivier Galibert <galibert@pobox.com>
12134 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
12137 * general.c (syms_of_general): Add Qfull_assoc symbol.
12139 * data.c (finish_marking_weak_lists): Mark full-assoc lists
12141 (decode_weak_list_type): Decode full-assoc type.
12142 (encode_weak_list_type): Encode full-assoc type.
12143 (Fmake_weak_list): Update doc string.
12145 2000-05-30 Andy Piper <andy@xemacs.org>
12147 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
12149 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
12150 (decode_hash_table_weakness): ditto.
12151 (Fhash_table_weakness): ditto.
12152 (Fhash_table_type): ditto.
12153 (finish_marking_weak_hash_tables): ditto.
12154 (hash_table_weakness_validate): ditto.
12155 (syms_of_elhash): ditto.
12157 2000-05-28 Martin Buchholz <martin@xemacs.org>
12159 * XEmacs 21.2.34 is released.
12161 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
12163 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
12165 (updating_line_start_cache): Gone.
12166 (regenerate_window): Replace resetting of VERTICAL_CLIP by
12167 generic code to force a minimum of 1 line laid out in the
12170 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
12172 * glyphs.c (instantiate_image_instantiator): Check for initialized
12173 height & width no longer special cases IMAGE_NOTHING.
12174 (nothing_instantiate): Set height and width of instance.
12176 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
12178 * unexelf.c (unexec): Search for ".data" section.
12179 Initialize new_data2_offset from old_data_index.
12180 Remove redundant check for ElfW.
12182 2000-05-23 Andy Piper <andy@xemacs.org>
12184 * glyphs.c (get_image_instantiator_governing_domain): allow more
12185 specific domains as the governing domain rather than expecting an
12186 exact match. This fixes problems with layouts.
12188 2000-05-22 Andy Piper <andy@xemacs.org>
12190 * redisplay-output.c (compare_runes): check for non-images
12192 * glyphs.c (set_glyph_dirty_p): ditto.
12193 (update_glyph_cachel_data): ditto.
12195 * glyphs-widget.c (layout_post_instantiate): ditto.
12196 (layout_post_instantiate): ditto.
12198 * event-msw.c (mswindows_wnd_proc): warning removal.
12200 2000-05-12 Craig Lanning <CraigL@DyCon.com>
12202 * s\mingw32.h: Added #undef for CLASH_DETECTION.
12204 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
12206 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
12208 * nt.c (rva_to_section): mingw32 needs rva_to_section.
12209 (mswindows_executable_type): mingw32 now has enough headers for
12212 2000-05-20 Andy Piper <andy@xemacs.org>
12214 * console-msw.c (mswindows_output_last_error): ; -> ,
12216 2000-05-12 Andy Piper <andy@xemacs.org>
12218 * console-msw.c (FROB): compare ints with ints.
12220 2000-05-11 Andy Piper <andy@xemacs.org>
12222 * glyphs-x.c (x_finalize_image_instance): make minimal build
12225 2000-05-20 Ben Wing <ben@xemacs.org>
12228 * event-Xt.c (vars_of_event_Xt):
12229 move modifier-keys-are-sticky to event-stream.c.
12232 * event-msw.c (mswindows_enqueue_mouse_button_event):
12233 * event-msw.c (key_needs_default_processing_p):
12234 * event-msw.c (XEMSW_LCONTROL):
12235 * event-msw.c (mswindows_handle_sticky_modifiers):
12236 * event-msw.c (FROB):
12237 * event-msw.c (clear_sticky_modifiers):
12238 * event-msw.c (output_modifier_keyboard_state):
12239 * event-msw.c (output_alt_keyboard_state):
12240 * event-msw.c (mswindows_wnd_proc):
12241 * event-msw.c (mswindows_modifier_state):
12242 * event-msw.c (emacs_mswindows_handle_magic_event):
12243 implement sticky modifiers.
12246 * event-stream.c (vars_of_event_stream):
12247 move modifier-keys-are-sticky here.
12250 add CHECK_FUNCTION.
12253 implement map-range-table.
12256 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
12258 * redisplay-tty.c (reset_tty_modes):
12259 (tty_redisplay_shutdown): Adjust argument type to
12260 tty_frame_output_end.
12262 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
12264 * eval.c (Fbacktrace): Don't output a line with only right
12267 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
12269 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
12270 (Fpq_reset_poll): Ditto.
12272 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
12274 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
12276 2000-05-16 Ben Wing <ben@xemacs.org>
12279 * buffer.c (dfc_convert_to/from_internal_format):
12280 * buffer.c (reinit_vars_of_buffer):
12281 Fix conversion functions to allow reentrancy.
12284 * console-msw.c (mswindows_output_last_error):
12285 New fun, generally useful -- output a human-readable
12286 version of GetLastError() on the console.
12289 * console-msw.h (struct mswindows_frame):
12290 Changes for DeferWindowPos. Declare mswindows_output_last_error().
12292 * console-stream.c (stream_output_begin):
12293 * console-stream.c (stream_output_end):
12294 * console-stream.c (stream_output_vertical_divider):
12295 * console-stream.c (stream_clear_region):
12296 * console-stream.c (stream_flash):
12297 * console-stream.c (console_type_create_stream):
12298 Delete blank stream methods, not needed.
12300 * console.h (struct console_methods):
12301 Split begin/end methods into window and frame.
12304 * event-msw.c (mswindows_handle_paint):
12305 * event-msw.c (output_alt_keyboard_state):
12306 * event-msw.c (mswindows_wnd_proc):
12307 * event-msw.c (vars_of_event_mswindows):
12308 Comment about problems with ignored-expose.
12309 Define mswindows-debug-events; not really implemented.
12311 * frame-msw.c (mswindows_init_frame_1):
12315 * glyphs-msw.c (begin_defer_window_pos):
12316 * glyphs-msw.c (mswindows_unmap_subwindow):
12317 * glyphs-msw.c (mswindows_map_subwindow):
12318 * glyphs-msw.c (mswindows_resize_subwindow):
12319 Use DeferWindowPos to reduce flashing when mapping/unmapping.
12321 * glyphs.c (make_image_instance_1):
12324 * gutter.c (Fredisplay_gutter_area):
12325 Use new begin/end methods.
12327 * lisp.h (Dynarr_new2):
12331 * redisplay-msw.c (mswindows_frame_output_begin):
12332 * redisplay-msw.c (mswindows_frame_output_end):
12333 * redisplay-msw.c (console_type_create_redisplay_mswindows):
12334 New begin/end methods -- handle DeferWindowPos.
12336 * redisplay-output.c (redisplay_move_cursor):
12337 * redisplay-output.c (redraw_cursor_in_window):
12338 * redisplay-output.c (redisplay_update_line):
12339 * redisplay-output.c (redisplay_output_window):
12340 New begin/end methods.
12343 * redisplay-tty.c (tty_frame_output_begin):
12344 * redisplay-tty.c (tty_frame_output_end):
12345 * redisplay-tty.c (console_type_create_redisplay_tty):
12346 New begin/end methods.
12349 * redisplay-x.c (x_window_output_begin):
12350 * redisplay-x.c (x_window_output_end):
12351 * redisplay-x.c (console_type_create_redisplay_x):
12352 New begin/end methods.
12354 * redisplay.c (redisplay_frame):
12355 * redisplay.c (Fredisplay_echo_area):
12356 New begin/end methods.
12357 use MAYBE_DEVMETH for clear_frame; it may not exist.
12359 * window.h (WINDOW_XFRAME):
12360 WINDOW_XFOO macros -- get locale and decode struct pointer.
12363 2000-05-12 Ben Wing <ben@xemacs.org>
12366 * emacs.c (ensure_no_quitting_from_now_on):
12367 * emacs.c (fatal_error_signal):
12368 * emacs.c (mswindows_handle_hardware_exceptions):
12370 * emacs.c (Fkill_emacs):
12371 * emacs.c (shut_down_emacs):
12372 * emacs.c (assert_failed):
12373 various improvements in fatal error handling.
12376 move preparing_for_armageddon to emacs.c.
12379 declare fatal_error_in_progress.
12382 * print.c (std_handle_out_external):
12383 * print.c (std_handle_out_va):
12384 * print.c (stderr_out):
12385 * print.c (stdout_out):
12386 use console under mswin when no standard output.
12387 don't do code conversion during fatal error.
12389 * scrollbar.c (Fscrollbar_page_up):
12390 * scrollbar.c (Fscrollbar_page_down):
12391 fix missing else. reindent.
12393 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
12397 * glyphs.h (GLYPH_CACHEL_DESCENT):
12398 (GLYPH_CACHEL_DESCENT):
12399 (GLYPH_CACHEL_DESCENT):
12400 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
12401 used in case these are inline functions.
12402 Use more absurd values to error check.
12404 include window.h for error check functions.
12406 2000-05-11 Ben Wing <ben@xemacs.org>
12408 * cmdloop.c (Freally_early_error_handler):
12409 Display message box under windows; otherwise, message will disappear
12410 before it can be viewed.
12413 * console-msw.c (Fmswindows_message_box):
12414 * console-msw.c (FROB):
12415 * console-msw.c (syms_of_console_mswindows):
12416 Define new fun `mswindows-message-box'.
12417 #### I will merge this into `popup-dialog-box'; just give me
12421 * general.c (syms_of_general):
12422 Some new symbols used in `mswindows-message-box'.
12425 * glyphs.c (Fset_image_instance_property):
12426 put warning in this fun.
12429 * glyphs.h (GLYPH_CACHEL_WIDTH):
12430 * glyphs.h (GLYPH_CACHEL_ASCENT):
12431 * glyphs.h (GLYPH_CACHEL):
12432 * glyphs.h (GLYPH_CACHEL_GLYPH):
12433 define error-checking versions to try to catch a bug i've seen --
12434 redisplay gets in an infinite loop because the glyph width of the
12435 continuation glyph is 65535.
12438 Extern message-box stuff.
12440 * window.c (allocate_window):
12441 * window.c (make_dummy_parent):
12442 * window.c (Fset_window_configuration):
12443 Use EQUAL not EQ for subwindow caches to make them work a bit
12444 better. (Something is still very broken.)
12447 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
12449 * glyphs.c (image_instantiate): Suppress gcc warnings.
12450 (Fmake_image_instance): Fix doc string.
12451 * specifier.c (Fmake_specifier): Ditto.
12453 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
12455 * paths.h.in (PATH_LOCK): Removed.
12456 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
12457 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
12459 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
12461 * fns.c (Ffeaturep): Update e-mail address in doc-string.
12462 Document (featurep '(and xemacs 21.02)).
12464 2000-05-09 Ben Wing <ben@xemacs.org>
12466 * buffer.c (complex_vars_of_buffer):
12467 update modeline-format doc.
12470 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
12473 timeline of all released versions of Emacs, for use in creating
12474 authorship comments and in synching up.
12476 * glyphs-widget.c (image_instantiator_buttons):
12477 * glyphs-widget.c (image_instantiator_edit_fields):
12478 * glyphs-widget.c (image_instantiator_combo_box):
12479 * glyphs-widget.c (image_instantiator_scrollbar):
12480 * glyphs-widget.c (image_instantiator_progress_guage):
12481 * glyphs-widget.c (image_instantiator_tree_view):
12482 * glyphs-widget.c (image_instantiator_tab_control):
12483 * glyphs-widget.c (image_instantiator_labels):
12484 * glyphs-widget.c (image_instantiator_layout):
12485 * glyphs-widget.c (image_instantiator_native_layout):
12486 rename decode_domain method to governing_domain.
12489 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
12490 * glyphs.c (add_entry_to_device_ii_format_list):
12491 make sure we don't put an entry more than once into the list.
12492 * glyphs.c (check_instance_cache_mapper):
12493 *************************************************************
12494 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
12496 *************************************************************
12497 * glyphs.c (get_image_instantiator_governing_domain):
12498 clean up, expand on new concept of governing domain.
12499 * glyphs.c (instantiate_image_instantiator):
12500 * glyphs.c (allocate_image_instance):
12501 use governing_domain instead of cache_domain in naming.
12502 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
12503 * glyphs.c (make_image_instance_1):
12504 * glyphs.c (Fmake_image_instance):
12505 allow for any domain (not just device), and process the
12506 governing domain correctly. very big doc fix.
12507 * glyphs.c (Fimage_instance_domain):
12508 new primitive, to retrieve the governing domain of an image instance.
12509 * glyphs.c (image_instantiate):
12510 use new governing_domain stuff. this fixes a crash you could get
12511 by instantiating certain widget glyphs in frame locales. (should
12512 signal an error instead of crashing.)
12513 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
12514 * glyphs.c (Fglyphp): clean up doc.
12515 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
12516 * glyphs.c (syms_of_glyphs):
12517 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
12518 * glyphs.c (image_instantiator_format_create): add some comments about
12520 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
12521 for current-display-table. (Apparently Hrjove implemented in 1998 a
12522 design I wrote up in 1996, but didn't update the doc string.)
12524 * glyphs.h: clean up a doc string.
12525 * glyphs.h (governing_domain):
12526 * glyphs.h (struct image_instantiator_methods):
12527 changes for governing_domain stuff.
12530 * gutter.c (Fgutter_specifier_p):
12531 * gutter.c (Fgutter_size_specifier_p):
12532 * gutter.c (Fgutter_visible_specifier_p):
12534 * objects.c (Fcolor_specifier_p):
12535 * objects.c (Ffont_specifier_p):
12536 * objects.c (Fface_boolean_specifier_p):
12537 doc strings moved to make-*-specifier.
12539 * redisplay.c (add_disp_table_entry_runes_1):
12540 * redisplay.c (generate_fstring_runes):
12541 * redisplay.c (screen):
12542 add random comments and doc strings.
12545 * specifier.c (Fmake_specifier):
12546 major overhaul of this doc string.
12548 * specifier.c (Fvalid_specifier_domain_p):
12549 comment about the bogosity of image instances being domains.
12550 * specifier.c (decode_domain):
12551 now non-static, used in glyphs.c.
12552 * specifier.c (specifier_instance):
12553 comment about the bogosity of image instances being domains.
12554 * specifier.c (Fgeneric_specifier_p):
12555 move doc string to make-generic-specifier.
12556 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
12560 * specifier.h (DOMAIN_FRAME):
12561 * specifier.h (DOMAIN_LIVE_P):
12562 * specifier.h (DOMAIN_XDEVICE):
12564 add comments about problems with these macros.
12565 prototype for decode_domain.
12568 * toolbar.c (Ftoolbar_specifier_p):
12569 move doc string to `make-toolbar-specifier'.
12571 * window.c (window_unmap_subwindows_cache_mapper):
12572 *************************************************************
12573 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
12575 *************************************************************
12577 2000-05-09 Andy Piper <andy@xemacs.org>
12579 * glyphs.h: declare reset_frame_subwindow_instance_cache.
12581 * window.c (Fset_window_configuration): reset the frame subwindow
12582 cache and re-initialize the window subwindow caches.
12584 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
12586 2000-05-09 Ben Wing <ben@xemacs.org>
12588 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
12591 2000-04-26 Mike Woolley <mike@bulsara.com>
12593 * ntheap.c: Changed recreate_heap to limit the amount reserved
12594 for the heap to that which is actually available. Also now
12595 displays a message box (with some dignostics) in the event that
12596 it still can't start.
12598 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
12600 * callproc.c (Fold_call_process_internal): GCPRO path
12602 2000-05-08 Jan Vroonhof <jan@xemacs.org>
12604 Patch by Bill Perry.
12606 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
12607 back data instead of #ifdef.
12608 (Fscrollbar_page_down): ditto.
12610 2000-05-07 Ben Wing <ben@xemacs.org>
12613 Kludge for defining Qmswindows_tstr.
12616 * nt.c (open_input_file):
12617 * nt.c (open_output_file):
12618 * nt.c (rva_to_section):
12619 * nt.c (mswindows_executable_type):
12620 Move all memory-mapped-file routines here (some were in unexnt.c,
12621 which is bad because they are used by process-nt.c, and unexnt
12622 won't be around when portable dumping). Synched the above routines
12626 Removed ifdef'd out bogus code.
12627 Fixed some prototypes.
12629 * nt.h (file_data):
12630 * nt.h (OFFSET_TO_RVA):
12631 * nt.h (RVA_TO_OFFSET):
12632 * nt.h (RVA_TO_PTR):
12633 Moved the memory-mapped-file structures, macros and prototypes
12634 here, to parallel nt.c. ntheap.h should really be removed
12635 entirely, and it's a non-portable-dumper specific file.
12637 * ntheap.h (round_to_next):
12638 Moved the memory-mapped-file structures, macros and prototypes
12641 * ntproc.c (compare_env):
12642 Moved rva_to_section and mswindows_executable_type to nt.c.
12643 Moved compare_env to process-nt.c.
12644 ntproc.c will die, one day.
12646 * ntproc.c (sys_spawnve):
12647 Account for win32_ -> mswindows_.
12650 * process-nt.c (struct nt_process_data):
12651 * process-nt.c (ensure_console_window_exists):
12652 * process-nt.c (compare_env):
12653 * process-nt.c (nt_create_process):
12654 * process-nt.c (nt_kill_process_by_pid):
12655 * process-nt.c (syms_of_process_nt):
12656 * process-nt.c (vars_of_process_nt):
12657 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
12658 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
12659 changes). Eliminate our old `nt-quote-process-args' mechanism.
12660 Synch up nt_create_process with FSF 20.6 sys_spawnve.
12661 Move compare_env here from ntproc.c.
12663 * process.c (Fprocess_send_region):
12664 Takes an optional fourth argument, BUFFER, which should fix some
12665 problems with call-process.
12668 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
12671 Move ICC_BAR_CLASSES to syscommctrl.h.
12672 Add preliminary macros for MSWindows/Mule. More to come.
12675 * unexnt.c (unexec):
12676 open_output_file moved to nt.c.
12679 2000-05-05 Andy Piper <andy@xemacs.org>
12681 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
12682 instance from the frame cache also since GC may catch up too late
12683 to make frame deletion sane.
12685 2000-05-04 Andy Piper <andy@xemacs.org>
12687 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
12688 (x_finalize_image_instance): ungcpro on deletion.
12690 * glyphs.c (image_instantiator_format_create): give pointers a
12691 query geometry method so that the geometry is at least set.
12693 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
12694 initialize layouts if using widgets.
12696 2000-05-03 Andy Piper <andy@xemacs.org>
12698 * nt.c: remove bogus reference to sysmmsystem.h
12700 * gui-x.c (popup_selection_callback): fix no selection abort.
12702 2000-05-02 Andy Piper <andy@xemacs.org>
12704 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
12705 (mswindows_widget_instantiate): ditto.
12707 * glyphs-widget.c (initialize_widget_image_instance): initialize
12708 children correctly.
12709 (widget_instantiate): cope with children and items in the same
12712 * glyphs.c (mark_image_instance): cope with children as a first
12714 (image_instance_equal): ditto.
12715 (image_instance_hash): ditto.
12716 (image_instance_changed): ditto.
12718 2000-04-30 Andy Piper <andy@xemacs.org>
12720 * glyphs.c (subwindow_query_geometry): new function. Return some
12722 (subwindow_instantiate): don't assign dimensions if none have been
12724 (image_instantiator_format_create): add subwindow_query_geometry.
12725 (print_image_instance): cope with layouts as widgets.
12727 2000-04-29 Andy Piper <andy@xemacs.org>
12729 * frame.c (delete_frame_internal): call
12730 free_frame_subwindow_instance_cache so that all subwindows are
12731 finalized before their parent.
12732 (mark_frame): remove subwindow_cachels.
12733 (Fmake_frame): remove subwindow_cachel manipulation.
12734 (allocate_frame_core): subwindow_instance_cache is a weak list.
12735 (delete_frame_internal): set subwindow_instance_cache to nil.
12737 * glyphs-msw.c (mswindows_finalize_image_instance): make double
12739 (mswindows_finalize_image_instance): use the device
12740 not the domain as the domain may have died already.
12742 * glyphs-x.c (x_finalize_image_instance): ditto.
12743 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
12746 * redisplay-output.c (redisplay_unmap_subwindows): update for
12747 subwindow instance cache as a weak list.
12748 (redisplay_unmap_subwindows_maybe): ditto.
12749 (redisplay_unmap_subwindows_except_us): ditto.
12751 * glyphs.c (unmap_subwindow): error checking will check the domain
12752 so don't deal with it here. Don't use cachels anymore.
12753 (map_subwindow): ditto.
12754 (update_subwindow_cachel_data): remove old accessor names.
12755 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
12756 (Fresize_subwindow): don't update cachel.
12757 (mark_subwindow_cachels):
12758 (update_subwindow_cachel_data):
12759 (add_subwindow_cachel):
12760 (get_subwindow_cachel_index):
12761 (update_subwindow_cachel):
12762 (reset_subwindow_cachels):
12763 (mark_subwindow_cachels_as_not_updated): deleted.
12764 (cache_subwindow_instance_in_frame_maybe): new function. Add a
12765 subwindow instance to the frame cache.
12766 (find_matching_subwindow): update for subwindow instance cache as
12768 (update_widget_instances): ditto.
12769 (image_instance_type_to_mask):inlined.
12770 (free_frame_subwindow_instance_cache): new function. finalize all
12771 subwindows that are instantiated.
12773 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
12774 of cachel information.
12775 (IMAGE_INSTANCE_DISPLAY_X):
12776 (IMAGE_INSTANCE_DISPLAY_Y):
12777 (IMAGE_INSTANCE_DISPLAY_WIDTH):
12778 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
12779 (XIMAGE_INSTANCE_DISPLAY_X):
12780 (XIMAGE_INSTANCE_DISPLAY_Y):
12781 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
12782 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
12783 remove subwindow_cachel structure and function references.
12784 (image_instance_type_to_mask): inline from glyphs.c
12786 * redisplay.c (redisplay_frame): remove subwindow_cachel
12789 * frame.h (struct frame): remove subwindow_cachels.
12790 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
12792 * frameslots.h: add subwindow_instance_cache.
12794 * window.c (replace_window): check subwindow cache of replacement.
12795 (window_unmap_subwindows_cache_mapper):
12796 (window_unmap_subwindows): new functions. Unmap all subwindows
12797 cached on this window.
12798 (mark_window_as_deleted): unmap all subwindows.
12800 2000-04-27 Andy Piper <andy@xemacs.org>
12802 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
12804 * glyphs-widget.c (widget_layout): return something.
12805 (layout_layout): return something. Fail if not initialized.
12806 (layout_query_geometry): ditto.
12807 (image_instantiator_native_layout): new function. Initialized the
12808 native layout type.
12809 (widget_instantiate): don't do layout stuff here.
12811 * glyphs.c (instantiate_image_instantiator): reorded calling or
12812 instantiate and post_instantiate with layout in between.
12813 (image_instance_layout): be more selective about deciding whether
12814 the layout has been done or not.
12816 * glyphs.h (struct image_instantiator_methods): return a value
12817 from layout_method.
12819 2000-04-26 Andy Piper <andy@xemacs.org>
12821 * glyphs.c (allocate_image_instance): make initial width and
12822 height unspecified. Set initialized to 0.
12824 * syscommctrl.h new file. Encapsulates commctrl.h.
12826 * syswindows.h new file. Encapsulates windows.h.
12828 * ntplay.c: use new syswindows.h and syscommctrl.h header.
12830 * console-msw.h: ditto.
12832 * redisplay-tty.c (tty_output_display_block): remove layout references.
12834 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
12835 window handle rather than just the frame.
12837 * glyphs.c (mark_image_instance): remove layout references.
12838 (print_image_instance): ditto.
12839 (image_instance_equal): ditto.
12840 (image_instance_hash): ditto.
12841 (decode_image_instance_type): ditto.
12842 (encode_image_instance_type): ditto.
12843 (image_instantiate): ditto.
12844 (allocate_glyph): ditto.
12845 (Fimage_instance_height): ditto.
12846 (Fimage_instance_width): ditto.
12847 (update_subwindow): ditto.
12849 * redisplay-x.c (x_output_display_block): recode for layouts as
12852 * redisplay-output.c (redisplay_output_layout): recode for layouts
12854 (compare_runes): remove layout references.
12856 * redisplay-msw.c (mswindows_output_display_block): recode for
12857 layouts as widgets.
12859 * glyphs-widget.c (image_instantiator_layout): remove
12860 layout_possible_dest_types.
12861 (layout_possible_dest_types): deleted.
12863 * glyphs.h (image_instance_type): remove layout references.
12864 (struct Lisp_Image_Instance): ditto. Add initialized flag.
12865 (IMAGE_INSTANCE_INITIALIZED): new accessor.
12866 (XIMAGE_INSTANCE_INITIALIZED): ditto.
12868 2000-04-25 Andy Piper <andy@xemacs.org>
12870 * glyphs-widget.c (image_instantiator_buttons):
12871 (image_instantiator_edit_fields):
12872 (image_instantiator_combo_box):
12873 (image_instantiator_scrollbar):
12874 (image_instantiator_progress_guage):
12875 (image_instantiator_tree_view):
12876 (image_instantiator_tab_control):
12877 (image_instantiator_labels):
12878 (image_instantiator_layout): call default post_instantiate method.
12879 (widget_post_instantiate): new function. Simply lays out the
12882 * glyphs.h (struct image_instantiator_methods): add
12883 post_instantiate method.
12885 * glyphs.c (instantiate_image_instantiator): add post_instantiate
12888 2000-04-23 Andy Piper <andy@xemacs.org>
12890 * glyphs.h (struct image_instantiator_methods): add
12891 decode_domain_method.
12892 (struct Lisp_Image_Instance): remove subwindow frame - it can be
12893 derived from the domain.
12894 (IMAGE_INSTANCE_FRAME): new accessor.
12895 (XIMAGE_INSTANCE_FRAME): ditto.
12897 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
12898 instead of _SUBWINDOW_FRAME.
12899 (finalize_image_instance): ditto.
12900 (Fimage_instance_foreground): ditto.
12901 (Fimage_instance_background): ditto.
12902 (image_instantiate): ditto.
12903 (update_subwindow_cachel): ditto.
12904 (update_subwindow): ditto.
12905 (unmap_subwindow): ditto.
12906 (map_subwindow): ditto
12907 (subwindow_instantiate): ditto.
12908 * glyphs-msw.c (mswindows_update_widget): ditto.
12909 (mswindows_progress_gauge_instantiate): ditto.
12910 (mswindows_tab_control_update): ditto.
12911 * glyphs-x.c (x_update_widget): ditto.
12912 (x_widget_instantiate): ditto.
12913 (x_tab_control_instantiate): ditto.
12914 (x_tab_control_update): ditto.
12915 * event-msw.c (mswindows_wnd_proc): ditto
12917 * glyphs-widget.c (image_instantiator_layout): use
12918 subwindow_decode_domain.
12919 (image_instantiator_buttons): ditto.
12920 (image_instantiator_edit_fields): ditto.
12921 (image_instantiator_combo_box): ditto.
12922 (image_instantiator_scrollbar): ditto.
12923 (image_instantiator_progress_guage): ditto.
12924 (image_instantiator_tree_view): ditto.
12925 (image_instantiator_tab_control): ditto.
12926 (image_instantiator_labels): ditto.
12927 (image_instantiator_layout): ditto.
12929 * glyphs.c: add instance error checking to many functions.
12930 (instantiate_image_instantiator): decode device from cache_domain.
12931 (image_instantiate): partially rewrite by using
12932 decode_image_instantiator_domain to determine what domain the
12933 instance needs to be cached in.
12934 (decode_image_instantiator_domain): new function. Determine what
12935 domain the image needs to be cached in.
12936 (check_window_subwindow_cache): new error checking function.
12937 (check_instance_cache_mapper): ditto.
12938 (check_image_instance_structure): ditto.
12939 (subwindow_decode_domain): new function. Encodes a window as a
12940 subwindow's cache domain.
12941 (image_instantiator_format_create): use it for text and
12944 2000-04-21 Andy Piper <andy@xemacs.org>
12946 * glyphs.c (image_instance_device): new function.
12947 (image_instance_frame): new function.
12948 (image_instance_window): new function.
12949 (image_instance_live_p): new function.
12951 * window.c (mark_window_as_deleted): reset the subwindow_instance_
12954 * glyphs.h (struct Lisp_Image_Instance): device->domain.
12955 (IMAGE_INSTANCE_DOMAIN): new accessor.
12956 (XIMAGE_INSTANCE_DOMAIN): ditto.
12958 * glyphs-x.c (x_finalize_image_instance): device->domain.
12960 * glyphs-msw.c (init_image_instance_geometry): device->domain.
12961 (mswindows_finalize_image_instance): ditto.
12963 * glyphs-eimage.c (jpeg_instantiate): device->domain.
12964 (gif_instantiate): ditto.
12965 (png_instantiate): ditto.
12966 (tiff_instantiate): ditto.
12968 * glyphs.c (instantiate_image_instantiator): use domain rather
12970 (mark_image_instance): device -> domain.
12971 (print_image_instance): ditto.
12972 (finalize_image_instance): ditto.
12973 (image_instance_equal): ditto.
12974 (allocate_image_instance): ditto.
12975 (Fcolorize_image_instance): ditto.
12976 (query_string_geometry): ditto.
12977 (image_instantiate): ditto
12978 (query_string_font): ditto.
12979 (image_instantiate): ditto.
12980 (update_subwindow): ditto.
12981 (unmap_subwindow): ditto.
12982 (map_subwindow): ditto.
12983 (subwindow_instantiate): ditto.
12985 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
12986 (DOMAIN_FRAME): ditto.
12987 (DOMAIN_WINDOW): ditto.
12988 (DOMAIN_LIVE_P): ditto.
12989 (XDOMAIN_DEVICE): ditto.
12990 (XDOMAIN_FRAME): ditto.
12991 (XDOMAIN_WINDOW): ditto.
12993 * specifier.c (Fvalid_specifier_domain_p): add image instances as
12994 a valid specifier domain.
12996 2000-04-19 Andy Piper <andy@xemacs.org>
12998 * glyphs-widget.c (syms_of_glyphs_widget): remove
12999 widget-callback-current-channel.
13000 (vars_of_glyphs_widget): ditto.
13003 * gui.c (get_gui_callback): revert to previous behaviour.
13005 2000-04-18 Andy Piper <andy@xemacs.org>
13007 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
13008 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
13009 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
13011 * glyphs.c (image_instance_equal): add margin_width.
13012 (image_instance_hash): ditto.
13014 * glyphs-widget.c (widget_instantiate): deal with margin-width.
13015 (layout_query_geometry): ditto.
13016 (layout_layout): ditto.
13017 (syms_of_glyphs_widget): add margin-width.
13018 (image_instantiator_layout): allow margin-width.
13020 * glyphs.c (update_widget_instances): make a normal function.
13021 (syms_of_glyphs): remove Qupdate_widget_instances.
13024 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
13025 so that we don't corrupt ideas about the last event or
13026 command. Remove widget-callback-current-channel fiddling.
13027 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
13029 2000-05-01 Martin Buchholz <martin@xemacs.org>
13031 * XEmacs 21.2.33 is released.
13033 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
13035 * make-src-depend: Allow dots in header file name.
13037 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
13039 * mule-charset.h (struct charset_lookup): Add
13040 next_allocated_1_byte_leading_byte and
13041 next_allocated_2_byte_leading_byte.
13042 * mule-charset.c: Move above two variables so that those values
13045 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
13047 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
13048 when string length is zero.
13049 (find_charsets_in_emchar_string): Ditto.
13051 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
13053 * lisp.h: extern Qdialog and Qmenubar.
13055 * gui-x.c: added events.h.
13056 also fixed typo which made the file uncompilable.
13058 * general.c: Added Qmenubar and Qdialog
13060 2000-04-28 Ben Wing <ben@xemacs.org>
13062 * frame-msw.c (mswindows_init_frame_1):
13063 * frame-msw.c (mswindows_mark_frame):
13064 * event-msw.c (mswindows_enqueue_dispatch_event):
13066 * console-msw.h (struct mswindows_frame):
13067 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
13068 there are now three hash tables for callbacks.
13069 mswindows_enqueue_dispatch_event is no longer static.
13071 * dialog-x.c (maybe_run_dbox_text_callback):
13072 * dialog-x.c (dbox_descriptor_to_widget_value):
13073 switch to new cons3 form for callbacks.
13075 * glyphs-msw.c (mswindows_register_gui_item):
13076 * glyphs-msw.c (mswindows_widget_instantiate):
13077 * glyphs-msw.c (add_tree_item):
13078 * glyphs-msw.c (add_tab_item):
13079 new image instance parameter, so it can be passed to callback-ex.
13080 respect :callback-ex as well as :callback.
13082 * glyphs-widget.c (VALID_GUI_KEYWORDS):
13085 * glyphs.c (print_image_instance):
13086 prettify, e.g. now prints widget type.
13089 certain funs have new image instance parameter.
13092 * gui.c (get_gui_callback):
13093 * gui.c (gui_item_add_keyval_pair):
13094 * gui.c (gui_item_init):
13095 * gui.c (gui_add_item_keywords_to_plist):
13096 * gui.c (mark_gui_item):
13097 * gui.c (gui_item_hash):
13098 * gui.c (gui_item_equal):
13099 * gui.c (copy_gui_item):
13100 * gui.c (syms_of_gui):
13101 recognize callback-ex in a number of places.
13102 also, fix the annoying "can't get out of yes-no dialog" bug.
13105 * gui.h (struct Lisp_Gui_Item):
13106 recognize callback-ex in a number of places.
13108 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
13109 new parameter in button_item_to_widget_value.
13111 * glyphs-x.c (x_update_widget):
13112 * glyphs-x.c (x_button_instantiate):
13113 * glyphs-x.c (x_button_update):
13114 * glyphs-x.c (x_progress_gauge_instantiate):
13115 * glyphs-x.c (x_edit_field_instantiate):
13116 * glyphs-x.c (x_combo_box_instantiate):
13117 * glyphs-x.c (x_tab_control_instantiate):
13118 * glyphs-x.c (x_label_instantiate):
13119 new image instance parameter in various places.
13122 * event-Xt.c (enqueue_Xt_dispatch_event):
13123 this fun gets exported.
13126 * gui-msw.c (mswindows_handle_gui_wm_command):
13127 handle both :callback and :callback-ex, and generate our own
13128 event because it's one of the callback-ex arguments.
13131 * gui-x.c (popup_selection_callback):
13132 handle both :callback and :callback-ex, and generate our own
13133 event because it's one of the callback-ex arguments.
13134 * gui-x.c (button_item_to_widget_value):
13135 * gui-x.c (gui_items_to_widget_values_1):
13136 * gui-x.c (gui_item_children_to_widget_values):
13137 * gui-x.c (gui_items_to_widget_values):
13138 new image instance parameter in various places.
13140 * fns.c (Freplace_list):
13141 fix small typo in doc string.
13144 declare enqueue_Xt_dispatch_event.
13146 2000-04-28 Ben Wing <ben@xemacs.org>
13149 * buffer.c (Frecord_buffer):
13150 * buffer.c (syms_of_buffer):
13151 delete record-buffer-hook.
13154 * fns.c (Freplace_list):
13155 * fns.c (syms_of_fns):
13156 new primitive replace-list.
13159 slot for old buffer-alist.
13162 exfun replace-list.
13165 * redisplay.c (redisplay_frame):
13166 * redisplay.c (syms_of_redisplay):
13167 * redisplay.c (vars_of_redisplay):
13168 new hook buffer-list-changed-hook.
13171 2000-04-27 Ben Wing <ben@xemacs.org>
13173 * extents.h: extern in_modeline_generation.
13175 * redisplay.c (generate_formatted_string_db): set
13176 in_modeline_generation.
13178 * extents.c (extent_changed_for_redisplay): don't mark redisplay
13179 flags if in modeline generation. otherwise frame-modified-tick
13180 is ticked far too often.
13181 Declare in_modeline_generation.
13183 2000-04-26 Ben Wing <ben@xemacs.org>
13185 * emacs.c (vars_of_emacs): document quick-build "error-checking"
13187 (vars_of_emacs): add quick-build as an error-checking option.
13188 A bit kludgy, but there doesn't seem much point in creating
13189 a real var for this.
13191 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
13193 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
13195 * redisplay.h (struct display_line): Add a new variable,
13198 * redisplay.c (create_text_block): Set dl->line_continuation if
13199 the line continues.
13200 (create_string_text_block): Ditto.
13201 (regenerate_window_incrementally): Use line_continuation instead
13202 of searching continuation glyph.
13203 (add_margin_runes): Call add_glyph_rune.
13204 (add_glyph_rune): Handle margin glyph.
13206 2000-04-20 Martin Buchholz <martin@xemacs.org>
13208 * filelock.c (fill_in_lock_file_name):
13210 Check for IS_ANY_SEP instead of '/'.
13212 Avoid generating gratuitous garbage. Call user_login_name() directly.
13213 Never check errno without first seeing that system call failed.
13214 (unlock_file): Add GCPRO.
13215 (Flock_buffer): Fix docstring.
13216 (Ffile_locked_p): Fix docstring. Add GCPRO.
13218 2000-04-19 Martin Buchholz <martin@xemacs.org>
13220 * sysdep.c (get_pty_max_bytes):
13221 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
13222 strings longer than 252 bytes.
13224 * md5.c: Unconditionally include ANSI header <limits.h>
13226 * glyphs-x.c (convert_EImage_to_XImage):
13227 * lisp-union.h (union Lisp_Object):
13228 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
13230 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
13232 * filelock.c (current_lock_owner): Remove unused variable o, p.
13234 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
13236 * callint.c: Remove multiply defined symbol Qlet
13237 (syms_of_callint): ditto.
13239 2000-04-14 Andy Piper <andy@xemacs.org>
13241 * general.c (syms_of_general): add last-command, this-command, let
13244 * lisp.h: declare various symbols.
13246 * glyphs.h: declare Qwidget_callback_current_channel;
13248 * glyphs-widget.c (syms_of_glyphs_widget): add
13249 Qgui_callback_current_channel.
13250 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
13252 * gui-msw.c (mswindows_handle_gui_wm_command): bind
13253 widget-callback-current-channel when invoking the interactive
13254 arg. Also bind last-command and next-command when invoking the
13256 * gui-x.c (popup_selection_callback): ditto.
13258 * gui.c (get_gui_callback): massage args so that we are always
13259 calling eval. This allows us to add our own variable bindings
13262 * glyphs-x.c (x_button_instantiate): use
13263 gui_items_to_widget_values since this is GC safe.
13264 (x_progress_gauge_instantiate): ditto.
13265 (x_edit_field_instantiate): ditto.
13266 (x_label_instantiate): ditto.
13268 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
13269 (emacs_Xt_event_widget_focus_out): new function
13270 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
13272 (emacs_Xt_event_add_widget_actions): new function. add focus
13273 functions as actions.
13274 (init_event_Xt_late): use it.
13276 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
13278 * event-stream.c (Fdispatch_event): Doc fix.
13280 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
13282 * postgresql.c: Remove all references to PQsetenv*.
13284 * postgresql.h: Remove references to PGsetenvHandler object.
13285 * lrecord.h (lrecord_type): Ditto.
13287 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13289 * glyphs-msw.h (struct mswindows_image_instance_data): Added
13290 real_heigh and real_width members, and accessor macros for these.
13292 * glyphs-msw.c (init_image_instance_geometry): New function.
13293 (init_image_instance_from_dibitmap): Use it.
13294 (mswindows_resource_instantiate): Use it.
13295 (init_image_instance_from_xbm_inline): Use it.
13296 (mswindows_initialize_image_instance_mask): Use real bitmap
13298 (mswindows_create_resized_bitmap): Ditto.
13299 (mswindows_create_resized_mask): Ditto.
13301 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
13302 and bitmap to their surface size.
13304 2000-04-11 Jan Vroonhof <jan@xemacs.org>
13306 * process-unix.c (unix_send_process): Guard against process MIA
13307 after Faccept_process_output.
13309 2000-04-11 Ben Wing <ben@xemacs.org>
13311 * eval.c (unbind_to_hairy): fix brokenness introduced by
13312 nanosecond speed improvements.
13314 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
13316 * sunplay.c (init_device): To play sounds correctly, the device
13317 apparently needs to be initialized at least once by XEmacs. Make
13320 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
13322 * redisplay.c (add_margin_runes): Add text image glyph
13325 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
13327 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
13328 gcc is newer than 2.5.
13330 2000-04-06 Colin Rafferty <colin@xemacs.org>
13332 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
13334 * fns.c (size_bit_vector):
13335 * alloc.c (size_vector):
13336 (make_vector_internal):
13337 (make_bit_vector_internal):
13338 (sweep_bit_vectors_1):
13339 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
13341 2000-04-06 Andy Piper <andy@xemacs.org>
13343 * gmalloc.c (malloc): undo previous change.
13348 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
13350 * line-number.c (buffer_line_number): Revert to former version.
13352 2000-04-06 Andy Piper <andy@xemacs.org>
13354 * gmalloc.c (malloc): add error checking.
13359 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
13360 button_item_to_widget_value arg.
13362 * glyphs-x.c (x_button_instantiate): add extra
13363 button_item_to_widget_value arg.
13364 (x_progress_gauge_instantiate): ditto.
13365 (x_edit_field_instantiate): ditto.
13366 (x_label_instantiate): ditto.
13368 * gui-x.c (gui_items_to_widget_values_1): add extra
13369 button_item_to_widget_value arg.
13370 (button_item_to_widget_value): add extra menu_item_p arg.
13372 * gui-x.h: change signature of button_item_to_widget_value.
13374 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
13375 button_item_to_widget_value arg.
13377 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
13379 * buffer.h (struct buffer): auto_save_modified should be long.
13381 2000-04-05 Andy Piper <andy@xemacs.org>
13383 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
13385 (button_query_geometry): give a little more room so that athena
13388 2000-04-05 Andy Piper <andy@xemacs.org>
13390 * faces.c (complex_vars_of_faces): The widget face should inherit
13391 the font of the gui-element face.
13393 2000-04-04 Andy Piper <andy@xemacs.org>
13395 * glyphs-x.c (x_button_update): new function. unconditionally
13396 update a button's state when the instance is dirty.
13397 (image_instantiator_format_create_glyphs_x): add x_button_update.
13398 (x_widget_instantiate): remove old resize cruft.
13400 2000-04-02 Andy Piper <andy@xemacs.org>
13402 * frame.c (change_frame_size_1): The introduction of gutters means
13403 that we need to allow 0 as a potential frame dimension.
13405 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
13407 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
13408 image glyph if allow_cursor.
13409 (add_hscroll_rune): Don't allow cursor to border glyph.
13410 (create_text_block): Ditto.
13412 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
13413 text not in buffer.
13414 (redisplay_output_layout): Call ensure_face_cachel_complete for
13418 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
13420 * redisplay.c (add_glyph_rune): Adding text image as text runes.
13422 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
13425 * redisplay-tty.c (tty_output_display_block): Delete the routine
13426 for text image glyph
13427 * redisplay-x.c (x_output_display_block): ditto
13428 * redisplay-msw.c (mswindows_output_display_block): ditto
13430 2000-02-02 Mike Alexander <mta@arbortext.com>
13432 Note: Some of these were committed by accident as part of other
13435 * regex.c (regex_compile): Avoid compiler warnings.
13437 * ntproc.c (sys_spawnve): Avoid compiler warnings.
13439 * nt.h: Declare term_ntproc correctly.
13441 * nt.c: Remove incorrect declaration of get_home_directory which
13442 is declared correctly in lisp.h.
13444 * keymap.c (get_keyelt): Avoid compiler warnings.
13445 (raw_lookup_key_mapper): Avoid compiler warnings.
13447 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
13449 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
13451 * filemode.c (mode_string): Avoid compiler warnings.
13453 * file-coding.c (Fcoding_system_aliasee): Add return statement to
13456 * events-mod.h: Undef some things that winuser.h defines differently.
13458 * data.c (Faset): Avoid compiler warnings.
13460 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
13462 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
13464 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
13465 Fall through to simple beep on error.
13466 Replace "extern" by real header file.
13468 * linuxplay.c: Use nativesound.h
13469 (play_sound_data): Return error code. Be less verbose on error.
13471 * sunplay.c: Use nativesound.h
13472 (play_sound_data): Return error code. Be less verbose on error.
13474 * ntplay.c: Use nativesound.h
13475 (play_sound_data): Return fake error code
13477 * sgiplay.c: Use nativesound.h
13478 (play_sound_data): Return error code
13480 * hpplay.c: Use nativesound.h, partially implement
13481 new error code. Break compilation until finished.
13482 (play_sound_data): error code.
13484 * nativesound.h (play_sound_file):
13485 (play_sound_data): Prototype in new header.
13487 2000-03-31 Andy Piper <andy@xemacs.org>
13489 * glyphs-widget.c: (button_query_geometry): new function. Adjust
13490 for toggle and radio buttons.
13491 (image_instantiator_buttons): use it.
13493 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
13495 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
13496 (x_update_horizontal_scrollbar_callback): Return if no mirror was
13497 found. Scrollbar event probably belonged to some old config.
13499 2000-03-31 Andy Piper <andy@xemacs.org>
13501 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
13503 (initialize_widget_image_instance): default layout to
13504 LAYOUT_HORIZONTAL rather than 0.
13505 (widget_instantiate): reverse the item list at the end rather than
13507 (layout_layout): re-code for the border text at the front of the
13508 item list rather than at the end.
13509 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
13510 provided by the user.
13511 (widget_query_geometry): comment.
13513 2000-03-30 Andy Piper <andy@xemacs.org>
13515 * glyphs-widget.c (image_instantiator_layout): allow standard
13516 widget keywords in layouts.
13518 * gutter.c (output_gutter): cope with nil gutter contents.
13520 * frame.c (Fset_frame_properties): add gutter docs.
13522 2000-03-29 Andy Piper <andy@xemacs.org>
13524 * toolbar-msw.c (TBSTYLE_FLAT): add.
13525 (mswindows_output_toolbar): minor fiddling.
13527 2000-03-29 Andy Piper <andy@xemacs.org>
13529 * gutter.c (output_gutter): force gutter size recalculation if
13530 what we are trying to display won't fit.
13531 (update_gutter_geometry): new function. A per-gutter version of
13532 update_frame_gutter_geometry.
13533 (update_frame_gutter_geometry): use it.
13534 (redraw_exposed_gutter): add extra debugging output.
13536 2000-03-28 Mike Alexander <mta@arbortext.com>
13538 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
13539 (pdump_file_unmap): Implement it on Windows
13540 (pdump_file_get): Save alocated handles for pdump_file_unmap
13542 2000-03-28 Andy Piper <andy@xemacs.org>
13544 * gui.c (get_gui_callback): treat Quit specially.
13546 2000-03-27 Andy Piper <andy@xemacs.org>
13548 * glyphs.c (image_instantiate): be careful to check in the same
13551 2000-03-27 Didier Verna <didier@xemacs.org>
13553 * config.h.in: define the proper SMART_INCLUDE macro.
13554 handle renaming of `foo_h_path' to `foo_h_file'.
13556 * database.c: ditto.
13560 * linuxplay.c: ditto.
13562 * terminfo.c: ditto.
13564 * tooltalk.h: ditto.
13566 2000-03-27 Andy Piper <andy@xemacs.org>
13568 * glyphs-msw.c (mswindows_update_widget): make sure the widget
13569 gets updated whenever the face might have changed.
13571 2000-03-26 Mike Alexander <mta@arbortext.com>
13573 * dumper.c (pdump_resource_free): Fix the comment.
13575 2000-03-21 Olivier Galibert <galibert@pobox.com>
13577 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
13579 2000-03-22 Mike Alexander <mta@arbortext.com>
13581 * dumper.c: Include Windows headers on Windows
13582 (pdump_resource_free): Add a body to the function
13583 (pdump_load): exe_name -> exe_path and add some comments.
13585 2000-03-25 Mike Alexander <mta@arbortext.com>
13587 * gui.c (copy_gui_item_tree): Return a value in all cases
13589 2000-03-21 Didier Verna <didier@xemacs.org>
13591 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
13593 (SMART_INCLUDE): new macro.
13594 (POSTGRES_INCLUDE): new macro to include postgresql headers from
13595 the proper location.
13597 * postgresql.c: use it.
13601 2000-03-24 Andy Piper <andy@xemacs.org>
13603 * gutter.c (redraw_exposed_gutters): must be "in display" when we
13606 2000-03-24 Andy Piper <andy@xemacs.org>
13608 * redisplay-output.c (compare_runes): use image_instance_changed
13609 to detect changes. Do not depend on glyphs_changed, only depend on
13611 (redisplay_output_layout): add debug messages.
13612 (compare_runes): ditto.
13614 * glyphs.h: declare new functions.
13615 (struct Lisp_Image_Instance): remove percent and associated
13618 * gui.h: declare new copying functions.
13620 * gui.c (copy_gui_item_tree): new function.
13621 (copy_gui_item): new function.
13622 (gui_item_id_hash): revert to standard hash.
13623 (gui_item_hash): ditto.
13624 (gui_item_hash_internal): deleted.
13625 (mark_gui_item): mark value.
13626 (gui_item_add_keyval_pair): add value.
13627 (gui_item_init): ditto.
13628 (gui_add_item_keywords_to_plist): ditto.
13629 (gui_item_equal): ditto.
13630 (syms_of_gui): add Q_value.
13632 * glyphs-x.c (x_progress_gauge_update): use pending items and
13633 value for setting the state.
13634 (x_update_widget): don't set items from pending here.
13636 * glyphs-widget.c (update_widget): update items here.
13637 (progress_gauge_set_property): use items for storing value. Put
13638 new value in pending items.
13640 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
13641 items for new value. Convert percent -> value.
13642 (mswindows_tab_control_update): don't update items here.
13644 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
13645 (update_subwindow): ditto.
13646 (image_instance_changed): new function. Compare hash values and
13647 past and present widget items.
13648 (image_instantiate): We more careful about where we instantiate
13650 (image_instantiate): add error checking.
13652 * gutter.c (syms_of_gutter): use -hook.
13654 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
13656 * console-tty.c (Fset_console_tty_input_coding_system): Use
13658 (Fset_console_tty_output_coding_system): Use Qterminal.
13659 (tty_init_console): Use Qkeyboard and Qterminal.
13661 2000-03-21 Ben Wing <ben@xemacs.org>
13663 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
13664 From Mike Alexander <mta@arbortext.com>.
13666 2000-03-21 Ben Wing <ben@xemacs.org>
13668 * event-msw.c (mswindows_need_event): Horrible kludge to fix
13669 process brokenness. Proper implementation to come.
13671 Rename call-process-internal to old-call-process-internal.
13672 New impl. in process.el.
13674 2000-03-21 Martin Buchholz <martin@xemacs.org>
13676 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
13678 2000-03-20 Andy Piper <andy@xemacs.org>
13680 * glyphs.c (full_list_hash): make hashes of the same elements in
13681 different orders return different values.
13683 2000-03-20 Martin Buchholz <martin@xemacs.org>
13685 * XEmacs 21.2.32 is released.
13687 2000-03-20 Martin Buchholz <martin@xemacs.org>
13689 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
13690 (DFC_MALLOC_USE_CONVERTED_DATA):
13691 Add aliasing-safe casts to allow use with char* or unsigned char*
13694 * eldap.c (Fldap_open):
13695 (Fldap_search_basic):
13698 Make C++-compilable.
13699 Make sure GCPRO'ed variables are initialized.
13700 Use temp variables to avoid repeated calls to Flength.
13702 2000-03-16 Martin Buchholz <martin@xemacs.org>
13705 Make sure PATH_MAX is always defined.
13706 Include limits.h for PATH_MAX.
13707 Deprecate use of MAXPATHLEN.
13709 2000-03-10 Martin Buchholz <martin@xemacs.org>
13711 * emacs.c: Add reinit_vars_of_fileio.
13712 * symsinit.h: Add reinit_vars_of_fileio.
13713 * fileio.c (reinit_vars_of_fileio): New.
13714 * fileio.c (Fmake_temp_name):
13715 Initialize temp_name random number from microseconds to make
13716 collisions even less likely. Initialize always at process startup
13717 time. (make-temp-name) used to return the same file name twice in
13719 Random stylistic fiddling.
13722 2000-03-20 Andy Piper <andy@xemacs.org>
13724 * glyphs.c (image_instantiate): allow text glyphs to be
13725 instantiated in the minibuffer window.
13727 2000-03-19 Andy Piper <andy@xemacs.org>
13729 * glyphs.c (image_instance_hash): be careful about which items we
13732 * glyphs-widget.c (tab_control_set_property): record into pending
13733 items rather than the actual items.
13735 * glyphs-x.c (x_update_widget): use pending items to update with.
13737 * glyphs-msw.c (mswindows_tab_control_update): use pending items
13740 * glyphs.c (mark_image_instance): mark pending items.
13742 * window.c (Fset_window_configuration): record the buffer.
13743 (Fselect_window): totally revert previous change which breaks many
13746 2000-03-18 Andy Piper <andy@xemacs.org>
13748 * glyphs-msw.c (mswindows_tab_control_update): force selected
13751 * glyphs.c (image_instantiate): don't allow the minibuffer as a
13752 window domain cache, otherwise we get inconsistencies at
13753 startup. There is something fishy at startup which can lead to the
13754 minibuffer being the selected window when the gutter content is
13757 * gui.c (parse_gui_item_tree_list): add probably unnecessary
13759 (parse_gui_item_tree_children): ditto.
13760 (parse_gui_item_tree_item): ditto.
13762 * glyphs.c (Fupdate_widget_instances): return something.
13764 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
13766 * window.c (Fselect_window): Undo 2000-03-17 change.
13768 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
13770 * postgresql.c (Fpq_setenv): Remove this turkey when linking
13771 against v7.0 libraries. Insta-coredump city until the postgres
13774 2000-03-17 Andy Piper <andy@xemacs.org>
13776 * faces.c (complex_vars_of_faces): don't give the widget face an
13777 inherited background pixmap.
13779 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
13782 * event-stream.c (Fdispatch_non_command_events): return something.
13784 * gutter.c (output_gutter): use widget face.
13785 (clear_gutter): ditto.
13787 * NEWS: adjust again.
13789 * window.c (Fselect_window): make sure this runs to completion to
13790 avoid oddities with Fset_window_configuration.
13791 (Fcurrent_window_configuration): in general do not save the
13792 minibuffer as the selected window.
13794 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
13796 2000-03-16 Olivier Galibert <galibert@pobox.com>
13798 * emacs.c (Frunning_temacs_p): Revert previous patch.
13799 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
13801 2000-03-16 Andy Piper <andy@xemacs.org>
13803 * glyphs-x.c (x_tab_control_update): if no widget values then
13806 * NEWS: update for new features.
13808 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
13809 synthetic event to the native system.
13810 (reinit_vars_of_event_Xt): set force_event_pending to
13811 emacs_Xt_force_event_pending.
13813 * events.h (struct event_stream): add force_event_pending.
13815 * specifier.c (recompute_one_cached_specifier_in_window): add
13818 * redisplay.c (redisplay_frame): don't call
13819 update_frame_subwindows. Reset subwindow cachels when
13820 subwindows_changed, removing this was an optimization too far.
13822 * redisplay-output.c (compare_runes): reorganize so that we catch
13823 glyph changes when we want them. Set optimize_output when this
13824 would help layouts.
13825 (redisplay_output_layout): remove frame_really_changed, use
13826 optimize_output instead.
13828 * redisplay-msw.c (mswindows_output_display_block): reset
13829 optimize_output after outputting a glyph.
13830 * redisplay-x.c (x_output_display_block): ditto.
13831 * redisplay-tty.c (tty_output_display_block): ditto.
13833 * gutter.c: (specifier_vars_of_gutter): use new spec changed
13835 (gutter_specs_changed): do specific gutter positions.
13836 (top_gutter_specs_changed): new function. Only update the
13837 specified gutter specs.
13838 (bottom_gutter_specs_changed): ditto.
13839 (left_gutter_specs_changed): ditto.
13840 (right_gutter_specs_changed): ditto.
13842 * gui.c (gui_item_hash_internal): new function, does a real hash.
13843 (gui_item_id_hash): use it.
13844 (gui_item_hash): hash the eval'ed gui_item.
13846 * gui-x.c (popup_selection_callback): send an eval event to call
13847 Fupdate_widget_instances.
13849 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
13850 to call Fupdate_widget_instances.
13852 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
13853 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
13855 * glyphs.c: (update_frame_subwindows): deleted.
13856 (Fupdate_widget_instances): new function for updating the dirty
13857 state of widgets that might have changed.
13858 (syms_of_glyphs): add Qupdate_widget_instances.
13859 (full_list_hash): hash a list completely.
13860 (image_instance_hash): use it for items and properties.
13862 * frame-msw.c (mswindows_size_frame_internal): remove unused
13865 * faces.h (struct face_cachel): fix comment.
13867 * event-stream.c (Fdispatch_non_command_events): new
13868 function. Process non-command events, forcing an event cycle
13870 (syms_of_event_stream): declare.
13871 (event_stream_force_event_pending): new function. Force an event
13872 on the native event queue so that an event cycle will occur next
13876 (struct ntpipe_shove_stream):
13877 (mswindows_enqueue_dispatch_event):
13878 (mswindows_dequeue_dispatch_event):
13879 (mswindows_cancel_dispatch_event):
13880 (mswindows_pump_outstanding_events):
13881 (mswindows_drain_windows_queue):
13882 (mswindows_handle_paint):
13883 (mswindows_wnd_proc):
13884 (mswindows_key_to_emacs_keysym):
13885 (get_process_input_waitable):
13886 (emacs_mswindows_delete_stream_pair): re-indent file.
13887 (mswindows_need_event): do not process further fds if the windows
13888 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
13889 fixes the 100% cpu problem.
13890 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
13892 2000-03-15 Olivier Galibert <galibert@pobox.com>
13898 * emacs.c: Moved dump file searching to dumper.c.
13899 (Frunning_temacs_p): Fixed.
13901 * alloc.c: Moved everything pdump-related to dumper.c. Removed
13902 last_lrecord_type_index_assigned.
13904 2000-02-20 Olivier Galibert <galibert@pobox.com>
13906 * symsinit.h: Added reinit parameter to init_console_stream
13909 * lisp.h: Added file parameter to pdump_load declaration.
13911 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
13912 support. Added dump file searching.
13914 * config.h.in: Added EMACS_PROGNAME.
13916 * console-stream.c (init_console_stream): Fix reinitialisation
13917 when running from temacs.
13919 * alloc.c (pdump): Add id support.
13920 (pdump_load): Add file parameter and signature/id support.
13922 * Makefile.in.in: Add full pdump support.
13924 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
13926 * postgresql.c: Update documentation to reflect latest code
13928 (print_result): Show tuple counts in printed representation when
13930 (Fpq_put_nbytes): MULE-ize.
13931 (Fpq_get_line_async): Ditto.
13933 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
13935 * postgresql.c (Fpq_lo_import): Fix return value.
13936 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
13938 2000-03-13 Ben Wing <ben@xemacs.org>
13940 * alloc.c (pdump_load):
13941 Fix compile warning under mswin.
13943 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
13945 * postgresql.c: Mule-ization, bug fixes.
13946 Use PG_CODING to encapsulate coding system name changes.
13947 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
13948 (pg-coding-system): Create.
13950 (Fpq_conn_defaults): Mule-ize.
13951 (Fpq_connectdb): Mule-ize & bug fix.
13952 (Fpq_connect_start): Mule-ize.
13953 (Fpq_set_client_encoding): Mule-ize.
13954 (Fpq_finish): Document `DEAD' connection status.
13955 (Fpq_clear): Ditto.
13956 (Fpq_pgconn): Mule-ize.
13957 (Fpq_exec): Mule-ize & bug fix.
13958 (Fpq_send_query): Ditto.
13959 (Fpq_get_result): Ditto.
13960 (Fpq_res_status): Mule-ize.
13961 (Fpq_result_error_message): Mule-ize.
13962 (Fpq_ntuples): fix comments.
13963 (Fpq_fname): Mule-ize.
13964 (Fpq_fnumber): Mule-ize.
13965 (Fpq_ftype): fix comments.
13966 (Fpq_get_value): Mule-ize.
13967 (Fpq_cmd_status): Ditto.
13968 (Fpq_cmd_tuples): Ditto.
13969 (Fpq_oid_value): Ditto.
13970 (Fpq_notifies): Ditto.
13971 (Fpq_lo_import): Ditto.
13972 (Fpq_lo_export): Ditto.
13973 (Fpq_get_line): Ditto.
13974 (Fpq_put_line): Mule-ize and bug fix.
13975 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
13977 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
13979 * postgresql.c (vars_of_postgresql): Mule-ize.
13980 (Fpq_conn_defaults): Ditto.
13982 2000-03-12 Ben Wing <ben@xemacs.org>
13984 * alloc.c (Fmake_byte_code):
13985 * alloc.c (debug_string_purity_print):
13986 * alloc.c (pdump_backtrace):
13987 * alloc.c (pdump_get_indirect_count):
13988 * alloc.c (pdump_register_sub):
13989 * alloc.c (pdump_register_object):
13990 * alloc.c (pdump_register_struct):
13991 * alloc.c (pdump_dump_data):
13992 * alloc.c (pdump_reloc_one):
13996 * console-msw.c (GetConsoleHwnd):
13997 * console-msw.c (msw_hide_console):
13998 * console-msw.c (msw_show_console):
13999 * console-msw.c (msw_ensure_console_buffered):
14000 * console-msw.c (msw_output_console_string):
14001 * console-msw.c (console_type_create_mswindows):
14003 a) Added functions to manipulate the console window for use with
14006 b) Added support for writing text to the console, which is now
14007 used under Windows when xemacs is not being run non-interactively,
14008 to write text that would otherwise be destined for stdout because
14009 under these circumstances, text written to stdout tends to
14010 disappear and not be seen.
14014 * event-Xt.c (x_event_to_emacs_event):
14015 * event-Xt.c (describe_event_window):
14016 * events-mod.h (XEMACS_MOD_CONTROL):
14018 * events.c (Fmake_event):
14019 * events.c (character_to_event):
14020 * events.c (event_to_character):
14021 * events.c (format_event_object):
14022 * events.c (Fevent_modifiers):
14024 * events.h (struct key_data):
14025 * events.h (struct button_data):
14026 * events.h (struct misc_user_data):
14027 * frame-x.c (Fcde_start_drag_internal):
14028 * frame-x.c (Foffix_start_drag_internal):
14029 * gpmevent.c (Freceive_gpm_event):
14031 * keymap.c (bucky_sym_to_bucky_bit):
14032 * keymap.c (control_meta_superify):
14033 * keymap.c (make_key_description):
14034 * keymap.c (keymap_lookup_directly):
14035 * keymap.c (create_bucky_submap):
14036 * keymap.c (keymap_store):
14037 * keymap.c (define_key_check_and_coerce_keysym):
14038 * keymap.c (define_key_parser):
14039 * keymap.c (define_key_alternate_name):
14040 * keymap.c (Fdefine_key):
14041 * keymap.c (raw_lookup_key_mapper):
14042 * keymap.c (struct map_keymap_unsorted_closure):
14043 * keymap.c (map_keymap_unsorted_mapper):
14044 * keymap.c (map_keymap_sort_predicate):
14045 * keymap.c (map_keymap_sorted):
14046 * keymap.c (accessible_keymaps_mapper_1):
14047 * keymap.c (where_is_recursive_mapper):
14048 * keymap.c (describe_map_mapper):
14049 * keymap.c (describe_map_sort_predicate):
14050 * keymap.c (describe_map):
14051 * keymap.c (complex_vars_of_keymap):
14052 And a number of other files, the key modifier preprocessor
14053 constants that xemacs uses have names that conflict with constants
14054 defined under MS Windows for other purposes, so they were renamed
14055 to begin with the prefix XEMACS_. The variables that hold such
14056 modifiers were changed to consistently be of type int to fix
14057 various compile warnings.
14059 * console.c (complex_vars_of_console):
14062 * device-msw.c (mswindows_finish_init_device):
14063 * device-msw.c (msw_get_workspace_coords):
14064 * device-msw.c (mswindows_device_system_metrics):
14065 and various other files, added support for a new
14066 device property called offset-workspace which returns the position
14067 of the upper left corner of the workspace area and goes along with
14068 the existing size-workspace property.
14071 * dialog-msw.c (push_bufbyte_string_as_unicode):
14072 * dialog-msw.c (mswindows_popup_dialog_box):
14073 Added support for XEmacs-style accelerator specifications in
14074 button text. Note: I didn't add support for this under X Windows,
14075 and somebody needs to do this.
14078 * dialog.c (Fpopup_dialog_box):
14079 Documented the support for accelerators that was just mentioned.
14081 editfns.c (get_home_directory): Changed behavior under Windows
14082 when HOME not defined; former behavior was irretrievably broken.
14085 * emacs.c (main_1):
14087 * minibuf.c (clear_echo_area_internal):
14088 * minibuf.c (echo_area_append):
14090 * print.c (std_handle_out_external):
14091 * print.c (std_handle_out_va):
14093 * print.c (write_string_to_stdio_stream):
14094 * print.c (output_string):
14095 * print.c (debug_print):
14096 * print.c (debug_backtrace):
14097 * print.c (debug_short_backtrace):
14098 Cleaned up the code that prints text to stdout so that this can be
14099 changed to output into a console window instead under MS Windows,
14100 as described above.
14103 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
14104 * eval.c (internal_catch):
14105 * eval.c (unwind_to_catch):
14106 * eval.c (throw_or_bomb_out):
14107 * eval.c (condition_case_1):
14108 * eval.c (signal_1):
14109 * eval.c (check_error_state_sanity):
14110 * eval.c (call_with_suspended_errors_1):
14111 * eval.c (call_with_suspended_errors):
14112 * eval.c (reinit_vars_of_eval):
14113 Added code to catch throw loops and check for a pesky bug that may
14117 * event-msw.c (key_needs_default_processing_p):
14118 * event-msw.c (mswindows_wnd_proc):
14119 * event-msw.c (mswindows_modifier_state):
14120 * event-msw.c (emacs_mswindows_quit_p):
14121 * event-msw.c (vars_of_event_mswindows):
14122 a) Added support for using the alt key to select menu items as is
14123 standard under MS Windows. This is controlled using the variable
14124 menu-accelerator-enabled, just like under X Windows. There is an
14125 option on the options menu to turn this support on. I really
14126 think that it should be on by default under Windows, but I'm not
14127 going to make this change yet.
14129 b) Added support for dynamic display size changes under Windows.
14132 * event-stream.c (maybe_echo_keys):
14133 * event-stream.c (Fnext_event):
14134 * event-stream.c (command_builder_find_leaf):
14135 * event-stream.c (lookup_command_event):
14136 * event-stream.c (execute_command_event):
14137 * event-stream.c (pre_command_hook):
14138 * event-stream.c (post_command_hook):
14139 * event-stream.c (syms_of_event_stream):
14140 * event-stream.c (vars_of_event_stream):
14141 * event-stream.c (complex_vars_of_event_stream):
14142 * events.h (struct command_builder):
14144 a) Tried to clean up a little bit the horribly written x-specific
14145 accelerator code that crept into this file. I moved this code
14146 into menubar-x.c where it belongs. I also needed to move the
14147 command builder structure into the file events.h because it is
14148 accessed directly by this accelerator code. What I didn't do, but
14149 which should be done at some point, is to properly abstract this
14150 code using device methods instead of the kludgy way that it
14151 currently hooks into the event code.
14153 b) Added the lisp variables this-command-properties and
14154 last-command- properties, which should be used to synchronize two
14155 adjacent commands in preference to playing games with the variable
14156 this-command, which is typically what happens.
14158 c) Added some slightly nasty code to hook into the lisp support
14159 for shifted- motion-key selection. This is actually necessary for
14160 somewhat complicated reasons, which are described in
14161 simple.el. (NB: I think the proper thing would be to have the code
14162 that calls the pre and post command hooks also call out to generic
14163 lisp functions in simple.el, where all built-in stuff could be
14164 added. I will think about this more.)
14166 * event-unixoid.c (poll_fds_for_input):
14167 * lread.c (readchar):
14168 * redisplay-tty.c (tty_clear_frame):
14169 * redisplay-x.c (x_get_gc):
14170 * signal.c (interrupt_signal):
14171 And a whole bunch of other files: fixed up places that printed
14172 directly to stderr to instead call the function stderr_out so that
14173 the changes I made under Windows work correctly.
14175 * filemode.c (mode_string):
14179 * frame-msw.c (mswindows_size_frame_internal):
14180 Fixed the computation of frame size and position to keep the frame
14181 within the workspace area, rather than within the physical
14182 dimensions of the screen, so that the frame doesn't overlap window
14183 manager decorations, such as the start menu and toolbar, typically
14184 at the bottom of the screen.
14186 * frame.c (vars_of_frame):
14187 Changed the default frame title format under MS Windows to consist
14188 of buffername-XEmacs, which is standard under MS Windows. I think
14189 it might be a good idea to change this everywhere because I think
14190 it is superior to the current frame title format, but this is the
14191 kind of change that is likely to cause some people to get annoyed,
14192 so I'm not making it.
14194 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
14196 * gui-msw.c (mswindows_handle_gui_wm_command):
14197 Fixed compile warnings.
14200 * gui-x.c (strdup_and_add_accel):
14201 * gui-x.c (button_item_to_widget_value):
14203 Added code to automatically put an accelerator onto the beginning
14204 of menu items that don't have one as is now the standard, and is
14205 described more later. Also fixed things so that the menu item
14206 name can be an evaluated expression, again a new standard.
14209 * gui.c (gui_item_add_keyval_pair):
14210 * gui.c (make_gui_item_from_keywords_internal):
14211 * gui.c (gui_add_item_keywords_to_plist):
14212 * gui.c (gui_item_accelerator):
14213 * gui.c (gui_name_accelerator):
14214 * gui.c (gui_item_included_p):
14215 * gui.c (gui_item_display_flush_left):
14216 * gui.c (gui_item_display_flush_right):
14217 * gui.c (parse_gui_item_tree_item):
14218 * gui.c (parse_gui_item_tree_children):
14219 * gui.c (parse_gui_item_tree_list):
14220 Mule-ized. Cleanup. GCPRO addition.
14222 * line-number.c (buffer_line_number):
14224 * lisp.h (EMACS_INT_MAX):
14225 Added the manifest constant EMACS_INT_MIN corresponding to the
14226 existing constant EMACS_INT_MAX. This is partially to fix compile
14227 warnings under Windows, and partly for cleanliness.
14230 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
14231 * menubar-msw.c (msw_translate_menu_or_dialog_item):
14232 * menubar-msw.c (displayable_menu_item):
14233 * menubar-msw.c (populate_menu_add_item):
14234 * menubar-msw.c (populate_or_checksum_helper):
14235 * menubar-msw.c (populate_menu):
14236 * menubar-msw.c (update_frame_menubar_maybe):
14237 * menubar-msw.c (prune_menubar):
14238 * menubar-msw.c (msw_char_is_accelerator):
14239 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
14240 * menubar-msw.c (mswindows_handle_wm_command):
14241 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
14242 * menubar-msw.c (mswindows_handle_wm_initmenu):
14243 * menubar-msw.c (mswindows_update_frame_menubars):
14244 * menubar-msw.c (mswindows_free_frame_menubars):
14245 * menubar-msw.c (mswindows_popup_menu):
14246 Fixed a bug in handling accelerators where an extra character
14247 would be displayed in the menu item. Also generalized the
14248 function displayable_menu_item because it is now used by the
14249 dialog box code as well. And finally, added code in the functions
14250 that create the menubar to extract a list of accelerators for the
14251 top level menubar, which is used in the event code to determine
14252 whether a particular alt-key combination should be used to invoke
14253 a menu item, or should be passed through to access the standard
14254 XEmacs keymap binding for this key combination.
14256 Much needed GCPROing.
14259 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
14260 * menubar-x.c (menu_item_descriptor_to_widget_value):
14261 * menubar-x.c (restore_in_menu_callback):
14262 * menubar-x.c (x_popup_menu):
14263 * menubar-x.c (menu_move_up):
14264 * menubar-x.c (menu_move_down):
14265 * menubar-x.c (menu_move_left):
14266 * menubar-x.c (menu_move_right):
14267 * menubar-x.c (menu_select_item):
14268 * menubar-x.c (command_builder_operate_menu_accelerator):
14269 * menubar-x.c (menu_accelerator_junk_on_error):
14270 * menubar-x.c (command_builder_find_menu_accelerator):
14271 * menubar-x.c (Faccelerate_menu):
14273 Moved a whole bunch of code here that was previously in
14274 event-stream.c as described above. There is also code connected
14275 to the new standard of adding an accelerator to the beginning of
14276 menu items that don't have one as described above and below.
14279 * menubar.c (menu_parse_submenu_keywords):
14280 * menubar.c (Fmenu_find_real_submenu):
14281 * menubar.c (Fnormalize_menu_item_name):
14282 * menubar.c (syms_of_menubar):
14283 * menubar.c (vars_of_menubar):
14284 * menubar.c (complex_vars_of_menubar):
14286 a) Cleaned up a bunch of documentation and improved it.
14288 b) XEmacs now automatically adds an accelerator onto the beginning
14289 of any menu items that don't have one. I did this because there
14290 will inevitably be some menu items on the main menubar that don't
14291 have accelerators on them because the package that adds that
14292 particular menu item hasn't yet been fixed up to have accelerators
14293 in them and it looked rather strange to have some items with and
14294 some items without accelerators, especially since even in items
14295 without accelerators, you can, at least under windows, still
14296 access the item through an accelerator corresponding to the first
14297 character in the item's name. If people don't like this behavior,
14298 I can add a variable to turn it off optionally, but I'm not sure
14299 this is a good idea because we really do need to have accelerators
14300 on all of the menu items, and if a package doesn't like the
14301 accelerators being put on the first character, then it should put
14302 the accelerators where they belong.
14304 c) I made a behavior change, which is that the descriptor that
14305 specifies the text of the menu item, which formerly was just a
14306 string, can now also be an evaluated expression. This makes this
14307 descriptor parallel with all of the others, which could also be
14308 evaluated expressions. This also obviates the need for the
14309 keyword :label, which was previously listed in the documentation
14310 as unimplemented, and which was for the same purpose.
14315 * ntproc.c (new_child):
14316 * ntproc.c (sys_spawnve):
14317 * ntproc.c (find_child_console):
14318 * ntproc.c (sys_kill):
14319 Fixed compile warnings. By the way, this file should really go
14320 away entirely, and this will happen as soon as Kirill makes his
14321 final round of process cleanups, which affect the function
14325 * process-nt.c (struct nt_process_data):
14326 * process-nt.c (find_process_from_pid):
14327 * process-nt.c (send_signal_the_nt_way):
14328 * process-nt.c (enable_child_signals):
14329 * process-nt.c (find_child_console):
14330 * process-nt.c (send_signal_the_95_way):
14331 * process-nt.c (nt_finalize_process_data):
14332 * process-nt.c (ensure_console_window_exists):
14333 * process-nt.c (nt_create_process):
14334 * process-nt.c (nt_kill_child_process):
14335 * process-nt.c (nt_kill_process_by_pid):
14336 * process-nt.c (nt_open_network_stream):
14337 * process-nt.c (vars_of_process_nt):
14338 Copied over code from Emacs 20.5 to correctly send signals to sub-
14339 processes under Windows 95. Also added code to automatically
14340 create and hide console window when a sub-process is created under
14341 Windows 95, which obviates the need for the separate runemacs.exe
14342 executable, and finally implemented some variables that were
14343 implemented in Emacs 20.5, but previously not in XEmacs. These
14344 include mswindows- start-process-share-console and
14345 mswindows-start-process-inherit-error-mode. (Both of these only
14346 apply to Windows 95.)
14348 * regex.c (regex_compile): Fixed a compile warning.
14351 * select-msw.c (mswindows_own_selection):
14352 * select-msw.c (mswindows_get_foreign_selection):
14353 * select-msw.c (mswindows_disown_selection):
14354 * select-msw.c (console_type_create_select_mswindows):
14355 * select-msw.c (syms_of_select_mswindows):
14356 Cleaned up the file and implemented the device method
14357 selection_exists_p, which had accidentally been left out. Also
14358 removed four lisp functions that were remnants from before the
14359 time when the selection code was properly device abstracted.
14360 These functions are no longer needed because there are generic
14361 equivalents, and because they were added recently and don't exist
14362 in FSF Emacs, I don't think there's any problem with just deleting
14366 * sysdep.c (sys_subshell):
14367 Fixed a compile warning, although in this case there's probably
14368 something wrong with this code, and it ought to be looked into
14369 more thoroughly by somebody who understands it.
14372 * window.c (Fwindow_text_area_height):
14373 * window.c (Fwindow_width):
14374 * window.c (Fwindow_full_width):
14375 * window.c (Fwindow_pixel_width):
14376 * window.c (debug_print_window):
14377 * window.c (syms_of_window):
14378 Added functions window-text-area-height and window-full-width,
14379 which are functions for returning various width and height
14380 characteristics of a window. (One of these functions is necessary
14381 for making the file dialog box work correctly, and the other one
14382 was added for completeness.) Also added a table to the
14383 documentation for window-height which describes the entire scheme
14384 for accessing width and height characteristics of a window.
14386 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14388 * nt.c (fstat): Added a comment for another problem with
14389 non-encapsulated [f]stat(), reported by Adrian Aichner
14390 <aichner@ecf.teradyne.com>.
14392 2000-03-11 Andy Piper <andy@xemacs.org>
14394 * window.c (make_dummy_parent): initialize subwindow instance
14396 (Fset_window_configuration): zero extent_modiff.
14398 2000-03-10 Andy Piper <andy@xemacs.org>
14400 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
14401 more changes can be triggered.
14402 (Fredisplay_frame): ditto.
14403 (Fredraw_device): ditto.
14404 (Fredisplay_device): ditto.
14405 (redisplay_frame): make non-static.
14406 (redisplay_frame): call update_frame_gutter_geometry outside of
14409 * gutter.h: declare update_frame_gutter_geometry.
14411 * redisplay.h: declare redisplay_frame.
14413 * gutter.c (update_frame_gutter_geometry): move geometry changes
14414 in update_frame_gutters here. Geometry changes can only occur
14415 outside of redisplay.
14416 (update_frame_gutters): remove geometry change code.
14417 (Fredisplay_gutter_area): make sure that we are in display when we
14418 update and that we have flushed any size changes.
14420 2000-03-11 Andy Piper <andy@xemacs.org>
14422 * alloc.c (pdump_dump_data): remove i & count shadows.
14424 2000-02-27 Mike Alexander <mta@arbortext.com>
14426 * sysdep.h: Declare pdump_read_file
14428 * sysdep.c (pdump_read_file): New function
14430 * alloc.c (pdump_load): Call pdump_read_file to get the portable
14433 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
14435 * lrecord.h: add `lrecord_type_pgsetenv'.
14437 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
14439 * symsinit.h: declare (vars|syms)_of* functions.
14440 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
14442 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
14444 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
14446 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
14449 * emacs.c (main_1): Call postgres initialization code.
14451 * postgresql.h: New file. PostgreSQL RDBMS support.
14452 * postgresql.c: New file.
14454 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
14456 * redisplay-output.c (redisplay_output_display_block): Disable
14459 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14461 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
14462 (Fcanna_henkan_next): Ditto.
14463 (Fcanna_bunsetu_henkou): Ditto.
14464 (Fcanna_henkan_kakutei): Ditto.
14465 (Fcanna_henkan_end): Ditto.
14466 (Fcanna_henkan_quit): Ditto.
14467 (Fcanna_henkan_next): Set retun value correctly.
14468 (c2mu): Use unsigned char instead of signed char.
14470 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14472 * emacs.c (main_1): Always call syms_of_gui.
14473 * inline.c: include gui.h
14475 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14477 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
14478 converted to Lisp_Object.
14479 (Qtop_bottom): New variable.
14480 (syms_of_redisplay): Initialize it.
14481 * redisplay.h (Vvisible_bell): Ditto.
14482 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
14483 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
14484 only flash top and bottom.
14486 2000-03-08 Andy Piper <andy@xemacs.org>
14488 * buffer.c (Frename_buffer): record new buffer name the right way.
14490 2000-03-08 Andy Piper <andy@xemacs.org>
14492 * glyphs.c (update_subwindow): increase hash depth so that widget
14493 items get picked up properly.
14495 * redisplay-output.c (compare_runes): increase hash depth so that
14496 widget items get picked up properly.
14498 2000-03-08 Andy Piper <andy@xemacs.org>
14500 * gutter.c (output_gutter): add some debug.
14502 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
14503 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
14504 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
14506 * redisplay-output.c (compare_runes): use display_hash to
14507 determine if glyphs really are not the same.
14509 * glyphs.c (update_subwindow): check display_hash to see if
14510 anything really needs to be updated. If not then do
14511 nothing. Record the display_hash after updating.
14512 (image_instance_equal): compare the image_instance face also.
14514 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
14516 * redisplay.h: Fix comment style.
14518 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
14520 * consle-msw.h (struct mswindows_frame):
14521 Added new member paint_pending to indicate whether a WM_PAINT
14522 magic event has been queued for this frame.
14524 * event-msw.c (mswindows_drain_windows_queue):
14525 Don't queue a WM_PAINT magic event if one is already queued.
14526 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
14528 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
14530 2000-03-07 Didier Verna <didier@xemacs.org>
14532 * dired.c: #include `regex.h' after `sysfile.h'.
14534 2000-03-06 Martin Buchholz <martin@xemacs.org>
14536 * sound.c (init_nas_sound): Fix compiler warning.
14538 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
14540 (MARK_STRUCT_AS_FREE):
14541 (MARK_STRUCT_AS_NOT_FREE):
14542 Make `gcc -fstrict-aliasing' work properly.
14544 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
14546 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
14547 (mswindows_delete_device): Call CoUnnitialize().
14549 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
14551 2000-02-25 <CraigL@DyCon.com>
14553 * process-nt.c: MinGW now has <shellapi.h>, but still needs
14556 * sysdep.c: This extern declaration for environ prevents MinGW
14557 from finding the variable in CRTDLL.DLL.
14559 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
14561 (SHGFI_EXETYPE): ..
14562 (WM_MOUSEWHEEL): ..
14563 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
14565 (MMRESULT): Removed, now defined in cygwin's windows headers.
14567 (uid_t,gid_t,pid_t,ssize_t): ..
14568 (_timeb): Removed, MinGW defines both _timeb and timeb.
14569 (HAVE_H_ERRNO): Added.
14570 (HAVE_TZNAME): Added, configure is not detecting this.
14572 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
14574 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
14575 * syntax.c (syntax_match): Use it.
14577 * cmds.c: Import auto-fill-chars from FSF Emacs.
14578 (Vauto_fill_chars): New variables.
14579 (internal_self_insert): Check Vauto_fill_chars.
14581 Declare auto-fill-chars as a Lisp variable and initialize it.
14583 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
14585 * fileio.c (Fmake_symbolic_link):
14587 Run handlers even if local machine doesn't have symlinks.
14589 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
14591 * event-msw.c (mswindows_drain_windows_queue):
14592 Don't generate paint magic events for non-XEmacs frames.
14594 2000-03-05 Andy Piper <andy@xemacs.org>
14596 * redisplay.c (redisplay_frame): generate_displayable_area and
14597 friends assumes that we are not in GC, we therefore have to make
14598 sure that this doesn't happen.
14600 * gutter.c (calculate_gutter_size): generate_displayable_area
14601 assumes that we are not in GC, we therefore have to make sure that
14602 this doesn't happen.
14604 2000-03-05 Martin Buchholz <martin@xemacs.org>
14606 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
14608 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14610 * redisplay.c (regenerate_window): Make sure we set a sane value
14611 for end_pos even if we jump out of the loop.
14612 (regenerate_window): Answer Ben's question :-).
14613 (start_end_of_last_line): Add may_error argument.
14614 (start_of_last_line):
14615 (end_of_last_line): Pass may_error = 0.
14616 (end_of_last_line_may_error): New function.
14617 (pixel_to_glyph_translation): Use it, so we don't crash in
14620 2000-03-04 Andy Piper <andy@xemacs.org>
14622 * window.h (struct window): add gutter_extent_modiff.
14624 * window.c (allocate_window): zero out gutter_extent_modiff.
14626 * redisplay.h: declare sync_display_line_structs.
14628 * redisplay.c (add_glyph_rune): add a better comment.
14630 * redisplay-output.c (sync_display_line_structs): made non-static.
14631 (compare_runes): remove unneccesary glyph cachel access.
14633 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
14635 * gutter.c (output_gutter): don't output the gutter if extent
14636 changes only involve extents in buffers. use 4 sets of display
14638 (gutter_extent_signal_changed_region_maybe): new function. Mark
14639 extents in gutters as changed.
14640 (update_frame_gutters): use 4 sets of display lines.
14641 (reset_gutter_display_lines): ditto.
14642 (free_frame_gutters): ditto.
14643 (redraw_exposed_gutter): force output of gutters.
14645 * frame.h (struct frame): add 4 sets of gutter display lines.
14647 * extents.c: (extent_changed_for_redisplay): signal changes to
14648 extents in strings in the gutter as well as extents in buffers.
14650 2000-03-02 Andy Piper <andy@xemacs.org>
14652 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
14654 * frame.c (Fmake_frame): make sure the gutters get initialized
14655 after the frame is visible.
14656 (set_frame_selected_window): re-arrange compilation macros a
14658 (change_frame_size_1): mark gutters changed.
14660 * device.c (Fset_device_class): mark gutters changed.
14662 2000-03-01 Andy Piper <andy@xemacs.org>
14664 * window.c (window_top_frame_gutter_height): deleted.
14665 (window_bottom_frame_gutter_height): ditto.
14666 (window_left_frame_gutter_height): ditto.
14667 (window_right_frame_gutter_height): ditto.
14668 (window_top_gutter_height): don't use them.
14669 (window_bottom_gutter_height): ditto.
14670 (window_left_gutter_width): ditto.
14671 (window_right_gutter_width): ditto.
14672 (Fsplit_window): ditto.
14673 (Fwindow_pixel_edges): don't use border dimensions here.
14675 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
14676 (update_scrollbar_instance): ditto.
14678 * redisplay.c (generate_modeline): don't take gutters into account.
14679 (generate_modeline): ditto.
14680 (redisplay_frame): small gutter display optimization.
14682 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
14684 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
14685 gutters into account.
14687 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
14688 for window position and type.
14690 * gutter.c (get_gutter_coords): fix for frame gutters.
14691 (update_frame_gutters): update frame geometry if the gutters have
14693 (init_frame_gutters): record current gutter geometries.
14695 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
14697 (mswindows_widget_instantiate): ditto.
14699 * frame.h (struct frame): add current_gutter_bounds.
14701 * frame.c (change_frame_size_1): position window and minibuffer
14702 appropriately taking into account the frame gutters.
14704 * frame-x.c: (x_initialize_frame_size): take into account the
14707 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
14709 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
14711 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
14713 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
14715 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14717 * file-coding.c (reset_decoding_stream): Clear previous
14718 detection state when autodetect.
14720 2000-02-29 Didier Verna <didier@xemacs.org>
14722 * extents.c (set_extent_glyph_1): don't require extents to be
14725 2000-02-27 Andy Piper <andy@xemacs.org>
14727 * gutter.c (Fset_default_gutter_position): don't default left and
14728 right gutter visibility to t.
14729 (Fset_default_gutter_position): run
14730 default-gutter-position-changed-hook.
14731 (syms_of_gutter): add default-gutter-position-changed-hook.
14733 2000-02-26 Andy Piper <andy@xemacs.org>
14735 * specifier.c (Fmake_specifier): add gutter references.
14737 * gutter.h (RAW_WINDOW_GUTTER): new macro.
14739 * lisp.h: declare Fvalid_plist_p.
14741 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
14743 (default_gutter_visible_p_changed_in_window): invalidate gutter as
14744 well as its visibility so that it gets reconstructed.
14745 (construct_window_gutter_spec): new function. Construct a string
14746 to be displayed in the gutter from a plist of strings. Take care
14747 to only use elements that are declared as visible.
14748 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
14750 (gutter_validate): allow plists of strings in the specifier.
14751 (gutter_specs_changed): construct the real_gutter from the gutter
14752 specs using construct_window_gutter_spec.
14753 (gutter_visible_validate): gutter-visible is a new specifier type.
14754 (Fgutter_visible_specifier_p): new function for the new specifier.
14755 (syms_of_gutter): declare gutter-visible and
14756 Fgutter_visible_specifier_p.
14757 (specifier_type_create_gutter): intitalize new gutter-visible
14759 (reinit_specifier_type_create_gutter): ditto.
14760 (specifier_vars_of_gutter): use new specifier type for gutter
14762 (init_frame_gutters): construct real_gutter correctly.
14763 (Fgutter_specifier_p): beef up documentation.
14764 (Fgutter_size_specifier_p): ditto.
14766 * winslots.h: add real_gutter slots.
14768 2000-02-25 Andy Piper <andy@xemacs.org>
14770 * device-msw.c: Be kind to older cygwin versions. From Raymond
14771 Toy <toy@rtp.ericsson.se>.
14773 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
14774 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
14776 2000-02-25 Martin Buchholz <martin@xemacs.org>
14778 * elhash.c (MARK_OBJ): Practice macro hygiene.
14780 2000-02-24 Martin Buchholz <martin@xemacs.org>
14782 * miscplay.c: s/__inline__/inline/g;
14783 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
14784 (get_device_compdc): INLINE ==> static inline
14785 * *.[ch]: Change INLINE to INLINE_HEADER globally.
14786 find -name '*.h' | \
14787 xargs global-replace \
14788 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
14790 2000-02-25 Andy Piper <andy@xemacs.org>
14792 * window.c (window_top_frame_gutter_height): new function.
14793 (window_top_window_gutter_height): ditto.
14794 (window_top_gutter_height): use them.
14795 (window_bottom_frame_gutter_height): new function.
14796 (window_bottom_window_gutter_height): ditto.
14797 (window_bottom_gutter_height): use them.
14798 (window_left_window_gutter_width): new function.
14799 (window_left_frame_gutter_width): ditto.
14800 (window_left_gutter_width): use them.
14801 (window_right_window_gutter_width): new function.
14802 (window_right_frame_gutter_width): ditto.
14803 (window_right_gutter_width): use them.
14804 (window_pixel_height): new function. calulate window pixel height
14805 with frame gutter involvement.
14806 (Fsplit_window): calculate new sizes taking frame gutters into
14808 (window_char_height_to_pixel_height): don't include frame gutters.
14809 (window_char_height): use window_pixel_height.
14810 (window_pixheight): rename from window_pixel_height.
14811 (change_window_height): use it.
14812 (window_pixel_height_to_char_height): don't include frame gutters.
14813 (window_char_width_to_pixel_width): ditto.
14815 2000-02-25 Andy Piper <andy@xemacs.org>
14817 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
14820 2000-02-24 Martin Buchholz <martin@xemacs.org>
14822 * alloc.c (staticpro):
14823 (staticpro_nodump):
14828 (compact_string_chars):
14829 (pdump_dump_wired):
14830 Convert: if (foo) abort(); ==> assert (! foo);
14832 * eldap.c (Fldap_search_basic):
14836 Fix compiler warnings, and possible crashes if (random) return
14837 value were to be used.
14839 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14841 * device-msw.c: Workaround ResetDC failure.
14843 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
14844 applying a devmode.
14846 * redisplay-msw.c (get_frame_dc): Added start_page_p.
14847 (mswindows_text_width): Do not start printer page.
14849 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
14851 * glyphs-msw.c: Added image methods to msprinter console and
14852 msprinter-specific image instantiation.
14854 2000-02-20 Mike Alexander <mta@arbortext.com>
14856 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
14857 to avoid crashes when selection-sets-clipboard is on
14858 (mswindows_own_selection): ditto
14860 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14863 * redisplay-msw.c (get_frame_dc):
14864 (get_frame_compdc):
14866 * device-msw.c (mswindows_init_device):
14867 (mswindows_delete_device):
14868 (msprinter_init_device):
14869 (msprinter_delete_device):
14870 * frame-msw.c (mswindows_init_frame_1):
14871 (mswindows_delete_frame):
14872 (msprinter_init_frame_3):
14873 (msprinter_delete_frame): Move compatible DC to device object from
14874 frame object, for both mswindows and msprinter. Only one at a time
14875 is needed, it is a real waste to have one per frame!
14877 2000-02-23 Andy Piper <andy@xemacs.org>
14879 * glyphs.c: add dynamic width and height elements.
14880 (image_instance_equal): ditto.
14882 * glyphs-widget.c (widget_query_geometry): calculate width and
14883 height dynamically if required.
14884 (initialize_widget_image_instance): initialize dynamic dimensions.
14885 (widget_instantiate): pick-up dynamic dimensions.
14887 * glyphs.h (struct Lisp_Image_Instance): add width and height for
14888 dynamic determination. Add appropriate macros.
14890 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
14892 (WINDOW_GUTTER_SIZE): ditto.
14893 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
14895 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
14897 (get_frame_dc): ditto.
14899 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
14902 2000-02-23 Martin Buchholz <martin@xemacs.org>
14904 * XEmacs 21.2.31 is released.
14906 2000-02-22 Ben Wing <ben@xemacs.org>
14908 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
14910 2000-02-22 Andy Piper <andy@xemacs.org>
14912 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
14914 2000-02-21 Mike Sperber <mike@xemacs.org>
14918 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
14921 2000-02-21 Mike Sperber <mike@xemacs.org>
14923 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
14925 2000-02-21 Martin Buchholz <martin@xemacs.org>
14927 * XEmacs 21.2.30 is released.
14929 2000-02-20 Martin Buchholz <martin@xemacs.org>
14931 Performance hacking.
14933 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
14934 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
14935 * emacs.c (main_1):
14937 * console.c (DEFVAR_CONSOLE_LOCAL_1):
14938 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
14939 * symeval.h (DEFVAR_SYMVAL_FWD):
14940 * symbols.c (guts_of_unbound_marker):
14941 Make all c_readonly objects also lisp_readonly and marked for life.
14942 * lrecord.h (struct lrecord_implementation):
14943 Document flags better.
14944 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
14945 * lrecord.h (DECLARE_LRECORD):
14946 * lrecord.h (XSETRECORD):
14947 * lrecord.h (RECORDP):
14948 * lrecord.h (RECORD_TYPEP):
14949 * lrecord.h (RECORD_MARKER): New.
14950 * lrecord.h (error_check_*):
14951 * lrecord.h (CONCHECK_NONRECORD):
14952 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
14953 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
14954 * lrecord.h (set_lheader_implementation):
14955 * lrecord.h (enum lrecord_type): New.
14956 * symeval.h (SYMBOL_VALUE_MAGIC_P):
14957 * alloc.c (disksave_object_finalization_1):
14958 * alloc.c (mark_object):
14959 * alloc.c (lrecord_type_index):
14960 * alloc.c (tick_lcrecord_stats):
14961 * alloc.c (Fgarbage_collect):
14962 * alloc.c (init_alloc_once_early):
14963 * alloc.c (pdump_load):
14964 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
14965 * alloc.c (lrecord_type_index): Delete.
14966 Make lisp object type indexes be constant.
14967 Makes (byte-compile) 5% faster.
14968 Put all marker functions into their own array.
14969 Makes (garbage-collect) 5% faster.
14970 Optimize SYMBOL_VALUE_MAGIC_P.
14971 Makes (byte-compile) 2-3% faster.
14972 * config.h.in (gc_checking_assert): New.
14973 * alloc.c: Use gc_checking_assert().
14974 * .dbxrc: Make compatible with new object type implementation.
14975 * .gdbinit: Make compatible with new object type implementation.
14976 * alloc.c: Delete all symbols defined only for debugging, such as
14977 Lisp_Type_Vector and lrecord_charset.
14979 2000-02-21 Andy Piper <andy@xemacs.org>
14981 * gui-msw.c (Fmswindows_shell_execute): fix file location
14984 * buffer.c (Fkill_buffer): remove buffer from alist buffer
14985 unshowing so that set_window_buffer doesn't undo
14986 kill_buffer_hook's hard work.
14988 * glyphs-widget.c (tab_control_query_geometry): don't count the
14989 first item when calculating geometry.
14991 * glyphs.c (map_subwindow): remove redundant code.
14992 (update_frame_subwindows): be more circumspect about when to
14995 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
14996 when items haven't changed. Update faces if faces have changed as
14997 well as just the widget face.
14998 (x_tab_control_update): Update faces if faces have changed as well
14999 as just the widget face.
15001 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
15003 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
15005 (build_syscolor_string): Use mswindows_color_to_string to try to
15007 (mswindows_device_system_metrics): Reverse the foreground and
15008 background colors so that they match the documentation.
15010 * objects-msw.c: (mswindows_X_color_map): tweak some values so
15011 they match the default Windows palette.
15012 (mswindows_color_to_string): New function.
15014 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
15016 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
15018 2000-02-18 Olivier Galibert <galibert@pobox.com>
15020 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
15021 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
15023 * symbols.c (init_symbols_once_early): Removed obsolete
15024 DATA_SEG_BITS related kludge.
15025 (defvar_magic): Ditto.
15027 * malloc.c: Removed obsolete DATA_SEG_BITS
15029 * mem-limits.h: Ditto.
15031 * Makefile.in.in: Removed obsolete HAVE_SHM
15034 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
15036 * device-msw.c (mswindows_delete_device): Free DDE string
15039 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15041 * keymap.c (get_keyelt):
15042 * unexnt.c (unexec):
15043 * vm-limit.c (memory_warnings):
15044 * ntheap.c (recreate_heap):
15045 * ntheap.h (UNINIT_PTR):
15046 * select-msw.c (Fmswindows_get_clipboard):
15047 (Fmswindows_set_clipboard):
15048 * objects-msw.h (MSWINDOWS_BAD_HFONT):
15050 * menubar-msw.c (displayable_menu_item):
15052 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
15053 * sysdep.c (sys_subshell):
15054 * process-nt.c (nt_create_process):
15055 * nt.c (normalize_filename):
15056 (dostounix_filename):
15057 (unixtodos_filename):
15058 * ntproc.c (win32_executable_type):
15059 * ntplay.c (play_sound_data_1):
15061 * editfns.c (get_home_directory):
15062 * event-msw.c (struct winsock_stream):
15063 (mswindows_dde_callback):
15064 * device-msw.c (msprinter_init_device):
15065 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
15067 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
15068 mswindows_clear_toolbar were swapped!
15070 * objects-msw.c:(colormap_t):
15072 * emacs.c (struct standard_args): Fixed const jumble.
15074 * glyphs-widget.c (update_widget): Fixed comparison notation.
15076 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
15078 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
15079 __declspec(noreturn) syntax.
15081 2000-02-19 Martin Buchholz <martin@xemacs.org>
15083 * eldap.c (Fldap_open):
15084 (Fldap_search_basic):
15087 Use new coding system conversion macros.
15089 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15091 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
15093 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
15095 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
15096 (Fldap_add, Fldap_modify, Fldap_delete): New functions
15098 * eldap.c (Qadd, Qreplace): New constant symbols
15099 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
15100 interruptions by XEmacs signals
15101 Remove unnecessary calls to slow_down_interrupts and
15102 speed_up_interrupts
15103 (Fldap_search_basic): Renamed from Fldap_search_internal
15104 Added new optional parameter VERBOSE that triggers the
15105 display of progress messages
15106 Remove unnecessary calls to slow_down_interrupts and
15107 speed_up_interrupts
15108 LDAP result code analysis rewritten
15109 (Fldap_add, Fldap_modify, Fldap_delete): New functions
15110 (syms_of_eldap): Define the new symbols and functions
15113 2000-02-17 Martin Buchholz <martin@xemacs.org>
15115 * realpath.c: Determine PATH_MAX maximally portably.
15117 * insdel.c (bytecount_to_charcount): Optimize.
15118 The function used to be optimized for entirely ASCII sequences.
15119 Now it is optimized for successive characters from the same
15120 charset. This also wins big for _mostly_ ASCII sequences.
15122 * fileio.c (Ffile_truename): convert return from realpath() using
15123 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
15124 - Rewrite GCPROing slightly.
15126 * sysdep.c (sys_open): Do filename conversion, like all other
15127 sys_* functions. Fixes bug:
15128 (let ((file-name-coding-system 'iso-8859-2))
15129 (write-region x y latin2-name))
15130 ==> writes filename using internal encoding.
15132 2000-02-18 Martin Buchholz <martin@xemacs.org>
15134 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
15135 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
15136 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
15137 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
15138 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
15139 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
15140 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
15141 (CONST_IF_NOT_DEBUG): Delete.
15142 * alloc.c (this_one_is_unmarkable): Delete.
15143 (mark_object): Don't check for this_one_is_unmarkable. Use the
15144 c_readonly flag instead.
15145 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
15147 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
15149 * event-msw.c (mswindows_drain_windows_queue):
15150 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
15151 away redundant repaint events.
15153 2000-02-17 Andy Piper <andy@xemacs.org>
15155 * redisplay.h: declare mark_redisplay_structs.
15157 * redisplay.c (redisplay_window):
15158 (redisplay_frame): don't check subwindows_state_changed.
15159 (mark_redisplay): mark gutters here.
15161 * glyphs.c: (instantiate_image_instantiator): always layout if we
15162 haven't done so already.
15163 (allocate_image_instance): don't mark as dirty.
15164 (update_subwindow): bind inhibit_quit.
15166 * gutter.c (mark_gutters): new function.
15168 * glyphs-x.c (x_update_widget): Always resize to get round a
15171 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
15172 breaking absolutely everything.
15174 * gutter.h: declare mark_gutters.
15176 2000-02-16 Martin Buchholz <martin@xemacs.org>
15178 * XEmacs 21.2.29 is released.
15180 2000-02-15 Olivier Galibert <galibert@pobox.com>
15182 * fns.c (size_bit_vector): Fix computation of the size.
15184 2000-02-15 Martin Buchholz <martin@xemacs.org>
15186 * *.[ch]: Change CONST to const globally.
15187 find -name '*.[ch]' | \
15188 xargs global-replace \
15189 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
15190 - Remove vestigial references to CONST_IS_LOSING
15192 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
15194 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
15195 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
15196 events instead of dispatching them directly.
15197 (mswindows_handle_paint): New function to do repainting.
15198 (mswindows_wnd_proc):
15199 (emacs_mswindows_handle_magic_event): Call above function.
15201 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
15203 * objects-msw.c (mswindows_create_font_variant): Return the new
15205 (initialize_font_instance): Get font metrics from the underlined
15206 variant of the font to cope with the case where the underlined
15207 font has a bigger descent.
15209 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
15211 * gui.c (gui_item_accelerator): Return the first underlined
15212 character in item name.
15214 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15216 * lisp.h: Added Qprinter.
15218 * general.c (syms_of_general): Initialized it.
15220 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
15222 (get_frame_compdc): Made inline.
15224 * console.h (struct console_methods): Added eject_page method.
15226 * frame.h: Added FRAME_DISPLAY_P and friends.
15227 Aligned backslahes in many macros in more readable fashion.
15228 Added page_number to struct frame, and an accessor macro
15231 * defice.h: Added DEVICE_DISPLAY_P and friends.
15233 * device.c (Fdevice_printer_p): Used these.
15235 * frame.c (allocate_frame_core): Initialize page number.
15236 (Fprint_job_page_number):
15237 (Fprint_job_eject_page): Implemented.
15239 * frame-msw.c (msprinter_eject_page): Added method.
15240 (msprinter_start_page): Added.
15242 * window.c (Fwindow_truncated_p): Fixed docstring.
15243 (Fwindow_last_line_visible_height): Implemented.
15245 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15247 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
15249 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15251 * syntax.c (scan_words): Always advance at least one character.
15253 2000-02-13 Andy Piper <andy@xemacs.org>
15255 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
15256 to make sure the glyph is in the cachels.
15258 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
15259 global image instance flag.
15260 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
15261 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
15263 * glyphs.c (allocate_image_instance): set dirty bits correctly.
15264 (Fset_image_instance_property): mark layout as changed.
15265 (invalidate_glyph_geometry_maybe): mark layout as changed.
15266 (glyph_width): use new NEEDS_LAYOUT macro.
15267 (glyph_ascent): ditto.
15268 (glyph_descent): ditto.
15269 (glyph_height): ditto.
15270 (image_instance_layout): mark layout as clean after laying out.
15271 (update_subwindow): don't mark layout as clean here.
15273 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
15274 should no longer be needed.
15276 * glyphs-x.c (x_update_widget): sanitize asserts.
15277 (x_finalize_image_instance): sanitize assignment to widgets.
15279 * glyphs-widget.c (widget_instantiate): don't need to clear the
15282 2000-02-13 Martin Buchholz <martin@xemacs.org>
15284 * sysdep.c (getcwd): Use standard prototype.
15285 * sysdep.h (getcwd): Use standard prototype.
15287 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
15288 (sequence, start, end).
15289 Remove redundant type checking.
15290 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
15291 view of `caller-protects') to avoid a crash where the real fix was
15294 2000-02-12 Martin Buchholz <martin@xemacs.org>
15296 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
15298 * s/sol2.h: Remove feature macro initialization.
15300 * alloc.c (alloc_lcrecord): Add more type checking assertions.
15301 (vector_hash): New. Code from internal_hash.
15303 Fix up allocation subsystem comments.
15305 * config.h.in: Add __EXTENSIONS__ for Solaris.
15307 * systime.h (EMACS_GETTIMEOFDAY): New.
15308 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
15309 Remove Solaris-specific code.
15310 Use void* for the (ignored) second arg for gettimeofday().
15312 * elhash.c (hash_table_hash): Implement it, finally.
15313 * elhash.c: Use hashcode_t.
15315 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
15316 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
15318 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
15319 * fns.c (size_bit_vector):
15320 * alloc.c (size_vector):
15321 (make_vector_internal):
15322 (make_bit_vector_internal):
15323 (sweep_bit_vectors_1):
15324 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
15326 2000-02-10 Martin Buchholz <martin@xemacs.org>
15328 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
15329 Include strings.h to avoid warnings for bzero and strcasecmp.
15331 2000-02-10 Olivier Galibert <galibert@pobox.com>
15333 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
15334 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
15336 * fns.c (size_bit_vector): New. Declare bit vectors as a
15339 2000-02-10 Olivier Galibert <galibert@pobox.com>
15341 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
15342 use a value field instead.
15343 (symbol_value_forward_forward): Use value field.
15344 (DEFVAR_SYMVAL_FWD): Use value field.
15345 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
15346 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
15347 (DEFVAR_CONST_INT): Ditto.
15348 (DEFVAR_BOOL): Ditto.
15349 (DEFVAR_CONST_BOOL): Ditto.
15350 (DEFVAR_INT_MAGIC): Ditto.
15351 (DEFVAR_BOOL_MAGIC): Ditto.
15353 * symbols.c (guts_of_unbound_marker): Use value field.
15354 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
15355 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
15357 * lisp.h: Declare dumpopaque and noninteractive1.
15359 * alloc.c (dumpopaque): Added.
15360 (pdump_dump_opaquevec): Added.
15361 (pdump): Call pdump_dump_opaquevec to dump opaque data.
15362 (pdump_load): Reload opaque data. Sync noninteractive1 with
15365 2000-02-10 Andy Piper <andy@xemacs.org>
15367 * glyphs.c (image_instance_layout): if the size changes, mark it
15370 * redisplay-output.c (redisplay_output_layout): Update the
15372 (redisplay_output_subwindow): ditto.
15374 * glyphs.c (update_subwindow): make sure we reset flags for
15375 layouts as well as everything else.
15377 * glyphs-widget.c (layout_layout): don't need to set the instances
15380 2000-02-09 Martin Buchholz <martin@xemacs.org>
15382 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
15383 not HAVE_DLOPEN, which is a lower-level thing.
15385 * .cvsignore: Ignore gmon.out
15387 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
15389 * .cvsignore: Ignore portable dumper xemacs.dmp file
15391 2000-02-09 Andy Piper <andy@xemacs.org>
15393 * redisplay-output.c (redisplay_output_layout): be more clever
15394 about when we output based on the changed flags.
15396 * glyphs.h (struct image_instantiator_methods): add update_method.
15397 (struct Lisp_Image_Instance): add changed flags. Declare new
15398 macros for manipulating them.
15400 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
15401 (image_instance_parent_glyph): find an image_instance's parent
15402 glyph or image_instance.
15403 (image_instance_layout): mark the size as changed.
15404 (set_image_instance_dirty_p): new function. mark an image
15405 instance, plus all of its parents, as dirty.
15406 (Fset_image_instance_property): use it.
15407 (Fglyph_animated_timeout_handler): use it.
15408 (update_subwindow): call update_widget and device methods for
15409 update_subwindow. Mark all changed flags as clean.
15410 (Fresize_subwindow): mark size as changed.
15412 * glyphs-x.c (x_finalize_image_instance): try and detect gc
15414 (x_update_subwindow): only resize subwindows here.
15415 (x_update_widget): new function. Update all changed properties of
15417 (x_resize_subwindow): deleted.
15418 (x_widget_set_property): deleted.
15419 (x_progress_gauge_set_property): deleted.
15420 (x_progress_gauge_update): new function. Implement recorded
15422 (x_tab_control_update): ditto.
15423 (x_tab_control_set_property): deleted.
15424 (console_type_create_glyphs_x): declare new functions.
15425 (image_instantiator_format_create_glyphs_x): ditto.
15427 * glyphs-widget.c (widget_set_property): mark text changed.
15428 (update_widget): new function. Update properties of a widget.
15429 (widget_instantiate): for layouts make sure we set their
15430 children's parent correctly.
15431 (tab_control_set_property): new function. Record changes that will
15432 take place under redisplay's control.
15433 (progress_gauge_set_property): ditto.
15434 (image_instantiator_progress_guage): declare new functions.
15435 (image_instantiator_tab_control): ditto.
15437 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
15439 (mswindows_update_widget): new function. Update all properties on
15440 a widget that have changed.
15441 (mswindows_button_update): new function. Update a button's set
15443 (mswindows_tab_control_update): new function. Update the items in
15445 (mswindows_tab_control_set_property): deleted.
15446 (mswindows_progress_gauge_update): new function. Update the
15447 progress gauge's progress.
15448 (mswindows_widget_set_property): deleted. This is all done
15449 asynchronously now.
15450 (mswindows_progress_gauge_set_property): ditto.
15451 (console_type_create_glyphs_mswindows): declare new methods.
15452 (image_instantiator_format_create_glyphs_mswindows): ditto.
15454 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
15455 (msprinter_set_frame_properties): ditto.
15457 * console.h (struct console_methods): Add update_widget_method.
15459 2000-02-09 Andy Piper <andy@xemacs.org>
15461 * gui-msw.c (Fmswindows_shell_execute): Make
15462 mswindows-shell-execute industrial strength.
15464 2000-02-08 Martin Buchholz <martin@xemacs.org>
15466 * lrecord.h: Make macro argument `props' match member function `plist'.
15469 * fns.c (Fremprop):
15470 * fns.c (Fobject_plist):
15473 Object property list frobbing cleanup.
15474 - Allow any lisp object (compared with `eq'), not just symbols, as
15475 keys in object plists.
15476 - Move symbol plist frobbing into symbols.c, where it belongs.
15477 - Move string plist frobbing into alloc.c, where it belongs.
15478 - Everything's an lrecord now, so no need to test for symbolp, etc.
15479 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
15481 * extents.c: Reorder code to remove declarations.
15483 * frame.h (store_in_alist): Remove useless declaration.
15485 2000-02-07 Martin Buchholz <martin@xemacs.org>
15487 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
15488 * config.h.in: Add HAVE_XCONVERTCASE.
15490 2000-02-07 Andy Piper <andy@xemacs.org>
15492 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
15493 it breaks many things.
15495 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
15497 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
15498 actually can start a common comment type.
15499 * src/syntax.h (SYNTAX_END_P): ditto for end.
15501 2000-02-07 Martin Buchholz <martin@xemacs.org>
15503 * XEmacs 21.2.28 is released.
15505 2000-02-06 Martin Buchholz <martin@xemacs.org>
15507 * event-Xt.c (x_keysym_to_character): New.
15508 (maybe_define_x_key_as_self_inserting_character): New.
15509 (x_has_keysym): New.
15510 Auto-define all keys on the keyboard as self-insert-key.
15512 2000-02-02 Martin Buchholz <martin@xemacs.org>
15514 * menubar.c (vars_of_menubar): A small code simplification.
15516 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
15519 * ExternalClient.c:
15520 * EmacsShell-sub.c:
15523 Use consistent style for specifying X resources.
15525 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
15526 This makes (dontusethis-set-symbol-value-handler) actually usable.
15528 * lrecord.h (lrecord_decription_type):
15529 * alloc.c (pdump_register_sub):
15532 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
15533 Comply with XEmacs coding style.
15534 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
15535 args, and XD_LISP_OBJECT_ARRAY with 3 args.
15537 * keymap.c (Faccessible_keymaps):
15538 Make (accessible-keymaps map "\C-h") do the Right Thing.
15539 Make (accessible-keymaps map []) do the Right Thing.
15540 Make (accessible-keymaps map "") do the Right Thing.
15541 (check_keymap_definition_loop): New function.
15542 (keymap_store_internal): Keep luser from shooting self in foot,
15543 via (define-key ctl-x-4-map "p" global-map).
15544 Remove fullness slot from struct Lisp_Keymap, since hash tables
15546 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
15548 2000-01-30 Martin Buchholz <martin@xemacs.org>
15550 * redisplay.c (init_redisplay): Fix small memory leak.
15552 * elhash.c (pdump_reorganize_hash_table):
15553 Rename from reorganize_hash_table. Change prototype.
15554 Reuse the original memory for hentries. Save 100k.
15555 * alloc.c (PDUMP_READ): new macro.
15556 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
15557 * alloc.c: No need to #ifndef before #undef.
15559 * print.c: Allow debug_print() to print readably by modifying
15560 debug_print_readably. Use consistent variable names.
15562 * .dbxrc: Try to get things to work even if stopped in a function
15563 without source available by explicitly specifying source files.
15564 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15566 * unexnt.c (_start): Removed bogus code which caused loading heap
15567 from differrent executable file.
15568 Removed bogus assignment to _fmode, which caused inconsistencies.
15570 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15572 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
15573 Have spawnve encapsulation regard DONT_ENCAPSULATE.
15574 Do not preliminary `#define signal sigset'.
15576 * systime.h: Do not prototype environ on windows nt and cygwin,
15577 this conflicts with system header.
15579 * syssignal.h: Use correct define for WINDOWSNT
15581 * sysdep.h: Do not prototype environ on windows nt, this conflicts
15582 with system header.
15584 * sysdep.c (near start of file): Fixed commentary and rearranged
15585 ifdefs in readable order.
15586 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
15589 (end_of_data): Do not compile in if using PDUMP.
15591 * symsinit.h: Prototyped vars_of_nt().
15593 * ntproc.c (windows9x_p): Added, instead of os_subtype.
15594 (find_child_console): Use it.
15595 (sys_kill): Use it.
15597 * ntheap.h: Do not extern os_subtype.
15599 * ntheap.c (cache_system_info): Do not cache unneeded:
15600 nt_major_version, nt_minor_version and os_subtype.
15601 (recreate_heap): Do not compile in when PDUMPing.
15603 * nt.c (geteuid and friends): Use the new varibale
15604 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
15605 (init_user_info): Removed the above mentioned hackery.
15606 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
15607 stat has been fixed in the C runtime.
15608 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
15610 * file-coding.c (struct file_coding_dump): Do not define
15611 ucs_to_mule_table in the struct if not MULE.
15612 (struct struct lrecord_description fcd_description_1): Do not dump
15615 * emacs.c (main_1): Call vars_of_nt().
15616 (right before Fdump_emacs_data): Don't need lastfile if using both
15617 portabe dumper and system malloc.
15619 * alloc.c (Fmemory_limit): Conditionalized out.
15620 (pdump): Use OPEN_BINARY for the portable dump file.
15621 (pdump_load): Ditto.
15623 2000-02-02 Mike Alexander <mta@arbortext.com>
15625 * nt.c (convert_time): Set tm_isdst before calling mktime and
15626 avoid calling it at all if the compiler supports 64 bit integers.
15627 Also initialize utc_base_ft before using it.
15629 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
15631 * frame.c (change_frame_size_1): Take f->internal_border_width
15632 into consideration when calculating the width of the frame.
15634 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15636 * window.c (frame_min_height):
15637 (frame_size_valid_p):
15638 (frame_pixsize_valid_p): Added.
15639 (check_frame_size): Generalized.
15641 * window.h: Prototyped the above.
15644 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
15645 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
15646 Deleted Vwin32_* and Vbinary_process_* unused variables.
15648 * device-msw.c (msprinter_init_device): Do not get printer font
15649 list; Added DEVMODE functions.
15651 * frame-msw.c: Added lots of printer code.
15653 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
15656 * console-msw.h: Added more msprinter device private slots.
15658 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15660 * event-msw.c (key_needs_default_processing_p): Added.
15661 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
15663 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15665 * glyphs.c (image_instance_layout): Mark image instance as clean
15667 (glyph_dirty_p): Removed redundant function.
15668 (invalidate_glyph_geometry_maybe): Added.
15669 (update_glyph_cachel_data): Call it.
15671 * glyphs.h: Prototyped it.
15673 * redisplay.c (add_glyph_rune): Call it.
15674 (redisplay_window): Reset glyphs cachels when frame faces have
15675 changed, thus forcing recomputation of built-in border glyphs.
15677 2000-01-30 Martin Buchholz <martin@xemacs.org>
15679 * Makefile.in.in: Make portable dumper and purify play well together.
15680 Add imperfect, but better than nothing, support for pdump.
15681 Remove xemacs.dmp when temacs is re-generated.
15682 Don't ignore errors when dumping xemacs.
15684 * symbols.c (maybe_call_magic_handler): Remove one magic number.
15686 2000-01-28 Andy Piper <andy@xemacs.org>
15688 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
15689 (setup_normal_frame): ditto.
15690 (setup_frame_without_minibuffer): ditto.
15691 (setup_minibuffer_frame): ditto.
15692 (delete_frame_internal): ditto.
15693 (Fmake_frame_invisible): ditto.
15694 (Ficonify_frame): ditto.
15696 * window.h: change Fset_window_buffer signature.
15698 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
15699 (Fset_window_buffer): allow recording of buffer if the window is
15700 the selected window.
15701 (window_loop): Use new Fset_window signature.
15703 2000-01-23 Daniel Pittman <daniel@danann.net>
15705 * config.h.in: Added template for `HAVE_ATHENA_3D'
15707 2000-01-29 Andy Piper <andy@xemacs.org>
15709 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
15711 * gutter.c (output_gutter): Don't output if the window isn't live.
15713 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15715 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
15716 of 01/12/00: Moved SetFocus back here where it belongs.
15718 2000-01-23 Andy Piper <andy@xemacs.org>
15720 * s/cygwin32.h: declare printer things.
15722 2000-01-26 Andy Piper <andy@xemacs.org>
15724 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
15727 2000-01-24 Andy Piper <andy@xemacs.org>
15729 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
15730 (mswindows_button_instantiate): Make sure glyph is a pixmap.
15732 * glyphs-widget.c (widget_instantiate): Avoid shadows.
15734 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
15736 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
15738 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
15739 (mswindows_output_display_block): Avoid local shadows.
15741 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
15742 (mswindows_enqueue_mouse_button_event): ditto.
15743 (mswindows_handle_gui_wm_command): remove declaration.
15745 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
15748 * console-msw.h: Avoid shadows.
15749 (mswindows_get_toolbar_button_text):
15750 (emacs_mswindows_create_stream_pair):
15751 (emacs_mswindows_delete_stream_pair):
15752 (mswindows_handle_toolbar_wm_command): declare.
15754 * device-msw.c (build_syscolor_string): Avoid shadows.
15756 2000-01-23 Andy Piper <andy@xemacs.org>
15758 * glyphs-widget.c (widget_instantiate): reverse the items for
15759 layouts so that children are in the expected order.
15761 2000-01-28 Martin Buchholz <martin@xemacs.org>
15763 * ralloc.c: safe_bcopy ==> memmove
15764 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
15765 * s/msdos.h: Remove BCOPY macros.
15766 * insdel.c (gap_right): Remove BCOPY conditional code.
15767 * insdel.c (gap_left): Remove BCOPY conditional code.
15768 XEmacs demands a working ANSI C compiler - hence memmove.
15770 * regex.c (regex_compile): Remove accidental use of trigraphs.
15772 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15774 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
15777 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15779 * event-msw.c (mswindows_drain_windows_queue): Added the
15781 (mswindows_need_event): Commented the call to
15782 mswindows_drain_windows_queue().
15783 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
15786 * console-msw.h: Moved a few function prototypes here from
15789 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
15790 parameter from unsigned short to unsigned long.
15791 (Fmswindows_shell_execute): Added return value.
15793 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
15795 * sysdep.c (init_system_name):
15796 process-unix.c (unix_canonicalized_host_name):
15797 Don't call freeaddrinfo() if getaddrinfo() fails.
15799 * process-unix.c (unix_open_unix_network_stream):
15800 Moved the code to get a port # into address loop.
15802 2000-01-27 Martin Buchholz <martin@xemacs.org>
15804 * buffer.c (reinit_vars_of_buffer):
15805 The right place to initialize conversion_in_dynarr and
15806 conversion_out_dynarr.
15808 * alloc.c (pdump): Use the real open() till sys_open() is functional.
15810 * process-unix.c (unix_canonicalize_host_name): Muleize.
15811 (unix_open_network_stream): Muleize.
15813 * buffer.h: Fix up prototypes for ralloc.c functions.
15815 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
15816 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
15817 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
15818 instead of gethostbyname()
15819 * process-unix.c: In unix_canonicalize_host_name() and
15820 unix_open_network_stream(), add code to use getaddrinfo()
15821 instead of gethostbyname().
15823 2000-01-27 Daniel Pittman <daniel@danann.net>
15825 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
15826 libs when built with flat Athena.
15828 2000-01-27 Martin Buchholz <martin@xemacs.org>
15830 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
15831 Use coding standards for function prototypes.
15833 2000-01-25 Martin Buchholz <martin@xemacs.org>
15835 * dialog-msw.c (push_lisp_string_as_unicode):
15836 * doc.c (unparesseuxify_doc_string):
15837 * dired.c (Fuser_name_completion_1):
15838 * dired.c (Fuser_name_all_completions):
15839 * dired.c (free_user_cache):
15840 * dired.c (user_name_completion):
15841 * console-x.c (get_display_arg_connection):
15842 * minibuf.c (clear_echo_area_internal):
15843 * minibuf.c (echo_area_append):
15844 * eldap.c (Fldap_open):
15845 * eldap.c (Fldap_search_internal):
15846 * frame-x.c (x_set_frame_text_value):
15847 * frame-x.c (x_set_frame_properties):
15848 * frame-x.c (x_create_widgets):
15849 * redisplay-tty.c (term_get_fkeys_1):
15850 * objects-x.c (x_parse_nearest_color):
15851 * objects-x.c (x_valid_color_name_p):
15852 * objects-x.c (x_initialize_font_instance):
15853 * objects-x.c (x_list_fonts):
15854 * objects-x.c (x_find_charset_font):
15855 * tooltalk.c (Fadd_tooltalk_message_arg):
15856 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
15857 * tooltalk.c (Fadd_tooltalk_pattern_arg):
15858 * process-unix.c (unix_create_process):
15859 * ntproc.c (sys_spawnve):
15860 * sound.c (Fplay_sound_file):
15861 * sound.c (Fplay_sound):
15862 * buffer.c (init_initial_directory):
15863 * buffer.c (init_buffer):
15864 * editfns.c (init_editfns):
15865 * editfns.c (Ftemp_directory):
15866 * editfns.c (Fuser_full_name):
15867 * editfns.c (uncache_home_directory):
15868 * editfns.c (get_home_directory):
15869 * editfns.c (Fuser_home_directory):
15870 * editfns.c (Fformat_time_string):
15871 * editfns.c (Fcurrent_time_string):
15872 * gui-x.c (button_item_to_widget_value):
15873 * database.c (Fopen_database):
15874 * event-Xt.c (x_to_emacs_keysym):
15875 * event-Xt.c (x_event_to_emacs_event):
15876 * event-Xt.c (describe_event_window):
15877 * event-msw.c (mswindows_wnd_proc):
15878 * glyphs-eimage.c (jpeg_instantiate):
15879 * glyphs-eimage.c (gif_instantiate):
15880 * glyphs-eimage.c (png_instantiate):
15881 * glyphs-eimage.c (tiff_instantiate):
15882 * glyphs-x.c (xbm_instantiate_1):
15883 * glyphs-x.c (x_xbm_instantiate):
15884 * glyphs-x.c (x_xface_instantiate):
15885 * glyphs-x.c (autodetect_instantiate):
15886 * glyphs-x.c (cursor_font_instantiate):
15887 * glyphs-x.c (x_widget_instantiate):
15888 * glyphs-x.c (x_widget_set_property):
15889 * glyphs-x.c (x_widget_property):
15890 * glyphs-x.c (BUILD_GLYPH_INST):
15891 * print.c (write_string_to_stdio_stream):
15892 * print.c (output_string):
15893 * print.c (Falternate_debugging_output):
15894 * print.c (Fexternal_debugging_output):
15895 * glyphs-msw.c (extract_xpm_color_names):
15896 * glyphs-msw.c (mswindows_xpm_instantiate):
15897 * glyphs-msw.c (bmp_instantiate):
15898 * glyphs-msw.c (resource_name_to_resource):
15899 * glyphs-msw.c (mswindows_resource_instantiate):
15900 * glyphs-msw.c (xbm_instantiate_1):
15901 * glyphs-msw.c (mswindows_xbm_instantiate):
15902 * glyphs-msw.c (mswindows_xface_instantiate):
15903 * glyphs-msw.c (mswindows_widget_instantiate):
15904 * glyphs-msw.c (add_tree_item):
15905 * glyphs-msw.c (add_tab_item):
15906 * glyphs-msw.c (mswindows_combo_box_instantiate):
15907 * glyphs-msw.c (mswindows_widget_property):
15908 * glyphs-msw.c (mswindows_combo_box_property):
15909 * glyphs-msw.c (mswindows_widget_set_property):
15910 * console.c (stuff_buffered_input):
15911 * objects-msw.c (mswindows_initialize_color_instance):
15912 * objects-msw.c (mswindows_valid_color_name_p):
15913 * objects-msw.c (mswindows_list_fonts):
15914 * objects-msw.c (mswindows_font_instance_truename):
15915 * bytecode.c (optimize_compiled_function):
15916 * select-x.c (symbol_to_x_atom):
15917 * select-x.c (x_atom_to_symbol):
15918 * select-x.c (hack_motif_clipboard_selection):
15919 * select-x.c (selection_data_to_lisp_data):
15920 * select-x.c (lisp_data_to_selection_data):
15921 * select-x.c (Fx_get_cutbuffer_internal):
15922 * select-x.c (Fx_store_cutbuffer_internal):
15923 * buffer.h (TO_EXTERNAL_FORMAT): New function.
15924 * buffer.h (TO_INTERNAL_FORMAT): New function.
15925 * emacs.c (make_arg_list_1):
15926 * emacs.c (make_argc_argv):
15927 * emacs.c (main_1):
15928 * emacs.c (Fdump_emacs):
15929 * emacs.c (split_string_by_emchar_1):
15934 * device-x.c (x_init_device):
15935 * device-x.c (Fx_valid_keysym_name_p):
15936 * device-x.c (Fx_get_font_path):
15937 * device-x.c (Fx_set_font_path):
15938 * glyphs.c (bitmap_to_lisp_data):
15939 * glyphs.c (pixmap_to_lisp_data):
15940 * alloc.c (make_ext_string): Use coding system arguments. Update
15942 * alloc.c (build_string):
15943 * callproc.c (child_setup):
15944 * callproc.c (init_callproc):
15945 * fileio.c (lisp_strerror):
15946 * fileio.c (directory_file_name):
15947 * fileio.c (Fexpand_file_name):
15948 * fileio.c (Ffile_truename):
15949 * fileio.c (Fsysnetunam):
15950 * fileio.c (Fdo_auto_save):
15951 * sysdep.c (sys_readdir):
15952 * tests.c: New file. Allow adding C tests.
15953 Replace GET_* macros with a more comprehensible and flexible
15954 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
15956 Any coding system can be used to do format conversion.
15957 Eliminate enum external_data_format.
15958 Eliminate convert_to_external_format.
15959 Eliminate convert_to_internal_format.
15960 Make sure file-name, keyboard, terminal, and ctext are always
15961 defined as coding systems or aliases. Make
15962 file-name-coding-system, terminal-coding-system, and
15963 keyboard-coding-system magical variables that are equivalent to
15964 defining the corresponding coding system aliases.
15966 * file-coding.c (Fcoding_system_canonical_name_p): New function.
15967 * file-coding.c (Fcoding_system_alias_p): New function.
15968 * file-coding.c (Fcoding_system_aliasee): New function.
15969 * file-coding.c (append_suffix_to_symbol): New function.
15970 * file-coding.c (dangling_coding_system_alias_p): New function.
15971 * file-coding.c (Ffind_coding_system):
15972 * file-coding.c (Fcopy_coding_system):
15973 * file-coding.c (encode_coding_no_conversion):
15974 * file-coding.c (syms_of_file_coding):
15975 * file-coding.c (vars_of_file_coding):
15976 Rewrite coding system alias code.
15977 Allow nested aliases, like symbolic links.
15978 Allow redefinition of coding system aliases.
15979 Prevent existence of dangling coding system aliases.
15981 * dired.c (Fuser_name_completion_1):
15982 * dired.c (Fuser_name_all_completions):
15983 A crash would happen if user did QUIT in the middle of building
15984 user_name_cache. Remove redundant code in mainline and unwind_protect.
15987 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
15989 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
15990 an unsigned char *. Update all callers.
15992 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15994 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
15996 2000-01-25 Martin Buchholz <martin@xemacs.org>
15998 * elhash.c (hentry_description): Use more portable definition.
15999 (resize_hash_table): Initialize new hentries using
16000 xnew_array_and_zero, thereby simplifying the code.
16002 * mule-charset.c (make_charset): Make sure entire object is
16003 initialized, to avoid Purify warnings.
16005 * alloc.c (resize_string): Fix unlikely crash with big strings.
16007 2000-01-24 Martin Buchholz <martin@xemacs.org>
16009 * realpath.c (xrealpath):
16010 Don't call getwd().
16012 2000-01-25 Martin Buchholz <martin@xemacs.org>
16014 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
16016 1999-12-28 Max Matveev <max@melbourne.sgi.com>
16018 * unexelfsgi.c (unexec): Change the way we decide which segment
16019 should be extended.
16021 Assumption that .bss section should be outside the PT_LOADable
16022 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
16023 it's present) is inside the 'data' segment. This would fail the
16024 test which was used to find a segment to grow and cover new
16025 heap. Instead of this assumption, I created another one - on IRIX
16026 the segment to grow should start below .bss and it's address
16027 should extent above the end of .bss. Once this segment is
16028 identified, it's grown to accommodate the new heap and new
16029 zero-length .bss section is added at the end of .data2.
16031 2000-01-25 Martin Buchholz <martin@xemacs.org>
16033 * eval.c (Feval): Wrong number of arguments should use original
16034 function, not the indirect_function version of it.
16036 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
16038 * glyphs-x.c (x_button_instantiate): Don't add image if
16039 it is not a pixmap.
16040 (x_locate_pixmap_file): Call Fexpand_file_name when file name
16043 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
16045 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
16047 (DEFVAR_INT_MAGIC): Ditto.
16048 (DEFVAR_BOOL_MAGIC): Ditto.
16049 * glyphs.h: Reindent backslash.
16051 2000-01-24 Martin Buchholz <martin@xemacs.org>
16053 * glyphs-widget.c (layout_query_geometry):
16054 (layout_layout): Use correct types for gheight, gwidth.
16056 2000-01-24 Martin Buchholz <martin@xemacs.org>
16058 * EmacsManager.c (QueryGeometry): Purified.
16060 2000-01-23 Martin Buchholz <martin@xemacs.org>
16062 * alloc.c (make_float): Make sure entire object is initialized, to
16063 avoid Purify warnings.
16064 (pdump_register_sub): Remove useless assignment.
16065 (pdump): Use xmalloc, not malloc.
16066 (pdump_load): Use xmalloc, not malloc.
16068 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16075 * sysdep.c: Removed redundant #include <windows.h>
16077 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16079 * frame.c (delete_frame_internal): Do not delete device when its
16080 implementation so declares.
16081 (delete_frame_internal): Set device selected frame to nil when
16082 last frame goes away.
16084 * device-msw.c (msprinter_device_system_metrics): Implemented.
16085 (mswindows_device_system_metrics): Added 'device-dpi property.
16087 * device.c: (Fdevice_printer_p): Added.
16088 Added 'offset-workspace device metric.
16090 * console.h (device_metrics): Declared DM_offset_workspace.
16092 2000-01-23 Martin Buchholz <martin@xemacs.org>
16094 * fileio.c (Ffile_truename): Remove pointless and confusing
16095 initialization of elen.
16097 * glyphs-widget.c: Compiler warning fixes.
16099 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
16101 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
16102 instead of a Lisp_Object as argument to make it consistent with
16103 the other LIVE_P macros.
16104 (CHECK_LIVE_PROCESS): New macro.
16106 * process.c: Declare Qprocess_live_p.
16107 (Fprocess_live_p): New function.
16108 (create_process): Use PROCESS_LIVE_P.
16109 (read_process_output): Ditto.
16110 (set_process_filter): Ditto.
16111 (Fdelete_process): Ditto.
16112 (kill_buffer_processes): Ditto
16113 (process_send_signal): Use CHECK_LIVE_PROCESS.
16114 (Fprocess_input_coding_system): Check whether process is still
16115 alive (fix PR#1061).
16116 (Fprocess_output_coding_system): Ditto.
16117 (Fprocess_coding_system): Ditto.
16118 (Fset_process_input_coding_system): Ditto.
16119 (Fset_process_output_coding_system): Ditto.
16121 2000-01-23 Andy Piper <andy@xemacs.org>
16123 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
16126 * glyphs.c (mark_image_instance): take into account changed
16127 image_instance format.
16128 (image_instance_equal): ditto.
16129 (image_instance_hash): ditto.
16131 * glyphs-widget.c (widget_instantiate): Incorporate layout
16132 instantiation here. Delay layout of the layout until later.
16133 (layout_instantiate): deleted.
16134 (layout_query_geometry): new function. get the geometry of a
16136 (layout_layout): layout a layout dynamically.
16137 (image_instantiator_widget): New function - splitting up
16138 image_instantiator_format_create_glyphs_widget for netwinder
16140 (image_instantiator_buttons):
16141 (image_instantiator_edit_fields):
16142 (image_instantiator_combo_box):
16143 (image_instantiator_scrollbar):
16144 (image_instantiator_progress_guage):
16145 (image_instantiator_tree_view):
16146 (image_instantiator_tab_control):
16147 (image_instantiator_labels):
16148 (image_instantiator_layout): ditto.
16149 (image_instantiator_format_create_glyphs_widget): Call preceding
16152 2000-01-22 Martin Buchholz <martin@xemacs.org>
16154 * process.c (Fset_process_coding_system):
16155 * device-x.c (Fx_keysym_hash_table):
16158 * lstream.c (Lstream_write): Return documented value, not 0.
16160 * fileio.c (directory_file_name):
16161 (Fsubstitute_in_file_name):
16162 (Fsubstitute_insert_file_contents_internal):
16163 (Fwrite_region_internal):
16168 Remove vestigial APOLLO-conditional code.
16170 2000-01-21 Martin Buchholz <martin@xemacs.org>
16172 * getpagesize.h: Add guard macros.
16173 * libsst.h: Add guard macros.
16174 * libst.h: Add guard macros.
16175 * line-number.h: Add guard macros.
16176 * ndir.h: Add guard macros.
16177 * sysfloat.h: Add guard macros.
16178 * sysfile.h: Add guard macros.
16179 * sysproc.h: Add guard macros.
16180 * syswait.h: Add guard macros.
16181 * xintrinsic.h: Add guard macros.
16182 * xintrinsicp.h: Add guard macros.
16183 * xmmanager.h: Add guard macros.
16184 * xmmanagerp.h: Add guard macros.
16185 * xmprimitive.h: Add guard macros.
16186 * xmu.h: Add guard macros.
16187 * gpmevent.h: Add copyright statement. Add guard macros.
16188 * miscplay.h: Add guard macros.
16189 * *.h: Use consistent C-standards-approved guard macro names.
16191 * opaque.c (make_opaque): Switch parameter order.
16192 * opaque.h (make_opaque): Switch parameter order.
16193 Update all callers.
16194 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
16196 * config.h.in (type_checking_assert): Added.
16197 (bufpos_checking_assert): Added.
16199 2000-01-21 Martin Buchholz <martin@xemacs.org>
16201 * alloc.c: Harmless pdump changes.
16203 - spell alignment correctly.
16204 * sysdep.c: Use countof()
16206 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16208 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
16209 initially_selected_for_input() console method, default to 0.
16210 (semi_canonicalize_console_connection): Try to delegate to
16211 canonicalize_console_connection if no such console method.
16212 (canonicalize_console_connection): Vice versa.
16213 (print_console): Do not print nil connection.
16215 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
16216 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
16217 (XDEVIMPF_FRAMELESS_OK): Added.
16218 (CONSOLE_INHERITS_METHOD): Added.
16220 * console-msw.c (mswindows_canonicalize_console_connection):
16222 (mswindows_canonicalize_device_connection): Added.
16224 * console-msw.h (struct msprinter_device): Added this struct and
16226 (mswindows_device): Made fontlist a lisp object.
16228 * device.c (semi_canonicalize_device_connection): Try to delegate
16229 to canonicalize_device_connection if no such console method.
16230 (canonicalize_device_connection): Vice versa.
16231 (print_device): Do not print nil connection.
16233 * device-msw.c (mswindows_init_device): Call InitCommonControls
16235 (mswindows_delete_device): Removed fontlist deallocation.
16236 (mswindows_mark_device): Added.
16238 * events.c (event_equal): Added abort() at unreached code.
16239 (event_hash): Ditto.
16241 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
16242 fallback tags of Windows devices.
16244 * general.c (syms_of_general): Initialized Qmsprinter.
16246 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
16247 of fallback tags of Windows devices.
16249 * lisp.h: Declared Qmsprinter.
16251 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
16253 (mswindows_list_fonts): Ditto.
16254 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
16255 that it can be used by both mswindows and msprinter devices.
16256 (initialize_font_instance): Added.
16257 (mswindows_initialize_font_instance): Use it.
16258 (msprinter_initialize_font_instance): Added.
16260 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
16261 and implementation flags check.
16262 (redisplay_without_hooks): Changed the call to the above.
16263 (Fredraw_device): Ditto.
16264 (Fredisplay_device): Ditto.
16266 * redisplay-msw.c (get_frame_dc): Implemented.
16267 (get_frame_compdc): Implemented.
16268 (many functions): Use the two functions above to get device
16269 contexts, ether for a window or a printer.
16271 2000-01-21 Olivier Galibert <galibert@pobox.com>
16273 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
16274 initialization here.
16275 (init_symbols_once_early): Call it.
16276 * emacs.c (main_1): Call it.
16277 * symsinit.h: Declare it.
16279 2000-01-19 Olivier Galibert <galibert@pobox.com>
16281 * alloc.c: Use a lrecord_header * in the backtrace instead of a
16283 (pdump_backtrace): Ditto.
16284 (pdump_register_object): Ditto. Cleanup use of the pointers.
16285 (pdump_get_entry): Abort if trying to register a null pointer.
16286 (pdump_dump_data): Cleanup types when relocating.
16287 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
16288 (pdump_dump_rtables): Remove bad casts.
16289 (pdump_load): Cleanup relocation w.r.t union type. Use a
16290 Lisp_Object instead of a EMACS_INT for the hashtable
16293 2000-01-20 Martin Buchholz <martin@xemacs.org>
16295 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
16297 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
16299 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
16301 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
16303 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16305 * faces.h (FACE_STRIKETHRU_P): Added.
16307 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
16310 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
16311 (mswindows_set_dc_font): New function, aware of font variants,
16312 separated from mswindows_update_dc.
16314 * objects-msw.h (struct mswindows_font_instance_data): Added
16317 * objects-msw.c (mswindows_finalize_font_instance): Delete all
16318 cached fonts and the data structure.
16319 (mswindows_initialize_font_instance): Added creation of font data
16321 (mswindows_print_font_instance): Print at least something.
16322 (mswindows_create_font_variant): Implemented.
16323 (mswindows_get_hfont): Implemented.
16325 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
16327 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
16328 prototyping problem with msvc.
16330 * emacs.c (main_1): added syms_of_gui_mswindows() call
16332 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
16333 syms_of_gui_mswindows() function
16335 * symsinit.h: added the prototype for syms_of_gui_mswindows()
16337 2000-01-18 Martin Buchholz <martin@xemacs.org>
16339 * XEmacs 21.2.27 is released.
16341 2000-01-18 Martin Buchholz <martin@xemacs.org>
16343 * glyphs-eimage.c (struct tiff_error_struct):
16345 (tiff_warning_func):
16346 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
16351 * unexec.c: Remove vestigial Lucid C code.
16355 * libsst.c: Ansify.
16356 Remove declarations of errno and strerror().
16358 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
16360 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
16362 2000-01-16 Martin Buchholz <martin@xemacs.org>
16364 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
16367 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16372 Change enum eol_type to eol_type_t.
16374 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16376 * gui.c (get_gui_callback): Check cons before accessing car.
16378 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16380 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
16381 (XSETSPECIFIER_TYPE): Ditto.
16383 2000-01-17 Didier Verna <didier@xemacs.org>
16385 * redisplay.c (generate_fstring_runes): compute string size in
16386 characters, not bytes.
16388 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
16390 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
16392 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
16394 * print.c (print_error_message): Call print_prepare().
16396 2000-01-14 Martin Buchholz <martin@xemacs.org>
16398 * .dbxrc: Renamed from dbxrc.
16400 * events.c (event_to_character):
16401 Use `assert (foo)' instead of `if (!foo) abort()'
16403 * .gdbinit (xtype): Add documentation.
16404 * .gdbinit (check-temacs): New function.
16405 * .gdbinit (check-xemacs): New function.
16406 * dbxrc (check-xemacs): New function.
16407 * dbxrc (check-xemacs): New function.
16409 2000-01-14 Andy Piper <andy@xemacs.org>
16411 * glyphs-widget.c (widget_query_geometry): Make sure that we
16412 calculate default dimensions correctly.
16414 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16416 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
16418 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
16419 pdump_wire'd variable.
16421 * emacs.c: (main_1): Conditionalized calls to
16422 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
16424 2000-01-13 Martin Buchholz <martin@xemacs.org>
16426 * window.c (Fset_window_configuration):
16427 * sysdep.c (_start):
16428 * input-method-motif.c (res):
16429 * event-Xt.c (Xt_process_to_emacs_event):
16430 Simple compiler warning fixes.
16432 * bytecode.c (funcall_compiled_function): Use the original
16433 function symbol on the backtrace list in preference to the
16434 compiled_function object in error messages.
16436 2000-01-13 Andy Piper <andy@xemacs.org>
16438 * glyphs-x.c (update_widget_face): Make sure we update the widget
16439 background as well as foreground.
16441 2000-01-13 Andy Piper <andy@xemacs.org>
16443 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
16444 fields to subwindow.
16445 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
16446 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
16447 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
16448 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
16450 * glyphs-widget.c (check_valid_tab_orientation): new function.
16451 (initialize_widget_image_instance): zero orientation and
16453 (widget_instantiate): pick up orientation.
16454 (tab_control_query_geometry): return appropriate values for
16457 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
16458 appropriate creation flags for left, right and bottom tabs.
16460 * s/cygwin32.h: add tab definitions.
16462 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16464 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
16465 frame upon hiding a subwindow.
16466 (mswindows_button_instantiate): Changed the push button style to
16468 (mswindows_button_instantiate): Removed button BS_NOTIFY
16470 (mswindows_button_instantiate): Removed redundant check for
16471 a disabled gui item.
16472 (mswindows_button_instantiate): Made use of WS_TABSTOP
16473 consistent: "operable" controls (edit, button, tree, scroll) have
16474 this style, "display-only" ones (static, progress gauge) do
16475 not. This style is currently ignored by XEmacs though. Also,
16476 removed the WS_EX_CONTROLPARENT style - it is not for children,
16477 it is for their parents!
16478 (mswindows_edit_field_instantiate): Ditto.
16479 (mswindows_progress_gauge_instantiate): Ditto.
16480 (mswindows_tree_view_instantiate): Ditto.
16481 (mswindows_tab_control_instantiate): Ditto.
16482 (mswindows_scrollbar_instantiate): Ditto.
16483 (mswindows_combo_box_instantiate): Ditto.
16484 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
16485 style to the "clip" window.
16486 (mswindows_button_instantiate): Removed compilation warning by
16487 equally typing terms of the ?: operator.
16489 2000-01-12 Didier Verna <didier@xemacs.org>
16491 * redisplay.c (generate_fstring_runes): new parameter holding the
16492 last modeline-format extent.
16493 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
16494 extent, fill the glyph block with it.
16495 (generate_fstring_runes): handle these parameters.
16496 (generate_formatted_string_db): ditto.
16498 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
16499 glyphs'extents in the modeline.
16501 1999-01-11 Mike Woolley <mike@bulsara.com>
16503 * ntheap.c: Reduced the reserved heap space from 1Gb down to
16504 256Mb, as a workaround for the non-starting problem many people
16507 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16509 * console-tty.c (Fset_console_tty_output_coding_system):
16510 Force redrawing tty frame.
16512 2000-01-10 Didier Verna <didier@xemacs.org>
16514 * redisplay.c (generate_fstring_runes): fix size computation bug.
16516 2000-01-09 William M. Perry <wmperry@aventail.com>
16518 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
16520 2000-01-09 Andy Piper <andy@xemacs.org>
16522 * glyphs-msw.c: index -> i to avoid shadows.
16523 (xbm_create_bitmap_from_data): make static.
16524 (check_valid_string_or_int): deleted.
16525 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
16527 * glyphs-x.c (x_update_subwindow): remove unused args.
16529 * glyphs.c (glyph_image_instance): return the thing. Don't set the
16530 back pointer - this is done in allocate_image_instance.
16531 (query_string_font): return Qnil to make the compiler happy.
16532 (unmap_subwindow): set to ~0 to make the compiler happy.
16533 (glyph_query_geometry): comment out until used.
16534 (glyph_layout): ditto.
16536 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
16538 * insdel.c (signal_after_change): Remove extraneous unbind_to().