1 2004-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * chartab.c (Fput_char_attribute): Convert char-specs in value of
4 `{<-|->}original[^*]*' to characters and put reverse links.
5 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
6 for `{<-|->}original[^*]*'.
8 2004-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
10 * mule-canna.c (m2c): Fix problem with XEmacs CHISE.
12 2004-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
14 * mule-charset.c (Qsystem_char_id): New variable.
16 * chartab.c (Qsystem_char_id): Deleted even if HAVE_CHISE is
17 defined and HAVE_LIBCHISE_LIBCHISE is not defined.
19 2004-05-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
21 * chartab.c (Fput_char_attribute): When processing a reference of
22 a character, put into the end of the reversed reference of each
25 2004-05-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
27 * chartab.c (Q_same): Deleted.
29 (Fput_char_attribute): Use Fstring_match to find `{<-|->}same'.
30 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
32 (syms_of_chartab): Delete builtin symbol `{<-|->}same'.
34 2004-05-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
36 * chartab.c (Q_vulgar): Deleted.
37 (Q_vulgar_of): Deleted.
38 (Fput_char_attribute): Use Fstring_match to find `{<-|->}vulgar'.
39 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
41 (syms_of_chartab): Don't define `{<-|->}vulgar'.
43 2004-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
45 * chartab.c (Fput_char_attribute): Convert char-specs in value of
46 `{<-|->}wrong[^*]*' to characters and put reverse links.
47 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
48 for `{<-|->}wrong[^*]*'.
50 2004-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
52 * chartab.c (Q_vulgar): New variable.
53 (Q_vulgar_of): New variable.
54 (Fput_char_attribute): Convert char-specs in value of
55 `{->|<-}vulgar' to characters and put reverse links.
56 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
58 (syms_of_chartab): Add new symbols `{->|<-}vulgar'.
60 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
62 * text-coding.c (decode_add_er_char): Must to quote prefix string
65 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
67 * mule-charset.c (put_char_ccs_code_point): Store characters of
68 =ucs whose code_points >= 0xF0000.
70 2004-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
72 * mule-charset.c (Vcharset_system_char_id): New variable in XEmacs
74 (syms_of_mule_charset): Add new symbol `system-char-id' in XEmacs
76 (complex_vars_of_mule_charset): Add new coded-charset
77 `system-char-id' in XEmacs CHISE; modify `=ucs' to eliminate
78 builtin characters over 0xEFFFF.
80 * chartab.c (syms_of_chartab): Don't define symbol
81 `system-char-id' in every case.
83 * char-ucs.h (Qsystem_char_id): New extern variable.
84 (LEADING_BYTE_SYSTEM_CHAR_ID): New macro.
86 2004-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
88 * text-coding.c (char_encode_utf8): Try to use entity-references
89 for U-000F0000 ... U-0010FFFF.
91 2004-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
93 * text-coding.c (ER_BUF_SIZE): New macro.
94 (struct decoding_stream): Use `ER_BUF_SIZE' to specify size of
96 (decode_add_er_char): Use `ER_BUF_SIZE' instead of 16.
97 (char_encode_as_entity_reference): Use `ER_BUF_SIZE'.
99 2004-03-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
101 * chartab.c (find_char_feature_in_family): New function.
102 (Fchar_feature): Use `find_char_feature_in_family' with
103 `->identical', `<-subsumptive' and `<-denotational'.
105 2004-03-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
107 * text-coding.c (char_encode_as_entity_reference): Allow prefix
108 within 8 characters; fix infinite loop.
110 2004-03-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
112 * chartab.c (Q_same): New variable.
113 (Q_same_of): New variable.
114 (Fput_char_attribute): Convert char-specs in value of
115 `{->|<-}same' to characters and put reverse links.
116 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
118 (syms_of_chartab): Add new symbols `{->|<-}same'.
120 2004-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
122 * chartab.c (Q_component): New variable.
123 (Q_component_of): Likewise.
124 (Fput_char_attribute): Convert char-specs in value of
125 `{->|<-}ideographic-component-forms' to characters and put reverse
127 (syms_of_chartab): Add new symbols
128 `{->|<-}ideographic-component-forms'.
130 2004-02-24 MORIOKA Tomohiko <tomo@m17n.org>
132 * chartab.c (Q_identical): New variable.
133 (Q_identical_from): New variable.
134 (Fchar_feature): Regard `->identical' as a feature to find
136 (Fput_char_attribute): Add reversed link for `{->|<-}identical'.
137 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
138 for `{->|<-}identical'.
139 (syms_of_chartab): Add new symbols `{->|<-}identical'.
141 2004-02-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
143 * char-ucs.h (encode_char_2): New inline function.
144 (CHAR_TO_CHARC): Use `encode_char_2' instead of `encode_char_1'.
146 2004-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
148 * chartab.c (Fput_char_attribute): Convert char-specs to
149 characters in value of `ideographic-structure'.
150 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
151 for `{<-|->}simplified(@...)'.
152 (Fdefine_char): bTry to use predefined character's id.
154 2004-02-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
156 * fns.c (simplify_char_spec): Try to convert builtin chars to
159 2004-02-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
161 * chartab.c (Fput_char_attribute): Convert char-specs in value of
162 `<-simplified[^*]*' to characters and put reverse links.
164 2004-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
166 * chartab.c (Q_subsumptive): Renamed from Q_unified.
167 (Q_subsumptive_from): Renamed from Q_unified_from.
168 (Fchar_feature): Use `Q_subsumptive_from' instead of
170 (Fput_char_attribute): Likewise; Use `Q_subsumptive' instead of
172 (syms_of_chartab): Rename `->unified' to `->subsumptive' and
173 `<-unified' to `<-subsumptive'.
175 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
177 * chartab.c (Fchar_feature): Check `<-denotational' to avoid
178 inheritance itself; fix typo; stop recursive search if cyclic
179 inheritance is found.
181 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
183 * chartab.c (Q_denotational): New variable.
184 (Q_denotational_from): New variable.
185 (Fchar_feature): Refer `<-denotational' as same as `<-unified'.
186 (put_char_attribute): New function.
187 (Fput_char_attribute): Use `put_char_attribute'; regard
188 `->denotational' and `<-denotational' as same as `->unified' and
190 (syms_of_chartab): Add new symbols `->denotational' and
193 2004-02-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
195 * chartab.c (Fget_composite_char): Use `Fchar_feature' instead of
196 `Fget_char_attribute'.
197 (Fchar_variants): Likewise.
198 (get_char_table): Likewise.
199 (Fchar_feature): New function.
200 (put_char_composition): Use `Fchar_feature' instead of
201 `Fget_char_attribute'.
202 (Fput_char_attribute): Likewise; don't put the target character
203 into its `->unified' value.
204 (syms_of_chartab): Add new builtin function `char-feature'.
206 2004-01-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
208 * text-coding.c (COMPOSE_ADD_CHAR): Use `Fchar_feature' instead of
209 `Fget_char_attribute'.
210 (char_encode_utf8): Likewise.
212 * chartab.h: Add an EXFUN for `Fchar_feature'.
214 2004-01-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
216 * chartab.c (Vnext_defined_char_id): New variable.
217 (Fput_char_attribute): Accept characters in `->unified'.
218 (Fdefine_char): Refer and update Vnext_defined_char_id to allocate
219 new characters which are not related with builtin char-id ranges.
220 (vars_of_chartab): Add new variable `next-defined-char-id'.
222 2004-01-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
224 * chartab.c (Q_unified): New variable.
225 (Q_unified_from): New variable.
226 (Fput_char_attribute): Add code for `->unified'.
227 (syms_of_chartab): Add new symbols `->unified' and `<-unified' in
230 2003-11-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
232 * mule-charset.c (decode_ccs_conversion): New function.
233 (decode_defined_char): Use `decode_ccs_conversion'.
234 (decode_builtin_char): Likewise.
236 2003-11-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
238 * char-ucs.h: Change some charset-ids of private coded-charsets.
240 2003-11-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
242 * text-coding.c (decode_add_er_char): Modify for `DECODE_CHAR'.
243 (char_encode_as_entity_reference): Likewise.
244 (decode_coding_big5): Modify for `decode_defined_char' and
246 (decode_coding_utf8): Modify for `decode_defined_char'; modify to
247 avoid compiler warning.
248 (decode_coding_iso2022): Modify for `DECODE_CHAR'.
250 * mule-charset.c (decode_defined_char): Add new argument
251 `without_inheritance'.
252 (Fdecode_char): Add new optional argument `without_inheritance'.
253 (Fdecode_builtin_char): Modify for `Fdecode_char'.
255 * fns.c (ids_format_unit): Modify for `Fdecode_char'.
256 (simplify_char_spec): Likewise.
258 * chartab.h (Fdecode_char): Modify number of arguments of EXFUN
261 * chartab.c (put_char_table): Modify for `DECODE_CHAR'.
262 (map_char_table): Likewise.
263 (Fdefine_char): Use `Fdecode_char' without inheritance.
264 (Ffind_char): Modify for `Fdecode_char'.
266 * character.h (CHARC_TO_CHAR): Modify for `DECODE_CHAR'.
268 * char-ucs.h (decode_defined_char): Add new argument
269 `without_inheritance'.
270 (DECODE_CHAR): Likewise.
271 (MAKE_CHAR): Modify for `DECODE_CHAR'.
273 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
275 * chartab.c (Vchise_system_db_directory): New variable.
276 (vars_of_chartab): Add new variable `chise-system-db-directory'.
278 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
280 * chartab.c: EXFUN `Fmount_char_attribute_table'.
281 (print_chartab_range): Don't define when `UTF2000' is defined.
282 (open_chise_data_source_maybe): Specify 0 instead of DB_HASH for
285 2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
287 * chartab.c (Fchar_attribute_list): When HAVE_LIBCHISE is defined
288 and optional argument `rehash' is specified, call
289 `open_chise_data_source_maybe' before
290 `chise_ds_foreach_char_feature_name' is called.
292 2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
294 * chartab.c (char_attribute_list_reset_map_func): New function
295 when HAVE_LIBCHISE is defined.
296 (Fchar_attribute_list): Add new optional argument `rehash' when
297 HAVE_LIBCHISE is defined.
298 (open_chise_data_source_maybe): Use "chise-db" instead of
300 (char_attribute_system_db_file): Likewise.
301 (Fload_char_attribute_table): Use
302 `chise_feature_foreach_char_with_value' instead of
303 `chise_char_feature_value_iterate'.
305 2003-10-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
307 * chartab.c (Vchise_db_directory): New variable.
308 (vars_of_chartab): Add new built-in variable `chise-db-directory'.
310 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
312 * mule-charset.c (Freset_charset_mapping_table): Use HAVE_LIBCHISE
313 instead of HAVE_CHISE to specify using with libchise.
315 * config.h.in (HAVE_CHISE_CLIENT): Deleted.
317 * chartab.h: Don't use HAVE_CHISE_CLIENT.
319 * chartab.c (Qsystem_char_id): Don't define when HAVE_CHISE is not
320 defined or HAVE_LIBCHISE_LIBCHISE is defined.
321 (char_attribute_system_db_file): Don't define when HAVE_LIBCHISE
323 (Freset_char_attribute_table): Use HAVE_LIBCHISE instead of
324 HAVE_CHISE to specify using with libchise.
325 (syms_of_chartab): Don't define symbol `system-char-id' when
326 HAVE_CHISE is not defined or HAVE_LIBCHISE_LIBCHISE is defined.
328 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
330 * mule-charset.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
331 specify CHISE DB support.
332 (Freset_charset_mapping_table): Use `chise_ccs_setup_db' instead
333 of `char_attribute_system_db_file' to check feature DB file.
335 * chartab.h, casetab.c, char-ucs.h: Use HAVE_CHISE instead of
336 HAVE_CHISE_CLIENT to specify CHISE DB support.
338 * chartab.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
339 specify CHISE DB support.
340 (open_chise_data_source_maybe): Don't define when HAVE_LIBCHISE is
342 (Freset_char_attribute_table): Use `chise_feature_setup_db'
343 instead of `char_attribute_system_db_file' to check feature DB
346 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
348 * mule.c (vars_of_mule): Use `HAVE_CHISE' instead of `CHISE' and
351 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
353 * mule-charset.c: Use HAVE_LIBCHISE instead of CHISE.
354 (Fsave_charset_mapping_table): Don't use
355 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
357 * config.h.in (HAVE_CHISE): Renamed from `CHISE'.
358 (HAVE_LIBCHISE): New macro.
360 * chartab.h: Use HAVE_LIBCHISE instead of CHISE.
362 * chartab.c: Use HAVE_LIBCHISE instead of CHISE.
363 (Fsave_char_attribute_table): Don't use
364 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
366 2003-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
368 * chartab.c (save_uint8_byte_table): Use libchise when CHISE is
370 (save_uint16_byte_table): Likewise.
371 (save_byte_table): Likewise.
372 (char_table_get_db): Use `chise_ds_load_char_feature_value'
373 instead of `chise_char_load_feature_value'.
374 (Fsave_char_attribute_table): Use libchise when CHISE is defined.
376 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
378 * chartab.h (struct Lisp_Char_Table): Delete member
379 `feature_table' if CHISE is defined.
381 * chartab.c (Fmake_char_table): Don't refer `ct->feature_table'.
382 (Fcopy_char_table): Likewise.
383 (char_table_open_db_maybe): Likewise.
384 (char_table_close_db_maybe): Likewise.
385 (char_table_get_db): Likewise.
386 (Fmount_char_attribute_table): Likewise.
387 (Fload_char_attribute_table): Likewise.
389 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
391 * mule-charset.c (load_char_decoding_entry_maybe): Use
392 `chise_ds_decode_char' instead of `chise_ds_get_ccs' and
395 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
397 * chartab.c (open_chise_data_source_maybe): Use `CHISE_DS_open'
398 instead of `chise_open_data_source'.
399 (Fclose_char_data_source): Use `CHISE_DS_close' instead of
402 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
404 * chartab.c (char_table_open_db_maybe): Use `chise_ds_get_feature'
405 instead of `chise_ds_open_feature_table'.
406 (char_table_close_db_maybe): Don't use `chise_ft_close'.
408 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
410 * mule-charset.c (Fsave_charset_mapping_table): Use
411 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
412 `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
413 `chise_ccs_sync' instead of `chise_ccst_close'.
414 (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
416 * chartab.c (open_chise_data_source_maybe): Modify for
417 `chise_open_data_source'.
418 (char_table_open_db_maybe): Modify for
419 `chise_ds_open_feature_table'.
421 2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
423 * mule-charset.c (load_char_decoding_entry_maybe): Use
424 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
427 2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
429 * mule-charset.c (Fsave_charset_mapping_table): Use
430 `chise_ds_open_ccs_table', `chise_ccst_put_char' and
431 `chise_ccst_close' instead of `chise_ds_open_decoding_table',
432 `chise_dt_put_char' and `chise_dt_close'.
433 (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
434 `chise_ccs_decode' and `chise_ccst_close' instead of
435 `chise_ds_open_decoding_table', `chise_dt_get_char' and
438 * chartab.c (char_table_get_db): Use
439 `chise_char_load_feature_value' instead of `chise_ft_get_value'.
440 (load_char_attribute_table_map_func): Modify for
441 `chise_char_feature_value_iterate'.
442 (Fload_char_attribute_table): Use
443 `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
445 2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
447 * text-coding.c (COMPOSE_ADD_CHAR): Fixed.
449 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
451 * chartab.c (put_char_table): Modify for inherited coded-charsets
454 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
456 * chartab.c (Fput_char_table_map_function): Fixed.
457 (word_boundary_p): Don't check charset in XEmacs CHISE.
459 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
461 * mule-charset.c (Fsave_charset_mapping_table): Use
462 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
463 instead of `chise_open_decoding_table'; refer
464 `default_chise_data_source'; use `chise_dt_close' instead of
465 `chise_close_decoding_table'.
466 (load_char_decoding_entry_maybe): Likewise.
468 * chartab.c (default_chise_data_source): New variable when `CHISE'
470 (Fcopy_char_table): `ct->ds' is deleted.
471 (open_chise_data_source_maybe): New function.
472 (Fclose_char_data_source): New function.
473 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
474 use `chise_ds_open_feature_table' instead of
475 `chise_open_feature_table'.
476 (char_table_close_db_maybe): Use `chise_ft_close' instead of
477 `chise_close_feature_table'; `cit->ds' is deleted.
478 (syms_of_chartab): Add new builtin function
479 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
481 * chartab.h (default_chise_data_source): New extern variable.
482 (open_chise_data_source_maybe): New prototype.
483 (struct Lisp_Char_Table): Delete `ds'.
485 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
487 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
490 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
492 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
493 not defined; add code for non-libchise setting.
494 (char_table_close_db_maybe): Likewise.
495 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
497 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
498 even if `CHISE' is not defined.
499 (Freset_char_attribute_table): Likewise.
500 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
501 `char_table_close_db_maybe' even if `CHISE' is not defined; use
503 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
504 `char_table_close_db_maybe' even if `CHISE' is not defined.
506 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
508 * chartab.c (char_table_open_db_maybe): New function.
509 (char_table_close_db_maybe): New function.
510 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
511 (Freset_char_attribute_table): Likewise.
512 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
513 `char_table_close_db_maybe'.
514 (Fload_char_attribute_table): Likewise.
516 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
518 * chartab.c: Don't include <chise.h> because it is included in
520 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
522 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
524 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
526 (Fclose_char_attribute_table): Close `ct->feature_table' and
527 `ct->ds' when `CHISE' is defined.
528 (Freset_char_attribute_table): Likewise.
529 (load_char_attribute_maybe): Use `cit->ds' and
530 `cit->feature_table' when `CHISE' is defined.
531 (Fload_char_attribute_table): Likewise.
533 * chartab.h: Include <chise.h> when `CHISE' is defined.
534 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
535 when `CHISE' is defined.
537 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
539 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
541 (char_table_description): Likewise.
542 (Fmake_char_table): Likewise.
543 (Fcopy_char_table): Likewise.
544 (Fmount_char_attribute_table): Likewise.
545 (Fclose_char_attribute_table): Likewise.
546 (Freset_char_attribute_table): Likewise.
547 (load_char_attribute_maybe): Likewise.
548 (Fload_char_attribute_table): Likewise.
550 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
553 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
555 * chartab.c (load_char_attribute_table_map_func): New function
556 when CHISE is defined.
557 (Qload_char_attribute_table_map_function): Don't define when CHISE
559 (Fload_char_attribute_table_map_function): Likewise.
560 (Fload_char_attribute_table): Use libchise when `CHISE' is
562 (syms_of_chartab): Don't define
563 `load-char-attribute-table-map-function' when CHISE is defined.
565 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
567 * chartab.c: Include <chise.h> when `CHISE' is defined.
568 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
570 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
572 * mule-charset.c (charset_code_point): Fix problem when searching
573 in mother CCS fails with `defined_only' mode.
575 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
577 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
578 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
579 (put_char_composition): Likewise.
580 (Fput_char_attribute): Likewise.
581 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
583 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
585 * chartab.c (Q_ucs): Deleted.
586 (Fput_char_attribute): Don't refer `->ucs'.
587 (Fdefine_char): Likewise.
588 (Ffind_char): Likewise.
589 (syms_of_chartab): Delete `->ucs'.
591 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
593 * mule-charset.c (Qmap_cns11643_2): Renamed from
594 `Qchinese_cns11643_2'.
595 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
596 `chinese-cns11643-2'.
597 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
600 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
602 * mule-charset.c (Qmap_cns11643_1): Renamed from
603 `Qchinese_cns11643_1'.
604 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
605 `chinese-cns11643-1'.
606 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
609 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
611 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
612 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
614 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
617 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
619 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
620 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
622 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
625 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
627 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
628 (syms_of_mule_charset): Add new symbol `=big5' instead of
630 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
632 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
634 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
635 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
637 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
640 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
642 * mule-charset.c (Qmap_jis_x0212): Renamed from
643 `Qjapanese_jisx0212'.
644 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
646 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
649 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
651 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
652 `Qjapanese_jisx0208'.
653 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
654 of `japanese-jisx0208'.
655 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
658 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
660 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
661 `Qjapanese_jisx0208_1978'.
662 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
663 of `japanese-jisx0208-1978'.
664 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
667 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
669 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
670 only for XEmacs CHISE.
672 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
674 * char-ucs.h: Compact non-ISO-IR charset-ids.
675 (LEADING_BYTE_UCS): Changed to -177.
676 (LEADING_BYTE_CONTROL_1): Changed to -77.
677 (LEADING_BYTE_UCS_BMP): Changed to -176.
678 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
680 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
682 * mule-charset.c (Qiso_ir): New variable.
683 (Fmake_charset): Recognise new property `iso-ir'.
684 (syms_of_mule_charset): Add new symbol `iso-ir'.
686 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
688 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
689 n to -n; charset-id of non ISO-IR sets are changed to positive
692 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
694 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
695 for &MCS-XXXXXXXX; values.
697 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
699 * mule.c (Vxemacs_chise_version): Renamed from
701 (vars_of_mule): Add new variable `xemacs-chise-version'; define
702 `utf-2000-version' as an alias for `xemacs-chise-version'.
704 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
706 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
707 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
710 * config.h.in (CHISE): New macro.
712 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
714 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
716 (Qmap_ucs): New variable.
717 (syms_of_mule_charset): Add new symbol `=ucs'.
718 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
720 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
721 (simplify_char_spec): Likewise.
723 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
725 * char-ucs.h (Qmap_ucs): New extern variable.
727 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
729 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
730 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
731 don't define it when UTF2000 is not defined.
732 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
733 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
734 when UTF2000 is not defined.
735 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
736 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
738 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
740 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
742 * mule-charset.c (Vcharset_ucs_gb): Deleted.
744 (syms_of_mule_charset): Delete `ucs-gb'.
745 (complex_vars_of_mule_charset): Likewise.
747 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
749 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
751 * mule-charset.c (Vcharset_ucs_cns): Deleted.
753 (syms_of_mule_charset): Delete `ucs-cns'.
754 (complex_vars_of_mule_charset): Likewise.
756 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
758 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
760 * mule-charset.c (Vcharset_ucs_jis): Deleted.
762 (syms_of_mule_charset): Delete `ucs-jis'.
763 (complex_vars_of_mule_charset): Likewise.
765 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
767 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
769 * mule-charset.c (Vcharset_ucs_ks): Deleted.
771 (syms_of_mule_charset): Delete `ucs-ks'.
772 (complex_vars_of_mule_charset): Likewise.
774 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
776 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
777 (Qideograph_daikanwa_2): Deleted.
778 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
779 (complex_vars_of_mule_charset): Likewise.
781 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
782 (LEADING_BYTE_DAIKANWA_1): Deleted.
783 (LEADING_BYTE_DAIKANWA_2): Deleted.
784 (MIN_CHAR_DAIKANWA): Deleted.
785 (MAX_CHAR_DAIKANWA): Deleted.
787 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
789 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
790 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
791 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
793 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
794 (Vcharset_ideograph_daikanwa): Deleted.
795 (Qideograph_hanziku_{1..12}): Deleted.
796 (Qideograph_daikanwa): Deleted.
797 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
798 Vcharset_ideograph_daikanwa.
799 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
800 `ideograph-hanziku-{1..12}'.
801 (complex_vars_of_mule_charset): Likewise.
803 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
805 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
807 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
808 (Qideograph_gt_pj_{1..11}): Deleted.
809 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
810 (complex_vars_of_mule_charset): Likewise.
812 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
814 * mule-charset.c (Vcharset_ucs_big5): Deleted.
815 (Vcharset_ideograph_gt): Deleted.
816 (Qucs_big5): Deleted.
817 (Qideograph_gt): Deleted.
818 (syms_of_mule_charset): Delete symbol `ucs-big5' and
820 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
823 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
824 (LEADING_BYTE_GT): Deleted.
825 (MIN_CHAR_GT): Deleted.
826 (MAX_CHAR_GT): Deleted.
828 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
830 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
832 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
834 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
835 (save_uint16_byte_table): Likewise.
836 (save_byte_table): Likewise; convert values by it.
837 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
838 for `ideographic-structure'.
839 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
840 as the filter for `ideographic-structure'.
842 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
844 * chartab.c (put_char_composition): New function.
845 (Fput_char_attribute): Use `put_char_composition'; use
846 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
848 * fns.c (simplify_char_spec): New function.
849 (char_ref_simplify_spec): New function.
850 (Fchar_refs_simplify_char_specs): New function.
851 (syms_of_fns): Add new builtin function
852 `char-refs-simplify-char-specs'.
854 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
856 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
857 (Qideograph_cbeta): Deleted.
858 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
859 (complex_vars_of_mule_charset): Likewise.
861 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
862 (MIN_CHAR_CBETA): Comment out.
863 (MAX_CHAR_CBETA): Likewise.
865 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
867 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
868 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
869 CHISE client feature.
871 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
873 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
875 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
877 * mule-charset.c (charset_lookup_description_1): Use
878 `NUM_LEADING_BYTES' in UTF-2000.
880 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
882 * char-ucs.h (GC_CHARSETP): Deleted.
884 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
886 * char-ucs.h (MAX_CHAR_GT): Updated.
888 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
890 * text-coding.c: Sync with XEmacs 21.4.10.
892 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
894 * mule-charset.c (Vcharset_china3_jef): Deleted.
895 (Qchina3_jef): Deleted.
896 (syms_of_mule_charset): Don't define `china3-jef'.
897 (complex_vars_of_mule_charset): Likewise.
899 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
900 (MIN_CHAR_CHINA3_JEF): Comment out.
901 (MAX_CHAR_CHINA3_JEF): Comment out.
903 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
905 * mule-charset.c (Vcharset_ucs_gb): New variable.
906 (Qucs_gb): New variable.
907 (syms_of_mule_charset): Add new symbol `ucs-gb'.
908 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
910 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
912 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
914 * mule-charset.c (charset_code_point): if a coded-charset has a
915 final-byte, don't inherit the builtin range of the mother CCS.
917 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
919 * mule-charset.c (charset_code_point): Fix problem about
922 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
924 * mule-charset.c (decode_builtin_char): Reorganized.
926 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
928 * text-coding.c (char_encode_as_entity_reference): Modify for
929 `charset_code_point'.
930 (char_encode_shift_jis): Likewise.
931 (char_encode_big5): Likewise.
932 (char_encode_utf8): Likewise.
933 (char_encode_iso2022): Likewise.
935 * mule-charset.c (charset_code_point): Add new argument
937 (Fencode_char): Add new optional argument `defined_only'.
939 * chartab.c (put_char_table): Modify for `charset_code_point'.
941 * char-ucs.h (charset_code_point): Add new argument
943 (encode_char_1): Modify for `charset_code_point'.
945 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
947 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
948 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
950 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
952 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
953 (Qjis_x0208): Likewise.
954 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
955 XCHARSET_FINAL(charset).
956 (charset_code_point): Modify condition for final-byte based
958 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
959 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
960 in UTF-2000; specify `=jis-x0208' as the mother of
961 `japanese-jisx0208-1978', `japanese-jisx0208' and
962 `japanese-jisx0208-1990' in UTF-2000.
964 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
966 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
968 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
970 * text-coding.c (decode_coding_utf16): Support UTF-16.
971 (char_encode_utf16): Fixed.
973 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
975 * text-coding.c (Qutf16): New variable in MULE.
976 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
977 (Fcoding_system_type): Add `utf-16' in MULE.
978 (struct detection_state): Add a structure for utf16 in MULE.
979 (detect_coding_type): Setup st->utf16.mask in MULE.
980 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
982 (reset_encoding_stream): Use `char_encode_utf16' and
983 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
984 (detect_coding_utf16): New function [incomplete].
985 (decode_coding_utf16): New function [support only UCS-2].
986 (char_encode_utf16): New function.
987 (char_finish_utf16): New function.
988 (syms_of_file_coding): Add new symbol `utf-16'; setup
989 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
991 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
993 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
994 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
996 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
998 * chartab.c (put_char_table): When a charset is specified as a
999 range in UTF-2000, don't support builtin characters.
1001 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1003 * mule-charset.c (decode_defined_char): Don't refer external
1004 database if Qunbound or Qnil are found.
1005 (Fsave_charset_mapping_table): Don't define it if
1006 HAVE_CHISE_CLIENT is not defined.
1007 (Freset_charset_mapping_table): New function.
1008 (load_char_decoding_entry_maybe): Store Qnil if a character is not
1009 found in external database.
1010 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
1011 if HAVE_CHISE_CLIENT is not defined; add new builtin function
1012 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
1014 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1016 * text-coding.c (decode_coding_utf8): Check CCS is specified or
1019 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1021 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
1022 Q_lowercase, Q_uppercase in UTF-2000.
1024 * chartab.c (get_char_table): Add special code for the standard
1025 case table to use character attribute `->downcase' and
1026 `->uppercase' for case operations in UTF-2000.
1028 * casetab.c (Qflippedcase): New variable in UTF-2000.
1029 (Q_lowercase): Likewise.
1030 (Q_uppercase): Likewise.
1031 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
1032 and `->uppercase' in UTF-2000.
1033 (complex_vars_of_casetab): Assign attribute name `downcase' to
1034 downcase and CANON table of Vstandard_case_table in UTF-2000;
1035 assign attribute name `flippedcase' to upcase and EQV table of
1036 Vstandard_case_table in UTF-2000.
1038 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1040 * text-coding.c (decode_add_er_char): Support isolated-chars.
1041 (char_encode_as_entity_reference): Likewise.
1043 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1045 * emacs.c (Vutf_2000_lisp_directory): New variable.
1046 (Vconfigure_utf_2000_lisp_directory): Likewise.
1047 (complex_vars_of_emacs): Add new variable
1048 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
1050 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1052 * char-ucs.h (DECODE_CHAR): Delete special code for
1053 `chinese-big5-1' and `chinese-big5-2'.
1055 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
1056 (Qbig5_2): Likewise.
1057 (decode_defined_char): Support CONVERSION_BIG5_1 and
1059 (decode_builtin_char): Likewise.
1060 (charset_code_point): Likewise.
1061 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
1062 'conversion in UTF-2000.
1063 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
1064 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
1065 `chinese-big5-2' as children of `chinese-big5'.
1067 * char-ucs.h (CONVERSION_BIG5_1): New macro.
1068 (CONVERSION_BIG5_2): New macro.
1070 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1072 * text-coding.c (char_encode_big5): Support entity-reference.
1074 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1076 * text-coding.c (char_encode_as_entity_reference): New function.
1077 (char_encode_utf8): Use `char_encode_as_entity_reference'.
1079 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1081 * text-coding.c (decode_coding_big5): Support entity-reference
1084 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1086 * text-coding.c (allocate_coding_system): Initialize initial
1087 charsets for CODESYS_UTF8.
1088 (Fmake_coding_system): Accept charset-g0, charset-g1 and
1089 charset-g2 for CODESYS_UTF8.
1090 (decode_coding_utf8): Use charset-g0.
1091 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
1092 to force variants to map to UCS.
1094 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1096 * text-coding.c (Qutf_8_mcs): New variable.
1097 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
1098 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
1099 instead of `utf-8' in UTF-2000.
1101 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1103 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
1104 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
1105 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
1106 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
1107 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
1108 CONVERSION_96x96x96x96 are introduced.
1109 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
1110 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
1111 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
1113 * char-ucs.h (CONVERSION_94): New macro.
1114 (CONVERSION_96): New macro.
1115 (CONVERSION_94x94): New macro.
1116 (CONVERSION_96x96): New macro.
1117 (CONVERSION_94x94x94): New macro.
1118 (CONVERSION_96x96x96): New macro.
1119 (CONVERSION_94x94x94x60): New macro.
1120 (CONVERSION_94x94x94x94): New macro.
1121 (CONVERSION_96x96x96x96): New macro.
1123 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1125 * chartab.c (Vcharacter_variant_table): Deleted.
1126 (Fchar_variants): Use character-attribute `->ucs-variants' instead
1127 of `Vcharacter_variant_table'.
1128 (Fput_char_attribute): Likewise.
1129 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
1130 (complex_vars_of_chartab): Likewise.
1132 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1134 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
1136 * fns.c (Qideographic_structure): New variable.
1137 (Qkeyword_char): New variable.
1138 (ids_format_unit): New function.
1139 (Fideographic_structure_to_ids): New function.
1140 (syms_of_fns): Add new symbols `ideographic-structure' and
1141 `:char'; add new builtin function `ideographic-structure-to-ids'.
1143 * data.c (Fchar_ref_p): New function.
1144 (syms_of_data): Add new builtin function `char-ref-p'.
1146 * chartab.h: Add an EXFUN for `Ffind_char'.
1148 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1150 * text-coding.c (Vcharacter_composition_table): Deleted.
1151 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
1154 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
1156 (Vcharacter_composition_table): Deleted.
1157 (Fget_composite_char): Use the implementation for external-DB
1158 support in every UTF-2000.
1159 (Fput_char_attribute): Likewise.
1160 (char_attribute_system_db_file): Don't define if external-DB
1161 feature is not available.
1162 (Fsave_char_attribute_table): Likewise.
1163 (Fmount_char_attribute_table): Likewise.
1164 (Fclose_char_attribute_table): Likewise.
1165 (Freset_char_attribute_table): Likewise.
1166 (Fload_char_attribute_table): Likewise.
1167 (syms_of_chartab): Don't define `save-char-attribute-table',
1168 `mount-char-attribute-table', `reset-char-attribute-table',
1169 `close-char-attribute-table' and `load-char-attribute-table' if
1170 external-DB feature is not available.
1171 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
1173 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1175 * text-coding.c (Qcomposition): Add extern if external-DB feature
1177 (Vcharacter_composition_table): Don't add extern if external-DB
1178 feature is supported.
1179 (COMPOSE_ADD_CHAR): Modify for new data-representation of
1180 character composition rule if external-DB feature is supported.
1182 * chartab.c (Vcharacter_composition_table): Don't define if
1183 external-DB feature is supported.
1184 (Qcomposition): New variable.
1185 (Fget_composite_char): New implementation for external-DB support.
1186 (Fput_char_attribute): Use `composition' property of each
1187 character instead of `Vcharacter_composition_table' to store
1188 character-composition rules if external-DB feature is supported.
1189 (syms_of_chartab): Add new symbol `composition'.
1190 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
1191 external-DB feature is supported.
1193 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1195 * chartab.c (Vchar_db_stingy_mode): New variable.
1196 (load_char_attribute_maybe): Close database if
1197 Vchar_db_stingy_mode is not NIL.
1198 (Fload_char_attribute_table_map_function): Use
1199 `get_char_id_table_0' instead of `get_char_id_table'.
1200 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
1202 * chartab.h (get_char_id_table_0): New inline function.
1203 (get_char_id_table): Use `get_char_id_table_0'.
1205 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1207 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
1208 and `COMPOSE_ADD_CHAR'.
1209 (decode_coding_iso2022): Use `decode_flush_er_chars'.
1211 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1213 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
1214 instead of `DECODE_ADD_UCS_CHAR'.
1215 (COMPOSE_ADD_CHAR): Likewise.
1217 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1219 * text-coding.c (decode_flush_er_chars): New inline function.
1220 (decode_add_er_char): New function.
1221 (decode_coding_utf8): Use `decode_flush_er_chars' and
1222 `decode_add_er_char'.
1224 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1226 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
1227 done before `decode_output_utf8_partial_char'.
1229 * mule-charset.c (complex_vars_of_mule_charset): Specify
1230 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
1231 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
1233 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1235 * mule-charset.c (decode_defined_char): New function; search
1237 (decode_builtin_char): Don't search mother if
1238 XCHARSET_MAX_CODE(charset) == 0.
1239 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
1240 == 0 even if code >= XCHARSET_MAX_CODE(charset).
1241 (Fdecode_char): Use `decode_defined_char' instead of
1242 `DECODE_DEFINED_CHAR'.
1243 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
1244 mother of `Vcharset_ucs_jis'.
1246 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
1247 instead of `DECODE_DEFINED_CHAR'.
1249 * char-ucs.h (decode_defined_char): Renamed from
1250 `DECODE_DEFINED_CHAR'; changed to normal function.
1251 (DECODE_CHAR): Use `decode_defined_char' instead of
1252 `DECODE_DEFINED_CHAR'.
1254 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
1256 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1258 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
1260 * text-coding.c (Vcoded_charset_entity_reference_alist): New
1262 (Quse_entity_reference): New variable.
1266 (coding_system_description): Add description for
1267 `ccs_priority_list'.
1268 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
1269 (allocate_coding_system): Initialize `ccs_priority_list' in
1271 (Fmake_coding_system): Add description about
1272 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
1274 (Fcoding_system_property): Accept `disable-composition' and
1275 `use-entity-reference' in UTF-2000.
1276 (struct decoding_stream): Add new member `er_counter' and `er_buf'
1278 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
1279 (decode_coding_utf8): Decode entity-reference if
1280 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
1281 (char_encode_utf8): Encode non-Unicode characters as
1282 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
1284 (syms_of_file_coding): Add new symbols `use-entity-reference',
1286 (vars_of_file_coding): Add new variable
1287 `coded-charset-entity-reference-alist'.
1288 (complex_vars_of_file_coding): Declare `disable-composition' and
1289 `use-entity-reference' to be coding-system-properties in UTF-2000.
1291 * file-coding.h (struct Lisp_Coding_System): Add new member
1292 `use_entity_reference' and `ccs_priority_list'.
1293 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1294 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
1295 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1297 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1299 * chartab.c (save_uint8_byte_table): Don't clear the table.
1300 (save_uint16_byte_table): Likewise.
1301 (save_byte_table): Likewise.
1302 (Fmount_char_attribute_table): New function.
1303 (syms_of_chartab): Add new builtin function
1304 `mount-char-attribute-table'.
1306 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1308 * mule-charset.c (Fsave_charset_mapping_table): Open database as
1310 (load_char_decoding_entry_maybe): Open database as read-only mode.
1312 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
1313 open database as "w+" mode.
1314 (load_char_attribute_maybe): Open database as read-only mode.
1315 (Fload_char_attribute_table): Likewise.
1317 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1319 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
1320 (char_table_description): Delete member `db_file'.
1321 (Fmake_char_table): Don't refer `ct->db_file'.
1322 (Fcopy_char_table): Likewise.
1323 (Fsave_char_attribute_table): Likewise.
1324 (Fclose_char_attribute_table): Likewise.
1325 (Freset_char_attribute_table): Likewise.
1326 (load_char_attribute_maybe): Likewise.
1327 (Fload_char_attribute_table): Likewise.
1329 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
1331 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1333 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
1334 (Fsave_char_attribute_table): Don't check `ct->db_file' if
1336 (load_char_attribute_maybe): Likewise.
1337 (Fload_char_attribute_table): Likewise.
1339 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1341 * chartab.c (Fclose_char_attribute_table): Set Qnil on
1342 `ct->db_file' unconditionally.
1344 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1346 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
1348 (char_table_description): Add description for `db_file' and `db'
1350 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
1352 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
1353 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
1354 (Fclose_char_attribute_table): New function.
1355 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
1356 (load_char_attribute_maybe): Change interface; use `cit->db_file'
1358 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
1359 (syms_of_chartab): Add new builtin function
1360 `Fclose_char_attribute_table'.
1362 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1364 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
1366 (load_char_attribute_maybe): Change interface.
1367 (get_char_id_table): Modify for `load_char_attribute_maybe'.
1369 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1371 * database.h: Add an EXFUN for `Fdatabase_live_p'.
1373 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1375 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
1376 instead of `DECODE_CHAR' for mother; don't use special code for
1377 chinese-big5 to use code space of chinese-big5-1 and
1379 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
1380 `MAX_CHAR_BIG5_CDP' for chinese-big5.
1382 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
1383 (MAX_CHAR_BIG5_CDP): Revival.
1385 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1387 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
1388 the XLFD registry-encoding name of `chinese-big5'.
1390 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1392 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
1393 (Qchinese_big5_cdp): Deleted.
1394 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
1395 (complex_vars_of_mule_charset): Delete coded-charset
1398 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
1399 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
1400 `CHARSET_ID_OFFSET - n' for private CCS.
1401 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
1402 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
1403 of `MIN_LEADING_BYTE'.
1404 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
1405 `(CHARSET_ID_OFFSET - 97)'.
1406 (MIN_CHAR_BIG5_CDP): Deleted.
1407 (MAX_CHAR_BIG5_CDP): Deleted.
1409 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1411 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
1413 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1415 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
1416 (vars_of_mule): Add new variable `utf-2000-version' [moved from
1419 * chartab.c (Vutf_2000_version): Moved to mule.c.
1420 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
1422 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1424 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
1425 when HAVE_CHISE_CLIENT is not defined.
1427 * mule.c (vars_of_mule): Provide feature `chise' when
1428 HAVE_CHISE_CLIENT is defined.
1430 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1432 * config.h.in (UTF2000): Add comment.
1433 (HAVE_CHISE_CLIENT): New macro.
1435 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1437 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
1439 (Fput_char_attribute): Likewise.
1440 (char_attribute_system_db_file): Encode file-name of attribute.
1441 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
1444 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1446 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
1447 (Fsave_charset_mapping_table): Use
1448 `char_attribute_system_db_file'.
1449 (load_char_decoding_entry_maybe): Likewise.
1451 * chartab.h (Qsystem_char_id): New external variable.
1452 (char_attribute_system_db_file): New prototype.
1454 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
1455 (char_attribute_system_db_file): New function.
1456 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
1457 (Freset_char_attribute_table): Likewise.
1458 (load_char_attribute_maybe): Likewise.
1459 (Fload_char_attribute_table): Likewise.
1460 (syms_of_chartab): Add new symbol `system-char-id'.
1462 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1464 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
1465 `XCHARSET_GRAPHIC(ccs)'.
1467 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1469 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
1471 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1473 * chartab.c (Q_ucs_variants): New variable.
1474 (syms_of_chartab): Add new symbol `->ucs-variants'.
1475 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
1476 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
1477 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
1479 * mule-charset.c (load_char_decoding_entry_maybe): New function.
1481 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
1482 `HAVE_DATABASE' is defined.
1483 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
1484 `HAVE_DATABASE' is defined.
1486 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1488 * chartab.c (Fsave_char_attribute_table): Don't clear internal
1490 (Freset_char_attribute_table): New function.
1491 (syms_of_chartab): Add new builtin function
1492 `reset-char-attribute-table'.
1494 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1496 * chartab.c (load_char_attribute_maybe): Don't make directories.
1498 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1500 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
1502 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
1505 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1507 * mule-charset.c (Fsave_charset_mapping_table): Use
1508 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
1510 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
1511 instead of `XCHARSET_CHARS'.
1513 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1515 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
1516 (XCHARSET_BYTE_SIZE): Likewise.
1518 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
1520 (XCHARSET_BYTE_SIZE): Likewise.
1522 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1524 * chartab.c (Fput_char_attribute): Use exec-directory instead of
1525 data-directory to store database.
1526 (Fsave_char_attribute_table): Likewise.
1527 (load_char_attribute_maybe): Likewise.
1528 (Fload_char_attribute_table): Likewise.
1530 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1532 * mule-charset.c (Fsave_charset_mapping_table): New function.
1533 (syms_of_mule_charset): Add new builtin function
1534 `save-charset-mapping-table'.
1536 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1538 * char-ucs.h (decoding_table_check_elements): Delete prototype.
1539 (get_ccs_octet_table): New inline function.
1540 (put_ccs_octet_table): Likewise.
1541 (decoding_table_put_char): Use `get_ccs_octet_table' and
1542 `put_ccs_octet_table'.
1543 (decoding_table_remove_char): Use `decoding_table_put_char'.
1544 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
1546 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
1547 into encoding_table.
1548 (make_charset): Use Qunbound instead Qnil as initial value of
1551 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1553 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
1554 element is Qunloaded.
1555 (map_over_uint16_byte_table): Likewise.
1556 (map_over_byte_table): Likewise.
1557 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
1558 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
1559 database support, load encoding-table of the specified
1560 coded-charset if it is not loaded yet.
1561 (save_uint8_byte_table): New function of UTF-2000 with external
1563 (save_uint16_byte_table): Likewise.
1564 (save_byte_table): Likewise.
1565 (Fput_char_attribute): Don't store value into external database
1566 even if the external database feature is supported in UTF-2000;
1567 set `attribute' as name of char-table if the external database
1568 feature is supported.
1569 (Fsave_char_attribute_table): New function in UTF-2000.
1570 (syms_of_chartab): Add new builtin function
1571 `save-char-attribute-table' in UTF-2000.
1573 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1575 * chartab.c (char_attribute_table_to_put): New variable in
1577 (Qput_char_table_map_function): Likewise.
1578 (value_to_put): Likewise.
1579 (Fput_char_table_map_function): New function in UTF-2000.
1580 (put_char_table): Use `Fmap_char_attribute' for
1581 CHARTAB_RANGE_CHARSET in UTF-2000.
1582 (Fput_char_attribute): Store symbol instead of string in
1583 `XCHAR_TABLE_NAME (table)'.
1584 (load_char_attribute_maybe): Likewise.
1585 (syms_of_chartab): Add new symbol/function
1586 `put-char-table-map-function'.
1588 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1590 * database.h: Add new EXFUN for `Fmap_database'.
1592 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
1593 (syms_of_database): Likewise.
1595 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
1597 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
1598 (XCHAR_TABLE_UNLOADED): Likewise.
1600 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
1601 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
1602 HAVE_DATABASE is defined.
1603 (char_attribute_table_to_load): New variable of UTF-2000 with
1604 external database support.
1605 (Qload_char_attribute_table_map_function): Likewise.
1606 (Fload_char_attribute_table_map_function): New function of
1607 UTF-2000 with external database support.
1608 (Fload_char_attribute_table): New function of UTF-2000.
1609 (Fmap_char_attribute): Call Fload_char_attribute_table if
1610 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
1611 (syms_of_chartab): Add new symbol and function
1612 `load-char-attribute-table-map-function' in UTF-2000 with external
1613 database support; add new function `load-char-attribute-table' in
1616 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1618 * chartab.h (load_char_attribute_maybe): New prototype for
1619 UTF-2000 with DATABASE support.
1620 (get_char_id_table): Use `load_char_attribute_maybe' if
1621 HAVE_DATABASE is defined.
1623 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
1624 with DATABASE support.
1626 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1628 * chartab.c (Fput_char_attribute): Use S-expression as key of
1631 * chartab.h (get_char_id_table): Use S-expression as key of
1634 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1636 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
1637 if an element is not loaded, load the corresponding attributes
1638 from an external database.
1639 (map_over_uint16_byte_table): Likewise.
1640 (map_over_byte_table): Likewise.
1641 (map_char_table): Modify for `map_over_uint8_byte_table',
1642 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
1643 element is not loaded, load the corresponding attributes from an
1645 (Fput_char_attribute): Change initial values to Qunloaded.
1647 * chartab.h (get_char_id_table): If a character attribute is not
1648 loaded and the attribute value is not found in an external
1649 database, store Qunbound as the attribute value.
1651 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1653 * chartab.c (BT_UINT8_unloaded): New macro.
1654 (UINT8_VALUE_P): Accept Qunloaded.
1655 (UINT8_ENCODE): Likewise.
1656 (UINT8_DECODE): Likewise.
1657 (BT_UINT16_unloaded): New macro.
1658 (UINT16_VALUE_P): Accept Qunloaded.
1659 (UINT16_ENCODE): Likewise.
1660 (UINT16_DECODE): Likewise.
1661 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
1663 (mark_char_table): Mark `ct->name' in UTF-2000.
1664 (char_table_description): Add `name' in UTF-2000.
1665 (Fmake_char_table): Initialize `ct->name'.
1666 (Fcopy_char_table): Copy `ct->name'.
1667 (Fput_char_attribute): Store value into an external database if
1668 HAVE_DATABASE is defined.
1670 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
1672 (CHAR_TABLE_NAME): New macro in UTF-2000.
1673 (XCHAR_TABLE_NAME): New macro in UTF-2000.
1674 (get_char_id_table): Try to read an external database if Qunloaded
1675 is stored in a table.
1677 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
1680 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1682 * database.h: Add EXFUN definitions for Fopen_database,
1683 Fput_database, Fget_database and Fclose_database.
1685 * data.c (Qunloaded): New variable in UTF-2000.
1687 * lisp.h (Qunloaded): New variable in UTF-2000.
1689 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1691 * mule-charset.c (put_char_ccs_code_point): Modify for
1692 `decoding_table_remove_char' and `decoding_table_put_char'.
1693 (remove_char_ccs): Modify for `decoding_table_remove_char'.
1695 * char-ucs.h (decoding_table_remove_char): Change arguments to
1696 hide decoding_table vector.
1697 (decoding_table_put_char): Likewise.
1699 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1701 * mule-charset.c (decoding_table_remove_char): Moved to
1703 (decoding_table_put_char): Likewise.
1705 * char-ucs.h (decoding_table_check_elements): New prototype [moved
1706 from mule-charset.c].
1707 (decoding_table_remove_char): New inline function [moved from
1709 (decoding_table_put_char): Likewise.
1711 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1713 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
1716 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1718 * mule-charset.c (decode_builtin_char): Support mother charsets.
1720 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1722 * mule-charset.c (Q94x94x60): New variable.
1723 (charset_code_point): Support conversion `94x94x60'.
1724 (Fmake_charset): Likewise.
1725 (syms_of_mule_charset): Add new symbol `94x94x60'.
1727 * char-ucs.h (CONVERSION_94x94x60): New macro.
1729 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1731 * mule-charset.c (charset_code_point): Unify code about
1734 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1736 * mule-charset.c (charset_code_point): Merge code about builtin
1737 characters into code about mother charsets; don't use
1738 `range_charset_code_point'.
1739 (range_charset_code_point): Deleted.
1741 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1743 * mule-charset.c (Qcode_offset): New variable.
1744 (Fmake_charset): Use `XUINT' to get value of `min-code' and
1745 `max-code'; accept new property `code-offset'.
1746 (syms_of_mule_charset): Add new symbol `code-offset'.
1748 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1750 * mule-charset.c (range_charset_code_point): Fixed.
1752 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1754 * mule-charset.c (decode_builtin_char): Change semantics of
1755 code-offset of coded-charset.
1756 (charset_code_point): Likewise.
1757 (range_charset_code_point): Likewise.
1758 (complex_vars_of_mule_charset): Modify for the change.
1760 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1762 * mule-charset.c (Fencode_char): Reverse arguments.
1764 * mule-charset.c (charset_code_point): Fixed.
1766 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1768 * mule-charset.c (Vcharset_mojikyo): Deleted.
1769 (Vcharset_mojikyo_2022_1): Deleted.
1770 (Vcharset_mojikyo_pj_{1..21}): Deleted.
1771 (Qmin_code): New variable in UTF-2000.
1772 (Qmax_code): Likewise.
1773 (Qmother): Likewise.
1774 (Qconversion): Likewise.
1776 (Qmojikyo): Deleted.
1777 (Qmojikyo_2022_1): Deleted.
1778 (Qmojikyo_pj_{1..22}): Deleted.
1779 (mark_charset): Mark `cs->mother'.
1780 (charset_description): Add description for `mother'.
1781 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
1782 new arguments `mother' and `conversion'; use
1783 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
1784 (charset_code_point): Moved from char-ucs.h; support `mother'
1786 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
1787 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
1788 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
1789 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
1790 allow 2 as the value of `graphic' in UTF-2000; add new properties
1791 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
1792 require `final' in UTF-2000; modify for `make_charset'.
1793 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
1794 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
1795 (Fcharset_property): Support `mother', `min-code' and `max-code'.
1796 (Fencode_char): New function.
1797 (syms_of_mule_charset): Add new builtin function `encode-char' in
1798 UTF-2000; add new symbols `min-code', `max-code', `mother',
1799 `conversion' and `94x60'; delete symbols `mojikyo',
1800 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
1801 (complex_vars_of_mule_charset): Modify for `make_charset' change;
1802 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
1803 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
1805 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
1806 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
1808 * char-ucs.h (Vcharset_mojikyo): Deleted.
1809 (Vcharset_mojikyo_2022_1): Deleted.
1810 (LEADING_BYTE_MOJIKYO): Deleted.
1811 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
1812 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
1813 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
1814 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
1815 add new member `mother'; add new member `conversion'.
1816 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
1817 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
1818 (CHARSET_MOTHER): New macro.
1819 (CHARSET_CONVERSION): New macro.
1820 (CONVERSION_IDENTICAL): New macro.
1821 (CONVERSION_94x60): New macro.
1822 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
1823 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
1824 (XCHARSET_MOTHER): New macro.
1825 (XCHARSET_CONVERSION): New macro.
1826 (MIN_CHAR_MOJIKYO): Deleted.
1827 (MAX_CHAR_MOJIKYO): Deleted.
1828 (DECODE_MOJIKYO_2022): Deleted.
1829 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
1830 (charset_code_point): Changed to non-inline function.
1831 (encode_char_1): Use `charset_code_point'.
1832 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
1834 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1836 * lread.c (read_compiled_function): Fix prototype.
1837 (read_vector): Likewise.
1839 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1841 * lrecord.h (struct lrecord_header): Delete `older'.
1842 (set_lheader_implementation): Delete code for `older'.
1843 (set_lheader_older_implementation): Deleted.
1844 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
1845 (OLDER_RECORD_P): Deleted.
1846 (OLDER_RECORD_HEADER_P): Deleted.
1847 (alloc_older_lcrecord): Deleted.
1848 (alloc_older_lcrecord_type): Deleted.
1850 * alloc.c (all_older_lcrecords): Deleted.
1851 (alloc_older_lcrecord): Deleted.
1852 (disksave_object_finalization_1): Delete code for older objects.
1853 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
1854 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
1856 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1858 * mule-charset.c (decoding_table_put_char): Use `make_vector'
1859 instead of `make_older_vector'.
1860 (put_char_ccs_code_point): Likewise.
1861 (mark_charset): Mark `cs->decoding_table'.
1862 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
1864 * lisp.h (make_older_vector): Deleted.
1865 (make_vector_newer): Deleted.
1867 * config.h.in (HAVE_GGC): Deleted.
1869 * alloc.c (make_older_vector): Deleted.
1870 (make_vector_newer_1): Deleted.
1871 (make_vector_newer): Deleted.
1873 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1875 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
1876 (Qideograph_daikanwa_2): New variable.
1877 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
1878 (complex_vars_of_mule_charset): Add new coded-charset
1879 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
1880 `LEADING_BYTE_DAIKANWA'.
1882 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
1883 (LEADING_BYTE_DAIKANWA_1): New macro.
1884 (LEADING_BYTE_DAIKANWA_2): New macro.
1885 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
1887 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1889 * mule-charset.c (complex_vars_of_mule_charset): Change
1890 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
1891 the second revised version.
1893 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1895 * mule-charset.c (Vcharset_ucs_smp): New variable.
1896 (Vcharset_ucs_sip): New variable.
1897 (Qucs_smp): New variable.
1898 (Qucs_sip): New variable.
1899 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
1900 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
1901 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
1902 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
1903 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
1904 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
1906 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
1907 (LEADING_BYTE_UCS_SIP): New macro.
1908 (MIN_CHAR_SMP): New macro.
1909 (MAX_CHAR_SMP): New macro.
1910 (MIN_CHAR_SIP): New macro.
1911 (MAX_CHAR_SIP): New macro.
1913 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
1915 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
1918 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1920 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
1921 value; don't store value into `encoding_table' of `Lisp_Charset'.
1922 (mark_charset): `encoding_table' was deleted.
1923 (charset_description): Likewise.
1924 (make_charset): Likewise.
1925 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
1926 `put_char_ccs_code_point'.
1928 * chartab.h (Fput_char_attribute): New EXFUN.
1930 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
1931 is unified with normal symbol space.
1932 (Fget_char_attribute): Likewise.
1933 (Fput_char_attribute): Likewise; behavior of
1934 `put_char_ccs_code_point' is changed.
1936 * char-ucs.h: Include "elhash.h".
1937 (Vchar_attribute_hash_table): New external variable.
1938 (struct Lisp_Charset): Delete `encoding_table'.
1939 (CHARSET_ENCODING_TABLE): New implementation; refer
1940 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
1943 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1945 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
1948 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1950 * text-coding.c (char_encode_big5): Prefer charset-g1 than
1953 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1955 * chartab.c (uint8_byte_table_description): New constant.
1956 (uint8-byte-table): Use `uint8_byte_table_description'.
1957 (uint16_byte_table_description): New constant.
1958 (uint16-byte-table): Use `uint16_byte_table_description'.
1960 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1962 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
1963 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
1965 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1967 * mule-charset.c (Vcharset_ucs_ks): New variable.
1968 (Qucs_ks): New variable.
1969 (syms_of_mule_charset): Add new symbol `ucs-ks'.
1970 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
1972 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
1974 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1976 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
1977 (Fdecode_char): Likewise.
1979 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
1981 (Fdefine_char): Modify for Fdecode_char.
1982 (Ffind_char): Likewise.
1984 * mule-charset.c (Fdecode_char): Add new optional argument
1986 (Fdecode_builtin_char): Modify for `Fdecode_char'.
1988 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1990 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
1991 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
1992 (allocate_coding_system): Initialize initial-charsets of
1993 CODESYS_BIG5 in XEmacs UTF-2000.
1994 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
1995 CODESYS_BIG5 in XEmacs UTF-2000.
1996 (decode_coding_big5): Use initial-charset-g0 and -g1 of
1997 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
1999 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
2001 (Qideograph_hanziku_{1 .. 12}): Likewise.
2002 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
2004 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
2005 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
2006 `ideograph-hanziku-{1 .. 12}'.
2008 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
2009 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
2010 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
2011 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
2012 (DECODE_DEFINED_CHAR): New inline function.
2013 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
2015 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2017 * mule-charset.c (Vcharset_china3_jef): Renamed from
2018 `Vcharset_japanese_jef_china3'.
2019 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
2020 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
2021 `{MIN|MAX}_CHAR_JEF_CHINA3'..
2022 (syms_of_mule_charset): Rename `china3-jef' from
2023 `japanese-jef-china3'.
2024 (complex_vars_of_mule_charset): Likewise; rename
2025 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
2027 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
2028 `LEADING_BYTE_JEF_CHINA3'.
2029 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
2030 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
2032 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2034 * mule-charset.c (encode_builtin_char_1): Comment out special code
2035 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
2037 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
2038 (MAX_CHAR_MOJIKYO_0): Comment out.
2039 (MIN_CHAR_CBETA): Changed to 0x00E20000.
2040 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
2041 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
2042 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
2044 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2046 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
2047 (Qideograph_cbeta): New variable.
2048 (encode_builtin_char_1): Comment out special code for
2049 coded-charset `mojikyo' and `japanese-jef-china3'.
2050 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
2051 (complex_vars_of_mule_charset): Add new coded-charset
2054 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
2055 (MIN_CHAR_CBETA): New macro.
2056 (MAX_CHAR_CBETA): New macro.
2058 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2060 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
2061 (LEADING_BYTE_JEF_CHINA3): New macro.
2062 (MIN_CHAR_JEF_CHINA3): New macro.
2063 (MAX_CHAR_JEF_CHINA3): Likewise.
2064 (DECODE_CHAR): Fixed.
2066 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2068 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
2069 (Qjapanese_jef_china3): New variable.
2070 (encode_builtin_char_1): Support `japanese-jef-china3'.
2071 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
2072 (complex_vars_of_mule_charset): Add new coded-charset
2073 `japanese-jef-china3'.
2075 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2077 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
2078 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
2079 94^4, 96^3, 96^4, 128^n and 256^n set.
2080 (put_char_table): Use `XCHARSET_CELL_RANGE'.
2081 (map_char_table): Likewise.
2083 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2085 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
2088 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2090 * chartab.h (get_char_id_table): New inline function.
2092 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
2095 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2097 * chartab.h (decode_char_table_range): New prototype in XEmacs
2099 (put_char_id_table): New inline function in XEmacs UTF-2000.
2101 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
2103 (decode_char_table_range): Delete static declaration in XEmacs
2106 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2108 * chartab.c (put_char_id_table): Use `put_char_table'.
2110 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2112 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
2113 (map_over_uint16_byte_table): Likewise.
2114 (map_over_byte_table): Likewise.
2115 (map_char_table): Modify for `map_over_uint8_byte_table',
2116 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
2119 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2121 * chartab.c (struct map_char_table_for_charset_arg): New
2123 (map_char_table_for_charset_fun): New function.
2124 (map_char_table): Use `map_char_table' for encoding_table of
2127 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2129 * chartab.c (map_char_table): Check a character is found in
2130 range->charset instead of non default value is defined in
2131 char-table when range is CHARTAB_RANGE_ROW.
2133 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2135 * chartab.c (map_char_id_table): Deleted.
2136 (Fmap_char_attribute): Use `map_char_table' instead of
2137 `map_char_id_table'.
2139 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2141 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
2143 (update_syntax_table): Deleted in XEmacs UTF-2000.
2145 * syntax.c (find_defun_start): Use `syntax_table' instead of
2146 `mirror_syntax_table' in XEmacs UTF-2000.
2147 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
2149 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
2151 (Fmatching_paren): Likewise.
2152 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
2154 (find_start_of_comment): Likewise.
2155 (find_end_of_comment): Likewise.
2156 (Fforward_comment): Likewise.
2157 (scan_lists): Likewise.
2158 (char_quoted): Likewise.
2159 (Fbackward_prefix_chars): Likewise.
2160 (scan_sexps_forward): Likewise.
2161 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
2162 (update_syntax_table): Likewise.
2164 * search.c (skip_chars): Use `syntax_table' instead of
2165 `mirror_syntax_table' in XEmacs UTF-2000.
2166 (wordify): Likewise.
2167 (Freplace_match): Likewise.
2169 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
2170 `mirror_syntax_table' in XEmacs UTF-2000.
2171 (WORDCHAR_P_UNSAFE): Likewise.
2172 (re_match_2_internal): Likewise.
2174 * font-lock.c (find_context): Use `buf->syntax_table' instead of
2175 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2177 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
2178 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
2180 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
2183 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
2185 (print_char_table): Print `default_value' in XEmacs UTF-2000.
2186 (char_table_description): Delete `mirror_table' in XEmacs
2188 (fill_char_table): Don't call `update_syntax_table' in XEmacs
2190 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
2191 (Fcopy_char_table): Likewise.
2192 (put_char_table): Don't call `update_syntax_table' in XEmacs
2195 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
2196 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2197 (casify_region_internal): Likewise.
2199 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
2201 * buffer.c (common_init_complex_vars_of_buffer): Don't use
2202 `mirror_syntax_table' in XEmacs UTF-2000.
2204 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
2205 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2206 (Fexpand_abbrev): Likewise.
2208 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2210 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
2212 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2214 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
2215 (map_over_uint16_byte_table): Likewise.
2216 (map_over_byte_table): Likewise.
2217 (get_char_id_table): Refer `cit->default_value'.
2218 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2219 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
2220 of character-id ranges.
2221 (mark_char_table): Mark `ct->default_value'.
2222 (char_table_description): Add `default_value'.
2223 (fill_char_table): Use `default_value'.
2224 (decode_char_table_range): Decode `nil' as
2225 `CHARTAB_RANGE_DEFAULT'.
2226 (get_char_id_table): Refer `cit->default_value'.
2227 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2228 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
2229 temporary hack; check value of char-table is bound or not.
2230 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
2232 * chartab.h (struct Lisp_Char_Table): Add new member
2233 `default_value' in XEmacs UTF-2000.
2234 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
2235 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
2238 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2240 * chartab.h (Lisp_Char_ID_Table): Deleted.
2242 * chartab.c (char_table_description): Fix typo.
2243 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
2244 `Lisp_Char_ID_Table'.
2246 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2248 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
2251 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
2254 * chartab.h (XCHAR_ID_TABLE): Deleted.
2255 (XSETCHAR_ID_TABLE): Deleted.
2256 (CHAR_ID_TABLE_P): Deleted.
2258 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
2260 (Fget_composite_char): Likewise.
2261 (put_char_table): Likewise.
2262 (add_char_attribute_alist_mapper): Fixed.
2263 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
2265 (Fget_char_attribute): Likewise.
2266 (Fget_char_attribute): Likewise.
2267 (Fmap_char_attribute): Likewise.
2269 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
2271 (encode_char_1): Likewise.
2273 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2275 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
2278 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
2279 instead of `XCHAR_ID_TABLE'.
2280 (remove_char_ccs): Likewise.
2282 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
2284 (Fget_composite_char): Likewise.
2285 (Fchar_variants): Likewise.
2286 (put_char_table): Likewise.
2287 (add_char_attribute_alist_mapper): Likewise.
2288 (Fchar_attribute_alist): Likewise.
2289 (Fget_char_attribute): Likewise.
2290 (Fput_char_attribute): Likewise.
2291 (Fmap_char_attribute): Likewise.
2292 (Fmap_char_attribute): Likewise.
2294 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
2296 (encode_char_1): Likewise.
2298 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2300 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
2301 `Lisp_Char_ID_Table'.
2302 (mark_char_id_table): Deleted.
2303 (print_char_id_table): Likewise.
2304 (char_id_table_equal): Likewise.
2305 (char_id_table_hash): Likewise.
2306 (char_id_table_description): Likewise.
2307 (char_id_table): Likewise.
2308 (make_char_id_table): Use `Fmake_char_table' and
2310 (get_char_id_table): Use `Lisp_Char_Table' instead of
2311 `Lisp_Char_ID_Table'.
2312 (put_char_id_table): Likewise.
2313 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
2315 (Fremove_char_attribute): Likewise.
2316 (syms_of_chartab): Don't define type `char-id-table'.
2318 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
2319 (char_id_table): Likewise.
2320 (GC_CHAR_ID_TABLE_P): Likewise.
2321 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
2322 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
2323 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
2324 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
2325 (get_char_id_table): Use `Lisp_Char_Table' instead of
2326 `Lisp_Char_ID_Table'.
2327 (put_char_id_table_0): Likewise.
2328 (put_char_id_table): Likewise.
2330 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2332 * chartab.h: Lisp_Byte_Table related codes are moved from
2335 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
2337 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2339 * chartab.h: Don't include "chartab.h".
2340 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
2341 (Lisp_Char_ID_Table): Likewise.
2342 (char_id_table): Likewise.
2343 (XCHAR_ID_TABLE): Likewise.
2344 (XSETCHAR_ID_TABLE): Likewise.
2345 (CHAR_ID_TABLE_P): Likewise.
2346 (GC_CHAR_ID_TABLE_P): Likewise.
2347 (get_char_id_table): Likewise.
2349 * char-ucs.h: Include "chartab.h".
2350 (struct Lisp_Char_ID_Table): Moved to chartab.h.
2351 (Lisp_Char_ID_Table): Likewise.
2352 (char_id_table): Likewise.
2353 (XCHAR_ID_TABLE): Likewise.
2354 (XSETCHAR_ID_TABLE): Likewise.
2355 (CHAR_ID_TABLE_P): Likewise.
2356 (GC_CHAR_ID_TABLE_P): Likewise.
2357 (get_char_id_table): Likewise.
2359 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2361 * chartab.c (copy_uint8_byte_table): New function.
2362 (copy_uint16_byte_table): New function.
2363 (copy_byte_table): New function.
2364 (map_over_uint8_byte_table): Modify to avoid huge numbers of
2366 (map_over_uint16_byte_table): Likewise.
2367 (map_over_byte_table): Likewise.
2368 (get_byte_table): Move prototype to chartab.h.
2369 (put_byte_table): Likewise.
2370 (put_char_id_table_0): Moved to chartab.h.
2371 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
2372 (char_table_entry_equal): Likewise.
2373 (char_table_entry_hash): Likewise.
2374 (char_table_entry_description): Likewise.
2375 (char_table_entry): Likewise.
2376 (make_char_table_entry): Likewise.
2377 (copy_char_table_entry): Likewise.
2378 (get_non_ascii_char_table_value): Likewise.
2379 (map_over_charset_ascii): Likewise.
2380 (map_over_charset_control_1): Likewise.
2381 (map_over_charset_row): Likewise.
2382 (map_over_other_charset): Likewise.
2383 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
2384 (print_char_table): Likewise.
2385 (char_table_equal): Likewise.
2386 (char_table_hash): Likewise.
2387 (char_table_description): Likewise.
2388 (fill_char_table): Likewise.
2389 (Fcopy_char_table): Likewise.
2390 (get_char_table): Likewise.
2391 (Fget_range_char_table): Likewise.
2392 (put_char_table): Likewise.
2393 (map_char_table): Likewise.
2394 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
2397 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2399 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
2400 `Vauto_fill_chars' in XEmacs UTF-2000.
2402 * chartab.h (get_byte_table): New prototype [moved from
2404 (put_byte_table): Likewise [moved from chartab.c].
2405 (put_char_id_table_0): New inline function [moved from chartab.c].
2406 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
2407 (Lisp_Char_Table_Entry): Likewise.
2408 (char_table_entry): Likewise.
2409 (XCHAR_TABLE_ENTRY): Likewise.
2410 (XSETCHAR_TABLE_ENTRY): Likewise.
2411 (CHAR_TABLE_ENTRYP): Likewise.
2412 (CHECK_CHAR_TABLE_ENTRY): Likewise.
2413 (NUM_ASCII_CHARS): Likewise.
2414 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
2415 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
2417 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2419 * chartab.c (get_char_id_table): Change interface.
2420 (put_char_id_table_0): New function.
2421 (put_char_id_table): Change interface; new implementation.
2422 (Fget_composite_char): Modify for interface change of
2423 `get_char_id_table'.
2424 (Fchar_variants): Likewise.
2425 (add_char_attribute_alist_mapper): Likewise.
2426 (Fchar_attribute_alist): Likewise.
2427 (Fget_char_attribute): Likewise.
2428 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
2429 as same as character as the first argument like `put-char-table';
2430 modify for interface change of `put_char_id_table'.
2431 (Fremove_char_attribute): Modify for interface change of
2432 `put_char_id_table'.
2434 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2436 * text-coding.c: Sync up with XEmacs 21.2.41.
2437 (COMPOSE_ADD_CHAR): Modify for interface change of
2438 `get_char_id_table'.
2440 * mule-charset.c (put_char_ccs_code_point): Modify for interface
2441 change of `put_char_id_table'.
2442 (remove_char_ccs): Likewise.
2444 * chartab.h (put_char_id_table): Change interface.
2446 * char-ucs.h (get_char_id_table): Change interface.
2447 (charset_code_point): Modify for interface change of
2448 `get_char_id_table'.
2449 (encode_char_1): Likewise.
2451 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2453 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
2455 (map_over_uint16_byte_table): Likewise.
2456 (map_over_byte_table): Likewise.
2457 (map_char_id_table): Add new argument `range' like
2459 (Fmap_char_attribute): Add new argument `range' like
2462 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2464 * chartab.c (map_over_uint8_byte_table): Change interface of
2465 mapping function to use struct chartab_range instead of Emchar.
2466 (map_over_uint16_byte_table): Likewise.
2467 (map_over_byte_table): Likewise.
2468 (map_char_id_table): Likewise.
2469 (struct slow_map_char_id_table_arg): Deleted.
2470 (slow_map_char_id_table_fun): Deleted.
2471 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
2472 function `slow_map_char_table_fun' instead of struct
2473 `slow_map_char_id_table_arg' and function
2474 `slow_map_char_id_table_fun'.
2476 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2478 * mule-charset.c: Move char-it-table related codes to chartab.c.
2479 (Vutf_2000_version): Moved to chartab.c.
2480 (Fdefine_char): Likewise.
2481 (Ffind_char): Likewise.
2482 (syms_of_mule_charset): Move types `uint8-byte-table',
2483 `uint16-byte-table', `byte-table' and `char-id-table' to
2484 chartab.c; move functions `char_attribute_list,
2485 `find_char_attribute_table, `char_attribute_alist,
2486 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
2487 `map_char_attribute, `define_char, `find_char, `char_variants and
2488 `get_composite_char to chartab.c; move symbols `=>ucs',
2489 `->decomposition', `compat', `isolated', `initial', `medial',
2490 `final', `vertical', `noBreak', `fraction', `super', `sub',
2491 `circle', `square', `wide', `narrow', `small' and `font' to
2493 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
2494 setting codes for `Vcharacter_composition_table' and
2495 `Vcharacter_variant_table' to chartab.c.
2496 (complex_vars_of_mule_charset): Move setting code for
2497 `Vchar_attribute_hash_table' to chartab.c.
2499 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
2500 (make_char_id_table): New prototype.
2501 (put_char_id_table): Likewise.
2502 (Fget_char_attribute): Likewise.
2504 * chartab.c: Move char-id-table related code from mule-charset.c.
2505 (Vutf_2000_version): Moved from mule-charset.c.
2507 * char-ucs.h (Qucs): New external variable.
2508 (put_char_ccs_code_point): New prototype.
2509 (remove_char_ccs): Likewise.
2511 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2513 * mule-charset.c (Vcharset_ucs_jis): New variable.
2514 (Qucs_jis): Likewise.
2515 (syms_of_mule_charset): Add new symbol `ucs-jis'.
2516 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
2518 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
2520 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2522 * mule-charset.c (map_over_uint8_byte_table): New function.
2523 (map_over_uint16_byte_table): Likewise.
2524 (map_over_byte_table): Likewise.
2525 (map_char_id_table): Likewise.
2526 (slow_map_char_id_table_fun): Likewise.
2527 (Fmap_char_attribute): Likewise.
2528 (syms_of_mule_charset): Add new function `map-char-attribute'.
2530 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2532 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
2533 (syms_of_mule_charset): Add new function `find-char'.
2535 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2537 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
2539 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
2540 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
2542 (complex_vars_of_mule_charset): Add new coded-charset
2543 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
2544 `ideograph-gt-pj-*'.
2546 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
2548 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2550 * mule-charset.c (encode_builtin_char_1): Purge codes about
2551 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
2552 {MIN|MAX}_CHAR_HEBREW.
2553 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
2554 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
2556 * char-ucs.h (MIN_CHAR_GREEK): Purged.
2557 (MAX_CHAR_GREEK): Purged.
2558 (MIN_CHAR_CYRILLIC): Purged.
2559 (MAX_CHAR_CYRILLIC): Purged.
2560 (MIN_CHAR_HEBREW): Commented out.
2561 (MAX_CHAR_HEBREW): Likewise.
2563 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2565 * mule-charset.c (Qto_ucs): New variable.
2566 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
2567 (Fdefine_char): Likewise.
2568 (syms_of_mule_charset): Add new symbol `=>ucs'.
2570 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2572 * mule-charset.c (Fdecode_char): Fixed.
2574 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2576 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
2577 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
2580 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2582 * mule-charset.c (Vcharset_ucs_big5): New variable.
2583 (Qucs_big5): Likewise.
2584 (syms_of_mule_charset): Add new symbol `ucs-big5'.
2585 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
2587 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
2589 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2591 * mule-charset.c (decode_builtin_char): Check Big5 code range
2592 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
2594 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2596 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
2597 (Qchinese_gb12345): Likewise.
2598 (Fdecode_builtin_char): Fixed.
2599 (syms_of_mule_charset): Add `chinese-gb12345'.
2600 (complex_vars_of_mule_charset): Add coded-charset
2603 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
2604 (LEADING_BYTE_CHINESE_GB12345): New macro.
2606 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2608 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
2609 and `latin-viscii-upper' for `latin-viscii'.
2611 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2613 * mule-charset.c (Fdecode_builtin_char): Comment out
2614 regularization code for ISO-IR GR representation.
2616 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2618 * mule-charset.c (decode_builtin_char): New function; renamed from
2619 `make_builtin_char'; return -1 instead of signal.
2620 (Fdecode_builtin_char): Use `decode_builtin_char'.
2622 * char-ucs.h (decode_builtin_char): New prototype; renamed from
2623 `make_builtin_char'.
2624 (DECODE_CHAR): Use `decode_builtin_char' instead of
2625 `make_builtin_char'; use mapping table of `chinese-big5' for
2626 `chinese-big5-{1,2}'.
2628 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2630 * text-coding.c (char_encode_big5): New function.
2631 (char_finish_big5): Likewise.
2632 (reset_encoding_stream): Use `char_encode_big5' and
2633 `char_finish_big5' for CODESYS_BIG5.
2634 (mule_encode): Don't use `encode_coding_big5'.
2635 (encode_coding_big5): Deleted.
2637 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2639 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
2640 0x81- in XEmacs UTF-2000.
2641 (detect_coding_big5): Likewise.
2643 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2645 * mule-charset.c (Fdefine_char): Don't use a CCS property to
2646 generate character-id if the CCS property does not have
2647 corresponding predefined character.
2648 (make_builtin_char): Return -1 if corresponding predefined
2649 character is not found.
2650 (Fdecode_char): Return nil if corresponding character is not
2652 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
2653 don't map to builtin ucs space.
2655 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2657 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
2658 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
2660 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2662 * mule-charset.c (Vcharset_ideograph_gt): New variable.
2663 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
2664 (Qideograph_gt): Likewise.
2665 (Qideograph_gt_pj_{1..11}): Likewise.
2666 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
2667 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
2668 `ideograph-gt-pj-11'.
2669 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
2670 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
2671 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
2673 * char-ucs.h (LEADING_BYTE_GT): New macro.
2674 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
2675 (MIN_CHAR_GT): Likewise.
2676 (MAX_CHAR_GT): Likewise.
2678 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2680 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
2681 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
2683 * doprnt.c (unsigned_int_converters): Add `c'.
2684 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
2686 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
2687 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
2689 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
2690 (MAX_CHAR_MOJIKYO_0): New macro.
2691 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
2693 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2695 * mule-charset.c (Fdefine_char): Delete cemented out code.
2696 (encode_builtin_char_1): Modify for new allocation of builtin
2699 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
2701 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2703 * mule-charset.c (Vcharset_ucs_cns): New variable.
2704 (Qucs_cns): New variable.
2705 (syms_of_mule_charset): Add new symbol `ucs-cns'.
2706 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
2708 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2710 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
2712 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2714 * search.c (search_buffer): Make `charset_base_code' as
2715 character-id >> 6 to eliminate the corresponding last byte in
2716 UTF-8 representation [I'm not sure it is right thing].
2717 (boyer_moore): Likewise.
2719 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2721 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
2722 representation in MULE.
2724 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2726 * text-coding.c (Fmake_coding_system): Use
2727 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
2728 `EXTERNAL_PROPERTY_LIST_LOOP'.
2730 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2732 * text-coding.c (decode_output_utf8_partial_char): New function.
2733 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
2735 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2737 * text-coding.c (decode_coding_utf8): Output original byte
2738 sequence if it is broken; change order of conditions.
2740 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
2743 * mb-multibyte.h (BYTE_ASCII_P):
2744 Use bit ops for char-signedness safety.
2745 (BYTE_C0_P): Use bit ops for char-signedness safety.
2746 (BYTE_C1_P): Use bit ops for char-signedness safety.
2748 * character.h: (XCHAR_OR_CHAR_INT):
2749 Always use inline function.
2750 Remove redundant type checking assert() - XINT will abort quite
2753 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2755 * text-coding.c: (Fencode_shift_jis_char):
2756 (Fencode_big5_char):
2757 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
2758 Replace 0 with '\0' when working with bytes.
2759 Replace initial "(" with "\(" in docstrings.
2761 (Fmake_coding_system):
2762 When type is ccl and value is vector, register it with a proper
2763 symbol. And checks whether the given ccl program is valid.
2764 (mule_decode): When calling ccl_driver, if src indicates
2765 NULL pointer, set an empty string instead.
2766 (mule_encode): Likewise.
2769 (detect_coding_sjis):
2770 (decode_coding_sjis):
2771 (detect_coding_big5):
2772 (decode_coding_big5):
2773 (detect_coding_ucs4):
2774 (decode_coding_ucs4):
2775 (detect_coding_utf8):
2776 (decode_coding_utf8):
2777 (detect_coding_iso2022):
2778 (decode_coding_iso2022):
2779 (decode_coding_no_conversion):
2781 Make all detecting and decoding functions take an Extbyte * arg.
2782 (text_encode_generic):
2783 (encode_coding_big5):
2784 (encode_coding_no_conversion):
2786 Make all encoding functions take a Bufbyte * arg.
2787 Use size_t instead of unsigned int for memory sizes.
2788 Only cast to unsigned char whenever dereferencing Extbyte *.
2790 (struct lrecord_description fcd_description_1): Use countof.
2791 (complex_vars_of_file_coding):
2792 Use countof instead of sizeof.
2793 Use CHECK_NATNUM instead of CHECK_INT.
2795 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2797 * mule-charset.c (Fget_char_attribute): Add new optional argument
2799 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
2800 (remove_char_ccs): Likewise.
2802 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2804 * text-coding.c (char_encode_shift_jis): New implementation in
2806 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
2809 * mule-charset.c (Vcharset_chinese_big5): New variable in
2811 (Qchinese_big5): New variable in UTF-2000.
2812 (BIG5_SAME_ROW): New macro in UTF-2000.
2813 (make_builtin_char): Use builtin characters of
2814 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
2815 characters of `Vcharset_chinese_big5'.
2816 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
2817 (complex_vars_of_mule_charset): Add new coded-charset
2818 `chinese-big5' in UTF-2000.
2820 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
2821 (Vcharset_chinese_big5): New external variable declaration.
2822 (Vcharset_japanese_jisx0208_1990): Likewise.
2824 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2826 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
2828 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
2830 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2832 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
2833 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
2834 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
2837 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2839 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
2841 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2843 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2846 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2848 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
2849 for `CHARSET_BY_ATTRIBUTES'.
2850 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2851 `CHARSET_BY_ATTRIBUTES'.
2853 * text-coding.c (struct decoding_stream): Rename member `CH' to
2855 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
2856 (decode_coding_sjis): Likewise.
2857 (decode_coding_big5): Likewise.
2858 (decode_coding_ucs4): Likewise.
2859 (decode_coding_utf8): Likewise.
2860 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2861 `CHARSET_BY_ATTRIBUTES'.
2862 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
2863 `str->counter'; decode 3, 4 bytes sets.
2864 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
2866 (decode_coding_no_conversion): Use `str->cpos' instead of
2869 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
2870 (Qmojikyo_2022_1): New variable.
2871 (make_charset): Don't use `CHARSET_TYPE_*'.
2872 (range_charset_code_point): Support coded-charset
2874 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
2875 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
2876 `CHARSET_BY_ATTRIBUTES'.
2877 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
2878 `CHARSET_BY_ATTRIBUTES'.
2879 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
2880 (complex_vars_of_mule_charset): Add new coded-charset
2883 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
2884 interface; changed to inline function.
2886 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
2887 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
2888 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
2889 (CHARSET_TYPE_94): Deleted.
2890 (CHARSET_TYPE_94X94): Deleted.
2891 (CHARSET_TYPE_96): Deleted.
2892 (CHARSET_TYPE_96X96): Deleted.
2893 (CHARSET_TYPE_128): Deleted.
2894 (CHARSET_TYPE_128X128): Deleted.
2895 (CHARSET_TYPE_256): Deleted.
2896 (CHARSET_TYPE_256X256): Deleted.
2897 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
2899 (DECODE_MOJIKYO_2022): New inline function.
2900 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
2901 `Vcharset_mojikyo_2022_1'.
2903 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2905 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
2907 (put_byte_table): Likewise.
2908 (char_id_table_equal): Use `get_byte_table' [new implementation].
2910 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2912 * mule-charset.c: Include <limits.h> in UTF-2000.
2913 (BT_UINT8_MIN): New macro in UTF-2000.
2914 (BT_UINT8_MAX): New macro in UTF-2000.
2915 (BT_UINT8_t): New macro in UTF-2000.
2916 (BT_UINT8_nil): New macro in UTF-2000.
2917 (BT_UINT8_unbound): New macro in UTF-2000.
2918 (INT_UINT8_P): New inline function in UTF-2000.
2919 (UINT8_VALUE_P): New inline function in UTF-2000.
2920 (UINT8_ENCODE): New inline function in UTF-2000.
2921 (UINT8_DECODE): New inline function in UTF-2000.
2922 (mark_uint8_byte_table): New function in UTF-2000.
2923 (print_uint8_byte_table): New function in UTF-2000.
2924 (uint8_byte_table_equal): New function in UTF-2000.
2925 (uint8_byte_table_hash): New function in UTF-2000.
2926 (make_uint8_byte_table): New function in UTF-2000.
2927 (uint8_byte_table_same_value_p): New function in UTF-2000.
2928 (BT_UINT16_MIN): New macro in UTF-2000.
2929 (BT_UINT16_MAX): New macro in UTF-2000.
2930 (BT_UINT16_t): New macro in UTF-2000.
2931 (BT_UINT16_nil): New macro in UTF-2000.
2932 (BT_UINT16_unbound): New macro in UTF-2000.
2933 (INT_UINT16_P): New inline function in UTF-2000.
2934 (UINT16_VALUE_P): New inline function in UTF-2000.
2935 (UINT16_ENCODE): New inline function in UTF-2000.
2936 (UINT16_DECODE): New inline function in UTF-2000.
2937 (UINT8_TO_UINT16): New inline function in UTF-2000.
2938 (mark_uint16_byte_table): New function in UTF-2000.
2939 (print_uint16_byte_table): New function in UTF-2000.
2940 (uint16_byte_table_equal): New function in UTF-2000.
2941 (uint16_byte_table_hash): New function in UTF-2000.
2942 (make_uint16_byte_table): New function in UTF-2000.
2943 (uint16_byte_table_same_value_p): New function in UTF-2000.
2944 (print_byte_table): New function in UTF-2000.
2945 (byte-table): Use `print_byte_table' as printer.
2946 (make_byte_table): Delete second argument `older'.
2947 (byte_table_same_value_p): New function in UTF-2000.
2948 (copy_byte_table): Deleted.
2949 (get_byte_table): New function in UTF-2000.
2950 (put_byte_table): New function in UTF-2000.
2951 (print_char_id_table): New function in UTF-2000.
2952 (char-id-table): Use `print_char_id_table' as printer.
2953 (make_char_id_table): Delete second argument `older'.
2954 (get_char_id_table): Use `get_byte_table [new implementation].
2955 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
2957 (Ffind_char_attribute_table): New function in UTF-2000.
2958 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
2959 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
2960 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
2961 (syms_of_mule_charset): Add new function
2962 `find-char-attribute-table' in UTF-2000.
2964 * lrecord.h (enum lrecord_type): Add
2965 `lrecord_type_uint16_byte_table' and
2966 `lrecord_type_uint8_byte_table'.
2968 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
2969 (Lisp_Uint8_Byte_Table): New type.
2970 (XUINT8_BYTE_TABLE): New macro.
2971 (XSETUINT8_BYTE_TABLE): New macro.
2972 (UINT8_BYTE_TABLE_P): New macro.
2973 (GC_UINT8_BYTE_TABLE_P): New macro.
2974 (struct Lisp_Uint16_Byte_Table): New structure.
2975 (Lisp_Uint16_Byte_Table): New type.
2976 (XUINT16_BYTE_TABLE): New macro.
2977 (XSETUINT16_BYTE_TABLE): New macro.
2978 (UINT16_BYTE_TABLE_P): New macro.
2979 (GC_UINT16_BYTE_TABLE_P): New macro.
2981 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2983 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
2984 (Vcharacter_ideographic_strokes_table): Deleted.
2985 (Vcharacter_total_strokes_table): Deleted.
2986 (Vcharacter_morohashi_daikanwa_table): Deleted.
2987 (Vcharacter_decomposition_table): Deleted.
2988 (Qname): Deleted because it is duplicated.
2989 (Qideographic_radical): Deleted.
2990 (Qideographic_strokes): Deleted.
2991 (Qtotal_strokes): Deleted.
2992 (Qmorohashi_daikanwa): Deleted.
2993 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
2994 `ideographic-radical', `ideographic-strokes', `total-strokes',
2995 `morohashi-daikanwa' and `->decomposition'.
2996 (Fget_char_attribute): Likewise.
2997 (Fput_char_attribute): Likewise; use `make-vector' instead of
2998 `make_older_vector' for `->decomposition' value.
2999 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
3000 `ideograph-daikanwa'.
3001 (syms_of_mule_charset): Delete builtin symbols `name',
3002 `ideographic-radical', `ideographic-strokes', `total-strokes' and
3003 `morohashi-daikanwa'.
3004 (vars_of_mule_charset): Don't setup
3005 `Vcharacter_ideographic_radical_table',
3006 `Vcharacter_ideographic_strokes_table',
3007 `Vcharacter_total_strokes_table',
3008 `Vcharacter_morohashi_daikanwa_table' and
3009 `Vcharacter_decomposition_table'.
3011 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3013 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
3014 `make_older_vector', `make_vector_newer_1' and
3015 `make_vector_newer'.
3017 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
3018 `make_older_vector' and `make_vector_newer'.
3020 * config.h.in (HAVE_GGC): New macro.
3022 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3024 * mule-charset.c (struct char_attribute_list_closure): New
3025 structure in UTF-2000.
3026 (add_char_attribute_to_list_mapper): New function in UTF-2000.
3027 (Fchar_attribute_list): Likewise.
3028 (Fset_charset_mapping_table): Use `make_vector_newer'.
3029 (Fdecode_builtin_char): New function in UTF-2000.
3030 (syms_of_mule_charset): Add new function `char-attribute-list' and
3031 `decode-builtin-char' in UTF-2000.
3033 * lisp.h (make_vector_newer): New prototype.
3035 * alloc.c (make_vector_newer_1): New function.
3036 (make_vector_newer): New function.
3038 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3040 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
3043 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3045 * mule-charset.c (Vchar_attribute_hash_table): New variable.
3046 (Vcharacter_attribute_table): Deleted.
3047 (Vcharacter_name_table): Deleted.
3048 (put_char_attribute): Deleted.
3049 (remove_char_attribute): Deleted.
3050 (struct char_attribute_alist_closure): New structure.
3051 (add_char_attribute_alist_mapper): New function.
3052 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
3053 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
3054 (Fget_char_attribute): Likewise.
3055 (Fput_char_attribute): Likewise.
3056 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
3057 of `remove_char_attribute'.
3058 (Fdefine_char): Return character.
3059 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
3060 and `Vcharacter_name_table'.
3061 (complex_vars_of_mule_charset): Likewise
3062 `Vchar_attribute_hash_table'.
3064 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3066 * character.h (CHARC_CHARSET): New macro.
3067 (CHARC_CHARSET_ID): New macro.
3068 (CHARC_CODE_POINT): New macro.
3069 (CHARC_COLUMNS): New macro.
3070 (CHARC_TO_CHAR): New inline function.
3071 (CHARC_EQ): New inline function.
3072 (CHARC_ASCII_EQ): New inline function.
3073 (CHARC_IS_SPACE): New inline function.
3074 (ASCII_TO_CHARC): New inline function.
3076 * char-ucs.h (encode_char_2): Deleted.
3077 (ENCODE_CHAR): Use `encode_char_1' again.
3078 (breakup_char_1): Likewise.
3079 (CHAR_TO_CHARC): New inline function.
3081 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
3083 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3085 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
3086 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
3087 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
3088 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
3089 (create_string_text_block): Use `CHARC_ASCII_EQ' and
3091 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
3093 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
3095 (x_output_display_block): Use `CHARC_CHARSET' and
3098 * redisplay-tty.c (tty_output_display_block): Use
3100 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
3102 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
3104 * insdel.c (find_charsets_in_charc_string): Use
3106 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
3107 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
3108 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
3109 (convert_charc_string_into_malloced_string): Likewise.
3111 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3113 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
3114 instead of <Emchar_dynarr *> for buf; use
3115 `convert_bufbyte_string_into_charc_dynarr' instead of
3116 `convert_bufbyte_string_into_emchar_dynarr'; use
3117 `find_charsets_in_charc_string' instead of
3118 `find_charsets_in_emchar_string'.
3121 - Include "character.h".
3122 (struct rune): New member `cglyph'; delete member `chr'.
3124 * redisplay.c (redisplay_text_width_charc_string): New function;
3125 delete `redisplay_text_width_emchar_string'.
3126 (rtw_charc_dynarr): New variable; renamed from
3127 `rtw_emchar_dynarr'.
3128 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
3129 `rtw_emchar_dynarr'; use
3130 `convert_bufbyte_string_into_charc_dynarr' instead of
3131 `convert_bufbyte_string_into_emchar_dynarr'; use
3132 `redisplay_text_width_charc_string' instead of
3133 `redisplay_text_width_emchar_string'.
3134 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
3135 instead of `rtw_emchar_dynarr'; use
3136 `convert_bufbyte_string_into_charc_dynarr' instead of
3137 `convert_bufbyte_string_into_emchar_dynarr'.
3138 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
3139 `redisplay_text_width_charc_string' instead of
3140 `redisplay_text_width_emchar_string'.
3141 (create_text_block): Modify for <struct rune> change.
3142 (generate_formatted_string_db): Likewise.
3143 (create_string_text_block): Likewise.
3144 (pixel_to_glyph_translation): Likewise.
3146 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
3147 instead of <const Emchar *>.
3148 (x_text_width): Likewise.
3149 (x_output_display_block): Use <Charc_dynarr *> instead
3150 <Emchar_dynarr *>; modify for <structure rune> change.
3151 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
3154 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
3155 <const Emchar *>; use `charc_string_displayed_columns' instead of
3156 `emchar_string_displayed_columns'.
3157 (tty_output_display_block): Use <Charc_dynarr *> instead of
3158 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
3159 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
3160 (tty_output_charc_dynarr_dynarr): New variable; renamed from
3161 `tty_output_emchar_dynarr_dynarr'.
3162 (tty_output_charc_dynarr): New function; delete
3163 `tty_output_charc_dynarr'.
3165 * redisplay-output.c (compare_runes): Modify for `struct rune'.
3166 (redisplay_output_layout): Use <Charc_dynarr *> instead of
3167 <Emchar_dynarr *> for buf; use
3168 `convert_bufbyte_string_into_charc_dynarr' instead of
3169 `convert_bufbyte_string_into_emchar_dynarr'.
3171 * frame.c (title_string_charc_dynarr): New variable; renamed from
3172 `title_string_emchar_dynarr'.
3173 (generate_title_string): Use `title_string_charc_dynarr' instead
3174 of `title_string_emchar_dynarr'; use
3175 `convert_charc_string_into_malloced_string' instead of
3176 `convert_emchar_string_into_malloced_string'.
3177 (init_frame): Use `title_string_charc_dynarr' instead of
3178 `title_string_emchar_dynarr'.
3181 - Include "character.h".
3182 (struct console_methods): Use <const Charc *> instead of <const
3183 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
3184 <Emchar_dynarr *> in output_string_method.
3186 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
3189 * console-stream.c (stream_text_width): Use <const Charc *>
3190 instead of <const Emchar *>.
3192 * character.h (Charc_dynarr): New type.
3194 * char-ucs.h (structure Charc): New structure; define new type
3197 * char-lb.h (DECODE_CHAR): New inline function.
3198 (encode_char_1): New inline function.
3199 (ENCODE_CHAR): New macro.
3200 (structure Charc): New structure; define new type `Charc'.
3202 * char-1byte.h (Vcharset_control_1): New macro.
3203 (Vcharset_latin_iso8859_1): New macro.
3204 (DECODE_CHAR): New inline function.
3205 (encode_char_1): New inline function.
3206 (ENCODE_CHAR): New macro.
3207 (structure Charc): New structure; define new type `Charc'.
3209 * insdel.c (find_charsets_in_charc_string): New function; delete
3210 `find_charsets_in_emchar_string'.
3211 (charc_string_displayed_columns): New function; delete
3212 `emchar_string_displayed_columns'.
3213 (convert_bufbyte_string_into_charc_dynarr): New function; delete
3214 `convert_bufbyte_string_into_emchar_dynarr'.
3215 (convert_charc_string_into_bufbyte_dynarr): New function; delete
3216 `convert_charc_string_into_bufbyte_dynarr'.
3217 (convert_charc_string_into_malloced_string): New function; delete
3218 `convert_charc_string_into_malloced_string'.
3220 * buffer.h (find_charsets_in_charc_string): New prototype; delete
3221 `find_charsets_in_emchar_string'.
3222 (charc_string_displayed_columns): New prototype; delete
3223 `emchar_string_displayed_columns'.
3224 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
3225 `convert_charc_string_into_bufbyte_dynarr'.
3226 (convert_charc_string_into_malloced_string): New prototype; delete
3227 `convert_charc_string_into_malloced_string'.
3229 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3231 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
3233 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3235 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
3237 * char-ucs.h: Use <short> for <Charset_ID>.
3239 * mule-charset.h, char-1byte.h: Use <unsigned char> for
3242 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3244 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3247 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3249 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
3251 (Qmorohashi_daikanwa): New variable.
3252 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
3253 for `morohashi-daikanwa' attribute.
3254 (Fget_char_attribute): Likewise.
3255 (Fput_char_attribute): Likewise.
3256 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
3257 has the same value of `ideograph-daikanwa'.
3258 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
3259 (vars_of_mule_charset): Setup
3260 `Vcharacter_morohashi_daikanwa_table'.
3262 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3264 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
3266 (add_charset_to_list_mapper): Add `key' instead of
3267 `XCHARSET_NAME (value)' to return aliases.
3269 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3271 * mule-charset.c (Vcharacter_ideographic_radical_table): New
3273 (Vcharacter_ideographic_strokes_table): New variable.
3274 (Qideographic_radical): New variable.
3275 (Qideographic_strokes): New variable.
3276 (Fchar_attribute_alist): Use
3277 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
3278 attribute; use `Vcharacter_ideographic_strokes_table' for
3279 `ideographic-strokes' attribute.
3280 (Fget_char_attribute): Likewise.
3281 (Fput_char_attribute): Likewise.
3282 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
3283 `ideographic-strokes'.
3284 (vars_of_mule_charset): Setup
3285 `Vcharacter_ideographic_radical_table' and
3286 `Vcharacter_ideographic_strokes_table'.
3288 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3290 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
3291 (Qtotal_strokes): New variable.
3292 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
3293 `total-strokes' attribute.
3294 (Fget_char_attribute): Likewise.
3295 (Fput_char_attribute): Likewise.
3296 (syms_of_mule_charset): Add new symbol `total-strokes'.
3297 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
3299 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3301 * mule-charset.c (Vcharacter_decomposition_table): New variable.
3302 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
3304 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
3305 `->decomposition' attribute.
3306 (Fput_char_attribute): Likewise.
3307 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
3309 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3311 * mule-charset.c (decoding_table_check_elements): New function.
3312 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
3314 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3316 * mule-charset.c (Fset_charset_mapping_table): Use
3317 `put_char_ccs_code_point'.
3319 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3321 * mule-charset.c (decoding_table_put_char): New inline function.
3322 (put_char_ccs_code_point): Use `decoding_table_put_char'.
3324 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3326 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
3327 (XCHARSET_BYTE_SIZE): New macro.
3328 (decoding_table_remove_char): New inline function.
3329 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
3330 `decoding_table_remove_char'.
3331 (remove_char_ccs): Use `decoding_table_remove_char'.
3332 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
3334 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3336 * mule-charset.c (Vcharacter_name_table): New variable.
3337 (Qname): New variable.
3338 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
3340 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
3341 `Vcharacter_name_table' for `name' attribute.
3342 (Fremove_char_attribute): Use function `remove_char_ccs'.
3343 (put_char_ccs_code_point): New function.
3344 (remove_char_ccs): New function.
3345 (syms_of_mule_charset): Add new symbol `name'.
3346 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
3348 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3350 * mule-charset.c (make_byte_table): Add new argument `older'.
3351 (make_char_id_table): Likewise.
3352 (copy_char_id_table): Comment out because it is not used.
3353 (put_char_id_table): Modify for `make_byte_table'.
3354 (Fput_char_attribute): Make encoding_table as older object;
3355 inherit older bit of `Vcharacter_composition_table'.
3356 (mark_charset): Don't mark `cs->encoding_table'.
3357 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
3358 normal object; make `Vcharacter_composition_table' as an older
3359 object; delete staticpro for `Vcharacter_composition_table'; make
3360 `Vcharacter_variant_table' as a normal object.
3362 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
3363 (mark_object): Don't check older object in UTF-2000.
3365 * lrecord.h (struct lrecord_header): Add new member `older' in
3367 (set_lheader_implementation): Setup `SLI_header->older' in
3369 (set_lheader_older_implementation): New macro in UTF-2000.
3370 (OLDER_RECORD_P): New macro in UTF-2000.
3371 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
3372 (alloc_older_lcrecord): New prototype in UTF-2000.
3373 (alloc_older_lcrecord_type): New macro in UTF-2000.
3375 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3377 * mule-charset.c (byte_table_description): Use
3378 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
3379 (char_id_table_description): Delete bogus `, 1'.
3380 (Fget_char_attribute): Refer encoding_table of each coded-charset
3381 to get value of coded-charset attribute of a character.
3382 (Fput_char_attribute): Use `make_older_vector' instead of
3383 `make_vector'; use encoding_table of each coded-charset to store
3384 value of coded-charset attribute of a character.
3385 (Fremove_char_attribute): Use encoding_table of each coded-charset
3386 to store value of coded-charset attribute of a character.
3387 (mark_charset): Mark `cs->encoding_table'; don't mark
3388 `cs->decoding_table'.
3389 (charset_description): Add description of new member
3391 (make_charset): Initialize `encoding_table'.
3393 * char-ucs.h (struct Lisp_Charset): Add new member
3395 (CHARSET_ENCODING_TABLE): New macro.
3396 (XCHARSET_ENCODING_TABLE): New macro.
3397 (charset_code_point): New implementation.
3398 (encode_char_1): Likewise.
3400 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
3401 (disksave_object_finalization_1): Call finalizers of
3402 `all_older_lcrecords' in UTF-2000.
3403 (make_older_vector): New function in UTF-2000.
3404 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
3407 * lisp.h (make_older_vector): New prototype in UTF-2000.
3409 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3411 * lrecord.h (enum lrecord_type): Rename
3412 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
3414 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
3415 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
3416 `get_char_code_table'.
3418 * mule-charset.c (mark_char_id_table): Renamed from
3419 `mark_char_code_table'.
3420 (char_id_table_equal): Renamed from `char_code_table_equal'.
3421 (char_id_table_hash): Renamed from `char_code_table_hash'.
3422 (make_char_id_table): Renamed from `make_char_code_table'.
3423 (copy_char_id_table): Renamed from `copy_char_code_table'.
3424 (get_char_id_table): Renamed from `get_char_code_table'.
3425 (put_char_id_table): Renamed from `put_char_code_table'.
3426 (to_char_id): Renamed from `to_char_code'.
3428 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
3429 `Lisp_Char_Code_Table'.
3430 (char_id_table): Renamed from `char_code_table'.
3431 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
3432 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
3433 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
3434 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
3435 (get_char_id_table): Renamed from `get_char_code_table'.
3437 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3439 * lrecord.h (enum lrecord_type): Rename
3440 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
3442 * mule-charset.c (mark_byte_table): Renamed from
3443 `mark_char_byte_table'.
3444 (byte_table_equal): Renamed from `char_byte_table_equal'.
3445 (byte_table_hash): Renamed from `byte_table_hash'.
3446 (make_byte_table): Renamed from `make_byte_table'.
3447 (copy_byte_table): Renamed from `copy_char_byte_table'.
3449 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
3450 `Lisp_Char_Byte_Table'.
3451 (byte_table): Renamed from `char_byte_table'.
3452 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
3453 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
3454 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
3455 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
3457 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3459 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
3460 (dfc_convert_to_internal_format): Likewise.
3462 * text-coding.c (Fcoding_system_canonical_name_p): New function.
3463 * text-coding.c (Fcoding_system_alias_p): New function.
3464 * text-coding.c (Fcoding_system_aliasee): New function.
3465 * text-coding.c (append_suffix_to_symbol): New function.
3466 * text-coding.c (dangling_coding_system_alias_p): New function.
3467 * text-coding.c (Ffind_coding_system):
3468 * text-coding.c (Fcopy_coding_system):
3469 * text-coding.c (encode_coding_no_conversion):
3470 * text-coding.c (syms_of_file_coding):
3471 * text-coding.c (vars_of_file_coding):
3472 Rewrite coding system alias code.
3473 Allow nested aliases, like symbolic links.
3474 Allow redefinition of coding system aliases.
3475 Prevent existence of dangling coding system aliases.
3476 Eliminate convert_to_external_format.
3477 Eliminate convert_to_internal_format.
3479 * text-coding.c: Change enum eol_type to eol_type_t.
3481 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3483 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
3484 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3486 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
3487 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3489 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3491 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
3492 `ideograph-daikanwa'.
3494 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
3495 (Vcharset_ucs_bmp): Likewise.
3496 (Vcharset_mojikyo): Add new extern variable definition.
3497 (Vcharset_latin_iso8859_2): Deleted because it is not used.
3498 (Vcharset_latin_iso8859_3): Likewise.
3499 (Vcharset_latin_iso8859_4): Likewise.
3500 (Vcharset_latin_iso8859_9): Likewise.
3501 (Vcharset_latin_viscii_lower): Likewise.
3502 (Vcharset_latin_viscii_upper): Likewise.
3503 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
3504 `mojikyo' code-point is used to decode.
3505 (encode_char_2): New function [to convert `mojikyo' code-point to
3506 Mojikyo font encoding].
3507 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
3508 (breakup_char_1): Likewise.
3509 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
3511 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3513 * text-coding.c (Fmake_coding_system): Add document about
3514 `disable-composition' property.
3516 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3518 * text-coding.c (Qdisable_composition): New variable; delete
3520 (Fmake_coding_system): Add new property `disable-composite';
3521 delete property `composite'.
3522 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
3523 instead of `!CODING_SYSTEM_COMPOSITE'.
3524 (syms_of_file_coding): Add new symbol `disable-composition';
3525 delete symbol `composite'.
3527 * file-coding.h (struct Lisp_Coding_System): Add
3528 `disable_composition'; delete `enable_composition'.
3529 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3530 `CODING_SYSTEM_COMPOSITE'.
3531 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3532 `XCODING_SYSTEM_COMPOSITE'.
3534 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3536 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3539 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3541 * text-coding.c (Qcomposite): New variable.
3542 (Fmake_coding_system): Add new property `composite'.
3543 (struct decoding_stream): Add `combined_char_count',
3544 `combined_chars' and `combining_table' in UTF-2000.
3545 (COMPOSE_FLUSH_CHARS): New macro.
3546 (COMPOSE_ADD_CHAR): New macro.
3547 (reset_decoding_stream): Reset `str->combined_char_count' and
3548 `str->combining_table' in UTF-2000.
3549 (decode_coding_iso2022): Modify for character-decomposition.
3550 (syms_of_file_coding): Add new symbol `composite'.
3552 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3554 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
3555 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
3556 of `Vcharacter_composition_table' if `->decomposition' property
3558 (Qlatin_tcvn5712): New variable.
3559 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
3560 (complex_vars_of_mule_charset): Add new coded-charset
3563 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
3565 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3567 * file-coding.h (struct Lisp_Coding_System): Add
3568 `enable_composition'.
3569 (CODING_SYSTEM_COMPOSITE): New macro.
3570 (XCODING_SYSTEM_COMPOSITE): New macro.
3572 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
3574 * mule-canna.c (c2mu): Fix problem with UTF-2000.
3576 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
3578 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
3579 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
3581 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
3583 * mule-charset.c (Vcharset_mojikyo): New variable.
3584 (Fdefine_char): Don't use coded-charset which does not have
3585 non-builtin character range to allocate character-id.
3586 (Qmojikyo): New variable.
3587 (syms_of_mule_charset): Add new symbol `mojikyo'.
3588 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
3590 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
3591 (LEADING_BYTE_MOJIKYO): New macro.
3592 (MIN_CHAR_MOJIKYO): New macro.
3593 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
3594 (MAX_CHAR_MOJIKYO): New macro.
3596 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
3598 * mule-charset.c (remove_char_attribute): Fixed.
3600 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
3602 * mule-charset.c (remove_char_attribute): New function.
3603 (Fremove_char_attribute): New function.
3604 (encode_builtin_char_1): Comment out builtin-support for
3605 greek-iso8859-7 and cyrillic-iso8859-5.
3606 (Fdecode_char): Check `code' is an integer.
3607 (syms_of_mule_charset): Add `remove-char-attribute'.
3608 (MIN_CHAR_GREEK): Deleted.
3609 (MAX_CHAR_GREEK): Likewise.
3610 (MIN_CHAR_CYRILLIC): Likewise.
3611 (MAX_CHAR_CYRILLIC): Likewise.
3612 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
3613 MAX_CHAR_GREEK for `greek-iso8859-7'.
3615 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
3616 (MAX_CHAR_GREEK): Likewise.
3617 (MIN_CHAR_CYRILLIC): Likewise.
3618 (MAX_CHAR_CYRILLIC): Likewise.
3620 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
3622 * mule-charset.c (Fdefine_char): Fix problem when new code-point
3623 format is used without `ucs' property.
3624 (Fdecode_char): Fix problem with GR representation.
3625 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
3626 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
3628 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3630 * mule-charset.c (make_builtin_char): New function.
3631 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
3632 (Fset_charset_mapping_table): Modify for new representation of
3634 (Fdecode_char): New function.
3635 (syms_of_mule_charset): Add new builtin function `decode-char' in
3638 * char-ucs.h (make_builtin_char): New prototype.
3639 (DECODE_CHAR): New inline function.
3640 (MAKE_CHAR): Use `DECODE_CHAR'.
3642 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
3644 * text-coding.c (parse_charset_conversion_specs): Use
3645 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
3647 (iso2022_designate): Likewise.
3649 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
3650 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
3652 * mule-charset.c (Vcharset_ucs): New variable.
3653 (print_charset): Change design; use `CHARSET_CHARS' and
3654 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
3655 (make_charset): Change signature to specify `chars' and
3656 `dimension' instead of `type'.
3657 (range_charset_code_point): Modify for 256^n-set.
3658 (encode_builtin_char_1): Encode as `ucs' in default.
3659 (Fmake_charset): Modify for `make_charset'.
3660 (Fmake_reverse_direction_charset): Likewise.
3661 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
3663 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
3666 * char-ucs.h (Vcharset_ucs): New variable.
3667 (LEADING_BYTE_UCS): New macro.
3668 (struct Lisp_Charset): Delete `type'; change type of `dimension'
3669 and `chars' to `unsigned short' from `unsigned int'.
3670 (CHARSET_TYPE): Deleted.
3671 (XCHARSET_TYPE): Deleted.
3673 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
3675 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
3677 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
3678 (ENCODE_CHAR): New macro.
3680 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3682 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3683 to 0.14 (Kawachi-Katakami).
3685 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3687 * text-coding.c (char_encode_shift_jis): Modify for
3688 `charset_code_point'.
3689 (char_encode_iso2022): Likewise.
3691 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
3692 (integer) instead of list of <Lisp_Object>s (integers) as the
3693 format of code-point of a coded-charset.
3694 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3695 (encode_builtin_char_1): New function; delete
3696 `split_builtin_char'.
3697 (charset_code_point): Return <int> instead of <Lisp_Object>.
3698 (Fsplit_char): Don't use `SPLIT_CHAR'.
3700 * char-ucs.h (encode_builtin_char_1): New prototype; delete
3701 prototype for `split_builtin_char'.
3702 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3703 (charset_code_point): Likewise.
3704 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
3705 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
3707 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
3709 * mule-charset.c (complex_vars_of_mule_charset): Don't define
3710 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
3712 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3714 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
3716 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
3717 (MAX_CHAR_OBS_94x94): Deleted.
3719 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3721 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
3723 * char-ucs.h (MAX_CHAR_BMP): New macro.
3725 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3727 * text-coding.c: Sync with r21-2-24.
3729 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3731 * file-coding.c: Modify for UTF-2000.
3733 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3735 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3738 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3740 * mule-charset.c (split_builtin_char): Delete builtin support for
3741 `katakana-jisx0201'.
3742 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
3743 BMP area in builtin representation.
3745 * char-ucs.h (MAKE_CHAR): Delete builtin support for
3746 `Vcharset_katakana_jisx0201'.
3748 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
3750 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
3751 (Qisolated): New variable.
3752 (Qinitial): New variable.
3753 (Qmedial): New variable.
3754 (Qfinal): New variable.
3755 (Qvertical): New variable.
3756 (Qsmall): New variable.
3757 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
3758 `Qvertical' and `Qsmall'.
3759 (Qmojikyo_pj_[1 .. 21]): New variable.
3760 (syms_of_mule_charset): Add new symbols `isolated', `initial',
3761 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
3762 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
3765 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3767 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
3768 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
3769 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
3771 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3773 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
3774 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
3776 (Qjapanese_jisx0208_1990): New variable.
3777 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
3778 (complex_vars_of_mule_charset): Add new coded-charset
3779 `japanese-jisx0208-1990'.
3781 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
3782 (MIN_CHAR_JIS_X0208_1990): New macro.
3783 (MAX_CHAR_JIS_X0208_1990): New macro.
3785 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3787 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
3788 coded-charset is not found.
3790 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3792 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
3793 (Fdefine_char): Use `Fmake_char'.
3795 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3797 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
3798 (Vcharset_hiragana_jisx0208): Deleted.
3799 (Vcharset_katakana_jisx0208): Deleted.
3800 (Qideograph_daikanwa): New variable.
3801 (Qhiragana_jisx0208): Deleted.
3802 (Qkatakana_jisx0208): Deleted.
3803 (split_builtin_char): Split `ideograph-daikanwa'.
3804 (Fsplit_char): New implementation for UTF-2000.
3805 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
3806 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
3807 (complex_vars_of_mule_charset): Add new coded-charset
3808 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
3809 `katakana-jisx0208'.
3811 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
3812 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
3813 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
3814 (MIN_CHAR_DAIKANWA): New macro.
3815 (MAX_CHAR_DAIKANWA): New macro.
3817 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3819 * data.c (Fstring_to_number): Don't recognize floating point if
3822 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3824 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
3826 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3828 * mule-charset.c (Qsquare): New variable.
3829 (to_char_code): Add `Qsquare'.
3830 (syms_of_mule_charset): Add new symbol `square'.
3832 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3834 * mule-charset.c (Qcircle): New variable.
3835 (to_char_code): Add `Qcircle'.
3836 (syms_of_mule_charset): Add new symbol `circle'.
3838 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3840 * mule-charset.c (Qfont): New variable.
3841 (to_char_code): Add `Qfont'.
3842 (syms_of_mule_charset): Add new symbol `font'.
3844 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3846 * mule-charset.c (Qsub): New variable.
3847 (to_char_code): Add `Qsub'.
3848 (syms_of_mule_charset): Add new symbol `sub'.
3850 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3852 * mule-charset.c (Fput_char_attribute): Convert each element of
3853 VALUE to GL position if ATTRIBUTE is a GR-set,
3855 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3857 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
3858 coded-charset is a GR-set.
3860 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3862 * mule-charset.c (Fput_char_attribute): Check each element of
3863 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
3865 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3867 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
3869 (Qethiopic_ucs): New variable in UTF-2000.
3870 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
3871 (complex_vars_of_mule_charset): Add new coded-charset
3872 `ethiopic-ucs' in UTF-2000.
3874 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
3875 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
3877 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
3879 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
3881 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3883 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
3886 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3888 * mule-charset.c (Vcharacter_variant_table): New variable.
3889 (Q_ucs): New variable.
3890 (Fchar_variants): New function.
3891 (Fput_char_attribute): Register `->ucs' value to
3892 `Vcharacter_variant_table'.
3893 (syms_of_mule_charset): Add new function `char-variants' and new
3895 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
3897 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3899 * mule-charset.c (get_char_code_table): Allow negative character
3901 (put_char_code_table): Likewise.
3902 (Vcharacter_composition_table): New variable.
3903 (Q_decomposition): New variable.
3904 (Qwide): New variable.
3905 (Qnarrow): New variable.
3906 (Qcompat): New variable.
3907 (QnoBreak): New variable.
3908 (Qsuper): New variable.
3909 (Qfraction): New variable.
3910 (to_char_code): New function.
3911 (Fget_composite_char): New function.
3912 (Fput_char_attribute): Register `->decomposition' value to
3913 `Vcharacter_composition_table'.
3914 (syms_of_mule_charset): Add new function `get-composite-char', new
3915 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
3916 `super' and `fraction'.
3917 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
3919 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3921 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
3922 character; copy the return value.
3924 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3926 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
3928 * mule-charset.c (range_charset_code_point): Must use make_int.
3929 (split_builtin_char): New function.
3931 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3933 * mule-charset.c (char_byte_table): Change name from
3934 "char-code-table" to "char-byte-table".
3935 (mark_char_code_table): New function.
3936 (char_code_table_equal): New function.
3937 (char_code_table_hash): New function.
3938 (char_code_table_description): New constant.
3939 (char_code_table): New type.
3940 (make_char_code_table): New function.
3941 (copy_char_code_table): New function.
3942 (get_char_code_table): Modify for `char_code_table' type.
3943 (put_char_code_table): Likewise.
3944 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
3947 * char-ucs.h (char_code_table): New type.
3948 (XCHAR_CODE_TABLE): New macro.
3949 (XSETCHAR_CODE_TABLE): New macro.
3950 (CHAR_CODE_TABLE_P): New macro.
3951 (GC_CHAR_CODE_TABLE_P): New macro.
3952 (struct Lisp_Char_Code_Table): New structure.
3954 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3956 * mule-charset.c (Fmake_charset): Setup byte_offset for
3959 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
3961 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
3964 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3966 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
3969 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3971 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
3972 charset, it is regarded as a charset.
3973 (put_char_attribute): New function in UTF-2000.
3974 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
3975 charset, mapping-table of the charset is modified.
3976 (Fdefine_char): New function in UTF-2000.
3977 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
3978 `Fput_char_attribute'.
3979 (syms_of_mule_charset): Add new function `define-char' and new
3980 symbol `ucs' in UTF-2000.
3981 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
3983 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3985 * mule-charset.c (Fcharset_name): Define `byte_offset' in
3986 non-UTF-2000 configuration.
3988 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3990 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
3991 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
3993 * mule-charset.c (mark_charset): `cs->encoding_table' has been
3995 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
3996 (Fset_charset_mapping_table): Likewise.
3998 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
3999 (CHARSET_ENCODING_TABLE): Delete.
4000 (XCHARSET_ENCODING_TABLE): Delete.
4001 (charset_code_point): New interface.
4003 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4005 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
4006 instead of `charset_get_byte1' and `charset_get_byte2'.
4008 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
4009 (charset_get_byte2): Deleted.
4011 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4013 * char-ucs.h (SPLIT_CHAR): New inline function.
4014 (breakup_char_1): Use `SPLIT_CHAR'.
4016 * mule-charset.c (range_charset_code_point): New function.
4017 (charset_code_point): New function.
4019 * char-ucs.h (range_charset_code_point): New interface.
4020 (breakup_char_1): Use `range_charset_code_point'.
4022 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4024 * mule-charset.c (Fmake_charset): Delete unused local variable
4027 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
4028 (breakup_char_1): Find a charset and code-point in
4029 `Vcharacter_attribute_table'.
4031 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4033 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4036 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4038 * mule-charset.c (Vcharacter_attribute_table): New variable.
4039 (Fchar_attribute_alist): New function.
4040 (Fget_char_attribute): New function.
4041 (Fput_char_attribute): New function.
4042 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
4044 (syms_of_mule_charset): Add new function `char-attribute-alist',
4045 `get-char-attribute' and `put-char-attribute'.
4046 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
4048 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
4050 * mule-charset.c (Fmake_charset): Just use
4051 `get_unallocated_leading_byte'.
4053 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
4054 sets; don't use final-byte based number for private sets.
4056 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4058 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
4061 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4063 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4066 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4068 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
4069 of `CHAR_LEADING_BYTE' in UTF-2000.
4071 * insdel.c (find_charsets_in_bufbyte_string): Use
4072 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4073 (find_charsets_in_emchar_string): Likewise.
4075 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
4076 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4078 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
4079 (CHAR_CHARSET_ID): New macro.
4081 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4083 * chartab.c (get_char_table): Don't use type `Charset_ID' for
4084 charset-id - MIN_LEADING_BYTE.
4085 (put_char_table): Likewise.
4087 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4089 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
4090 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
4091 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
4092 (CHARSET_ID_OFFSET): New macro.
4093 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
4094 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
4095 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
4096 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4098 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4100 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
4101 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
4102 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
4103 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
4104 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
4106 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4108 * mule-charset.c (next_allocated_leading_byte): New variable in
4110 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
4111 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
4112 (get_unallocated_leading_byte): Simply use
4113 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
4114 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
4117 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
4118 (MAX_LEADING_BYTE_PRIVATE): New macro.
4119 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
4120 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
4122 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4124 * mule-charset.c (Fmake_charset): Allocate final-byte based
4125 charset-id for 94-set, 96-set and 94x94-set.
4127 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4129 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
4131 (Fmake_charset): Likewise.
4132 (complex_vars_of_mule_charset): Modify the font registry of
4133 `ucs-bmp' not to match `Ethiopic-Unicode'.
4135 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4137 * mule-charset.c (complex_vars_of_mule_charset): Add font
4138 registory of `ucs-bmp'.
4140 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4142 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
4143 coded-charsets in `default-coded-charset-priority-list' when
4144 breaking up a character.
4146 * mule-charset.c (Vcharset_latin_viscii): New variable.
4147 (Qlatin_viscii): New variable.
4148 (make_charset): Don't use `decoding_table'.
4149 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
4151 (Fset_charset_mapping_table): New implementation.
4152 (syms_of_mule_charset): Add new symbol `latin-viscii'.
4153 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
4154 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
4155 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
4156 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
4157 charset `latin_viscii'.
4159 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
4160 (CHARSET_TYPE_94X94): Change to 1 from 2.
4161 (CHARSET_TYPE_96): Change to 2 from 1.
4162 (CHARSET_TYPE_128): New macro.
4163 (CHARSET_TYPE_128X128): Change to 5 from 4.
4164 (CHARSET_TYPE_256): New macro.
4165 (CHARSET_TYPE_256X256): Change to 7 from 5.
4166 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
4168 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4170 * text-coding.c (char_encode_shift_jis): Refer
4171 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
4172 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
4174 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
4175 (char_byte_table_equal): New function in UTF-2000.
4176 (char_byte_table_hash): New function in UTF-2000.
4177 (char_byte_table_description): New constant in UTF-2000.
4178 (char_byte_table): New type in UTF-2000.
4179 (make_char_byte_table): New function in UTF-2000.
4180 (copy_char_byte_table): New function in UTF-2000.
4181 (make_char_code_table): New macro in UTF-2000.
4182 (get_char_code_table): New function in UTF-2000.
4183 (put_char_code_table): New function in UTF-2000.
4184 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
4185 (charset_description): Add setting in UTF-2000.
4186 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
4187 `CHARSET_TO_BYTE1_TABLE(cs)'.
4188 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
4189 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
4190 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
4191 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
4192 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
4193 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
4194 `CHARSET_TO_BYTE2_TABLE(cs)'.
4196 * char-ucs.h (char_byte_table): New type.
4197 (XCHAR_BYTE_TABLE): New macro.
4198 (XSETCHAR_BYTE_TABLE): New macro.
4199 (CHAR_BYTE_TABLE_P): New macro.
4200 (GC_CHAR_BYTE_TABLE_P): New macro.
4201 (struct Lisp_Char_Byte_Table): New structure.
4202 (get_char_code_table): New interface.
4203 (Emchar_to_byte_table): Deleted.
4204 (get_byte_from_character_table): Deleted.
4205 (struct Lisp_Charset): Add `encoding_table'; delete
4206 `to_byte1_table' and `to_byte2_table'.
4207 (CHARSET_ENCODING_TABLE): New macro.
4208 (CHARSET_TO_BYTE1_TABLE): Deleted.
4209 (CHARSET_TO_BYTE2_TABLE): Deleted.
4210 (XCHARSET_ENCODING_TABLE): New macro.
4211 (XCHARSET_TO_BYTE1_TABLE): Deleted.
4212 (XCHARSET_TO_BYTE2_TABLE): Deleted.
4214 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4216 * mule-charset.c (syms_of_mule_charset): Delete charset alias
4217 `vietnamese-viscii-*'.
4219 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4221 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
4222 (Qvietnamese_viscii_upper): New variable.
4223 (Fdefine_charset_alias): New function.
4224 (syms_of_mule_charset): Add new function `define-charset-alias'.
4225 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
4226 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
4229 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
4231 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
4232 (MAX_CHAR_OBS_94x94): New macro.
4233 (breakup_char_1): Support obsolete XEmacs-UCS private code space
4236 * mule-charset.c (put_byte_from_character_table): Change unit size
4238 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
4240 (Fmake_reverse_direction_charset): Modify dummy argument of
4241 `make_charset' for non-UTF-2000 environment.
4243 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4245 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
4247 * mule-charset.c (destroy_byte_from_character_table): New macro.
4248 (latin_jisx0201_to_ucs): Deleted.
4249 (latin_iso8859_2_to_ucs): Deleted.
4250 (latin_iso8859_3_to_ucs): Deleted.
4251 (latin_iso8859_4_to_ucs): Deleted.
4252 (latin_iso8859_9_to_ucs): Deleted.
4253 (latin_viscii_lower_to_ucs): Deleted.
4254 (latin_viscii_upper_to_ucs): Deleted.
4255 (mark_charset): Mark `cs->decoding_table'.
4256 (Fcharset_mapping_table): Fix DOC-string.
4257 (Fset_charset_mapping_table): New function.
4258 (syms_of_mule_charset): Add nwe function
4259 `set-charset-mapping-table'.
4260 (complex_vars_of_mule_charset): Don't setup and use
4263 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
4265 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
4268 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
4270 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
4271 (Vcharset_katakana_jisx0208): New variable.
4272 (Qhiragana_jisx0208): New variable.
4273 (Qkatakana_jisx0208): New variable.
4274 (make_charset): Add new argument `byte_offset'.
4275 (charset_get_byte1): Modify for new coded-charset definition; use
4276 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4277 `XCHARSET_BYTE_OFFSET'.
4278 (Fmake_charset): Modify for `make_charset'.
4279 (Fmake_reverse_direction_charset): Likewise.
4280 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
4281 `katakana-jisx0208'.
4282 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
4283 `.' in font registry of charset `katakana-jisx0201',
4284 `latin-jisx0201', `vietnamese-viscii-lower' and
4285 `vietnamese-viscii-upper'; modify DOC-string of charset
4286 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
4287 registry of charset `japanese-jisx0208' not to use font for JIS
4288 X0208:1990; add new charset `hiragana-jisx0208' and
4289 `katakana-jisx0208'.
4291 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
4292 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
4293 (struct Lisp_Charset): Add `byte_offset'.
4294 (CHARSET_BYTE_OFFSET): New macro.
4295 (XCHARSET_UCS_MIN): New macro.
4296 (XCHARSET_UCS_MAX): New macro.
4297 (XCHARSET_CODE_OFFSET): New macro.
4298 (XCHARSET_BYTE_OFFSET): New macro.
4299 (MIN_CHAR_HIRAGANA): New macro.
4300 (MAX_CHAR_HIRAGANA): New macro.
4301 (MIN_CHAR_KATAKANA): New macro.
4302 (MAX_CHAR_KATAKANA): New macro.
4303 (MAKE_CHAR): Modify for new coded-charset definition; use
4304 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4305 `XCHARSET_BYTE_OFFSET'.
4307 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4309 * mule-charset.c (CHAR96): Deleted.
4310 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
4312 (latin_iso8859_2_to_ucs): Likewise.
4313 (latin_iso8859_3_to_ucs): Likewise.
4314 (latin_iso8859_4_to_ucs): Likewise.
4315 (latin_iso8859_9_to_ucs): Likewise.
4316 (latin_viscii_lower_to_ucs): Likewise.
4317 (latin_viscii_upper_to_ucs): Likewise.
4318 (latin_tcvn5712_to_ucs): Commented out.
4319 (make_charset): Change type of argument `decoding_table' from
4320 <Emchar*> to <Lisp_Object> [vector of characters].
4321 (Fmake_charset): Modify for `make_charset'.
4322 (Fmake_reverse_direction_charset): Likewise.
4323 (Fcharset_mapping_table): New function in UTF-2000.
4324 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
4326 (complex_vars_of_mule_charset): Modify for type change of
4327 `*_to_ucs'; modify for `make_charset'.
4329 * char-ucs.h (struct Lisp_Charset): Change type of
4330 `decoding_table' from <Emchar*> to <Lisp_Object>.
4331 (MAKE_CHAR): Modify for new specification of `decoding_table'.
4333 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4335 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
4336 error with non-UTF-2000-Mule.
4338 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
4340 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
4342 (Vcharset_chinese_cns11643_4): Likewise.
4343 (Vcharset_chinese_cns11643_5): Likewise.
4344 (Vcharset_chinese_cns11643_6): Likewise.
4345 (Vcharset_chinese_cns11643_7): Likewise.
4346 (Qchinese_cns11643_3): Likewise.
4347 (Qchinese_cns11643_4): Likewise.
4348 (Qchinese_cns11643_5): Likewise.
4349 (Qchinese_cns11643_6): Likewise.
4350 (Qchinese_cns11643_7): Likewise.
4351 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
4352 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4353 and `chinese-cns11643-7' to lisp/mule/chinese.el.
4354 (complex_vars_of_mule_charset): Likewise.
4356 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4358 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
4360 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
4361 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
4363 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4365 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
4367 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
4368 (breakup_char_1): Likewise.
4370 * text-coding.c (char_encode_iso2022): Keep designated charsets if
4371 one of them includes the specified character.
4373 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4375 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
4377 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4379 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
4381 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4383 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
4384 definition for non-UTF-2000 Mule.
4385 (latin_iso8859_3_to_ucs): Likewise.
4386 (latin_iso8859_4_to_ucs): Likewise.
4387 (latin_iso8859_9_to_ucs): Likewise.
4388 (latin_jisx0201_to_ucs): Likewise.
4389 (MIN_CHAR_THAI): Likewise.
4390 (MAX_CHAR_THAI): Likewise.
4391 (MIN_CHAR_GREEK): Likewise.
4392 (MAX_CHAR_GREEK): Likewise.
4393 (MIN_CHAR_HEBREW): Likewise.
4394 (MAX_CHAR_HEBREW): Likewise.
4395 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
4396 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
4397 (MIN_CHAR_CYRILLIC): Likewise.
4398 (MAX_CHAR_CYRILLIC): Likewise.
4400 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4402 * char-ucs.h (breakup_char_1): Use
4403 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
4404 thai-tis620 and katakana-jisx0201 area.
4406 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4408 * char-ucs.h (breakup_char_1): Use
4409 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
4412 * text-coding.c (reset_encoding_stream): Fixed.
4413 (char_encode_ucs4): Delete `& 255'.
4415 * char-ucs.h (breakup_char_1): Use
4416 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
4418 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4420 * file-coding.c (Fmake_coding_system): Don't set up
4421 `codesys->fixed.size'.
4422 (encode_coding_no_conversion): Don't refer
4423 `str->codesys->fixed.size'.
4425 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4427 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
4428 (latin_a_char_to_byte1): Deleted.
4429 (latin_a_char_to_byte2): Deleted.
4431 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4433 * mule-charset.c (make_charset): Add new argument `ucs_min',
4434 `ucs_max' and `code_offset'.
4435 (charset_get_byte1): New implementation [delete specific charset
4436 depended implementations].
4437 (Fmake_charset): Modify for `make_charset'.
4438 (Fmake_reverse_direction_charset): Likewise.
4439 (complex_vars_of_mule_charset): Likewise.
4441 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
4443 (CHARSET_UCS_MIN): New macro.
4444 (CHARSET_UCS_MAX): New macro.
4445 (CHARSET_CODE_OFFSET): New macro.
4446 (MAKE_CHAR): Delete charset depended definitions [except
4449 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4451 * char-ucs.h (breakup_char_1): Use
4452 `Vdefault_coded_charset_priority_list' for C0-Controls,
4453 Basic-Latin, C1-Controls and Latin-1-Supplement area.
4455 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4457 * char-ucs.h (charset_get_byte1): New function.
4458 (XCHARSET_GET_BYTE1): Deleted.
4459 (charset_get_byte2): New function.
4460 (XCHARSET_GET_BYTE2): Deleted.
4461 (Vdefault_coded_charset_priority_list): New external variable.
4462 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
4463 `Vdefault_preferred_coded_charset_list'.
4465 * mule-charset.c (charset_get_byte1): New function.
4466 (charset_get_byte2): New function.
4467 (Vdefault_coded_charset_priority_list): New variable.
4468 (vars_of_mule_charset): Add new variable
4469 `default-coded-charset-priority-list'.
4471 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4473 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
4474 (XCHARSET_GET_BYTE2): New inline function.
4475 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
4476 `XCHARSET_GET_BYTE2'.
4478 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4480 * mule-charset.c (make_charset): Initialize
4481 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
4482 NULL if table is not defined.
4484 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4486 * text-coding.c (char_encode_shift_jis): Use
4487 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
4488 `ucs_to_latin_jisx0201'.
4490 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
4491 (ucs_to_latin_iso8859_2): Deleted.
4492 (ucs_to_latin_iso8859_3): Deleted.
4493 (ucs_to_latin_iso8859_4): Deleted.
4494 (ucs_to_latin_iso8859_9): Deleted.
4495 (ucs_to_latin_viscii_lower): Deleted.
4496 (ucs_to_latin_viscii_upper): Deleted.
4497 (ucs_to_latin_tcvn5712): Deleted.
4498 (make_charset): Add new argument `decoding_table'; set up
4499 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
4500 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
4501 `decoding_table' is defined in UTF-2000.
4502 (Fmake_charset): Modify for `make_charset'.
4503 (Fmake_reverse_direction_charset): Likewise.
4504 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
4505 and `GENERATE_96_SET'.
4507 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
4508 (ucs_to_latin_jisx0201): Deleted.
4509 (latin_iso8859_2_to_ucs): Deleted.
4510 (ucs_to_latin_iso8859_2): Deleted.
4511 (latin_iso8859_3_to_ucs): Deleted.
4512 (ucs_to_latin_iso8859_3): Deleted.
4513 (latin_iso8859_4_to_ucs): Deleted.
4514 (ucs_to_latin_iso8859_4): Deleted.
4515 (latin_iso8859_9_to_ucs): Deleted.
4516 (ucs_to_latin_iso8859_9): Deleted.
4517 (latin_viscii_lower_to_ucs): Deleted.
4518 (ucs_to_latin_viscii_lower): Deleted.
4519 (latin_viscii_upper_to_ucs): Deleted.
4520 (ucs_to_latin_viscii_upper): Deleted.
4521 (struct Lisp_Charset): Renamed `encoding_table' to
4522 `to_byte1_table'; add `to_byte2_table'.
4523 (CHARSET_DECODING_TABLE): New macro.
4524 (CHARSET_TO_BYTE1_TABLE): New macro.
4525 (CHARSET_TO_BYTE2_TABLE): New macro.
4526 (XCHARSET_DECODING_TABLE): New macro.
4527 (XCHARSET_TO_BYTE1_TABLE): New macro.
4528 (XCHARSET_TO_BYTE2_TABLE): New macro.
4529 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
4531 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
4532 don't use `ucs_to_*' tables.
4534 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4536 * text-coding.c (Fmake_coding_system): Don't set up
4537 `codesys->fixed.size'.
4538 (encode_coding_no_conversion): Use `if' instead of `switch'.
4540 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
4542 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4544 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
4545 (Fmake_charset): Modify for `make_charset'.
4546 (Fmake_reverse_direction_charset): Likewise.
4547 (complex_vars_of_mule_charset): Likewise.
4549 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4551 * text-coding.c (char_encode_shift_jis): Use table
4552 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
4554 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4556 * text-coding.c (text_encode_generic): Use `if' instead of
4558 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
4561 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4563 * text-coding.c (encode_coding_sjis): Deleted.
4564 (char_encode_shift_jis): New function.
4565 (char_finish_shift_jis): New function.
4566 (reset_encoding_stream): Set up `encode_char' and `finish' for
4567 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
4568 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
4569 (char_encode_utf8): Treat `eol_type'.
4571 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4573 * file-coding.c (decode_coding_iso2022): Use
4574 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
4576 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4578 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4581 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4583 * char-lb.h (CHAR_COLUMNS): New macro.
4585 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4587 * text-coding.c (char_encode_ucs4): New function.
4588 (char_finish_ucs4): New function.
4589 (encode_coding_ucs4): Deleted.
4590 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
4591 (text_encode_generic): Delete local variable `charset' and `half'.
4592 (ucs_to_mule_table): Deleted.
4593 (mule_to_ucs_table): Deleted.
4594 (Fset_ucs_char): Deleted.
4595 (ucs_to_char): Deleted.
4596 (Fucs_char): Deleted.
4597 (Fset_char_ucs): Deleted.
4598 (Fchar_ucs): Deleted.
4599 (decode_ucs4): Deleted.
4600 (mule_char_to_ucs4): Deleted.
4601 (encode_ucs4): Deleted.
4602 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
4603 (decode_coding_utf8): Likewise.
4604 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
4605 (char_encode_iso2022): Fixed.
4606 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
4607 `Fset_char_ucs' and `Fchar_ucs'.
4608 (complex_vars_of_file_coding): Don't initialize
4609 `ucs_to_mule_table'.
4611 * objects-tty.c (tty_initialize_font_instance): Don't use
4614 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
4617 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
4618 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4620 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
4621 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4622 (emchar_string_displayed_columns): Likewise.
4624 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
4625 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4626 (string_column_at_point): Likewise.
4627 (Fmove_to_column): Likewise.
4629 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
4630 `encoding_table' and `decoding_table'.
4631 (CHARSET_REP_BYTES): Deleted.
4632 (XCHARSET_REP_BYTES): Deleted.
4633 (XCHARSET_COLUMNS): Deleted.
4634 (CHAR_COLUMNS): New macro.
4635 (lookup_composite_char): Deleted unconditionally.
4636 (composite_char_string): Likewise.
4638 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4640 * char-ucs.h (Emchar_to_byte_table): New type.
4641 (get_byte_from_character_table): New function interface.
4642 (Vcharset_latin_jisx0201): New variable.
4643 (latin_jisx0201_to_ucs): New variable.
4644 (ucs_to_latin_jisx0201): New variable.
4645 (Vcharset_latin_iso8859_2): New variable.
4646 (latin_iso8859_2_to_ucs): New variable.
4647 (ucs_to_latin_iso8859_2): New variable.
4648 (Vcharset_latin_iso8859_3): New variable.
4649 (latin_iso8859_3_to_ucs): New variable.
4650 (ucs_to_latin_iso8859_3): New variable.
4651 (Vcharset_latin_iso8859_4): New variable.
4652 (latin_iso8859_4_to_ucs): New variable.
4653 (ucs_to_latin_iso8859_4): New variable.
4654 (Vcharset_latin_iso8859_9): New variable.
4655 (latin_iso8859_9_to_ucs): New variable.
4656 (ucs_to_latin_iso8859_9): New variable.
4657 (Vcharset_latin_viscii_lower): New variable.
4658 (latin_viscii_lower_to_ucs): New variable.
4659 (ucs_to_latin_viscii_lower): New variable.
4660 (Vcharset_latin_viscii_upper): New variable.
4661 (latin_viscii_upper_to_ucs): New variable.
4662 (ucs_to_latin_viscii_upper): New variable.
4663 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
4664 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
4665 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
4666 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
4667 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
4668 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
4669 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
4670 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
4671 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
4672 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
4674 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
4675 (Vcharset_latin_viscii_upper): New variable.
4676 (make_byte_from_character_table): New function.
4677 (put_byte_from_character_table): New function.
4678 (get_byte_from_character_table): New function.
4679 (CHAR96): New macro.
4680 (ucs_to_latin_jisx0201): New variable.
4681 (latin_jisx0201_to_ucs): New variable.
4682 (ucs_to_latin_iso8859_2): New variable.
4683 (latin_iso8859_2_to_ucs): New variable.
4684 (ucs_to_latin_iso8859_3): New variable.
4685 (latin_iso8859_3_to_ucs): New variable.
4686 (ucs_to_latin_iso8859_4): New variable.
4687 (latin_iso8859_4_to_ucs): New variable.
4688 (ucs_to_latin_iso8859_9): New variable.
4689 (latin_iso8859_9_to_ucs): New variable.
4690 (ucs_to_latin_viscii_lower): New variable.
4691 (latin_viscii_lower_to_ucs): New variable.
4692 (ucs_to_latin_viscii_upper): New variable.
4693 (latin_viscii_upper_to_ucs): New variable.
4694 (ucs_to_latin_tcvn5712): New variable.
4695 (latin_tcvn5712_to_ucs): New variable.
4696 (Qlatin_viscii_lower): New variable.
4697 (Qlatin_viscii_upper): New variable.
4698 (syms_of_mule_charset): Set up new symbol
4699 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
4700 (complex_vars_of_mule_charset): Set up new charset
4701 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
4702 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
4703 `ucs_to_<CHARSET>' tables.
4705 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4707 * text-coding.c: New file.
4709 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4711 * mule-charset.c (Fmake_char): Fix problem of 256-set.
4713 * char-ucs.h (Vcharset_ucs_bmp): New variable.
4714 (MAKE_CHAR): Modify for `ucs-bmp'.
4715 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
4716 non-MULE characters of BMP.
4718 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
4720 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4723 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
4726 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
4727 - Include character.h for `CHAR_ASCII_P'.
4729 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
4731 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
4732 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
4734 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
4735 (BYTE_C0_P): Likewise.
4736 (BYTE_C1_P): Likewise.
4737 (Lstream_get_emchar_1): Likewise.
4738 (Lstream_fput_emchar): Likewise.
4739 (Lstream_funget_emchar): Likewise.
4740 (copy_internal_to_external): Likewise.
4741 (copy_external_to_internal): Likewise.
4743 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
4744 (BYTE_C0_P): Likewise.
4745 (BYTE_C1_P): Likewise.
4746 (Lstream_get_emchar_1): Likewise.
4747 (Lstream_fput_emchar): Likewise.
4748 (Lstream_funget_emchar): Likewise.
4749 (copy_internal_to_external): Likewise.
4750 (copy_external_to_internal): Likewise.
4752 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
4753 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4755 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
4756 (BYTE_ASCII_P): Moved to mb-1byte.h.
4758 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
4760 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
4762 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
4763 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
4764 (VALID_CHARPTR_P): Moved to mb-*byte.h.
4765 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4766 (VALIDATE_CHARPTR_FORWARD): Likewise.
4767 (simple_charptr_emchar): Moved to mb-multibyte.h.
4768 (simple_set_charptr_emchar): Likewise.
4769 (simple_charptr_copy_char): Likewise.
4770 (non_ascii_charptr_emchar): Likewise.
4771 (non_ascii_set_charptr_emchar): Likewise.
4772 (non_ascii_charptr_copy_char): Likewise.
4773 (charptr_emchar): Moved to mb-*byte.h.
4774 (set_charptr_emchar): Likewise.
4775 (charptr_copy_char): Likewise.
4777 * mb-1byte.h, mb-multibyte.h: New files.
4779 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4781 * mb-utf-8.h (MULTIBYTE): New macro.
4782 (MAX_EMCHAR_LEN): Moved from buffer.h.
4783 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
4785 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
4787 * mb-lb.h, multibyte.h: New files.
4789 * char-1byte.h (Charset_ID): Moved from buffer.h.
4790 (MIN_LEADING_BYTE): Likewise.
4791 (LEADING_BYTE_ASCII): Likewise.
4792 (NUM_LEADING_BYTES): Likewise.
4793 (CHARSETP): Likewise.
4794 (CHARSET_BY_LEADING_BYTE): Likewise.
4795 (XCHARSET_LEADING_BYTE): Likewise.
4796 (XCHARSET_GRAPHIC): Likewise.
4797 (XCHARSET_COLUMNS): Likewise.
4798 (XCHARSET_DIMENSION): Likewise.
4799 (CHAR_CHARSET): Likewise.
4800 (CHAR_LEADING_BYTE): Likewise.
4801 (BREAKUP_CHAR): Likewise.
4802 (Vcharset_ascii): Likewise.
4804 * buffer.h: Include multibyte.h unconditionally.
4805 (VALID_CHARPTR_P): Moved to multibyte.h.
4806 (ASSERT_VALID_CHARPTR): Likewise.
4807 (REAL_INC_CHARPTR): Likewise.
4808 (REAL_INC_CHARBYTIND): Likewise.
4809 (REAL_DEC_CHARPTR): Likewise.
4810 (INC_CHARPTR): Likewise.
4811 (INC_CHARBYTIND): Likewise.
4812 (DEC_CHARPTR): Likewise.
4813 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4814 (VALIDATE_CHARPTR_FORWARD): Likewise.
4815 (charptr_n_addr): Likewise.
4816 (MAX_EMCHAR_LEN): Moved to mb-*.h.
4817 (simple_charptr_emchar): Moved to multibyte.h.
4818 (simple_set_charptr_emchar): Likewise.
4819 (simple_charptr_copy_char): Likewise.
4820 (non_ascii_charptr_emchar): Likewise.
4821 (non_ascii_set_charptr_emchar): Likewise.
4822 (non_ascii_charptr_copy_char): Likewise.
4823 (charptr_emchar): Likewise.
4824 (set_charptr_emchar): Likewise.
4825 (charptr_copy_char): Likewise.
4826 (charptr_emchar_n): Likewise.
4827 (Charset_ID): Moved to char-1byte.h.
4828 (Vcharset_ascii): Likewise.
4829 (CHAR_CHARSET): Likewise.
4830 (CHAR_LEADING_BYTE): Likewise.
4831 (LEADING_BYTE_ASCII): Likewise.
4832 (NUM_LEADING_BYTES): Likewise.
4833 (MIN_LEADING_BYTE): Likewise.
4834 (CHARSETP): Likewise.
4835 (CHARSET_BY_LEADING_BYTE): Likewise.
4836 (XCHARSET_LEADING_BYTE): Likewise.
4837 (XCHARSET_GRAPHIC): Likewise.
4838 (XCHARSET_COLUMNS): Likewise.
4839 (XCHARSET_DIMENSION): Likewise.
4840 (BREAKUP_CHAR): Likewise.
4842 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4844 * character.h: Add document about interface for characters.
4846 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
4847 (MAKE_CHAR): Delete comment about
4848 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
4849 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
4850 (BREAKUP_CHAR): Modify name of arguments.
4851 (CHAR_CHARSET): Modify name of argument.
4853 * buffer.h: Delete document about Emchar accessors.
4855 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4857 * character.h (CHAR_INTP): Moved from buffer.h
4858 (CHAR_OR_CHAR_INTP): Likewise.
4859 (XCHAR_OR_CHAR_INT): Likewise.
4860 (CHECK_CHAR_COERCE_INT): Likewise.
4862 * buffer.h (CHAR_INTP): Moved to character.h
4863 (CHAR_OR_CHAR_INTP): Likewise.
4864 (XCHAR_OR_CHAR_INT): Likewise.
4865 (CHECK_CHAR_COERCE_INT): Likewise.
4867 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4870 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
4871 - Include char-1byte.h, char-lb.h or char-ucs.h.
4873 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
4875 * buffer.h: Include character unconditionally.
4876 (valid_char_p): Moved to char-*.h.
4877 (non_ascii_valid_char_p): Moved to char-lb.h.
4879 * char-1byte.h, char-lb.h, char-ucs.h: New files.
4881 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4883 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
4884 in UTF-2000 because it is not ported yet and not to use
4885 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
4886 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
4887 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
4889 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
4890 (CHAR_ASCII_P): Moved from character.h.
4892 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
4893 (CHAR_ASCII_P): Likewise.
4894 (CHAR_FIELD1_MASK): Deleted.
4895 (CHAR_FIELD2_MASK): Deleted.
4896 (CHAR_FIELD3_MASK): Deleted.
4897 (MAX_CHAR_BASIC_LATIN): New macro.
4898 (CHAR_FIELD1): Deleted.
4899 (CHAR_FIELD2_INTERNAL): Deleted.
4900 (CHAR_FIELD3_INTERNAL): Deleted.
4901 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
4902 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
4903 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
4904 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
4905 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
4906 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
4907 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
4908 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
4909 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
4910 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
4911 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
4912 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
4913 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
4914 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
4915 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
4916 (MIN_CHAR_COMPOSITION): Deleted.
4917 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
4918 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
4920 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
4922 * buffer.h: Include mb-utf-8.h in UTF-2000.
4924 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
4926 * mb-utf-8.h: New file.
4928 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
4930 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
4933 * mule-charset.h, buffer.h (Charset_ID): New type.
4935 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
4937 * mule-canna.c (c2mu): Use `MAKE_CHAR',
4938 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
4939 instead of `MULE_CHAR_PRIVATE_OFFSET',
4940 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
4941 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
4942 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
4944 * character.h (Vcharset_japanese_jisx0212): New variable
4947 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
4949 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
4950 (charset_by_attributes): Delete array about direction.
4951 (latin_a_char_to_charset): New variable in UTF-2000.
4952 (latin_a_char_to_byte1): New variable in UTF-2000.
4953 (latin_a_char_to_byte2): New variable in UTF-2000.
4954 (Qucs_bmp): New variable.
4955 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
4957 (next_allocated_2_byte_leading_byte): Likewise.
4958 (non_ascii_set_charptr_emchar): Likewise.
4959 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
4960 `CHARSET_TYPE_256X256' in UTF-2000; modify for
4961 `charset_by_attributes'.
4962 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
4963 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
4964 and `CHARSET_BY_LEADING_BYTE'.
4965 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
4966 `utf-2000-version' to `vars_of_mule_charset'.
4967 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
4968 define `leading-code-private-11' in UTF-2000; move setting of
4969 `utf-2000-version' from `syms_of_mule_charset'.
4970 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
4973 * character.h (Charset_ID): New type.
4974 (LEADING_BYTE_UCS_BMP): New macro.
4975 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
4976 (CHARSET_ID_OFFSET_94): New macro.
4977 (MIN_CHARSET_ID_PRIVATE_94): New macro.
4978 (MAX_CHARSET_ID_PRIVATE_94): New macro.
4979 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
4981 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
4982 (LEADING_BYTE_LATIN_JISX0201): Likewise.
4983 (CHARSET_ID_OFFSET_96): New macro.
4984 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
4985 CHARSET_ID_OFFSET_96 and final-byte.
4986 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
4987 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
4988 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
4989 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
4990 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
4991 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
4992 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
4993 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
4994 (LEADING_BYTE_THAI_TIS620): Likewise.
4995 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
4996 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
4997 (CHARSET_ID_OFFSET_94x94): New macro.
4998 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
4999 CHARSET_ID_OFFSET_94x94 and final-byte.
5000 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
5001 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
5002 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
5003 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
5004 (LEADING_BYTE_CHINESE_GB2312): Likewise.
5005 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
5006 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
5007 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
5008 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
5009 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
5010 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
5011 (CHARSET_TYPE_128X128): New macro.
5012 (CHARSET_TYPE_256X256): New macro.
5013 (XCHARSET_PRIVATE_P): Delete unconditionally.
5014 (charset_by_attributes): Delete array about direction.
5015 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
5016 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
5017 (MIN_CHAR_94): New macro.
5018 (MAX_CHAR_94): New macro.
5019 (MIN_CHAR_96): New macro.
5020 (MAX_CHAR_96): New macro.
5021 (MIN_CHAR_94x94): New macro.
5022 (MAX_CHAR_94x94): New macro.
5023 (MIN_CHAR_96x96): New macro.
5024 (MAX_CHAR_96x96): New macro.
5025 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
5026 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5027 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
5029 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
5030 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
5031 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
5032 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
5033 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
5034 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
5035 `XCHARSET_LEADING_BYTE' to make code-point.
5036 (latin_a_char_to_charset): New variable.
5037 (latin_a_char_to_byte1): New variable.
5038 (latin_a_char_to_byte2): New variable.
5039 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
5040 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
5041 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
5043 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
5044 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
5045 (find_charsets_in_emchar_string): Likewise.
5046 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
5048 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
5050 (decode_coding_iso2022): Likewise.
5052 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
5055 * redisplay.c (redisplay_text_width_emchar_string): Use
5056 `Charset_ID' instead of `unsigned char'.
5057 (redisplay_frame_text_width_string): Likewise.
5059 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
5062 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
5063 instead of `unsigned char'.
5064 (face_cachel_charset_font_metric_info): Likewise.
5066 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
5067 (get_non_ascii_char_table_value): Likewise.
5068 (get_char_table): Likewise.
5069 (put_char_table): Likewise.
5070 (map_over_other_charset): Likewise.
5071 (map_char_table): Likewise.
5073 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
5074 instead of `unsigned char'.
5076 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
5078 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
5079 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
5081 * mule-charset.c (leading_code_private_11): Don't define in
5084 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
5085 in UTF-2000 because it is not ported yet and not to use
5086 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
5088 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
5090 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
5092 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5094 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
5097 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
5098 of unsigned char to store leading-byte.
5100 * chartab.c (get_non_ascii_char_table_value): Don't use
5101 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
5103 * file-coding.c (encode_coding_big5): Delete bogus implementation
5106 * character.h (LEADING_BYTE_*): Delete definition for
5108 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
5109 (LEADING_BYTE_PREFIX_P): Deleted.
5110 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
5111 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
5112 (BUFBYTE_LEADING_BYTE_P): Deleted.
5113 (CHARSET_PRIVATE_P): Deleted unconditionally.
5114 (rep_bytes_by_first_byte): Deleted unconditionally.
5115 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
5116 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
5117 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5118 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
5119 (CHAR_FIELD2): Deleted.
5120 (CHAR_FIELD3): Deleted.
5121 (MAKE_CHAR): Delete definition for non-UTF-2000.
5122 (BREAKUP_CHAR_1_UNSAFE): Deleted.
5123 (breakup_char_1): New implementation.
5124 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
5125 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
5127 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5129 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
5132 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5134 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
5135 (CHARSET_PRIVATE_P): Likewise.
5136 (XCHARSET_PRIVATE_P): Likewise.
5137 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
5139 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
5141 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
5143 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5145 * character.h (LEADING_BYTE_*): Changed in UTF2000.
5146 (NUM_LEADING_BYTES): Changed from 128 to 256.
5147 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5148 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
5150 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5152 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
5154 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
5155 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
5156 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
5157 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
5158 (Qchinese_cns11643_3): New variable in UTF2000.
5159 (Qchinese_cns11643_4): New variable in UTF2000.
5160 (Qchinese_cns11643_5): New variable in UTF2000.
5161 (Qchinese_cns11643_6): New variable in UTF2000.
5162 (Qchinese_cns11643_7): New variable in UTF2000.
5163 (syms_of_mule_charset): Define `chinese-cns11643-3',
5164 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
5165 and `chinese-cns11643-7' in UTF2000.
5166 (vars_of_mule_charset): Initialize
5167 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
5169 (complex_vars_of_mule_charset): Setup charset
5170 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
5171 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
5173 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5175 * mule-charset.c: Move setting for `leading-code-private-11' from
5176 `syms_of_mule_charset' to `vars_of_mule_charset'.
5178 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5180 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
5181 and `NUM_LEADING_BYTES' in assert.
5183 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5185 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
5187 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
5188 `NUM_LEADING_BYTES' instead of 128.
5190 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
5192 * mule-charset.h (charset_by_leading_byte): Use
5193 `NUM_LEADING_BYTES' instead of 128.
5194 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
5196 * mule-charset.c (charset_by_leading_byte): Use
5197 `NUM_LEADING_BYTES' instead of 128.
5198 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
5200 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
5203 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
5205 * mule-charset.c (syms_of_mule_charset): Update to
5208 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
5210 * file-coding.c (encode_coding_sjis): New implementation for
5211 UTF2000. (decode_coding_sjis): Ditto.
5213 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5215 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
5216 Don't define in UTF2000.
5218 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
5221 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5222 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
5225 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5227 * config.h.in (CHAR_IS_UCS4): New macro.
5229 * mule-charset.c (rep_bytes_by_first_byte): Modify for
5230 conventional MULE representation.
5231 (syms_of_mule_charset): Update to 0.3 (Imamiya).
5233 * mule-charset.h: Reverted to original.
5235 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5236 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
5237 "mule-charset.h" if CHAR_IS_UCS4 is defined.
5239 * character.h: New file.
5241 * file-coding.c (Fmake_coding_system): Set 1 to
5242 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
5244 (encode_coding_no_conversion): New implementation for UTF2000.
5246 * file-coding.h (struct Lisp_Coding_System): Add new member
5249 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
5251 * file-coding.c (decode_coding_iso2022): Code-point arguments of
5252 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
5253 (encode_coding_iso2022): New implementation for UTF2000.
5255 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5257 * mule-canna.c (c2mu): New implementation for UTF2000.
5260 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5262 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
5264 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5266 * file-coding.c (reset_encoding_stream): Set 0 to
5267 `str->iso2022.current_char_boundary' in UTF2000.
5268 (encode_utf8): Don't define in UTF2000.
5269 (encode_coding_utf8): New implementation for UTF-8 representation
5271 (complex_vars_of_file_coding): Define coding-system `utf-8'.
5273 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5275 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
5277 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
5279 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5281 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
5283 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
5284 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
5285 as UTF-8 in UTF2000.
5286 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
5287 (non_ascii_valid_char_p): Don't define in UTF2000.
5288 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
5289 (Lstream_get_emchar_1): Likewise.
5290 (utf-2000-version): New variable in UTF2000.
5292 * lread.c (read_escape): Add new reader `u'.
5294 * insdel.c (three_to_one_table): Don't define in UTF2000.
5295 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
5296 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5298 (bytind_to_bufpos_func): Likewise.
5299 (buffer_mule_signal_inserted_region): Likewise.
5300 (vars_of_insdel): Don't initialize `three_to_one_table'.
5301 (init_buffer_text): Use `buf->text->mule_size' instead of
5302 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5305 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
5306 UTF-8 representation in UTF2000.
5307 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
5308 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
5309 (decode_coding_iso2022): Don't define local variable `lb' in
5310 UTF2000; don't use LEADING_BYTE in UTF2000; use
5311 `DECODE_ADD_UCS_CHAR' in UTF2000.
5312 (convert_to_external_format): Decode as UTF-8 in UTF2000.
5314 * config.h.in (UTF2000): New macro.
5316 * buffer.h (struct buffer_text): Add new member `mule_size' and
5317 don't add `mule_shifter' and `mule_three_p' in UTF2000.
5318 (valid_char_p): Return always 1 in UTF2000.
5319 (MAX_EMCHAR_LEN): 6 in UTF2000.
5320 (three_to_one_table): Don't define in UTF2000.
5321 (real_bufpos_to_bytind): Modify for UTF-8 representation in
5323 (real_bytind_to_bufpos): Likewise.
5325 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
5327 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5329 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
5330 representation change.
5331 (Vutf_2000_version): New variable.
5332 (leading_code_private_11): New variable.
5333 (syms_of_mule_charset): Add new variables `utf-2000-version' and
5334 `leading-code-private-11'.
5336 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
5337 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
5338 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
5339 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
5340 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
5341 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
5342 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
5343 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
5344 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
5345 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
5346 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
5347 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
5348 (MIN_CHAR_GREEK): New macro.
5349 (MAX_CHAR_GREEK): New macro.
5350 (MIN_CHAR_CYRILLIC): New macro.
5351 (MAX_CHAR_CYRILLIC): New macro.
5352 (MIN_CHAR_HEBREW): New macro.
5353 (MAX_CHAR_HEBREW): New macro.
5354 (MIN_CHAR_THAI): New macro.
5355 (MAX_CHAR_THAI): New macro.
5356 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
5357 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
5358 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
5359 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
5360 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
5361 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
5362 (CHAR_FIELD2): New inline function.
5363 (CHAR_FIELD3): New inline function.
5364 (MULE_CHAR_PRIVATE_OFFSET): New macro.
5365 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
5366 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
5367 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
5368 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
5369 (MIN_CHAR_COMPOSITION): Likewise.
5370 (CHAR_LEADING_BYTE): Modified for character representation change.
5371 (MAKE_CHAR): Likewise.
5373 * lisp.h (Vcharset_latin_iso8859_1): New variable.
5374 (Vcharset_greek_iso8859_7): Likewise.
5375 (Vcharset_cyrillic_iso8859_5): Likewise.
5376 (Vcharset_hebrew_iso8859_8): Likewise.
5377 (Vcharset_thai_tis620): Likewise.
5378 (Vcharset_katakana_jisx0201): Likewise.
5380 2004-02-02 Vin Shelton <acs@xemacs.org>
5382 * XEmacs 21.4.15 is released
5384 2004-01-30 Glynn Clements <glynn.clements@virgin.net>
5386 * device-x.c (x_error_handler): Don't call stderr_out
5388 2003-11-07 Katsumi Yamaoka <yamaoka@jpl.org>
5390 * buffer.c (other-buffer): Clarify documentation of order of
5391 arguments for FSF Emacs.
5393 2003-10-11 Olivier Galibert <galibert@pobox.com>
5395 * window.c (Fdelete_window): Dirty the mirror structure _before_
5396 marking the window deleted.
5398 2003-09-15 Jerry James <james@xemacs.org>
5400 * event-msw.c (debug_mswin_messages): Conditionally compile
5401 messages missing from the Cygwin headers.
5403 2003-06-16 Stephen J. Turnbull <stephen@xemacs.org>
5405 * data.c (eq_with_ebola_notice): Fix typo in comment.
5406 (Ftrue_list_p): Improve docstring.
5408 2003-10-13 Stephen J. Turnbull <stephen@xemacs.org>
5410 * frame-x.c (x_update_frame_external_traits): Fix XtSetArg idiom.
5412 2003-09-27 Stephen J. Turnbull <stephen@xemacs.org>
5414 * search.c (trivial_regexp_p): Regexps containing "\{" are
5415 nontrivial. Thanks to Manfred Bartz for reporting the bug and
5416 Stefan Monnier for suggesting a diagnosis.
5418 2003-09-25 Stephen J. Turnbull <stephen@xemacs.org>
5420 * elhash.c (make-hash-table): Clarify use of :test #'equal.
5422 2003-09-12 Stephen J. Turnbull <stephen@xemacs.org>
5424 * search.c (Fsearch_forward):
5426 Document negative count.
5428 2003-09-13 Stephen J. Turnbull <stephen@xemacs.org>
5430 * regex.c (re_max_failures): Bump to 20000 for REGEX_MALLOC, too.
5432 2003-09-13 Martin Buchholz <martin@xemacs.org>
5434 * s/sol2.h: Use OS_RELEASE=os_release_major*100+os_release_minor
5436 2003-09-15 Vin Shelton <acs@xemacs.org>
5438 * .gdbinit (pobj): Remove Ilya's fix that was only intended for
5441 2003-09-12 Yoshiki Hayashi <yoshiki@xemacs.org>
5443 * regex.c (TRANSLATE_EXTENDED_UNSAFE): Remove.
5444 (re_search_2): Match the first byte of Bufbyte, not Emchar.
5445 (re_match_2_internal): Use TRANSLATE instead of
5446 TRANSLATE_EXTENDED_UNSAFE. The latter was a hack to bypass
5447 non-ASCII char case conversion.
5449 2003-09-08 Mike Sperber <mike@xemacs.org>
5451 * symbols.c (Fvariable_binding_locus): Add, as per suggestion from
5452 RMS at: http://article.gmane.org/gmane.emacs.pretest.bugs/1010
5454 2003-06-14 Ilya N. Golubev <gin@mo.msk.ru>
5456 * .gdbinit (pobj): fix printing of symbol name.
5458 2003-08-01 Ilya N. Golubev <gin@mo.msk.ru>
5460 * frame-x.c (x_layout_widgets): When resizing is about to cause
5461 frame size slip, mark it for redisplay.
5463 2003-08-18 Jerry James <james@xemacs.org>
5465 * opaque.h: Remove unused (X)OPAQUE_MARKFUN definitions.
5467 2003-09-03 Vin Shelton <acs@xemacs.org>
5469 * XEmacs 21.4.14 is released
5471 2003-08-15 Stephen J. Turnbull <stephen@xemacs.org>
5473 * config.h.in (REGEX_MALLOC): Make it configure'able.
5475 2003-08-14 Andrew Begel <abegel@CS.Berkeley.EDU>
5477 * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic
5479 * sysdll.c (dll_init):
5480 * sysdll.c (dll_open):
5481 * sysdll.c (dll_close):
5482 * sysdll.c (dll_function):
5483 * sysdll.c (dll_variable):
5484 * sysdll.c (dll_error):
5485 Add support for loading bundles using Darwin/MacOSX
5488 2003-08-12 Stephen J. Turnbull <stephen@xemacs.org>
5490 * process.c (start-process-internal): Document coding systems.
5492 2003-07-30 Jerry James <james@xemacs.org>
5494 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
5496 2003-07-31 René Kyllingstad <listmailxemacs@kyllingstad.com>
5498 * event-msw.c (mswindows_enqueue_mouse_button_event):
5499 * event-msw.c (mswindows_wnd_proc):
5500 enqueue button event when scrollwheel event isn't handled by
5501 mswindows_handle_mousewheel_event, such as when the scrollbars
5504 2003-07-29 Stephen J. Turnbull <stephen@xemacs.org>
5506 * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*.
5508 2003-03-24 Stephen J. Turnbull <stephen@xemacs.org>
5510 * database.c (Fopen_database): Don't use DB_AUTO_COMMIT.
5512 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org>
5514 * regex.c (re_match_2_internal): Fix matching degenerate word
5517 2003-05-25 XEmacs Build Bot <builds@cvs.xemacs.org>
5519 * XEmacs 21.4.13 is released
5521 2003-03-20 Stephen J. Turnbull <stephen@xemacs.org>
5523 * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H):
5524 * lisp.h (<inttypes.h>):
5525 Cygwin defines these types in <cygwin/types.h>. Don't duplicate
5528 2003-03-15 Martin Buchholz <martin@xemacs.org>
5530 * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file.
5531 Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs'
5532 Result: "temacs can only be run in -batch mode."
5533 Fix: Check xemacs executable candidate for directory-ness.
5535 2003-03-03 Robert Pluim <rpluim@bigfoot.com>
5537 * database.c: Don't use the u_int8_t etc typedefs on FreeBSD,
5538 they conflict with <sys/types.h>.
5540 2003-02-14 Martin Buchholz <martin@xemacs.org>
5542 * database.c: Berkeley DB wants __STDC__ to be defined.
5544 2003-02-13 Martin Buchholz <martin@xemacs.org>
5546 * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'.
5548 2003-02-01 Martin Buchholz <martin@xemacs.org>
5550 * process-unix.c (unix_send_process): Fix C++ compile error.
5552 2003-02-25 Andrew Begel <abegel@cs.berkeley.edu>
5554 * Added .dylib as an acceptable shared library file extension
5555 * to support MacOSX.
5557 2003-02-01 Martin Buchholz <martin@xemacs.org>
5559 * EmacsFrameP.h (EmacsFramePart):
5560 Kludge to allow compiling with Motif1, but linking with Motif2.
5562 2003-01-28 Martin Buchholz <martin@xemacs.org>
5564 * config.h.in (_ALL_SOURCE): Guard against multiple definition.
5567 2003-02-23 Stephen J. Turnbull <stephen@xemacs.org>
5569 * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin.
5571 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
5573 * sysdll.c: Included lisp.h to define needed alloca_array.
5575 2003-02-13 Martin Buchholz <martin@xemacs.org>
5577 Make XEmacs redisplay 10 times faster.
5578 If, that is, you're using a slow X connection and MoveOpaque.
5579 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
5580 Use compress_motion = TRUE.
5581 * EmacsFrame.c (emacsFrameClassRec):
5582 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
5583 * EmacsManager.c (emacsManagerClassRec):
5584 * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
5586 2003-01-30 Vin Shelton <acs@xemacs.org>
5588 * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux.
5590 2003-01-17 Stephen J. Turnbull <stephen@xemacs.org>
5592 * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef.
5593 Patch by Martin Buchholz.
5595 2003-01-16 Stephen J. Turnbull <stephen@xemacs.org>
5597 * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison.
5598 Thanks to icc for warning and Martin Buchholz for reporting.
5600 2003-01-29 Vin Shelton <acs@xemacs.org>
5602 Patch courtesy of Andrew Begel <abegel@cs.berkeley.edu>
5604 * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so
5605 remember to multiply by the element size.
5607 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
5609 * XEmacs 21.4.12 "Portable Code" is released.
5611 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
5613 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
5614 * s/cygwin.sc: new linker file.
5616 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
5618 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
5620 * redisplay-x.c (x_output_string): Use X11-specified types.
5621 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
5622 * emacs.c (__free_hook): Use typeof with Intel compiler.
5623 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
5625 2003-01-08 Andy Piper <andy@xemacs.org>
5627 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
5628 reserve size during unexec().
5630 2003-01-07 Daiki Ueno <daiki@xemacs.org>
5632 * process-unix.c (unix_create_process): Don't let outchannel block.
5634 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
5636 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
5637 Needed for IsBadReadPtr().
5639 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
5641 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
5643 2002-12-14 Ben Wing <ben@xemacs.org>
5645 * callint.c: Declaration error.
5647 * dumper.c (pdump_load): Warning fix.
5648 * process.c: GCPRO error.
5649 * glyphs.c (unmap_subwindow):
5650 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
5651 * event-stream.c (maybe_kbd_translate): Wrong argument to
5652 character_to_event().
5654 * alloc.c (garbage_collect_1):
5656 * emacs.c (debug_can_access_memory):
5657 * emacs.c (fatal_error_signal):
5658 * emacs.c (mswindows_handle_hardware_exceptions):
5661 * emacs.c (assert_failed):
5662 * emacs.c (syms_of_emacs):
5665 * print.c (std_handle_out_va):
5666 * print.c (write_string_to_stdio_stream):
5667 * print.c (write_fmt_string):
5668 * print.c (printing_badness):
5669 * print.c (printing_major_badness):
5670 * print.c (print_internal):
5671 * print.c (debug_print_no_newline):
5672 * print.c (debug_backtrace):
5673 Be more defensive in handling bad values when printing. Add code
5674 from trunk involving inhibit_non_essential_printing_operations.
5675 When going down or in debug_print(), don't do external conversion
5676 and such and try really, really hard when printing to avoid core
5677 dumping. Add force-debugging-signal, debug_break().
5679 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
5681 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
5682 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
5684 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
5686 * database.c: Fix open_database. Berkeley DB API has changed in
5687 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
5689 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
5691 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
5693 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
5695 * event-Xt.c (Xt_timeout):
5696 (Xt_timeout_callback):
5697 (emacs_Xt_add_timeout):
5698 (emacs_Xt_remove_timeout):
5699 (Xt_timeout_to_emacs_event):
5700 Turn completed_timeouts from a stack into a queue. Fixes
5701 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
5703 2002-11-07 Wolfram Gloger <wg@malloc.de>
5705 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
5706 * emacs.c (main): Assert that mmap'd allocation is disabled.
5708 2002-10-14 Andy Piper <andy@xemacs.org>
5710 * glyphs-widget.c (layout_query_geometry): add in fiddle
5711 factor. Include border text in width layout calculation.
5712 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
5714 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
5716 * XEmacs 21.4.10 "Military Intelligence" is released.
5718 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
5720 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
5721 using the NAS private array SoundFileInfo that no longer exists in
5722 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
5723 and earlier. This is broken for some versions between 1.5a and
5726 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
5728 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
5730 * emacs.c (shut_down_emacs): Improve crash message.
5732 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
5734 * file-coding.c (determine_real_coding_system): Check for coding
5735 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
5736 shebangs and Python PEP 263.
5738 2002-10-08 Andy Piper <andy@xemacs.org>
5740 * glyphs-widget.c (layout_query_geometry): only resize dynamically
5741 if static sizes haven't been set.
5743 2002-08-30 Mike Alexander <mta@arbortext.com>
5745 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
5748 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
5750 * callproc.c (child_setup): 21.4 doesn't have retry_close.
5752 2002-09-20 Mike Sperber <mike@xemacs.org>
5754 (This partially gets back my patch from 2002-07-20 without the
5756 * callproc.c (child_setup): Remove Ben's comment noting confusion
5757 over the file descriptors >= 3: close_process_descs() doesn't
5758 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
5759 * process-unix.c (unix_create_process): Call
5760 begin_dont_check_for_quit to inhibit unwanted interaction (and
5761 thus breaking of X event synchronicity) in the child.
5763 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
5765 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
5768 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
5770 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
5771 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
5772 the xemacs process did not exit, but looped infinitely here. This
5775 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
5777 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
5778 (find_context): Improve comments.
5780 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
5781 (re_match_2): An XCHAR_TABLE operation was missing.
5783 Many of the following changes were inspired by Andy Piper's (now
5784 obsolete) patch to make syntax-table text property lookup optional.
5788 * syntax.h (top level): Document semantics of syntax flags.
5789 * syntax.c (comstr_start, Fforward_comment): Improve comments.
5790 * syntax.c, syntax.h (top level): Document syntax cache better in
5793 [Instrument syntax caching (temporary change)]
5795 * syntax.h (enum syntax_cache_statistics_functions, struct
5796 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
5797 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
5798 * syntax.c (scan_words, Fforward_comment, scan_lists,
5799 Fbackward_prefix_characters):
5800 * font-lock.c (find_context):
5801 Use them to instrument syntax caching.
5802 * syntax.c (struct syntax_cache_statistics, scs_statistics,
5803 syntax_cache_statistics_function_names): New type and variables.
5804 * syntax.c (update_syntax_cache): Update and report statistics.
5806 [Major syntax cache optimizations]
5808 syntax.c (lookup_syntax_properties): Default off.
5810 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
5811 * syntax.c (update_syntax_cache):
5812 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
5814 [Minor syntax cache optimizations and code clarifications]
5816 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
5817 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
5818 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
5819 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
5820 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
5821 (Code clarification.)
5823 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
5824 scan_lists): Compute code from syncode, use Boolean macros instead
5825 of redundant masking operations. (Code clarification; any decent
5826 compiler can do this optimization.)
5828 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
5831 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
5832 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
5833 use F*_single_property_change instead of F*_extent_change.
5834 Currently F*_single_property_change is _much_ less efficient.
5836 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
5837 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
5838 syntax_cache.object properly, don't leave Qt or Qnil.
5839 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
5840 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
5841 tests for Qt or Qnil.
5843 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
5845 * redisplay.c (point_in_line_start_cache):
5846 * extents.c (print_extent_1):
5849 * extents.c (Fset_extent_property): Document `syntax-table' property.
5851 * extents.h (Fnext_single_property_change): EXFUN it.
5853 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
5855 * search.c (clear_unused_search_regs): New static function.
5859 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
5860 Minor clarifications in comments.
5862 * regex.c (re_match_2_internal): Ensure no stale submatches.
5864 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
5866 * event-Xt.c (enqueue_focus_event): Add missing prototype.
5868 2002-08-29 Jerry James <james@xemacs.org>
5870 * lisp.h: structrures -> structures.
5872 2002-06-03 Andy Piper <andy@xemacs.org>
5874 * frame.c (frame_conversion_internal): add conversion appropriate
5875 for setting frame dimensions in pixels.
5877 * console.h (struct console_methods): add device-specific widget
5880 * emacs.c (main_1): initialize glyph vars.
5882 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
5883 (handle_focus_event_2): new function. Allow focus to
5884 be set to a particular window and widget.
5885 (enqueue_focus_event): new function. Create a
5886 synthetic focus event.
5887 (emacs_Xt_handle_magic_event): call
5888 handle_focus_event_2.
5890 * frame.c (Fset_frame_pixel_height): new function. Allow
5891 pixel-based sizing. Does the right thing on character-oriented
5893 (Fset_frame_pixel_width): ditto.
5894 (Fset_frame_pixel_size): ditto.
5895 (syms_of_frame): declare.
5897 * general-slots.h: add :vertically-justify and
5898 :horizontally-justify.
5900 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
5901 (mswindows_widget_border_width): new function.
5902 (mswindows_combo_box_instantiate): set border widths.
5903 (console_type_create_glyphs_mswindows): declare.
5906 (check_valid_justification): allow vertical and horizontal
5908 (widget_border_width): new function. Call device methods.
5909 (widget_instance_border_width): ditto.
5910 (logical_unit_height): new function. Determine the height of a
5911 logical-unit. Logical units are intended to provide grid-like
5912 layout for subcontrols in a layout. If the layout is
5913 :vertically-justify top then subcontrols will be positioned on
5914 logical-unit boundaries, thus allowing adjacent subcontrols to
5916 (widget_logical_unit_height): ditto for widgets.
5917 (redisplay_widget): misc cleanup.
5918 (widget_spacing): new function. Call device specific
5919 methods. Intended to be the default gap between adjacent widgets.
5920 (widget_query_geometry): use new spacing functions to determine
5921 appropriate geometry.
5922 (initialize_widget_image_instance): initialize horizontal and
5923 vertical justification.
5924 (widget_instantiate): use logica-units where appropriate for
5925 sizing large widgets.
5926 (button_query_geometry): use widget_instance_border_width.
5927 (tree_view_query_geometry): ditto.
5928 (tab_control_query_geometry): ditto.
5929 (edit_field_query_geometry): new function.
5930 (layout_update): pick up :justify, :horizontally-justify and
5931 :vertically-justify none of which worked previously. :justify is
5932 used as a fallback for both horizontal and vertical justification.
5933 (layout_query_geometry): use logical units to size appropriately.
5934 (layout_layout): ditto.
5935 (Fwidget_logical_to_character_width): new function. Allow users to
5936 convert from logical units to characters so that frame sizes can
5937 be set appropriately.
5938 (Fwidget_logical_to_character_height): ditto.
5939 (syms_of_glyphs_widget): declare.
5940 (image_instantiator_edit_fields): add edit_field_query_geometry.
5941 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
5942 :horizontally-justify.
5943 (specifier_vars_of_glyphs_widget): new function. Declare
5944 Vwidget_border_width which is not yet used.
5946 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
5947 (x_widget_border_width): new function.
5948 (x_widget_instantiate): create a sensible name for widgets.
5949 (console_type_create_glyphs_x): declare x_widget_border_width.
5951 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
5952 (struct Lisp_Image_Instance): add :vertically-justify and
5953 :horizontally-justify.
5954 (LAYOUT_JUSTIFY_TOP): new.
5955 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
5956 (ROUND_UP): new macro. Round argument up to next integral
5959 * redisplay-output.c (redisplay_output_layout): misc formatting.
5961 * symsinit.h: declare specifier_vars_of_glyphs_widget.
5963 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
5965 * XEmacs 21.4.9 "Informed Management" is released.
5967 2002-08-19 Andy Piper <andy@xemacs.org>
5969 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
5972 * realpath.c (xrealpath): normalize drive spec also so that dir
5973 sep chars are not mixed on cygwin.
5975 2002-08-06 Jerry James <james@xemacs.org>
5977 * window.c (Fsplit_window): Count only half of the divider width
5978 against the left window when splitting horizontally.
5980 2002-06-24 Andy Piper <andy@xemacs.org>
5982 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
5983 toolbar was cleared.
5985 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
5986 function. Split out from mswindows_output_frame_toolbars.
5987 (mswindows_output_frame_toolbars): move clear pieces to
5988 mswindows_output_frame_toolbars.
5990 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
5991 out from gtk_output_frame_toolbars.
5992 (gtk_output_frame_toolbars): move clear pieces to
5993 gtk_clear_frame_toolbars.
5995 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
5996 the frame is cleared. How this ever worked before is a mystery.
5997 (x_output_frame_toolbars): Only output toolbars.
5998 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
6000 * gutter.c (update_gutter_geometry):
6001 Mark frame layout changed.
6002 (update_frame_gutter_geometry, update_frame_gutters):
6003 Respect frame_layout_changed.
6005 * console.h (struct console_methods): add
6006 clear_frame_toolbars_method.
6008 * redisplay.c (redisplay_frame): call
6009 update_frame_toolbars_geometry and re-order update_frame_toolbars.
6011 * toolbar.h: declare update_frame_toolbars_geometry.
6013 * toolbar.c (update_frame_toolbars_geometry): new function. Split
6014 out from update_frame_toolbars. Call clear_frame_toolbars.
6015 (update_frame_toolbars): only output, do not change geometry.
6017 * redisplay.c: add frame_layout_changed.
6019 * redisplay.h: add frame_layout_changed.
6020 (CLASS_RESET_CHANGED_FLAGS): set it.
6021 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
6022 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
6023 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
6025 * device.h (struct device): add frame_layout_changed.
6026 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
6028 * frame.h (struct frame): add frame_layout_changed.
6029 (MARK_FRAME_LAYOUT_CHANGED): new.
6031 2002-06-30 Mike Alexander <mta@arbortext.com>
6033 * event-msw.c (mswindows_need_event): Don't wait for a new message
6034 if the queue is not empty. Suggested by Paul Moore.
6036 2002-06-12 Andy Piper <andy@xemacs.org>
6038 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
6039 for printing on accurately.
6041 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
6043 * event-msw.c (mswindows_wnd_proc): Add a handler for the
6044 WM_ACTIVATE message. Make sure that the frame is visible if the
6045 window is visible. This seemss to fix the problem where XEmacs
6046 appears to freeze after switching desktops with certain virtual
6048 (debug_output_mswin_message): Added code to output message
6049 parameters for WM_WINDOWPOSCHANGED,
6050 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
6052 2002-05-25 Andy Piper <andy@xemacs.org>
6054 * select-x.c (vars_of_select_x): Fix docstring of
6055 x-selection-strict-motif-ownership
6057 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6059 * keymap.c (get_keymap):
6060 Add comment about do_autoload GCPROs own args.
6062 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6064 * bytecode.c (execute_optimized_program): check_opcode ifdef
6065 ERROR_CHECK_BYTE_CODE.
6067 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6069 Thanks to Ben Wing and Michael Sperber.
6071 * eval.c (Fcommand_execute):
6074 (Fmacroexpand_internal):
6075 (function_argcount):
6076 callint.c (Fcall_interactively):
6077 Add comment about do_autoload GCPROs own args.
6079 * (do_autoload): GCPRO both args as well as local Lisp_Object.
6081 * eval.c (Ffuncall): Extra braces to placate GCC.
6083 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
6085 * backtrace.h (grow_specpdl):
6087 * EmacsFrame.c (EmacsFrameSetValues):
6088 * eval.c (grow_specpdl):
6089 * ExternalShell.c (hack_event_masks_1):
6090 * glyphs-x.c (convert_EImage_to_XImage):
6091 (x_finalize_image_instance):
6092 * ralloc.c (page_size):
6094 * xgccache.c (gc_cache_hash):
6095 Fix unsigned comparison warnings.
6097 2002-07-29 Jerry James <james@xemacs.org>
6099 * lread.c (locate_file): Any nonnegative return value indicates
6100 success if MODE is nonnegative.
6102 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
6104 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
6107 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
6109 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
6111 * dumper.c (pdump_get_indirect_count):
6112 (pdump_scan_by_alignment):
6113 (pdump_dump_root_struct_ptrs):
6114 (pdump_dump_rtables):
6115 (pdump_dump_root_objects):
6117 * nas.c (WaveOpenDataForReading):
6118 * fns.c (print_bit_vector):
6119 * font-lock.c (SINGLE_SYNTAX_STYLE):
6120 * glyphs.c (check_for_ignored_expose):
6121 (find_matching_subwindow):
6123 * imgproc.c (get_histogram):
6124 * redisplay.c (point_in_line_start_cache):
6125 * redisplay-output.c (redisplay_unmap_subwindows):
6126 * symbols.c (defsymbol_massage_name_1):
6127 (defkeyword_massage_name):
6128 (deferror_massage_name_and_message):
6129 * redisplay-x.c (x_output_string):
6130 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
6131 * frame.h (struct frame):
6132 * filelock.c (current_lock_owner):
6133 * doprnt.c (emacs_doprnt_1):
6134 * lisp.h (struct Lisp_Bit_Vector):
6138 2002-02-13 Ben Wing <ben@xemacs.org>
6140 * event-stream.c (reset_key_echo):
6141 * event-stream.c (reset_this_command_keys):
6142 * event-stream.c (execute_command_event):
6143 If console is dead as a result of C-x 5 0, then post-command stuff
6144 needs to be careful and do only non-console-specific stuff.
6146 2002-07-01 Mike Sperber <mike@xemacs.org>
6148 * process-unix.c (unix_send_process): Mark coding_outstream as
6149 non-open upon SIGPIPE.
6151 * event-stream.c (Fnext_event): Reorder switch cases to something
6154 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
6156 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
6157 Don't bogusly reinitialize ascii_character property.
6159 2002-07-08 Mike Sperber <mike@xemacs.org>
6161 * process.c (Fstart_process_internal): Do error checking before we
6162 fork off the child, so the child can't muck with the state of the
6165 2002-07-08 Mike Sperber <mike@xemacs.org>
6167 * ralloc.c (init_ralloc): Allocate properly for pdump.
6169 2002-06-12 Andy Piper <andy@xemacs.org>
6171 * glyphs.c (query_string_geometry): check the string.
6173 * glyphs-widget.c (widget_logical_unit_height): cope with nil
6176 2002-06-17 Jerry James <james@xemacs.org>
6178 * sysdll.c: Remove RTLD_GLOBAL initialization.
6179 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
6181 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
6183 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
6185 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
6187 * sysdep.c (sys_rename): Make sys_rename work for the case where
6188 Windows rename sets errno to EACCES if target file exists.
6190 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
6192 * device-msw.c (mswindows_handle_page_setup_dialog_box):
6193 Fix detection of metric units to work on Win95
6195 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
6197 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
6199 2002-04-25 Andy Piper <andy@xemacs.org>
6201 * redisplay.c (create_text_block): Remove extra comment trailer.
6203 2002-04-24 Andy Piper <andy@xemacs.org>
6205 * redisplay.c (create_text_block): Don't actually add propagation
6206 data if the line ends after we have added a glyph.
6208 2002-04-22 Andy Piper <andy@xemacs.org>
6210 * extents.c (extent_fragment_update): check for glyphs we have
6211 previously displayed.
6212 * extents.c (print_extent_1): warning removal.
6213 * extents.h: change prototype.
6214 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
6215 widths correctly for wide glyphs.
6216 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
6217 * redisplay.c (prop_type): add PROP_GLYPH.
6218 * redisplay.c (struct prop_block): add glyph type
6219 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
6220 to the propagation data.
6221 * redisplay.c (create_text_block): if there is a glyph in the
6222 propagation data use it to salt extent_fragment_update.
6223 * redisplay.c (create_string_text_block): ditto.
6225 2002-04-13 Nix <nix@esperi.demon.co.uk>
6227 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
6228 * redisplay-output.c (compare_runes): Compare them.
6229 * redisplay.c: Update copyright date.
6230 * redisplay.c (pos_data): Add need_baseline_computation field.
6231 * redisplay.c (add_glyph_rune): Update ascent, descent, and
6232 need_baseline_computation; zero yoffset. Set max_pixmap_height
6233 for all pixmaps, not just automatically positioned ones.
6234 * redisplay.c (calculate_yoffset): New, compute yoffset values.
6235 * redisplay.c (calculate_baseline): New, compute textual baseline.
6236 * redisplay.c (add_glyph_rune): Call them.
6237 * redisplay.c (create_text_block): Likewise.
6238 * redisplay.c (create_overlay_glyph_block): Likewise.
6239 * redisplay.c (add_margin_runes): Likewise.
6240 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
6242 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
6243 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
6244 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
6245 * redisplay-msw.c (mswindows_output_string): Likewise.
6246 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
6247 * redisplay-gtk.c (gtk_output_display_block): Likewise.
6248 * redisplay-x.c (x_output_display_block): Likewise.
6250 2002-03-28 Ben Wing <ben@xemacs.org>
6252 * redisplay.c: Fixed bug in redisplay
6253 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
6254 and down of the lines, since they're bigger than the line
6255 size. (It was seen most obviously when there's a horizontal scroll
6256 bar, e.g. do C-h a glyph or something like that.) The problem was
6257 that the glyph-contrib-p setting on glyphs was ignored even if it
6258 was set properly, which it wasn't until now.
6260 2002-04-24 Andy Piper <andy@xemacs.org>
6262 * lisp.h (Dynarr_end): Fix definition.
6264 2002-02-06 Adrian Aichner <adrian@xemacs.org>
6266 * redisplay.c (mark_redisplay): Remove call to
6267 update_frame_window_mirror.
6269 2001-11-15 Andy Piper <andy@xemacs.org>
6271 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
6274 2002-02-13 Andy Piper <andy@xemacs.org>
6276 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
6277 we did in fact enqueue the XM_MAPFRAME event.
6279 2002-01-15 Adrian Aichner <adrian@xemacs.org>
6281 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
6282 to fix problem switching between virtual desktops under virtuawin
6283 virtual window manager.
6285 2001-07-30 Adrian Aichner <adrian@xemacs.org>
6287 * event-msw.c: Typo fix.
6288 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
6289 magic XM_MAPFRAME event has been sent.
6291 2001-11-23 Andy Piper <andy@xemacs.org>
6293 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
6295 2001-11-21 Andy Piper <andy@xemacs.org>
6297 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
6298 mouse events outside the frame.
6300 2002-03-20 Andy Piper <andy@xemacs.org>
6302 * menubar-msw.c (mswindows_popup_menu): warning removal.
6303 * dialog-msw.c (dialog_popped_down): ditto.
6305 2001-12-11 Andy Piper <andy@xemacs.org>
6307 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
6308 * dialog-msw.c (mswindows_make_dialog_box_internal): set
6310 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
6311 * menubar-msw.c (mswindows_handle_wm_command): ditto.
6312 * menubar-msw.c (mswindows_popup_menu): ditto.
6314 2001-10-29 Andy Piper <andy@xemacs.org>
6316 * dialog-msw.c (handle_directory_dialog_box): quit if the user
6319 2002-01-03 Andy Piper <andy@xemacs.org>
6321 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
6325 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
6327 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
6328 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
6329 * device-msw.c (mswindows_handle_page_setup_dialog_box):
6330 Detect and handle case where machine is set up for metric units
6332 2002-04-02 Andy Piper <andy@xemacs.org>
6334 * dired-msw.c (mswindows_get_files):
6335 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
6336 completely handled by XEmacs. Suggested by Thomas Vogler
6337 <mail@thomas-vogler.de>.
6339 2001-11-14 Andy Piper <andy@xemacs.org>
6341 * nt.c (REG_ROOT): change registry key to XEmacs.
6343 2002-04-27 Andy Piper <andy@xemacs.org>
6345 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
6347 2002-04-26 Andy Piper <andy@xemacs.org>
6349 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
6352 2002-03-14 Mike Alexander <mta@arbortext.com>
6354 * event-msw.c (mswindows_unwait_process): New, remove process from
6356 * process-nt.c (nt_finalize_process_data): Call
6357 mswindows_unwait_process
6358 * console-msw.h: Declare mswindows_unwait_process
6360 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
6362 * editfns.c (Fdecode_time):
6363 (Fformat_time_string):
6364 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
6365 (make_time): Warning elimination (change arg name).
6367 2001-11-24 Andy Piper <andy@xemacs.org>
6369 * window.c (Fsplit_window): Doc return type.
6371 2002-04-01 Andy Piper <andy@xemacs.org>
6373 * emacs.c (Fkill_emacs): Only output message box in interactive
6376 2002-04-26 Andy Piper <andy@xemacs.org>
6378 * config.h.in: pull in 21.5.x change to stop alloca warnings under
6381 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
6383 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
6386 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
6388 * XEmacs 21.4.8 "Honest Recruiter" is released.
6390 2002-05-07 Nix <nix@esperi.demon.co.uk>
6392 Supersedes 2002-04-17 patch.
6394 * process.h (PROCESS_LIVE_P): Use the process status as
6395 evidence of health, not the state of the input stream.
6396 (PROCESS_READABLE_P): Say if the process is readable
6397 from. (It may be dead nonetheless.)
6398 (CHECK_READABLE_PROCESS): Test for that condition.
6400 * process.c (create_process): Use PROCESS_READABLE_P.
6401 (read_process_output, set_process_filter): Likewise.
6403 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
6404 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
6406 This code is #if 0'd, this is not the time to add new functions:
6408 * process.c (Fprocess_readable_p): Report readability status.
6409 * process.c (Qprocess_readable_p): New, associated symbol...
6410 * process.c (syms_of_process): ... initialize it.
6412 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
6414 * XEmacs 21.4.7 "Economic Science" is released.
6416 2002-04-17 Nix <nix@esperi.demon.co.uk>
6418 * process.h (PROCESS_LIVE_P): Use the process status as
6419 evidence of health, not the state of the input stream.
6421 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
6423 * sysdep.c (sys_siglist): change "signum" to "signal"
6425 2001-04-21 Martin Buchholz <martin@xemacs.org>
6427 * s/darwin.h: New file.
6428 Thanks to Greg Parker <gparker@cs.stanford.edu>.
6430 2002-04-23 Andreas Jaeger <aj@suse.de>
6432 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
6433 which use lib64 for 64-bit libs.
6434 (START_FILES): Likewise.
6436 2002-02-11 Mike Sperber <mike@xemacs.org>
6439 (x_IO_error_handler):
6440 (x_init_device): Temporarily keep device in static variable
6441 `device_being_initialized' so we can recover gracefully from
6442 internal XOpenDevice failure. (XOpenDevice is documented to
6443 return NULL on failure, but sometimes calls the IO error handler
6446 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
6448 * dired.c (Ffile_name_all_completions): Change documentation --
6449 remove reference to completion-ignored-extensions.
6450 * dired.c (vars_of_dired): Change documentation for
6451 completion-ignored-extensions -- remove reference to
6452 file-name-all-completions.
6454 2002-03-06 Jerry James <james@xemacs.org>
6456 * emodules.c (emodules_load): Fix multiple loading of same module.
6458 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
6459 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
6460 RTLD_LAZY to avoid incorrect symbol binding when using nested
6461 shared libraries on Solaris.
6463 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
6465 * fileio.c (Ffind_file_name_handler): Improve docstring.
6467 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
6469 * fns.c (Fmapconcat): Improve docstring.
6471 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
6473 * device-gtk.c: Add prototype for
6474 emacs_gtk_selection_clear_event_handle.
6475 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
6476 selection. Setup signal handler for "selection_clear_event"
6477 (emacs_gtk_selection_clear_event_handle).
6479 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
6480 other applications owning the clipboard (based on
6481 x_handle_selection_clear).
6483 2001-12-23 William M. Perry <wmperry@gnu.org>
6485 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
6487 2002-01-04 Martin Buchholz <martin@xemacs.org>
6489 * keymap.c (define_key_alternate_name): Parenthesize EQ.
6491 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
6493 * XEmacs 21.4.6 "Common Lisp" is released.
6495 2001-12-16 Torsten Duwe <duwe@caldera.de>
6497 * search.c (Freplace_match): Add missing sub-expression functionality.
6499 * buffer.c (decode_buffer): Add a check for pointer type to
6500 decode_buffer, before gcc's CSE optimization reorders a
6501 dereference in front of the allow_string test.
6503 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
6505 * window.c (window_loop): Fix bug that sometimes prevented
6506 window_loop() from iterating across multiple devices. Also, at
6507 Ben's request, changed infloop-detecting code to abort() instead
6508 of silently terminating window_loop().
6510 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
6512 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
6513 * editfns.c (make_time): New function.
6514 (Fencode_time): Use it instead of wasteful_word_to_lisp.
6515 * lisp.h (make_time): Prototype and comment it.
6516 * dired.c (wasteful_word_to_lisp): Deprecate.
6517 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
6519 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
6521 * fileio.c (auto_save_1): Use current coding system, not
6524 2001-11-13 Ben Wing <ben@xemacs.org>
6527 * window.c (window_truncation_on):
6528 * window.c (syms_of_window):
6529 truncate-partial-width-windows should respect the buffer being
6530 displayed, like other redisplay vars.
6532 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
6534 * event-stream.c (Fread_key_sequence): save current buffer.
6536 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
6538 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
6540 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
6542 * alloc.c (lcrecord_stats): Add space for types defined in modules.
6544 2001-10-26 Mike Alexander <mta@arbortext.com>
6546 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
6548 2001-10-25 Andy Piper <andy@xemacs.org>
6551 * dialog-msw.c (handle_directory_proc): new function.
6552 (handle_directory_dialog_box): new fucntion.
6553 (handle_file_dialog_box): use new directory dialog support.
6554 (mswindows_make_dialog_box_internal): ditto.
6555 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
6557 (mswindows_find_frame): make global.
6558 * fileio.c (Fexpand_file_name): build fix.
6559 * general-slots.h: add Qdirectory.
6560 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
6562 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
6563 cygwin not leaving win32 paths unchanged.
6564 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
6565 cygwin runtime to do path conversion.
6566 (Fmswindows_shell_execute): fix cygwin handling of URLs.
6567 (syms_of_win32): add new function.
6568 * window.c (window_loop): build fix.
6570 2001-10-15 Andy Piper <andy@xemacs.org>
6572 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
6574 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
6576 * XEmacs 21.4.5 "Civil Service" is released.
6578 2001-04-08 Danny Colascione <qtmstr@optonline.net>
6580 * glyphs-x.c: Force buffer-tab highlight update when moving the
6581 buffer, avoiding an ugly black border, used for keyboard focus
6582 indication, on a widget that can never have keyboard focus, the
6585 2001-08-30 Daiki Ueno <ueno@unixuser.org>
6587 * process-unix.c (unix_open_multicast_group): Remove too much
6588 conversion between host and network byte order.
6590 2001-09-10 Nix <nix@esperi.demon.co.uk>
6592 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
6593 before replacing them.
6595 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
6598 * src/window.c (undedicate_windows): Use it.
6599 * src/window.h: Add prototype.
6601 2001-09-17 Ben Wing <ben@xemacs.org>
6603 * fileio.c (normalize_filename):
6604 * fileio.c (Fexpand_file_name):
6605 Fix various C++ compile errors in Andy's recent code.
6607 * callint.c (Fcall_interactively):
6608 * editfns.c (Ftemp_directory):
6609 * editfns.c (Fuser_full_name):
6610 * emacs.c (argmatch):
6611 * lread.c (locate_file_map_suffixes):
6612 * redisplay-x.c (x_ring_bell):
6613 Fix sign-compare warnings.
6615 2001-09-08 Andy Piper <andy@xemacs.org>
6617 * fileio.c (normalize_filename): copied from nt.c
6618 * (Ffile_name_directory): enable win32 paths under cygwin.
6619 * (Ffile_name_nondirectory): ditto.
6620 * (directory_file_name): ditto.
6621 * (Fexpand_file_name): ditto.
6622 * (Ffile_truename): ditto.
6623 * (Fsubstitute_in_file_name): ditto.
6624 * (Ffile_name_absolute_p): ditto.
6625 * (Ffile_readable_p): ditto.
6627 2001-09-08 Andy Piper <andy@xemacs.org>
6629 * device-msw.c (mswindows_finish_init_device): remove dde
6631 * device-msw.c (mswindows_init_dde): factor out from
6632 mswindows_finish_init_device()
6633 * device-msw.c (init_mswindows_very_early): new function
6634 initialize but don't enable dde.
6635 * emacs.c (main_1): call init_mswindows_very_early.
6637 * event-msw.c (mswindows_dde_callback): only execute when we are
6639 * symsinit.h: declare init_mswindows_very_early.
6641 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6643 [sjt: This has been in 21.5 for months with no complaints.]
6645 * console.h (struct console_methods): Added flags member.
6646 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
6647 (CONMETH_IMPL_FLAG):
6648 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
6649 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
6651 * device.c (window_system_pixelated_geometry): Use the above macros.
6653 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
6654 implememntation flag.
6655 * device.h (DEVICE_DISPLAY_P): Use it.
6657 * frame.c (delete_frame_internal): Use the above macro.
6659 * redisplay.c (redisplay_device): Use it.
6660 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
6661 (redisplay_frame): Ditto.
6663 * device-msw.c (mswindows_device_implementation_flags): Removed.
6664 (msprinter_device_implementation_flags): Removed.
6665 (console_type_create_device_mswindows): Removed references to
6666 implementation_flags methods, set implementation flags here.
6667 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
6669 * device-gtk.c (gtk_device_implementation_flags): Removed method.
6670 (console_type_create_device_gtk): Removed method declaration.
6671 Added commented out statement which semantically matches the
6672 commented out statement in the above removed method.
6674 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
6676 The attached patch fixes a few warnings.
6678 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
6679 * src/frame-gtk.c: guard against GNOME calls in GTK only
6680 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
6681 * src/select-gtk.c: prototype lisp_to_time
6683 2001-06-08 Ben Wing <ben@xemacs.org>
6685 ------ gc-in-window-procedure fixes ------
6688 * alloc.c (struct post_gc_action):
6689 * alloc.c (register_post_gc_action):
6690 * alloc.c (run_post_gc_actions):
6691 * alloc.c (garbage_collect_1):
6692 Create "post-gc actions", to avoid those dreaded "GC during window
6693 procedure" problems.
6696 Abort, clean and simple, when GC in window procedure. We want
6697 to flush these puppies out.
6700 * glyphs-msw.c (finalize_destroy_window):
6701 * glyphs-msw.c (mswindows_finalize_image_instance):
6702 Use a post-gc action when destroying subwindows.
6705 Declare register_post_gc_action().
6708 * scrollbar-msw.c (unshow_that_mofo):
6709 Use a post-gc action when unshowing scrollbar windows, if in gc.
6711 * redisplay.c (mark_redisplay):
6712 Add comment about the utter evilness of what's going down here.
6714 ------ cygwin setitimer fixes ------
6716 * Makefile.in.in (sheap_objs):
6717 * Makefile.in.in (profile_objs):
6718 * Makefile.in.in (objs):
6719 Compile profile.c only when HAVE_SETITIMER.
6721 * nt.c (mswindows_sigset):
6722 * nt.c (mswindows_sighold):
6723 * nt.c (mswindows_sigrelse):
6724 * nt.c (mswindows_sigpause):
6725 * nt.c (mswindows_raise):
6726 * nt.c (close_file_data):
6730 Move setitimer() emulation to win32.c, because Cygwin needs it too.
6733 * profile.c (Fstart_profiling):
6734 * profile.c (Fstop_profiling):
6735 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
6736 instead of just plain setitimer().
6739 * signal.c (set_one_shot_timer):
6741 Define qxe_setitimer() as an encapsulation around setitimer() --
6742 call setitimer() directly unless Cygwin or MS Win, in which case
6743 we use our simulated version in win32.c.
6746 * systime.h (struct itimerval):
6747 * systime.h (ITIMER_REAL):
6748 Prototype mswindows_setitimer() and qxe_setitimer(). Long
6749 comment about "qxe" and the policy regarding encapsulation.
6752 * win32.c (setitimer_helper_proc):
6753 * win32.c (setitimer_helper_period):
6754 * win32.c (setitimer_helper):
6755 * win32.c (mswindows_setitimer):
6756 Move setitimer() emulation here, so Cygwin can use it.
6757 Rename a couple of functions and variables to be longer and more
6758 descriptive. In setitimer_helper_proc(), send the signal
6759 using either mswindows_raise() or (on Cygwin) kill(). If for
6760 some reason we are still getting lockups, we'll change the kill()
6761 to directly invoke the signal handlers.
6763 ------ windows shell fixes ------
6767 Comments about how these two files must die.
6769 * callproc.c (init_callproc):
6770 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
6771 not just COMSPEC. (more correct and closer to FSF.) Don't
6772 force a value for SHELL into the environment. (Comments added
6773 to explain why not.)
6775 * nt.c (init_user_info):
6776 Don't shove a fabricated SHELL into the environment. See above.
6778 2001-06-01 Ben Wing <ben@xemacs.org>
6780 * Makefile.in.in (ldflags):
6781 eliminate that pesky "defaulting to 00401000" warning.
6785 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
6787 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
6788 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
6790 2001-04-24 Jerry James <james@xemacs.org>
6792 * faces.h: pass parameters to Fadd_spec_to_specifier in the
6795 2001-06-01 Ben Wing <ben@xemacs.org>
6797 * event-msw.c (debug_mswin_messages):
6798 conditionalize the messages that were causing compile errors.
6799 (if only macros could generate #ifdef statements ...)
6801 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
6803 * XEmacs 21.4.4 "Artificial Intelligence" is released.
6805 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
6807 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
6809 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
6811 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
6812 * process-unix.c (unix_canonicalize_host_name):
6813 sysdep.c (init_system_name):
6814 Use it to conditionally support IPv6 canonicalization.
6816 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
6819 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
6821 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
6823 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
6824 attempt is made to scroll when no scroll bar is available.
6826 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
6828 * input-method-motif.c (XIM_delete_frame): New callback.
6829 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
6830 got deleted from 21.4.3.)
6832 2001-06-01 Ben Wing <ben@xemacs.org>
6834 * nt.c (mswindows_utime):
6835 * nt.c (close_file_data):
6836 fix off-by-one-indirection error.
6838 2001-05-29 Adrian Aichner <adrian@xemacs.org>
6840 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
6841 because set_file_times() now takes Lisp_Object path, instead of
6843 * nt.c: Include buffer.h.
6844 * nt.c (convert_from_time_t): New.
6845 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
6846 not set mtime correctly.
6847 * nt.h: Declare mswindows_utime().
6848 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
6849 path, instead of char*.
6850 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
6852 2001-05-30 Ben Wing <ben@xemacs.org>
6856 (Stephen, just take all event-msw.c patches. This includes
6857 the "iconify" fix below.)
6860 * event-msw.c (mswindows_dequeue_dispatch_event):
6861 * event-msw.c (assert):
6862 * event-msw.c (emacs_mswindows_quit_p):
6863 * event-msw.c (debug_mswin_messages):
6864 * event-msw.c (debug_output_mswin_message):
6865 * event-msw.c (vars_of_event_mswindows):
6866 Fix yet more problems with C-g handling.
6867 Implement debug-mswindows-events.
6869 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6871 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
6873 2001-05-23 Ben Wing <ben@xemacs.org>
6875 * event-msw.c (winsock_writer):
6876 * event-msw.c (winsock_closer):
6877 prior kludgy code was clobbering the buffer, thinking it was
6878 "unused" space to store an unneeded return value; instead, use
6879 the variable we've already got staring us in the face.
6881 2001-05-17 Andy Piper <andy@xemacs.org>
6883 * sysfile.h: don't assume that file attributes are boolean
6885 2001-05-23 Ben Wing <ben@xemacs.org>
6887 * device-msw.c (msprinter_init_device):
6888 signal an error rather than crash with an unavailable network
6889 printer (from Mike Alexander).
6892 * event-msw.c (struct winsock_stream):
6893 * event-msw.c (winsock_writer):
6894 * event-msw.c (winsock_closer):
6895 * event-msw.c (make_winsock_stream_1):
6896 cleanup headers. fix (hopefully) an error with data corruption
6897 when sending to a network connection.
6899 * fileio.c (Fexpand_file_name): Fix evil code that attempts
6900 to handle the ~user prefix by (a) always assuming we're referencing
6901 ourselves and not even verifying the user -- hence any file with
6902 a tilde as its first char is invalid! (b) if there wasn't a slash
6903 following the filename, the pointer was set *past* the end of
6904 file and we started reading from uninitialized memory. Now we
6905 simply treat these as files, always.
6907 * buffer.c (common_init_complex_vars_of_buffer): comment change.
6909 2001-05-19 Ben Wing <ben@xemacs.org>
6911 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
6914 * process-nt.c (vars_of_process_nt):
6915 remove unused mswindows-quote-process-args. rec for 21.4.
6917 2001-05-12 Ben Wing <ben@xemacs.org>
6919 * event-msw.c (mswindows_dde_callback):
6920 * event-msw.c (mswindows_wnd_proc):
6921 eliminate cygwin warnings.
6923 2001-05-06 Ben Wing <ben@xemacs.org>
6927 * device-msw.c (print_dialog_worker):
6928 * device-msw.c (mswindows_handle_print_dialog_box):
6929 * device-msw.c (syms_of_device_mswindows):
6930 * dialog-msw.c (mswindows_make_dialog_box_internal):
6932 implement printing the selection when it's selected.
6934 2001-05-20 Drazen Kacar <dave@arsdigita.com>
6936 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
6938 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
6940 * lisp.h (EMACS_INT_MAX): This should be one bit less since
6941 EMACS_INT is signed.
6943 2001-04-15 Michael Lausch <mla@1012surf.net>
6945 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
6946 gtk_widget_request_size() to give scrollbar >0 width for
6949 2001-05-30 William M. Perry <wmperry@gnu.org>
6951 * event-gtk.c: Check for buttons as modifier keys.
6953 2001-05-25 Craig Lanning <CraigL@Knology.net>
6956 Properly find MinGW's <process.h> inside Cygwin's restructured
6957 include directories. Don't try to include <cygwin/version.h>
6958 since we are dropping support for MinGW in versions of Cygwin
6961 Drop support for MinGW in versions of Cygwin before b21.
6963 Properly find MinGW's <process.h> inside Cygwin's restructured
6964 include directories.
6966 Drop support for MinGW in versions of Cygwin before b21.
6968 Even though a.out.h is no longer detected by configure, allow
6969 MinGW to use it until we figure out how to do the job with Win32.
6971 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
6973 * syntax.c (find_start_of_comment):
6974 Fix `unbalanced parentheses' bug when dealing with mixed comment
6975 styles in c++/java/etc. mode
6977 2001-05-29 Mike Alexander <mta@arbortext.com>
6979 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
6980 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
6982 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
6984 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
6986 2001-03-31 Mike Sperber <mike@xemacs.org>
6988 * search.c (Freplace_match): Support FSF-style specification of
6989 match subexpression when applied to a buffer.
6991 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
6993 * event-stream.c (is_scrollbar_event): add missing semicolon
6995 2001-05-22 Isaac Hollander <ysh@mindspring.com>
6997 * Makefile.in.in: Use TAR macro instead of hardcoding
6998 tar. Allows use of GNU tar instead of system tar
7000 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
7002 * event-stream.c (is_scrollbar_event): add missing semicolon
7004 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
7006 * XEmacs 21.4.3 "Academic Rigor" is released.
7008 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
7010 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
7012 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
7014 * buffer.c (Vcase_fold_search): Remove obsolete
7015 comment about non ASCII case-fold-search. This
7016 bug has been fixed by case-table changes.
7018 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
7020 * event-msw.c: Restore include of events-mod.h.
7022 2001-04-22 zhaoway <zw@debian.org>
7024 * event-stream.c (is_scrollbar_event): Noop returning 0 if
7027 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
7029 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
7031 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
7033 * mule-charset.c (Fmake_charset): Add missing else.
7035 2001-04-23 Ben Wing <ben@xemacs.org>
7037 * event-msw.c (FAKE_MOD_QUIT):
7038 * event-msw.c (mswindows_dequeue_dispatch_event):
7039 * event-msw.c (mswindows_wnd_proc):
7040 * event-msw.c (emacs_mswindows_quit_p):
7041 Get critical quit working.
7043 2001-05-05 Ben Wing <ben@xemacs.org>
7047 * device-msw.c (mswindows_get_default_margin):
7048 * frame-msw.c (mswindows_size_frame_internal):
7049 * frame-msw.c (msprinter_init_frame_1):
7050 * frame-msw.c (vars_of_frame_mswindows):
7051 Change top/bottom margin defaults to 0.5 inches.
7053 2001-05-01 Martin Buchholz <martin@xemacs.org>
7055 Fix link error with gcc 3.0 on Linux.
7056 * terminfo.c (UP): Remove.
7057 * terminfo.c (BC): Remove.
7058 * terminfo.c (PC): Remove.
7059 They weren't used, and in any case, these symbols should be
7060 defined in the *library*.
7062 2001-05-03 Martin Buchholz <martin@xemacs.org>
7064 * s/aix4.h: Fix crash with xlc -O3.
7065 Improve comment explaining how -O3 works.
7067 2001-04-15 Ben Wing <ben@xemacs.org>
7070 * event-stream.c (Fnext_event):
7071 * event-stream.c (is_scrollbar_event):
7072 * event-stream.c (execute_command_event):
7073 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
7074 crash' problem. His fix introduces other problems. We filter
7075 out scrollbar events specifically, making them somewhat invisible
7076 to command-building, and not appearing in `this-command-keys'.
7077 More work is still needed (see comments in event-stream.c), but
7078 this fixes all the major problems.
7080 2001-04-20 Ben Wing <ben@xemacs.org>
7082 * .cvsignore: Added stuff for Windows.
7084 2001-04-28 Ben Wing <ben@xemacs.org>
7086 * buffer.c (Ferase_buffer):
7087 * editfns.c (buffer_insert1):
7088 * editfns.c (Finsert_before_markers):
7089 * editfns.c (Finsert_string):
7090 * editfns.c (Finsert_char):
7091 * editfns.c (Fdelete_region):
7092 * editfns.c (Fwiden):
7093 * editfns.c (Fnarrow_to_region):
7094 remove bogus lines setting zmacs_region_stays to 0.
7096 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
7098 * process-unix.c (unix_open_network_stream): If connect() fails
7099 invalidate file descriptor after closing it.
7101 2001-03-08 Mike Alexander <mta@arbortext.com>
7103 * event-msw.c (mswindows_need_event_in_modal_loop):
7104 Don't dispatch a message if we didn't get one.
7105 (mswindows_need_event):
7106 Terminate the correct process when one exits instead of the first
7107 one on Vprocess_list and look for process termination when in
7108 mswindows_protect_modal_loop.
7110 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
7112 * XEmacs 21.4.1 "Copyleft" is released.
7114 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
7116 * input-method-motif.c (XIM_delete_frame): New callback.
7117 (XIM_init_frame): Register it.
7119 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
7121 * XEmacs 21.4.0 "Solid Vapor" is released.
7123 2001-04-15 Ben Wing <ben@xemacs.org>
7125 * cmdloop.c (call_command_loop):
7126 Fix braino in bit-rotting code.
7128 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
7130 * extents.c (Fset_extent_endpoints): Force creation of extent info
7131 in buffer_or_string.
7133 * extents.c (process_extents_for_insertion_mapper): Correctly
7134 check for open-open zero-length extents.
7136 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
7138 * lisp.h: New typedefs Memory_count, Element_count.
7141 Sign-compare warning elimination: several unsigned -> signed.
7142 Based on work by Ben Wing <ben@xemacs.org>.
7144 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
7146 * XEmacs 21.2.47 "Zephir" is released.
7148 2001-04-02 Jan Vroonhof <jan@xemacs.org>
7150 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
7152 2001-04-03 Mike Sperber <mike@xemacs.org>
7154 * search.c: Revert previous patch due because of release.
7156 2001-03-30 Ben Wing <ben@xemacs.org>
7159 Add missing killpg prototype.
7162 Add a comment about fixing problems when a new entry is added
7165 * frame-msw.c (mswindows_init_frame_1):
7166 Fix compile warnings.
7168 * menubar.c (vars_of_menubar):
7169 Provide `menu-accelerator-support' to indicate that we properly
7170 support %_ in menu specifications, so that package code can
7171 conditionalize on this (and remove %_ from menu specifications
7176 * scrollbar-msw.c (can_scroll):
7178 Fix handling of mouse wheel under Windows to follow standards --
7179 now scrolls window under pointer, not selected window.
7181 2001-03-31 Mike Sperber <mike@xemacs.org>
7183 * search.c (Freplace_match): Support FSF-style specification of
7184 match subexpression when applied to a buffer.
7186 2001-03-15 Martin Buchholz <martin@xemacs.org>
7188 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
7189 function to modify KEYMAP, so map over a copy of the hash table.
7191 2001-03-21 Martin Buchholz <martin@xemacs.org>
7193 * XEmacs 21.2.46 "Urania" is released.
7195 2001-03-20 Dan Holmsand <dan@eyebee.com>
7197 * realpath.c (xrealpath): Make file-truename work with symlinks to
7198 /cygdrive paths on cygwin. Always lowercase drive-letters on
7200 (cygwin_readlink): Don't try to find canonical filename unless
7203 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
7205 * ChangeLog: Log GTK merge.
7211 Revert gratuitous whitespace changes from GTK merge.
7213 * emacs.c: Document end of complex #ifdef @ l. 1495.
7216 2001-03-12 Andy Piper <andy@xemacs.org>
7218 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
7219 have to do likewise.
7221 2001-03-12 Andy Piper <andy@xemacs.org>
7223 * sysdep.c: we only support mingw now.
7225 2001-03-09 Andy Piper <andy@xemacs.org>
7227 * unexcw.c (copy_executable_and_dump_data_section): making approx
7228 overrun a warning only.
7230 2001-03-10 William M. Perry <wmperry@aventail.com>
7232 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
7233 satisfy Stephen's identical-after-cpp plea.
7235 2001-03-02 Ben Wing <ben@xemacs.org>
7238 * cmds.c (Fforward_char):
7242 Augment documentation of the most common motion commands to make
7243 note of the shifted-motion support.
7245 2001-03-02 Ben Wing <ben@xemacs.org>
7247 * nt.c (mswindows_fstat):
7248 * nt.c (mswindows_stat):
7249 * search.c (boyer_moore):
7250 Fix compile warnings under Windows.
7252 * sysdep.c (sys_readdir):
7253 Fix buggy filename-conversion code under Mule.
7255 2001-03-09 William M. Perry <wmperry@aventail.com>
7277 * redisplay-output.c:
7283 The Great GTK Merge.
7290 * emacs-widget-accessors.c:
7304 * native-gtk-toolbar.c:
7315 The Great GTK Merge: new files.
7317 2001-02-26 Ben Wing <ben@xemacs.org>
7319 Reapplied Lstream change.
7321 2001-02-26 Ben Wing <ben@xemacs.org>
7323 Undid the last change, since it is more controversial than I
7324 thought. It should be back in at some point soon.
7326 2001-02-25 Ben Wing <ben@xemacs.org>
7329 * callproc.c (Fold_call_process_internal):
7330 * event-msw.c (ntpipe_slurp_reader):
7331 * event-msw.c (ntpipe_shove_writer):
7332 * event-msw.c (winsock_reader):
7333 * event-msw.c (winsock_writer):
7335 * file-coding.c (detect_eol_type):
7336 * file-coding.c (detect_coding_type):
7337 * file-coding.c (determine_real_coding_system):
7338 * file-coding.c (Fdetect_coding_region):
7339 * file-coding.c (decoding_reader):
7340 * file-coding.c (decoding_writer):
7341 * file-coding.c (mule_decode):
7342 * file-coding.c (Fdecode_coding_region):
7343 * file-coding.c (encoding_reader):
7344 * file-coding.c (encoding_writer):
7345 * file-coding.c (mule_encode):
7346 * file-coding.c (Fencode_coding_region):
7347 * file-coding.c (detect_coding_sjis):
7348 * file-coding.c (decode_coding_sjis):
7349 * file-coding.c (encode_coding_sjis):
7350 * file-coding.c (detect_coding_big5):
7351 * file-coding.c (decode_coding_big5):
7352 * file-coding.c (encode_coding_big5):
7353 * file-coding.c (detect_coding_ucs4):
7354 * file-coding.c (decode_coding_ucs4):
7355 * file-coding.c (encode_coding_ucs4):
7356 * file-coding.c (detect_coding_utf8):
7357 * file-coding.c (decode_coding_utf8):
7358 * file-coding.c (encode_coding_utf8):
7359 * file-coding.c (detect_coding_iso2022):
7360 * file-coding.c (decode_coding_iso2022):
7361 * file-coding.c (encode_coding_iso2022):
7362 * file-coding.c (decode_coding_no_conversion):
7363 * file-coding.c (encode_coding_no_conversion):
7364 * glyphs-x.c (write_lisp_string_to_temp_file):
7365 * gpmevent.c (tty_get_foreign_selection):
7368 * lstream.c (Lstream_flush_out):
7369 * lstream.c (Lstream_adding):
7370 * lstream.c (Lstream_write_1):
7371 * lstream.c (Lstream_write):
7372 * lstream.c (Lstream_raw_read):
7373 * lstream.c (Lstream_read_more):
7374 * lstream.c (Lstream_read):
7375 * lstream.c (Lstream_unread):
7376 * lstream.c (Lstream_fputc):
7377 * lstream.c (stdio_reader):
7378 * lstream.c (stdio_writer):
7379 * lstream.c (filedesc_reader):
7380 * lstream.c (filedesc_writer):
7381 * lstream.c (lisp_string_reader):
7382 * lstream.c (struct fixed_buffer_stream):
7383 * lstream.c (make_fixed_buffer_input_stream):
7384 * lstream.c (make_fixed_buffer_output_stream):
7385 * lstream.c (fixed_buffer_reader):
7386 * lstream.c (fixed_buffer_writer):
7387 * lstream.c (struct resizing_buffer_stream):
7388 * lstream.c (resizing_buffer_writer):
7389 * lstream.c (dynarr_writer):
7390 * lstream.c (lisp_buffer_reader):
7391 * lstream.c (lisp_buffer_writer):
7393 * lstream.h (lstream_implementation):
7394 * lstream.h (struct lstream):
7396 * process-nt.c (nt_send_process):
7397 * process-unix.c (unix_send_process):
7399 Correct Lstream lossage due to mixing of signed and unsigned
7400 quantities. All Lstream uses of size_t and ssize_t are now a
7401 single signed data type Lstream_data_count. This fixes problems
7402 under Windows with sending large quantities of data to a process,
7403 and may well fix other subtle bugs.
7405 2001-02-23 Martin Buchholz <martin@xemacs.org>
7407 * XEmacs 21.2.45 "Thelxepeia" is released.
7409 2001-02-21 Martin Buchholz <martin@xemacs.org>
7411 * lisp-union.h (XSETINT):
7414 Reverse previous change of 2001-02-06.
7416 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
7418 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
7420 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
7421 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
7422 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
7423 * regex.c (POS_AS_IN_BUFFER): removed
7424 * regex.c (re_search_2):
7425 * regex.c (re_match_2):
7426 Don't use an offset of 1 when calculating buffer positions, since
7427 `BI_BUF_BEGV' does it already.
7429 2001-02-18 Wim Dumon <wim@easics.be>
7431 * insdel.c (prepare_to_modify_buffer): Also check for
7432 supersession when clash-detection is enabled.
7434 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
7436 * regex.c (re_match_2_internal):
7437 Convert temp characters from 'const unsigned char' to 're_char'.
7438 Fix crashing bug with extended characters under mule.
7439 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
7440 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
7441 font-lock, pdump, and new syntax-table code.
7442 * syntax.c (find_start_of_comment):
7443 (find_end_of_comment):
7445 Fix crashing bugs involving moving beyond end of buffer.
7446 * syntax.c (find_start_of_comment):
7447 Fixed logic to allow proper detection of cases where the same
7448 character is used to end both a two-char comment start and a
7449 two-char comment end sequence. Fixes `(forward-comment -1)'.
7450 * syntax.c (find_start_of_comment):
7451 Return position just past last comment-end character for all cases
7452 (previously was only done for two-char comment-end sequences).
7453 * syntax.c (forward-comment):
7454 Take value returned from `find_end_of_comment', rather than
7456 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
7457 Properly deal with BUFFERP (syntax_cache.object)
7459 2001-02-17 Martin Buchholz <martin@xemacs.org>
7461 * alloc.c (Fgarbage_collect):
7462 * alloc.c (make_bit_vector_from_byte_vector):
7463 -Wsign-compare-correctness.
7465 2001-02-16 Martin Buchholz <martin@xemacs.org>
7467 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
7468 (XSETCHAR): Likewise.
7469 (XSETOBJ): Likewise.
7471 2001-02-15 Martin Buchholz <martin@xemacs.org>
7473 * mule-canna.c (canna-func-delete_previous):
7474 Rename to canna-func-delete-previous.
7476 2001-02-14 Martin Buchholz <martin@xemacs.org>
7478 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
7480 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
7482 * font-lock.c (find_context): Fix C++ compile errors introduced by
7485 2001-02-13 Martin Buchholz <martin@xemacs.org>
7487 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
7488 pragma, but earlier ones barf on the same pragma.
7490 2001-02-06 Mike Sperber <mike@xemacs.org>
7492 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
7493 `configure-mule-lisp-directory'.
7495 2001-02-12 Martin Buchholz <martin@xemacs.org>
7497 Make sure dump-id.c is compiled in the same way as other .c's.
7498 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
7499 * dump-id.h: Remove.
7500 * emacs.c: Move dump-id.h into dumper.h.
7501 * dumper.h: Move dump-id.h into dumper.h.
7503 Use standard .c.o rule for building dump-id.o.
7504 Remove preprocessor flags from link command.
7505 Add dump-id.o to ${otherobjs} if PDUMP.
7507 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
7509 Port FSF 20.7 syntax table improvements.
7513 Fixups for new syntax table stuff.
7514 * dired.c: Include syntax.c.
7515 (Fdirectory_files): Initialize regex_match_object and
7517 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
7518 and Fget_char_property.
7520 Use ported FSF 20.7 syntax table improvements.
7525 2001-02-09 Martin Buchholz <martin@xemacs.org>
7527 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
7528 Unixware's enum boolean from sys/types.h.
7530 2001-02-10 Martin Buchholz <martin@xemacs.org>
7532 Fix support for building with latest Purify.
7533 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
7534 (PURIFY_FLAGS): Likewise.
7536 2001-02-09 Martin Buchholz <martin@xemacs.org>
7538 * fileio.c (lisp_string_set_file_times): New.
7539 * fileio.c (Fcopy_file): Use it.
7541 (copy-file filename non-ascii-filename t t)
7542 ==> No such file or directory, non-ascii-filename
7544 2001-02-10 Martin Buchholz <martin@xemacs.org>
7546 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
7547 USHRT_MAX seems clearer than ~0 anyways.
7549 2001-02-09 Martin Buchholz <martin@xemacs.org>
7551 dumper improvements. Inspired by Olivier.
7552 * dumper.c (pdump_max_align): New.
7553 * dumper.c (pdump_add_entry): Use pdump_max_align.
7554 * dumper.c (pdump_get_entry_list): Likewise.
7555 * dumper.c (pdump_scan_by_alignment): Likewise.
7556 Don't iterate through unnecessary alignments.
7557 * dumper.c (pdump_file_get): No need to align result of malloc().
7558 * dumper.c (pdump_mallocadr): Remove.
7559 The result of malloc() is guaranteed to be maximally aligned.
7560 * dumper.c: s/elmt/elt/g;
7561 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
7562 * dumper.c (pdump_alert_undump_object): Likewise.
7563 * dumper.c (pdump_align_table):
7564 Don't support alignments > 64.
7565 Store ALIGNOF's, not shift counts, in table.
7567 2001-02-09 Martin Buchholz <martin@xemacs.org>
7569 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
7570 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
7571 * systime.h: Use HAVE_UTIME.
7572 * sysdep.c (struct utimbuf): Remove.
7573 * sysdep.c (set_file_times): Prefer utime() to utimes().
7574 * config.h.in (HAVE_UTIME): New.
7575 * config.h.in (HAVE_UTIME_H): Remove.
7576 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
7578 2001-02-09 Martin Buchholz <martin@xemacs.org>
7580 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
7582 2001-02-08 Martin Buchholz <martin@xemacs.org>
7584 * s/irix6-0.h: Use the standard system memmove, not bcopy.
7586 2001-02-08 Martin Buchholz <martin@xemacs.org>
7588 * XEmacs 21.2.44 "Thalia" is released.
7590 2001-02-06 Martin Buchholz <martin@xemacs.org>
7592 Fixes crashes in kill-emacs on some systems.
7593 * process-unix.c (unix_kill_child_process):
7594 It's OK for kill() to fail with ESRCH.
7596 2001-02-07 Martin Buchholz <martin@xemacs.org>
7598 Contortions to make .gdbinit tricks work on most systems.
7599 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
7600 * alloc.c (dbg_valmask): Make non-const.
7601 * alloc.c (dbg_typemask): Make non-const.
7602 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
7603 * alloc.c (dbg_valbits): Make non-const.
7604 * alloc.c (dbg_gctypebits): Make non-const.
7605 * .gdbinit (decode_object): Make it work with AIX cc.
7607 2001-02-06 Martin Buchholz <martin@xemacs.org>
7609 * elhash.c (make_general_lisp_hash_table):
7610 Use simpler and more efficient calloc to clear entries.
7612 2001-02-07 Martin Buchholz <martin@xemacs.org>
7614 * window.c (window_scroll): Work around an AIX C compiler bug.
7615 Fixes 'scroll-up' does nothing problem with xlC.
7617 2001-02-05 Martin Buchholz <martin@xemacs.org>
7619 * .gdbinit: Remove obsolete comment.
7621 2001-01-31 Mike Alexander <mta@arbortext.com>
7623 * select.c (Fown_selection_internal): Set owned_p for device
7626 2001-02-01 Martin Buchholz <martin@xemacs.org>
7629 "not" cannot be used as a macro name as it is an operator in C++
7630 * config.h.in: Stop #defining `not'.
7631 * chartab.c (check_category_char): not ==> not_p
7632 * chartab.h: Likewise.
7633 * regex.c (re_match_2_internal): Likewise.
7635 2001-02-02 Martin Buchholz <martin@xemacs.org>
7637 * lisp-disunion.h: Fix up comments.
7639 2001-01-31 Martin Buchholz <martin@xemacs.org>
7641 * keymap.c (define_key_check_and_coerce_keysym):
7643 Support mouse-6 and mouse-7 bindings in the obvious way.
7645 2001-02-01 Martin Buchholz <martin@xemacs.org>
7647 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
7649 2001-01-30 Martin Buchholz <martin@xemacs.org>
7651 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
7652 Previous patch missed DEFVAR_INT_MAGIC.
7653 Make sure future DEFVAR_foo use correct types.
7654 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
7655 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
7656 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
7657 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
7658 * (DEFVAR_INT): Likewise.
7659 * redisplay.c (vertical_clip): Should be of type Fixnum.
7660 * redisplay.c (horizontal_clip): Likewise.
7661 * lisp.h (dump_add_opaque_int): New.
7662 (dump_add_opaque_fixnum): New.
7664 2001-01-29 Andy Piper <andy@xemacs.org>
7666 * glyphs-widget.c (check_valid_int_or_function): allow symbols
7667 since they can be eval'ed
7669 2001-01-29 Martin Buchholz <martin@xemacs.org>
7671 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
7672 Oops, XEmacs redefines `class'. Use `typename' instead.
7674 2001-01-28 Martin Buchholz <martin@xemacs.org>
7676 * dumper.c: Fix C++ compile errors.
7678 2001-01-29 Martin Buchholz <martin@xemacs.org>
7680 * tparam.c: Use correct prototypes.
7682 2001-01-28 Martin Buchholz <martin@xemacs.org>
7684 * sysproc.h: #include util.h for NetBSD's openpty.
7686 2001-01-27 Martin Buchholz <martin@xemacs.org>
7688 More 64-bit correctness.
7689 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
7690 Use a typedef `fixnum' for the type used for DEFVAR_INT.
7692 This finally finishes the 64-bit SGI port.
7693 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
7694 * symbols.c: Fix up comments and type casts.
7695 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
7696 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
7697 * symeval.h (Fixnum): New type.
7698 * symeval.h (symbol_value_type): Fix up comment.
7714 * mule-canna.c: A million DEFVAR_INTs here...
7715 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
7728 s/int/Fixnum/g in DEFVAR_INT declarations.
7730 2001-01-26 Martin Buchholz <martin@xemacs.org>
7732 Port pdump to SGI alignment-sensitive environment.
7733 Lisp Object sizeof methods now return aligned sizes. Rely on that.
7734 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
7736 Define and use aligned reading and writing macros.
7737 Use buffered stdio instead of posix i/o for faster dumping.
7738 Eliminate kludgy 256 byte space for header.
7739 Read and write from dump file using structs for alignment safety.
7740 * dumper.c (pdump_align_stream): New.
7741 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
7742 * dumper.c (PDUMP_READ_ALIGNED): New.
7743 * dumper.c (PDUMP_WRITE_ALIGNED): New.
7744 * dumper.c (pdump_static_Lisp_Object): New struct.
7745 * dumper.c (pdump_static_pointer): New struct.
7746 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
7747 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
7748 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
7749 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
7751 * dumper.c (pdump_backtrace):
7752 * dumper.c (pdump_get_indirect_count):
7753 * dumper.c (pdump_register_object):
7754 * dumper.c (pdump_register_struct):
7755 * dumper.c (pdump_reloc_one):
7756 * dumper.c (pdump_scan_by_alignment):
7757 * dumper.c (pdump_dump_from_root_struct_ptrs):
7758 * dumper.c (pdump_dump_opaques):
7759 * dumper.c (pdump_dump_rtables):
7760 * dumper.c (pdump_dump_from_root_objects):
7762 * dumper.c (pdump_load_finish):
7763 Use aligned reading and writing.
7765 * dumper.c (pdump_free): Make static.
7766 * dumper.c (pdump_hFile): Likewise.
7767 * dumper.c (pdump_hMap): Likewise.
7769 2001-01-26 Martin Buchholz <martin@xemacs.org>
7771 * XEmacs 21.2.43 "Terspichore" is released.
7773 2001-01-25 Martin Buchholz <martin@xemacs.org>
7775 Type fiddling for window_config.saved_windows_count
7776 * window.c (struct window_config):
7777 Make saved_windows_count member unsigned.
7778 * window.c (sizeof_window_config_for_n_windows):
7779 Make parameter unsigned.
7780 * window.c (mark_window_config):
7781 * window.c (window_config_equal):
7782 * window.c (free_window_configuration):
7783 * window.c (Fset_window_configuration):
7784 * window.c (count_windows):
7785 * window.c (Fcurrent_window_configuration):
7786 * window.c (reinit_vars_of_window):
7787 Update all callers and users.
7789 2001-01-25 Martin Buchholz <martin@xemacs.org>
7791 Alignment correctness for flexible arrays.
7792 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
7793 Make alignment-correct. Add interesting comments.
7794 * alloc.c (size_vector):
7795 * alloc.c (make_vector_internal):
7796 * alloc.c (make_bit_vector_internal):
7797 * alloc.c (sweep_bit_vectors_1):
7798 * fns.c (size_bit_vector):
7799 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
7800 * window.c (sizeof_window_config_for_n_windows):
7801 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
7803 2001-01-24 Martin Buchholz <martin@xemacs.org>
7805 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
7807 2001-01-23 Andy Piper <andy@xemacs.org>
7809 * select.c (Fown_selection_internal): pass owned_p
7811 * select-msw.c (mswindows_own_selection): New Signature.
7813 * console.h (struct console_methods): add owned_p to
7816 * select-x.c (x_own_selection): pass owned_p
7817 (hack_motif_clipboard_selection): use owned_p
7818 (vars_of_select_x): new variable -
7819 x_selection_strict_motif_ownership.
7821 2001-01-23 Martin Buchholz <martin@xemacs.org>
7823 * specifier.h (specifier_data_offset): Remove pointless parens.
7824 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
7826 2001-01-24 Martin Buchholz <martin@xemacs.org>
7828 Make Lisp_Object sizeof methods be alignment-correct.
7829 pdump must restore objects to the same alignment as the C compiler
7830 assumes. It really matters on SGIs.
7831 * lstream.c (aligned_sizeof_lstream): New.
7832 (sizeof_lstream): Use aligned_sizeof_lstream.
7833 (Lstream_new): Likewise.
7834 * opaque.c (aligned_sizeof_opaque): New.
7835 (sizeof_opaque): Use aligned_sizeof_opaque.
7836 (make_opaque): Likewise.
7837 * specifier.c (aligned_sizeof_specifier): New.
7838 (sizeof_specifier): Use aligned_sizeof_specifier.
7839 (make_specifier_internal): Likewise.
7841 2001-01-23 Martin Buchholz <martin@xemacs.org>
7843 * lstream.h (struct lstream): Use max_align_t for trailing data.
7844 * specifier.h (struct Lisp_Specifier): Likewise.
7846 2001-01-22 Martin Buchholz <martin@xemacs.org>
7848 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
7849 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
7850 (CCL_SUSPEND): Likewise.
7851 (CCL_INVALID_CMD): Likewise.
7852 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
7853 (ccl_driver): Likewise.
7854 (CCL_WRITE_CHAR): Macro hygiene.
7855 (CCL_WRITE_STRING): Macro hygiene.
7857 2001-01-22 Martin Buchholz <martin@xemacs.org>
7859 Port "portable" dumper to SunOS 4 and HP-UX.
7860 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
7861 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
7862 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
7864 2001-01-22 Martin Buchholz <martin@xemacs.org>
7866 * lisp.h (ALIGNOF): A better definition for C++.
7868 2001-01-20 Martin Buchholz <martin@xemacs.org>
7871 Fix printf warnings: int format, long int arg.
7872 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
7873 (PUSH_FAILURE_POINT): Use correct printf formats.
7874 (POP_FAILURE_POINT): Use correct printf formats.
7875 Use do {...} while (0)
7877 2001-01-20 Martin Buchholz <martin@xemacs.org>
7879 * XEmacs 21.2.42 "Poseidon" is released.
7881 2001-01-20 Martin Buchholz <martin@xemacs.org>
7883 * console-x.h: typo fix du jour. Remove #if 0'ed code.
7885 2001-01-19 Martin Buchholz <martin@xemacs.org>
7887 De-kludgify FIXED_TYPE free list frobbing.
7888 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
7889 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
7890 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
7891 * alloc.c (Lisp_Free): New pseudo lisp object definition.
7892 * alloc.c (LRECORD_FREE_P): New.
7893 * alloc.c (MARK_LRECORD_AS_FREE): New.
7894 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
7895 * alloc.c (STRUCT_FREE_P): Deleted.
7896 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
7897 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
7898 * alloc.c (STRING_CHARS_FREE_P): New.
7899 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
7900 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
7901 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
7902 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
7903 * alloc.c (resize_string): Use new definitions.
7904 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
7905 * alloc.c (verify_string_chars_integrity): Use new definitions.
7906 * alloc.c (compact_string_chars): Use new definitions.
7907 * alloc.c: Update monster comments.
7908 * lrecord.h (lrecord_type): Add some new lrecord types for
7911 2001-01-18 Martin Buchholz <martin@xemacs.org>
7913 Improve alignment hackery.
7914 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
7915 (max_align_t): Moved from opaque.h - general purpose.
7916 (ALIGN_PTR): Use size_t, not long.
7917 * opaque.h (max_align_t): Move to lisp.h.
7919 2001-01-18 Norbert Koch <nk@LF.net>
7921 * gui.h: Fix and add prototypes to fix build problems.
7923 2001-01-18 Martin Buchholz <martin@xemacs.org>
7925 temacs is going away, so `dump-temacs' is now a bad name.
7926 * .dbxrc (dump-temacs): Rename to `dmp'.
7927 * .gdbinit (dump-temacs): Rename to `dmp'.
7929 2001-01-17 Andy Piper <andy@xemacs.org>
7931 * glyphs.c (print_image_instance): comment to make martin happy.
7933 * glyphs-x.c (x_redisplay_widget): update faces after a frame
7936 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
7938 (mswindows_tab_control_redisplay): warning suppression.
7940 * glyphs-widget.c (widget_update): re-write to cope with updated
7942 (widget_instantiate): use new gui_item functions.
7943 (tab_control_update): deleted.
7944 (progress_gauge_update): deleted.
7945 (image_instantiator_progress_guage): take out update reference.
7946 (image_instantiator_tree_view): ditto.
7947 (image_instantiator_tab_control): ditto.
7949 * gui.c (widget_gui_parse_item_keywords): new function. Do things
7951 (gui_item_add_keyval_pair): re-write to cope with descriptors and
7952 return whether anything was changed.
7953 (update_gui_item_keywords): as it sounds.
7955 * gui.h: declare widget_gui_parse_item_keywords.
7957 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
7958 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
7960 2001-01-17 Martin Buchholz <martin@xemacs.org>
7962 * XEmacs 21.2.41 "Polyhymnia" is released.
7964 2001-01-16 Didier Verna <didier@xemacs.org>
7966 * glyphs.c (image_instantiate): don't use fallbacks when
7967 instantiating a face's background pixmap by inheritance.
7969 2001-01-14 Mike Sperber <mike@xemacs.org>
7971 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
7972 Conditionalize accordingly.
7974 2001-01-16 Martin Buchholz <martin@xemacs.org>
7976 * dumper.c (pdump_file_get): Fix a compiler warning.
7978 2001-01-15 Martin Buchholz <martin@xemacs.org>
7980 Make Purify happy when pdumping.
7981 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
7982 iniitalizing all bits of new lisp object memory.
7983 * symbols.c (Fmake_local_variable): Likewise.
7984 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
7985 * symbols.c (Fdefvaralias): Likewise.
7986 * mule-charset.c (vars_of_mule_charset): Likewise.
7988 2001-01-15 Martin Buchholz <martin@xemacs.org>
7989 Add the `-nd' flag when running pre-dump operations under the debugger.
7990 * .dbxrc (run-temacs): Add `-nd'.
7991 * .dbxrc (update-elc): Likewise.
7992 * .dbxrc (dump-temacs): Likewise.
7993 * .gdbinit (run-temacs): Likewise.
7994 * .gdbinit (check-temacs): Likewise.
7995 * .gdbinit (update-elc): Likewise.
7996 * .gdbinit (dump-temacs): Likewise.
7998 2001-01-14 Martin Buchholz <martin@xemacs.org>
8000 Allow building 64-bit executables on AIX with GNU malloc, e.g.
8001 export OBJECT_MODE=64
8002 configure --pdump --use-union-type=no
8003 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
8004 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
8006 * miscplay.c (sndcnv8U_2mono):
8007 Avoid two uses of `++' in the same expression.
8008 Suppresses a GCC warning.
8010 2001-01-13 Martin Buchholz <martin@xemacs.org>
8012 Make sure future compilers don't miscompile alloc.c.
8014 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
8015 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
8017 2001-01-12 Martin Buchholz <martin@xemacs.org>
8019 * dumper.c: A little post-pdump-rename comment fixup.
8021 2001-01-09 Jerry James <james@eecs.ku.edu>
8023 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
8025 2001-01-13 Martin Buchholz <martin@xemacs.org>
8027 * *.[ch]: Globally rename symbols using the following `pdump-rename'
8031 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
8034 replace_symbol pdump_wire_lists pdump_weak_object_chains
8035 replace_symbol pdump_wire_list dump_add_weak_object_chain
8037 replace_symbol pdump_wires pdump_root_objects
8038 replace_symbol pdump_wire dump_add_root_object
8040 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
8041 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
8043 replace_symbol dumpstructinfos pdump_root_struct_ptrs
8044 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
8045 replace_symbol dumpstructinfo pdump_root_struct_ptr
8046 replace_symbol dumpstruct dump_add_root_struct_ptr
8048 replace_symbol dumpopaque dump_add_opaque
8049 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
8050 replace_symbol dumpopaqueinfos pdump_opaques
8051 replace_symbol dumpopaqueinfo pdump_opaque
8053 replace_symbol nb_structdump nb_root_struct_ptrs
8054 replace_symbol nb_opaquedump nb_opaques
8056 replace_symbol align_table pdump_align_table
8057 replace_symbol dump_header pdump_header
8059 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
8060 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
8063 2001-01-12 Martin Buchholz <martin@xemacs.org>
8065 * s/aix4.h: Keep the C for AIX compiler from overaggressively
8066 optimizing bytecount_to_charcount().
8068 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
8071 (HAVE_DLFCN_H): Removed.
8072 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
8074 2001-01-06 Martin Buchholz <martin@xemacs.org>
8076 Portable dumper maintainability improvements.
8077 * alloc.c (staticpro):
8078 * alloc.c (staticpro_nodump):
8079 * alloc.c (garbage_collect_1):
8080 * alloc.c (reinit_alloc_once_early):
8081 * alloc.c (init_alloc_once_early):
8082 * alloc.c: Move dumper functions to alloc.c.
8083 * dumper.c (pdump_backtrace):
8084 * dumper.c (pdump_dump_structs):
8085 * dumper.c (pdump_dump_opaques):
8086 * dumper.c (pdump_dump_rtables):
8087 * dumper.c (pdump_dump_wired):
8089 * dumper.c (pdump_load_check):
8090 * dumper.c (pdump_load_finish):
8091 * dumper.c (pdump_file_unmap):
8092 * dumper.c (pdump_file_get):
8093 * dumper.c (pdump_resource_free):
8094 * dumper.c (pdump_resource_get):
8095 * dumper.c (pdump_file_free):
8096 * dumper.c (pdump_file_try):
8097 * dumper.c (pdump_load):
8098 Remove fixed size limits on staticpro(), staticpro_nodump(),
8099 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
8100 Remove custom code for dumping lrecord_implementations_table - use
8102 Remove (most of the) custom code for dumping staticpros - dump it
8103 like any other dynarr.
8105 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
8106 * dumper.c: Moved functions from alloc.c.
8107 * alloc.c (dumpstruct): Moved to dumper.c.
8108 * alloc.c (dumpopaque): Likewise.
8109 * alloc.c (pdump_wire): Likewise.
8110 * alloc.c (pdump_wire_list): Likewise.
8112 * lisp.h (Dynarr_sizeof): New.
8113 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
8114 * lisp.h (Dynarr_end): New. Very slightly C++oid.
8115 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
8117 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
8118 * lisp.h (dumpopaque): ditto.
8119 * lisp.h (pdump_wire): ditto.
8120 * lisp.h (pdump_wire_list): ditto.
8122 2001-01-09 Martin Buchholz <martin@xemacs.org>
8124 * make-src-depend (PrintPatternDeps):
8125 Use `sort' to make output independent of perl version.
8127 2001-01-08 Martin Buchholz <martin@xemacs.org>
8130 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
8131 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
8133 2001-01-03 Didier Verna <didier@xemacs.org>
8135 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
8136 that `focus_frame' is alive before thinking of calling
8137 `redisplay_redraw_cursor' on it.
8139 2001-01-08 Martin Buchholz <martin@xemacs.org>
8141 * XEmacs 21.2.40 is released.
8143 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
8145 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
8147 2001-01-06 Martin Buchholz <martin@xemacs.org>
8149 * alloc.c (dbg_valmask): Make const.
8150 * alloc.c (dbg_typemask): Make const.
8151 * alloc.c (dbg_USE_UNION_TYPE): Make const.
8152 * alloc.c (dbg_valbits): Make const.
8153 * alloc.c (dbg_gctypebits): Make const.
8155 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
8157 * redisplay-x.c (x_bevel_area):
8158 redisplay.h (struct rune):
8159 Typo fixes in comments.
8161 2001-01-05 Andy Piper <andy@xemacs.org>
8163 * glyphs-x.c (x_redisplay_widget): use size changed for offset
8166 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
8168 2001-01-05 Martin Buchholz <martin@xemacs.org>
8170 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
8172 * mule-ccl.c (stack_idx_of_map_multiple):
8173 Non const global data must not be initialized!
8174 Found by MIYASHITA Hisashi.
8176 2001-01-02 Andy Piper <andy@xemacs.org>
8178 * frame.c (change_frame_size): make sure frame size is always
8181 * glyphs.c (image_instance_layout): minor code reuse.
8183 * window.c (Fcurrent_window_configuration): revert previous
8186 2001-01-02 Martin Buchholz <martin@xemacs.org>
8189 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
8191 2000-12-31 Andy Piper <andy@xemacs.org>
8193 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
8194 when widget gets unmapped.
8196 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
8197 function. Make sure widgets losing focus don't just drop it.
8198 (handle_focus_event_1): record the widget with focus.
8200 2000-12-31 Andy Piper <andy@xemacs.org>
8202 * window.c (allocate_window): use
8203 make_image_instance_cache_hash_table.
8204 (make_dummy_parent): ditto.
8205 (Fset_window_configuration): ditto.
8207 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
8209 * glyphs.c (process_image_string_instantiator): use
8211 (get_image_instantiator_governing_domain): ditto.
8212 (normalize_image_instantiator): ditto.
8213 (instantiate_image_instantiator): ditto.
8214 (make_image_instance_1): ditto.
8215 (image_instantiate): ditto. Key on glyph *and* instantiator type.
8216 (instantiator_eq_equal): new function for use with instance hash
8218 (instantiator_eq_hash): ditto.
8219 (make_image_instance_cache_hash_table): create a suitable hash
8220 table for storing image instances.
8222 * elhash.h (hash_table_weakness): new internal weakness type
8223 HASH_TABLE_KEY_CAR_VALUE_WEAK.
8224 declare new functions.
8226 * elhash.c (finish_marking_weak_hash_tables): introduce yet
8227 another weakness type for glyphs.
8228 (make_standard_lisp_hash_table): new function split out from
8229 make_general_lisp_hash_table.
8230 (make_lisp_hash_table): call make_standard_lisp_hash_table.
8231 (hash_table_instantiate): ditto.
8232 (Fmake_hash_table): ditto.
8234 2000-12-31 Martin Buchholz <martin@xemacs.org>
8236 * XEmacs 21.2.39 is released.
8238 2000-12-29 Andy Piper <andy@xemacs.org>
8240 * menubar.c (menubar_visible_p_changed): signal the frame changed.
8242 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
8243 the frame has changed so that we pick up geometry changes such as
8246 2000-12-28 Andy Piper <andy@xemacs.org>
8248 * lastfile.c (my_ebss): make a char array so we can pad the
8249 bss. Fixes cygwin unexec.
8251 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
8253 2000-12-26 Andy Piper <andy@xemacs.org>
8255 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
8256 comments and try and be more precise about a non-/SIGIO world.
8257 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
8260 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
8261 we don't normalize to zero width or height.
8263 2000-12-24 Andy Piper <andy@xemacs.org>
8265 * Makefile.in.in (ldflags): add -mwindows when appropriate.
8267 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
8269 * s/sco5.h: SCO 5 has pty support.
8271 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
8273 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
8274 input-method-xlib.c contains whole contents of input-method-xfs.c,
8275 so we can use input-method-xlib.c's code for USE_XFONTSET
8277 * input-method-xfs.c: removed.
8279 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
8281 * file-coding.h (enum coding_category_type): reorder enumerators to
8282 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
8283 (now one greater than largest real coding_category_type enumerator).
8284 * file-coding.c (coding_category_symbol, coding_category_by_priority,
8285 coding_category_system, fcd_descriptihon_1, decode_coding_category,
8286 Fcoding_category_list, Fset_coding_priority_list,
8287 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
8288 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
8290 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
8292 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
8293 * redisplay-output.c (redisplay_output_window): Clear top of window
8294 when face is changed.
8295 * redisplay-x.c (x_redraw_exposed_window): Call
8296 redisplay_clear_top_of_window.
8297 * redisplay.h: Publish redisplay_clear_top_of_window.
8299 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
8301 * buffer.c (Fkill_buffer): Map over all devices.
8302 * window.c (window_loop): Remove UNSHOW_BUFFER code.
8303 (list_windows): New function.
8304 (list_all_windows): Ditto.
8305 (Freplace_buffer_in_windows): Use them.
8307 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
8309 * database.c (berkdb_subtype): Recognize new subtype `queue'.
8310 (Fopen_database): Use `db_create' instead of `db_open'.
8311 (syms_of_database): Initialize Qqueue.
8313 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
8315 * buffer.c (common_init_complex_vars_of_buffer): Initialize
8316 buffer_local_face_property.
8317 * buffer.h (struct buffer): New member buffer_local_face_property.
8318 * window.c (Fset_window_buffer): Mark window's face as changed
8319 when buffer has buffer local face.
8320 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
8321 * objects.c (color_after_change): Set buffer_local_face_property
8322 when locale of face specifier is buffer.
8323 * objects.c (font_after_change): Ditto.
8324 * objects.c (face_boolean_after_change): Ditto.
8325 * glyphs.c (image_after_change): Ditto.
8327 2000-12-09 Dan Holmsand <dan@eyebee.com>
8329 * nt.c (mswindows_fstat): Report file permissions, volume serial
8330 number, etc. Code adapted from FSF Emacs 20.7.
8332 2000-12-09 Dan Holmsand <dan@eyebee.com>
8334 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
8335 of stat when we don't have symbolic links, to make sure
8336 mswindows_stat is called on mswindows.
8338 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
8340 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
8342 2000-12-12 Martin Buchholz <martin@xemacs.org>
8344 * doprnt.c (emacs_doprnt_1): More printing fixes.
8345 Make printing of numbers compatible with libc and FSF Emacs.
8346 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
8347 Use the system printf to do most of the hard work of formatting,
8348 instead of doprnt_1().
8349 Calculate memory to allocate for format string.
8350 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
8351 (doprnt_1): Cleaner code and documentation.
8353 2000-12-01 Jerry James <james@eecs.ukans.edu>
8355 * Makefile.in.in: Use the loop variable to install headers.
8357 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8359 * window.c (Fsplit_window): Don't invalidate face cache.
8361 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8363 * minibuf.c (Fall_completions): Undo the previous change
8364 which removed checking elements start with space.
8366 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
8368 * mule-canna.c: Didier suppression.
8370 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
8372 * mule-canna.c: rename static unsigned char buf[] to key_buffer
8373 (warning suppression). Add English comment translations.
8375 2000-12-05 Martin Buchholz <martin@xemacs.org>
8377 * unexelfsgi.c (unexec): Better test for mmap failure.
8379 2000-12-05 Martin Buchholz <martin@xemacs.org>
8381 * XEmacs 21.2.38 is released.
8383 2000-12-05 Martin Buchholz <martin@xemacs.org>
8385 * redisplay.c (bar-cursor): Make a user variable.
8387 * symsinit.h: Add init_postgresql_from_environment.
8389 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8391 * regex.c: Convert to clean C.
8393 2000-12-05 Dan Holmsand <dan@eyebee.com>
8396 Don't #include sysfile.h. Revert to duplicating PATH_MAX
8398 (sys_readlink): renamed to system_readlink to avoid conflict with
8399 the other sys_readlink.
8401 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
8403 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
8405 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
8407 * postgresql.c (init_postgresql_from_environment): new function.
8408 (vars_of_postgresql): Move code initializing Lisp variables out and
8409 into init_postgresql_from_environment.
8410 emacs.c (main_1): Call init_postgresql_from_environment if and only
8411 if running a dumped XEmacs.
8413 2000-08-31 Dan Holmsand <dan@eyebee.com>
8415 * buffer.c: Make find-file-compare-truenames default to true on
8418 * realpath.c (win32_abs_start):
8420 (win32_readlink): New functions.
8421 (xrealpath): Return really real filenames on windows.
8423 * fileio.c (Ffile_truename): Make file-truename work on windows.
8425 2000-11-29 Didier Verna <didier@xemacs.org>
8427 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
8428 * faces.c (update_face_cachel_data): use it.
8429 * faces.c (add_face_cachel): use it. Complete background pixmap
8430 frobbing in face cache if `update_face_cachel_data' has not done so.
8432 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
8434 * search.c (string_match_1): Don't set last_thing_searched
8437 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
8439 * buffer.c: Include casetab.h
8440 (common_init_complex_vars_of_buffer): Use new case-table object.
8441 * buffer.h: Include casetab.h
8442 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
8443 (DOWNCASE_TABLE_OF): Ditto.
8444 * bufslots.h: Remove char-tables and add case-table.
8445 * casetab.c: Include casetab.h
8446 (CASE_TABLE_P): Removed.
8447 (mark_case_table): New function.
8448 (allocate_case_table): New function.
8449 (Fcase_table_p): Use new case-table.
8450 (case_table_char): New function.
8451 (Fget_case_table): Ditto.
8452 (Fput_case_table): Ditto.
8453 (Fput_case_table_pair): Ditto.
8454 (Fcopy_case_table): Ditto.
8455 (Fcurrent_case_table): Return case-table.
8456 (Fstandard_case_table): Return case-table.
8457 (Fset_case_table): Fix doc-string.
8458 (set_case_table): Use case-table
8459 (syms_of_casetab): DEFSUBR new functions.
8460 (complex_vars_of_casetab): Set up standard case-table.
8461 * casetab.h: New file.
8462 * editfns.c: Include casetab.h
8463 (Fcompare_buffer_substrings): Use case-table.
8464 * inline.c: Include casetab.h
8465 * lisp.h: Remove bogus extern.
8466 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
8467 * search.c: Include casetab.h
8468 (TRANSLATE_ASCII): Removed.
8469 (TRANSLATE): Unconditionally translate character.
8470 (looking_at_1): Use case-table.
8471 (string_match_1): Ditto.
8472 (fast_string_match): Ditto.
8473 (search_command): Ditto.
8474 (search_buffer): Separate boyer_moore. Check whether
8475 boyer_moore is possible.
8476 (simple_search): New function.
8477 (boyer_moore): Separated from search_buffer. Translate char.
8479 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
8481 * regex.c (RE_TR_ASCII): Removed.
8482 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
8483 (PATFETCH): Call PATFETCH_RAW.
8484 (PATFETCH_RAW): Fetch Emchar.
8485 (PATUNFETCH): Decrement charptr.
8486 (GET_BUFFER_SPACE): Rename b to buf_end.
8488 (BUF_PUSH_2): Ditto.
8489 (BUF_PUSH_3): Ditto.
8490 (EXTEND_BUFFER): Ditto.
8491 (SET_LIST_BIT): Ditto.
8492 (regex_compile): Ditto. Translate non ASCII char.
8493 (compile_range): Ditto.
8494 (re_search_2): Ditto.
8495 (re_match_2_internal): Compare Emchar.
8496 (bcmp_translate): Ditto.
8498 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
8500 * lisp.h (basic char/int typedefs): comment improvement.
8502 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
8504 * emacs.c (main_1): unconditional pdump unstomping; don't save and
8505 unstomp inhibit_site_lisp. Improve comments.
8507 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
8509 * mule-charset.c (Fcharset_property): improve type checking, comments.
8511 2000-11-28 Andy Piper <andy@xemacs.org>
8513 * redisplay-output.c (redisplay_output_subwindow): make sure we do
8514 clipped display for windows in the gutter also.
8515 (redisplay_display_boxes_in_window_p): change semantics of return
8516 codes to be more intuitive.
8518 * gutter.h: declare display_boxes_in_gutter_p.
8520 * gutter.c (display_boxes_in_gutter_p): new function for
8523 2000-11-22 Andy Piper <andy@xemacs.org>
8525 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
8528 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
8530 * callproc.c (Fold_call_process_internal):
8531 * gpm.c (Freceive_gpm_event):
8532 (tty_get_foreign_selection): Might be just warning supression.
8533 * fileio.c (Fwrite_region_internal):
8534 (Fset_visited_file_modtime):
8535 * keymap.c (event_matches_key_specifier_p):
8536 Initialize GCPROed variable.
8538 * menubar-x.c (command_builder_find_menu_accelerator):
8539 Initialize before use.
8541 2000-11-23 Andy Piper <andy@xemacs.org>
8543 * unexcw.c (unexec): make the resulting executable executable.
8545 2000-11-21 Martin Buchholz <martin@xemacs.org>
8547 * doc.c (get_doc_string):
8548 Use size_t, not int, for result of XSTRING_LENGTH.
8550 * cmds.c (Fdelete_char):
8551 * cmds.c (Fpoint_at_eol):
8552 * cmds.c (Fself_insert_command):
8553 Use EMACS_INT, not int, for result of XINT.
8554 Someday, someone will want to insert more than 2**31 identical characters.
8556 * cmds.c (Fdelete_char):
8557 * cmds.c (Fdelete_backward_char):
8558 * syntax.c (Fforward_word):
8559 * syntax.c (Fforward_comment):
8560 Make COUNT argument optional, for consistency with forward-char et al.
8562 2000-11-22 Martin Buchholz <martin@xemacs.org>
8565 * print.c (long_to_string):
8566 Return a useful value: the pointer at end of data written.
8569 Use `static const char * const' for constant strings.
8570 (union printf_arg): Delete `i', `ui' members.
8573 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
8574 Do all printf-ing via the `l' specifier.
8575 Use EMACS_INT instead of int.
8578 2000-11-20 Didier Verna <didier@xemacs.org>
8580 * faces.c (update_face_cachel_data): don't frob the background
8581 pixmap when the window is being created. The face is needed but
8584 2000-11-20 Andy Piper <andy@xemacs.org>
8586 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
8587 messing with a debug environment.
8589 2000-11-20 Martin Buchholz <martin@xemacs.org>
8591 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
8593 2000-11-20 Martin Buchholz <martin@xemacs.org>
8595 * casetab.c (Fcase_table_p): Fix compile error and crash.
8597 2000-11-18 Philip Aston <philipa@mail.com>
8599 * s/cygwin32.h: Cygwin has SVR4-like pty support.
8601 2000-11-18 Martin Buchholz <martin@xemacs.org>
8603 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
8604 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
8606 2000-11-17 Martin Buchholz <martin@xemacs.org>
8608 * config.h.in: Define HAVE_ELF_H if elf.h exists.
8609 * unexelf.c: Use HAVE_ELF_H.
8610 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
8611 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
8612 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
8613 Greg Harrington <greg_harrington@hotmail.com> provided a machine
8615 So this is an unexelfsgi.c from a different line of development.
8617 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
8619 * regex.c (RE_TR_ASCII): New function.
8620 (RE_TRANSLATE): Call it.
8622 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
8624 * buffer.h (TRT_TABLE_OF): Remove assert.
8625 (IN_TRT_TABLE_DOMAIN): Removed.
8627 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
8629 * free-hook.c (log_gcpro):
8630 (show_gcprohist): Add support for GCPRO5.
8632 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
8634 * emacs.c (main_1): Improve -sd error message when --pdump=no.
8636 2000-11-16 Olivier Galibert <galibert@xemacs.org>
8638 * symeval.h: Declare flush_all_buffer_local_cache.
8640 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
8641 (flush_buffer_local_cache): Added.
8642 (flush_all_buffer_local_cache): Added.
8644 * lrecord.h: Remove unused XD_LO_RESET_NIL.
8646 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
8647 (pdump_dump_data): Ditto.
8648 (pdump_reloc_one): Ditto.
8649 (pdump): Remove unused pdump_qnil. Flush buffer local caches
8653 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
8655 * buffer.c: Remove if 0'ed entry.
8656 * buffer.h: Rewrite TRT to use char-table.
8657 * bufslots.h: Remove mirror tables.
8658 * casetab.c: Remove mirror tables.
8659 (CASE_TABLE_P): New macro.
8660 (Fcase_table_p): Element of a case table is string or char-table.
8661 (make_mirror_trt_table): Removed.
8662 (set_case_table): Setup char-table from strings for backward
8664 * dired.c (Fdirectory_files):
8665 * dired-msw.c: (mswindows_get_files):
8666 * lisp.h: Change prototype of re_pattern_buffer.
8667 * regex.c: (RE_TRANSLATE): New macro.
8668 (TRANSLATE_P): Ditto.
8669 Change translate to type RE_TRANSLATE_TYPE.
8670 * regex.h: Define RE_TRANSLATE_TYPE
8671 * search.c (TRANSLATE): New macro.
8672 (TRANSLATE_ASCII): New macro.
8673 Translate table is changed to Lisp_Object.
8674 (signal_failure): Inhibit return.
8676 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
8683 Do UNGCPRO before return.
8685 2000-11-14 Martin Buchholz <martin@xemacs.org>
8687 * XEmacs 21.2.37 is released.
8689 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
8691 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
8692 Add comments about discarded return value.
8694 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
8697 * event-stream.c: Fix comments. Remove some #if 0'ed part.
8699 2000-10-27 Andy Piper <andy@xemacs.org>
8701 * gutter.c (Fset_default_gutter_position): default left and right
8703 (calculate_gutter_size): calculate resonable heuristic for left
8704 and right gutter sizes.
8705 (specifier_vars_of_gutter): change left and right gutter sizes to
8707 (calculate_gutter_size_from_display_lines): new function.
8708 (output_gutter): check for resizing on left and right gutters.
8709 (clear_gutter): don't special case top and left gutters.
8710 (specifier_vars_of_gutter): use new signature for
8711 set_specifier_caching.
8713 * glyphs-x.c (x_redisplay_widget): spelling fix.
8714 * glyphs.c (specifier_vars_of_glyphs):
8715 * menubar.c (specifier_vars_of_menubar):
8716 * redisplay.c (specifier_vars_of_redisplay):
8717 * toolbar.c (specifier_vars_of_toolbar):
8718 * window.c (specifier_vars_of_window):
8719 * scrollbar.c (specifier_vars_of_scrollbar):
8720 (complex_vars_of_scrollbar): use new signature for
8721 set_specifier_caching.
8723 * specifier.c (set_specifier_caching): include recompute flag.
8724 (recompute_one_cached_specifier_in_window): always recompute if
8726 (recompute_one_cached_specifier_in_frame): ditto.
8728 * specifier.h (struct specifier_caching): add recompute flag.
8730 2000-10-24 Andy Piper <andy@xemacs.org>
8732 * unexcw.c (copy_executable_and_dump_data_section): add new
8733 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
8736 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8738 * console-x.h (x_device): New member modifier_release_time.
8739 * event-Xt.c (x_handle_sticky_modifiers):
8740 Bound interval modifier keys are sticky.
8741 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
8742 * events.h: extern it.
8744 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8746 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
8748 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8750 * event-stream.c (execute_command_event): Preserve current_events
8751 and the like when event is misc-user-event.
8752 Inhibit quit during the call to maybe_echo_keys.
8754 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
8756 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
8757 symlink when buffer is killed.
8758 (inhibit_clash_detection): New variable.
8760 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8762 * console.c (Fset_input_method): Trigger redisplay on tty.
8764 2000-11-07 Martin Buchholz <martin@xemacs.org>
8766 * process.c (Fprocess_status): Revert to previous behavior:
8767 (process-status "nosuchprocess") ==> nil
8769 2000-11-06 Martin Buchholz <martin@xemacs.org>
8771 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
8772 Work around another GCC 2.95.2 optimizer bug.
8774 2000-11-02 Martin Buchholz <martin@xemacs.org>
8776 * process.c (Fget_process): Use LIST_LOOP_2.
8777 (kill_buffer_processes): Use LIST_LOOP_2.
8779 * minibuf.c (Fall_completions):
8780 Delete old non-functional code for FSF fourth argument.
8782 * frame.c (frame_matches_frame_spec):
8783 Renamed from `frame_matches_frametype'. Update all callers.
8784 (device_matches_device_spec):
8785 Renamed from 'device_matches_console_spec'. Update all callers.
8787 * doc.c (Fsubstitute_command_keys):
8788 Remove buffer overflow crash. Small code cleanups.
8790 * casetab.c (check_case_table): Simpler code.
8792 * window.c (Freplace_buffer_in_windows):
8793 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
8794 (and similar implementation) as Fdelete_windows_on.
8797 * alloc.c (Fmake_list):
8798 * alloc.c (make_vector):
8799 * alloc.c (Fmake_vector):
8800 * alloc.c (make_bit_vector):
8801 * alloc.c (Fmake_bit_vector):
8802 * alloc.c (Fbit_vector):
8803 * alloc.c (Fmake_string):
8804 * alloc.c (Fpurecopy):
8805 * alloc.c (Fmemory_limit):
8807 * buffer.c (Fget_buffer):
8808 * buffer.c (Fkill_buffer):
8809 * buffer.c (complex_vars_of_buffer):
8810 * bytecode.c (Fcompiled_function_stack_depth):
8811 * callint.c (Fprefix_numeric_value):
8813 * event-stream.c (Fread_key_sequence):
8815 * casetab.c (Fcase_table_p):
8816 * casetab.c (check_case_table):
8817 * casetab.c (Fset_case_table):
8818 * casetab.c (Fset_standard_case_table):
8820 * chartab.c (Fchar_table_type):
8821 * chartab.c (Freset_char_table):
8822 * chartab.c (Fget_char_table):
8823 * chartab.c (Fget_range_char_table):
8824 * chartab.c (Fput_char_table):
8825 * chartab.c (Fmap_char_table):
8826 * chartab.c (Fcategory_table_p):
8827 * chartab.c (Fcheck_category_at):
8828 * chartab.c (Fchar_in_category_p):
8829 * chartab.c (Fcategory_table):
8830 * chartab.c (Fcopy_category_table):
8831 * chartab.c (Fset_category_table):
8832 * chartab.c (Fcategory_designator_p):
8833 * chartab.c (Fcategory_table_value_p):
8834 * cmds.c (Fdelete_char):
8835 * cmds.c (Fdelete_backward_char):
8836 * cmds.c (Fself_insert_command):
8837 * cmds.c (Fself_insert_internal):
8838 * console.c (Fvalid_console_type_p):
8839 * console.c (Fcdfw_console):
8840 * console.c (Fconsole_type):
8841 * console.c (Fconsole_name):
8842 * console.c (Fconsole_device_list):
8843 * console.c (Fconsole_on_window_system_p):
8847 * data.c (Fsubr_interactive):
8848 * data.c (Fchar_to_int):
8849 * data.c (Fint_to_char):
8852 * data.c (Fnumber_to_string):
8853 * data.c (Fstring_to_number):
8855 * database.c (mark_database):
8856 * database.c (finalize_database):
8857 * database.c (Fdatabase_live_p):
8858 * database.c (Fdatabasep):
8859 * device-x.c (Fx_get_resource):
8860 * device.c (Fdfw_device):
8862 * dired.c (Ffile_name_completion):
8863 * dired.c (Ffile_name_all_completions):
8864 * dired.c (Fuser_name_completion):
8865 * dired.c (Fuser_name_completion_1):
8866 * dired.c (Fuser_name_all_completions):
8867 * doc.c (Fdocumentation):
8868 * doc.c (Fdocumentation_property):
8869 * doc.c (Fsubstitute_command_keys):
8871 * editfns.c (Fchar_to_string):
8872 * editfns.c (Fstring_to_char):
8873 * editfns.c (Ftemp_directory):
8874 * editfns.c (Finsert_char):
8875 * editfns.c (Fbuffer_substring_no_properties):
8876 * editfns.c (Fnarrow_to_region):
8877 * editfns.c (Fchar_equal):
8878 * editfns.c (Fchar_Equal):
8879 * editfns.c (Ftranspose_regions):
8880 * emacs.c (Fdump_emacs):
8882 * eval.c (Fcommand_execute):
8883 * eval.c (Fautoload):
8884 * eval.c (Fbacktrace):
8885 * eval.c (Fbacktrace_frame):
8887 * events.c (Fcopy_event):
8888 * events.c (Fcharacter_to_event):
8889 * events.c (Fevent_button):
8890 * events.c (Fevent_process):
8892 * extents.c (Fnext_extent_change):
8893 * extents.c (Fextent_property):
8895 * faces.c (Fmake_face):
8897 * file-coding.c (Fencode_shift_jis_char):
8898 * file-coding.c (Fencode_big5_char):
8899 * fileio.c (Ffile_name_directory):
8900 * fileio.c (Ffile_name_nondirectory):
8901 * fileio.c (Ffile_name_as_directory):
8902 * fileio.c (Fdirectory_file_name):
8903 * fileio.c (Ffile_truename):
8904 * fileio.c (Fsubstitute_in_file_name):
8905 * fileio.c (Ffile_modes):
8906 * fileio.c (Fset_file_modes):
8907 * fileio.c (Fset_default_file_modes):
8908 * fileio.c (Fverify_visited_file_modtime):
8909 * floatfns.c (Facos):
8910 * floatfns.c (Fasin):
8911 * floatfns.c (Fatan):
8912 * floatfns.c (Fcos):
8913 * floatfns.c (Fsin):
8914 * floatfns.c (Ftan):
8915 * floatfns.c (Fbessel_j0):
8916 * floatfns.c (Fbessel_j1):
8917 * floatfns.c (Fbessel_jn):
8918 * floatfns.c (Fbessel_y0):
8919 * floatfns.c (Fbessel_y1):
8920 * floatfns.c (Fbessel_yn):
8921 * floatfns.c (Ferf):
8922 * floatfns.c (Ferfc):
8923 * floatfns.c (Flog_gamma):
8924 * floatfns.c (Fexp):
8925 * floatfns.c (Fexpt):
8926 * floatfns.c (Flog):
8927 * floatfns.c (Flog10):
8928 * floatfns.c (Fsqrt):
8929 * floatfns.c (Fcube_root):
8930 * floatfns.c (Facosh):
8931 * floatfns.c (Fasinh):
8932 * floatfns.c (Fatanh):
8933 * floatfns.c (Fcosh):
8934 * floatfns.c (Fsinh):
8935 * floatfns.c (Ftanh):
8936 * floatfns.c (Fabs):
8937 * floatfns.c (Ffloat):
8938 * floatfns.c (Flogb):
8939 * floatfns.c (Fceiling):
8940 * floatfns.c (Ffloor):
8941 * floatfns.c (Fround):
8942 * floatfns.c (Ftruncate):
8943 * floatfns.c (Ffceiling):
8944 * floatfns.c (Fffloor):
8945 * floatfns.c (Ffround):
8946 * floatfns.c (Fftruncate):
8947 * fns.c (Fstring_equal):
8948 * fns.c (Fstring_lessp):
8953 * fns.c (Fsubstring):
8955 * fns.c (Fold_assoc):
8956 * fns.c (assoc_no_quit):
8958 * fns.c (Fold_assq):
8959 * fns.c (assq_no_quit):
8961 * fns.c (Fold_rassoc):
8963 * fns.c (Fold_rassq):
8964 * fns.c (rassq_no_quit):
8965 * fns.c (Fremassoc):
8966 * fns.c (remassoc_no_quit):
8968 * fns.c (remassq_no_quit):
8969 * fns.c (Fremrassoc):
8970 * fns.c (Fremrassq):
8971 * fns.c (remrassq_no_quit):
8973 * fns.c (Fplist_get):
8974 * fns.c (Fplist_put):
8975 * fns.c (Fplist_remprop):
8976 * fns.c (Fplist_member):
8977 * fns.c (Flax_plist_get):
8978 * fns.c (Flax_plist_put):
8979 * fns.c (Flax_plist_remprop):
8980 * fns.c (Flax_plist_member):
8982 * fns.c (Fold_equal):
8984 * fns.c (Fbase64_encode_region):
8985 * fns.c (Fbase64_encode_string):
8986 * fns.c (Fbase64_decode_region):
8988 * frame.c (frame_matches_frame_spec):
8989 * frame.c (device_matches_device_spec):
8990 * frame.c (next_frame):
8991 * frame.c (previous_frame):
8992 * frame.c (Fnext_frame):
8993 * frame.c (Fprevious_frame):
8994 * frame.c (Fframe_property):
8995 * frame.c (Fset_frame_height):
8996 * frame.c (Fset_frame_size):
9000 * glyphs.c (decode_error_behavior_flag):
9001 * glyphs.c (Fmake_image_instance):
9002 * indent.c (Findent_to):
9003 * intl.c (Fignore_defer_gettext):
9004 * keymap.c (Fkeymapp):
9005 * keymap.c (Flookup_key):
9007 * lread.c (Fload_internal):
9008 * lread.c (Feval_buffer):
9009 * lread.c (Feval_region):
9010 * macros.c (Fexecute_kbd_macro):
9011 * marker.c (set_marker_internal):
9012 * marker.c (Fset_marker):
9013 * marker.c (set_marker_restricted):
9014 * marker.c (Fcopy_marker):
9015 * marker.c (noseeum_copy_marker):
9017 * menubar.c (Fpopup_menu):
9019 * mule-charset.c (Fcharset_name):
9020 * mule-charset.c (Fchar_charset):
9021 * mule-charset.c (Fchar_octet):
9022 * mule-charset.c (Fsplit_char):
9023 * mule-wnnfns.c (Fwnn_open):
9024 * mule-wnnfns.c (Fwnn_dict_comment):
9025 * mule-wnnfns.c (Fwnn_quit_henkan):
9026 * mule-wnnfns.c (Fwnn_word_toroku):
9027 * mule-wnnfns.c (Fwnn_word_sakujo):
9028 * mule-wnnfns.c (Fwnn_word_use):
9029 * mule-wnnfns.c (Fwnn_hindo_set):
9031 * objects.c (Fmake_color_instance):
9032 * objects.c (Fmake_font_instance):
9033 * print.c (Fwrite_char):
9035 * process.c (mark_process):
9036 * process.c (print_process):
9037 * process.c (get_process_from_usid):
9038 * process.c (Fprocessp):
9039 * process.c (Fprocess_live_p):
9040 * process.c (Fget_process):
9041 * process.c (Fget_buffer_process):
9042 * process.c (get_process):
9043 * process.c (Fprocess_id):
9044 * process.c (Fprocess_name):
9045 * process.c (Fprocess_command):
9046 * process.c (init_process_io_handles):
9047 * process.c (start_process_unwind):
9048 * process.c (Fstart_process_internal):
9049 * process.c (Fopen_multicast_group_internal):
9050 * process.c (Fset_process_window_size):
9051 * process.c (read_process_output):
9052 * process.c (send_process):
9053 * process.c (Fprocess_tty_name):
9054 * process.c (Fset_process_buffer):
9055 * process.c (Fprocess_buffer):
9056 * process.c (Fprocess_mark):
9057 * process.c (set_process_filter):
9058 * process.c (Fset_process_filter):
9059 * process.c (Fprocess_filter):
9060 * process.c (Fprocess_send_region):
9061 * process.c (Fprocess_send_string):
9062 * process.c (exec_sentinel):
9063 * process.c (Fset_process_sentinel):
9064 * process.c (Fprocess_sentinel):
9065 * process.c (status_notify):
9066 * process.c (Fprocess_status):
9067 * process.c (Fprocess_exit_status):
9068 * process.c (process_send_signal):
9069 * process.c (Fprocess_send_eof):
9070 * process.c (deactivate_process):
9071 * process.c (remove_process):
9072 * process.c (Fdelete_process):
9073 * process.c (kill_buffer_processes):
9074 * process.c (Fprocess_kill_without_query):
9075 * process.c (Fprocess_kill_without_query_p):
9077 * rangetab.c (Fget_range_table):
9078 * rangetab.c (Fput_range_table):
9079 * rangetab.c (Fremove_range_table):
9080 * rangetab.c (Fclear_range_table):
9082 * search.c (Fskip_chars_forward):
9083 * search.c (Fskip_chars_backward):
9084 * search.c (Fskip_syntax_forward):
9085 * search.c (Fskip_syntax_backward):
9086 * search.c (search_command):
9087 * search.c (Freplace_match):
9088 * search.c (Fregexp_quote):
9089 * select.c (Fown_selection_internal):
9090 * select.c (Fselection_owner_p):
9091 * select.c (Fselection_exists_p):
9092 * select.c (Fget_selection_internal):
9095 * symbols.c (Fintern):
9096 * symbols.c (Fintern_soft):
9097 * symbols.c (Funintern):
9098 * symbols.c (Fapropos_internal):
9099 * symbols.c (Fset_default):
9101 * syntax.c (Fsyntax_table_p):
9102 * syntax.c (Fcopy_syntax_table):
9103 * syntax.c (Fset_syntax_table):
9104 * syntax.c (Fchar_syntax):
9105 * syntax.c (syntax_match):
9106 * syntax.c (Fmatching_paren):
9107 * syntax.c (Fforward_word):
9108 * syntax.c (scan_lists):
9109 * syntax.c (Fscan_lists):
9110 * syntax.c (Fscan_sexps):
9111 * syntax.c (Fparse_partial_sexp):
9112 * toolbar.c (Fcheck_toolbar_button_syntax):
9115 * window.c (Fwindowp):
9116 * window.c (Fwindow_live_p):
9117 * window.c (Fwindow_point):
9118 * window.c (Fdelete_window):
9119 * window.c (Fnext_window):
9120 * window.c (Fprevious_window):
9121 * window.c (Fother_window):
9122 * window.c (window_loop):
9123 * window.c (Fget_lru_window):
9124 * window.c (Fsplit_window):
9125 * window.c (Fenlarge_window):
9126 * window.c (Fenlarge_window_pixels):
9127 * window.c (Fshrink_window):
9128 * window.c (Fshrink_window_pixels):
9129 * window.c (change_window_height):
9130 * window.c (Fwindow_configuration_p):
9131 * window.c (Fcurrent_window_configuration):
9133 * casefiddle.c (casify_object):
9134 * casefiddle.c (Fupcase):
9135 * casefiddle.c (Fdowncase):
9136 * casefiddle.c (Fcapitalize):
9137 * casefiddle.c (Fupcase_initials):
9138 * casefiddle.c (casify_region_internal):
9139 * casefiddle.c (casify_region):
9140 * casefiddle.c (Fupcase_region):
9141 * casefiddle.c (Fdowncase_region):
9142 * casefiddle.c (Fcapitalize_region):
9143 * casefiddle.c (Fupcase_initials_region):
9144 * casefiddle.c (Fupcase_word):
9145 * casefiddle.c (Fdowncase_word):
9146 * casefiddle.c (Fcapitalize_word):
9147 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
9148 Replace 0 with '\0' when working with bytes.
9149 Replace initial "(" with "\(" in docstrings.
9151 2000-11-01 Martin Buchholz <martin@xemacs.org>
9153 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
9155 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
9157 2000-10-31 Martin Buchholz <martin@xemacs.org>
9159 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
9161 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
9163 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
9166 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
9168 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
9169 (inhibit_auto_save_session): New variable.
9170 (vars_of_fileio): Declare and initialize them.
9171 * fileio.c (Fdo_auto_save): Don't create session file if
9172 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
9174 2000-10-31 Martin Buchholz <martin@xemacs.org>
9176 * sgiplay.c (play_internal): C++ compilability.
9177 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
9178 * callproc.c (Fold_call_process_internal):
9179 Remove unused vars `env', `first'.
9180 * scrollbar.c (update_scrollbar_instance):
9181 #### unused var `current_window'.
9182 * redisplay-tty.c: Put currently unused vars insert_mode_on,
9183 etc. within #ifdef NOT_YET.
9184 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
9185 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
9186 * specifier.c (specifier_instance):
9187 #### unused var `tag'.
9188 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
9190 2000-10-27 Martin Buchholz <martin@xemacs.org>
9193 * fns.c (list_sort):
9194 * fns.c (Ffillarray):
9195 * fns.c (bytecode_nconc2):
9198 * fns.c (Fmapconcat):
9199 Be pedantically 64-bit correct. For the time when someone will
9200 want to have a list with length > 2**32.
9202 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
9203 Work around MIPSpro compiler bug.
9205 * process-unix.c (unix_kill_child_process): Add snarky comment.
9206 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
9208 * config.h.in: Oops, _getpt ==> _getpty
9210 2000-10-26 Martin Buchholz <martin@xemacs.org>
9214 Use void*, not char*, as return type of alloca().
9216 * alloc.c (free_marker): Side effect inside assert expression!
9218 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
9220 * mule-charset.c (Fset_charset_ccl_program): To check
9221 if the given ccl program is valid, use setup_ccl_program()
9222 instead of CHECK_VECTOR().
9223 (Fmake_charset): Likewise.
9225 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
9227 * faces.c (get_extent_fragment_face_cache_index):
9228 Fix cachel.merged_faces memory leak.
9230 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
9232 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
9233 Reset MSB of octets obtained by DECODE_SJIS
9234 because of the incompatibility with Emacs.
9235 (ccl_driver)<CCL_ENCODE_SJIS>:
9236 Set MSB of octets before passing them to
9237 ENCODE_SJIS because of the incompatibility
9240 2000-10-18 Daiki Ueno <ueno@unixuser.org>
9242 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
9243 (DECLARE_LRECORD): Undo the last change.
9244 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
9246 2000-10-17 Daiki Ueno <ueno@unixuser.org>
9248 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
9249 the implementation to lrecord_implementations_table.
9251 2000-10-14 Daiki Ueno <ueno@unixuser.org>
9253 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
9254 initial value of `lrecord_type_##c_name' and
9255 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
9256 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
9257 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
9258 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
9259 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
9261 2000-10-17 Martin Buchholz <martin@xemacs.org>
9263 * miscplay.c (sndcnv8S_2mono):
9264 (sndcnv2monounsigned):
9265 (sndcnvULaw_2linear):
9267 Remove implementation-defined behavior.
9269 2000-10-12 Martin Buchholz <martin@xemacs.org>
9271 * input-method-xlib.c: Warning suppression.
9273 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
9275 * mule-ccl.c: Sync up with Emacs 21.0.90.
9276 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
9278 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
9280 (ccl_driver[WriteMultibyteChar2]): Bug fix.
9281 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
9282 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
9283 leading char belongs to official 2-dimensional charset.
9284 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
9285 write the given character as is. Otherwise,
9286 if it is a multibyte char, convert it by
9287 non_ascii_set_charptr_emchar, then write it.
9288 (CCL_WRITE_STRING): Likewise.
9289 (ccl_get_compiled_code): New function.
9290 (setup_ccl_program): When ccl_prog is invalid,
9292 (Fregister_code_conversion_map): New function.
9293 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
9295 * mule-ccl.h: Sync up with Emacs 21.0.90.
9296 (Fregister_ccl_program): export it.
9298 * redisplay-msw.c (separate_textual_runs):
9299 If ccl program is not valid, don't do ccl conversion.
9301 * redisplay-x.c (separate_textual_runs): Ditto.
9303 * file-coding.c (Fmake_coding_system):
9304 When type is ccl and value is vector, register it
9305 with a proper symbol. And checks whether the
9306 given ccl program is valid.
9307 (mule_decode): When calling ccl_driver, if src indicates
9308 NULL pointer, set an empty string instead.
9309 (mule_encode): Likewise.
9311 2000-10-11 Martin Buchholz <martin@xemacs.org>
9313 The following large batch of changes gets us back to a state of
9314 C++ compilability. Extbyte is now a char, which means that
9315 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
9317 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
9319 * sound.c (Fplay_sound): Type correctness.
9321 * select-x.c (hack_motif_clipboard_selection): Type correctness.
9322 (x_get_window_property): Type correctness.
9323 (receive_incremental_selection): unsigned char ==> Extbyte
9324 (selection_data_to_lisp_data): unsigned char ==> Extbyte
9325 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
9326 (Fx_store_cutbuffer_internal): Type correctness.
9328 * process-unix.c (try_to_initialize_subtty): Type correctness.
9330 * objects-x.c (x_print_color_instance): Type correctness.
9331 (x_print_font_instance): Type correctness.
9332 (x_list_fonts): SExtbyte ==> Extbyte.
9333 (valid_x_font_name_p): SExtbyte ==> Extbyte.
9334 (x_find_charset_font): SExtbyte ==> Extbyte.
9335 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
9336 (truename_via_XListFonts): SExtbyte ==> Extbyte.
9337 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
9340 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
9341 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
9342 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
9343 (BYTE_C0_P): Use bit ops for char-signedness safety.
9344 (BYTE_C1_P): Use bit ops for char-signedness safety.
9345 (CHARSET_BY_LEADING_BYTE):
9346 (CHARSET_BY_ATTRIBUTES):
9347 Always use inline function.
9348 Use type_checking_assert.
9351 * mule-charset.c (non_ascii_charptr_copy_char):
9352 Modify to work with both ASCII and non-ASCII characters.
9353 Improve docs and variable names.
9354 Replace over-clever fall-through switch with a simple loop.
9355 (Lstream_get_emchar_1):
9356 Replace over-clever fall-through switch with a simple loop.
9358 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9359 Warning suppression.
9361 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
9362 the return value of Lstream_getc, which could be EOF as well.
9364 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
9366 * lisp.h: Make Extbyte a char, not unsigned char, so that external
9367 APIs can be used on Extbytes without casts. Risky!
9371 * input-method-xlib.c (XIM_init_device):
9372 Use Xlib.h instead of IntrinsicP.h.
9373 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
9374 which will break in X11R7.
9375 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
9376 to call XRegisterIMInstantiateCallback with correct types.
9378 * gui-x.c (button_item_to_widget_value): Type correctness.
9380 * glyphs.c (bitmap_to_lisp_data): Type correctness.
9382 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
9383 (xbm_instantiate_1): Type correctness.
9384 (BUILD_GLYPH_INST): Type correctness.
9386 * fileio.c (Fsubstitute_in_file_name): Type correctness.
9389 (decode_coding_sjis):
9390 (decode_coding_big5):
9391 (decode_coding_ucs4):
9392 (decode_coding_utf8):
9393 (decode_coding_iso2022):
9394 (decode_coding_no_conversion):
9395 Make all decoding functions take an Extbyte * arg.
9396 (encode_coding_sjis):
9397 (encode_coding_big5):
9398 (encode_coding_ucs4):
9399 (encode_coding_utf8):
9400 (encode_coding_iso2022):
9401 (encode_coding_no_conversion):
9402 Make all encoding functions take a Bufbyte * arg.
9403 Use size_t instead of unsigned int for memory sizes.
9404 Only cast to unsigned char whenever dereferencing Extbyte *.
9406 * doc.c (unparesseuxify_doc_string): Type correctness.
9408 * console-x.c (split_up_display_spec):
9409 Rewrite without using details of internal string representation.
9410 (x_semi_canonicalize_device_connection): Type correctness.
9413 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
9414 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
9415 (HAVE_XFREE386): Removed.
9417 * buffer.h (DEC_CHARPTR): `const' correctness.
9418 (bufbyte_strcmp): New.
9419 (bufbyte_memcmp): New.
9421 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
9423 * buffer.h (XCHAR_OR_CHAR_INT):
9424 Always use inline function.
9425 Remove redundant type checking assert() - XINT will abort quite nicely.
9427 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9429 * search.c (Freplace_match): Set newtext to an empty string.
9431 2000-10-10 Martin Buchholz <martin@xemacs.org>
9433 * s/decosf1-3.h: Remove #include of stropts.h
9434 * s/ptx.h: Remove #include of stropts.h
9435 * s/usg5-4.h: Remove #include of stropts.h
9438 Use stropts.h, not sys/stropts.h.
9439 Use strtio.h, not sys/strtio.h.
9441 2000-10-04 Martin Buchholz <martin@xemacs.org>
9443 * XEmacs 21.2.36 is released.
9445 2000-09-21 Andy Piper <andy@xemacs.org>
9447 * glyphs-x.c (x_redisplay_widget): make sure non-structural
9448 changes still involve copying the widget tree.
9449 (update_widget_face): make sure a change is register in the widget
9450 tree. Call update_tab_widget_face appropriately.
9451 (update_tab_widget_face): ditto.
9452 (x_tab_control_redisplay): make sure non-structural changes still
9453 involve copying the widget tree.
9455 2000-08-31 Daiki Ueno <ueno@unixuser.org>
9457 * lread.c (locate_file): Check the path element is non-nil.
9459 2000-10-02 Martin Buchholz <martin@xemacs.org>
9461 * lisp.h: Warning suppression for SCO compilers.
9463 * redisplay-tty.c (reset_tty_modes): Fix crash.
9464 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
9466 2000-09-27 Martin Buchholz <martin@xemacs.org>
9468 Big signal/process handling overhaul. Bugs fixed:
9469 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
9470 M-x comint-kill-subjob should work for both values nil and t of
9471 process-connection-type. It was broken on most platforms.
9472 Testing on Irix and Cygwin still needed. Other plaforms tested.
9473 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
9474 * process-unix.c: Signal/Process handling overhaul.
9475 (pty_name): make 64 bytes, as `expect' does, for paranoia.
9476 (allocate_pty): Use all available modern methods of allocating
9477 ptys, falling back to old style BSD allocation as a last resort.
9478 Use allegedly more secure Unix98 pty allocation by default.
9479 (allocate_pty_the_old_fashioned_way): New. the last resort.
9480 (unix_create_process): Push ptem, ldterm, ttcompat where
9481 available. Autoconfiscate.
9482 (try_to_initialize_subtty): New.
9483 (unix_kill_child_process): Proper signal handling for ptys on most
9484 platforms, using special knowledge of AIX, BSD, etc...
9485 (unix_create_process): Always disconnect_controlling_terminal() for
9486 subprocesses, whether using ptys or not.
9487 * process.h: Remove old getpt-dependent PTY code.
9488 * process.c (Fprocess_send_signal): New, obvious generic function.
9489 (decode_signal): New.
9490 (Finterrupt_process):
9494 (Fcontinue_process):
9495 (Fsignal_process): Use decode_signal.
9496 (process_send_signal):
9497 Many docstring corrections.
9498 Allow any signal to be sent to a process object.
9499 * config.h.in: Add symbols for big signal/process overhaul.
9500 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
9501 * sysproc.h: Include process-related headers, where available:
9502 sys/stropts.h sys/strtio.h pty.h libutil.h
9510 Remove old S&M pty stuff.
9511 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
9512 * systty.h: Simplify cpp hackery, improve comments.
9513 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
9515 * editfns.c (Fformat_time_string):
9516 Be a little more paranoid with the return value of ctime.
9518 * fileio.c (check_executable):
9520 Use symbolic constants X_OK, W_OK.
9522 * console-x.c (split_up_display_spec): Fix a warning.
9524 2000-10-02 Martin Buchholz <martin@xemacs.org>
9526 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
9527 * ntproc.c (sys_spawnve): make_string ==> build_string
9528 Small clarity improvements.
9530 2000-09-30 Martin Buchholz <martin@xemacs.org>
9532 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
9534 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
9536 * config.h.in (HAVE_STRCASECMP): Remove.
9538 2000-09-29 Martin Buchholz <martin@xemacs.org>
9540 * redisplay-output.c (redisplay_output_pixmap):
9541 Cleaner and possibly more 64-bit correct code.
9543 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
9545 * dumper.c (pdump_load_finish): move restoration of
9546 `noninteractive1' to emacs.c (main_1).
9547 * emacs.c (main_1): protect LISP-visible command-line flags
9550 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
9552 * Makefile.in.in (versionclean): Use EXE_TARGET and
9553 DUMP_TARGET instead of literal program names.
9555 2000-09-20 Martin Buchholz <martin@xemacs.org>
9557 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
9559 2000-09-19 Martin Buchholz <martin@xemacs.org>
9561 * *: Spelling mega-patch
9563 2000-09-19 Martin Buchholz <martin@xemacs.org>
9565 * fns.c (bad_bad_turtle):
9566 Delete "Eek!" comment, since we fixed the bug to which it refers.
9568 2000-09-16 Martin Buchholz <martin@xemacs.org>
9570 * alloca.c: Replace REGISTER with register.
9572 2000-09-16 Daiki Ueno <ueno@unixuser.org>
9574 * file-coding.c (ucs_to_char): Use countof.
9576 2000-09-16 Martin Buchholz <martin@xemacs.org>
9578 * file-coding.c: (ucs_to_char):
9579 (complex_vars_of_file_coding):
9580 Use countof instead of sizeof.
9581 Use CHECK_NATNUM instead of CHECK_INT.
9583 * sysdep.c (strcasecmp): Remove.
9584 * device-x.c (ascii_strcasecmp): New.
9585 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
9586 Avoid using non-standard non-portable strcasecmp.
9588 2000-09-16 Martin Buchholz <martin@xemacs.org>
9590 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
9591 * font-lock.c: remove reference to emacsfns.h.
9592 * search.c: small doc improvement.
9593 * event-Xt.c: correct file names in comments.
9594 * console-x.h Correct file names in comments.
9595 * frame.c: Correct file names in comments.
9596 * event-stream.c: remove Energize from comments.
9598 2000-09-15 Martin Buchholz <martin@xemacs.org>
9600 * symeval.h (DEFERROR_STANDARD):
9603 (DEFSYMBOL_NO_DUMP):
9604 (DEFSYMBOL_MULTIWORD_PREDICATE):
9605 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
9607 The construct &##name is not sensible C.
9608 Fixes compilation errors with Unixware native compiler.
9610 2000-09-14 Martin Buchholz <martin@xemacs.org>
9612 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
9613 (next_frame_internal): Removed. We now just have next_frame.
9615 Write a simpler and cleaner one-pass algorithm.
9616 Remove called_from_delete_device arg and #ifdefed-out code.
9618 Renamed from prev_frame. Update callers.
9619 Cleaned up to have an analogous implementation to next_frame.
9620 (other_visible_frames_internal): Remove the
9621 called_from_delete_device bogus arg, and hence, remove this
9622 function. Just use other_visible_frames().
9624 * window.c (Fnext_window):
9626 Since next_frame() is guaranteed to return a frame, remove check
9627 for nil inserted in previous patch.
9630 Make code look more like Fnext_window.
9632 Respect the `console' arg when iterating through windows.
9633 Fixes bug: (get-buffer-window buffer t device) not respecting
9635 This function needs more work, as others have pointed out.
9637 * frame.h: Rename prev_frame to previous_frame.
9638 device_matches_console_spec no longer takes a `frame' arg.
9643 Use EMACS_BLOCK_SIGNAL instead of sigblock.
9644 From "Golubev I. N." <gin@mo.msk.ru>.
9646 * make-src-depend: Fix typo.
9648 2000-09-13 Martin Buchholz <martin@xemacs.org>
9650 * window.c (Fnext_window):
9651 next_frame() might return nil, not a frame.
9653 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
9655 * frame.c (next_frame_internal):
9656 We've passed a frame if we've passed its device.
9658 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
9659 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
9661 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
9663 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
9664 Allow option to suppress accelerators in menu/dialog items.
9665 (populate_or_checksum_helper): Pass dialog title through above.
9667 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
9669 * event-msw.c (mswindows_key_to_emacs_keysym):
9670 Add "pause" key, fix "menu" key.
9672 2000-09-09 Martin Buchholz <martin@xemacs.org>
9674 * eval.c (reinit_vars_of_eval):
9675 Increase max_lisp_eval_depth to 1000,
9676 required for thai-xtis.el to byte-compile under some circumstances.
9678 2000-09-04 Martin Buchholz <martin@xemacs.org>
9680 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
9683 2000-09-01 Martin Buchholz <martin@xemacs.org>
9685 * make-src-depend: Make the generated Makefiles smaller.
9687 * s/hpux.h (SETUP_SLAVE_PTY):
9688 Provide a %d in the format string for the errno argument.
9690 * editfns.c (Ftemp_directory):
9692 Avoid buffer overrun on very long file name.
9694 * input-method-xlib.c (XIM_init_device):
9695 6th parameter of XRegisterIMInstantiateCallback has different
9696 pointer types on different OSes, so simply cast to (void *).
9698 * unexhp9k800.c: Warning fixes. Fiddly changes.
9700 * sysdll.c (dll_open):
9701 shl_load will hang hard if passed a NULL filename.
9702 Simply return NULL for compatibility with dlopen.
9703 * sysdll.c: Conform to XEmacs coding standards.
9705 * sysdep.c (get_pty_max_bytes):
9706 Support pty input lines longer than 512 bytes on HP-UX 10.20.
9708 2000-08-31 Martin Buchholz <martin@xemacs.org>
9710 * tooltalk.c: Add #include <syssignal.h>
9712 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
9714 * s/hpux.h: Don't use undefined function sigunblock().
9716 2000-08-31 Martin Buchholz <martin@xemacs.org>
9718 * config.h.in: Add HAVE_BALLOON_HELP.
9719 * emacs.c: Use HAVE_BALLOON_HELP.
9720 * Makefile.in.in (x_objs):
9721 Make Balloon Help conditional on finding shape.h.
9723 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
9725 * syntax.c (regex_emacs_buffer_p): New variable.
9726 * syntax.h (regex_emacs_buffer_p): extern.
9727 * search.c (looking_at_1):
9729 (fast_string_match):
9730 (search_buffer): Set regex_emacs_buffer_p.
9731 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
9732 when before_dot, at_dot, after_dot.
9734 2000-08-23 Andy Piper <andy@xemacs.org>
9736 * gui-x.c (popup_selection_callback): Only set action_occurred
9737 when we really have an image instance.
9738 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
9740 2000-08-23 Andy Piper <andy@xemacs.org>
9742 * gui-msw.c (mswindows_handle_gui_wm_command): set
9744 * gui-x.c (popup_selection_callback): ditto.
9746 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
9747 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
9748 (struct Lisp_Image_Instance): add action_occurred flag.
9750 * glyphs.c (redisplay_subwindow): use action_occurred flag.
9751 (image_instance_changed): ditto.
9752 (reset_frame_subwindow_instance_cache): only unmap windows - do
9753 not remove them from the cache also.
9755 * glyphs-widget.c (tab_control_update): better debug.
9756 (progress_gauge_update): ditto.
9757 (layout_update): ditto.
9758 (layout_instantiate): ditto.
9759 (tab_control_order_only_changed): cope with null pending items.
9761 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
9762 debug. Force selection of an item when an action occurred. Cope
9763 with null pending_items.
9764 (mswindows_progress_gauge_redisplay): better debug.
9765 * glyphs-x.c (x_tab_control_redisplay): ditto.
9767 * redisplay.c (redisplay_frame): reset the frame cache if the
9770 * window.c (Fset_window_configuration): potentially re-enable
9772 (window_unmap_subwindows): need to finalize instances here since
9773 it is only used in mark_window_as_deleted.
9775 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
9777 * nas.c (SndOpenDataForReading):
9778 nas.c (WaveOpenDataForReading):
9779 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
9780 Somehow escaped from the 2000-08-14 patch.
9782 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
9784 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
9785 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
9787 2000-08-21 Andy Piper <andy@xemacs.org>
9789 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
9790 window if it is not already displayed.
9792 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
9793 it is not already displayed.
9795 * window.c (Fset_window_configuration): don't reset the frame
9798 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
9799 instances from the frame cache if we are actually finalizing them.
9800 (reset_frame_subwindow_instance_cache): reset frame cache only
9801 after unmapping everything.
9802 (map_subwindow): set displayed flag after mapping.
9804 2000-08-21 Martin Buchholz <martin@xemacs.org>
9806 * data.c (indirect_function):
9807 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
9809 * eval.c (function_argcount):
9810 Use original function when signaling errors.
9812 2000-08-18 Andy Piper <andy@xemacs.org>
9814 * frame.c (delete_frame_internal): use new
9815 free_frame_subwindow_instances name.
9817 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
9818 (add_tab_item): make return type correct.
9819 (mswindows_tab_control_instantiate): assert index of tab.
9820 (mswindows_tab_control_redisplay): Re-code to use
9821 gui_item_equal_sans_selected and gui_item_list_find_selected.
9823 * glyphs-widget.c (tab_control_update): Correct comment.
9825 * window.c (window_unmap_subwindows): use new
9826 unmap_subwindow_instance_cache_mapper.
9827 (window_unmap_subwindows_cache_mapper): deleted.
9828 (Fset_window_configuration): comparisons should now be with
9829 EQ. Preserve the subwindow instance cache across configuration
9831 (allocate_window): ditto.
9832 (make_dummy_parent): ditto.
9834 * glyphs.c (free_frame_subwindow_instances): rename from
9835 free_frame_subwindow_instance_cache. finalize all instances rather
9836 than just those in the display cache.
9837 (finalize_all_subwindow_instances): walk windows unmapping and
9838 finalizing subwindows.
9839 (unmap_subwindow_instance_cache_mapper): moved from
9840 window.c. Allow finalization as well as unmapping.
9842 * gui.c (gui_item_list_find_selected): new function.
9844 * gui.h (gui_item_list_find_selected): declare.
9846 * glyphs-x.c (x_tab_control_redisplay): pick tab
9847 explicitly. Re-code to use gui_item_equal_sans_selected and
9848 gui_item_list_find_selected.
9850 * glyphs-x.h: add lwlib-utils.h
9852 * buffer.c (Frecord_buffer): undo previous change.
9854 2000-08-09 Vin Shelton <acs@xemacs.org>
9856 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
9857 possible. Create temporary files more securely. The patch was
9858 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
9859 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
9860 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
9863 2000-08-07 Ben Wing <ben@xemacs.org>
9865 * getloadavg.c: remove duplicate (and windows-breaking)
9866 includes of fcntl.h and sys/file.h.
9868 * nt.c: remove duplicate getloadavg() definition.
9870 * sysdll.h (Qdll_filename_encoding): add missing stand-in
9873 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
9875 * eval.c (function_argcount): If function needs to be autoloaded
9876 actually use the loaded definition.
9879 2000-08-05 Ben Wing <ben@xemacs.org>
9881 * getloadavg.c: add prototype for getloadavg(). remove
9882 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
9883 of the code). remove duplicate header includes.
9885 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
9887 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
9888 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
9889 useful load average.
9891 * alloc.c (reinit_alloc_once_early): removed references to
9892 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
9893 the lisp vars are the only things referencing the malloc_sbrk_*
9894 vars, and they were already if 0'd out. these vars only exist
9895 in the older malloc.c, which is basically unused, and they're
9896 only for informational purposes.
9898 * m\*.h: removed useless VIRT_ADDR_VARIES.
9900 * m\powerpc.h: removed stray NO_ARG_ARRAY.
9902 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
9904 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
9905 color if the image is a mono pixmap.
9907 2000-07-30 Ben Wing <ben@xemacs.org>
9909 * Makefile.in.in (release):
9912 * buffer.c (directory_is_current_directory):
9913 * dired-msw.c (mswindows_get_files):
9915 * dired.c (Fdirectory_files):
9916 * dired.c (file_name_completion_stat):
9917 * dired.c (Ffile_attributes):
9918 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
9919 preprocessor tricks, to avoid problems on some machines
9922 * callproc.c (egetenv): GC docs.
9925 * console-msw.h (struct mswindows_dialog_id):
9926 * lrecord.h (lrecord_type):
9927 New object for use with MSW dialogs.
9929 * console.h (struct console_methods):
9930 New enable/disable frame methods, for proper modal dialogs.
9932 * device-msw.c (msprinter_default_printer): Fix to follow
9933 proper Mule conventions.
9936 * device-msw.c (signal_open_printer_error):
9937 * device-msw.c (msprinter_init_device):
9938 * device-msw.c (ensure_not_printing):
9939 * device-msw.c (plist_get_margin):
9940 * device-msw.c (Fmsprinter_select_settings):
9941 * device-msw.c (finalize_devmode):
9942 * device-msw.c (Fmsprinter_settings_despecialize):
9943 * device-msw.c (signal_enum_priner_error):
9944 * extents.c (decode_extent):
9945 * extents.c (decode_map_extents_flags):
9946 * extents.c (decode_extent_at_flag):
9947 * extents.c (Fextent_at):
9948 * extents.c (Fextents_at):
9949 * extents.c (symbol_to_glyph_layout):
9950 [[[[2]]]] Use structured errors.
9953 * dialog-msw.c (mswindows_is_dialog_msg):
9954 * dialog-msw.c (mark_mswindows_dialog_id):
9955 * dialog-msw.c (dialog_proc):
9956 * dialog-msw.c (handle_question_dialog_box):
9957 * dialog-msw.c (syms_of_dialog_mswindows):
9958 Define new object to clean up marking; use it as a dialog identifier.
9959 Call new delete-dialog-box-hook.
9961 * dialog-x.c (dbox_selection_callback):
9962 * dialog-x.c (dbox_descriptor_to_widget_value):
9963 * dialog-x.c (x_make_dialog_box_internal):
9964 Call new delete-dialog-box-hook.
9968 * dialog.c (syms_of_dialog):
9969 * dialog.c (vars_of_dialog):
9970 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
9973 * eval.c (signal_call_debugger):
9974 when noninteractive, output stack traces on the console instead
9975 of in a (never-seen) buffer.
9977 * eval.c (signal_type_error):
9978 * eval.c (invalid_argument_2):
9980 new funs for use w/structured errors.
9983 * event-Xt.c (x_to_emacs_keysym):
9984 * event-Xt.c (describe_event):
9985 * event-Xt.c (emacs_Xt_event_handler):
9986 * event-Xt.c (vars_of_event_Xt):
9988 * event-msw.c (mswindows_wnd_proc):
9989 * event-msw.c (vars_of_event_mswindows):
9990 rename {x,mswindows}-debug-events to debug-{}-events for
9991 consistency with other debug-foo variables.
9994 document next-event more clearly.
9996 * fileio.c (Ffile_name_directory):
9997 * fileio.c (Ffile_name_nondirectory):
9998 * fileio.c (Funhandled_file_name_directory):
9999 * fileio.c (file_name_as_directory):
10000 * fileio.c (Ffile_name_as_directory):
10001 * fileio.c (directory_file_name):
10002 * fileio.c (Fdirectory_file_name):
10003 * fileio.c (Fmake_temp_name):
10004 * fileio.c (Ffile_truename):
10005 * fileio.c (Fsubstitute_in_file_name):
10006 * fileio.c (expand_and_dir_to_file):
10007 * fileio.c (barf_or_query_if_file_exists):
10008 * fileio.c (check_executable):
10009 * fileio.c (Ffile_exists_p):
10010 * fileio.c (Ffile_writable_p):
10011 * fileio.c (Ffile_directory_p):
10012 * fileio.c (Ffile_regular_p):
10013 * fileio.c (Ffile_modes):
10014 * fileio.c (Ffile_newer_than_file_p):
10015 * fileio.c (Fverify_visited_file_modtime):
10016 * fileio.c (Fset_visited_file_modtime):
10017 * fileio.c (auto_save_1):
10022 * frame-msw.c (mswindows_init_frame_1):
10023 * frame-msw.c (mswindows_enable_frame):
10024 * frame-msw.c (error_frame_unsizable):
10025 * frame-msw.c (msprinter_init_frame_1):
10026 * frame-msw.c (msprinter_init_frame_3):
10027 * frame-msw.c (console_type_create_frame_mswindows):
10029 implement new enable/disable frame methods.
10032 * frame-x.c (x_enable_frame):
10033 * frame-x.c (console_type_create_frame_x):
10034 implement new enable/disable frame methods.
10037 * frame.c (Fdisable_frame):
10038 * frame.c (syms_of_frame):
10039 * frame.h (struct frame):
10040 implement new enable/disable frame methods/functions.
10045 * glyphs-msw.c (mswindows_widget_instantiate):
10046 comment that initial-focus should be implemented.
10049 * glyphs-widget.c (check_valid_instantiator):
10050 * glyphs-widget.c (check_valid_orientation):
10051 * glyphs-widget.c (check_valid_tab_orientation):
10052 * glyphs-widget.c (check_valid_justification):
10053 * glyphs-widget.c (check_valid_border):
10054 * glyphs-widget.c (check_valid_callback):
10055 * glyphs-widget.c (check_valid_int_or_function):
10056 * glyphs-widget.c (check_valid_string_or_vector):
10057 * glyphs-widget.c (check_valid_item_list_1):
10058 * glyphs-widget.c (widget_validate):
10059 * glyphs-widget.c (combo_box_validate):
10060 * glyphs-widget.c (widget_instantiate):
10061 * glyphs-widget.c (syms_of_glyphs_widget):
10062 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
10063 * glyphs-widget.c (image_instantiator_combo_box):
10064 * glyphs-widget.c (image_instantiator_scrollbar):
10065 * glyphs-widget.c (image_instantiator_tab_control):
10066 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
10068 support (unimplemented) keyword initial-focus.
10069 reindent long macros.
10071 * glyphs-x.c (x_redisplay_widget):
10072 * glyphs-x.c (x_button_instantiate):
10073 * glyphs-x.c (x_button_redisplay):
10074 * glyphs-x.c (x_progress_gauge_instantiate):
10075 * glyphs-x.c (x_edit_field_instantiate):
10076 * glyphs-x.c (x_combo_box_instantiate):
10077 * glyphs-x.c (x_tab_control_instantiate):
10078 * glyphs-x.c (x_label_instantiate):
10080 * gui-x.c (button_item_to_widget_value):
10081 * gui-x.c (gui_items_to_widget_values_1):
10082 * gui-x.c (gui_item_children_to_widget_values):
10083 * gui-x.c (gui_items_to_widget_values):
10085 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10086 add new flag to gui-parsing routines to indicate whether
10087 accelerator specs should be supported.
10089 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
10091 * glyphs.h (struct Lisp_Image_Instance):
10092 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
10093 add initial-focus flag.
10096 * gui.c (syms_of_gui):
10097 * gui.c (vars_of_gui):
10098 clean up menu-no-selection-hook.
10101 support delete-dialog-box-hook.
10103 * lread.c (Fload_internal):
10104 * lread.c (locate_file_in_directory_mapper):
10108 * lrecord.h (struct toolbar_button):
10109 * lrecord.h (syms_of_toolbar):
10110 document how to create a new object.
10112 * menubar-msw.c (mswindows_char_is_accelerator):
10113 may be called on frames w/o menus.
10115 * menubar.c (vars_of_menubar):
10116 clean up :filter docs.
10123 * process-nt.c (validate_signal_number):
10124 * process-nt.c (signal_cannot_launch):
10125 * process-nt.c (nt_create_process):
10126 * process-nt.c (nt_send_process):
10127 * process-nt.c (nt_kill_child_process):
10128 * process-nt.c (nt_open_network_stream):
10129 * process-nt.c (syms_of_process_nt):
10131 delete quote-handling. call new lisp code that does it better.
10133 * process-unix.c (connect_to_file_descriptor):
10134 * process-unix.c (allocate_pty):
10135 * process-unix.c (unix_send_process):
10136 * process-unix.c (unix_kill_child_process):
10137 * process-unix.c (unix_open_network_stream):
10138 * process-unix.c (unix_open_multicast_group):
10142 * process.c (Fstart_process_internal):
10143 (2). need to canonicalize process path even if absolute.
10145 * select-msw.c (symbol_to_ms_cf):
10146 * select-msw.c (ms_cf_to_symbol):
10147 * select-msw.c (cf_is_autofreed):
10148 * select-msw.c (mswindows_destroy_selection):
10150 * select.c (syms_of_select):
10152 support dibv5, fix bugs. (from Mike Alexander)
10154 * select.c (Fget_selection_internal):
10155 * select.c (select_convert_out):
10158 * sysdep.c (xemacs_stat):
10161 * sysdep.c (mkdir):
10162 * sysdep.c (rmdir):
10163 but keep original stat() here because we provide encapsulation
10167 * sysfile.h (fstat):
10168 remove stat garbage.
10171 fix X/MSW conflict.
10172 don't include tchar.h. it's inappropriate because it makes
10173 compile-time distinctions when we want runtime distinctions.
10174 (we provide our own tchar replacements)
10177 use default object printer for toolbar-button.
10180 make sure we don't encapsulate.
10182 * window.c (vars_of_window):
10183 emphasize that temp-buffer-show-hook is obsolete.
10185 2000-08-05 Martin Buchholz <martin@xemacs.org>
10187 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
10188 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
10190 * events.c (Fevent_timestamp_lessp):
10191 Not 64-bit clean. Use EMACS_INT, not int.
10193 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
10195 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
10196 unsigned int and changed the last enum to
10197 lrecord_type_last_built_in_type.
10198 (lrecord_implementations_table): changed prototype to know how
10199 long the array is supposed to be.
10200 (lrecord_type_count): new unsigned int to keep track of the
10201 current number of lisp lrecord types.
10202 (DEFINE_EXTERNAL_LRECORD):
10203 (DECLARE_EXTERNAL_LRECORD): Added these two for external
10204 dynamic-modules to declare new lisp types. They are the same
10205 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
10206 int for each new type, and increment lrecord_type_count by 1.
10208 * alloc.c (lrecord_implementations_table): Changed to reference
10209 lrecord_type_last_built_in_type for the size of the array.
10210 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
10212 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
10214 * glyphs.h (check_valid_item_list): Renamed from
10215 check_valid_item_list_1.
10217 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
10219 * select.c (Qselect_coerce): New.
10220 * select.c (Vselection_coercion_alist): New.
10221 * select.c (syms_of_select): Declare.
10222 * select.c (get-selection-internal): Use it.
10223 Use the new select-coerce functionality.
10225 * select.c (select_coerce): New.
10226 * select.h (select_coerce): Declare.
10227 New function to coerce one type of data into another.
10229 2000-08-03 Martin Buchholz <martin@xemacs.org>
10231 * callproc.c (Fcall_process_internal):
10232 (Fcall_process_internal):
10233 * process-unix.c (unix_create_process):
10234 Save and restore the value of errno, so that error messages are accurate.
10236 2000-08-01 Martin Buchholz <martin@xemacs.org>
10238 * elhash.c (print_hash_table):
10239 Fix printing of hash tables to also use `key-and-value' instead of `t'.
10240 Prettify docstrings and indentation.
10242 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
10244 * window.c (Fwindow_pixel_edges): Subtract frame border and
10247 2000-07-31 Andy Piper <andy@xemacs.org>
10249 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
10250 will acknowledge the change.
10252 * glyphs.h: declare tab_control_order_only_changed.
10254 * glyphs-x.c (x_tab_control_redisplay): use
10255 tab_control_order_only_changed.
10257 * glyphs-widget.c (tab_control_order_only_changed): new function.
10259 * glyphs-msw.c (mswindows_tab_control_redisplay): use
10260 tab_control_order_only_changed.
10262 * gui.c (gui_item_equal_sans_selected): new function.
10263 (gui_item_equal): use it.
10265 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
10266 :properties in favor of :items..
10268 * glyphs-widget.c (check_valid_item_list): rename from
10269 check_valid_item_list_1.
10270 (check_valid_item_list_1): renamed.
10271 (combo_box_validate): deprecate :properties in favor of :items.
10272 (widget_instantiate): ditto.
10273 (tab_control_update): ditto.
10274 (image_instantiator_combo_box): ditto.
10275 (image_instantiator_tree_view): ditto.
10276 (image_instantiator_tab_control): ditto.
10277 (layout_post_instantiate): remove dead code.
10279 * print.c (debug_print_no_newline): only write to debugger if in
10282 * elhash.c (Fmake_hash_table): update doc string.
10284 * event-msw.c (mswindows_wnd_proc): don't allow processing of
10285 messages whilst in GC. This at least stops XEmacs crashing but has
10286 the potential for wierd behaviour.
10288 2000-07-31 Martin Buchholz <martin@xemacs.org>
10291 Make existence of s&m files optional.
10293 * s/bsd386.h: Remove HAVE_GETLOADAVG.
10294 * s/freebsd.h: Remove HAVE_GETLOADAVG.
10295 * s/gnu.h: Remove HAVE_GETLOADAVG.
10296 * s/netbsd.h: Remove HAVE_GETLOADAVG.
10297 * s/sol2.h: Remove HAVE_GETLOADAVG.
10298 * lisp.h: Remove getloadavg() declaration.
10300 Include <sys/loadavg.h> if available.
10301 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
10302 * config.h.in: Group together getloadavg()-related macros.
10303 Use only configure-time tests to detect getloadavg().
10305 2000-07-30 Martin Buchholz <martin@xemacs.org>
10307 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
10309 2000-07-25 Andy Piper <andy@xemacs.org>
10311 * syswindows.h: add tchar.h for native builds.
10313 * frame.c (syms_of_frame): remove set-glyph-image.
10315 * general-slots.h: add Qset_glyph_image.
10317 * glyphs-widget.c (layout_update): add domain arg to
10319 (syms_of_glyphs_widget): remove set-glyph-image.
10321 2000-07-23 Ben Wing <ben@xemacs.org>
10323 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
10326 2000-07-22 Andy Piper <andy@xemacs.org>
10328 * symsinit.h: add syms_of_win32().
10330 * gui-msw.c (syms_of_gui_mswindows): remove
10331 Fmswindows_shell_execute.
10332 (Fmswindows_shell_execute): moved to win32.c.
10334 * emacs.c (main_1): add syms_of_win32 ().
10336 * win32.c (init_potentially_nonexistent_functions): rewrite in
10337 compiler-friendly terms.
10338 (Fmswindows_shell_execute): move here from gui-msw.c.
10339 (syms_of_win32): new.
10341 * device-msw.c (Fmswindows_printer_list): clean up args to
10343 Don't include tchar under cygwin or mingw.
10344 (msprinter_default_printer): make cygwin-friendly.
10346 2000-07-21 Andy Piper <andy@xemacs.org>
10348 * glyphs-widget.c (image_instantiator_tree_view): use tab
10349 control's update function.
10350 (layout_property): new function. Retrieve items.
10352 * glyphs-msw.c (mswindows_tree_view_redisplay): new
10353 function. Re-populate the tree view from the pending items.
10355 * glyphs.c (instantiate_image_instantiator): Make sure the domain
10356 is designated the parent if the domain is an image instance. This
10357 is needed so that dirtiness can be cascade up the hierarchy and
10358 thus for layout children to be redisplayed correctly.
10359 (allocate_image_instance): rename glyph -> parent.
10361 * redisplay.h: change redisplay_output_layout signature.
10363 * redisplay-msw.c (mswindows_output_display_block): use domain
10366 * redisplay-x.c (x_output_display_block): use domain arg.
10368 2000-07-10 Andy Piper <andy@xemacs.org>
10370 * window.c (Fset_window_configuration): add comment.
10372 * redisplay-output.c (compare_runes):
10373 (redisplay_output_subwindow): redisplay rather than update subwindow.
10374 (redisplay_output_layout): ditto.
10376 * redisplay-msw.c (mswindows_frame_output_end):
10377 (mswindows_frame_output_end): make defer window pos optional.
10379 * lisp.h: add Flast.
10381 * glyphs.h (struct image_instantiator_methods): add dest_mask top
10382 normalize method. Change update method to be for changed
10383 instantiators. Add redisplay method. Change signature of layout
10385 (struct Lisp_Image_Instance): add instantiator.
10386 (IMAGE_INSTANCE_INSTANTIATOR): new.
10387 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
10388 (XIMAGE_INSTANCE_INSTANTIATOR): new.
10389 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
10392 (find_instantiator_differences): new function.
10393 (Fset_instantiator_property): new convenience function.
10394 (check_image_instance_structure): strictly check for vector
10396 (normalize_image_instantiator): make non-static.
10397 (instantiate_image_instantiator): pass on dest_mask and use new
10398 signatures for image_instance_layout and friends.
10399 (mark_image_instance): mark the instantiator. Mark the subwindow
10400 face not the widget face.
10401 (image_instance_equal): add instantiator.
10402 (image_instance_hash): ditto.
10403 (allocate_image_instance): ditto.
10404 (Fset_image_instance_property): removed.
10405 (Fimage_instance_file_name): ditto.
10406 (Fcolorize_image_instance): ditto.
10407 (image_instance_layout): add offsets to be set.
10408 (update_image_instance): new function. update an image instance
10409 from its changed instantiator.
10410 (inherit_normalize): add dest_mask.
10411 (xbm_normalize): ditto.
10412 (xface_normalize): ditto.
10413 (xpm_normalize): ditto.
10414 (text_update): set_property -> update.
10415 (image_instantiate): use the glyph identity as a hash key, not the
10417 (glyph_width): use new image_instance_layout signature.
10418 (glyph_ascent): ditto.
10419 (glyph_descent): ditto.
10420 (glyph_height): ditto.
10421 (glyph_query_geometry): ressurrect.
10422 (glyph_layout): ditto.
10423 (redisplay_subwindow): update -> redisplay.
10424 (syms_of_glyphs): add Fset_instantiator_property.
10425 (image_instantiator_format_create): set_property -> update.
10428 (autodetect_normalize): add dest_maks to signature.
10429 (x_redisplay_subwindow): update -> redisplay.
10430 (x_redisplay_widget): ditto.
10431 (x_button_redisplay): ditto.
10432 (x_progress_gauge_redisplay): ditto.
10433 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
10435 (console_type_create_glyphs_x): update -> redisplay.
10436 (image_instantiator_format_create_glyphs_x): ditto.
10439 (check_valid_instantiator): disallow glyphs in the instantiator,
10440 they must now be vectors.
10441 (check_valid_instantiator_list): ditto.
10442 (glyph_instantiator_to_glyph): use internal symbol rather than
10444 (widget_update): renamed from widget_set_property. Call cascaded
10446 (redisplay_widget): renamed from update_widget.
10447 (widget_layout): image_instance_layout now takes position as well
10449 (widget_normalize): ditto.
10450 (widget_instantiate): ditto.
10451 (tab_control_query_geometry) ditto.:
10452 (tab_control_update): renamed from tab_control_set_property.
10453 (progress_gauge_update): set_property -> update.
10454 (layout_normalize): rewrite so that child instantiators are
10456 (layout_update): new function. Create glyphs from the normalized
10457 children and cope with any other layout keywords. We do not
10458 instantiate children here that will be take care of by
10459 redisplay_output_layout.
10460 (layout_instantiate): call layout_update and not much else.
10461 (layout_post_instantiate): not sure whether this is needed
10463 (layout_query_geometry): query glyph geometry rather than
10464 image_instance geometry.
10465 (layout_layout): set offsets from pass in parameters. Use glyph
10466 geometry and layout functions rather than image instance ones.
10467 (native_layout_layout): ditto.
10468 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
10469 (image_instantiator_widget): set_property -> update.
10470 (image_instantiator_buttons): ditto.
10471 (image_instantiator_progress_guage): ditto.
10472 (image_instantiator_tab_control): ditto.
10473 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
10474 (image_instantiator_layout): add update method.
10476 * glyphs-msw.c (bmp_normalize):
10477 (mswindows_resource_normalize): add dest_mask so that it can be
10478 proprogated by layout_normalize.
10479 (begin_defer_window_pos): make optional because it may not be the
10480 right thing to do and it introduces differences with X.
10481 (mswindows_unmap_subwindow): ditto.
10482 (mswindows_map_subwindow): ditto.
10483 (mswindows_redisplay_subwindow): renamed from
10484 mswindows_update_subwindow.
10485 (mswindows_redisplay_widget): ditto.
10486 (mswindows_button_redisplay): renamed from
10487 mswindows_button_update. Update is now what the instantiation
10488 function does for a changed instantiator.
10489 (mswindows_progress_gauge_instantiate): set the progress value
10490 here if appropriate.
10491 (mswindows_tab_control_redisplay): cope with re-ordering of the
10492 members of the tab widget by simply selecting the new top
10493 widget. This makes things appear ok if you click on a tab.
10494 (mswindows_combo_box_instantiate): image_instance_layout now takes
10495 position as well as size.
10496 (mswindows_progress_gauge_redisplay): renamed from
10497 mswindows_progress_gauge_update.
10498 (console_type_create_glyphs_mswindows): fix update -> redisplay.
10499 (image_instantiator_format_create_glyphs_mswindows): ditto.
10501 * glyphs-eimage.c (jpeg_normalize):
10504 (tiff_normalize): add dest_mask so that it can be proprogated by
10508 (print_hash_table):
10509 (hash_table_weakness_validate):
10510 (decode_hash_table_weakness):
10511 (Fhash_table_weakness):
10512 (Fhash_table_type):
10513 (syms_of_elhash): use Ben's naming scheme for hashtable types..
10515 * console.h (struct console_methods): move update_* to
10518 2000-07-20 Ben Wing <ben@xemacs.org>
10520 * *.[ch] (XSETOBJ): remove unused middle argument.
10521 lisp-disunion.h: correct wrap_object() to one argument.
10523 2000-07-15 Ben Wing <ben@xemacs.org>
10526 * s/cygwin32.h (CYGWIN_CONV_PATH):
10527 Add missing logb prototype for v1.1.
10528 Use post-b20 names and alias to pre-b20 names when pre-b20.
10530 * s/windowsnt.h: [5].
10532 2000-07-15 Ben Wing <ben@xemacs.org>
10534 * Makefile.in.in (x_objs):
10535 * Makefile.in.in (sheap_objs):
10536 * Makefile.in.in (objs):
10537 added win32.o, cosmetic cleanups.
10539 * alloc.c (Fmake_byte_code):
10540 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
10541 etc. macros which declare their own args now.
10543 * alloc.c (syms_of_alloc):
10544 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
10547 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
10549 * buffer.c (Fget_file_buffer):
10550 Fixed GCPRO problem.
10552 * buffer.c (get_truename_buffer):
10553 Fixed comment about GC checking.
10555 * buffer.c (syms_of_buffer):
10556 Undeclared those dedicated frame funs.
10560 Define convenience macros for internal/external conversions.
10561 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
10562 and Qenvironment_variable_encoding for cleaner code.
10565 Remove dedicated-frame; in lisp.
10567 * bytecode.c (funcall_compiled_function):
10570 * bytecode.c (syms_of_bytecode):
10574 * console-msw.c (mswindows_show_console): Rewrote.
10576 * console-msw.c (Fmswindows_debugging_output): New.
10577 Sends to OutputDebugString (special MSWin debugger interface).
10579 * console-msw.c (Fmswindows_message_box):
10580 Fixed stupid bugs so it works when called from kill-emacs.
10582 * console-msw.c (syms_of_console_mswindows):
10583 Declare Fmswindows_debugging_output.
10586 New MSWin prototypes.
10588 * console-msw.h (struct mswindows_frame):
10589 New entry last-click-mods for improved button-modifier support.
10591 * console-msw.h (FRAME_MSWINDOWS_POPUP):
10592 New struct entry `popup' with corresponding accessor.
10595 * console-x.c (split_up_display_spec):
10596 * console-x.c (get_display_arg_connection):
10597 * console-x.c (x_semi_canonicalize_console_connection):
10598 * console-x.c (x_canonicalize_device_connection):
10599 [[[6]]]: Change char to more specific type.
10600 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
10602 * console-x.c (x_semi_canonicalize_console_connection):
10603 * console-x.c (x_canonicalize_device_connection):
10604 [[[9]]]: Fix up error signalling to use new structured error system.
10607 [[[4]]]: Define codesys aliases:
10608 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
10609 Qx_color_name_encoding, Qx_display_name_encoding.
10611 * console.h (struct console_methods):
10612 New method make_dialog_box_internal supersedes older
10613 popup_dialog_box method.
10616 Define many new errors, part of new structured errors.
10618 * data.c (init_errors_once_early):
10619 * data.c (syms_of_data):
10622 * device-msw.c (mswindows_init_device):
10623 [[[5]]]: Cleanup to support NT 3.51.
10625 * device-msw.c (decode_devmode): Cleanup.
10627 * device-msw.c (mswindows_handle_print_setup_dialog_box):
10628 * device-msw.c (mswindows_handle_print_dialog_box):
10629 * device-msw.c (mswindows_handle_page_setup_dialog_box):
10630 * device-msw.c (syms_of_device_mswindows):
10631 Delete the dialog box primitives recently introduced by Kirill and
10632 instead interface to general dialog box interface.
10635 * device-x.c (compute_x_app_name):
10636 * device-x.c (x_init_device):
10637 * device-x.c (Fx_valid_keysym_name_p):
10638 * device-x.c (Fx_set_font_path):
10642 * device.h (wrap_device): New.
10643 First of its kind; meant to replace XSETDEVICE.
10645 * dialog-msw.c: Many file-dialog symbols.
10647 * dialog-msw.c (mswindows_register_popup_frame): New.
10648 * dialog-msw.c (mswindows_is_dialog_msg): New.
10649 For supporting kbd traversal in dialog boxes.
10651 * dialog-msw.c (dialog_proc):
10652 Support hitting ESC in dialogs.
10654 * dialog-msw.c (struct):
10655 Common dialog box errors.
10657 * dialog-msw.c (handle_file_dialog_box): New.
10658 Add file dialog code.
10660 * dialog-msw.c (handle_question_dialog_box):
10661 Redo existing code to support new question dialog syntax.
10663 * dialog-msw.c (console_type_create_dialog_mswindows):
10664 We support new dialog console method.
10666 * dialog-msw.c (syms_of_dialog_mswindows):
10667 * dialog-msw.c (vars_of_dialog_mswindows):
10668 New file dialog symbols, vars.
10671 * dialog-x.c (maybe_run_dbox_text_callback):
10672 * dialog-x.c (dbox_descriptor_to_widget_value):
10673 * dialog-x.c (x_make_dialog_box_internal):
10674 * dialog-x.c (console_type_create_dialog_x):
10675 Mule-ize entire file.
10676 Redo to support question dialog syntax.
10680 * dialog.c (Fmake_dialog_box_internal):
10681 * dialog.c (syms_of_dialog):
10682 Kill old popup-dialog-box, replace with new primitive.
10683 Just call device method or signal error.
10685 * eldap.c (Fldap_open):
10686 * eldap.c (Fldap_search_basic):
10687 * eldap.c (Fldap_add):
10688 * eldap.c (Fldap_modify):
10693 * emacs.c (make_arg_list_1):
10694 * emacs.c (make_arg_list):
10695 Mule-ize call to dll_init().
10699 * emacs.c (make_argc_argv):
10700 * emacs.c (free_argc_argv):
10701 * emacs.c (init_cmdargs):
10702 * emacs.c (main_1):
10703 * emacs.c (Fkill_emacs):
10704 * emacs.c (Fdump_emacs):
10705 Update comments about what can be used in syms_* etc.
10706 Call init_win32() when necessary.
10707 Fix up MS Win dialog box in kill-buffer to actually work right.
10718 * eval.c (condition_case_3):
10720 * eval.c (function_argcount):
10721 * eval.c (funcall_lambda):
10724 * eval.c (type_error): New.
10725 * eval.c (maybe_type_error): New.
10726 * eval.c (continuable_type_error): New.
10727 * eval.c (maybe_continuable_type_error): New.
10728 * eval.c (type_error_with_frob): New.
10729 * eval.c (maybe_type_error_with_frob): New.
10730 * eval.c (continuable_type_error_with_frob): New.
10731 * eval.c (maybe_continuable_type_error_with_frob): New.
10732 New functions for use with structured errors.
10735 * event-Xt.c (x_event_to_emacs_event):
10736 Buttons are now modifiers too.
10738 * event-Xt.c (emacs_Xt_current_event_timestamp):
10739 Implement new event method.
10740 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
10743 * event-msw.c (ntpipe_shove_writer): [5].
10744 * event-msw.c (mswindows_enqueue_mouse_button_event):
10745 * event-msw.c (mswindows_drain_windows_queue):
10746 * event-msw.c (mswindows_wnd_proc): [7].
10747 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
10748 * event-msw.c (mswindows_modifier_state):
10749 Throughout: support new button modifiers.
10751 * event-msw.c (emacs_mswindows_current_event_timestamp):
10752 Implement new event method.
10753 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
10756 * event-stream.c (event_stream_current_event_timestamp): New.
10757 * event-stream.c (maybe_kbd_translate): New functionality.
10758 * event-stream.c (vars_of_event_stream):
10759 Document new kbd-translate-table functionality.
10761 * event-stream.c (Fcurrent_event_timestamp): New.
10762 New primitive for use in fabricated events.
10763 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
10765 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
10768 * events.c (Fmake_event):
10769 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
10773 * events.c (format_event_object): fix gcc warnings.
10775 * events.c (Fevent_timestamp): Document new primitives.
10777 * events.c (TIMESTAMP_HALFSPACE): New.
10779 * events.c (Fevent_timestamp_lessp): New. New primitive for
10780 comparing timestamps correctly (half-space algorithm).
10782 * events.c (Fevent_modifier_bits): Doc fix.
10784 * events.c (Fevent_modifiers): Major doc addition.
10785 * events.c (event_x_y_pixel_internal): Typo fix.
10786 * events.c (syms_of_events): Declare new primitives.
10789 Update long comment for button modifiers, timestamps.
10791 * events.h (struct event_stream):
10792 New current_event_timestamp method.
10795 * extents.c (extent_in_region_p):
10796 * extents.c (decode_extent):
10797 * extents.c (Fset_extent_parent):
10798 * extents.c (decode_map_extents_flags):
10802 * extents.c (struct extent_at_arg):
10803 * extents.c (decode_extent_at_flag):
10804 * extents.c (extent_at_mapper):
10805 * extents.c (extent_at_bytind):
10806 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
10807 * extents.c (Fextents_at): New primitive. [9].
10808 * extents.c (symbol_to_glyph_layout): [9].
10809 Support new primitive `extents-at'.
10812 * extents.c (get_text_property_bytind):
10813 extent_at_bytind has another arg.
10816 * extents.c (syms_of_extents): New primitive.
10818 * file-coding.c (Fmake_coding_system): [1].
10819 * file-coding.c (subsidiary_coding_system): fix gcc warning
10820 * file-coding.c (syms_of_file_coding): [2].
10822 * fileio.c (Fexpand_file_name):
10823 * fileio.c (Fsysnetunam):
10824 * fileio.c (Ffile_exists_p):
10825 * fileio.c (Ffile_executable_p):
10826 * fileio.c (Fverify_visited_file_modtime):
10829 * fileio.c (syms_of_fileio): [2].
10831 * filelock.c (lock_file_1):
10832 * filelock.c (current_lock_owner):
10833 * filelock.c (lock_if_free):
10834 * filelock.c (lock_file):
10835 * filelock.c (unlock_file):
10838 * fns.c (concat): Fix gcc warning.
10841 * fns.c (Fold_member):
10843 * fns.c (Fold_memq):
10844 * fns.c (memq_no_quit):
10846 * fns.c (Fold_assoc):
10848 * fns.c (Fold_assq):
10849 * fns.c (assq_no_quit):
10851 * fns.c (Fold_rassoc):
10853 * fns.c (Fold_rassq):
10854 * fns.c (rassq_no_quit):
10856 * fns.c (Fold_delete):
10858 * fns.c (Fold_delq):
10859 * fns.c (delq_no_quit):
10860 * fns.c (Fremassoc):
10861 * fns.c (Fremassq):
10862 * fns.c (remassq_no_quit):
10863 * fns.c (Fremrassoc):
10864 * fns.c (Fremrassq):
10865 * fns.c (remrassq_no_quit):
10866 * fns.c (Freverse):
10870 * frame-msw.c (mswindows_init_frame_1):
10871 * frame-msw.c (mswindows_delete_frame):
10872 Register popups with dialog code so keyboard traversing works.
10874 * frame-tty.c (tty_raise_frame_no_select): [1].
10877 * frame-x.c (x_set_frame_text_value):
10878 * frame-x.c (x_set_frame_properties):
10879 * frame-x.c (x_create_widgets):
10883 * frame.c (Fmouse_pixel_position): Minor doc fixes.
10885 * frame.h (wrap_frame): New.
10886 Macro like wrap_device.
10889 * general.c (SYMBOL):
10890 * general.c (syms_of_general):
10891 Major reorg. This is now just a wrapper and symbols themselves
10892 are listed in general-slots.h.
10894 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
10895 * glyphs-msw.c (mswindows_resource_instantiate): [5].
10897 * glyphs-msw.c (mswindows_native_layout_instantiate):
10898 Add DS_CONTROL so keyboard traversal will work.
10901 * glyphs-widget.c (syms_of_glyphs_widget):
10902 Move some symbols to general-slots.h.
10905 * glyphs-x.c (xbm_instantiate_1):
10906 * glyphs-x.c (x_xbm_instantiate):
10907 * glyphs-x.c (x_xface_instantiate):
10908 * glyphs-x.c (autodetect_instantiate):
10909 * glyphs-x.c (cursor_font_instantiate):
10910 * glyphs-x.c (x_update_widget):
10911 * glyphs-x.c (x_widget_instantiate):
10912 * glyphs.c (bitmap_to_lisp_data):
10913 * glyphs.c (pixmap_to_lisp_data):
10916 * glyphs.c (syms_of_glyphs):
10920 * gui-x.c (print_widget_value):
10921 * gui-x.c (menu_separator_style_and_to_external):
10922 * gui-x.c (add_accel_and_to_external):
10923 * gui-x.c (button_item_to_widget_value):
10924 * gui-x.c (gui_items_to_widget_values_1):
10925 * gui-x.c (gui_items_to_widget_values):
10926 * gui-x.c (syms_of_gui_x):
10927 * gui-x.c (vars_of_gui_x):
10928 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
10932 Muleize, prototype changes matching gui-x.c.
10935 * gui.c (separator_string_p):
10936 * gui.c (gui_item_add_keyval_pair):
10937 * gui.c (make_gui_item_from_keywords_internal):
10938 * gui.c (signal_too_long_error):
10939 * gui.c (parse_gui_item_tree_item):
10940 * gui.c (syms_of_gui):
10941 * gui.c (vars_of_gui):
10943 menu-no-selection-hook moved here (used by MSWin).
10944 Move some symbols to general-slots.h.
10948 * insdel.c (get_buffer_pos_char):
10949 * insdel.c (get_buffer_range_char):
10952 * keymap.c (keymap_lookup_directly):
10953 * keymap.c (keymap_store):
10954 * keymap.c (ensure_meta_prefix_char_keymapp):
10955 * keymap.c (describe_map):
10957 Support new button modifiers.
10959 * lisp-disunion.h (wrap_object):
10960 * lisp-disunion.h (XSETOBJ):
10961 Rename make_obj to wrap_object.
10964 * lisp-union.h (make_int):
10965 * lisp-union.h (make_char):
10966 Support wrap_object.
10969 * lisp.h (LIST_LOOP):
10970 * lisp.h (EXTERNAL_LIST_LOOP):
10971 * lisp.h (LIST_LOOP_2):
10972 * lisp.h (EXTERNAL_LIST_LOOP_1):
10973 * lisp.h (EXTERNAL_LIST_LOOP_2):
10974 * lisp.h (EXTERNAL_LIST_LOOP_3):
10975 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
10976 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
10977 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
10978 * lisp.h (EXTERNAL_ALIST_LOOP_5):
10979 * lisp.h (EXTERNAL_ALIST_LOOP_6):
10980 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
10981 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
10982 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
10983 * lisp.h (struct Lisp_Symbol):
10984 * lisp.h (maybe_continuable_error_with_frob):
10985 Fix up section comments.
10986 Add new types for char to indicate usage.
10987 Delete symbols auto-generated from general-slots.h.
10988 Add prototypes for structured error functions.
10989 Add long comments describing looping macros and change interface
10990 so that lvalues are automatically declared.
10991 Add NO_DECLARE macro in case callers want to declare lvalues
10994 * lread.c (read_syntax_error):
10995 * lread.c (continuable_read_syntax_error):
10996 * lread.c (read_structure):
10997 * lread.c (sequence_reader):
10998 * lread.c (read_list_conser):
10999 * lread.c (read_compiled_function):
11000 Rename syntax_error and continuable_syntax_error to avoid clash
11001 with same-named structured error functions.
11003 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11004 * menubar-msw.c (populate_menu_add_item):
11005 * menubar-msw.c (populate_or_checksum_helper):
11010 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11011 Mule-ize whole file.
11013 * menubar.c (Fnormalize_menu_item_name): Add optimization.
11015 * mule-charset.c (Fmake_charset):
11016 * mule-wnnfns.c (Fwnn_set_param):
11019 * ntproc.c (create_child):
11020 * ntproc.c (Fwin32_set_current_locale):
11021 Add comments portending doom.
11024 * objects-msw.c (old_font_enum_callback_2):
11025 * objects-msw.c (font_enum_callback_1):
11026 * objects-msw.c (mswindows_enumerate_fonts):
11030 * objects-x.c (allocate_nearest_color):
11031 * objects-x.c (x_parse_nearest_color):
11032 * objects-x.c (x_initialize_color_instance):
11033 * objects-x.c (x_print_color_instance):
11034 * objects-x.c (x_finalize_color_instance):
11035 * objects-x.c (x_valid_color_name_p):
11036 * objects-x.c (x_initialize_font_instance):
11037 * objects-x.c (x_print_font_instance):
11038 * objects-x.c (valid_x_font_name_p):
11039 * objects-x.c (truename_via_FONT_prop):
11040 * objects-x.c (truename_via_random_props):
11041 * objects-x.c (truename_via_XListFonts):
11042 * objects-x.c (x_font_truename):
11043 * objects-x.c (x_font_instance_truename):
11044 * objects-x.c (x_font_instance_properties):
11045 * objects-x.c (x_list_fonts):
11046 * objects-x.c (x_find_charset_font):
11047 Mule-ize entire file.
11054 * print.c (std_handle_out_external):
11055 * print.c (debug_print_no_newline):
11056 * print.c (syms_of_print):
11057 Output to all debugger kinds in debug-print.
11058 Fix console-output code under MSWin to actually work.
11060 * process-nt.c (send_signal):
11061 * process-nt.c (nt_create_process):
11062 Use newer Unicode macros.
11064 * process-unix.c (unix_create_process):
11065 * process-unix.c (unix_canonicalize_host_name):
11066 * process-unix.c (unix_open_network_stream):
11072 * search.c (syms_of_search):
11075 * select-msw.c (mswindows_destroy_selection):
11078 * select-x.c (symbol_to_x_atom):
11081 * select.c (syms_of_select):
11084 * sound.c (Fplay_sound_file):
11088 * specifier.c (decode_specifier_type):
11089 * specifier.c (Fvalid_specifier_locale_type_p):
11090 * specifier.c (check_valid_locale_or_locale_type):
11091 * specifier.c (decode_locale):
11092 * specifier.c (decode_locale_type):
11093 * specifier.c (decode_locale_list):
11094 * specifier.c (check_valid_domain):
11095 * specifier.c (decode_specifier_tag_set):
11096 * specifier.c (Fcanonicalize_tag_set):
11097 * specifier.c (Fdefine_specifier_tag):
11098 * specifier.c (Fspecifier_tag_predicate):
11099 * specifier.c (check_valid_inst_list):
11100 * specifier.c (check_valid_spec_list):
11101 * specifier.c (decode_how_to_add_specification):
11102 * specifier.c (check_modifiable_specifier):
11103 * specifier.c (specifier_add_spec):
11104 * specifier.c (boolean_validate):
11105 * specifier.c (display_table_validate):
11108 * specifier.c (syms_of_specifier):
11109 Move some symbols to general-slots.h.
11113 * symbols.c (Fmapatoms):
11114 * symbols.c (Fapropos_internal):
11117 * symbols.c (set_default_buffer_slot_variable):
11118 * symbols.c (set_default_console_slot_variable):
11121 * symbols.c (defsymbol_massage_name_1):
11122 * symbols.c (defkeyword_massage_name):
11123 * symbols.c (deferror_1):
11124 * symbols.c (deferror):
11125 * symbols.c (deferror_massage_name_and_message):
11127 * symeval.h (DEFSYMBOL):
11128 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
11130 * symbols.c (syms_of_symbols):
11134 * symsinit.h (init_win32): New.
11135 Also new is syms_of_dialog_mswindows.
11138 Add new Unicode macros, missing Cygwin wide-char functions,
11139 convenience conversion macros for Qmswindows_tstr, macros for
11140 encapsulating required MSWin <-> Cygwin filename conversions,
11141 prototype for dynamically-extracted (not in NT 3.51) functions.
11146 * tooltalk.c (Fadd_tooltalk_message_arg):
11147 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
11148 * tooltalk.c (Fadd_tooltalk_pattern_arg):
11151 * tooltalk.c (syms_of_tooltalk):
11155 * unexnt.c (unexec):
11156 Fix up headers, declaration of unexec() to be more standard.
11158 2000-07-20 Martin Buchholz <martin@xemacs.org>
11160 * offix.h: Revert change to guard macros - they're used in offix.c!
11162 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11164 * lisp.h: Defsubred Fdelete.
11166 * console-msw.h: (msprinter_default_printer): Added.
11168 * console-msw.c (msprinter_canonicalize_console_connection):
11169 (msprinter_canonicalize_device_connection): Added.
11171 * device-msw.c (msprinter_default_printer):
11172 (Fmswingows_get_default_printer):
11173 (signal_enum_priner_error):
11174 (Fmswingows_printer_list): Added.
11176 2000-07-19 Martin Buchholz <martin@xemacs.org>
11178 * XEmacs 21.2.35 is released.
11180 2000-07-19 Martin Buchholz <martin@xemacs.org>
11182 * select-x.c (x_handle_selection_request):
11183 Text selected in xemacs and pasted into xterm failed to appear.
11184 Spelling fixes and cosmetic changes.
11186 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11188 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
11189 XEmacs frame (fix for doubling chars in dialog boxes).
11191 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
11193 * select.c (select_convert_in, select_convert_out):
11194 Don't call intern() every time.
11196 * select.c (Qselect_convert_in, Qselect_convert_out): New.
11197 * select.c (vars_of_select): Initialise them.
11199 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
11201 * select.c (selection-coercible-types): New.
11203 * select.c (own-selection-internal):
11204 * select.c (get-selection-internal):
11205 MULE bug fix - these should default to COMPOUND_TEXT and not
11206 STRING for MULE. I think.
11208 * select.c (select_convert_out): Use selection-coercible-types
11209 to find types that we can attempt to perform coercions on.
11211 2000-07-18 Martin Buchholz <martin@xemacs.org>
11215 Add coding: cookie to identify encoding.
11217 * mule-canna.c (CANNA_mode_keys): make static.
11218 Use proper prototypes, even for functions of no arguments.
11219 Remove external prototype for Fding().
11221 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
11223 * select.c (syms_of_select): Add missing DEFSUBR.
11225 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
11227 * select.c (get_selection_internal, own_selection_internal):
11228 Make the type default to STRING, rather than placing a nil type
11229 into Vselection_alist.
11231 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
11233 * gpmevent.c (tty_selection_exists_p):
11234 * gpmevent.c (tty_own_selection):
11235 Updated parameter lists.
11237 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
11239 * select.h (selection-alist): Removed declaration.
11241 * select.h (get_local_selection):
11242 * select.c (get_local_selection):
11245 * select.h (convert_selection): Removed declaration.
11246 * select.c (convert_selection): Removed.
11247 This function belongs in Lisp.
11249 * select.h (select_convert_in): Declare.
11250 * select.h (select_convert_out): Declare.
11251 * select.c (select_convert_in): New.
11252 * select.c (select_convert_out): New.
11253 New conversion functions for other files to call.
11255 * select.h (select_notify_buffer_kill): Declare.
11256 * select.c (select_notify_buffer_kill): New.
11257 New functions that get called from kill-buffer.
11259 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
11260 X-specific lisp code.
11262 * select.h: Declare some of the lisp-visible functions for
11265 * select.c (clean_local_selection_data): Removed. This was
11266 a disgusting function, and previously should have been in
11267 select-x.c in any case. The functionality is now provided
11268 in select-convert-from-integer (select.el).
11270 * select.c (available-selection-types): Fixed stupidity where
11271 INTEGER and ATOM got added twice. Also add STRING when we see an
11274 * select.c (get-selection-internal): Removed symbol stripping. No
11275 longer causes conversion when data comes from the internal cache.
11277 * select.c (syms_of_select): Added new functions.
11279 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
11280 error checking - previously this called abort!
11282 * select-x.c (x_own_selection): Changed comment.
11284 * select-x.c (x_handle_selection_request): Use select_convert_out.
11285 Don't mess with selection-alist; it's an internal variable of select.c.
11287 * select-x.c (x_get_foreign_selection): Use select_convert_in.
11289 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
11290 rather than messing with selection-alist.
11292 * select-msw.c (mswindows_get_foreign_selection):
11293 Use TO_INTERNAL_FORMAT rather than hacking.
11295 2000-07-14 Martin Buchholz <martin@xemacs.org>
11297 * process-unix.c (unix_open_multicast_group):
11298 (unix_open_multicast_group): Remove useless casts.
11300 2000-07-13 Martin Buchholz <martin@xemacs.org>
11302 * sound.c (Fplay_sound): Fix `unused variable' warning.
11304 * emacs.c (main): Use correct type for _environ on SCO5.
11306 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
11308 * console.h (own_selection_method):
11309 * console.h (selection_exists_p_method):
11310 * console.h (available_selection_types_method): New.
11311 * console.h (register_selection_data_type_method): New.
11312 * console.h (selection_data_type_name): New.
11314 * console-msw.h (mswindows_destroy_selection): Declare it. New
11315 function & alist to track GlobalAlloc()'d handles that need
11316 releasing when the clipboard data gets replaced or emptied.
11318 * event-msw.c (mswindows_wnd_proc): Call it.
11320 * lisp.h, general.c (Qappend): New symbol representing a
11323 * select.c (own-selection-internal):
11324 * select.c (selection-exists-p):
11325 * select.c (available-selection-types): New.
11326 * select.c (register-selection-data-type): New.
11327 * select.c (selection-data-type-name): New. New functions to deal
11328 with device-specific selection data formats.
11329 * select.c (selection-converter-out-alist): Renamed.
11330 * select.c (selection-converter-in-alist): New.
11331 * select.c (selection-appender-alist): New. Added new alists.
11332 * select.c (syms_of_select, vars_of_select): Added new symbols &
11334 * select.c (get_local_selection): Split.
11335 * select.c: Removed spurious type checking - selections may now be
11336 of any type, not just strings.
11337 * select.c (own-selection-internal):
11339 * select.h, select.c (convert_selection): New. Created
11340 convert_selection() function based on get_local_selection().
11341 * select.h, select.c (QCF_*): New symbols representing mswindows
11343 * select.h, select.c (Qreplace_all, Qreplace_existing): New
11344 symbols representing `how-to-add' modes.
11346 * select-msw.c (x_sym_p): New.
11347 * select-msw.c (symbol_to_ms_cf): New.
11348 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
11349 symbols & clipboard formats. Can also handle string names.
11350 * select-msw.c (mswindows_own_selection):
11351 * select-msw.c (mswindows_selection_exists_p):
11352 Added `data-type' parameter. Use it.
11353 * select-msw.c (mswindows_available_selection_types): New.
11354 * select-msw.c (mswindows_register_selection_data_type): New.
11355 * select-msw.c (mswindows_selection_data_type_name): New.
11356 * select-msw.c (mswindows_own_selection):
11357 * select-msw.c (mswindows_get_foreign_selection):
11358 * select-msw.c (mswindows_selection_exists_p): Rewrote.
11359 * select-msw.c (console_create_select_mswindows): Added new methods.
11360 * select-msw.c (mswindows_destroy_selection): New.
11361 * select-msw.c (Vhandle_alist): New list.
11362 * select-msw.c (mswindows_own_selection):
11364 * select-x.c (x_own_selection):
11365 * select-x.c (x_selection_exists_p):
11366 * select-x.c: Added some comments about maybe using new
11368 * select-x.c (x_own_selection):
11370 * specifier.c: Remove definition of Qappend (now in general.c)
11371 * specifier.c (syms_of_specifier): Remove Qappend.
11373 2000-07-12 Martin Buchholz <martin@xemacs.org>
11375 * config.h.in: Add socklen_t.
11377 * s/decosf4-0.h: No special compiler flags needed or desired.
11378 In particular, undefine _BSD for DEC OSF 4.0.
11380 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11382 * redisplay-msw.c (msprinter_frame_output_end): Added.
11383 (console_type_create_redisplay_mswindows): Referred the above.
11385 * frame.c (setup_frame_without_minibuffer): Do not create a
11386 default minibuffer frame on a printer device.
11388 * frame-msw.c (apply_dc_geometry): Added.
11389 (msprinter_start_page):
11390 (msprinter_init_frame_3):
11391 (msprinter_eject_page): Use it.
11393 * console-msw.h (struct msprinter_frame): Added pix_left and top,
11394 and removed residual duplex and orientation properties.
11396 2000-07-11 Martin Buchholz <martin@xemacs.org>
11398 * eval.c (function_argcount): Work around a DEC CC compiler bug.
11400 * unexalpha.c: Remove system prototypes from C sources!
11402 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
11404 * eval.c: Remove references to M-x edit-options in DEFUNs for
11405 `defvar' and `defconst'.
11407 2000-07-09 Martin Buchholz <martin@xemacs.org>
11409 * config.h.in: Remove SMART_INCLUDE hackery.
11411 PostgreSQL hacking:
11412 * config.h.in: Don't use SMART_INCLUDE.
11414 * postgresql.h: Include libpq-fe.h here. Fix typo.
11415 * inline.c: Simply #include "postgresql.h"
11417 - Don't use SMART_INCLUDE
11418 - Use simply "const".
11419 - Use standard doc string conventions.
11420 - Use correct type for result of PQstatus.
11422 2000-07-09 Martin Buchholz <martin@xemacs.org>
11424 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
11426 C++ compilation changes.
11427 * config.h.in (EXTERN_C): Define.
11428 * config.h.in (not): This is also a C++ keyword.
11429 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
11430 * cm.c: Use EXTERN_C.
11431 * redisplay-tty.c: Use EXTERN_C.
11432 * sysdep.c: Use EXTERN_C. Remove Gould support.
11434 2000-07-09 Martin Buchholz <martin@xemacs.org>
11436 * general.c: Remove duplicate definition for Qfunction.
11438 2000-07-08 Ben Wing <ben@xemacs.org>
11440 * device-msw.c (msprinter_init_device):
11441 * device-msw.c (sync_printer_with_devmode):
11442 * device-msw.c (handle_devmode_changes):
11443 * device-msw.c (print_dialog_worker):
11444 * device-msw.c (Fmsprinter_apply_settings):
11445 * device-msw.c (hash_devmode):
11446 * device-msw.c (Fmsprinter_settings_despecialize):
11447 use Qmswindows_tstr, not Qctext.
11449 * vm-limit.c (check_memory_limits):
11450 avoid infinite loop printing warning messages.
11452 2000-07-05 Craig Lanning <lanning@scra.org>
11454 * Makefile.in.in: Add support for including the Windows resources
11455 when building with the cygwin and mingw targets.
11457 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
11458 not set or not correct.
11459 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
11460 (init_initial_directory): Don't try to use $PWD on the
11461 WIN32_NATIVE target.
11464 [[Add -mwindows to eliminate console window.]] not required --ben
11465 (HAVE_NATIVE_SOUND): removed; now handled by configure.
11466 (MAIL_USE_POP): removed; now handled by configure.
11468 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
11469 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
11470 (HAVE_NATIVE_SOUND): removed; now handled by configure.
11471 (MAIL_USE_POP): removed; now handled by configure.
11472 (ENCAPSULATE_STAT): from Dan Holmsand, added.
11473 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
11474 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
11476 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
11477 up from <winsock.h> via systime.h.
11478 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
11479 (getpagesize): from Dan Holmsand, added.
11480 Added #endif which was left dangling by Ben's mega patch; added
11481 comment to help prevent this in the future.
11483 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
11485 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11487 * console-msw.h (struct mswindows_device): Removed unnecessary
11488 cached device geometry values.
11489 Added update_tick and an accessor macro.
11490 (Lisp_Devmode): Added lrecord declaration.
11491 (struct msprinter_device): Contain devmode as a Lisp object.
11492 Added mswindows_get_selected_frame_hwnd();
11494 * console.h (struct console_methods): Indentation nitpicking.
11496 * device-msw.c (mswindows_init_device): Do not initialize geometry
11497 cache. Initialize update tick.
11498 (mswindows_device_system_metrics): Ask the device for its geometry.
11499 (global_free_2_maybe):
11500 (devmode_to_hglobal):
11501 (handle_printer_changes):
11502 (ensure_not_printing):
11503 (print_dialog_worker):
11504 (Fmsprinter_print_setup_dialog):
11505 (Fmsprinter_print_dialog):
11506 (plist_get_margin):
11507 (plist_set_margin):
11508 (Fmsprinter_page_setup_dialog): Added functions.
11509 (sync_printer_with_devmode):
11510 (handle_devmode_changes):
11511 (Fmsprinter_get_settings):
11512 (Fmsprinter_select_settings):
11513 (Fmsprinter_apply_settings):
11514 (allocate_devmode):
11515 (Fmsprinter_settings_copy):
11516 (Fmsprinter_settings_despecialize):
11518 (finalize_devmode):
11520 (hash_devmode): Added functions
11521 (syms_of_device_mswindows): Init devmode lrecord class.
11523 * device.h: Added an exfun for find-device.
11525 * event-msw.c (mswindows_wnd_proc): Do not update the cached
11526 geometry; although, recreate the device compatible DC.
11528 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
11529 (msprinter_init_frame_3):
11530 (msprinter_frame_property):
11531 (msprinter_internal_frame_property_p):
11532 (msprinter_frame_properties):
11533 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
11534 print job properties (will move to device settings).
11536 * lisp.h: Added symbols.
11538 * general.c (syms_of_general): Declared them.
11540 * hash.c (string_hash): Added.
11542 * lrecord.h (lrecord_type): Added devmode lrecord type.
11544 2000-07-02 Mike Sperber <mike@xemacs.org>
11546 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
11549 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
11551 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
11554 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
11556 * data.c (Fstring_to_number): Don't recognize floating point if
11559 2000-06-22 Martin Buchholz <martin@xemacs.org>
11561 * glyphs-widget.c (tab_control_query_geometry):
11562 (widget_query_geometry):
11563 (button_query_geometry):
11564 * glyphs.c (text_query_geometry):
11565 Enforce type correctness.
11567 2000-06-18 Martin Buchholz <martin@xemacs.org>
11569 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
11570 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
11572 2000-06-17 Martin Buchholz <martin@xemacs.org>
11574 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
11575 conflicts with gcc's fixincluded version of FOO.h.
11577 * glyphs.h (image_instance_geometry): Remove trailing `,'
11579 2000-06-08 Mike Alexander <mta@arbortext.com>
11581 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
11582 (shove_thread): Don't write the same output twice
11583 (make_ntpipe_output_stream): Increase priority of shove thread
11584 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
11586 (ntpipe_shove_closer): Don't delete the pipe until we're done with
11589 2000-06-12 Ben Wing <ben@xemacs.org>
11591 * s\mingw32.h (sigset):
11592 * s\windowsnt.h (sigset):
11593 rename msw_ to mswindows_ for consistency with general convention.
11595 2000-06-12 Ben Wing <ben@xemacs.org>
11598 * console-msw.c (mswindows_get_console_hwnd):
11599 * console-msw.c (mswindows_ensure_console_allocated):
11600 * console-msw.c (mswindows_hide_console):
11601 * console-msw.c (mswindows_show_console):
11602 * console-msw.c (mswindows_ensure_console_buffered):
11603 * console-msw.c (mswindows_output_console_string):
11604 * console-msw.c (mswindows_windows9x_p):
11606 * device-msw.c (mswindows_get_workspace_coords):
11607 * device-msw.c (mswindows_device_system_metrics):
11608 * dialog-msw.c (mswindows_popup_dialog_box):
11609 * event-msw.c (mswindows_wnd_proc):
11610 * frame-msw.c (mswindows_size_frame_internal):
11611 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11612 * menubar-msw.c (displayable_menu_item):
11613 * menubar-msw.c (mswindows_char_is_accelerator):
11615 * nt.c (mswindows_sigset):
11616 * nt.c (mswindows_sigrelse):
11617 * nt.c (mswindows_sigpause):
11618 * nt.c (mswindows_raise):
11619 * nt.c (timer_proc):
11621 * ntproc.c (find_child_console):
11622 * ntproc.c (sys_kill):
11624 * print.c (std_handle_out_external):
11625 * process-nt.c (find_child_console):
11626 * process-nt.c (send_signal_the_95_way):
11627 * process-nt.c (ensure_console_window_exists):
11628 * process-nt.c (nt_create_process):
11630 rename msw_ to mswindows_ for consistency with general convention.
11634 include nt.h, not syswindows.h.
11636 * nt.c (mswindows_fstat):
11637 * nt.c (mswindows_stat):
11638 prefix mswindows_ instead of attempting to directly override the
11639 library functions. fix declarations.
11642 include syswindows.h. move some sysdep.h stuff here.
11645 include syswindows.h, not <windows.h>.
11653 * sysdep.c (sys_fstat):
11654 * sysdep.c (sys_stat):
11655 call mswindows versions when appropriate.
11658 move mswin decls to nt.h.
11661 add long comment describing appropriate use of the various windows
11664 2000-06-11 Ben Wing <ben@xemacs.org>
11666 * device-x.c: Correct doc string for sixth arg of x-get-resource.
11668 2000-06-10 Ben Wing <ben@xemacs.org>
11670 * Makefile.in.in (release):
11671 Correction to make sure xemacs.exe always dumped when correct.
11675 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
11677 * buffer.c (set_buffer_internal):
11678 [[[[2]]]]: Remove HAVE_FEP code.
11680 * buffer.c (init_initial_directory):
11684 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
11688 * callproc.c (call_process_cleanup):
11689 * callproc.c (Fold_call_process_internal):
11690 * callproc.c (child_setup):
11691 * callproc.c (getenv_internal):
11692 * callproc.c (init_callproc):
11693 * callproc.c (vars_of_callproc):
11694 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
11695 __CYGWIN32__ -> CYGWIN.
11696 DOS_NT -> WIN32_NATIVE.
11697 Remove MSDOS support/references, converting to WIN32_NATIVE
11699 __MINGW32__ -> MINGW.
11700 Fix windows.h includes.
11701 Remove bogus HAVE_NTGUI.
11707 mswindows_message_outputted added for use in allowing startup
11708 errors on the console to be seen.
11710 * console-msw.c (msw_ensure_console_allocated):
11711 * console-msw.c (msw_output_console_string):
11712 * console-msw.c (DHEADER):
11713 * console-msw.c (DOPAQUE_DATA):
11714 * console-msw.c (DEVENT):
11715 * console-msw.c (DCONS):
11716 * console-msw.c (DCONSCDR):
11717 * console-msw.c (DSTRING):
11718 * console-msw.c (DVECTOR):
11719 * console-msw.c (DSYMBOL):
11720 * console-msw.c (DSYMNAME):
11723 * console-stream.c (stream_init_console):
11724 Fix text/binary problems.
11727 * device-msw.c (mswindows_finish_init_device):
11728 * device-msw.c (mswindows_delete_device):
11731 * device.c (handle_asynch_device_change):
11735 * dgif_lib.c (DGifOpenFileName):
11736 * dgif_lib.c (DGifOpenFileHandle):
11737 * dgif_lib.c (DGifGetLine):
11738 * dgif_lib.c (DGifGetPixel):
11739 Added config.h/lisp.h, fix up includes.
11746 * dired.c (file_name_completion):
11747 * dired.c (Ffile_attributes):
11748 * dired.c (syms_of_dired):
11752 * dumper.c (pdump_file_unmap):
11753 * dumper.c (pdump_load):
11757 * editfns.c (Ftemp_directory):
11758 * editfns.c (user_login_name):
11759 * editfns.c (Fuser_real_login_name):
11760 * editfns.c (get_home_directory):
11763 * elhash.c (finish_marking_weak_hash_tables):
11764 [[[[5]]]]: Fix GCC warnings.
11767 * emacs.c (mswindows_handle_hardware_exceptions):
11768 * emacs.c (make_arg_list_1):
11769 * emacs.c (main_1):
11770 * emacs.c (Fkill_emacs):
11771 * emacs.c (Fdump_emacs):
11773 Fix problems with nested crashes, add long comment.
11775 * event-Xt.c (init_event_Xt_late):
11779 * event-msw.c (mswindows_dde_callback):
11780 * event-msw.c (mswindows_handle_sticky_modifiers):
11781 * event-msw.c (mswindows_wnd_proc):
11785 * events.c (character_to_event):
11789 * fileio.c (Ffile_name_directory):
11790 * fileio.c (Ffile_name_nondirectory):
11791 * fileio.c (directory_file_name):
11792 * fileio.c (Fexpand_file_name):
11793 * fileio.c (Fsubstitute_in_file_name):
11794 * fileio.c (Ffile_name_absolute_p):
11795 * fileio.c (check_executable):
11796 * fileio.c (Ffile_readable_p):
11797 * fileio.c (Ffile_accessible_directory_p):
11798 * fileio.c (Ffile_modes):
11799 * fileio.c (Funix_sync):
11800 * fileio.c (vars_of_fileio):
11803 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
11805 Expand getdefdir defn.
11806 Fix bogus rename() comment.
11808 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
11809 to use standard XEmacs include files, e.g. sysfile.h, rather
11810 than system-specific includes.
11816 * frame.c (vars_of_frame):
11820 * getloadavg.c (getloadavg):
11822 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
11823 (We don't use it elsewhere in the code; just add a comment.)
11830 * glyphs-msw.c (mswindows_resource_instantiate):
11833 * glyphs-x.c (x_native_layout_instantiate):
11836 * gui-msw.c (Fmswindows_shell_execute):
11845 * lread.c (locate_file_in_directory_mapper):
11852 * mem-limits.h (get_lim_data):
11864 * nt.c (rva_to_section):
11865 * nt.c (mswindows_executable_type):
11867 Fix closedir() defn.
11870 [[[[8]]]]: *_OK defs moved to sysfile.h.
11879 * print.c (std_handle_out_external):
11883 * process-nt.c (nt_create_process):
11885 try to fix process quoting somewhat.
11887 * process-unix.c (unix_create_process):
11891 * process.c (vars_of_process):
11898 * realpath.c (xrealpath):
11901 * redisplay-tty.c (init_tty_for_redisplay):
11911 * sheap.c (more_static_core):
11912 * sheap.c (report_sheap_usage):
11916 * signal.c (alarm_signal):
11923 * strftime.c (zone_name):
11926 * symsinit.h (init_sunpro):
11930 commctrl.h not in Cygwin b20.1.
11933 * sysdep.c (endif):
11934 * sysdep.c (sys_subshell):
11935 * sysdep.c (init_baud_rate):
11936 * sysdep.c (emacs_get_tty):
11937 * sysdep.c (emacs_set_tty):
11938 * sysdep.c (tty_init_sys_modes_on_device):
11939 * sysdep.c (init_system_name):
11940 * sysdep.c (sys_open):
11941 * sysdep.c (interruptible_open):
11942 * sysdep.c (sys_fopen):
11943 * sysdep.c (sys_mkdir):
11944 * sysdep.c (sys_rename):
11945 * sysdep.c (get_process_times_1):
11952 * sysdir.h (DIRENTRY_NONEMPTY):
11955 * sysdll.c (dll_init):
11961 added text/binary defs.
11967 * sysproc.h (EDESTADDRREQ):
11968 * sysproc.h (poll_fds_for_input):
11985 Always define WIN32_LEAN_AND_MEAN.
11987 * unexcw.c (unexec):
11991 * unexec.c (copy_text_and_data):
11992 * unexec.c (adjust_lnnoptrs):
11996 * unexnt.c (_start):
11999 2000-06-07 Ben Wing <ben@xemacs.org>
12001 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
12002 was used only as a model. We've long since extracted any useful
12003 logic or code out of this. (I just did an exhaustive search.)
12005 * s\msdos.h: Removed.
12007 * s\windows95.h: Removed.
12009 2000-06-10 Ben Wing <ben@xemacs.org>
12013 Don't use extern with fun defs.
12017 Remove nt\inc include.
12018 Remove getdisk, getdefdir. (The former is unused, the latter
12019 expanded in fileio.h.)
12022 * s\windowsnt.h (WIN32_NATIVE):
12023 * s\windowsnt.h (HAVE_STRCASECMP):
12025 Add long comment about preprocessor changes.
12026 Remove getdisk, getdefdir. (The former is unused, the latter
12027 expanded in fileio.h.)
12029 2000-06-10 Ben Wing <ben@xemacs.org>
12038 Remove bogus/unused NO_SOCK_SIGIO.
12040 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
12042 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
12045 2000-06-04 Mike Sperber <mike@xemacs.org>
12047 * casetab.c (set_case_table): For `set-standard-case-table',
12048 actually deposit the new case tables where the rest of XEmacs can
12051 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
12053 * data.c (Faset): Don't cast XCHAR() to unsigned char.
12055 2000-06-05 Ben Wing <ben@xemacs.org>
12057 * callproc.c (child_setup): Don't do close_load_descs() under
12058 MS Windows. Put in a comment explaining why.
12060 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
12062 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
12063 Toolkit shell" which breaks `kill-compilation' on Windows NT
12064 native, retaining STDERR handling improvements.
12066 2000-06-01 Andreas Jaeger <aj@suse.de>
12068 * s/s390.h: Support for S390, based on a patch by Martin
12069 Schwidefsky <schwidefsky@de.ibm.com>.
12071 2000-05-30 Andy Piper <andy@xemacs.org>
12073 * window.c (allocate_window):
12074 (make_dummy_parent):
12075 (Fset_window_configuration): use new hashtable type.
12077 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
12078 (struct image_instantiator_methods):
12079 (struct Lisp_Image_Instance): make instance geometry signed.
12081 * glyphs.c (instantiate_image_instantiator):
12082 (image_instance_query_geometry):
12083 (image_instance_layout):
12084 (image_instance_layout):
12085 (query_string_geometry):
12086 (text_query_geometry):
12087 (image_instantiate):
12088 (image_instantiate):
12089 (cache_subwindow_instance_in_frame_maybe):
12090 (subwindow_query_geometry): make instance geometry signed.
12092 * glyphs-widget.c (widget_query_geometry):
12094 (button_query_geometry):
12095 (tree_view_query_geometry):
12096 (tab_control_query_geometry):
12097 (layout_query_geometry):
12099 (native_layout_layout): make instance geometry signed.
12101 2000-05-29 Olivier Galibert <galibert@pobox.com>
12103 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
12106 * general.c (syms_of_general): Add Qfull_assoc symbol.
12108 * data.c (finish_marking_weak_lists): Mark full-assoc lists
12110 (decode_weak_list_type): Decode full-assoc type.
12111 (encode_weak_list_type): Encode full-assoc type.
12112 (Fmake_weak_list): Update doc string.
12114 2000-05-30 Andy Piper <andy@xemacs.org>
12116 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
12118 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
12119 (decode_hash_table_weakness): ditto.
12120 (Fhash_table_weakness): ditto.
12121 (Fhash_table_type): ditto.
12122 (finish_marking_weak_hash_tables): ditto.
12123 (hash_table_weakness_validate): ditto.
12124 (syms_of_elhash): ditto.
12126 2000-05-28 Martin Buchholz <martin@xemacs.org>
12128 * XEmacs 21.2.34 is released.
12130 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
12132 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
12134 (updating_line_start_cache): Gone.
12135 (regenerate_window): Replace resetting of VERTICAL_CLIP by
12136 generic code to force a minimum of 1 line laid out in the
12139 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
12141 * glyphs.c (instantiate_image_instantiator): Check for initialized
12142 height & width no longer special cases IMAGE_NOTHING.
12143 (nothing_instantiate): Set height and width of instance.
12145 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
12147 * unexelf.c (unexec): Search for ".data" section.
12148 Initialize new_data2_offset from old_data_index.
12149 Remove redundant check for ElfW.
12151 2000-05-23 Andy Piper <andy@xemacs.org>
12153 * glyphs.c (get_image_instantiator_governing_domain): allow more
12154 specific domains as the governing domain rather than expecting an
12155 exact match. This fixes problems with layouts.
12157 2000-05-22 Andy Piper <andy@xemacs.org>
12159 * redisplay-output.c (compare_runes): check for non-images
12161 * glyphs.c (set_glyph_dirty_p): ditto.
12162 (update_glyph_cachel_data): ditto.
12164 * glyphs-widget.c (layout_post_instantiate): ditto.
12165 (layout_post_instantiate): ditto.
12167 * event-msw.c (mswindows_wnd_proc): warning removal.
12169 2000-05-12 Craig Lanning <CraigL@DyCon.com>
12171 * s\mingw32.h: Added #undef for CLASH_DETECTION.
12173 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
12175 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
12177 * nt.c (rva_to_section): mingw32 needs rva_to_section.
12178 (mswindows_executable_type): mingw32 now has enough headers for
12181 2000-05-20 Andy Piper <andy@xemacs.org>
12183 * console-msw.c (mswindows_output_last_error): ; -> ,
12185 2000-05-12 Andy Piper <andy@xemacs.org>
12187 * console-msw.c (FROB): compare ints with ints.
12189 2000-05-11 Andy Piper <andy@xemacs.org>
12191 * glyphs-x.c (x_finalize_image_instance): make minimal build
12194 2000-05-20 Ben Wing <ben@xemacs.org>
12197 * event-Xt.c (vars_of_event_Xt):
12198 move modifier-keys-are-sticky to event-stream.c.
12201 * event-msw.c (mswindows_enqueue_mouse_button_event):
12202 * event-msw.c (key_needs_default_processing_p):
12203 * event-msw.c (XEMSW_LCONTROL):
12204 * event-msw.c (mswindows_handle_sticky_modifiers):
12205 * event-msw.c (FROB):
12206 * event-msw.c (clear_sticky_modifiers):
12207 * event-msw.c (output_modifier_keyboard_state):
12208 * event-msw.c (output_alt_keyboard_state):
12209 * event-msw.c (mswindows_wnd_proc):
12210 * event-msw.c (mswindows_modifier_state):
12211 * event-msw.c (emacs_mswindows_handle_magic_event):
12212 implement sticky modifiers.
12215 * event-stream.c (vars_of_event_stream):
12216 move modifier-keys-are-sticky here.
12219 add CHECK_FUNCTION.
12222 implement map-range-table.
12225 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
12227 * redisplay-tty.c (reset_tty_modes):
12228 (tty_redisplay_shutdown): Adjust argument type to
12229 tty_frame_output_end.
12231 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
12233 * eval.c (Fbacktrace): Don't output a line with only right
12236 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
12238 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
12239 (Fpq_reset_poll): Ditto.
12241 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
12243 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
12245 2000-05-16 Ben Wing <ben@xemacs.org>
12248 * buffer.c (dfc_convert_to/from_internal_format):
12249 * buffer.c (reinit_vars_of_buffer):
12250 Fix conversion functions to allow reentrancy.
12253 * console-msw.c (mswindows_output_last_error):
12254 New fun, generally useful -- output a human-readable
12255 version of GetLastError() on the console.
12258 * console-msw.h (struct mswindows_frame):
12259 Changes for DeferWindowPos. Declare mswindows_output_last_error().
12261 * console-stream.c (stream_output_begin):
12262 * console-stream.c (stream_output_end):
12263 * console-stream.c (stream_output_vertical_divider):
12264 * console-stream.c (stream_clear_region):
12265 * console-stream.c (stream_flash):
12266 * console-stream.c (console_type_create_stream):
12267 Delete blank stream methods, not needed.
12269 * console.h (struct console_methods):
12270 Split begin/end methods into window and frame.
12273 * event-msw.c (mswindows_handle_paint):
12274 * event-msw.c (output_alt_keyboard_state):
12275 * event-msw.c (mswindows_wnd_proc):
12276 * event-msw.c (vars_of_event_mswindows):
12277 Comment about problems with ignored-expose.
12278 Define mswindows-debug-events; not really implemented.
12280 * frame-msw.c (mswindows_init_frame_1):
12284 * glyphs-msw.c (begin_defer_window_pos):
12285 * glyphs-msw.c (mswindows_unmap_subwindow):
12286 * glyphs-msw.c (mswindows_map_subwindow):
12287 * glyphs-msw.c (mswindows_resize_subwindow):
12288 Use DeferWindowPos to reduce flashing when mapping/unmapping.
12290 * glyphs.c (make_image_instance_1):
12293 * gutter.c (Fredisplay_gutter_area):
12294 Use new begin/end methods.
12296 * lisp.h (Dynarr_new2):
12300 * redisplay-msw.c (mswindows_frame_output_begin):
12301 * redisplay-msw.c (mswindows_frame_output_end):
12302 * redisplay-msw.c (console_type_create_redisplay_mswindows):
12303 New begin/end methods -- handle DeferWindowPos.
12305 * redisplay-output.c (redisplay_move_cursor):
12306 * redisplay-output.c (redraw_cursor_in_window):
12307 * redisplay-output.c (redisplay_update_line):
12308 * redisplay-output.c (redisplay_output_window):
12309 New begin/end methods.
12312 * redisplay-tty.c (tty_frame_output_begin):
12313 * redisplay-tty.c (tty_frame_output_end):
12314 * redisplay-tty.c (console_type_create_redisplay_tty):
12315 New begin/end methods.
12318 * redisplay-x.c (x_window_output_begin):
12319 * redisplay-x.c (x_window_output_end):
12320 * redisplay-x.c (console_type_create_redisplay_x):
12321 New begin/end methods.
12323 * redisplay.c (redisplay_frame):
12324 * redisplay.c (Fredisplay_echo_area):
12325 New begin/end methods.
12326 use MAYBE_DEVMETH for clear_frame; it may not exist.
12328 * window.h (WINDOW_XFRAME):
12329 WINDOW_XFOO macros -- get locale and decode struct pointer.
12332 2000-05-12 Ben Wing <ben@xemacs.org>
12335 * emacs.c (ensure_no_quitting_from_now_on):
12336 * emacs.c (fatal_error_signal):
12337 * emacs.c (mswindows_handle_hardware_exceptions):
12339 * emacs.c (Fkill_emacs):
12340 * emacs.c (shut_down_emacs):
12341 * emacs.c (assert_failed):
12342 various improvements in fatal error handling.
12345 move preparing_for_armageddon to emacs.c.
12348 declare fatal_error_in_progress.
12351 * print.c (std_handle_out_external):
12352 * print.c (std_handle_out_va):
12353 * print.c (stderr_out):
12354 * print.c (stdout_out):
12355 use console under mswin when no standard output.
12356 don't do code conversion during fatal error.
12358 * scrollbar.c (Fscrollbar_page_up):
12359 * scrollbar.c (Fscrollbar_page_down):
12360 fix missing else. reindent.
12362 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
12366 * glyphs.h (GLYPH_CACHEL_DESCENT):
12367 (GLYPH_CACHEL_DESCENT):
12368 (GLYPH_CACHEL_DESCENT):
12369 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
12370 used in case these are inline functions.
12371 Use more absurd values to error check.
12373 include window.h for error check functions.
12375 2000-05-11 Ben Wing <ben@xemacs.org>
12377 * cmdloop.c (Freally_early_error_handler):
12378 Display message box under windows; otherwise, message will disappear
12379 before it can be viewed.
12382 * console-msw.c (Fmswindows_message_box):
12383 * console-msw.c (FROB):
12384 * console-msw.c (syms_of_console_mswindows):
12385 Define new fun `mswindows-message-box'.
12386 #### I will merge this into `popup-dialog-box'; just give me
12390 * general.c (syms_of_general):
12391 Some new symbols used in `mswindows-message-box'.
12394 * glyphs.c (Fset_image_instance_property):
12395 put warning in this fun.
12398 * glyphs.h (GLYPH_CACHEL_WIDTH):
12399 * glyphs.h (GLYPH_CACHEL_ASCENT):
12400 * glyphs.h (GLYPH_CACHEL):
12401 * glyphs.h (GLYPH_CACHEL_GLYPH):
12402 define error-checking versions to try to catch a bug i've seen --
12403 redisplay gets in an infinite loop because the glyph width of the
12404 continuation glyph is 65535.
12407 Extern message-box stuff.
12409 * window.c (allocate_window):
12410 * window.c (make_dummy_parent):
12411 * window.c (Fset_window_configuration):
12412 Use EQUAL not EQ for subwindow caches to make them work a bit
12413 better. (Something is still very broken.)
12416 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
12418 * glyphs.c (image_instantiate): Suppress gcc warnings.
12419 (Fmake_image_instance): Fix doc string.
12420 * specifier.c (Fmake_specifier): Ditto.
12422 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
12424 * paths.h.in (PATH_LOCK): Removed.
12425 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
12426 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
12428 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
12430 * fns.c (Ffeaturep): Update e-mail address in doc-string.
12431 Document (featurep '(and xemacs 21.02)).
12433 2000-05-09 Ben Wing <ben@xemacs.org>
12435 * buffer.c (complex_vars_of_buffer):
12436 update modeline-format doc.
12439 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
12442 timeline of all released versions of Emacs, for use in creating
12443 authorship comments and in synching up.
12445 * glyphs-widget.c (image_instantiator_buttons):
12446 * glyphs-widget.c (image_instantiator_edit_fields):
12447 * glyphs-widget.c (image_instantiator_combo_box):
12448 * glyphs-widget.c (image_instantiator_scrollbar):
12449 * glyphs-widget.c (image_instantiator_progress_guage):
12450 * glyphs-widget.c (image_instantiator_tree_view):
12451 * glyphs-widget.c (image_instantiator_tab_control):
12452 * glyphs-widget.c (image_instantiator_labels):
12453 * glyphs-widget.c (image_instantiator_layout):
12454 * glyphs-widget.c (image_instantiator_native_layout):
12455 rename decode_domain method to governing_domain.
12458 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
12459 * glyphs.c (add_entry_to_device_ii_format_list):
12460 make sure we don't put an entry more than once into the list.
12461 * glyphs.c (check_instance_cache_mapper):
12462 *************************************************************
12463 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
12465 *************************************************************
12466 * glyphs.c (get_image_instantiator_governing_domain):
12467 clean up, expand on new concept of governing domain.
12468 * glyphs.c (instantiate_image_instantiator):
12469 * glyphs.c (allocate_image_instance):
12470 use governing_domain instead of cache_domain in naming.
12471 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
12472 * glyphs.c (make_image_instance_1):
12473 * glyphs.c (Fmake_image_instance):
12474 allow for any domain (not just device), and process the
12475 governing domain correctly. very big doc fix.
12476 * glyphs.c (Fimage_instance_domain):
12477 new primitive, to retrieve the governing domain of an image instance.
12478 * glyphs.c (image_instantiate):
12479 use new governing_domain stuff. this fixes a crash you could get
12480 by instantiating certain widget glyphs in frame locales. (should
12481 signal an error instead of crashing.)
12482 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
12483 * glyphs.c (Fglyphp): clean up doc.
12484 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
12485 * glyphs.c (syms_of_glyphs):
12486 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
12487 * glyphs.c (image_instantiator_format_create): add some comments about
12489 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
12490 for current-display-table. (Apparently Hrjove implemented in 1998 a
12491 design I wrote up in 1996, but didn't update the doc string.)
12493 * glyphs.h: clean up a doc string.
12494 * glyphs.h (governing_domain):
12495 * glyphs.h (struct image_instantiator_methods):
12496 changes for governing_domain stuff.
12499 * gutter.c (Fgutter_specifier_p):
12500 * gutter.c (Fgutter_size_specifier_p):
12501 * gutter.c (Fgutter_visible_specifier_p):
12503 * objects.c (Fcolor_specifier_p):
12504 * objects.c (Ffont_specifier_p):
12505 * objects.c (Fface_boolean_specifier_p):
12506 doc strings moved to make-*-specifier.
12508 * redisplay.c (add_disp_table_entry_runes_1):
12509 * redisplay.c (generate_fstring_runes):
12510 * redisplay.c (screen):
12511 add random comments and doc strings.
12514 * specifier.c (Fmake_specifier):
12515 major overhaul of this doc string.
12517 * specifier.c (Fvalid_specifier_domain_p):
12518 comment about the bogosity of image instances being domains.
12519 * specifier.c (decode_domain):
12520 now non-static, used in glyphs.c.
12521 * specifier.c (specifier_instance):
12522 comment about the bogosity of image instances being domains.
12523 * specifier.c (Fgeneric_specifier_p):
12524 move doc string to make-generic-specifier.
12525 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
12529 * specifier.h (DOMAIN_FRAME):
12530 * specifier.h (DOMAIN_LIVE_P):
12531 * specifier.h (DOMAIN_XDEVICE):
12533 add comments about problems with these macros.
12534 prototype for decode_domain.
12537 * toolbar.c (Ftoolbar_specifier_p):
12538 move doc string to `make-toolbar-specifier'.
12540 * window.c (window_unmap_subwindows_cache_mapper):
12541 *************************************************************
12542 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
12544 *************************************************************
12546 2000-05-09 Andy Piper <andy@xemacs.org>
12548 * glyphs.h: declare reset_frame_subwindow_instance_cache.
12550 * window.c (Fset_window_configuration): reset the frame subwindow
12551 cache and re-initialize the window subwindow caches.
12553 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
12555 2000-05-09 Ben Wing <ben@xemacs.org>
12557 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
12560 2000-04-26 Mike Woolley <mike@bulsara.com>
12562 * ntheap.c: Changed recreate_heap to limit the amount reserved
12563 for the heap to that which is actually available. Also now
12564 displays a message box (with some dignostics) in the event that
12565 it still can't start.
12567 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
12569 * callproc.c (Fold_call_process_internal): GCPRO path
12571 2000-05-08 Jan Vroonhof <jan@xemacs.org>
12573 Patch by Bill Perry.
12575 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
12576 back data instead of #ifdef.
12577 (Fscrollbar_page_down): ditto.
12579 2000-05-07 Ben Wing <ben@xemacs.org>
12582 Kludge for defining Qmswindows_tstr.
12585 * nt.c (open_input_file):
12586 * nt.c (open_output_file):
12587 * nt.c (rva_to_section):
12588 * nt.c (mswindows_executable_type):
12589 Move all memory-mapped-file routines here (some were in unexnt.c,
12590 which is bad because they are used by process-nt.c, and unexnt
12591 won't be around when portable dumping). Synched the above routines
12595 Removed ifdef'd out bogus code.
12596 Fixed some prototypes.
12598 * nt.h (file_data):
12599 * nt.h (OFFSET_TO_RVA):
12600 * nt.h (RVA_TO_OFFSET):
12601 * nt.h (RVA_TO_PTR):
12602 Moved the memory-mapped-file structures, macros and prototypes
12603 here, to parallel nt.c. ntheap.h should really be removed
12604 entirely, and it's a non-portable-dumper specific file.
12606 * ntheap.h (round_to_next):
12607 Moved the memory-mapped-file structures, macros and prototypes
12610 * ntproc.c (compare_env):
12611 Moved rva_to_section and mswindows_executable_type to nt.c.
12612 Moved compare_env to process-nt.c.
12613 ntproc.c will die, one day.
12615 * ntproc.c (sys_spawnve):
12616 Account for win32_ -> mswindows_.
12619 * process-nt.c (struct nt_process_data):
12620 * process-nt.c (ensure_console_window_exists):
12621 * process-nt.c (compare_env):
12622 * process-nt.c (nt_create_process):
12623 * process-nt.c (nt_kill_process_by_pid):
12624 * process-nt.c (syms_of_process_nt):
12625 * process-nt.c (vars_of_process_nt):
12626 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
12627 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
12628 changes). Eliminate our old `nt-quote-process-args' mechanism.
12629 Synch up nt_create_process with FSF 20.6 sys_spawnve.
12630 Move compare_env here from ntproc.c.
12632 * process.c (Fprocess_send_region):
12633 Takes an optional fourth argument, BUFFER, which should fix some
12634 problems with call-process.
12637 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
12640 Move ICC_BAR_CLASSES to syscommctrl.h.
12641 Add preliminary macros for MSWindows/Mule. More to come.
12644 * unexnt.c (unexec):
12645 open_output_file moved to nt.c.
12648 2000-05-05 Andy Piper <andy@xemacs.org>
12650 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
12651 instance from the frame cache also since GC may catch up too late
12652 to make frame deletion sane.
12654 2000-05-04 Andy Piper <andy@xemacs.org>
12656 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
12657 (x_finalize_image_instance): ungcpro on deletion.
12659 * glyphs.c (image_instantiator_format_create): give pointers a
12660 query geometry method so that the geometry is at least set.
12662 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
12663 initialize layouts if using widgets.
12665 2000-05-03 Andy Piper <andy@xemacs.org>
12667 * nt.c: remove bogus reference to sysmmsystem.h
12669 * gui-x.c (popup_selection_callback): fix no selection abort.
12671 2000-05-02 Andy Piper <andy@xemacs.org>
12673 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
12674 (mswindows_widget_instantiate): ditto.
12676 * glyphs-widget.c (initialize_widget_image_instance): initialize
12677 children correctly.
12678 (widget_instantiate): cope with children and items in the same
12681 * glyphs.c (mark_image_instance): cope with children as a first
12683 (image_instance_equal): ditto.
12684 (image_instance_hash): ditto.
12685 (image_instance_changed): ditto.
12687 2000-04-30 Andy Piper <andy@xemacs.org>
12689 * glyphs.c (subwindow_query_geometry): new function. Return some
12691 (subwindow_instantiate): don't assign dimensions if none have been
12693 (image_instantiator_format_create): add subwindow_query_geometry.
12694 (print_image_instance): cope with layouts as widgets.
12696 2000-04-29 Andy Piper <andy@xemacs.org>
12698 * frame.c (delete_frame_internal): call
12699 free_frame_subwindow_instance_cache so that all subwindows are
12700 finalized before their parent.
12701 (mark_frame): remove subwindow_cachels.
12702 (Fmake_frame): remove subwindow_cachel manipulation.
12703 (allocate_frame_core): subwindow_instance_cache is a weak list.
12704 (delete_frame_internal): set subwindow_instance_cache to nil.
12706 * glyphs-msw.c (mswindows_finalize_image_instance): make double
12708 (mswindows_finalize_image_instance): use the device
12709 not the domain as the domain may have died already.
12711 * glyphs-x.c (x_finalize_image_instance): ditto.
12712 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
12715 * redisplay-output.c (redisplay_unmap_subwindows): update for
12716 subwindow instance cache as a weak list.
12717 (redisplay_unmap_subwindows_maybe): ditto.
12718 (redisplay_unmap_subwindows_except_us): ditto.
12720 * glyphs.c (unmap_subwindow): error checking will check the domain
12721 so don't deal with it here. Don't use cachels anymore.
12722 (map_subwindow): ditto.
12723 (update_subwindow_cachel_data): remove old accessor names.
12724 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
12725 (Fresize_subwindow): don't update cachel.
12726 (mark_subwindow_cachels):
12727 (update_subwindow_cachel_data):
12728 (add_subwindow_cachel):
12729 (get_subwindow_cachel_index):
12730 (update_subwindow_cachel):
12731 (reset_subwindow_cachels):
12732 (mark_subwindow_cachels_as_not_updated): deleted.
12733 (cache_subwindow_instance_in_frame_maybe): new function. Add a
12734 subwindow instance to the frame cache.
12735 (find_matching_subwindow): update for subwindow instance cache as
12737 (update_widget_instances): ditto.
12738 (image_instance_type_to_mask):inlined.
12739 (free_frame_subwindow_instance_cache): new function. finalize all
12740 subwindows that are instantiated.
12742 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
12743 of cachel information.
12744 (IMAGE_INSTANCE_DISPLAY_X):
12745 (IMAGE_INSTANCE_DISPLAY_Y):
12746 (IMAGE_INSTANCE_DISPLAY_WIDTH):
12747 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
12748 (XIMAGE_INSTANCE_DISPLAY_X):
12749 (XIMAGE_INSTANCE_DISPLAY_Y):
12750 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
12751 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
12752 remove subwindow_cachel structure and function references.
12753 (image_instance_type_to_mask): inline from glyphs.c
12755 * redisplay.c (redisplay_frame): remove subwindow_cachel
12758 * frame.h (struct frame): remove subwindow_cachels.
12759 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
12761 * frameslots.h: add subwindow_instance_cache.
12763 * window.c (replace_window): check subwindow cache of replacement.
12764 (window_unmap_subwindows_cache_mapper):
12765 (window_unmap_subwindows): new functions. Unmap all subwindows
12766 cached on this window.
12767 (mark_window_as_deleted): unmap all subwindows.
12769 2000-04-27 Andy Piper <andy@xemacs.org>
12771 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
12773 * glyphs-widget.c (widget_layout): return something.
12774 (layout_layout): return something. Fail if not initialized.
12775 (layout_query_geometry): ditto.
12776 (image_instantiator_native_layout): new function. Initialized the
12777 native layout type.
12778 (widget_instantiate): don't do layout stuff here.
12780 * glyphs.c (instantiate_image_instantiator): reorded calling or
12781 instantiate and post_instantiate with layout in between.
12782 (image_instance_layout): be more selective about deciding whether
12783 the layout has been done or not.
12785 * glyphs.h (struct image_instantiator_methods): return a value
12786 from layout_method.
12788 2000-04-26 Andy Piper <andy@xemacs.org>
12790 * glyphs.c (allocate_image_instance): make initial width and
12791 height unspecified. Set initialized to 0.
12793 * syscommctrl.h new file. Encapsulates commctrl.h.
12795 * syswindows.h new file. Encapsulates windows.h.
12797 * ntplay.c: use new syswindows.h and syscommctrl.h header.
12799 * console-msw.h: ditto.
12801 * redisplay-tty.c (tty_output_display_block): remove layout references.
12803 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
12804 window handle rather than just the frame.
12806 * glyphs.c (mark_image_instance): remove layout references.
12807 (print_image_instance): ditto.
12808 (image_instance_equal): ditto.
12809 (image_instance_hash): ditto.
12810 (decode_image_instance_type): ditto.
12811 (encode_image_instance_type): ditto.
12812 (image_instantiate): ditto.
12813 (allocate_glyph): ditto.
12814 (Fimage_instance_height): ditto.
12815 (Fimage_instance_width): ditto.
12816 (update_subwindow): ditto.
12818 * redisplay-x.c (x_output_display_block): recode for layouts as
12821 * redisplay-output.c (redisplay_output_layout): recode for layouts
12823 (compare_runes): remove layout references.
12825 * redisplay-msw.c (mswindows_output_display_block): recode for
12826 layouts as widgets.
12828 * glyphs-widget.c (image_instantiator_layout): remove
12829 layout_possible_dest_types.
12830 (layout_possible_dest_types): deleted.
12832 * glyphs.h (image_instance_type): remove layout references.
12833 (struct Lisp_Image_Instance): ditto. Add initialized flag.
12834 (IMAGE_INSTANCE_INITIALIZED): new accessor.
12835 (XIMAGE_INSTANCE_INITIALIZED): ditto.
12837 2000-04-25 Andy Piper <andy@xemacs.org>
12839 * glyphs-widget.c (image_instantiator_buttons):
12840 (image_instantiator_edit_fields):
12841 (image_instantiator_combo_box):
12842 (image_instantiator_scrollbar):
12843 (image_instantiator_progress_guage):
12844 (image_instantiator_tree_view):
12845 (image_instantiator_tab_control):
12846 (image_instantiator_labels):
12847 (image_instantiator_layout): call default post_instantiate method.
12848 (widget_post_instantiate): new function. Simply lays out the
12851 * glyphs.h (struct image_instantiator_methods): add
12852 post_instantiate method.
12854 * glyphs.c (instantiate_image_instantiator): add post_instantiate
12857 2000-04-23 Andy Piper <andy@xemacs.org>
12859 * glyphs.h (struct image_instantiator_methods): add
12860 decode_domain_method.
12861 (struct Lisp_Image_Instance): remove subwindow frame - it can be
12862 derived from the domain.
12863 (IMAGE_INSTANCE_FRAME): new accessor.
12864 (XIMAGE_INSTANCE_FRAME): ditto.
12866 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
12867 instead of _SUBWINDOW_FRAME.
12868 (finalize_image_instance): ditto.
12869 (Fimage_instance_foreground): ditto.
12870 (Fimage_instance_background): ditto.
12871 (image_instantiate): ditto.
12872 (update_subwindow_cachel): ditto.
12873 (update_subwindow): ditto.
12874 (unmap_subwindow): ditto.
12875 (map_subwindow): ditto
12876 (subwindow_instantiate): ditto.
12877 * glyphs-msw.c (mswindows_update_widget): ditto.
12878 (mswindows_progress_gauge_instantiate): ditto.
12879 (mswindows_tab_control_update): ditto.
12880 * glyphs-x.c (x_update_widget): ditto.
12881 (x_widget_instantiate): ditto.
12882 (x_tab_control_instantiate): ditto.
12883 (x_tab_control_update): ditto.
12884 * event-msw.c (mswindows_wnd_proc): ditto
12886 * glyphs-widget.c (image_instantiator_layout): use
12887 subwindow_decode_domain.
12888 (image_instantiator_buttons): ditto.
12889 (image_instantiator_edit_fields): ditto.
12890 (image_instantiator_combo_box): ditto.
12891 (image_instantiator_scrollbar): ditto.
12892 (image_instantiator_progress_guage): ditto.
12893 (image_instantiator_tree_view): ditto.
12894 (image_instantiator_tab_control): ditto.
12895 (image_instantiator_labels): ditto.
12896 (image_instantiator_layout): ditto.
12898 * glyphs.c: add instance error checking to many functions.
12899 (instantiate_image_instantiator): decode device from cache_domain.
12900 (image_instantiate): partially rewrite by using
12901 decode_image_instantiator_domain to determine what domain the
12902 instance needs to be cached in.
12903 (decode_image_instantiator_domain): new function. Determine what
12904 domain the image needs to be cached in.
12905 (check_window_subwindow_cache): new error checking function.
12906 (check_instance_cache_mapper): ditto.
12907 (check_image_instance_structure): ditto.
12908 (subwindow_decode_domain): new function. Encodes a window as a
12909 subwindow's cache domain.
12910 (image_instantiator_format_create): use it for text and
12913 2000-04-21 Andy Piper <andy@xemacs.org>
12915 * glyphs.c (image_instance_device): new function.
12916 (image_instance_frame): new function.
12917 (image_instance_window): new function.
12918 (image_instance_live_p): new function.
12920 * window.c (mark_window_as_deleted): reset the subwindow_instance_
12923 * glyphs.h (struct Lisp_Image_Instance): device->domain.
12924 (IMAGE_INSTANCE_DOMAIN): new accessor.
12925 (XIMAGE_INSTANCE_DOMAIN): ditto.
12927 * glyphs-x.c (x_finalize_image_instance): device->domain.
12929 * glyphs-msw.c (init_image_instance_geometry): device->domain.
12930 (mswindows_finalize_image_instance): ditto.
12932 * glyphs-eimage.c (jpeg_instantiate): device->domain.
12933 (gif_instantiate): ditto.
12934 (png_instantiate): ditto.
12935 (tiff_instantiate): ditto.
12937 * glyphs.c (instantiate_image_instantiator): use domain rather
12939 (mark_image_instance): device -> domain.
12940 (print_image_instance): ditto.
12941 (finalize_image_instance): ditto.
12942 (image_instance_equal): ditto.
12943 (allocate_image_instance): ditto.
12944 (Fcolorize_image_instance): ditto.
12945 (query_string_geometry): ditto.
12946 (image_instantiate): ditto
12947 (query_string_font): ditto.
12948 (image_instantiate): ditto.
12949 (update_subwindow): ditto.
12950 (unmap_subwindow): ditto.
12951 (map_subwindow): ditto.
12952 (subwindow_instantiate): ditto.
12954 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
12955 (DOMAIN_FRAME): ditto.
12956 (DOMAIN_WINDOW): ditto.
12957 (DOMAIN_LIVE_P): ditto.
12958 (XDOMAIN_DEVICE): ditto.
12959 (XDOMAIN_FRAME): ditto.
12960 (XDOMAIN_WINDOW): ditto.
12962 * specifier.c (Fvalid_specifier_domain_p): add image instances as
12963 a valid specifier domain.
12965 2000-04-19 Andy Piper <andy@xemacs.org>
12967 * glyphs-widget.c (syms_of_glyphs_widget): remove
12968 widget-callback-current-channel.
12969 (vars_of_glyphs_widget): ditto.
12972 * gui.c (get_gui_callback): revert to previous behaviour.
12974 2000-04-18 Andy Piper <andy@xemacs.org>
12976 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
12977 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
12978 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
12980 * glyphs.c (image_instance_equal): add margin_width.
12981 (image_instance_hash): ditto.
12983 * glyphs-widget.c (widget_instantiate): deal with margin-width.
12984 (layout_query_geometry): ditto.
12985 (layout_layout): ditto.
12986 (syms_of_glyphs_widget): add margin-width.
12987 (image_instantiator_layout): allow margin-width.
12989 * glyphs.c (update_widget_instances): make a normal function.
12990 (syms_of_glyphs): remove Qupdate_widget_instances.
12993 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
12994 so that we don't corrupt ideas about the last event or
12995 command. Remove widget-callback-current-channel fiddling.
12996 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
12998 2000-05-01 Martin Buchholz <martin@xemacs.org>
13000 * XEmacs 21.2.33 is released.
13002 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
13004 * make-src-depend: Allow dots in header file name.
13006 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
13008 * mule-charset.h (struct charset_lookup): Add
13009 next_allocated_1_byte_leading_byte and
13010 next_allocated_2_byte_leading_byte.
13011 * mule-charset.c: Move above two variables so that those values
13014 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
13016 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
13017 when string length is zero.
13018 (find_charsets_in_emchar_string): Ditto.
13020 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
13022 * lisp.h: extern Qdialog and Qmenubar.
13024 * gui-x.c: added events.h.
13025 also fixed typo which made the file uncompilable.
13027 * general.c: Added Qmenubar and Qdialog
13029 2000-04-28 Ben Wing <ben@xemacs.org>
13031 * frame-msw.c (mswindows_init_frame_1):
13032 * frame-msw.c (mswindows_mark_frame):
13033 * event-msw.c (mswindows_enqueue_dispatch_event):
13035 * console-msw.h (struct mswindows_frame):
13036 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
13037 there are now three hash tables for callbacks.
13038 mswindows_enqueue_dispatch_event is no longer static.
13040 * dialog-x.c (maybe_run_dbox_text_callback):
13041 * dialog-x.c (dbox_descriptor_to_widget_value):
13042 switch to new cons3 form for callbacks.
13044 * glyphs-msw.c (mswindows_register_gui_item):
13045 * glyphs-msw.c (mswindows_widget_instantiate):
13046 * glyphs-msw.c (add_tree_item):
13047 * glyphs-msw.c (add_tab_item):
13048 new image instance parameter, so it can be passed to callback-ex.
13049 respect :callback-ex as well as :callback.
13051 * glyphs-widget.c (VALID_GUI_KEYWORDS):
13054 * glyphs.c (print_image_instance):
13055 prettify, e.g. now prints widget type.
13058 certain funs have new image instance parameter.
13061 * gui.c (get_gui_callback):
13062 * gui.c (gui_item_add_keyval_pair):
13063 * gui.c (gui_item_init):
13064 * gui.c (gui_add_item_keywords_to_plist):
13065 * gui.c (mark_gui_item):
13066 * gui.c (gui_item_hash):
13067 * gui.c (gui_item_equal):
13068 * gui.c (copy_gui_item):
13069 * gui.c (syms_of_gui):
13070 recognize callback-ex in a number of places.
13071 also, fix the annoying "can't get out of yes-no dialog" bug.
13074 * gui.h (struct Lisp_Gui_Item):
13075 recognize callback-ex in a number of places.
13077 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
13078 new parameter in button_item_to_widget_value.
13080 * glyphs-x.c (x_update_widget):
13081 * glyphs-x.c (x_button_instantiate):
13082 * glyphs-x.c (x_button_update):
13083 * glyphs-x.c (x_progress_gauge_instantiate):
13084 * glyphs-x.c (x_edit_field_instantiate):
13085 * glyphs-x.c (x_combo_box_instantiate):
13086 * glyphs-x.c (x_tab_control_instantiate):
13087 * glyphs-x.c (x_label_instantiate):
13088 new image instance parameter in various places.
13091 * event-Xt.c (enqueue_Xt_dispatch_event):
13092 this fun gets exported.
13095 * gui-msw.c (mswindows_handle_gui_wm_command):
13096 handle both :callback and :callback-ex, and generate our own
13097 event because it's one of the callback-ex arguments.
13100 * gui-x.c (popup_selection_callback):
13101 handle both :callback and :callback-ex, and generate our own
13102 event because it's one of the callback-ex arguments.
13103 * gui-x.c (button_item_to_widget_value):
13104 * gui-x.c (gui_items_to_widget_values_1):
13105 * gui-x.c (gui_item_children_to_widget_values):
13106 * gui-x.c (gui_items_to_widget_values):
13107 new image instance parameter in various places.
13109 * fns.c (Freplace_list):
13110 fix small typo in doc string.
13113 declare enqueue_Xt_dispatch_event.
13115 2000-04-28 Ben Wing <ben@xemacs.org>
13118 * buffer.c (Frecord_buffer):
13119 * buffer.c (syms_of_buffer):
13120 delete record-buffer-hook.
13123 * fns.c (Freplace_list):
13124 * fns.c (syms_of_fns):
13125 new primitive replace-list.
13128 slot for old buffer-alist.
13131 exfun replace-list.
13134 * redisplay.c (redisplay_frame):
13135 * redisplay.c (syms_of_redisplay):
13136 * redisplay.c (vars_of_redisplay):
13137 new hook buffer-list-changed-hook.
13140 2000-04-27 Ben Wing <ben@xemacs.org>
13142 * extents.h: extern in_modeline_generation.
13144 * redisplay.c (generate_formatted_string_db): set
13145 in_modeline_generation.
13147 * extents.c (extent_changed_for_redisplay): don't mark redisplay
13148 flags if in modeline generation. otherwise frame-modified-tick
13149 is ticked far too often.
13150 Declare in_modeline_generation.
13152 2000-04-26 Ben Wing <ben@xemacs.org>
13154 * emacs.c (vars_of_emacs): document quick-build "error-checking"
13156 (vars_of_emacs): add quick-build as an error-checking option.
13157 A bit kludgy, but there doesn't seem much point in creating
13158 a real var for this.
13160 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
13162 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
13164 * redisplay.h (struct display_line): Add a new variable,
13167 * redisplay.c (create_text_block): Set dl->line_continuation if
13168 the line continues.
13169 (create_string_text_block): Ditto.
13170 (regenerate_window_incrementally): Use line_continuation instead
13171 of searching continuation glyph.
13172 (add_margin_runes): Call add_glyph_rune.
13173 (add_glyph_rune): Handle margin glyph.
13175 2000-04-20 Martin Buchholz <martin@xemacs.org>
13177 * filelock.c (fill_in_lock_file_name):
13179 Check for IS_ANY_SEP instead of '/'.
13181 Avoid generating gratuitous garbage. Call user_login_name() directly.
13182 Never check errno without first seeing that system call failed.
13183 (unlock_file): Add GCPRO.
13184 (Flock_buffer): Fix docstring.
13185 (Ffile_locked_p): Fix docstring. Add GCPRO.
13187 2000-04-19 Martin Buchholz <martin@xemacs.org>
13189 * sysdep.c (get_pty_max_bytes):
13190 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
13191 strings longer than 252 bytes.
13193 * md5.c: Unconditionally include ANSI header <limits.h>
13195 * glyphs-x.c (convert_EImage_to_XImage):
13196 * lisp-union.h (union Lisp_Object):
13197 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
13199 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
13201 * filelock.c (current_lock_owner): Remove unused variable o, p.
13203 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
13205 * callint.c: Remove multiply defined symbol Qlet
13206 (syms_of_callint): ditto.
13208 2000-04-14 Andy Piper <andy@xemacs.org>
13210 * general.c (syms_of_general): add last-command, this-command, let
13213 * lisp.h: declare various symbols.
13215 * glyphs.h: declare Qwidget_callback_current_channel;
13217 * glyphs-widget.c (syms_of_glyphs_widget): add
13218 Qgui_callback_current_channel.
13219 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
13221 * gui-msw.c (mswindows_handle_gui_wm_command): bind
13222 widget-callback-current-channel when invoking the interactive
13223 arg. Also bind last-command and next-command when invoking the
13225 * gui-x.c (popup_selection_callback): ditto.
13227 * gui.c (get_gui_callback): massage args so that we are always
13228 calling eval. This allows us to add our own variable bindings
13231 * glyphs-x.c (x_button_instantiate): use
13232 gui_items_to_widget_values since this is GC safe.
13233 (x_progress_gauge_instantiate): ditto.
13234 (x_edit_field_instantiate): ditto.
13235 (x_label_instantiate): ditto.
13237 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
13238 (emacs_Xt_event_widget_focus_out): new function
13239 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
13241 (emacs_Xt_event_add_widget_actions): new function. add focus
13242 functions as actions.
13243 (init_event_Xt_late): use it.
13245 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
13247 * event-stream.c (Fdispatch_event): Doc fix.
13249 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
13251 * postgresql.c: Remove all references to PQsetenv*.
13253 * postgresql.h: Remove references to PGsetenvHandler object.
13254 * lrecord.h (lrecord_type): Ditto.
13256 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13258 * glyphs-msw.h (struct mswindows_image_instance_data): Added
13259 real_heigh and real_width members, and accessor macros for these.
13261 * glyphs-msw.c (init_image_instance_geometry): New function.
13262 (init_image_instance_from_dibitmap): Use it.
13263 (mswindows_resource_instantiate): Use it.
13264 (init_image_instance_from_xbm_inline): Use it.
13265 (mswindows_initialize_image_instance_mask): Use real bitmap
13267 (mswindows_create_resized_bitmap): Ditto.
13268 (mswindows_create_resized_mask): Ditto.
13270 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
13271 and bitmap to their surface size.
13273 2000-04-11 Jan Vroonhof <jan@xemacs.org>
13275 * process-unix.c (unix_send_process): Guard against process MIA
13276 after Faccept_process_output.
13278 2000-04-11 Ben Wing <ben@xemacs.org>
13280 * eval.c (unbind_to_hairy): fix brokenness introduced by
13281 nanosecond speed improvements.
13283 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
13285 * sunplay.c (init_device): To play sounds correctly, the device
13286 apparently needs to be initialized at least once by XEmacs. Make
13289 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
13291 * redisplay.c (add_margin_runes): Add text image glyph
13294 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
13296 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
13297 gcc is newer than 2.5.
13299 2000-04-06 Colin Rafferty <colin@xemacs.org>
13301 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
13303 * fns.c (size_bit_vector):
13304 * alloc.c (size_vector):
13305 (make_vector_internal):
13306 (make_bit_vector_internal):
13307 (sweep_bit_vectors_1):
13308 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
13310 2000-04-06 Andy Piper <andy@xemacs.org>
13312 * gmalloc.c (malloc): undo previous change.
13317 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
13319 * line-number.c (buffer_line_number): Revert to former version.
13321 2000-04-06 Andy Piper <andy@xemacs.org>
13323 * gmalloc.c (malloc): add error checking.
13328 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
13329 button_item_to_widget_value arg.
13331 * glyphs-x.c (x_button_instantiate): add extra
13332 button_item_to_widget_value arg.
13333 (x_progress_gauge_instantiate): ditto.
13334 (x_edit_field_instantiate): ditto.
13335 (x_label_instantiate): ditto.
13337 * gui-x.c (gui_items_to_widget_values_1): add extra
13338 button_item_to_widget_value arg.
13339 (button_item_to_widget_value): add extra menu_item_p arg.
13341 * gui-x.h: change signature of button_item_to_widget_value.
13343 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
13344 button_item_to_widget_value arg.
13346 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
13348 * buffer.h (struct buffer): auto_save_modified should be long.
13350 2000-04-05 Andy Piper <andy@xemacs.org>
13352 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
13354 (button_query_geometry): give a little more room so that athena
13357 2000-04-05 Andy Piper <andy@xemacs.org>
13359 * faces.c (complex_vars_of_faces): The widget face should inherit
13360 the font of the gui-element face.
13362 2000-04-04 Andy Piper <andy@xemacs.org>
13364 * glyphs-x.c (x_button_update): new function. unconditionally
13365 update a button's state when the instance is dirty.
13366 (image_instantiator_format_create_glyphs_x): add x_button_update.
13367 (x_widget_instantiate): remove old resize cruft.
13369 2000-04-02 Andy Piper <andy@xemacs.org>
13371 * frame.c (change_frame_size_1): The introduction of gutters means
13372 that we need to allow 0 as a potential frame dimension.
13374 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
13376 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
13377 image glyph if allow_cursor.
13378 (add_hscroll_rune): Don't allow cursor to border glyph.
13379 (create_text_block): Ditto.
13381 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
13382 text not in buffer.
13383 (redisplay_output_layout): Call ensure_face_cachel_complete for
13387 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
13389 * redisplay.c (add_glyph_rune): Adding text image as text runes.
13391 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
13394 * redisplay-tty.c (tty_output_display_block): Delete the routine
13395 for text image glyph
13396 * redisplay-x.c (x_output_display_block): ditto
13397 * redisplay-msw.c (mswindows_output_display_block): ditto
13399 2000-02-02 Mike Alexander <mta@arbortext.com>
13401 Note: Some of these were committed by accident as part of other
13404 * regex.c (regex_compile): Avoid compiler warnings.
13406 * ntproc.c (sys_spawnve): Avoid compiler warnings.
13408 * nt.h: Declare term_ntproc correctly.
13410 * nt.c: Remove incorrect declaration of get_home_directory which
13411 is declared correctly in lisp.h.
13413 * keymap.c (get_keyelt): Avoid compiler warnings.
13414 (raw_lookup_key_mapper): Avoid compiler warnings.
13416 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
13418 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
13420 * filemode.c (mode_string): Avoid compiler warnings.
13422 * file-coding.c (Fcoding_system_aliasee): Add return statement to
13425 * events-mod.h: Undef some things that winuser.h defines differently.
13427 * data.c (Faset): Avoid compiler warnings.
13429 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
13431 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
13433 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
13434 Fall through to simple beep on error.
13435 Replace "extern" by real header file.
13437 * linuxplay.c: Use nativesound.h
13438 (play_sound_data): Return error code. Be less verbose on error.
13440 * sunplay.c: Use nativesound.h
13441 (play_sound_data): Return error code. Be less verbose on error.
13443 * ntplay.c: Use nativesound.h
13444 (play_sound_data): Return fake error code
13446 * sgiplay.c: Use nativesound.h
13447 (play_sound_data): Return error code
13449 * hpplay.c: Use nativesound.h, partially implement
13450 new error code. Break compilation until finished.
13451 (play_sound_data): error code.
13453 * nativesound.h (play_sound_file):
13454 (play_sound_data): Prototype in new header.
13456 2000-03-31 Andy Piper <andy@xemacs.org>
13458 * glyphs-widget.c: (button_query_geometry): new function. Adjust
13459 for toggle and radio buttons.
13460 (image_instantiator_buttons): use it.
13462 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
13464 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
13465 (x_update_horizontal_scrollbar_callback): Return if no mirror was
13466 found. Scrollbar event probably belonged to some old config.
13468 2000-03-31 Andy Piper <andy@xemacs.org>
13470 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
13472 (initialize_widget_image_instance): default layout to
13473 LAYOUT_HORIZONTAL rather than 0.
13474 (widget_instantiate): reverse the item list at the end rather than
13476 (layout_layout): re-code for the border text at the front of the
13477 item list rather than at the end.
13478 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
13479 provided by the user.
13480 (widget_query_geometry): comment.
13482 2000-03-30 Andy Piper <andy@xemacs.org>
13484 * glyphs-widget.c (image_instantiator_layout): allow standard
13485 widget keywords in layouts.
13487 * gutter.c (output_gutter): cope with nil gutter contents.
13489 * frame.c (Fset_frame_properties): add gutter docs.
13491 2000-03-29 Andy Piper <andy@xemacs.org>
13493 * toolbar-msw.c (TBSTYLE_FLAT): add.
13494 (mswindows_output_toolbar): minor fiddling.
13496 2000-03-29 Andy Piper <andy@xemacs.org>
13498 * gutter.c (output_gutter): force gutter size recalculation if
13499 what we are trying to display won't fit.
13500 (update_gutter_geometry): new function. A per-gutter version of
13501 update_frame_gutter_geometry.
13502 (update_frame_gutter_geometry): use it.
13503 (redraw_exposed_gutter): add extra debugging output.
13505 2000-03-28 Mike Alexander <mta@arbortext.com>
13507 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
13508 (pdump_file_unmap): Implement it on Windows
13509 (pdump_file_get): Save alocated handles for pdump_file_unmap
13511 2000-03-28 Andy Piper <andy@xemacs.org>
13513 * gui.c (get_gui_callback): treat Quit specially.
13515 2000-03-27 Andy Piper <andy@xemacs.org>
13517 * glyphs.c (image_instantiate): be careful to check in the same
13520 2000-03-27 Didier Verna <didier@xemacs.org>
13522 * config.h.in: define the proper SMART_INCLUDE macro.
13523 handle renaming of `foo_h_path' to `foo_h_file'.
13525 * database.c: ditto.
13529 * linuxplay.c: ditto.
13531 * terminfo.c: ditto.
13533 * tooltalk.h: ditto.
13535 2000-03-27 Andy Piper <andy@xemacs.org>
13537 * glyphs-msw.c (mswindows_update_widget): make sure the widget
13538 gets updated whenever the face might have changed.
13540 2000-03-26 Mike Alexander <mta@arbortext.com>
13542 * dumper.c (pdump_resource_free): Fix the comment.
13544 2000-03-21 Olivier Galibert <galibert@pobox.com>
13546 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
13548 2000-03-22 Mike Alexander <mta@arbortext.com>
13550 * dumper.c: Include Windows headers on Windows
13551 (pdump_resource_free): Add a body to the function
13552 (pdump_load): exe_name -> exe_path and add some comments.
13554 2000-03-25 Mike Alexander <mta@arbortext.com>
13556 * gui.c (copy_gui_item_tree): Return a value in all cases
13558 2000-03-21 Didier Verna <didier@xemacs.org>
13560 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
13562 (SMART_INCLUDE): new macro.
13563 (POSTGRES_INCLUDE): new macro to include postgresql headers from
13564 the proper location.
13566 * postgresql.c: use it.
13570 2000-03-24 Andy Piper <andy@xemacs.org>
13572 * gutter.c (redraw_exposed_gutters): must be "in display" when we
13575 2000-03-24 Andy Piper <andy@xemacs.org>
13577 * redisplay-output.c (compare_runes): use image_instance_changed
13578 to detect changes. Do not depend on glyphs_changed, only depend on
13580 (redisplay_output_layout): add debug messages.
13581 (compare_runes): ditto.
13583 * glyphs.h: declare new functions.
13584 (struct Lisp_Image_Instance): remove percent and associated
13587 * gui.h: declare new copying functions.
13589 * gui.c (copy_gui_item_tree): new function.
13590 (copy_gui_item): new function.
13591 (gui_item_id_hash): revert to standard hash.
13592 (gui_item_hash): ditto.
13593 (gui_item_hash_internal): deleted.
13594 (mark_gui_item): mark value.
13595 (gui_item_add_keyval_pair): add value.
13596 (gui_item_init): ditto.
13597 (gui_add_item_keywords_to_plist): ditto.
13598 (gui_item_equal): ditto.
13599 (syms_of_gui): add Q_value.
13601 * glyphs-x.c (x_progress_gauge_update): use pending items and
13602 value for setting the state.
13603 (x_update_widget): don't set items from pending here.
13605 * glyphs-widget.c (update_widget): update items here.
13606 (progress_gauge_set_property): use items for storing value. Put
13607 new value in pending items.
13609 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
13610 items for new value. Convert percent -> value.
13611 (mswindows_tab_control_update): don't update items here.
13613 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
13614 (update_subwindow): ditto.
13615 (image_instance_changed): new function. Compare hash values and
13616 past and present widget items.
13617 (image_instantiate): We more careful about where we instantiate
13619 (image_instantiate): add error checking.
13621 * gutter.c (syms_of_gutter): use -hook.
13623 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
13625 * console-tty.c (Fset_console_tty_input_coding_system): Use
13627 (Fset_console_tty_output_coding_system): Use Qterminal.
13628 (tty_init_console): Use Qkeyboard and Qterminal.
13630 2000-03-21 Ben Wing <ben@xemacs.org>
13632 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
13633 From Mike Alexander <mta@arbortext.com>.
13635 2000-03-21 Ben Wing <ben@xemacs.org>
13637 * event-msw.c (mswindows_need_event): Horrible kludge to fix
13638 process brokenness. Proper implementation to come.
13640 Rename call-process-internal to old-call-process-internal.
13641 New impl. in process.el.
13643 2000-03-21 Martin Buchholz <martin@xemacs.org>
13645 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
13647 2000-03-20 Andy Piper <andy@xemacs.org>
13649 * glyphs.c (full_list_hash): make hashes of the same elements in
13650 different orders return different values.
13652 2000-03-20 Martin Buchholz <martin@xemacs.org>
13654 * XEmacs 21.2.32 is released.
13656 2000-03-20 Martin Buchholz <martin@xemacs.org>
13658 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
13659 (DFC_MALLOC_USE_CONVERTED_DATA):
13660 Add aliasing-safe casts to allow use with char* or unsigned char*
13663 * eldap.c (Fldap_open):
13664 (Fldap_search_basic):
13667 Make C++-compilable.
13668 Make sure GCPRO'ed variables are initialized.
13669 Use temp variables to avoid repeated calls to Flength.
13671 2000-03-16 Martin Buchholz <martin@xemacs.org>
13674 Make sure PATH_MAX is always defined.
13675 Include limits.h for PATH_MAX.
13676 Deprecate use of MAXPATHLEN.
13678 2000-03-10 Martin Buchholz <martin@xemacs.org>
13680 * emacs.c: Add reinit_vars_of_fileio.
13681 * symsinit.h: Add reinit_vars_of_fileio.
13682 * fileio.c (reinit_vars_of_fileio): New.
13683 * fileio.c (Fmake_temp_name):
13684 Initialize temp_name random number from microseconds to make
13685 collisions even less likely. Initialize always at process startup
13686 time. (make-temp-name) used to return the same file name twice in
13688 Random stylistic fiddling.
13691 2000-03-20 Andy Piper <andy@xemacs.org>
13693 * glyphs.c (image_instantiate): allow text glyphs to be
13694 instantiated in the minibuffer window.
13696 2000-03-19 Andy Piper <andy@xemacs.org>
13698 * glyphs.c (image_instance_hash): be careful about which items we
13701 * glyphs-widget.c (tab_control_set_property): record into pending
13702 items rather than the actual items.
13704 * glyphs-x.c (x_update_widget): use pending items to update with.
13706 * glyphs-msw.c (mswindows_tab_control_update): use pending items
13709 * glyphs.c (mark_image_instance): mark pending items.
13711 * window.c (Fset_window_configuration): record the buffer.
13712 (Fselect_window): totally revert previous change which breaks many
13715 2000-03-18 Andy Piper <andy@xemacs.org>
13717 * glyphs-msw.c (mswindows_tab_control_update): force selected
13720 * glyphs.c (image_instantiate): don't allow the minibuffer as a
13721 window domain cache, otherwise we get inconsistencies at
13722 startup. There is something fishy at startup which can lead to the
13723 minibuffer being the selected window when the gutter content is
13726 * gui.c (parse_gui_item_tree_list): add probably unnecessary
13728 (parse_gui_item_tree_children): ditto.
13729 (parse_gui_item_tree_item): ditto.
13731 * glyphs.c (Fupdate_widget_instances): return something.
13733 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
13735 * window.c (Fselect_window): Undo 2000-03-17 change.
13737 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
13739 * postgresql.c (Fpq_setenv): Remove this turkey when linking
13740 against v7.0 libraries. Insta-coredump city until the postgres
13743 2000-03-17 Andy Piper <andy@xemacs.org>
13745 * faces.c (complex_vars_of_faces): don't give the widget face an
13746 inherited background pixmap.
13748 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
13751 * event-stream.c (Fdispatch_non_command_events): return something.
13753 * gutter.c (output_gutter): use widget face.
13754 (clear_gutter): ditto.
13756 * NEWS: adjust again.
13758 * window.c (Fselect_window): make sure this runs to completion to
13759 avoid oddities with Fset_window_configuration.
13760 (Fcurrent_window_configuration): in general do not save the
13761 minibuffer as the selected window.
13763 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
13765 2000-03-16 Olivier Galibert <galibert@pobox.com>
13767 * emacs.c (Frunning_temacs_p): Revert previous patch.
13768 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
13770 2000-03-16 Andy Piper <andy@xemacs.org>
13772 * glyphs-x.c (x_tab_control_update): if no widget values then
13775 * NEWS: update for new features.
13777 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
13778 synthetic event to the native system.
13779 (reinit_vars_of_event_Xt): set force_event_pending to
13780 emacs_Xt_force_event_pending.
13782 * events.h (struct event_stream): add force_event_pending.
13784 * specifier.c (recompute_one_cached_specifier_in_window): add
13787 * redisplay.c (redisplay_frame): don't call
13788 update_frame_subwindows. Reset subwindow cachels when
13789 subwindows_changed, removing this was an optimization too far.
13791 * redisplay-output.c (compare_runes): reorganize so that we catch
13792 glyph changes when we want them. Set optimize_output when this
13793 would help layouts.
13794 (redisplay_output_layout): remove frame_really_changed, use
13795 optimize_output instead.
13797 * redisplay-msw.c (mswindows_output_display_block): reset
13798 optimize_output after outputting a glyph.
13799 * redisplay-x.c (x_output_display_block): ditto.
13800 * redisplay-tty.c (tty_output_display_block): ditto.
13802 * gutter.c: (specifier_vars_of_gutter): use new spec changed
13804 (gutter_specs_changed): do specific gutter positions.
13805 (top_gutter_specs_changed): new function. Only update the
13806 specified gutter specs.
13807 (bottom_gutter_specs_changed): ditto.
13808 (left_gutter_specs_changed): ditto.
13809 (right_gutter_specs_changed): ditto.
13811 * gui.c (gui_item_hash_internal): new function, does a real hash.
13812 (gui_item_id_hash): use it.
13813 (gui_item_hash): hash the eval'ed gui_item.
13815 * gui-x.c (popup_selection_callback): send an eval event to call
13816 Fupdate_widget_instances.
13818 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
13819 to call Fupdate_widget_instances.
13821 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
13822 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
13824 * glyphs.c: (update_frame_subwindows): deleted.
13825 (Fupdate_widget_instances): new function for updating the dirty
13826 state of widgets that might have changed.
13827 (syms_of_glyphs): add Qupdate_widget_instances.
13828 (full_list_hash): hash a list completely.
13829 (image_instance_hash): use it for items and properties.
13831 * frame-msw.c (mswindows_size_frame_internal): remove unused
13834 * faces.h (struct face_cachel): fix comment.
13836 * event-stream.c (Fdispatch_non_command_events): new
13837 function. Process non-command events, forcing an event cycle
13839 (syms_of_event_stream): declare.
13840 (event_stream_force_event_pending): new function. Force an event
13841 on the native event queue so that an event cycle will occur next
13845 (struct ntpipe_shove_stream):
13846 (mswindows_enqueue_dispatch_event):
13847 (mswindows_dequeue_dispatch_event):
13848 (mswindows_cancel_dispatch_event):
13849 (mswindows_pump_outstanding_events):
13850 (mswindows_drain_windows_queue):
13851 (mswindows_handle_paint):
13852 (mswindows_wnd_proc):
13853 (mswindows_key_to_emacs_keysym):
13854 (get_process_input_waitable):
13855 (emacs_mswindows_delete_stream_pair): re-indent file.
13856 (mswindows_need_event): do not process further fds if the windows
13857 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
13858 fixes the 100% cpu problem.
13859 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
13861 2000-03-15 Olivier Galibert <galibert@pobox.com>
13867 * emacs.c: Moved dump file searching to dumper.c.
13868 (Frunning_temacs_p): Fixed.
13870 * alloc.c: Moved everything pdump-related to dumper.c. Removed
13871 last_lrecord_type_index_assigned.
13873 2000-02-20 Olivier Galibert <galibert@pobox.com>
13875 * symsinit.h: Added reinit parameter to init_console_stream
13878 * lisp.h: Added file parameter to pdump_load declaration.
13880 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
13881 support. Added dump file searching.
13883 * config.h.in: Added EMACS_PROGNAME.
13885 * console-stream.c (init_console_stream): Fix reinitialisation
13886 when running from temacs.
13888 * alloc.c (pdump): Add id support.
13889 (pdump_load): Add file parameter and signature/id support.
13891 * Makefile.in.in: Add full pdump support.
13893 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
13895 * postgresql.c: Update documentation to reflect latest code
13897 (print_result): Show tuple counts in printed representation when
13899 (Fpq_put_nbytes): MULE-ize.
13900 (Fpq_get_line_async): Ditto.
13902 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
13904 * postgresql.c (Fpq_lo_import): Fix return value.
13905 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
13907 2000-03-13 Ben Wing <ben@xemacs.org>
13909 * alloc.c (pdump_load):
13910 Fix compile warning under mswin.
13912 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
13914 * postgresql.c: Mule-ization, bug fixes.
13915 Use PG_CODING to encapsulate coding system name changes.
13916 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
13917 (pg-coding-system): Create.
13919 (Fpq_conn_defaults): Mule-ize.
13920 (Fpq_connectdb): Mule-ize & bug fix.
13921 (Fpq_connect_start): Mule-ize.
13922 (Fpq_set_client_encoding): Mule-ize.
13923 (Fpq_finish): Document `DEAD' connection status.
13924 (Fpq_clear): Ditto.
13925 (Fpq_pgconn): Mule-ize.
13926 (Fpq_exec): Mule-ize & bug fix.
13927 (Fpq_send_query): Ditto.
13928 (Fpq_get_result): Ditto.
13929 (Fpq_res_status): Mule-ize.
13930 (Fpq_result_error_message): Mule-ize.
13931 (Fpq_ntuples): fix comments.
13932 (Fpq_fname): Mule-ize.
13933 (Fpq_fnumber): Mule-ize.
13934 (Fpq_ftype): fix comments.
13935 (Fpq_get_value): Mule-ize.
13936 (Fpq_cmd_status): Ditto.
13937 (Fpq_cmd_tuples): Ditto.
13938 (Fpq_oid_value): Ditto.
13939 (Fpq_notifies): Ditto.
13940 (Fpq_lo_import): Ditto.
13941 (Fpq_lo_export): Ditto.
13942 (Fpq_get_line): Ditto.
13943 (Fpq_put_line): Mule-ize and bug fix.
13944 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
13946 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
13948 * postgresql.c (vars_of_postgresql): Mule-ize.
13949 (Fpq_conn_defaults): Ditto.
13951 2000-03-12 Ben Wing <ben@xemacs.org>
13953 * alloc.c (Fmake_byte_code):
13954 * alloc.c (debug_string_purity_print):
13955 * alloc.c (pdump_backtrace):
13956 * alloc.c (pdump_get_indirect_count):
13957 * alloc.c (pdump_register_sub):
13958 * alloc.c (pdump_register_object):
13959 * alloc.c (pdump_register_struct):
13960 * alloc.c (pdump_dump_data):
13961 * alloc.c (pdump_reloc_one):
13965 * console-msw.c (GetConsoleHwnd):
13966 * console-msw.c (msw_hide_console):
13967 * console-msw.c (msw_show_console):
13968 * console-msw.c (msw_ensure_console_buffered):
13969 * console-msw.c (msw_output_console_string):
13970 * console-msw.c (console_type_create_mswindows):
13972 a) Added functions to manipulate the console window for use with
13975 b) Added support for writing text to the console, which is now
13976 used under Windows when xemacs is not being run non-interactively,
13977 to write text that would otherwise be destined for stdout because
13978 under these circumstances, text written to stdout tends to
13979 disappear and not be seen.
13983 * event-Xt.c (x_event_to_emacs_event):
13984 * event-Xt.c (describe_event_window):
13985 * events-mod.h (XEMACS_MOD_CONTROL):
13987 * events.c (Fmake_event):
13988 * events.c (character_to_event):
13989 * events.c (event_to_character):
13990 * events.c (format_event_object):
13991 * events.c (Fevent_modifiers):
13993 * events.h (struct key_data):
13994 * events.h (struct button_data):
13995 * events.h (struct misc_user_data):
13996 * frame-x.c (Fcde_start_drag_internal):
13997 * frame-x.c (Foffix_start_drag_internal):
13998 * gpmevent.c (Freceive_gpm_event):
14000 * keymap.c (bucky_sym_to_bucky_bit):
14001 * keymap.c (control_meta_superify):
14002 * keymap.c (make_key_description):
14003 * keymap.c (keymap_lookup_directly):
14004 * keymap.c (create_bucky_submap):
14005 * keymap.c (keymap_store):
14006 * keymap.c (define_key_check_and_coerce_keysym):
14007 * keymap.c (define_key_parser):
14008 * keymap.c (define_key_alternate_name):
14009 * keymap.c (Fdefine_key):
14010 * keymap.c (raw_lookup_key_mapper):
14011 * keymap.c (struct map_keymap_unsorted_closure):
14012 * keymap.c (map_keymap_unsorted_mapper):
14013 * keymap.c (map_keymap_sort_predicate):
14014 * keymap.c (map_keymap_sorted):
14015 * keymap.c (accessible_keymaps_mapper_1):
14016 * keymap.c (where_is_recursive_mapper):
14017 * keymap.c (describe_map_mapper):
14018 * keymap.c (describe_map_sort_predicate):
14019 * keymap.c (describe_map):
14020 * keymap.c (complex_vars_of_keymap):
14021 And a number of other files, the key modifier preprocessor
14022 constants that xemacs uses have names that conflict with constants
14023 defined under MS Windows for other purposes, so they were renamed
14024 to begin with the prefix XEMACS_. The variables that hold such
14025 modifiers were changed to consistently be of type int to fix
14026 various compile warnings.
14028 * console.c (complex_vars_of_console):
14031 * device-msw.c (mswindows_finish_init_device):
14032 * device-msw.c (msw_get_workspace_coords):
14033 * device-msw.c (mswindows_device_system_metrics):
14034 and various other files, added support for a new
14035 device property called offset-workspace which returns the position
14036 of the upper left corner of the workspace area and goes along with
14037 the existing size-workspace property.
14040 * dialog-msw.c (push_bufbyte_string_as_unicode):
14041 * dialog-msw.c (mswindows_popup_dialog_box):
14042 Added support for XEmacs-style accelerator specifications in
14043 button text. Note: I didn't add support for this under X Windows,
14044 and somebody needs to do this.
14047 * dialog.c (Fpopup_dialog_box):
14048 Documented the support for accelerators that was just mentioned.
14050 editfns.c (get_home_directory): Changed behavior under Windows
14051 when HOME not defined; former behavior was irretrievably broken.
14054 * emacs.c (main_1):
14056 * minibuf.c (clear_echo_area_internal):
14057 * minibuf.c (echo_area_append):
14059 * print.c (std_handle_out_external):
14060 * print.c (std_handle_out_va):
14062 * print.c (write_string_to_stdio_stream):
14063 * print.c (output_string):
14064 * print.c (debug_print):
14065 * print.c (debug_backtrace):
14066 * print.c (debug_short_backtrace):
14067 Cleaned up the code that prints text to stdout so that this can be
14068 changed to output into a console window instead under MS Windows,
14069 as described above.
14072 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
14073 * eval.c (internal_catch):
14074 * eval.c (unwind_to_catch):
14075 * eval.c (throw_or_bomb_out):
14076 * eval.c (condition_case_1):
14077 * eval.c (signal_1):
14078 * eval.c (check_error_state_sanity):
14079 * eval.c (call_with_suspended_errors_1):
14080 * eval.c (call_with_suspended_errors):
14081 * eval.c (reinit_vars_of_eval):
14082 Added code to catch throw loops and check for a pesky bug that may
14086 * event-msw.c (key_needs_default_processing_p):
14087 * event-msw.c (mswindows_wnd_proc):
14088 * event-msw.c (mswindows_modifier_state):
14089 * event-msw.c (emacs_mswindows_quit_p):
14090 * event-msw.c (vars_of_event_mswindows):
14091 a) Added support for using the alt key to select menu items as is
14092 standard under MS Windows. This is controlled using the variable
14093 menu-accelerator-enabled, just like under X Windows. There is an
14094 option on the options menu to turn this support on. I really
14095 think that it should be on by default under Windows, but I'm not
14096 going to make this change yet.
14098 b) Added support for dynamic display size changes under Windows.
14101 * event-stream.c (maybe_echo_keys):
14102 * event-stream.c (Fnext_event):
14103 * event-stream.c (command_builder_find_leaf):
14104 * event-stream.c (lookup_command_event):
14105 * event-stream.c (execute_command_event):
14106 * event-stream.c (pre_command_hook):
14107 * event-stream.c (post_command_hook):
14108 * event-stream.c (syms_of_event_stream):
14109 * event-stream.c (vars_of_event_stream):
14110 * event-stream.c (complex_vars_of_event_stream):
14111 * events.h (struct command_builder):
14113 a) Tried to clean up a little bit the horribly written x-specific
14114 accelerator code that crept into this file. I moved this code
14115 into menubar-x.c where it belongs. I also needed to move the
14116 command builder structure into the file events.h because it is
14117 accessed directly by this accelerator code. What I didn't do, but
14118 which should be done at some point, is to properly abstract this
14119 code using device methods instead of the kludgy way that it
14120 currently hooks into the event code.
14122 b) Added the lisp variables this-command-properties and
14123 last-command- properties, which should be used to synchronize two
14124 adjacent commands in preference to playing games with the variable
14125 this-command, which is typically what happens.
14127 c) Added some slightly nasty code to hook into the lisp support
14128 for shifted- motion-key selection. This is actually necessary for
14129 somewhat complicated reasons, which are described in
14130 simple.el. (NB: I think the proper thing would be to have the code
14131 that calls the pre and post command hooks also call out to generic
14132 lisp functions in simple.el, where all built-in stuff could be
14133 added. I will think about this more.)
14135 * event-unixoid.c (poll_fds_for_input):
14136 * lread.c (readchar):
14137 * redisplay-tty.c (tty_clear_frame):
14138 * redisplay-x.c (x_get_gc):
14139 * signal.c (interrupt_signal):
14140 And a whole bunch of other files: fixed up places that printed
14141 directly to stderr to instead call the function stderr_out so that
14142 the changes I made under Windows work correctly.
14144 * filemode.c (mode_string):
14148 * frame-msw.c (mswindows_size_frame_internal):
14149 Fixed the computation of frame size and position to keep the frame
14150 within the workspace area, rather than within the physical
14151 dimensions of the screen, so that the frame doesn't overlap window
14152 manager decorations, such as the start menu and toolbar, typically
14153 at the bottom of the screen.
14155 * frame.c (vars_of_frame):
14156 Changed the default frame title format under MS Windows to consist
14157 of buffername-XEmacs, which is standard under MS Windows. I think
14158 it might be a good idea to change this everywhere because I think
14159 it is superior to the current frame title format, but this is the
14160 kind of change that is likely to cause some people to get annoyed,
14161 so I'm not making it.
14163 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
14165 * gui-msw.c (mswindows_handle_gui_wm_command):
14166 Fixed compile warnings.
14169 * gui-x.c (strdup_and_add_accel):
14170 * gui-x.c (button_item_to_widget_value):
14172 Added code to automatically put an accelerator onto the beginning
14173 of menu items that don't have one as is now the standard, and is
14174 described more later. Also fixed things so that the menu item
14175 name can be an evaluated expression, again a new standard.
14178 * gui.c (gui_item_add_keyval_pair):
14179 * gui.c (make_gui_item_from_keywords_internal):
14180 * gui.c (gui_add_item_keywords_to_plist):
14181 * gui.c (gui_item_accelerator):
14182 * gui.c (gui_name_accelerator):
14183 * gui.c (gui_item_included_p):
14184 * gui.c (gui_item_display_flush_left):
14185 * gui.c (gui_item_display_flush_right):
14186 * gui.c (parse_gui_item_tree_item):
14187 * gui.c (parse_gui_item_tree_children):
14188 * gui.c (parse_gui_item_tree_list):
14189 Mule-ized. Cleanup. GCPRO addition.
14191 * line-number.c (buffer_line_number):
14193 * lisp.h (EMACS_INT_MAX):
14194 Added the manifest constant EMACS_INT_MIN corresponding to the
14195 existing constant EMACS_INT_MAX. This is partially to fix compile
14196 warnings under Windows, and partly for cleanliness.
14199 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
14200 * menubar-msw.c (msw_translate_menu_or_dialog_item):
14201 * menubar-msw.c (displayable_menu_item):
14202 * menubar-msw.c (populate_menu_add_item):
14203 * menubar-msw.c (populate_or_checksum_helper):
14204 * menubar-msw.c (populate_menu):
14205 * menubar-msw.c (update_frame_menubar_maybe):
14206 * menubar-msw.c (prune_menubar):
14207 * menubar-msw.c (msw_char_is_accelerator):
14208 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
14209 * menubar-msw.c (mswindows_handle_wm_command):
14210 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
14211 * menubar-msw.c (mswindows_handle_wm_initmenu):
14212 * menubar-msw.c (mswindows_update_frame_menubars):
14213 * menubar-msw.c (mswindows_free_frame_menubars):
14214 * menubar-msw.c (mswindows_popup_menu):
14215 Fixed a bug in handling accelerators where an extra character
14216 would be displayed in the menu item. Also generalized the
14217 function displayable_menu_item because it is now used by the
14218 dialog box code as well. And finally, added code in the functions
14219 that create the menubar to extract a list of accelerators for the
14220 top level menubar, which is used in the event code to determine
14221 whether a particular alt-key combination should be used to invoke
14222 a menu item, or should be passed through to access the standard
14223 XEmacs keymap binding for this key combination.
14225 Much needed GCPROing.
14228 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
14229 * menubar-x.c (menu_item_descriptor_to_widget_value):
14230 * menubar-x.c (restore_in_menu_callback):
14231 * menubar-x.c (x_popup_menu):
14232 * menubar-x.c (menu_move_up):
14233 * menubar-x.c (menu_move_down):
14234 * menubar-x.c (menu_move_left):
14235 * menubar-x.c (menu_move_right):
14236 * menubar-x.c (menu_select_item):
14237 * menubar-x.c (command_builder_operate_menu_accelerator):
14238 * menubar-x.c (menu_accelerator_junk_on_error):
14239 * menubar-x.c (command_builder_find_menu_accelerator):
14240 * menubar-x.c (Faccelerate_menu):
14242 Moved a whole bunch of code here that was previously in
14243 event-stream.c as described above. There is also code connected
14244 to the new standard of adding an accelerator to the beginning of
14245 menu items that don't have one as described above and below.
14248 * menubar.c (menu_parse_submenu_keywords):
14249 * menubar.c (Fmenu_find_real_submenu):
14250 * menubar.c (Fnormalize_menu_item_name):
14251 * menubar.c (syms_of_menubar):
14252 * menubar.c (vars_of_menubar):
14253 * menubar.c (complex_vars_of_menubar):
14255 a) Cleaned up a bunch of documentation and improved it.
14257 b) XEmacs now automatically adds an accelerator onto the beginning
14258 of any menu items that don't have one. I did this because there
14259 will inevitably be some menu items on the main menubar that don't
14260 have accelerators on them because the package that adds that
14261 particular menu item hasn't yet been fixed up to have accelerators
14262 in them and it looked rather strange to have some items with and
14263 some items without accelerators, especially since even in items
14264 without accelerators, you can, at least under windows, still
14265 access the item through an accelerator corresponding to the first
14266 character in the item's name. If people don't like this behavior,
14267 I can add a variable to turn it off optionally, but I'm not sure
14268 this is a good idea because we really do need to have accelerators
14269 on all of the menu items, and if a package doesn't like the
14270 accelerators being put on the first character, then it should put
14271 the accelerators where they belong.
14273 c) I made a behavior change, which is that the descriptor that
14274 specifies the text of the menu item, which formerly was just a
14275 string, can now also be an evaluated expression. This makes this
14276 descriptor parallel with all of the others, which could also be
14277 evaluated expressions. This also obviates the need for the
14278 keyword :label, which was previously listed in the documentation
14279 as unimplemented, and which was for the same purpose.
14284 * ntproc.c (new_child):
14285 * ntproc.c (sys_spawnve):
14286 * ntproc.c (find_child_console):
14287 * ntproc.c (sys_kill):
14288 Fixed compile warnings. By the way, this file should really go
14289 away entirely, and this will happen as soon as Kirill makes his
14290 final round of process cleanups, which affect the function
14294 * process-nt.c (struct nt_process_data):
14295 * process-nt.c (find_process_from_pid):
14296 * process-nt.c (send_signal_the_nt_way):
14297 * process-nt.c (enable_child_signals):
14298 * process-nt.c (find_child_console):
14299 * process-nt.c (send_signal_the_95_way):
14300 * process-nt.c (nt_finalize_process_data):
14301 * process-nt.c (ensure_console_window_exists):
14302 * process-nt.c (nt_create_process):
14303 * process-nt.c (nt_kill_child_process):
14304 * process-nt.c (nt_kill_process_by_pid):
14305 * process-nt.c (nt_open_network_stream):
14306 * process-nt.c (vars_of_process_nt):
14307 Copied over code from Emacs 20.5 to correctly send signals to sub-
14308 processes under Windows 95. Also added code to automatically
14309 create and hide console window when a sub-process is created under
14310 Windows 95, which obviates the need for the separate runemacs.exe
14311 executable, and finally implemented some variables that were
14312 implemented in Emacs 20.5, but previously not in XEmacs. These
14313 include mswindows- start-process-share-console and
14314 mswindows-start-process-inherit-error-mode. (Both of these only
14315 apply to Windows 95.)
14317 * regex.c (regex_compile): Fixed a compile warning.
14320 * select-msw.c (mswindows_own_selection):
14321 * select-msw.c (mswindows_get_foreign_selection):
14322 * select-msw.c (mswindows_disown_selection):
14323 * select-msw.c (console_type_create_select_mswindows):
14324 * select-msw.c (syms_of_select_mswindows):
14325 Cleaned up the file and implemented the device method
14326 selection_exists_p, which had accidentally been left out. Also
14327 removed four lisp functions that were remnants from before the
14328 time when the selection code was properly device abstracted.
14329 These functions are no longer needed because there are generic
14330 equivalents, and because they were added recently and don't exist
14331 in FSF Emacs, I don't think there's any problem with just deleting
14335 * sysdep.c (sys_subshell):
14336 Fixed a compile warning, although in this case there's probably
14337 something wrong with this code, and it ought to be looked into
14338 more thoroughly by somebody who understands it.
14341 * window.c (Fwindow_text_area_height):
14342 * window.c (Fwindow_width):
14343 * window.c (Fwindow_full_width):
14344 * window.c (Fwindow_pixel_width):
14345 * window.c (debug_print_window):
14346 * window.c (syms_of_window):
14347 Added functions window-text-area-height and window-full-width,
14348 which are functions for returning various width and height
14349 characteristics of a window. (One of these functions is necessary
14350 for making the file dialog box work correctly, and the other one
14351 was added for completeness.) Also added a table to the
14352 documentation for window-height which describes the entire scheme
14353 for accessing width and height characteristics of a window.
14355 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14357 * nt.c (fstat): Added a comment for another problem with
14358 non-encapsulated [f]stat(), reported by Adrian Aichner
14359 <aichner@ecf.teradyne.com>.
14361 2000-03-11 Andy Piper <andy@xemacs.org>
14363 * window.c (make_dummy_parent): initialize subwindow instance
14365 (Fset_window_configuration): zero extent_modiff.
14367 2000-03-10 Andy Piper <andy@xemacs.org>
14369 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
14370 more changes can be triggered.
14371 (Fredisplay_frame): ditto.
14372 (Fredraw_device): ditto.
14373 (Fredisplay_device): ditto.
14374 (redisplay_frame): make non-static.
14375 (redisplay_frame): call update_frame_gutter_geometry outside of
14378 * gutter.h: declare update_frame_gutter_geometry.
14380 * redisplay.h: declare redisplay_frame.
14382 * gutter.c (update_frame_gutter_geometry): move geometry changes
14383 in update_frame_gutters here. Geometry changes can only occur
14384 outside of redisplay.
14385 (update_frame_gutters): remove geometry change code.
14386 (Fredisplay_gutter_area): make sure that we are in display when we
14387 update and that we have flushed any size changes.
14389 2000-03-11 Andy Piper <andy@xemacs.org>
14391 * alloc.c (pdump_dump_data): remove i & count shadows.
14393 2000-02-27 Mike Alexander <mta@arbortext.com>
14395 * sysdep.h: Declare pdump_read_file
14397 * sysdep.c (pdump_read_file): New function
14399 * alloc.c (pdump_load): Call pdump_read_file to get the portable
14402 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
14404 * lrecord.h: add `lrecord_type_pgsetenv'.
14406 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
14408 * symsinit.h: declare (vars|syms)_of* functions.
14409 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
14411 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
14413 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
14415 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
14418 * emacs.c (main_1): Call postgres initialization code.
14420 * postgresql.h: New file. PostgreSQL RDBMS support.
14421 * postgresql.c: New file.
14423 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
14425 * redisplay-output.c (redisplay_output_display_block): Disable
14428 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14430 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
14431 (Fcanna_henkan_next): Ditto.
14432 (Fcanna_bunsetu_henkou): Ditto.
14433 (Fcanna_henkan_kakutei): Ditto.
14434 (Fcanna_henkan_end): Ditto.
14435 (Fcanna_henkan_quit): Ditto.
14436 (Fcanna_henkan_next): Set retun value correctly.
14437 (c2mu): Use unsigned char instead of signed char.
14439 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14441 * emacs.c (main_1): Always call syms_of_gui.
14442 * inline.c: include gui.h
14444 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14446 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
14447 converted to Lisp_Object.
14448 (Qtop_bottom): New variable.
14449 (syms_of_redisplay): Initialize it.
14450 * redisplay.h (Vvisible_bell): Ditto.
14451 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
14452 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
14453 only flash top and bottom.
14455 2000-03-08 Andy Piper <andy@xemacs.org>
14457 * buffer.c (Frename_buffer): record new buffer name the right way.
14459 2000-03-08 Andy Piper <andy@xemacs.org>
14461 * glyphs.c (update_subwindow): increase hash depth so that widget
14462 items get picked up properly.
14464 * redisplay-output.c (compare_runes): increase hash depth so that
14465 widget items get picked up properly.
14467 2000-03-08 Andy Piper <andy@xemacs.org>
14469 * gutter.c (output_gutter): add some debug.
14471 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
14472 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
14473 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
14475 * redisplay-output.c (compare_runes): use display_hash to
14476 determine if glyphs really are not the same.
14478 * glyphs.c (update_subwindow): check display_hash to see if
14479 anything really needs to be updated. If not then do
14480 nothing. Record the display_hash after updating.
14481 (image_instance_equal): compare the image_instance face also.
14483 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
14485 * redisplay.h: Fix comment style.
14487 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
14489 * consle-msw.h (struct mswindows_frame):
14490 Added new member paint_pending to indicate whether a WM_PAINT
14491 magic event has been queued for this frame.
14493 * event-msw.c (mswindows_drain_windows_queue):
14494 Don't queue a WM_PAINT magic event if one is already queued.
14495 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
14497 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
14499 2000-03-07 Didier Verna <didier@xemacs.org>
14501 * dired.c: #include `regex.h' after `sysfile.h'.
14503 2000-03-06 Martin Buchholz <martin@xemacs.org>
14505 * sound.c (init_nas_sound): Fix compiler warning.
14507 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
14509 (MARK_STRUCT_AS_FREE):
14510 (MARK_STRUCT_AS_NOT_FREE):
14511 Make `gcc -fstrict-aliasing' work properly.
14513 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
14515 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
14516 (mswindows_delete_device): Call CoUnnitialize().
14518 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
14520 2000-02-25 <CraigL@DyCon.com>
14522 * process-nt.c: MinGW now has <shellapi.h>, but still needs
14525 * sysdep.c: This extern declaration for environ prevents MinGW
14526 from finding the variable in CRTDLL.DLL.
14528 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
14530 (SHGFI_EXETYPE): ..
14531 (WM_MOUSEWHEEL): ..
14532 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
14534 (MMRESULT): Removed, now defined in cygwin's windows headers.
14536 (uid_t,gid_t,pid_t,ssize_t): ..
14537 (_timeb): Removed, MinGW defines both _timeb and timeb.
14538 (HAVE_H_ERRNO): Added.
14539 (HAVE_TZNAME): Added, configure is not detecting this.
14541 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
14543 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
14544 * syntax.c (syntax_match): Use it.
14546 * cmds.c: Import auto-fill-chars from FSF Emacs.
14547 (Vauto_fill_chars): New variables.
14548 (internal_self_insert): Check Vauto_fill_chars.
14550 Declare auto-fill-chars as a Lisp variable and initialize it.
14552 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
14554 * fileio.c (Fmake_symbolic_link):
14556 Run handlers even if local machine doesn't have symlinks.
14558 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
14560 * event-msw.c (mswindows_drain_windows_queue):
14561 Don't generate paint magic events for non-XEmacs frames.
14563 2000-03-05 Andy Piper <andy@xemacs.org>
14565 * redisplay.c (redisplay_frame): generate_displayable_area and
14566 friends assumes that we are not in GC, we therefore have to make
14567 sure that this doesn't happen.
14569 * gutter.c (calculate_gutter_size): generate_displayable_area
14570 assumes that we are not in GC, we therefore have to make sure that
14571 this doesn't happen.
14573 2000-03-05 Martin Buchholz <martin@xemacs.org>
14575 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
14577 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14579 * redisplay.c (regenerate_window): Make sure we set a sane value
14580 for end_pos even if we jump out of the loop.
14581 (regenerate_window): Answer Ben's question :-).
14582 (start_end_of_last_line): Add may_error argument.
14583 (start_of_last_line):
14584 (end_of_last_line): Pass may_error = 0.
14585 (end_of_last_line_may_error): New function.
14586 (pixel_to_glyph_translation): Use it, so we don't crash in
14589 2000-03-04 Andy Piper <andy@xemacs.org>
14591 * window.h (struct window): add gutter_extent_modiff.
14593 * window.c (allocate_window): zero out gutter_extent_modiff.
14595 * redisplay.h: declare sync_display_line_structs.
14597 * redisplay.c (add_glyph_rune): add a better comment.
14599 * redisplay-output.c (sync_display_line_structs): made non-static.
14600 (compare_runes): remove unneccesary glyph cachel access.
14602 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
14604 * gutter.c (output_gutter): don't output the gutter if extent
14605 changes only involve extents in buffers. use 4 sets of display
14607 (gutter_extent_signal_changed_region_maybe): new function. Mark
14608 extents in gutters as changed.
14609 (update_frame_gutters): use 4 sets of display lines.
14610 (reset_gutter_display_lines): ditto.
14611 (free_frame_gutters): ditto.
14612 (redraw_exposed_gutter): force output of gutters.
14614 * frame.h (struct frame): add 4 sets of gutter display lines.
14616 * extents.c: (extent_changed_for_redisplay): signal changes to
14617 extents in strings in the gutter as well as extents in buffers.
14619 2000-03-02 Andy Piper <andy@xemacs.org>
14621 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
14623 * frame.c (Fmake_frame): make sure the gutters get initialized
14624 after the frame is visible.
14625 (set_frame_selected_window): re-arrange compilation macros a
14627 (change_frame_size_1): mark gutters changed.
14629 * device.c (Fset_device_class): mark gutters changed.
14631 2000-03-01 Andy Piper <andy@xemacs.org>
14633 * window.c (window_top_frame_gutter_height): deleted.
14634 (window_bottom_frame_gutter_height): ditto.
14635 (window_left_frame_gutter_height): ditto.
14636 (window_right_frame_gutter_height): ditto.
14637 (window_top_gutter_height): don't use them.
14638 (window_bottom_gutter_height): ditto.
14639 (window_left_gutter_width): ditto.
14640 (window_right_gutter_width): ditto.
14641 (Fsplit_window): ditto.
14642 (Fwindow_pixel_edges): don't use border dimensions here.
14644 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
14645 (update_scrollbar_instance): ditto.
14647 * redisplay.c (generate_modeline): don't take gutters into account.
14648 (generate_modeline): ditto.
14649 (redisplay_frame): small gutter display optimization.
14651 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
14653 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
14654 gutters into account.
14656 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
14657 for window position and type.
14659 * gutter.c (get_gutter_coords): fix for frame gutters.
14660 (update_frame_gutters): update frame geometry if the gutters have
14662 (init_frame_gutters): record current gutter geometries.
14664 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
14666 (mswindows_widget_instantiate): ditto.
14668 * frame.h (struct frame): add current_gutter_bounds.
14670 * frame.c (change_frame_size_1): position window and minibuffer
14671 appropriately taking into account the frame gutters.
14673 * frame-x.c: (x_initialize_frame_size): take into account the
14676 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
14678 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
14680 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
14682 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
14684 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14686 * file-coding.c (reset_decoding_stream): Clear previous
14687 detection state when autodetect.
14689 2000-02-29 Didier Verna <didier@xemacs.org>
14691 * extents.c (set_extent_glyph_1): don't require extents to be
14694 2000-02-27 Andy Piper <andy@xemacs.org>
14696 * gutter.c (Fset_default_gutter_position): don't default left and
14697 right gutter visibility to t.
14698 (Fset_default_gutter_position): run
14699 default-gutter-position-changed-hook.
14700 (syms_of_gutter): add default-gutter-position-changed-hook.
14702 2000-02-26 Andy Piper <andy@xemacs.org>
14704 * specifier.c (Fmake_specifier): add gutter references.
14706 * gutter.h (RAW_WINDOW_GUTTER): new macro.
14708 * lisp.h: declare Fvalid_plist_p.
14710 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
14712 (default_gutter_visible_p_changed_in_window): invalidate gutter as
14713 well as its visibility so that it gets reconstructed.
14714 (construct_window_gutter_spec): new function. Construct a string
14715 to be displayed in the gutter from a plist of strings. Take care
14716 to only use elements that are declared as visible.
14717 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
14719 (gutter_validate): allow plists of strings in the specifier.
14720 (gutter_specs_changed): construct the real_gutter from the gutter
14721 specs using construct_window_gutter_spec.
14722 (gutter_visible_validate): gutter-visible is a new specifier type.
14723 (Fgutter_visible_specifier_p): new function for the new specifier.
14724 (syms_of_gutter): declare gutter-visible and
14725 Fgutter_visible_specifier_p.
14726 (specifier_type_create_gutter): intitalize new gutter-visible
14728 (reinit_specifier_type_create_gutter): ditto.
14729 (specifier_vars_of_gutter): use new specifier type for gutter
14731 (init_frame_gutters): construct real_gutter correctly.
14732 (Fgutter_specifier_p): beef up documentation.
14733 (Fgutter_size_specifier_p): ditto.
14735 * winslots.h: add real_gutter slots.
14737 2000-02-25 Andy Piper <andy@xemacs.org>
14739 * device-msw.c: Be kind to older cygwin versions. From Raymond
14740 Toy <toy@rtp.ericsson.se>.
14742 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
14743 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
14745 2000-02-25 Martin Buchholz <martin@xemacs.org>
14747 * elhash.c (MARK_OBJ): Practice macro hygiene.
14749 2000-02-24 Martin Buchholz <martin@xemacs.org>
14751 * miscplay.c: s/__inline__/inline/g;
14752 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
14753 (get_device_compdc): INLINE ==> static inline
14754 * *.[ch]: Change INLINE to INLINE_HEADER globally.
14755 find -name '*.h' | \
14756 xargs global-replace \
14757 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
14759 2000-02-25 Andy Piper <andy@xemacs.org>
14761 * window.c (window_top_frame_gutter_height): new function.
14762 (window_top_window_gutter_height): ditto.
14763 (window_top_gutter_height): use them.
14764 (window_bottom_frame_gutter_height): new function.
14765 (window_bottom_window_gutter_height): ditto.
14766 (window_bottom_gutter_height): use them.
14767 (window_left_window_gutter_width): new function.
14768 (window_left_frame_gutter_width): ditto.
14769 (window_left_gutter_width): use them.
14770 (window_right_window_gutter_width): new function.
14771 (window_right_frame_gutter_width): ditto.
14772 (window_right_gutter_width): use them.
14773 (window_pixel_height): new function. calulate window pixel height
14774 with frame gutter involvement.
14775 (Fsplit_window): calculate new sizes taking frame gutters into
14777 (window_char_height_to_pixel_height): don't include frame gutters.
14778 (window_char_height): use window_pixel_height.
14779 (window_pixheight): rename from window_pixel_height.
14780 (change_window_height): use it.
14781 (window_pixel_height_to_char_height): don't include frame gutters.
14782 (window_char_width_to_pixel_width): ditto.
14784 2000-02-25 Andy Piper <andy@xemacs.org>
14786 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
14789 2000-02-24 Martin Buchholz <martin@xemacs.org>
14791 * alloc.c (staticpro):
14792 (staticpro_nodump):
14797 (compact_string_chars):
14798 (pdump_dump_wired):
14799 Convert: if (foo) abort(); ==> assert (! foo);
14801 * eldap.c (Fldap_search_basic):
14805 Fix compiler warnings, and possible crashes if (random) return
14806 value were to be used.
14808 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14810 * device-msw.c: Workaround ResetDC failure.
14812 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
14813 applying a devmode.
14815 * redisplay-msw.c (get_frame_dc): Added start_page_p.
14816 (mswindows_text_width): Do not start printer page.
14818 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
14820 * glyphs-msw.c: Added image methods to msprinter console and
14821 msprinter-specific image instantiation.
14823 2000-02-20 Mike Alexander <mta@arbortext.com>
14825 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
14826 to avoid crashes when selection-sets-clipboard is on
14827 (mswindows_own_selection): ditto
14829 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14832 * redisplay-msw.c (get_frame_dc):
14833 (get_frame_compdc):
14835 * device-msw.c (mswindows_init_device):
14836 (mswindows_delete_device):
14837 (msprinter_init_device):
14838 (msprinter_delete_device):
14839 * frame-msw.c (mswindows_init_frame_1):
14840 (mswindows_delete_frame):
14841 (msprinter_init_frame_3):
14842 (msprinter_delete_frame): Move compatible DC to device object from
14843 frame object, for both mswindows and msprinter. Only one at a time
14844 is needed, it is a real waste to have one per frame!
14846 2000-02-23 Andy Piper <andy@xemacs.org>
14848 * glyphs.c: add dynamic width and height elements.
14849 (image_instance_equal): ditto.
14851 * glyphs-widget.c (widget_query_geometry): calculate width and
14852 height dynamically if required.
14853 (initialize_widget_image_instance): initialize dynamic dimensions.
14854 (widget_instantiate): pick-up dynamic dimensions.
14856 * glyphs.h (struct Lisp_Image_Instance): add width and height for
14857 dynamic determination. Add appropriate macros.
14859 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
14861 (WINDOW_GUTTER_SIZE): ditto.
14862 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
14864 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
14866 (get_frame_dc): ditto.
14868 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
14871 2000-02-23 Martin Buchholz <martin@xemacs.org>
14873 * XEmacs 21.2.31 is released.
14875 2000-02-22 Ben Wing <ben@xemacs.org>
14877 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
14879 2000-02-22 Andy Piper <andy@xemacs.org>
14881 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
14883 2000-02-21 Mike Sperber <mike@xemacs.org>
14887 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
14890 2000-02-21 Mike Sperber <mike@xemacs.org>
14892 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
14894 2000-02-21 Martin Buchholz <martin@xemacs.org>
14896 * XEmacs 21.2.30 is released.
14898 2000-02-20 Martin Buchholz <martin@xemacs.org>
14900 Performance hacking.
14902 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
14903 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
14904 * emacs.c (main_1):
14906 * console.c (DEFVAR_CONSOLE_LOCAL_1):
14907 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
14908 * symeval.h (DEFVAR_SYMVAL_FWD):
14909 * symbols.c (guts_of_unbound_marker):
14910 Make all c_readonly objects also lisp_readonly and marked for life.
14911 * lrecord.h (struct lrecord_implementation):
14912 Document flags better.
14913 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
14914 * lrecord.h (DECLARE_LRECORD):
14915 * lrecord.h (XSETRECORD):
14916 * lrecord.h (RECORDP):
14917 * lrecord.h (RECORD_TYPEP):
14918 * lrecord.h (RECORD_MARKER): New.
14919 * lrecord.h (error_check_*):
14920 * lrecord.h (CONCHECK_NONRECORD):
14921 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
14922 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
14923 * lrecord.h (set_lheader_implementation):
14924 * lrecord.h (enum lrecord_type): New.
14925 * symeval.h (SYMBOL_VALUE_MAGIC_P):
14926 * alloc.c (disksave_object_finalization_1):
14927 * alloc.c (mark_object):
14928 * alloc.c (lrecord_type_index):
14929 * alloc.c (tick_lcrecord_stats):
14930 * alloc.c (Fgarbage_collect):
14931 * alloc.c (init_alloc_once_early):
14932 * alloc.c (pdump_load):
14933 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
14934 * alloc.c (lrecord_type_index): Delete.
14935 Make lisp object type indexes be constant.
14936 Makes (byte-compile) 5% faster.
14937 Put all marker functions into their own array.
14938 Makes (garbage-collect) 5% faster.
14939 Optimize SYMBOL_VALUE_MAGIC_P.
14940 Makes (byte-compile) 2-3% faster.
14941 * config.h.in (gc_checking_assert): New.
14942 * alloc.c: Use gc_checking_assert().
14943 * .dbxrc: Make compatible with new object type implementation.
14944 * .gdbinit: Make compatible with new object type implementation.
14945 * alloc.c: Delete all symbols defined only for debugging, such as
14946 Lisp_Type_Vector and lrecord_charset.
14948 2000-02-21 Andy Piper <andy@xemacs.org>
14950 * gui-msw.c (Fmswindows_shell_execute): fix file location
14953 * buffer.c (Fkill_buffer): remove buffer from alist buffer
14954 unshowing so that set_window_buffer doesn't undo
14955 kill_buffer_hook's hard work.
14957 * glyphs-widget.c (tab_control_query_geometry): don't count the
14958 first item when calculating geometry.
14960 * glyphs.c (map_subwindow): remove redundant code.
14961 (update_frame_subwindows): be more circumspect about when to
14964 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
14965 when items haven't changed. Update faces if faces have changed as
14966 well as just the widget face.
14967 (x_tab_control_update): Update faces if faces have changed as well
14968 as just the widget face.
14970 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
14972 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
14974 (build_syscolor_string): Use mswindows_color_to_string to try to
14976 (mswindows_device_system_metrics): Reverse the foreground and
14977 background colors so that they match the documentation.
14979 * objects-msw.c: (mswindows_X_color_map): tweak some values so
14980 they match the default Windows palette.
14981 (mswindows_color_to_string): New function.
14983 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
14985 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
14987 2000-02-18 Olivier Galibert <galibert@pobox.com>
14989 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
14990 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
14992 * symbols.c (init_symbols_once_early): Removed obsolete
14993 DATA_SEG_BITS related kludge.
14994 (defvar_magic): Ditto.
14996 * malloc.c: Removed obsolete DATA_SEG_BITS
14998 * mem-limits.h: Ditto.
15000 * Makefile.in.in: Removed obsolete HAVE_SHM
15003 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
15005 * device-msw.c (mswindows_delete_device): Free DDE string
15008 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15010 * keymap.c (get_keyelt):
15011 * unexnt.c (unexec):
15012 * vm-limit.c (memory_warnings):
15013 * ntheap.c (recreate_heap):
15014 * ntheap.h (UNINIT_PTR):
15015 * select-msw.c (Fmswindows_get_clipboard):
15016 (Fmswindows_set_clipboard):
15017 * objects-msw.h (MSWINDOWS_BAD_HFONT):
15019 * menubar-msw.c (displayable_menu_item):
15021 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
15022 * sysdep.c (sys_subshell):
15023 * process-nt.c (nt_create_process):
15024 * nt.c (normalize_filename):
15025 (dostounix_filename):
15026 (unixtodos_filename):
15027 * ntproc.c (win32_executable_type):
15028 * ntplay.c (play_sound_data_1):
15030 * editfns.c (get_home_directory):
15031 * event-msw.c (struct winsock_stream):
15032 (mswindows_dde_callback):
15033 * device-msw.c (msprinter_init_device):
15034 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
15036 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
15037 mswindows_clear_toolbar were swapped!
15039 * objects-msw.c:(colormap_t):
15041 * emacs.c (struct standard_args): Fixed const jumble.
15043 * glyphs-widget.c (update_widget): Fixed comparison notation.
15045 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
15047 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
15048 __declspec(noreturn) syntax.
15050 2000-02-19 Martin Buchholz <martin@xemacs.org>
15052 * eldap.c (Fldap_open):
15053 (Fldap_search_basic):
15056 Use new coding system conversion macros.
15058 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15060 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
15062 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
15064 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
15065 (Fldap_add, Fldap_modify, Fldap_delete): New functions
15067 * eldap.c (Qadd, Qreplace): New constant symbols
15068 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
15069 interruptions by XEmacs signals
15070 Remove unnecessary calls to slow_down_interrupts and
15071 speed_up_interrupts
15072 (Fldap_search_basic): Renamed from Fldap_search_internal
15073 Added new optional parameter VERBOSE that triggers the
15074 display of progress messages
15075 Remove unnecessary calls to slow_down_interrupts and
15076 speed_up_interrupts
15077 LDAP result code analysis rewritten
15078 (Fldap_add, Fldap_modify, Fldap_delete): New functions
15079 (syms_of_eldap): Define the new symbols and functions
15082 2000-02-17 Martin Buchholz <martin@xemacs.org>
15084 * realpath.c: Determine PATH_MAX maximally portably.
15086 * insdel.c (bytecount_to_charcount): Optimize.
15087 The function used to be optimized for entirely ASCII sequences.
15088 Now it is optimized for successive characters from the same
15089 charset. This also wins big for _mostly_ ASCII sequences.
15091 * fileio.c (Ffile_truename): convert return from realpath() using
15092 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
15093 - Rewrite GCPROing slightly.
15095 * sysdep.c (sys_open): Do filename conversion, like all other
15096 sys_* functions. Fixes bug:
15097 (let ((file-name-coding-system 'iso-8859-2))
15098 (write-region x y latin2-name))
15099 ==> writes filename using internal encoding.
15101 2000-02-18 Martin Buchholz <martin@xemacs.org>
15103 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
15104 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
15105 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
15106 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
15107 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
15108 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
15109 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
15110 (CONST_IF_NOT_DEBUG): Delete.
15111 * alloc.c (this_one_is_unmarkable): Delete.
15112 (mark_object): Don't check for this_one_is_unmarkable. Use the
15113 c_readonly flag instead.
15114 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
15116 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
15118 * event-msw.c (mswindows_drain_windows_queue):
15119 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
15120 away redundant repaint events.
15122 2000-02-17 Andy Piper <andy@xemacs.org>
15124 * redisplay.h: declare mark_redisplay_structs.
15126 * redisplay.c (redisplay_window):
15127 (redisplay_frame): don't check subwindows_state_changed.
15128 (mark_redisplay): mark gutters here.
15130 * glyphs.c: (instantiate_image_instantiator): always layout if we
15131 haven't done so already.
15132 (allocate_image_instance): don't mark as dirty.
15133 (update_subwindow): bind inhibit_quit.
15135 * gutter.c (mark_gutters): new function.
15137 * glyphs-x.c (x_update_widget): Always resize to get round a
15140 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
15141 breaking absolutely everything.
15143 * gutter.h: declare mark_gutters.
15145 2000-02-16 Martin Buchholz <martin@xemacs.org>
15147 * XEmacs 21.2.29 is released.
15149 2000-02-15 Olivier Galibert <galibert@pobox.com>
15151 * fns.c (size_bit_vector): Fix computation of the size.
15153 2000-02-15 Martin Buchholz <martin@xemacs.org>
15155 * *.[ch]: Change CONST to const globally.
15156 find -name '*.[ch]' | \
15157 xargs global-replace \
15158 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
15159 - Remove vestigial references to CONST_IS_LOSING
15161 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
15163 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
15164 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
15165 events instead of dispatching them directly.
15166 (mswindows_handle_paint): New function to do repainting.
15167 (mswindows_wnd_proc):
15168 (emacs_mswindows_handle_magic_event): Call above function.
15170 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
15172 * objects-msw.c (mswindows_create_font_variant): Return the new
15174 (initialize_font_instance): Get font metrics from the underlined
15175 variant of the font to cope with the case where the underlined
15176 font has a bigger descent.
15178 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
15180 * gui.c (gui_item_accelerator): Return the first underlined
15181 character in item name.
15183 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15185 * lisp.h: Added Qprinter.
15187 * general.c (syms_of_general): Initialized it.
15189 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
15191 (get_frame_compdc): Made inline.
15193 * console.h (struct console_methods): Added eject_page method.
15195 * frame.h: Added FRAME_DISPLAY_P and friends.
15196 Aligned backslahes in many macros in more readable fashion.
15197 Added page_number to struct frame, and an accessor macro
15200 * defice.h: Added DEVICE_DISPLAY_P and friends.
15202 * device.c (Fdevice_printer_p): Used these.
15204 * frame.c (allocate_frame_core): Initialize page number.
15205 (Fprint_job_page_number):
15206 (Fprint_job_eject_page): Implemented.
15208 * frame-msw.c (msprinter_eject_page): Added method.
15209 (msprinter_start_page): Added.
15211 * window.c (Fwindow_truncated_p): Fixed docstring.
15212 (Fwindow_last_line_visible_height): Implemented.
15214 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15216 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
15218 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15220 * syntax.c (scan_words): Always advance at least one character.
15222 2000-02-13 Andy Piper <andy@xemacs.org>
15224 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
15225 to make sure the glyph is in the cachels.
15227 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
15228 global image instance flag.
15229 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
15230 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
15232 * glyphs.c (allocate_image_instance): set dirty bits correctly.
15233 (Fset_image_instance_property): mark layout as changed.
15234 (invalidate_glyph_geometry_maybe): mark layout as changed.
15235 (glyph_width): use new NEEDS_LAYOUT macro.
15236 (glyph_ascent): ditto.
15237 (glyph_descent): ditto.
15238 (glyph_height): ditto.
15239 (image_instance_layout): mark layout as clean after laying out.
15240 (update_subwindow): don't mark layout as clean here.
15242 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
15243 should no longer be needed.
15245 * glyphs-x.c (x_update_widget): sanitize asserts.
15246 (x_finalize_image_instance): sanitize assignment to widgets.
15248 * glyphs-widget.c (widget_instantiate): don't need to clear the
15251 2000-02-13 Martin Buchholz <martin@xemacs.org>
15253 * sysdep.c (getcwd): Use standard prototype.
15254 * sysdep.h (getcwd): Use standard prototype.
15256 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
15257 (sequence, start, end).
15258 Remove redundant type checking.
15259 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
15260 view of `caller-protects') to avoid a crash where the real fix was
15263 2000-02-12 Martin Buchholz <martin@xemacs.org>
15265 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
15267 * s/sol2.h: Remove feature macro initialization.
15269 * alloc.c (alloc_lcrecord): Add more type checking assertions.
15270 (vector_hash): New. Code from internal_hash.
15272 Fix up allocation subsystem comments.
15274 * config.h.in: Add __EXTENSIONS__ for Solaris.
15276 * systime.h (EMACS_GETTIMEOFDAY): New.
15277 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
15278 Remove Solaris-specific code.
15279 Use void* for the (ignored) second arg for gettimeofday().
15281 * elhash.c (hash_table_hash): Implement it, finally.
15282 * elhash.c: Use hashcode_t.
15284 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
15285 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
15287 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
15288 * fns.c (size_bit_vector):
15289 * alloc.c (size_vector):
15290 (make_vector_internal):
15291 (make_bit_vector_internal):
15292 (sweep_bit_vectors_1):
15293 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
15295 2000-02-10 Martin Buchholz <martin@xemacs.org>
15297 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
15298 Include strings.h to avoid warnings for bzero and strcasecmp.
15300 2000-02-10 Olivier Galibert <galibert@pobox.com>
15302 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
15303 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
15305 * fns.c (size_bit_vector): New. Declare bit vectors as a
15308 2000-02-10 Olivier Galibert <galibert@pobox.com>
15310 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
15311 use a value field instead.
15312 (symbol_value_forward_forward): Use value field.
15313 (DEFVAR_SYMVAL_FWD): Use value field.
15314 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
15315 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
15316 (DEFVAR_CONST_INT): Ditto.
15317 (DEFVAR_BOOL): Ditto.
15318 (DEFVAR_CONST_BOOL): Ditto.
15319 (DEFVAR_INT_MAGIC): Ditto.
15320 (DEFVAR_BOOL_MAGIC): Ditto.
15322 * symbols.c (guts_of_unbound_marker): Use value field.
15323 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
15324 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
15326 * lisp.h: Declare dumpopaque and noninteractive1.
15328 * alloc.c (dumpopaque): Added.
15329 (pdump_dump_opaquevec): Added.
15330 (pdump): Call pdump_dump_opaquevec to dump opaque data.
15331 (pdump_load): Reload opaque data. Sync noninteractive1 with
15334 2000-02-10 Andy Piper <andy@xemacs.org>
15336 * glyphs.c (image_instance_layout): if the size changes, mark it
15339 * redisplay-output.c (redisplay_output_layout): Update the
15341 (redisplay_output_subwindow): ditto.
15343 * glyphs.c (update_subwindow): make sure we reset flags for
15344 layouts as well as everything else.
15346 * glyphs-widget.c (layout_layout): don't need to set the instances
15349 2000-02-09 Martin Buchholz <martin@xemacs.org>
15351 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
15352 not HAVE_DLOPEN, which is a lower-level thing.
15354 * .cvsignore: Ignore gmon.out
15356 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
15358 * .cvsignore: Ignore portable dumper xemacs.dmp file
15360 2000-02-09 Andy Piper <andy@xemacs.org>
15362 * redisplay-output.c (redisplay_output_layout): be more clever
15363 about when we output based on the changed flags.
15365 * glyphs.h (struct image_instantiator_methods): add update_method.
15366 (struct Lisp_Image_Instance): add changed flags. Declare new
15367 macros for manipulating them.
15369 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
15370 (image_instance_parent_glyph): find an image_instance's parent
15371 glyph or image_instance.
15372 (image_instance_layout): mark the size as changed.
15373 (set_image_instance_dirty_p): new function. mark an image
15374 instance, plus all of its parents, as dirty.
15375 (Fset_image_instance_property): use it.
15376 (Fglyph_animated_timeout_handler): use it.
15377 (update_subwindow): call update_widget and device methods for
15378 update_subwindow. Mark all changed flags as clean.
15379 (Fresize_subwindow): mark size as changed.
15381 * glyphs-x.c (x_finalize_image_instance): try and detect gc
15383 (x_update_subwindow): only resize subwindows here.
15384 (x_update_widget): new function. Update all changed properties of
15386 (x_resize_subwindow): deleted.
15387 (x_widget_set_property): deleted.
15388 (x_progress_gauge_set_property): deleted.
15389 (x_progress_gauge_update): new function. Implement recorded
15391 (x_tab_control_update): ditto.
15392 (x_tab_control_set_property): deleted.
15393 (console_type_create_glyphs_x): declare new functions.
15394 (image_instantiator_format_create_glyphs_x): ditto.
15396 * glyphs-widget.c (widget_set_property): mark text changed.
15397 (update_widget): new function. Update properties of a widget.
15398 (widget_instantiate): for layouts make sure we set their
15399 children's parent correctly.
15400 (tab_control_set_property): new function. Record changes that will
15401 take place under redisplay's control.
15402 (progress_gauge_set_property): ditto.
15403 (image_instantiator_progress_guage): declare new functions.
15404 (image_instantiator_tab_control): ditto.
15406 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
15408 (mswindows_update_widget): new function. Update all properties on
15409 a widget that have changed.
15410 (mswindows_button_update): new function. Update a button's set
15412 (mswindows_tab_control_update): new function. Update the items in
15414 (mswindows_tab_control_set_property): deleted.
15415 (mswindows_progress_gauge_update): new function. Update the
15416 progress gauge's progress.
15417 (mswindows_widget_set_property): deleted. This is all done
15418 asynchronously now.
15419 (mswindows_progress_gauge_set_property): ditto.
15420 (console_type_create_glyphs_mswindows): declare new methods.
15421 (image_instantiator_format_create_glyphs_mswindows): ditto.
15423 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
15424 (msprinter_set_frame_properties): ditto.
15426 * console.h (struct console_methods): Add update_widget_method.
15428 2000-02-09 Andy Piper <andy@xemacs.org>
15430 * gui-msw.c (Fmswindows_shell_execute): Make
15431 mswindows-shell-execute industrial strength.
15433 2000-02-08 Martin Buchholz <martin@xemacs.org>
15435 * lrecord.h: Make macro argument `props' match member function `plist'.
15438 * fns.c (Fremprop):
15439 * fns.c (Fobject_plist):
15442 Object property list frobbing cleanup.
15443 - Allow any lisp object (compared with `eq'), not just symbols, as
15444 keys in object plists.
15445 - Move symbol plist frobbing into symbols.c, where it belongs.
15446 - Move string plist frobbing into alloc.c, where it belongs.
15447 - Everything's an lrecord now, so no need to test for symbolp, etc.
15448 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
15450 * extents.c: Reorder code to remove declarations.
15452 * frame.h (store_in_alist): Remove useless declaration.
15454 2000-02-07 Martin Buchholz <martin@xemacs.org>
15456 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
15457 * config.h.in: Add HAVE_XCONVERTCASE.
15459 2000-02-07 Andy Piper <andy@xemacs.org>
15461 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
15462 it breaks many things.
15464 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
15466 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
15467 actually can start a common comment type.
15468 * src/syntax.h (SYNTAX_END_P): ditto for end.
15470 2000-02-07 Martin Buchholz <martin@xemacs.org>
15472 * XEmacs 21.2.28 is released.
15474 2000-02-06 Martin Buchholz <martin@xemacs.org>
15476 * event-Xt.c (x_keysym_to_character): New.
15477 (maybe_define_x_key_as_self_inserting_character): New.
15478 (x_has_keysym): New.
15479 Auto-define all keys on the keyboard as self-insert-key.
15481 2000-02-02 Martin Buchholz <martin@xemacs.org>
15483 * menubar.c (vars_of_menubar): A small code simplification.
15485 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
15488 * ExternalClient.c:
15489 * EmacsShell-sub.c:
15492 Use consistent style for specifying X resources.
15494 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
15495 This makes (dontusethis-set-symbol-value-handler) actually usable.
15497 * lrecord.h (lrecord_decription_type):
15498 * alloc.c (pdump_register_sub):
15501 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
15502 Comply with XEmacs coding style.
15503 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
15504 args, and XD_LISP_OBJECT_ARRAY with 3 args.
15506 * keymap.c (Faccessible_keymaps):
15507 Make (accessible-keymaps map "\C-h") do the Right Thing.
15508 Make (accessible-keymaps map []) do the Right Thing.
15509 Make (accessible-keymaps map "") do the Right Thing.
15510 (check_keymap_definition_loop): New function.
15511 (keymap_store_internal): Keep luser from shooting self in foot,
15512 via (define-key ctl-x-4-map "p" global-map).
15513 Remove fullness slot from struct Lisp_Keymap, since hash tables
15515 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
15517 2000-01-30 Martin Buchholz <martin@xemacs.org>
15519 * redisplay.c (init_redisplay): Fix small memory leak.
15521 * elhash.c (pdump_reorganize_hash_table):
15522 Rename from reorganize_hash_table. Change prototype.
15523 Reuse the original memory for hentries. Save 100k.
15524 * alloc.c (PDUMP_READ): new macro.
15525 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
15526 * alloc.c: No need to #ifndef before #undef.
15528 * print.c: Allow debug_print() to print readably by modifying
15529 debug_print_readably. Use consistent variable names.
15531 * .dbxrc: Try to get things to work even if stopped in a function
15532 without source available by explicitly specifying source files.
15533 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15535 * unexnt.c (_start): Removed bogus code which caused loading heap
15536 from differrent executable file.
15537 Removed bogus assignment to _fmode, which caused inconsistencies.
15539 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15541 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
15542 Have spawnve encapsulation regard DONT_ENCAPSULATE.
15543 Do not preliminary `#define signal sigset'.
15545 * systime.h: Do not prototype environ on windows nt and cygwin,
15546 this conflicts with system header.
15548 * syssignal.h: Use correct define for WINDOWSNT
15550 * sysdep.h: Do not prototype environ on windows nt, this conflicts
15551 with system header.
15553 * sysdep.c (near start of file): Fixed commentary and rearranged
15554 ifdefs in readable order.
15555 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
15558 (end_of_data): Do not compile in if using PDUMP.
15560 * symsinit.h: Prototyped vars_of_nt().
15562 * ntproc.c (windows9x_p): Added, instead of os_subtype.
15563 (find_child_console): Use it.
15564 (sys_kill): Use it.
15566 * ntheap.h: Do not extern os_subtype.
15568 * ntheap.c (cache_system_info): Do not cache unneeded:
15569 nt_major_version, nt_minor_version and os_subtype.
15570 (recreate_heap): Do not compile in when PDUMPing.
15572 * nt.c (geteuid and friends): Use the new varibale
15573 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
15574 (init_user_info): Removed the above mentioned hackery.
15575 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
15576 stat has been fixed in the C runtime.
15577 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
15579 * file-coding.c (struct file_coding_dump): Do not define
15580 ucs_to_mule_table in the struct if not MULE.
15581 (struct struct lrecord_description fcd_description_1): Do not dump
15584 * emacs.c (main_1): Call vars_of_nt().
15585 (right before Fdump_emacs_data): Don't need lastfile if using both
15586 portabe dumper and system malloc.
15588 * alloc.c (Fmemory_limit): Conditionalized out.
15589 (pdump): Use OPEN_BINARY for the portable dump file.
15590 (pdump_load): Ditto.
15592 2000-02-02 Mike Alexander <mta@arbortext.com>
15594 * nt.c (convert_time): Set tm_isdst before calling mktime and
15595 avoid calling it at all if the compiler supports 64 bit integers.
15596 Also initialize utc_base_ft before using it.
15598 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
15600 * frame.c (change_frame_size_1): Take f->internal_border_width
15601 into consideration when calculating the width of the frame.
15603 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15605 * window.c (frame_min_height):
15606 (frame_size_valid_p):
15607 (frame_pixsize_valid_p): Added.
15608 (check_frame_size): Generalized.
15610 * window.h: Prototyped the above.
15613 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
15614 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
15615 Deleted Vwin32_* and Vbinary_process_* unused variables.
15617 * device-msw.c (msprinter_init_device): Do not get printer font
15618 list; Added DEVMODE functions.
15620 * frame-msw.c: Added lots of printer code.
15622 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
15625 * console-msw.h: Added more msprinter device private slots.
15627 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15629 * event-msw.c (key_needs_default_processing_p): Added.
15630 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
15632 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15634 * glyphs.c (image_instance_layout): Mark image instance as clean
15636 (glyph_dirty_p): Removed redundant function.
15637 (invalidate_glyph_geometry_maybe): Added.
15638 (update_glyph_cachel_data): Call it.
15640 * glyphs.h: Prototyped it.
15642 * redisplay.c (add_glyph_rune): Call it.
15643 (redisplay_window): Reset glyphs cachels when frame faces have
15644 changed, thus forcing recomputation of built-in border glyphs.
15646 2000-01-30 Martin Buchholz <martin@xemacs.org>
15648 * Makefile.in.in: Make portable dumper and purify play well together.
15649 Add imperfect, but better than nothing, support for pdump.
15650 Remove xemacs.dmp when temacs is re-generated.
15651 Don't ignore errors when dumping xemacs.
15653 * symbols.c (maybe_call_magic_handler): Remove one magic number.
15655 2000-01-28 Andy Piper <andy@xemacs.org>
15657 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
15658 (setup_normal_frame): ditto.
15659 (setup_frame_without_minibuffer): ditto.
15660 (setup_minibuffer_frame): ditto.
15661 (delete_frame_internal): ditto.
15662 (Fmake_frame_invisible): ditto.
15663 (Ficonify_frame): ditto.
15665 * window.h: change Fset_window_buffer signature.
15667 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
15668 (Fset_window_buffer): allow recording of buffer if the window is
15669 the selected window.
15670 (window_loop): Use new Fset_window signature.
15672 2000-01-23 Daniel Pittman <daniel@danann.net>
15674 * config.h.in: Added template for `HAVE_ATHENA_3D'
15676 2000-01-29 Andy Piper <andy@xemacs.org>
15678 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
15680 * gutter.c (output_gutter): Don't output if the window isn't live.
15682 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15684 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
15685 of 01/12/00: Moved SetFocus back here where it belongs.
15687 2000-01-23 Andy Piper <andy@xemacs.org>
15689 * s/cygwin32.h: declare printer things.
15691 2000-01-26 Andy Piper <andy@xemacs.org>
15693 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
15696 2000-01-24 Andy Piper <andy@xemacs.org>
15698 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
15699 (mswindows_button_instantiate): Make sure glyph is a pixmap.
15701 * glyphs-widget.c (widget_instantiate): Avoid shadows.
15703 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
15705 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
15707 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
15708 (mswindows_output_display_block): Avoid local shadows.
15710 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
15711 (mswindows_enqueue_mouse_button_event): ditto.
15712 (mswindows_handle_gui_wm_command): remove declaration.
15714 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
15717 * console-msw.h: Avoid shadows.
15718 (mswindows_get_toolbar_button_text):
15719 (emacs_mswindows_create_stream_pair):
15720 (emacs_mswindows_delete_stream_pair):
15721 (mswindows_handle_toolbar_wm_command): declare.
15723 * device-msw.c (build_syscolor_string): Avoid shadows.
15725 2000-01-23 Andy Piper <andy@xemacs.org>
15727 * glyphs-widget.c (widget_instantiate): reverse the items for
15728 layouts so that children are in the expected order.
15730 2000-01-28 Martin Buchholz <martin@xemacs.org>
15732 * ralloc.c: safe_bcopy ==> memmove
15733 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
15734 * s/msdos.h: Remove BCOPY macros.
15735 * insdel.c (gap_right): Remove BCOPY conditional code.
15736 * insdel.c (gap_left): Remove BCOPY conditional code.
15737 XEmacs demands a working ANSI C compiler - hence memmove.
15739 * regex.c (regex_compile): Remove accidental use of trigraphs.
15741 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15743 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
15746 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15748 * event-msw.c (mswindows_drain_windows_queue): Added the
15750 (mswindows_need_event): Commented the call to
15751 mswindows_drain_windows_queue().
15752 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
15755 * console-msw.h: Moved a few function prototypes here from
15758 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
15759 parameter from unsigned short to unsigned long.
15760 (Fmswindows_shell_execute): Added return value.
15762 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
15764 * sysdep.c (init_system_name):
15765 process-unix.c (unix_canonicalized_host_name):
15766 Don't call freeaddrinfo() if getaddrinfo() fails.
15768 * process-unix.c (unix_open_unix_network_stream):
15769 Moved the code to get a port # into address loop.
15771 2000-01-27 Martin Buchholz <martin@xemacs.org>
15773 * buffer.c (reinit_vars_of_buffer):
15774 The right place to initialize conversion_in_dynarr and
15775 conversion_out_dynarr.
15777 * alloc.c (pdump): Use the real open() till sys_open() is functional.
15779 * process-unix.c (unix_canonicalize_host_name): Muleize.
15780 (unix_open_network_stream): Muleize.
15782 * buffer.h: Fix up prototypes for ralloc.c functions.
15784 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
15785 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
15786 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
15787 instead of gethostbyname()
15788 * process-unix.c: In unix_canonicalize_host_name() and
15789 unix_open_network_stream(), add code to use getaddrinfo()
15790 instead of gethostbyname().
15792 2000-01-27 Daniel Pittman <daniel@danann.net>
15794 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
15795 libs when built with flat Athena.
15797 2000-01-27 Martin Buchholz <martin@xemacs.org>
15799 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
15800 Use coding standards for function prototypes.
15802 2000-01-25 Martin Buchholz <martin@xemacs.org>
15804 * dialog-msw.c (push_lisp_string_as_unicode):
15805 * doc.c (unparesseuxify_doc_string):
15806 * dired.c (Fuser_name_completion_1):
15807 * dired.c (Fuser_name_all_completions):
15808 * dired.c (free_user_cache):
15809 * dired.c (user_name_completion):
15810 * console-x.c (get_display_arg_connection):
15811 * minibuf.c (clear_echo_area_internal):
15812 * minibuf.c (echo_area_append):
15813 * eldap.c (Fldap_open):
15814 * eldap.c (Fldap_search_internal):
15815 * frame-x.c (x_set_frame_text_value):
15816 * frame-x.c (x_set_frame_properties):
15817 * frame-x.c (x_create_widgets):
15818 * redisplay-tty.c (term_get_fkeys_1):
15819 * objects-x.c (x_parse_nearest_color):
15820 * objects-x.c (x_valid_color_name_p):
15821 * objects-x.c (x_initialize_font_instance):
15822 * objects-x.c (x_list_fonts):
15823 * objects-x.c (x_find_charset_font):
15824 * tooltalk.c (Fadd_tooltalk_message_arg):
15825 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
15826 * tooltalk.c (Fadd_tooltalk_pattern_arg):
15827 * process-unix.c (unix_create_process):
15828 * ntproc.c (sys_spawnve):
15829 * sound.c (Fplay_sound_file):
15830 * sound.c (Fplay_sound):
15831 * buffer.c (init_initial_directory):
15832 * buffer.c (init_buffer):
15833 * editfns.c (init_editfns):
15834 * editfns.c (Ftemp_directory):
15835 * editfns.c (Fuser_full_name):
15836 * editfns.c (uncache_home_directory):
15837 * editfns.c (get_home_directory):
15838 * editfns.c (Fuser_home_directory):
15839 * editfns.c (Fformat_time_string):
15840 * editfns.c (Fcurrent_time_string):
15841 * gui-x.c (button_item_to_widget_value):
15842 * database.c (Fopen_database):
15843 * event-Xt.c (x_to_emacs_keysym):
15844 * event-Xt.c (x_event_to_emacs_event):
15845 * event-Xt.c (describe_event_window):
15846 * event-msw.c (mswindows_wnd_proc):
15847 * glyphs-eimage.c (jpeg_instantiate):
15848 * glyphs-eimage.c (gif_instantiate):
15849 * glyphs-eimage.c (png_instantiate):
15850 * glyphs-eimage.c (tiff_instantiate):
15851 * glyphs-x.c (xbm_instantiate_1):
15852 * glyphs-x.c (x_xbm_instantiate):
15853 * glyphs-x.c (x_xface_instantiate):
15854 * glyphs-x.c (autodetect_instantiate):
15855 * glyphs-x.c (cursor_font_instantiate):
15856 * glyphs-x.c (x_widget_instantiate):
15857 * glyphs-x.c (x_widget_set_property):
15858 * glyphs-x.c (x_widget_property):
15859 * glyphs-x.c (BUILD_GLYPH_INST):
15860 * print.c (write_string_to_stdio_stream):
15861 * print.c (output_string):
15862 * print.c (Falternate_debugging_output):
15863 * print.c (Fexternal_debugging_output):
15864 * glyphs-msw.c (extract_xpm_color_names):
15865 * glyphs-msw.c (mswindows_xpm_instantiate):
15866 * glyphs-msw.c (bmp_instantiate):
15867 * glyphs-msw.c (resource_name_to_resource):
15868 * glyphs-msw.c (mswindows_resource_instantiate):
15869 * glyphs-msw.c (xbm_instantiate_1):
15870 * glyphs-msw.c (mswindows_xbm_instantiate):
15871 * glyphs-msw.c (mswindows_xface_instantiate):
15872 * glyphs-msw.c (mswindows_widget_instantiate):
15873 * glyphs-msw.c (add_tree_item):
15874 * glyphs-msw.c (add_tab_item):
15875 * glyphs-msw.c (mswindows_combo_box_instantiate):
15876 * glyphs-msw.c (mswindows_widget_property):
15877 * glyphs-msw.c (mswindows_combo_box_property):
15878 * glyphs-msw.c (mswindows_widget_set_property):
15879 * console.c (stuff_buffered_input):
15880 * objects-msw.c (mswindows_initialize_color_instance):
15881 * objects-msw.c (mswindows_valid_color_name_p):
15882 * objects-msw.c (mswindows_list_fonts):
15883 * objects-msw.c (mswindows_font_instance_truename):
15884 * bytecode.c (optimize_compiled_function):
15885 * select-x.c (symbol_to_x_atom):
15886 * select-x.c (x_atom_to_symbol):
15887 * select-x.c (hack_motif_clipboard_selection):
15888 * select-x.c (selection_data_to_lisp_data):
15889 * select-x.c (lisp_data_to_selection_data):
15890 * select-x.c (Fx_get_cutbuffer_internal):
15891 * select-x.c (Fx_store_cutbuffer_internal):
15892 * buffer.h (TO_EXTERNAL_FORMAT): New function.
15893 * buffer.h (TO_INTERNAL_FORMAT): New function.
15894 * emacs.c (make_arg_list_1):
15895 * emacs.c (make_argc_argv):
15896 * emacs.c (main_1):
15897 * emacs.c (Fdump_emacs):
15898 * emacs.c (split_string_by_emchar_1):
15903 * device-x.c (x_init_device):
15904 * device-x.c (Fx_valid_keysym_name_p):
15905 * device-x.c (Fx_get_font_path):
15906 * device-x.c (Fx_set_font_path):
15907 * glyphs.c (bitmap_to_lisp_data):
15908 * glyphs.c (pixmap_to_lisp_data):
15909 * alloc.c (make_ext_string): Use coding system arguments. Update
15911 * alloc.c (build_string):
15912 * callproc.c (child_setup):
15913 * callproc.c (init_callproc):
15914 * fileio.c (lisp_strerror):
15915 * fileio.c (directory_file_name):
15916 * fileio.c (Fexpand_file_name):
15917 * fileio.c (Ffile_truename):
15918 * fileio.c (Fsysnetunam):
15919 * fileio.c (Fdo_auto_save):
15920 * sysdep.c (sys_readdir):
15921 * tests.c: New file. Allow adding C tests.
15922 Replace GET_* macros with a more comprehensible and flexible
15923 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
15925 Any coding system can be used to do format conversion.
15926 Eliminate enum external_data_format.
15927 Eliminate convert_to_external_format.
15928 Eliminate convert_to_internal_format.
15929 Make sure file-name, keyboard, terminal, and ctext are always
15930 defined as coding systems or aliases. Make
15931 file-name-coding-system, terminal-coding-system, and
15932 keyboard-coding-system magical variables that are equivalent to
15933 defining the corresponding coding system aliases.
15935 * file-coding.c (Fcoding_system_canonical_name_p): New function.
15936 * file-coding.c (Fcoding_system_alias_p): New function.
15937 * file-coding.c (Fcoding_system_aliasee): New function.
15938 * file-coding.c (append_suffix_to_symbol): New function.
15939 * file-coding.c (dangling_coding_system_alias_p): New function.
15940 * file-coding.c (Ffind_coding_system):
15941 * file-coding.c (Fcopy_coding_system):
15942 * file-coding.c (encode_coding_no_conversion):
15943 * file-coding.c (syms_of_file_coding):
15944 * file-coding.c (vars_of_file_coding):
15945 Rewrite coding system alias code.
15946 Allow nested aliases, like symbolic links.
15947 Allow redefinition of coding system aliases.
15948 Prevent existence of dangling coding system aliases.
15950 * dired.c (Fuser_name_completion_1):
15951 * dired.c (Fuser_name_all_completions):
15952 A crash would happen if user did QUIT in the middle of building
15953 user_name_cache. Remove redundant code in mainline and unwind_protect.
15956 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
15958 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
15959 an unsigned char *. Update all callers.
15961 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15963 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
15965 2000-01-25 Martin Buchholz <martin@xemacs.org>
15967 * elhash.c (hentry_description): Use more portable definition.
15968 (resize_hash_table): Initialize new hentries using
15969 xnew_array_and_zero, thereby simplifying the code.
15971 * mule-charset.c (make_charset): Make sure entire object is
15972 initialized, to avoid Purify warnings.
15974 * alloc.c (resize_string): Fix unlikely crash with big strings.
15976 2000-01-24 Martin Buchholz <martin@xemacs.org>
15978 * realpath.c (xrealpath):
15979 Don't call getwd().
15981 2000-01-25 Martin Buchholz <martin@xemacs.org>
15983 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
15985 1999-12-28 Max Matveev <max@melbourne.sgi.com>
15987 * unexelfsgi.c (unexec): Change the way we decide which segment
15988 should be extended.
15990 Assumption that .bss section should be outside the PT_LOADable
15991 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
15992 it's present) is inside the 'data' segment. This would fail the
15993 test which was used to find a segment to grow and cover new
15994 heap. Instead of this assumption, I created another one - on IRIX
15995 the segment to grow should start below .bss and it's address
15996 should extent above the end of .bss. Once this segment is
15997 identified, it's grown to accommodate the new heap and new
15998 zero-length .bss section is added at the end of .data2.
16000 2000-01-25 Martin Buchholz <martin@xemacs.org>
16002 * eval.c (Feval): Wrong number of arguments should use original
16003 function, not the indirect_function version of it.
16005 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
16007 * glyphs-x.c (x_button_instantiate): Don't add image if
16008 it is not a pixmap.
16009 (x_locate_pixmap_file): Call Fexpand_file_name when file name
16012 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
16014 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
16016 (DEFVAR_INT_MAGIC): Ditto.
16017 (DEFVAR_BOOL_MAGIC): Ditto.
16018 * glyphs.h: Reindent backslash.
16020 2000-01-24 Martin Buchholz <martin@xemacs.org>
16022 * glyphs-widget.c (layout_query_geometry):
16023 (layout_layout): Use correct types for gheight, gwidth.
16025 2000-01-24 Martin Buchholz <martin@xemacs.org>
16027 * EmacsManager.c (QueryGeometry): Purified.
16029 2000-01-23 Martin Buchholz <martin@xemacs.org>
16031 * alloc.c (make_float): Make sure entire object is initialized, to
16032 avoid Purify warnings.
16033 (pdump_register_sub): Remove useless assignment.
16034 (pdump): Use xmalloc, not malloc.
16035 (pdump_load): Use xmalloc, not malloc.
16037 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16044 * sysdep.c: Removed redundant #include <windows.h>
16046 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16048 * frame.c (delete_frame_internal): Do not delete device when its
16049 implementation so declares.
16050 (delete_frame_internal): Set device selected frame to nil when
16051 last frame goes away.
16053 * device-msw.c (msprinter_device_system_metrics): Implemented.
16054 (mswindows_device_system_metrics): Added 'device-dpi property.
16056 * device.c: (Fdevice_printer_p): Added.
16057 Added 'offset-workspace device metric.
16059 * console.h (device_metrics): Declared DM_offset_workspace.
16061 2000-01-23 Martin Buchholz <martin@xemacs.org>
16063 * fileio.c (Ffile_truename): Remove pointless and confusing
16064 initialization of elen.
16066 * glyphs-widget.c: Compiler warning fixes.
16068 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
16070 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
16071 instead of a Lisp_Object as argument to make it consistent with
16072 the other LIVE_P macros.
16073 (CHECK_LIVE_PROCESS): New macro.
16075 * process.c: Declare Qprocess_live_p.
16076 (Fprocess_live_p): New function.
16077 (create_process): Use PROCESS_LIVE_P.
16078 (read_process_output): Ditto.
16079 (set_process_filter): Ditto.
16080 (Fdelete_process): Ditto.
16081 (kill_buffer_processes): Ditto
16082 (process_send_signal): Use CHECK_LIVE_PROCESS.
16083 (Fprocess_input_coding_system): Check whether process is still
16084 alive (fix PR#1061).
16085 (Fprocess_output_coding_system): Ditto.
16086 (Fprocess_coding_system): Ditto.
16087 (Fset_process_input_coding_system): Ditto.
16088 (Fset_process_output_coding_system): Ditto.
16090 2000-01-23 Andy Piper <andy@xemacs.org>
16092 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
16095 * glyphs.c (mark_image_instance): take into account changed
16096 image_instance format.
16097 (image_instance_equal): ditto.
16098 (image_instance_hash): ditto.
16100 * glyphs-widget.c (widget_instantiate): Incorporate layout
16101 instantiation here. Delay layout of the layout until later.
16102 (layout_instantiate): deleted.
16103 (layout_query_geometry): new function. get the geometry of a
16105 (layout_layout): layout a layout dynamically.
16106 (image_instantiator_widget): New function - splitting up
16107 image_instantiator_format_create_glyphs_widget for netwinder
16109 (image_instantiator_buttons):
16110 (image_instantiator_edit_fields):
16111 (image_instantiator_combo_box):
16112 (image_instantiator_scrollbar):
16113 (image_instantiator_progress_guage):
16114 (image_instantiator_tree_view):
16115 (image_instantiator_tab_control):
16116 (image_instantiator_labels):
16117 (image_instantiator_layout): ditto.
16118 (image_instantiator_format_create_glyphs_widget): Call preceding
16121 2000-01-22 Martin Buchholz <martin@xemacs.org>
16123 * process.c (Fset_process_coding_system):
16124 * device-x.c (Fx_keysym_hash_table):
16127 * lstream.c (Lstream_write): Return documented value, not 0.
16129 * fileio.c (directory_file_name):
16130 (Fsubstitute_in_file_name):
16131 (Fsubstitute_insert_file_contents_internal):
16132 (Fwrite_region_internal):
16137 Remove vestigial APOLLO-conditional code.
16139 2000-01-21 Martin Buchholz <martin@xemacs.org>
16141 * getpagesize.h: Add guard macros.
16142 * libsst.h: Add guard macros.
16143 * libst.h: Add guard macros.
16144 * line-number.h: Add guard macros.
16145 * ndir.h: Add guard macros.
16146 * sysfloat.h: Add guard macros.
16147 * sysfile.h: Add guard macros.
16148 * sysproc.h: Add guard macros.
16149 * syswait.h: Add guard macros.
16150 * xintrinsic.h: Add guard macros.
16151 * xintrinsicp.h: Add guard macros.
16152 * xmmanager.h: Add guard macros.
16153 * xmmanagerp.h: Add guard macros.
16154 * xmprimitive.h: Add guard macros.
16155 * xmu.h: Add guard macros.
16156 * gpmevent.h: Add copyright statement. Add guard macros.
16157 * miscplay.h: Add guard macros.
16158 * *.h: Use consistent C-standards-approved guard macro names.
16160 * opaque.c (make_opaque): Switch parameter order.
16161 * opaque.h (make_opaque): Switch parameter order.
16162 Update all callers.
16163 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
16165 * config.h.in (type_checking_assert): Added.
16166 (bufpos_checking_assert): Added.
16168 2000-01-21 Martin Buchholz <martin@xemacs.org>
16170 * alloc.c: Harmless pdump changes.
16172 - spell alignment correctly.
16173 * sysdep.c: Use countof()
16175 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16177 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
16178 initially_selected_for_input() console method, default to 0.
16179 (semi_canonicalize_console_connection): Try to delegate to
16180 canonicalize_console_connection if no such console method.
16181 (canonicalize_console_connection): Vice versa.
16182 (print_console): Do not print nil connection.
16184 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
16185 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
16186 (XDEVIMPF_FRAMELESS_OK): Added.
16187 (CONSOLE_INHERITS_METHOD): Added.
16189 * console-msw.c (mswindows_canonicalize_console_connection):
16191 (mswindows_canonicalize_device_connection): Added.
16193 * console-msw.h (struct msprinter_device): Added this struct and
16195 (mswindows_device): Made fontlist a lisp object.
16197 * device.c (semi_canonicalize_device_connection): Try to delegate
16198 to canonicalize_device_connection if no such console method.
16199 (canonicalize_device_connection): Vice versa.
16200 (print_device): Do not print nil connection.
16202 * device-msw.c (mswindows_init_device): Call InitCommonControls
16204 (mswindows_delete_device): Removed fontlist deallocation.
16205 (mswindows_mark_device): Added.
16207 * events.c (event_equal): Added abort() at unreached code.
16208 (event_hash): Ditto.
16210 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
16211 fallback tags of Windows devices.
16213 * general.c (syms_of_general): Initialized Qmsprinter.
16215 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
16216 of fallback tags of Windows devices.
16218 * lisp.h: Declared Qmsprinter.
16220 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
16222 (mswindows_list_fonts): Ditto.
16223 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
16224 that it can be used by both mswindows and msprinter devices.
16225 (initialize_font_instance): Added.
16226 (mswindows_initialize_font_instance): Use it.
16227 (msprinter_initialize_font_instance): Added.
16229 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
16230 and implementation flags check.
16231 (redisplay_without_hooks): Changed the call to the above.
16232 (Fredraw_device): Ditto.
16233 (Fredisplay_device): Ditto.
16235 * redisplay-msw.c (get_frame_dc): Implemented.
16236 (get_frame_compdc): Implemented.
16237 (many functions): Use the two functions above to get device
16238 contexts, ether for a window or a printer.
16240 2000-01-21 Olivier Galibert <galibert@pobox.com>
16242 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
16243 initialization here.
16244 (init_symbols_once_early): Call it.
16245 * emacs.c (main_1): Call it.
16246 * symsinit.h: Declare it.
16248 2000-01-19 Olivier Galibert <galibert@pobox.com>
16250 * alloc.c: Use a lrecord_header * in the backtrace instead of a
16252 (pdump_backtrace): Ditto.
16253 (pdump_register_object): Ditto. Cleanup use of the pointers.
16254 (pdump_get_entry): Abort if trying to register a null pointer.
16255 (pdump_dump_data): Cleanup types when relocating.
16256 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
16257 (pdump_dump_rtables): Remove bad casts.
16258 (pdump_load): Cleanup relocation w.r.t union type. Use a
16259 Lisp_Object instead of a EMACS_INT for the hashtable
16262 2000-01-20 Martin Buchholz <martin@xemacs.org>
16264 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
16266 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
16268 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
16270 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
16272 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16274 * faces.h (FACE_STRIKETHRU_P): Added.
16276 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
16279 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
16280 (mswindows_set_dc_font): New function, aware of font variants,
16281 separated from mswindows_update_dc.
16283 * objects-msw.h (struct mswindows_font_instance_data): Added
16286 * objects-msw.c (mswindows_finalize_font_instance): Delete all
16287 cached fonts and the data structure.
16288 (mswindows_initialize_font_instance): Added creation of font data
16290 (mswindows_print_font_instance): Print at least something.
16291 (mswindows_create_font_variant): Implemented.
16292 (mswindows_get_hfont): Implemented.
16294 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
16296 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
16297 prototyping problem with msvc.
16299 * emacs.c (main_1): added syms_of_gui_mswindows() call
16301 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
16302 syms_of_gui_mswindows() function
16304 * symsinit.h: added the prototype for syms_of_gui_mswindows()
16306 2000-01-18 Martin Buchholz <martin@xemacs.org>
16308 * XEmacs 21.2.27 is released.
16310 2000-01-18 Martin Buchholz <martin@xemacs.org>
16312 * glyphs-eimage.c (struct tiff_error_struct):
16314 (tiff_warning_func):
16315 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
16320 * unexec.c: Remove vestigial Lucid C code.
16324 * libsst.c: Ansify.
16325 Remove declarations of errno and strerror().
16327 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
16329 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
16331 2000-01-16 Martin Buchholz <martin@xemacs.org>
16333 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
16336 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16341 Change enum eol_type to eol_type_t.
16343 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16345 * gui.c (get_gui_callback): Check cons before accessing car.
16347 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16349 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
16350 (XSETSPECIFIER_TYPE): Ditto.
16352 2000-01-17 Didier Verna <didier@xemacs.org>
16354 * redisplay.c (generate_fstring_runes): compute string size in
16355 characters, not bytes.
16357 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
16359 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
16361 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
16363 * print.c (print_error_message): Call print_prepare().
16365 2000-01-14 Martin Buchholz <martin@xemacs.org>
16367 * .dbxrc: Renamed from dbxrc.
16369 * events.c (event_to_character):
16370 Use `assert (foo)' instead of `if (!foo) abort()'
16372 * .gdbinit (xtype): Add documentation.
16373 * .gdbinit (check-temacs): New function.
16374 * .gdbinit (check-xemacs): New function.
16375 * dbxrc (check-xemacs): New function.
16376 * dbxrc (check-xemacs): New function.
16378 2000-01-14 Andy Piper <andy@xemacs.org>
16380 * glyphs-widget.c (widget_query_geometry): Make sure that we
16381 calculate default dimensions correctly.
16383 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16385 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
16387 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
16388 pdump_wire'd variable.
16390 * emacs.c: (main_1): Conditionalized calls to
16391 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
16393 2000-01-13 Martin Buchholz <martin@xemacs.org>
16395 * window.c (Fset_window_configuration):
16396 * sysdep.c (_start):
16397 * input-method-motif.c (res):
16398 * event-Xt.c (Xt_process_to_emacs_event):
16399 Simple compiler warning fixes.
16401 * bytecode.c (funcall_compiled_function): Use the original
16402 function symbol on the backtrace list in preference to the
16403 compiled_function object in error messages.
16405 2000-01-13 Andy Piper <andy@xemacs.org>
16407 * glyphs-x.c (update_widget_face): Make sure we update the widget
16408 background as well as foreground.
16410 2000-01-13 Andy Piper <andy@xemacs.org>
16412 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
16413 fields to subwindow.
16414 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
16415 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
16416 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
16417 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
16419 * glyphs-widget.c (check_valid_tab_orientation): new function.
16420 (initialize_widget_image_instance): zero orientation and
16422 (widget_instantiate): pick up orientation.
16423 (tab_control_query_geometry): return appropriate values for
16426 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
16427 appropriate creation flags for left, right and bottom tabs.
16429 * s/cygwin32.h: add tab definitions.
16431 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16433 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
16434 frame upon hiding a subwindow.
16435 (mswindows_button_instantiate): Changed the push button style to
16437 (mswindows_button_instantiate): Removed button BS_NOTIFY
16439 (mswindows_button_instantiate): Removed redundant check for
16440 a disabled gui item.
16441 (mswindows_button_instantiate): Made use of WS_TABSTOP
16442 consistent: "operable" controls (edit, button, tree, scroll) have
16443 this style, "display-only" ones (static, progress gauge) do
16444 not. This style is currently ignored by XEmacs though. Also,
16445 removed the WS_EX_CONTROLPARENT style - it is not for children,
16446 it is for their parents!
16447 (mswindows_edit_field_instantiate): Ditto.
16448 (mswindows_progress_gauge_instantiate): Ditto.
16449 (mswindows_tree_view_instantiate): Ditto.
16450 (mswindows_tab_control_instantiate): Ditto.
16451 (mswindows_scrollbar_instantiate): Ditto.
16452 (mswindows_combo_box_instantiate): Ditto.
16453 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
16454 style to the "clip" window.
16455 (mswindows_button_instantiate): Removed compilation warning by
16456 equally typing terms of the ?: operator.
16458 2000-01-12 Didier Verna <didier@xemacs.org>
16460 * redisplay.c (generate_fstring_runes): new parameter holding the
16461 last modeline-format extent.
16462 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
16463 extent, fill the glyph block with it.
16464 (generate_fstring_runes): handle these parameters.
16465 (generate_formatted_string_db): ditto.
16467 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
16468 glyphs'extents in the modeline.
16470 1999-01-11 Mike Woolley <mike@bulsara.com>
16472 * ntheap.c: Reduced the reserved heap space from 1Gb down to
16473 256Mb, as a workaround for the non-starting problem many people
16476 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16478 * console-tty.c (Fset_console_tty_output_coding_system):
16479 Force redrawing tty frame.
16481 2000-01-10 Didier Verna <didier@xemacs.org>
16483 * redisplay.c (generate_fstring_runes): fix size computation bug.
16485 2000-01-09 William M. Perry <wmperry@aventail.com>
16487 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
16489 2000-01-09 Andy Piper <andy@xemacs.org>
16491 * glyphs-msw.c: index -> i to avoid shadows.
16492 (xbm_create_bitmap_from_data): make static.
16493 (check_valid_string_or_int): deleted.
16494 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
16496 * glyphs-x.c (x_update_subwindow): remove unused args.
16498 * glyphs.c (glyph_image_instance): return the thing. Don't set the
16499 back pointer - this is done in allocate_image_instance.
16500 (query_string_font): return Qnil to make the compiler happy.
16501 (unmap_subwindow): set to ~0 to make the compiler happy.
16502 (glyph_query_geometry): comment out until used.
16503 (glyph_layout): ditto.
16505 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
16507 * insdel.c (signal_after_change): Remove extraneous unbind_to().