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 2003-09-03 Vin Shelton <acs@xemacs.org>
5382 * XEmacs 21.4.14 is released
5384 2003-08-15 Stephen J. Turnbull <stephen@xemacs.org>
5386 * config.h.in (REGEX_MALLOC): Make it configure'able.
5388 2003-08-14 Andrew Begel <abegel@CS.Berkeley.EDU>
5390 * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic
5392 * sysdll.c (dll_init):
5393 * sysdll.c (dll_open):
5394 * sysdll.c (dll_close):
5395 * sysdll.c (dll_function):
5396 * sysdll.c (dll_variable):
5397 * sysdll.c (dll_error):
5398 Add support for loading bundles using Darwin/MacOSX
5401 2003-08-12 Stephen J. Turnbull <stephen@xemacs.org>
5403 * process.c (start-process-internal): Document coding systems.
5405 2003-07-30 Jerry James <james@xemacs.org>
5407 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
5409 2003-07-31 René Kyllingstad <listmailxemacs@kyllingstad.com>
5411 * event-msw.c (mswindows_enqueue_mouse_button_event):
5412 * event-msw.c (mswindows_wnd_proc):
5413 enqueue button event when scrollwheel event isn't handled by
5414 mswindows_handle_mousewheel_event, such as when the scrollbars
5417 2003-07-29 Stephen J. Turnbull <stephen@xemacs.org>
5419 * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*.
5421 2003-03-24 Stephen J. Turnbull <stephen@xemacs.org>
5423 * database.c (Fopen_database): Don't use DB_AUTO_COMMIT.
5425 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org>
5427 * regex.c (re_match_2_internal): Fix matching degenerate word
5430 2003-05-25 XEmacs Build Bot <builds@cvs.xemacs.org>
5432 * XEmacs 21.4.13 is released
5434 2003-03-20 Stephen J. Turnbull <stephen@xemacs.org>
5436 * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H):
5437 * lisp.h (<inttypes.h>):
5438 Cygwin defines these types in <cygwin/types.h>. Don't duplicate
5441 2003-03-15 Martin Buchholz <martin@xemacs.org>
5443 * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file.
5444 Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs'
5445 Result: "temacs can only be run in -batch mode."
5446 Fix: Check xemacs executable candidate for directory-ness.
5448 2003-03-03 Robert Pluim <rpluim@bigfoot.com>
5450 * database.c: Don't use the u_int8_t etc typedefs on FreeBSD,
5451 they conflict with <sys/types.h>.
5453 2003-02-14 Martin Buchholz <martin@xemacs.org>
5455 * database.c: Berkeley DB wants __STDC__ to be defined.
5457 2003-02-13 Martin Buchholz <martin@xemacs.org>
5459 * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'.
5461 2003-02-01 Martin Buchholz <martin@xemacs.org>
5463 * process-unix.c (unix_send_process): Fix C++ compile error.
5465 2003-02-25 Andrew Begel <abegel@cs.berkeley.edu>
5467 * Added .dylib as an acceptable shared library file extension
5468 * to support MacOSX.
5470 2003-02-01 Martin Buchholz <martin@xemacs.org>
5472 * EmacsFrameP.h (EmacsFramePart):
5473 Kludge to allow compiling with Motif1, but linking with Motif2.
5475 2003-01-28 Martin Buchholz <martin@xemacs.org>
5477 * config.h.in (_ALL_SOURCE): Guard against multiple definition.
5480 2003-02-23 Stephen J. Turnbull <stephen@xemacs.org>
5482 * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin.
5484 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
5486 * sysdll.c: Included lisp.h to define needed alloca_array.
5488 2003-02-13 Martin Buchholz <martin@xemacs.org>
5490 Make XEmacs redisplay 10 times faster.
5491 If, that is, you're using a slow X connection and MoveOpaque.
5492 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
5493 Use compress_motion = TRUE.
5494 * EmacsFrame.c (emacsFrameClassRec):
5495 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
5496 * EmacsManager.c (emacsManagerClassRec):
5497 * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
5499 2003-01-30 Vin Shelton <acs@xemacs.org>
5501 * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux.
5503 2003-01-17 Stephen J. Turnbull <stephen@xemacs.org>
5505 * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef.
5506 Patch by Martin Buchholz.
5508 2003-01-16 Stephen J. Turnbull <stephen@xemacs.org>
5510 * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison.
5511 Thanks to icc for warning and Martin Buchholz for reporting.
5513 2003-01-29 Vin Shelton <acs@xemacs.org>
5515 Patch courtesy of Andrew Begel <abegel@cs.berkeley.edu>
5517 * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so
5518 remember to multiply by the element size.
5520 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
5522 * XEmacs 21.4.12 "Portable Code" is released.
5524 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
5526 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
5527 * s/cygwin.sc: new linker file.
5529 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
5531 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
5533 * redisplay-x.c (x_output_string): Use X11-specified types.
5534 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
5535 * emacs.c (__free_hook): Use typeof with Intel compiler.
5536 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
5538 2003-01-08 Andy Piper <andy@xemacs.org>
5540 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
5541 reserve size during unexec().
5543 2003-01-07 Daiki Ueno <daiki@xemacs.org>
5545 * process-unix.c (unix_create_process): Don't let outchannel block.
5547 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
5549 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
5550 Needed for IsBadReadPtr().
5552 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
5554 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
5556 2002-12-14 Ben Wing <ben@xemacs.org>
5558 * callint.c: Declaration error.
5560 * dumper.c (pdump_load): Warning fix.
5561 * process.c: GCPRO error.
5562 * glyphs.c (unmap_subwindow):
5563 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
5564 * event-stream.c (maybe_kbd_translate): Wrong argument to
5565 character_to_event().
5567 * alloc.c (garbage_collect_1):
5569 * emacs.c (debug_can_access_memory):
5570 * emacs.c (fatal_error_signal):
5571 * emacs.c (mswindows_handle_hardware_exceptions):
5574 * emacs.c (assert_failed):
5575 * emacs.c (syms_of_emacs):
5578 * print.c (std_handle_out_va):
5579 * print.c (write_string_to_stdio_stream):
5580 * print.c (write_fmt_string):
5581 * print.c (printing_badness):
5582 * print.c (printing_major_badness):
5583 * print.c (print_internal):
5584 * print.c (debug_print_no_newline):
5585 * print.c (debug_backtrace):
5586 Be more defensive in handling bad values when printing. Add code
5587 from trunk involving inhibit_non_essential_printing_operations.
5588 When going down or in debug_print(), don't do external conversion
5589 and such and try really, really hard when printing to avoid core
5590 dumping. Add force-debugging-signal, debug_break().
5592 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
5594 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
5595 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
5597 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
5599 * database.c: Fix open_database. Berkeley DB API has changed in
5600 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
5602 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
5604 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
5606 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
5608 * event-Xt.c (Xt_timeout):
5609 (Xt_timeout_callback):
5610 (emacs_Xt_add_timeout):
5611 (emacs_Xt_remove_timeout):
5612 (Xt_timeout_to_emacs_event):
5613 Turn completed_timeouts from a stack into a queue. Fixes
5614 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
5616 2002-11-07 Wolfram Gloger <wg@malloc.de>
5618 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
5619 * emacs.c (main): Assert that mmap'd allocation is disabled.
5621 2002-10-14 Andy Piper <andy@xemacs.org>
5623 * glyphs-widget.c (layout_query_geometry): add in fiddle
5624 factor. Include border text in width layout calculation.
5625 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
5627 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
5629 * XEmacs 21.4.10 "Military Intelligence" is released.
5631 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
5633 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
5634 using the NAS private array SoundFileInfo that no longer exists in
5635 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
5636 and earlier. This is broken for some versions between 1.5a and
5639 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
5641 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
5643 * emacs.c (shut_down_emacs): Improve crash message.
5645 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
5647 * file-coding.c (determine_real_coding_system): Check for coding
5648 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
5649 shebangs and Python PEP 263.
5651 2002-10-08 Andy Piper <andy@xemacs.org>
5653 * glyphs-widget.c (layout_query_geometry): only resize dynamically
5654 if static sizes haven't been set.
5656 2002-08-30 Mike Alexander <mta@arbortext.com>
5658 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
5661 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
5663 * callproc.c (child_setup): 21.4 doesn't have retry_close.
5665 2002-09-20 Mike Sperber <mike@xemacs.org>
5667 (This partially gets back my patch from 2002-07-20 without the
5669 * callproc.c (child_setup): Remove Ben's comment noting confusion
5670 over the file descriptors >= 3: close_process_descs() doesn't
5671 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
5672 * process-unix.c (unix_create_process): Call
5673 begin_dont_check_for_quit to inhibit unwanted interaction (and
5674 thus breaking of X event synchronicity) in the child.
5676 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
5678 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
5681 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
5683 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
5684 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
5685 the xemacs process did not exit, but looped infinitely here. This
5688 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
5690 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
5691 (find_context): Improve comments.
5693 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
5694 (re_match_2): An XCHAR_TABLE operation was missing.
5696 Many of the following changes were inspired by Andy Piper's (now
5697 obsolete) patch to make syntax-table text property lookup optional.
5701 * syntax.h (top level): Document semantics of syntax flags.
5702 * syntax.c (comstr_start, Fforward_comment): Improve comments.
5703 * syntax.c, syntax.h (top level): Document syntax cache better in
5706 [Instrument syntax caching (temporary change)]
5708 * syntax.h (enum syntax_cache_statistics_functions, struct
5709 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
5710 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
5711 * syntax.c (scan_words, Fforward_comment, scan_lists,
5712 Fbackward_prefix_characters):
5713 * font-lock.c (find_context):
5714 Use them to instrument syntax caching.
5715 * syntax.c (struct syntax_cache_statistics, scs_statistics,
5716 syntax_cache_statistics_function_names): New type and variables.
5717 * syntax.c (update_syntax_cache): Update and report statistics.
5719 [Major syntax cache optimizations]
5721 syntax.c (lookup_syntax_properties): Default off.
5723 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
5724 * syntax.c (update_syntax_cache):
5725 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
5727 [Minor syntax cache optimizations and code clarifications]
5729 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
5730 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
5731 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
5732 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
5733 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
5734 (Code clarification.)
5736 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
5737 scan_lists): Compute code from syncode, use Boolean macros instead
5738 of redundant masking operations. (Code clarification; any decent
5739 compiler can do this optimization.)
5741 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
5744 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
5745 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
5746 use F*_single_property_change instead of F*_extent_change.
5747 Currently F*_single_property_change is _much_ less efficient.
5749 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
5750 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
5751 syntax_cache.object properly, don't leave Qt or Qnil.
5752 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
5753 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
5754 tests for Qt or Qnil.
5756 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
5758 * redisplay.c (point_in_line_start_cache):
5759 * extents.c (print_extent_1):
5762 * extents.c (Fset_extent_property): Document `syntax-table' property.
5764 * extents.h (Fnext_single_property_change): EXFUN it.
5766 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
5768 * search.c (clear_unused_search_regs): New static function.
5772 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
5773 Minor clarifications in comments.
5775 * regex.c (re_match_2_internal): Ensure no stale submatches.
5777 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
5779 * event-Xt.c (enqueue_focus_event): Add missing prototype.
5781 2002-08-29 Jerry James <james@xemacs.org>
5783 * lisp.h: structrures -> structures.
5785 2002-06-03 Andy Piper <andy@xemacs.org>
5787 * frame.c (frame_conversion_internal): add conversion appropriate
5788 for setting frame dimensions in pixels.
5790 * console.h (struct console_methods): add device-specific widget
5793 * emacs.c (main_1): initialize glyph vars.
5795 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
5796 (handle_focus_event_2): new function. Allow focus to
5797 be set to a particular window and widget.
5798 (enqueue_focus_event): new function. Create a
5799 synthetic focus event.
5800 (emacs_Xt_handle_magic_event): call
5801 handle_focus_event_2.
5803 * frame.c (Fset_frame_pixel_height): new function. Allow
5804 pixel-based sizing. Does the right thing on character-oriented
5806 (Fset_frame_pixel_width): ditto.
5807 (Fset_frame_pixel_size): ditto.
5808 (syms_of_frame): declare.
5810 * general-slots.h: add :vertically-justify and
5811 :horizontally-justify.
5813 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
5814 (mswindows_widget_border_width): new function.
5815 (mswindows_combo_box_instantiate): set border widths.
5816 (console_type_create_glyphs_mswindows): declare.
5819 (check_valid_justification): allow vertical and horizontal
5821 (widget_border_width): new function. Call device methods.
5822 (widget_instance_border_width): ditto.
5823 (logical_unit_height): new function. Determine the height of a
5824 logical-unit. Logical units are intended to provide grid-like
5825 layout for subcontrols in a layout. If the layout is
5826 :vertically-justify top then subcontrols will be positioned on
5827 logical-unit boundaries, thus allowing adjacent subcontrols to
5829 (widget_logical_unit_height): ditto for widgets.
5830 (redisplay_widget): misc cleanup.
5831 (widget_spacing): new function. Call device specific
5832 methods. Intended to be the default gap between adjacent widgets.
5833 (widget_query_geometry): use new spacing functions to determine
5834 appropriate geometry.
5835 (initialize_widget_image_instance): initialize horizontal and
5836 vertical justification.
5837 (widget_instantiate): use logica-units where appropriate for
5838 sizing large widgets.
5839 (button_query_geometry): use widget_instance_border_width.
5840 (tree_view_query_geometry): ditto.
5841 (tab_control_query_geometry): ditto.
5842 (edit_field_query_geometry): new function.
5843 (layout_update): pick up :justify, :horizontally-justify and
5844 :vertically-justify none of which worked previously. :justify is
5845 used as a fallback for both horizontal and vertical justification.
5846 (layout_query_geometry): use logical units to size appropriately.
5847 (layout_layout): ditto.
5848 (Fwidget_logical_to_character_width): new function. Allow users to
5849 convert from logical units to characters so that frame sizes can
5850 be set appropriately.
5851 (Fwidget_logical_to_character_height): ditto.
5852 (syms_of_glyphs_widget): declare.
5853 (image_instantiator_edit_fields): add edit_field_query_geometry.
5854 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
5855 :horizontally-justify.
5856 (specifier_vars_of_glyphs_widget): new function. Declare
5857 Vwidget_border_width which is not yet used.
5859 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
5860 (x_widget_border_width): new function.
5861 (x_widget_instantiate): create a sensible name for widgets.
5862 (console_type_create_glyphs_x): declare x_widget_border_width.
5864 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
5865 (struct Lisp_Image_Instance): add :vertically-justify and
5866 :horizontally-justify.
5867 (LAYOUT_JUSTIFY_TOP): new.
5868 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
5869 (ROUND_UP): new macro. Round argument up to next integral
5872 * redisplay-output.c (redisplay_output_layout): misc formatting.
5874 * symsinit.h: declare specifier_vars_of_glyphs_widget.
5876 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
5878 * XEmacs 21.4.9 "Informed Management" is released.
5880 2002-08-19 Andy Piper <andy@xemacs.org>
5882 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
5885 * realpath.c (xrealpath): normalize drive spec also so that dir
5886 sep chars are not mixed on cygwin.
5888 2002-08-06 Jerry James <james@xemacs.org>
5890 * window.c (Fsplit_window): Count only half of the divider width
5891 against the left window when splitting horizontally.
5893 2002-06-24 Andy Piper <andy@xemacs.org>
5895 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
5896 toolbar was cleared.
5898 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
5899 function. Split out from mswindows_output_frame_toolbars.
5900 (mswindows_output_frame_toolbars): move clear pieces to
5901 mswindows_output_frame_toolbars.
5903 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
5904 out from gtk_output_frame_toolbars.
5905 (gtk_output_frame_toolbars): move clear pieces to
5906 gtk_clear_frame_toolbars.
5908 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
5909 the frame is cleared. How this ever worked before is a mystery.
5910 (x_output_frame_toolbars): Only output toolbars.
5911 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
5913 * gutter.c (update_gutter_geometry):
5914 Mark frame layout changed.
5915 (update_frame_gutter_geometry, update_frame_gutters):
5916 Respect frame_layout_changed.
5918 * console.h (struct console_methods): add
5919 clear_frame_toolbars_method.
5921 * redisplay.c (redisplay_frame): call
5922 update_frame_toolbars_geometry and re-order update_frame_toolbars.
5924 * toolbar.h: declare update_frame_toolbars_geometry.
5926 * toolbar.c (update_frame_toolbars_geometry): new function. Split
5927 out from update_frame_toolbars. Call clear_frame_toolbars.
5928 (update_frame_toolbars): only output, do not change geometry.
5930 * redisplay.c: add frame_layout_changed.
5932 * redisplay.h: add frame_layout_changed.
5933 (CLASS_RESET_CHANGED_FLAGS): set it.
5934 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
5935 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
5936 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
5938 * device.h (struct device): add frame_layout_changed.
5939 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
5941 * frame.h (struct frame): add frame_layout_changed.
5942 (MARK_FRAME_LAYOUT_CHANGED): new.
5944 2002-06-30 Mike Alexander <mta@arbortext.com>
5946 * event-msw.c (mswindows_need_event): Don't wait for a new message
5947 if the queue is not empty. Suggested by Paul Moore.
5949 2002-06-12 Andy Piper <andy@xemacs.org>
5951 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
5952 for printing on accurately.
5954 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
5956 * event-msw.c (mswindows_wnd_proc): Add a handler for the
5957 WM_ACTIVATE message. Make sure that the frame is visible if the
5958 window is visible. This seemss to fix the problem where XEmacs
5959 appears to freeze after switching desktops with certain virtual
5961 (debug_output_mswin_message): Added code to output message
5962 parameters for WM_WINDOWPOSCHANGED,
5963 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
5965 2002-05-25 Andy Piper <andy@xemacs.org>
5967 * select-x.c (vars_of_select_x): Fix docstring of
5968 x-selection-strict-motif-ownership
5970 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5972 * keymap.c (get_keymap):
5973 Add comment about do_autoload GCPROs own args.
5975 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5977 * bytecode.c (execute_optimized_program): check_opcode ifdef
5978 ERROR_CHECK_BYTE_CODE.
5980 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5982 Thanks to Ben Wing and Michael Sperber.
5984 * eval.c (Fcommand_execute):
5987 (Fmacroexpand_internal):
5988 (function_argcount):
5989 callint.c (Fcall_interactively):
5990 Add comment about do_autoload GCPROs own args.
5992 * (do_autoload): GCPRO both args as well as local Lisp_Object.
5994 * eval.c (Ffuncall): Extra braces to placate GCC.
5996 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
5998 * backtrace.h (grow_specpdl):
6000 * EmacsFrame.c (EmacsFrameSetValues):
6001 * eval.c (grow_specpdl):
6002 * ExternalShell.c (hack_event_masks_1):
6003 * glyphs-x.c (convert_EImage_to_XImage):
6004 (x_finalize_image_instance):
6005 * ralloc.c (page_size):
6007 * xgccache.c (gc_cache_hash):
6008 Fix unsigned comparison warnings.
6010 2002-07-29 Jerry James <james@xemacs.org>
6012 * lread.c (locate_file): Any nonnegative return value indicates
6013 success if MODE is nonnegative.
6015 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
6017 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
6020 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
6022 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
6024 * dumper.c (pdump_get_indirect_count):
6025 (pdump_scan_by_alignment):
6026 (pdump_dump_root_struct_ptrs):
6027 (pdump_dump_rtables):
6028 (pdump_dump_root_objects):
6030 * nas.c (WaveOpenDataForReading):
6031 * fns.c (print_bit_vector):
6032 * font-lock.c (SINGLE_SYNTAX_STYLE):
6033 * glyphs.c (check_for_ignored_expose):
6034 (find_matching_subwindow):
6036 * imgproc.c (get_histogram):
6037 * redisplay.c (point_in_line_start_cache):
6038 * redisplay-output.c (redisplay_unmap_subwindows):
6039 * symbols.c (defsymbol_massage_name_1):
6040 (defkeyword_massage_name):
6041 (deferror_massage_name_and_message):
6042 * redisplay-x.c (x_output_string):
6043 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
6044 * frame.h (struct frame):
6045 * filelock.c (current_lock_owner):
6046 * doprnt.c (emacs_doprnt_1):
6047 * lisp.h (struct Lisp_Bit_Vector):
6051 2002-02-13 Ben Wing <ben@xemacs.org>
6053 * event-stream.c (reset_key_echo):
6054 * event-stream.c (reset_this_command_keys):
6055 * event-stream.c (execute_command_event):
6056 If console is dead as a result of C-x 5 0, then post-command stuff
6057 needs to be careful and do only non-console-specific stuff.
6059 2002-07-01 Mike Sperber <mike@xemacs.org>
6061 * process-unix.c (unix_send_process): Mark coding_outstream as
6062 non-open upon SIGPIPE.
6064 * event-stream.c (Fnext_event): Reorder switch cases to something
6067 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
6069 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
6070 Don't bogusly reinitialize ascii_character property.
6072 2002-07-08 Mike Sperber <mike@xemacs.org>
6074 * process.c (Fstart_process_internal): Do error checking before we
6075 fork off the child, so the child can't muck with the state of the
6078 2002-07-08 Mike Sperber <mike@xemacs.org>
6080 * ralloc.c (init_ralloc): Allocate properly for pdump.
6082 2002-06-12 Andy Piper <andy@xemacs.org>
6084 * glyphs.c (query_string_geometry): check the string.
6086 * glyphs-widget.c (widget_logical_unit_height): cope with nil
6089 2002-06-17 Jerry James <james@xemacs.org>
6091 * sysdll.c: Remove RTLD_GLOBAL initialization.
6092 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
6094 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
6096 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
6098 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
6100 * sysdep.c (sys_rename): Make sys_rename work for the case where
6101 Windows rename sets errno to EACCES if target file exists.
6103 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
6105 * device-msw.c (mswindows_handle_page_setup_dialog_box):
6106 Fix detection of metric units to work on Win95
6108 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
6110 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
6112 2002-04-25 Andy Piper <andy@xemacs.org>
6114 * redisplay.c (create_text_block): Remove extra comment trailer.
6116 2002-04-24 Andy Piper <andy@xemacs.org>
6118 * redisplay.c (create_text_block): Don't actually add propagation
6119 data if the line ends after we have added a glyph.
6121 2002-04-22 Andy Piper <andy@xemacs.org>
6123 * extents.c (extent_fragment_update): check for glyphs we have
6124 previously displayed.
6125 * extents.c (print_extent_1): warning removal.
6126 * extents.h: change prototype.
6127 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
6128 widths correctly for wide glyphs.
6129 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
6130 * redisplay.c (prop_type): add PROP_GLYPH.
6131 * redisplay.c (struct prop_block): add glyph type
6132 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
6133 to the propagation data.
6134 * redisplay.c (create_text_block): if there is a glyph in the
6135 propagation data use it to salt extent_fragment_update.
6136 * redisplay.c (create_string_text_block): ditto.
6138 2002-04-13 Nix <nix@esperi.demon.co.uk>
6140 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
6141 * redisplay-output.c (compare_runes): Compare them.
6142 * redisplay.c: Update copyright date.
6143 * redisplay.c (pos_data): Add need_baseline_computation field.
6144 * redisplay.c (add_glyph_rune): Update ascent, descent, and
6145 need_baseline_computation; zero yoffset. Set max_pixmap_height
6146 for all pixmaps, not just automatically positioned ones.
6147 * redisplay.c (calculate_yoffset): New, compute yoffset values.
6148 * redisplay.c (calculate_baseline): New, compute textual baseline.
6149 * redisplay.c (add_glyph_rune): Call them.
6150 * redisplay.c (create_text_block): Likewise.
6151 * redisplay.c (create_overlay_glyph_block): Likewise.
6152 * redisplay.c (add_margin_runes): Likewise.
6153 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
6155 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
6156 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
6157 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
6158 * redisplay-msw.c (mswindows_output_string): Likewise.
6159 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
6160 * redisplay-gtk.c (gtk_output_display_block): Likewise.
6161 * redisplay-x.c (x_output_display_block): Likewise.
6163 2002-03-28 Ben Wing <ben@xemacs.org>
6165 * redisplay.c: Fixed bug in redisplay
6166 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
6167 and down of the lines, since they're bigger than the line
6168 size. (It was seen most obviously when there's a horizontal scroll
6169 bar, e.g. do C-h a glyph or something like that.) The problem was
6170 that the glyph-contrib-p setting on glyphs was ignored even if it
6171 was set properly, which it wasn't until now.
6173 2002-04-24 Andy Piper <andy@xemacs.org>
6175 * lisp.h (Dynarr_end): Fix definition.
6177 2002-02-06 Adrian Aichner <adrian@xemacs.org>
6179 * redisplay.c (mark_redisplay): Remove call to
6180 update_frame_window_mirror.
6182 2001-11-15 Andy Piper <andy@xemacs.org>
6184 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
6187 2002-02-13 Andy Piper <andy@xemacs.org>
6189 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
6190 we did in fact enqueue the XM_MAPFRAME event.
6192 2002-01-15 Adrian Aichner <adrian@xemacs.org>
6194 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
6195 to fix problem switching between virtual desktops under virtuawin
6196 virtual window manager.
6198 2001-07-30 Adrian Aichner <adrian@xemacs.org>
6200 * event-msw.c: Typo fix.
6201 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
6202 magic XM_MAPFRAME event has been sent.
6204 2001-11-23 Andy Piper <andy@xemacs.org>
6206 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
6208 2001-11-21 Andy Piper <andy@xemacs.org>
6210 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
6211 mouse events outside the frame.
6213 2002-03-20 Andy Piper <andy@xemacs.org>
6215 * menubar-msw.c (mswindows_popup_menu): warning removal.
6216 * dialog-msw.c (dialog_popped_down): ditto.
6218 2001-12-11 Andy Piper <andy@xemacs.org>
6220 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
6221 * dialog-msw.c (mswindows_make_dialog_box_internal): set
6223 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
6224 * menubar-msw.c (mswindows_handle_wm_command): ditto.
6225 * menubar-msw.c (mswindows_popup_menu): ditto.
6227 2001-10-29 Andy Piper <andy@xemacs.org>
6229 * dialog-msw.c (handle_directory_dialog_box): quit if the user
6232 2002-01-03 Andy Piper <andy@xemacs.org>
6234 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
6238 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
6240 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
6241 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
6242 * device-msw.c (mswindows_handle_page_setup_dialog_box):
6243 Detect and handle case where machine is set up for metric units
6245 2002-04-02 Andy Piper <andy@xemacs.org>
6247 * dired-msw.c (mswindows_get_files):
6248 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
6249 completely handled by XEmacs. Suggested by Thomas Vogler
6250 <mail@thomas-vogler.de>.
6252 2001-11-14 Andy Piper <andy@xemacs.org>
6254 * nt.c (REG_ROOT): change registry key to XEmacs.
6256 2002-04-27 Andy Piper <andy@xemacs.org>
6258 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
6260 2002-04-26 Andy Piper <andy@xemacs.org>
6262 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
6265 2002-03-14 Mike Alexander <mta@arbortext.com>
6267 * event-msw.c (mswindows_unwait_process): New, remove process from
6269 * process-nt.c (nt_finalize_process_data): Call
6270 mswindows_unwait_process
6271 * console-msw.h: Declare mswindows_unwait_process
6273 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
6275 * editfns.c (Fdecode_time):
6276 (Fformat_time_string):
6277 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
6278 (make_time): Warning elimination (change arg name).
6280 2001-11-24 Andy Piper <andy@xemacs.org>
6282 * window.c (Fsplit_window): Doc return type.
6284 2002-04-01 Andy Piper <andy@xemacs.org>
6286 * emacs.c (Fkill_emacs): Only output message box in interactive
6289 2002-04-26 Andy Piper <andy@xemacs.org>
6291 * config.h.in: pull in 21.5.x change to stop alloca warnings under
6294 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
6296 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
6299 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
6301 * XEmacs 21.4.8 "Honest Recruiter" is released.
6303 2002-05-07 Nix <nix@esperi.demon.co.uk>
6305 Supersedes 2002-04-17 patch.
6307 * process.h (PROCESS_LIVE_P): Use the process status as
6308 evidence of health, not the state of the input stream.
6309 (PROCESS_READABLE_P): Say if the process is readable
6310 from. (It may be dead nonetheless.)
6311 (CHECK_READABLE_PROCESS): Test for that condition.
6313 * process.c (create_process): Use PROCESS_READABLE_P.
6314 (read_process_output, set_process_filter): Likewise.
6316 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
6317 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
6319 This code is #if 0'd, this is not the time to add new functions:
6321 * process.c (Fprocess_readable_p): Report readability status.
6322 * process.c (Qprocess_readable_p): New, associated symbol...
6323 * process.c (syms_of_process): ... initialize it.
6325 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
6327 * XEmacs 21.4.7 "Economic Science" is released.
6329 2002-04-17 Nix <nix@esperi.demon.co.uk>
6331 * process.h (PROCESS_LIVE_P): Use the process status as
6332 evidence of health, not the state of the input stream.
6334 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
6336 * sysdep.c (sys_siglist): change "signum" to "signal"
6338 2001-04-21 Martin Buchholz <martin@xemacs.org>
6340 * s/darwin.h: New file.
6341 Thanks to Greg Parker <gparker@cs.stanford.edu>.
6343 2002-04-23 Andreas Jaeger <aj@suse.de>
6345 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
6346 which use lib64 for 64-bit libs.
6347 (START_FILES): Likewise.
6349 2002-02-11 Mike Sperber <mike@xemacs.org>
6352 (x_IO_error_handler):
6353 (x_init_device): Temporarily keep device in static variable
6354 `device_being_initialized' so we can recover gracefully from
6355 internal XOpenDevice failure. (XOpenDevice is documented to
6356 return NULL on failure, but sometimes calls the IO error handler
6359 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
6361 * dired.c (Ffile_name_all_completions): Change documentation --
6362 remove reference to completion-ignored-extensions.
6363 * dired.c (vars_of_dired): Change documentation for
6364 completion-ignored-extensions -- remove reference to
6365 file-name-all-completions.
6367 2002-03-06 Jerry James <james@xemacs.org>
6369 * emodules.c (emodules_load): Fix multiple loading of same module.
6371 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
6372 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
6373 RTLD_LAZY to avoid incorrect symbol binding when using nested
6374 shared libraries on Solaris.
6376 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
6378 * fileio.c (Ffind_file_name_handler): Improve docstring.
6380 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
6382 * fns.c (Fmapconcat): Improve docstring.
6384 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
6386 * device-gtk.c: Add prototype for
6387 emacs_gtk_selection_clear_event_handle.
6388 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
6389 selection. Setup signal handler for "selection_clear_event"
6390 (emacs_gtk_selection_clear_event_handle).
6392 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
6393 other applications owning the clipboard (based on
6394 x_handle_selection_clear).
6396 2001-12-23 William M. Perry <wmperry@gnu.org>
6398 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
6400 2002-01-04 Martin Buchholz <martin@xemacs.org>
6402 * keymap.c (define_key_alternate_name): Parenthesize EQ.
6404 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
6406 * XEmacs 21.4.6 "Common Lisp" is released.
6408 2001-12-16 Torsten Duwe <duwe@caldera.de>
6410 * search.c (Freplace_match): Add missing sub-expression functionality.
6412 * buffer.c (decode_buffer): Add a check for pointer type to
6413 decode_buffer, before gcc's CSE optimization reorders a
6414 dereference in front of the allow_string test.
6416 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
6418 * window.c (window_loop): Fix bug that sometimes prevented
6419 window_loop() from iterating across multiple devices. Also, at
6420 Ben's request, changed infloop-detecting code to abort() instead
6421 of silently terminating window_loop().
6423 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
6425 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
6426 * editfns.c (make_time): New function.
6427 (Fencode_time): Use it instead of wasteful_word_to_lisp.
6428 * lisp.h (make_time): Prototype and comment it.
6429 * dired.c (wasteful_word_to_lisp): Deprecate.
6430 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
6432 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
6434 * fileio.c (auto_save_1): Use current coding system, not
6437 2001-11-13 Ben Wing <ben@xemacs.org>
6440 * window.c (window_truncation_on):
6441 * window.c (syms_of_window):
6442 truncate-partial-width-windows should respect the buffer being
6443 displayed, like other redisplay vars.
6445 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
6447 * event-stream.c (Fread_key_sequence): save current buffer.
6449 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
6451 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
6453 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
6455 * alloc.c (lcrecord_stats): Add space for types defined in modules.
6457 2001-10-26 Mike Alexander <mta@arbortext.com>
6459 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
6461 2001-10-25 Andy Piper <andy@xemacs.org>
6464 * dialog-msw.c (handle_directory_proc): new function.
6465 (handle_directory_dialog_box): new fucntion.
6466 (handle_file_dialog_box): use new directory dialog support.
6467 (mswindows_make_dialog_box_internal): ditto.
6468 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
6470 (mswindows_find_frame): make global.
6471 * fileio.c (Fexpand_file_name): build fix.
6472 * general-slots.h: add Qdirectory.
6473 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
6475 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
6476 cygwin not leaving win32 paths unchanged.
6477 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
6478 cygwin runtime to do path conversion.
6479 (Fmswindows_shell_execute): fix cygwin handling of URLs.
6480 (syms_of_win32): add new function.
6481 * window.c (window_loop): build fix.
6483 2001-10-15 Andy Piper <andy@xemacs.org>
6485 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
6487 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
6489 * XEmacs 21.4.5 "Civil Service" is released.
6491 2001-04-08 Danny Colascione <qtmstr@optonline.net>
6493 * glyphs-x.c: Force buffer-tab highlight update when moving the
6494 buffer, avoiding an ugly black border, used for keyboard focus
6495 indication, on a widget that can never have keyboard focus, the
6498 2001-08-30 Daiki Ueno <ueno@unixuser.org>
6500 * process-unix.c (unix_open_multicast_group): Remove too much
6501 conversion between host and network byte order.
6503 2001-09-10 Nix <nix@esperi.demon.co.uk>
6505 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
6506 before replacing them.
6508 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
6511 * src/window.c (undedicate_windows): Use it.
6512 * src/window.h: Add prototype.
6514 2001-09-17 Ben Wing <ben@xemacs.org>
6516 * fileio.c (normalize_filename):
6517 * fileio.c (Fexpand_file_name):
6518 Fix various C++ compile errors in Andy's recent code.
6520 * callint.c (Fcall_interactively):
6521 * editfns.c (Ftemp_directory):
6522 * editfns.c (Fuser_full_name):
6523 * emacs.c (argmatch):
6524 * lread.c (locate_file_map_suffixes):
6525 * redisplay-x.c (x_ring_bell):
6526 Fix sign-compare warnings.
6528 2001-09-08 Andy Piper <andy@xemacs.org>
6530 * fileio.c (normalize_filename): copied from nt.c
6531 * (Ffile_name_directory): enable win32 paths under cygwin.
6532 * (Ffile_name_nondirectory): ditto.
6533 * (directory_file_name): ditto.
6534 * (Fexpand_file_name): ditto.
6535 * (Ffile_truename): ditto.
6536 * (Fsubstitute_in_file_name): ditto.
6537 * (Ffile_name_absolute_p): ditto.
6538 * (Ffile_readable_p): ditto.
6540 2001-09-08 Andy Piper <andy@xemacs.org>
6542 * device-msw.c (mswindows_finish_init_device): remove dde
6544 * device-msw.c (mswindows_init_dde): factor out from
6545 mswindows_finish_init_device()
6546 * device-msw.c (init_mswindows_very_early): new function
6547 initialize but don't enable dde.
6548 * emacs.c (main_1): call init_mswindows_very_early.
6550 * event-msw.c (mswindows_dde_callback): only execute when we are
6552 * symsinit.h: declare init_mswindows_very_early.
6554 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6556 [sjt: This has been in 21.5 for months with no complaints.]
6558 * console.h (struct console_methods): Added flags member.
6559 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
6560 (CONMETH_IMPL_FLAG):
6561 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
6562 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
6564 * device.c (window_system_pixelated_geometry): Use the above macros.
6566 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
6567 implememntation flag.
6568 * device.h (DEVICE_DISPLAY_P): Use it.
6570 * frame.c (delete_frame_internal): Use the above macro.
6572 * redisplay.c (redisplay_device): Use it.
6573 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
6574 (redisplay_frame): Ditto.
6576 * device-msw.c (mswindows_device_implementation_flags): Removed.
6577 (msprinter_device_implementation_flags): Removed.
6578 (console_type_create_device_mswindows): Removed references to
6579 implementation_flags methods, set implementation flags here.
6580 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
6582 * device-gtk.c (gtk_device_implementation_flags): Removed method.
6583 (console_type_create_device_gtk): Removed method declaration.
6584 Added commented out statement which semantically matches the
6585 commented out statement in the above removed method.
6587 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
6589 The attached patch fixes a few warnings.
6591 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
6592 * src/frame-gtk.c: guard against GNOME calls in GTK only
6593 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
6594 * src/select-gtk.c: prototype lisp_to_time
6596 2001-06-08 Ben Wing <ben@xemacs.org>
6598 ------ gc-in-window-procedure fixes ------
6601 * alloc.c (struct post_gc_action):
6602 * alloc.c (register_post_gc_action):
6603 * alloc.c (run_post_gc_actions):
6604 * alloc.c (garbage_collect_1):
6605 Create "post-gc actions", to avoid those dreaded "GC during window
6606 procedure" problems.
6609 Abort, clean and simple, when GC in window procedure. We want
6610 to flush these puppies out.
6613 * glyphs-msw.c (finalize_destroy_window):
6614 * glyphs-msw.c (mswindows_finalize_image_instance):
6615 Use a post-gc action when destroying subwindows.
6618 Declare register_post_gc_action().
6621 * scrollbar-msw.c (unshow_that_mofo):
6622 Use a post-gc action when unshowing scrollbar windows, if in gc.
6624 * redisplay.c (mark_redisplay):
6625 Add comment about the utter evilness of what's going down here.
6627 ------ cygwin setitimer fixes ------
6629 * Makefile.in.in (sheap_objs):
6630 * Makefile.in.in (profile_objs):
6631 * Makefile.in.in (objs):
6632 Compile profile.c only when HAVE_SETITIMER.
6634 * nt.c (mswindows_sigset):
6635 * nt.c (mswindows_sighold):
6636 * nt.c (mswindows_sigrelse):
6637 * nt.c (mswindows_sigpause):
6638 * nt.c (mswindows_raise):
6639 * nt.c (close_file_data):
6643 Move setitimer() emulation to win32.c, because Cygwin needs it too.
6646 * profile.c (Fstart_profiling):
6647 * profile.c (Fstop_profiling):
6648 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
6649 instead of just plain setitimer().
6652 * signal.c (set_one_shot_timer):
6654 Define qxe_setitimer() as an encapsulation around setitimer() --
6655 call setitimer() directly unless Cygwin or MS Win, in which case
6656 we use our simulated version in win32.c.
6659 * systime.h (struct itimerval):
6660 * systime.h (ITIMER_REAL):
6661 Prototype mswindows_setitimer() and qxe_setitimer(). Long
6662 comment about "qxe" and the policy regarding encapsulation.
6665 * win32.c (setitimer_helper_proc):
6666 * win32.c (setitimer_helper_period):
6667 * win32.c (setitimer_helper):
6668 * win32.c (mswindows_setitimer):
6669 Move setitimer() emulation here, so Cygwin can use it.
6670 Rename a couple of functions and variables to be longer and more
6671 descriptive. In setitimer_helper_proc(), send the signal
6672 using either mswindows_raise() or (on Cygwin) kill(). If for
6673 some reason we are still getting lockups, we'll change the kill()
6674 to directly invoke the signal handlers.
6676 ------ windows shell fixes ------
6680 Comments about how these two files must die.
6682 * callproc.c (init_callproc):
6683 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
6684 not just COMSPEC. (more correct and closer to FSF.) Don't
6685 force a value for SHELL into the environment. (Comments added
6686 to explain why not.)
6688 * nt.c (init_user_info):
6689 Don't shove a fabricated SHELL into the environment. See above.
6691 2001-06-01 Ben Wing <ben@xemacs.org>
6693 * Makefile.in.in (ldflags):
6694 eliminate that pesky "defaulting to 00401000" warning.
6698 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
6700 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
6701 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
6703 2001-04-24 Jerry James <james@xemacs.org>
6705 * faces.h: pass parameters to Fadd_spec_to_specifier in the
6708 2001-06-01 Ben Wing <ben@xemacs.org>
6710 * event-msw.c (debug_mswin_messages):
6711 conditionalize the messages that were causing compile errors.
6712 (if only macros could generate #ifdef statements ...)
6714 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
6716 * XEmacs 21.4.4 "Artificial Intelligence" is released.
6718 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
6720 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
6722 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
6724 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
6725 * process-unix.c (unix_canonicalize_host_name):
6726 sysdep.c (init_system_name):
6727 Use it to conditionally support IPv6 canonicalization.
6729 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
6732 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
6734 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
6736 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
6737 attempt is made to scroll when no scroll bar is available.
6739 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
6741 * input-method-motif.c (XIM_delete_frame): New callback.
6742 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
6743 got deleted from 21.4.3.)
6745 2001-06-01 Ben Wing <ben@xemacs.org>
6747 * nt.c (mswindows_utime):
6748 * nt.c (close_file_data):
6749 fix off-by-one-indirection error.
6751 2001-05-29 Adrian Aichner <adrian@xemacs.org>
6753 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
6754 because set_file_times() now takes Lisp_Object path, instead of
6756 * nt.c: Include buffer.h.
6757 * nt.c (convert_from_time_t): New.
6758 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
6759 not set mtime correctly.
6760 * nt.h: Declare mswindows_utime().
6761 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
6762 path, instead of char*.
6763 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
6765 2001-05-30 Ben Wing <ben@xemacs.org>
6769 (Stephen, just take all event-msw.c patches. This includes
6770 the "iconify" fix below.)
6773 * event-msw.c (mswindows_dequeue_dispatch_event):
6774 * event-msw.c (assert):
6775 * event-msw.c (emacs_mswindows_quit_p):
6776 * event-msw.c (debug_mswin_messages):
6777 * event-msw.c (debug_output_mswin_message):
6778 * event-msw.c (vars_of_event_mswindows):
6779 Fix yet more problems with C-g handling.
6780 Implement debug-mswindows-events.
6782 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6784 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
6786 2001-05-23 Ben Wing <ben@xemacs.org>
6788 * event-msw.c (winsock_writer):
6789 * event-msw.c (winsock_closer):
6790 prior kludgy code was clobbering the buffer, thinking it was
6791 "unused" space to store an unneeded return value; instead, use
6792 the variable we've already got staring us in the face.
6794 2001-05-17 Andy Piper <andy@xemacs.org>
6796 * sysfile.h: don't assume that file attributes are boolean
6798 2001-05-23 Ben Wing <ben@xemacs.org>
6800 * device-msw.c (msprinter_init_device):
6801 signal an error rather than crash with an unavailable network
6802 printer (from Mike Alexander).
6805 * event-msw.c (struct winsock_stream):
6806 * event-msw.c (winsock_writer):
6807 * event-msw.c (winsock_closer):
6808 * event-msw.c (make_winsock_stream_1):
6809 cleanup headers. fix (hopefully) an error with data corruption
6810 when sending to a network connection.
6812 * fileio.c (Fexpand_file_name): Fix evil code that attempts
6813 to handle the ~user prefix by (a) always assuming we're referencing
6814 ourselves and not even verifying the user -- hence any file with
6815 a tilde as its first char is invalid! (b) if there wasn't a slash
6816 following the filename, the pointer was set *past* the end of
6817 file and we started reading from uninitialized memory. Now we
6818 simply treat these as files, always.
6820 * buffer.c (common_init_complex_vars_of_buffer): comment change.
6822 2001-05-19 Ben Wing <ben@xemacs.org>
6824 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
6827 * process-nt.c (vars_of_process_nt):
6828 remove unused mswindows-quote-process-args. rec for 21.4.
6830 2001-05-12 Ben Wing <ben@xemacs.org>
6832 * event-msw.c (mswindows_dde_callback):
6833 * event-msw.c (mswindows_wnd_proc):
6834 eliminate cygwin warnings.
6836 2001-05-06 Ben Wing <ben@xemacs.org>
6840 * device-msw.c (print_dialog_worker):
6841 * device-msw.c (mswindows_handle_print_dialog_box):
6842 * device-msw.c (syms_of_device_mswindows):
6843 * dialog-msw.c (mswindows_make_dialog_box_internal):
6845 implement printing the selection when it's selected.
6847 2001-05-20 Drazen Kacar <dave@arsdigita.com>
6849 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
6851 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
6853 * lisp.h (EMACS_INT_MAX): This should be one bit less since
6854 EMACS_INT is signed.
6856 2001-04-15 Michael Lausch <mla@1012surf.net>
6858 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
6859 gtk_widget_request_size() to give scrollbar >0 width for
6862 2001-05-30 William M. Perry <wmperry@gnu.org>
6864 * event-gtk.c: Check for buttons as modifier keys.
6866 2001-05-25 Craig Lanning <CraigL@Knology.net>
6869 Properly find MinGW's <process.h> inside Cygwin's restructured
6870 include directories. Don't try to include <cygwin/version.h>
6871 since we are dropping support for MinGW in versions of Cygwin
6874 Drop support for MinGW in versions of Cygwin before b21.
6876 Properly find MinGW's <process.h> inside Cygwin's restructured
6877 include directories.
6879 Drop support for MinGW in versions of Cygwin before b21.
6881 Even though a.out.h is no longer detected by configure, allow
6882 MinGW to use it until we figure out how to do the job with Win32.
6884 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
6886 * syntax.c (find_start_of_comment):
6887 Fix `unbalanced parentheses' bug when dealing with mixed comment
6888 styles in c++/java/etc. mode
6890 2001-05-29 Mike Alexander <mta@arbortext.com>
6892 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
6893 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
6895 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
6897 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
6899 2001-03-31 Mike Sperber <mike@xemacs.org>
6901 * search.c (Freplace_match): Support FSF-style specification of
6902 match subexpression when applied to a buffer.
6904 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
6906 * event-stream.c (is_scrollbar_event): add missing semicolon
6908 2001-05-22 Isaac Hollander <ysh@mindspring.com>
6910 * Makefile.in.in: Use TAR macro instead of hardcoding
6911 tar. Allows use of GNU tar instead of system tar
6913 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
6915 * event-stream.c (is_scrollbar_event): add missing semicolon
6917 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
6919 * XEmacs 21.4.3 "Academic Rigor" is released.
6921 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
6923 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
6925 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
6927 * buffer.c (Vcase_fold_search): Remove obsolete
6928 comment about non ASCII case-fold-search. This
6929 bug has been fixed by case-table changes.
6931 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
6933 * event-msw.c: Restore include of events-mod.h.
6935 2001-04-22 zhaoway <zw@debian.org>
6937 * event-stream.c (is_scrollbar_event): Noop returning 0 if
6940 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
6942 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
6944 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
6946 * mule-charset.c (Fmake_charset): Add missing else.
6948 2001-04-23 Ben Wing <ben@xemacs.org>
6950 * event-msw.c (FAKE_MOD_QUIT):
6951 * event-msw.c (mswindows_dequeue_dispatch_event):
6952 * event-msw.c (mswindows_wnd_proc):
6953 * event-msw.c (emacs_mswindows_quit_p):
6954 Get critical quit working.
6956 2001-05-05 Ben Wing <ben@xemacs.org>
6960 * device-msw.c (mswindows_get_default_margin):
6961 * frame-msw.c (mswindows_size_frame_internal):
6962 * frame-msw.c (msprinter_init_frame_1):
6963 * frame-msw.c (vars_of_frame_mswindows):
6964 Change top/bottom margin defaults to 0.5 inches.
6966 2001-05-01 Martin Buchholz <martin@xemacs.org>
6968 Fix link error with gcc 3.0 on Linux.
6969 * terminfo.c (UP): Remove.
6970 * terminfo.c (BC): Remove.
6971 * terminfo.c (PC): Remove.
6972 They weren't used, and in any case, these symbols should be
6973 defined in the *library*.
6975 2001-05-03 Martin Buchholz <martin@xemacs.org>
6977 * s/aix4.h: Fix crash with xlc -O3.
6978 Improve comment explaining how -O3 works.
6980 2001-04-15 Ben Wing <ben@xemacs.org>
6983 * event-stream.c (Fnext_event):
6984 * event-stream.c (is_scrollbar_event):
6985 * event-stream.c (execute_command_event):
6986 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
6987 crash' problem. His fix introduces other problems. We filter
6988 out scrollbar events specifically, making them somewhat invisible
6989 to command-building, and not appearing in `this-command-keys'.
6990 More work is still needed (see comments in event-stream.c), but
6991 this fixes all the major problems.
6993 2001-04-20 Ben Wing <ben@xemacs.org>
6995 * .cvsignore: Added stuff for Windows.
6997 2001-04-28 Ben Wing <ben@xemacs.org>
6999 * buffer.c (Ferase_buffer):
7000 * editfns.c (buffer_insert1):
7001 * editfns.c (Finsert_before_markers):
7002 * editfns.c (Finsert_string):
7003 * editfns.c (Finsert_char):
7004 * editfns.c (Fdelete_region):
7005 * editfns.c (Fwiden):
7006 * editfns.c (Fnarrow_to_region):
7007 remove bogus lines setting zmacs_region_stays to 0.
7009 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
7011 * process-unix.c (unix_open_network_stream): If connect() fails
7012 invalidate file descriptor after closing it.
7014 2001-03-08 Mike Alexander <mta@arbortext.com>
7016 * event-msw.c (mswindows_need_event_in_modal_loop):
7017 Don't dispatch a message if we didn't get one.
7018 (mswindows_need_event):
7019 Terminate the correct process when one exits instead of the first
7020 one on Vprocess_list and look for process termination when in
7021 mswindows_protect_modal_loop.
7023 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
7025 * XEmacs 21.4.1 "Copyleft" is released.
7027 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
7029 * input-method-motif.c (XIM_delete_frame): New callback.
7030 (XIM_init_frame): Register it.
7032 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
7034 * XEmacs 21.4.0 "Solid Vapor" is released.
7036 2001-04-15 Ben Wing <ben@xemacs.org>
7038 * cmdloop.c (call_command_loop):
7039 Fix braino in bit-rotting code.
7041 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
7043 * extents.c (Fset_extent_endpoints): Force creation of extent info
7044 in buffer_or_string.
7046 * extents.c (process_extents_for_insertion_mapper): Correctly
7047 check for open-open zero-length extents.
7049 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
7051 * lisp.h: New typedefs Memory_count, Element_count.
7054 Sign-compare warning elimination: several unsigned -> signed.
7055 Based on work by Ben Wing <ben@xemacs.org>.
7057 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
7059 * XEmacs 21.2.47 "Zephir" is released.
7061 2001-04-02 Jan Vroonhof <jan@xemacs.org>
7063 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
7065 2001-04-03 Mike Sperber <mike@xemacs.org>
7067 * search.c: Revert previous patch due because of release.
7069 2001-03-30 Ben Wing <ben@xemacs.org>
7072 Add missing killpg prototype.
7075 Add a comment about fixing problems when a new entry is added
7078 * frame-msw.c (mswindows_init_frame_1):
7079 Fix compile warnings.
7081 * menubar.c (vars_of_menubar):
7082 Provide `menu-accelerator-support' to indicate that we properly
7083 support %_ in menu specifications, so that package code can
7084 conditionalize on this (and remove %_ from menu specifications
7089 * scrollbar-msw.c (can_scroll):
7091 Fix handling of mouse wheel under Windows to follow standards --
7092 now scrolls window under pointer, not selected window.
7094 2001-03-31 Mike Sperber <mike@xemacs.org>
7096 * search.c (Freplace_match): Support FSF-style specification of
7097 match subexpression when applied to a buffer.
7099 2001-03-15 Martin Buchholz <martin@xemacs.org>
7101 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
7102 function to modify KEYMAP, so map over a copy of the hash table.
7104 2001-03-21 Martin Buchholz <martin@xemacs.org>
7106 * XEmacs 21.2.46 "Urania" is released.
7108 2001-03-20 Dan Holmsand <dan@eyebee.com>
7110 * realpath.c (xrealpath): Make file-truename work with symlinks to
7111 /cygdrive paths on cygwin. Always lowercase drive-letters on
7113 (cygwin_readlink): Don't try to find canonical filename unless
7116 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
7118 * ChangeLog: Log GTK merge.
7124 Revert gratuitous whitespace changes from GTK merge.
7126 * emacs.c: Document end of complex #ifdef @ l. 1495.
7129 2001-03-12 Andy Piper <andy@xemacs.org>
7131 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
7132 have to do likewise.
7134 2001-03-12 Andy Piper <andy@xemacs.org>
7136 * sysdep.c: we only support mingw now.
7138 2001-03-09 Andy Piper <andy@xemacs.org>
7140 * unexcw.c (copy_executable_and_dump_data_section): making approx
7141 overrun a warning only.
7143 2001-03-10 William M. Perry <wmperry@aventail.com>
7145 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
7146 satisfy Stephen's identical-after-cpp plea.
7148 2001-03-02 Ben Wing <ben@xemacs.org>
7151 * cmds.c (Fforward_char):
7155 Augment documentation of the most common motion commands to make
7156 note of the shifted-motion support.
7158 2001-03-02 Ben Wing <ben@xemacs.org>
7160 * nt.c (mswindows_fstat):
7161 * nt.c (mswindows_stat):
7162 * search.c (boyer_moore):
7163 Fix compile warnings under Windows.
7165 * sysdep.c (sys_readdir):
7166 Fix buggy filename-conversion code under Mule.
7168 2001-03-09 William M. Perry <wmperry@aventail.com>
7190 * redisplay-output.c:
7196 The Great GTK Merge.
7203 * emacs-widget-accessors.c:
7217 * native-gtk-toolbar.c:
7228 The Great GTK Merge: new files.
7230 2001-02-26 Ben Wing <ben@xemacs.org>
7232 Reapplied Lstream change.
7234 2001-02-26 Ben Wing <ben@xemacs.org>
7236 Undid the last change, since it is more controversial than I
7237 thought. It should be back in at some point soon.
7239 2001-02-25 Ben Wing <ben@xemacs.org>
7242 * callproc.c (Fold_call_process_internal):
7243 * event-msw.c (ntpipe_slurp_reader):
7244 * event-msw.c (ntpipe_shove_writer):
7245 * event-msw.c (winsock_reader):
7246 * event-msw.c (winsock_writer):
7248 * file-coding.c (detect_eol_type):
7249 * file-coding.c (detect_coding_type):
7250 * file-coding.c (determine_real_coding_system):
7251 * file-coding.c (Fdetect_coding_region):
7252 * file-coding.c (decoding_reader):
7253 * file-coding.c (decoding_writer):
7254 * file-coding.c (mule_decode):
7255 * file-coding.c (Fdecode_coding_region):
7256 * file-coding.c (encoding_reader):
7257 * file-coding.c (encoding_writer):
7258 * file-coding.c (mule_encode):
7259 * file-coding.c (Fencode_coding_region):
7260 * file-coding.c (detect_coding_sjis):
7261 * file-coding.c (decode_coding_sjis):
7262 * file-coding.c (encode_coding_sjis):
7263 * file-coding.c (detect_coding_big5):
7264 * file-coding.c (decode_coding_big5):
7265 * file-coding.c (encode_coding_big5):
7266 * file-coding.c (detect_coding_ucs4):
7267 * file-coding.c (decode_coding_ucs4):
7268 * file-coding.c (encode_coding_ucs4):
7269 * file-coding.c (detect_coding_utf8):
7270 * file-coding.c (decode_coding_utf8):
7271 * file-coding.c (encode_coding_utf8):
7272 * file-coding.c (detect_coding_iso2022):
7273 * file-coding.c (decode_coding_iso2022):
7274 * file-coding.c (encode_coding_iso2022):
7275 * file-coding.c (decode_coding_no_conversion):
7276 * file-coding.c (encode_coding_no_conversion):
7277 * glyphs-x.c (write_lisp_string_to_temp_file):
7278 * gpmevent.c (tty_get_foreign_selection):
7281 * lstream.c (Lstream_flush_out):
7282 * lstream.c (Lstream_adding):
7283 * lstream.c (Lstream_write_1):
7284 * lstream.c (Lstream_write):
7285 * lstream.c (Lstream_raw_read):
7286 * lstream.c (Lstream_read_more):
7287 * lstream.c (Lstream_read):
7288 * lstream.c (Lstream_unread):
7289 * lstream.c (Lstream_fputc):
7290 * lstream.c (stdio_reader):
7291 * lstream.c (stdio_writer):
7292 * lstream.c (filedesc_reader):
7293 * lstream.c (filedesc_writer):
7294 * lstream.c (lisp_string_reader):
7295 * lstream.c (struct fixed_buffer_stream):
7296 * lstream.c (make_fixed_buffer_input_stream):
7297 * lstream.c (make_fixed_buffer_output_stream):
7298 * lstream.c (fixed_buffer_reader):
7299 * lstream.c (fixed_buffer_writer):
7300 * lstream.c (struct resizing_buffer_stream):
7301 * lstream.c (resizing_buffer_writer):
7302 * lstream.c (dynarr_writer):
7303 * lstream.c (lisp_buffer_reader):
7304 * lstream.c (lisp_buffer_writer):
7306 * lstream.h (lstream_implementation):
7307 * lstream.h (struct lstream):
7309 * process-nt.c (nt_send_process):
7310 * process-unix.c (unix_send_process):
7312 Correct Lstream lossage due to mixing of signed and unsigned
7313 quantities. All Lstream uses of size_t and ssize_t are now a
7314 single signed data type Lstream_data_count. This fixes problems
7315 under Windows with sending large quantities of data to a process,
7316 and may well fix other subtle bugs.
7318 2001-02-23 Martin Buchholz <martin@xemacs.org>
7320 * XEmacs 21.2.45 "Thelxepeia" is released.
7322 2001-02-21 Martin Buchholz <martin@xemacs.org>
7324 * lisp-union.h (XSETINT):
7327 Reverse previous change of 2001-02-06.
7329 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
7331 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
7333 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
7334 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
7335 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
7336 * regex.c (POS_AS_IN_BUFFER): removed
7337 * regex.c (re_search_2):
7338 * regex.c (re_match_2):
7339 Don't use an offset of 1 when calculating buffer positions, since
7340 `BI_BUF_BEGV' does it already.
7342 2001-02-18 Wim Dumon <wim@easics.be>
7344 * insdel.c (prepare_to_modify_buffer): Also check for
7345 supersession when clash-detection is enabled.
7347 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
7349 * regex.c (re_match_2_internal):
7350 Convert temp characters from 'const unsigned char' to 're_char'.
7351 Fix crashing bug with extended characters under mule.
7352 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
7353 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
7354 font-lock, pdump, and new syntax-table code.
7355 * syntax.c (find_start_of_comment):
7356 (find_end_of_comment):
7358 Fix crashing bugs involving moving beyond end of buffer.
7359 * syntax.c (find_start_of_comment):
7360 Fixed logic to allow proper detection of cases where the same
7361 character is used to end both a two-char comment start and a
7362 two-char comment end sequence. Fixes `(forward-comment -1)'.
7363 * syntax.c (find_start_of_comment):
7364 Return position just past last comment-end character for all cases
7365 (previously was only done for two-char comment-end sequences).
7366 * syntax.c (forward-comment):
7367 Take value returned from `find_end_of_comment', rather than
7369 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
7370 Properly deal with BUFFERP (syntax_cache.object)
7372 2001-02-17 Martin Buchholz <martin@xemacs.org>
7374 * alloc.c (Fgarbage_collect):
7375 * alloc.c (make_bit_vector_from_byte_vector):
7376 -Wsign-compare-correctness.
7378 2001-02-16 Martin Buchholz <martin@xemacs.org>
7380 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
7381 (XSETCHAR): Likewise.
7382 (XSETOBJ): Likewise.
7384 2001-02-15 Martin Buchholz <martin@xemacs.org>
7386 * mule-canna.c (canna-func-delete_previous):
7387 Rename to canna-func-delete-previous.
7389 2001-02-14 Martin Buchholz <martin@xemacs.org>
7391 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
7393 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
7395 * font-lock.c (find_context): Fix C++ compile errors introduced by
7398 2001-02-13 Martin Buchholz <martin@xemacs.org>
7400 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
7401 pragma, but earlier ones barf on the same pragma.
7403 2001-02-06 Mike Sperber <mike@xemacs.org>
7405 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
7406 `configure-mule-lisp-directory'.
7408 2001-02-12 Martin Buchholz <martin@xemacs.org>
7410 Make sure dump-id.c is compiled in the same way as other .c's.
7411 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
7412 * dump-id.h: Remove.
7413 * emacs.c: Move dump-id.h into dumper.h.
7414 * dumper.h: Move dump-id.h into dumper.h.
7416 Use standard .c.o rule for building dump-id.o.
7417 Remove preprocessor flags from link command.
7418 Add dump-id.o to ${otherobjs} if PDUMP.
7420 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
7422 Port FSF 20.7 syntax table improvements.
7426 Fixups for new syntax table stuff.
7427 * dired.c: Include syntax.c.
7428 (Fdirectory_files): Initialize regex_match_object and
7430 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
7431 and Fget_char_property.
7433 Use ported FSF 20.7 syntax table improvements.
7438 2001-02-09 Martin Buchholz <martin@xemacs.org>
7440 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
7441 Unixware's enum boolean from sys/types.h.
7443 2001-02-10 Martin Buchholz <martin@xemacs.org>
7445 Fix support for building with latest Purify.
7446 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
7447 (PURIFY_FLAGS): Likewise.
7449 2001-02-09 Martin Buchholz <martin@xemacs.org>
7451 * fileio.c (lisp_string_set_file_times): New.
7452 * fileio.c (Fcopy_file): Use it.
7454 (copy-file filename non-ascii-filename t t)
7455 ==> No such file or directory, non-ascii-filename
7457 2001-02-10 Martin Buchholz <martin@xemacs.org>
7459 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
7460 USHRT_MAX seems clearer than ~0 anyways.
7462 2001-02-09 Martin Buchholz <martin@xemacs.org>
7464 dumper improvements. Inspired by Olivier.
7465 * dumper.c (pdump_max_align): New.
7466 * dumper.c (pdump_add_entry): Use pdump_max_align.
7467 * dumper.c (pdump_get_entry_list): Likewise.
7468 * dumper.c (pdump_scan_by_alignment): Likewise.
7469 Don't iterate through unnecessary alignments.
7470 * dumper.c (pdump_file_get): No need to align result of malloc().
7471 * dumper.c (pdump_mallocadr): Remove.
7472 The result of malloc() is guaranteed to be maximally aligned.
7473 * dumper.c: s/elmt/elt/g;
7474 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
7475 * dumper.c (pdump_alert_undump_object): Likewise.
7476 * dumper.c (pdump_align_table):
7477 Don't support alignments > 64.
7478 Store ALIGNOF's, not shift counts, in table.
7480 2001-02-09 Martin Buchholz <martin@xemacs.org>
7482 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
7483 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
7484 * systime.h: Use HAVE_UTIME.
7485 * sysdep.c (struct utimbuf): Remove.
7486 * sysdep.c (set_file_times): Prefer utime() to utimes().
7487 * config.h.in (HAVE_UTIME): New.
7488 * config.h.in (HAVE_UTIME_H): Remove.
7489 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
7491 2001-02-09 Martin Buchholz <martin@xemacs.org>
7493 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
7495 2001-02-08 Martin Buchholz <martin@xemacs.org>
7497 * s/irix6-0.h: Use the standard system memmove, not bcopy.
7499 2001-02-08 Martin Buchholz <martin@xemacs.org>
7501 * XEmacs 21.2.44 "Thalia" is released.
7503 2001-02-06 Martin Buchholz <martin@xemacs.org>
7505 Fixes crashes in kill-emacs on some systems.
7506 * process-unix.c (unix_kill_child_process):
7507 It's OK for kill() to fail with ESRCH.
7509 2001-02-07 Martin Buchholz <martin@xemacs.org>
7511 Contortions to make .gdbinit tricks work on most systems.
7512 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
7513 * alloc.c (dbg_valmask): Make non-const.
7514 * alloc.c (dbg_typemask): Make non-const.
7515 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
7516 * alloc.c (dbg_valbits): Make non-const.
7517 * alloc.c (dbg_gctypebits): Make non-const.
7518 * .gdbinit (decode_object): Make it work with AIX cc.
7520 2001-02-06 Martin Buchholz <martin@xemacs.org>
7522 * elhash.c (make_general_lisp_hash_table):
7523 Use simpler and more efficient calloc to clear entries.
7525 2001-02-07 Martin Buchholz <martin@xemacs.org>
7527 * window.c (window_scroll): Work around an AIX C compiler bug.
7528 Fixes 'scroll-up' does nothing problem with xlC.
7530 2001-02-05 Martin Buchholz <martin@xemacs.org>
7532 * .gdbinit: Remove obsolete comment.
7534 2001-01-31 Mike Alexander <mta@arbortext.com>
7536 * select.c (Fown_selection_internal): Set owned_p for device
7539 2001-02-01 Martin Buchholz <martin@xemacs.org>
7542 "not" cannot be used as a macro name as it is an operator in C++
7543 * config.h.in: Stop #defining `not'.
7544 * chartab.c (check_category_char): not ==> not_p
7545 * chartab.h: Likewise.
7546 * regex.c (re_match_2_internal): Likewise.
7548 2001-02-02 Martin Buchholz <martin@xemacs.org>
7550 * lisp-disunion.h: Fix up comments.
7552 2001-01-31 Martin Buchholz <martin@xemacs.org>
7554 * keymap.c (define_key_check_and_coerce_keysym):
7556 Support mouse-6 and mouse-7 bindings in the obvious way.
7558 2001-02-01 Martin Buchholz <martin@xemacs.org>
7560 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
7562 2001-01-30 Martin Buchholz <martin@xemacs.org>
7564 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
7565 Previous patch missed DEFVAR_INT_MAGIC.
7566 Make sure future DEFVAR_foo use correct types.
7567 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
7568 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
7569 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
7570 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
7571 * (DEFVAR_INT): Likewise.
7572 * redisplay.c (vertical_clip): Should be of type Fixnum.
7573 * redisplay.c (horizontal_clip): Likewise.
7574 * lisp.h (dump_add_opaque_int): New.
7575 (dump_add_opaque_fixnum): New.
7577 2001-01-29 Andy Piper <andy@xemacs.org>
7579 * glyphs-widget.c (check_valid_int_or_function): allow symbols
7580 since they can be eval'ed
7582 2001-01-29 Martin Buchholz <martin@xemacs.org>
7584 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
7585 Oops, XEmacs redefines `class'. Use `typename' instead.
7587 2001-01-28 Martin Buchholz <martin@xemacs.org>
7589 * dumper.c: Fix C++ compile errors.
7591 2001-01-29 Martin Buchholz <martin@xemacs.org>
7593 * tparam.c: Use correct prototypes.
7595 2001-01-28 Martin Buchholz <martin@xemacs.org>
7597 * sysproc.h: #include util.h for NetBSD's openpty.
7599 2001-01-27 Martin Buchholz <martin@xemacs.org>
7601 More 64-bit correctness.
7602 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
7603 Use a typedef `fixnum' for the type used for DEFVAR_INT.
7605 This finally finishes the 64-bit SGI port.
7606 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
7607 * symbols.c: Fix up comments and type casts.
7608 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
7609 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
7610 * symeval.h (Fixnum): New type.
7611 * symeval.h (symbol_value_type): Fix up comment.
7627 * mule-canna.c: A million DEFVAR_INTs here...
7628 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
7641 s/int/Fixnum/g in DEFVAR_INT declarations.
7643 2001-01-26 Martin Buchholz <martin@xemacs.org>
7645 Port pdump to SGI alignment-sensitive environment.
7646 Lisp Object sizeof methods now return aligned sizes. Rely on that.
7647 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
7649 Define and use aligned reading and writing macros.
7650 Use buffered stdio instead of posix i/o for faster dumping.
7651 Eliminate kludgy 256 byte space for header.
7652 Read and write from dump file using structs for alignment safety.
7653 * dumper.c (pdump_align_stream): New.
7654 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
7655 * dumper.c (PDUMP_READ_ALIGNED): New.
7656 * dumper.c (PDUMP_WRITE_ALIGNED): New.
7657 * dumper.c (pdump_static_Lisp_Object): New struct.
7658 * dumper.c (pdump_static_pointer): New struct.
7659 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
7660 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
7661 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
7662 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
7664 * dumper.c (pdump_backtrace):
7665 * dumper.c (pdump_get_indirect_count):
7666 * dumper.c (pdump_register_object):
7667 * dumper.c (pdump_register_struct):
7668 * dumper.c (pdump_reloc_one):
7669 * dumper.c (pdump_scan_by_alignment):
7670 * dumper.c (pdump_dump_from_root_struct_ptrs):
7671 * dumper.c (pdump_dump_opaques):
7672 * dumper.c (pdump_dump_rtables):
7673 * dumper.c (pdump_dump_from_root_objects):
7675 * dumper.c (pdump_load_finish):
7676 Use aligned reading and writing.
7678 * dumper.c (pdump_free): Make static.
7679 * dumper.c (pdump_hFile): Likewise.
7680 * dumper.c (pdump_hMap): Likewise.
7682 2001-01-26 Martin Buchholz <martin@xemacs.org>
7684 * XEmacs 21.2.43 "Terspichore" is released.
7686 2001-01-25 Martin Buchholz <martin@xemacs.org>
7688 Type fiddling for window_config.saved_windows_count
7689 * window.c (struct window_config):
7690 Make saved_windows_count member unsigned.
7691 * window.c (sizeof_window_config_for_n_windows):
7692 Make parameter unsigned.
7693 * window.c (mark_window_config):
7694 * window.c (window_config_equal):
7695 * window.c (free_window_configuration):
7696 * window.c (Fset_window_configuration):
7697 * window.c (count_windows):
7698 * window.c (Fcurrent_window_configuration):
7699 * window.c (reinit_vars_of_window):
7700 Update all callers and users.
7702 2001-01-25 Martin Buchholz <martin@xemacs.org>
7704 Alignment correctness for flexible arrays.
7705 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
7706 Make alignment-correct. Add interesting comments.
7707 * alloc.c (size_vector):
7708 * alloc.c (make_vector_internal):
7709 * alloc.c (make_bit_vector_internal):
7710 * alloc.c (sweep_bit_vectors_1):
7711 * fns.c (size_bit_vector):
7712 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
7713 * window.c (sizeof_window_config_for_n_windows):
7714 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
7716 2001-01-24 Martin Buchholz <martin@xemacs.org>
7718 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
7720 2001-01-23 Andy Piper <andy@xemacs.org>
7722 * select.c (Fown_selection_internal): pass owned_p
7724 * select-msw.c (mswindows_own_selection): New Signature.
7726 * console.h (struct console_methods): add owned_p to
7729 * select-x.c (x_own_selection): pass owned_p
7730 (hack_motif_clipboard_selection): use owned_p
7731 (vars_of_select_x): new variable -
7732 x_selection_strict_motif_ownership.
7734 2001-01-23 Martin Buchholz <martin@xemacs.org>
7736 * specifier.h (specifier_data_offset): Remove pointless parens.
7737 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
7739 2001-01-24 Martin Buchholz <martin@xemacs.org>
7741 Make Lisp_Object sizeof methods be alignment-correct.
7742 pdump must restore objects to the same alignment as the C compiler
7743 assumes. It really matters on SGIs.
7744 * lstream.c (aligned_sizeof_lstream): New.
7745 (sizeof_lstream): Use aligned_sizeof_lstream.
7746 (Lstream_new): Likewise.
7747 * opaque.c (aligned_sizeof_opaque): New.
7748 (sizeof_opaque): Use aligned_sizeof_opaque.
7749 (make_opaque): Likewise.
7750 * specifier.c (aligned_sizeof_specifier): New.
7751 (sizeof_specifier): Use aligned_sizeof_specifier.
7752 (make_specifier_internal): Likewise.
7754 2001-01-23 Martin Buchholz <martin@xemacs.org>
7756 * lstream.h (struct lstream): Use max_align_t for trailing data.
7757 * specifier.h (struct Lisp_Specifier): Likewise.
7759 2001-01-22 Martin Buchholz <martin@xemacs.org>
7761 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
7762 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
7763 (CCL_SUSPEND): Likewise.
7764 (CCL_INVALID_CMD): Likewise.
7765 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
7766 (ccl_driver): Likewise.
7767 (CCL_WRITE_CHAR): Macro hygiene.
7768 (CCL_WRITE_STRING): Macro hygiene.
7770 2001-01-22 Martin Buchholz <martin@xemacs.org>
7772 Port "portable" dumper to SunOS 4 and HP-UX.
7773 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
7774 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
7775 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
7777 2001-01-22 Martin Buchholz <martin@xemacs.org>
7779 * lisp.h (ALIGNOF): A better definition for C++.
7781 2001-01-20 Martin Buchholz <martin@xemacs.org>
7784 Fix printf warnings: int format, long int arg.
7785 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
7786 (PUSH_FAILURE_POINT): Use correct printf formats.
7787 (POP_FAILURE_POINT): Use correct printf formats.
7788 Use do {...} while (0)
7790 2001-01-20 Martin Buchholz <martin@xemacs.org>
7792 * XEmacs 21.2.42 "Poseidon" is released.
7794 2001-01-20 Martin Buchholz <martin@xemacs.org>
7796 * console-x.h: typo fix du jour. Remove #if 0'ed code.
7798 2001-01-19 Martin Buchholz <martin@xemacs.org>
7800 De-kludgify FIXED_TYPE free list frobbing.
7801 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
7802 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
7803 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
7804 * alloc.c (Lisp_Free): New pseudo lisp object definition.
7805 * alloc.c (LRECORD_FREE_P): New.
7806 * alloc.c (MARK_LRECORD_AS_FREE): New.
7807 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
7808 * alloc.c (STRUCT_FREE_P): Deleted.
7809 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
7810 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
7811 * alloc.c (STRING_CHARS_FREE_P): New.
7812 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
7813 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
7814 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
7815 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
7816 * alloc.c (resize_string): Use new definitions.
7817 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
7818 * alloc.c (verify_string_chars_integrity): Use new definitions.
7819 * alloc.c (compact_string_chars): Use new definitions.
7820 * alloc.c: Update monster comments.
7821 * lrecord.h (lrecord_type): Add some new lrecord types for
7824 2001-01-18 Martin Buchholz <martin@xemacs.org>
7826 Improve alignment hackery.
7827 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
7828 (max_align_t): Moved from opaque.h - general purpose.
7829 (ALIGN_PTR): Use size_t, not long.
7830 * opaque.h (max_align_t): Move to lisp.h.
7832 2001-01-18 Norbert Koch <nk@LF.net>
7834 * gui.h: Fix and add prototypes to fix build problems.
7836 2001-01-18 Martin Buchholz <martin@xemacs.org>
7838 temacs is going away, so `dump-temacs' is now a bad name.
7839 * .dbxrc (dump-temacs): Rename to `dmp'.
7840 * .gdbinit (dump-temacs): Rename to `dmp'.
7842 2001-01-17 Andy Piper <andy@xemacs.org>
7844 * glyphs.c (print_image_instance): comment to make martin happy.
7846 * glyphs-x.c (x_redisplay_widget): update faces after a frame
7849 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
7851 (mswindows_tab_control_redisplay): warning suppression.
7853 * glyphs-widget.c (widget_update): re-write to cope with updated
7855 (widget_instantiate): use new gui_item functions.
7856 (tab_control_update): deleted.
7857 (progress_gauge_update): deleted.
7858 (image_instantiator_progress_guage): take out update reference.
7859 (image_instantiator_tree_view): ditto.
7860 (image_instantiator_tab_control): ditto.
7862 * gui.c (widget_gui_parse_item_keywords): new function. Do things
7864 (gui_item_add_keyval_pair): re-write to cope with descriptors and
7865 return whether anything was changed.
7866 (update_gui_item_keywords): as it sounds.
7868 * gui.h: declare widget_gui_parse_item_keywords.
7870 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
7871 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
7873 2001-01-17 Martin Buchholz <martin@xemacs.org>
7875 * XEmacs 21.2.41 "Polyhymnia" is released.
7877 2001-01-16 Didier Verna <didier@xemacs.org>
7879 * glyphs.c (image_instantiate): don't use fallbacks when
7880 instantiating a face's background pixmap by inheritance.
7882 2001-01-14 Mike Sperber <mike@xemacs.org>
7884 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
7885 Conditionalize accordingly.
7887 2001-01-16 Martin Buchholz <martin@xemacs.org>
7889 * dumper.c (pdump_file_get): Fix a compiler warning.
7891 2001-01-15 Martin Buchholz <martin@xemacs.org>
7893 Make Purify happy when pdumping.
7894 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
7895 iniitalizing all bits of new lisp object memory.
7896 * symbols.c (Fmake_local_variable): Likewise.
7897 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
7898 * symbols.c (Fdefvaralias): Likewise.
7899 * mule-charset.c (vars_of_mule_charset): Likewise.
7901 2001-01-15 Martin Buchholz <martin@xemacs.org>
7902 Add the `-nd' flag when running pre-dump operations under the debugger.
7903 * .dbxrc (run-temacs): Add `-nd'.
7904 * .dbxrc (update-elc): Likewise.
7905 * .dbxrc (dump-temacs): Likewise.
7906 * .gdbinit (run-temacs): Likewise.
7907 * .gdbinit (check-temacs): Likewise.
7908 * .gdbinit (update-elc): Likewise.
7909 * .gdbinit (dump-temacs): Likewise.
7911 2001-01-14 Martin Buchholz <martin@xemacs.org>
7913 Allow building 64-bit executables on AIX with GNU malloc, e.g.
7914 export OBJECT_MODE=64
7915 configure --pdump --use-union-type=no
7916 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
7917 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
7919 * miscplay.c (sndcnv8U_2mono):
7920 Avoid two uses of `++' in the same expression.
7921 Suppresses a GCC warning.
7923 2001-01-13 Martin Buchholz <martin@xemacs.org>
7925 Make sure future compilers don't miscompile alloc.c.
7927 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
7928 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
7930 2001-01-12 Martin Buchholz <martin@xemacs.org>
7932 * dumper.c: A little post-pdump-rename comment fixup.
7934 2001-01-09 Jerry James <james@eecs.ku.edu>
7936 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
7938 2001-01-13 Martin Buchholz <martin@xemacs.org>
7940 * *.[ch]: Globally rename symbols using the following `pdump-rename'
7944 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
7947 replace_symbol pdump_wire_lists pdump_weak_object_chains
7948 replace_symbol pdump_wire_list dump_add_weak_object_chain
7950 replace_symbol pdump_wires pdump_root_objects
7951 replace_symbol pdump_wire dump_add_root_object
7953 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
7954 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
7956 replace_symbol dumpstructinfos pdump_root_struct_ptrs
7957 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
7958 replace_symbol dumpstructinfo pdump_root_struct_ptr
7959 replace_symbol dumpstruct dump_add_root_struct_ptr
7961 replace_symbol dumpopaque dump_add_opaque
7962 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
7963 replace_symbol dumpopaqueinfos pdump_opaques
7964 replace_symbol dumpopaqueinfo pdump_opaque
7966 replace_symbol nb_structdump nb_root_struct_ptrs
7967 replace_symbol nb_opaquedump nb_opaques
7969 replace_symbol align_table pdump_align_table
7970 replace_symbol dump_header pdump_header
7972 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
7973 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
7976 2001-01-12 Martin Buchholz <martin@xemacs.org>
7978 * s/aix4.h: Keep the C for AIX compiler from overaggressively
7979 optimizing bytecount_to_charcount().
7981 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
7984 (HAVE_DLFCN_H): Removed.
7985 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
7987 2001-01-06 Martin Buchholz <martin@xemacs.org>
7989 Portable dumper maintainability improvements.
7990 * alloc.c (staticpro):
7991 * alloc.c (staticpro_nodump):
7992 * alloc.c (garbage_collect_1):
7993 * alloc.c (reinit_alloc_once_early):
7994 * alloc.c (init_alloc_once_early):
7995 * alloc.c: Move dumper functions to alloc.c.
7996 * dumper.c (pdump_backtrace):
7997 * dumper.c (pdump_dump_structs):
7998 * dumper.c (pdump_dump_opaques):
7999 * dumper.c (pdump_dump_rtables):
8000 * dumper.c (pdump_dump_wired):
8002 * dumper.c (pdump_load_check):
8003 * dumper.c (pdump_load_finish):
8004 * dumper.c (pdump_file_unmap):
8005 * dumper.c (pdump_file_get):
8006 * dumper.c (pdump_resource_free):
8007 * dumper.c (pdump_resource_get):
8008 * dumper.c (pdump_file_free):
8009 * dumper.c (pdump_file_try):
8010 * dumper.c (pdump_load):
8011 Remove fixed size limits on staticpro(), staticpro_nodump(),
8012 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
8013 Remove custom code for dumping lrecord_implementations_table - use
8015 Remove (most of the) custom code for dumping staticpros - dump it
8016 like any other dynarr.
8018 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
8019 * dumper.c: Moved functions from alloc.c.
8020 * alloc.c (dumpstruct): Moved to dumper.c.
8021 * alloc.c (dumpopaque): Likewise.
8022 * alloc.c (pdump_wire): Likewise.
8023 * alloc.c (pdump_wire_list): Likewise.
8025 * lisp.h (Dynarr_sizeof): New.
8026 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
8027 * lisp.h (Dynarr_end): New. Very slightly C++oid.
8028 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
8030 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
8031 * lisp.h (dumpopaque): ditto.
8032 * lisp.h (pdump_wire): ditto.
8033 * lisp.h (pdump_wire_list): ditto.
8035 2001-01-09 Martin Buchholz <martin@xemacs.org>
8037 * make-src-depend (PrintPatternDeps):
8038 Use `sort' to make output independent of perl version.
8040 2001-01-08 Martin Buchholz <martin@xemacs.org>
8043 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
8044 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
8046 2001-01-03 Didier Verna <didier@xemacs.org>
8048 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
8049 that `focus_frame' is alive before thinking of calling
8050 `redisplay_redraw_cursor' on it.
8052 2001-01-08 Martin Buchholz <martin@xemacs.org>
8054 * XEmacs 21.2.40 is released.
8056 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
8058 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
8060 2001-01-06 Martin Buchholz <martin@xemacs.org>
8062 * alloc.c (dbg_valmask): Make const.
8063 * alloc.c (dbg_typemask): Make const.
8064 * alloc.c (dbg_USE_UNION_TYPE): Make const.
8065 * alloc.c (dbg_valbits): Make const.
8066 * alloc.c (dbg_gctypebits): Make const.
8068 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
8070 * redisplay-x.c (x_bevel_area):
8071 redisplay.h (struct rune):
8072 Typo fixes in comments.
8074 2001-01-05 Andy Piper <andy@xemacs.org>
8076 * glyphs-x.c (x_redisplay_widget): use size changed for offset
8079 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
8081 2001-01-05 Martin Buchholz <martin@xemacs.org>
8083 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
8085 * mule-ccl.c (stack_idx_of_map_multiple):
8086 Non const global data must not be initialized!
8087 Found by MIYASHITA Hisashi.
8089 2001-01-02 Andy Piper <andy@xemacs.org>
8091 * frame.c (change_frame_size): make sure frame size is always
8094 * glyphs.c (image_instance_layout): minor code reuse.
8096 * window.c (Fcurrent_window_configuration): revert previous
8099 2001-01-02 Martin Buchholz <martin@xemacs.org>
8102 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
8104 2000-12-31 Andy Piper <andy@xemacs.org>
8106 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
8107 when widget gets unmapped.
8109 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
8110 function. Make sure widgets losing focus don't just drop it.
8111 (handle_focus_event_1): record the widget with focus.
8113 2000-12-31 Andy Piper <andy@xemacs.org>
8115 * window.c (allocate_window): use
8116 make_image_instance_cache_hash_table.
8117 (make_dummy_parent): ditto.
8118 (Fset_window_configuration): ditto.
8120 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
8122 * glyphs.c (process_image_string_instantiator): use
8124 (get_image_instantiator_governing_domain): ditto.
8125 (normalize_image_instantiator): ditto.
8126 (instantiate_image_instantiator): ditto.
8127 (make_image_instance_1): ditto.
8128 (image_instantiate): ditto. Key on glyph *and* instantiator type.
8129 (instantiator_eq_equal): new function for use with instance hash
8131 (instantiator_eq_hash): ditto.
8132 (make_image_instance_cache_hash_table): create a suitable hash
8133 table for storing image instances.
8135 * elhash.h (hash_table_weakness): new internal weakness type
8136 HASH_TABLE_KEY_CAR_VALUE_WEAK.
8137 declare new functions.
8139 * elhash.c (finish_marking_weak_hash_tables): introduce yet
8140 another weakness type for glyphs.
8141 (make_standard_lisp_hash_table): new function split out from
8142 make_general_lisp_hash_table.
8143 (make_lisp_hash_table): call make_standard_lisp_hash_table.
8144 (hash_table_instantiate): ditto.
8145 (Fmake_hash_table): ditto.
8147 2000-12-31 Martin Buchholz <martin@xemacs.org>
8149 * XEmacs 21.2.39 is released.
8151 2000-12-29 Andy Piper <andy@xemacs.org>
8153 * menubar.c (menubar_visible_p_changed): signal the frame changed.
8155 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
8156 the frame has changed so that we pick up geometry changes such as
8159 2000-12-28 Andy Piper <andy@xemacs.org>
8161 * lastfile.c (my_ebss): make a char array so we can pad the
8162 bss. Fixes cygwin unexec.
8164 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
8166 2000-12-26 Andy Piper <andy@xemacs.org>
8168 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
8169 comments and try and be more precise about a non-/SIGIO world.
8170 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
8173 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
8174 we don't normalize to zero width or height.
8176 2000-12-24 Andy Piper <andy@xemacs.org>
8178 * Makefile.in.in (ldflags): add -mwindows when appropriate.
8180 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
8182 * s/sco5.h: SCO 5 has pty support.
8184 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
8186 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
8187 input-method-xlib.c contains whole contents of input-method-xfs.c,
8188 so we can use input-method-xlib.c's code for USE_XFONTSET
8190 * input-method-xfs.c: removed.
8192 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
8194 * file-coding.h (enum coding_category_type): reorder enumerators to
8195 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
8196 (now one greater than largest real coding_category_type enumerator).
8197 * file-coding.c (coding_category_symbol, coding_category_by_priority,
8198 coding_category_system, fcd_descriptihon_1, decode_coding_category,
8199 Fcoding_category_list, Fset_coding_priority_list,
8200 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
8201 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
8203 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
8205 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
8206 * redisplay-output.c (redisplay_output_window): Clear top of window
8207 when face is changed.
8208 * redisplay-x.c (x_redraw_exposed_window): Call
8209 redisplay_clear_top_of_window.
8210 * redisplay.h: Publish redisplay_clear_top_of_window.
8212 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
8214 * buffer.c (Fkill_buffer): Map over all devices.
8215 * window.c (window_loop): Remove UNSHOW_BUFFER code.
8216 (list_windows): New function.
8217 (list_all_windows): Ditto.
8218 (Freplace_buffer_in_windows): Use them.
8220 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
8222 * database.c (berkdb_subtype): Recognize new subtype `queue'.
8223 (Fopen_database): Use `db_create' instead of `db_open'.
8224 (syms_of_database): Initialize Qqueue.
8226 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
8228 * buffer.c (common_init_complex_vars_of_buffer): Initialize
8229 buffer_local_face_property.
8230 * buffer.h (struct buffer): New member buffer_local_face_property.
8231 * window.c (Fset_window_buffer): Mark window's face as changed
8232 when buffer has buffer local face.
8233 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
8234 * objects.c (color_after_change): Set buffer_local_face_property
8235 when locale of face specifier is buffer.
8236 * objects.c (font_after_change): Ditto.
8237 * objects.c (face_boolean_after_change): Ditto.
8238 * glyphs.c (image_after_change): Ditto.
8240 2000-12-09 Dan Holmsand <dan@eyebee.com>
8242 * nt.c (mswindows_fstat): Report file permissions, volume serial
8243 number, etc. Code adapted from FSF Emacs 20.7.
8245 2000-12-09 Dan Holmsand <dan@eyebee.com>
8247 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
8248 of stat when we don't have symbolic links, to make sure
8249 mswindows_stat is called on mswindows.
8251 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
8253 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
8255 2000-12-12 Martin Buchholz <martin@xemacs.org>
8257 * doprnt.c (emacs_doprnt_1): More printing fixes.
8258 Make printing of numbers compatible with libc and FSF Emacs.
8259 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
8260 Use the system printf to do most of the hard work of formatting,
8261 instead of doprnt_1().
8262 Calculate memory to allocate for format string.
8263 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
8264 (doprnt_1): Cleaner code and documentation.
8266 2000-12-01 Jerry James <james@eecs.ukans.edu>
8268 * Makefile.in.in: Use the loop variable to install headers.
8270 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8272 * window.c (Fsplit_window): Don't invalidate face cache.
8274 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8276 * minibuf.c (Fall_completions): Undo the previous change
8277 which removed checking elements start with space.
8279 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
8281 * mule-canna.c: Didier suppression.
8283 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
8285 * mule-canna.c: rename static unsigned char buf[] to key_buffer
8286 (warning suppression). Add English comment translations.
8288 2000-12-05 Martin Buchholz <martin@xemacs.org>
8290 * unexelfsgi.c (unexec): Better test for mmap failure.
8292 2000-12-05 Martin Buchholz <martin@xemacs.org>
8294 * XEmacs 21.2.38 is released.
8296 2000-12-05 Martin Buchholz <martin@xemacs.org>
8298 * redisplay.c (bar-cursor): Make a user variable.
8300 * symsinit.h: Add init_postgresql_from_environment.
8302 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8304 * regex.c: Convert to clean C.
8306 2000-12-05 Dan Holmsand <dan@eyebee.com>
8309 Don't #include sysfile.h. Revert to duplicating PATH_MAX
8311 (sys_readlink): renamed to system_readlink to avoid conflict with
8312 the other sys_readlink.
8314 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
8316 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
8318 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
8320 * postgresql.c (init_postgresql_from_environment): new function.
8321 (vars_of_postgresql): Move code initializing Lisp variables out and
8322 into init_postgresql_from_environment.
8323 emacs.c (main_1): Call init_postgresql_from_environment if and only
8324 if running a dumped XEmacs.
8326 2000-08-31 Dan Holmsand <dan@eyebee.com>
8328 * buffer.c: Make find-file-compare-truenames default to true on
8331 * realpath.c (win32_abs_start):
8333 (win32_readlink): New functions.
8334 (xrealpath): Return really real filenames on windows.
8336 * fileio.c (Ffile_truename): Make file-truename work on windows.
8338 2000-11-29 Didier Verna <didier@xemacs.org>
8340 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
8341 * faces.c (update_face_cachel_data): use it.
8342 * faces.c (add_face_cachel): use it. Complete background pixmap
8343 frobbing in face cache if `update_face_cachel_data' has not done so.
8345 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
8347 * search.c (string_match_1): Don't set last_thing_searched
8350 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
8352 * buffer.c: Include casetab.h
8353 (common_init_complex_vars_of_buffer): Use new case-table object.
8354 * buffer.h: Include casetab.h
8355 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
8356 (DOWNCASE_TABLE_OF): Ditto.
8357 * bufslots.h: Remove char-tables and add case-table.
8358 * casetab.c: Include casetab.h
8359 (CASE_TABLE_P): Removed.
8360 (mark_case_table): New function.
8361 (allocate_case_table): New function.
8362 (Fcase_table_p): Use new case-table.
8363 (case_table_char): New function.
8364 (Fget_case_table): Ditto.
8365 (Fput_case_table): Ditto.
8366 (Fput_case_table_pair): Ditto.
8367 (Fcopy_case_table): Ditto.
8368 (Fcurrent_case_table): Return case-table.
8369 (Fstandard_case_table): Return case-table.
8370 (Fset_case_table): Fix doc-string.
8371 (set_case_table): Use case-table
8372 (syms_of_casetab): DEFSUBR new functions.
8373 (complex_vars_of_casetab): Set up standard case-table.
8374 * casetab.h: New file.
8375 * editfns.c: Include casetab.h
8376 (Fcompare_buffer_substrings): Use case-table.
8377 * inline.c: Include casetab.h
8378 * lisp.h: Remove bogus extern.
8379 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
8380 * search.c: Include casetab.h
8381 (TRANSLATE_ASCII): Removed.
8382 (TRANSLATE): Unconditionally translate character.
8383 (looking_at_1): Use case-table.
8384 (string_match_1): Ditto.
8385 (fast_string_match): Ditto.
8386 (search_command): Ditto.
8387 (search_buffer): Separate boyer_moore. Check whether
8388 boyer_moore is possible.
8389 (simple_search): New function.
8390 (boyer_moore): Separated from search_buffer. Translate char.
8392 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
8394 * regex.c (RE_TR_ASCII): Removed.
8395 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
8396 (PATFETCH): Call PATFETCH_RAW.
8397 (PATFETCH_RAW): Fetch Emchar.
8398 (PATUNFETCH): Decrement charptr.
8399 (GET_BUFFER_SPACE): Rename b to buf_end.
8401 (BUF_PUSH_2): Ditto.
8402 (BUF_PUSH_3): Ditto.
8403 (EXTEND_BUFFER): Ditto.
8404 (SET_LIST_BIT): Ditto.
8405 (regex_compile): Ditto. Translate non ASCII char.
8406 (compile_range): Ditto.
8407 (re_search_2): Ditto.
8408 (re_match_2_internal): Compare Emchar.
8409 (bcmp_translate): Ditto.
8411 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
8413 * lisp.h (basic char/int typedefs): comment improvement.
8415 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
8417 * emacs.c (main_1): unconditional pdump unstomping; don't save and
8418 unstomp inhibit_site_lisp. Improve comments.
8420 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
8422 * mule-charset.c (Fcharset_property): improve type checking, comments.
8424 2000-11-28 Andy Piper <andy@xemacs.org>
8426 * redisplay-output.c (redisplay_output_subwindow): make sure we do
8427 clipped display for windows in the gutter also.
8428 (redisplay_display_boxes_in_window_p): change semantics of return
8429 codes to be more intuitive.
8431 * gutter.h: declare display_boxes_in_gutter_p.
8433 * gutter.c (display_boxes_in_gutter_p): new function for
8436 2000-11-22 Andy Piper <andy@xemacs.org>
8438 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
8441 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
8443 * callproc.c (Fold_call_process_internal):
8444 * gpm.c (Freceive_gpm_event):
8445 (tty_get_foreign_selection): Might be just warning supression.
8446 * fileio.c (Fwrite_region_internal):
8447 (Fset_visited_file_modtime):
8448 * keymap.c (event_matches_key_specifier_p):
8449 Initialize GCPROed variable.
8451 * menubar-x.c (command_builder_find_menu_accelerator):
8452 Initialize before use.
8454 2000-11-23 Andy Piper <andy@xemacs.org>
8456 * unexcw.c (unexec): make the resulting executable executable.
8458 2000-11-21 Martin Buchholz <martin@xemacs.org>
8460 * doc.c (get_doc_string):
8461 Use size_t, not int, for result of XSTRING_LENGTH.
8463 * cmds.c (Fdelete_char):
8464 * cmds.c (Fpoint_at_eol):
8465 * cmds.c (Fself_insert_command):
8466 Use EMACS_INT, not int, for result of XINT.
8467 Someday, someone will want to insert more than 2**31 identical characters.
8469 * cmds.c (Fdelete_char):
8470 * cmds.c (Fdelete_backward_char):
8471 * syntax.c (Fforward_word):
8472 * syntax.c (Fforward_comment):
8473 Make COUNT argument optional, for consistency with forward-char et al.
8475 2000-11-22 Martin Buchholz <martin@xemacs.org>
8478 * print.c (long_to_string):
8479 Return a useful value: the pointer at end of data written.
8482 Use `static const char * const' for constant strings.
8483 (union printf_arg): Delete `i', `ui' members.
8486 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
8487 Do all printf-ing via the `l' specifier.
8488 Use EMACS_INT instead of int.
8491 2000-11-20 Didier Verna <didier@xemacs.org>
8493 * faces.c (update_face_cachel_data): don't frob the background
8494 pixmap when the window is being created. The face is needed but
8497 2000-11-20 Andy Piper <andy@xemacs.org>
8499 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
8500 messing with a debug environment.
8502 2000-11-20 Martin Buchholz <martin@xemacs.org>
8504 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
8506 2000-11-20 Martin Buchholz <martin@xemacs.org>
8508 * casetab.c (Fcase_table_p): Fix compile error and crash.
8510 2000-11-18 Philip Aston <philipa@mail.com>
8512 * s/cygwin32.h: Cygwin has SVR4-like pty support.
8514 2000-11-18 Martin Buchholz <martin@xemacs.org>
8516 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
8517 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
8519 2000-11-17 Martin Buchholz <martin@xemacs.org>
8521 * config.h.in: Define HAVE_ELF_H if elf.h exists.
8522 * unexelf.c: Use HAVE_ELF_H.
8523 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
8524 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
8525 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
8526 Greg Harrington <greg_harrington@hotmail.com> provided a machine
8528 So this is an unexelfsgi.c from a different line of development.
8530 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
8532 * regex.c (RE_TR_ASCII): New function.
8533 (RE_TRANSLATE): Call it.
8535 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
8537 * buffer.h (TRT_TABLE_OF): Remove assert.
8538 (IN_TRT_TABLE_DOMAIN): Removed.
8540 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
8542 * free-hook.c (log_gcpro):
8543 (show_gcprohist): Add support for GCPRO5.
8545 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
8547 * emacs.c (main_1): Improve -sd error message when --pdump=no.
8549 2000-11-16 Olivier Galibert <galibert@xemacs.org>
8551 * symeval.h: Declare flush_all_buffer_local_cache.
8553 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
8554 (flush_buffer_local_cache): Added.
8555 (flush_all_buffer_local_cache): Added.
8557 * lrecord.h: Remove unused XD_LO_RESET_NIL.
8559 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
8560 (pdump_dump_data): Ditto.
8561 (pdump_reloc_one): Ditto.
8562 (pdump): Remove unused pdump_qnil. Flush buffer local caches
8566 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
8568 * buffer.c: Remove if 0'ed entry.
8569 * buffer.h: Rewrite TRT to use char-table.
8570 * bufslots.h: Remove mirror tables.
8571 * casetab.c: Remove mirror tables.
8572 (CASE_TABLE_P): New macro.
8573 (Fcase_table_p): Element of a case table is string or char-table.
8574 (make_mirror_trt_table): Removed.
8575 (set_case_table): Setup char-table from strings for backward
8577 * dired.c (Fdirectory_files):
8578 * dired-msw.c: (mswindows_get_files):
8579 * lisp.h: Change prototype of re_pattern_buffer.
8580 * regex.c: (RE_TRANSLATE): New macro.
8581 (TRANSLATE_P): Ditto.
8582 Change translate to type RE_TRANSLATE_TYPE.
8583 * regex.h: Define RE_TRANSLATE_TYPE
8584 * search.c (TRANSLATE): New macro.
8585 (TRANSLATE_ASCII): New macro.
8586 Translate table is changed to Lisp_Object.
8587 (signal_failure): Inhibit return.
8589 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
8596 Do UNGCPRO before return.
8598 2000-11-14 Martin Buchholz <martin@xemacs.org>
8600 * XEmacs 21.2.37 is released.
8602 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
8604 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
8605 Add comments about discarded return value.
8607 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
8610 * event-stream.c: Fix comments. Remove some #if 0'ed part.
8612 2000-10-27 Andy Piper <andy@xemacs.org>
8614 * gutter.c (Fset_default_gutter_position): default left and right
8616 (calculate_gutter_size): calculate resonable heuristic for left
8617 and right gutter sizes.
8618 (specifier_vars_of_gutter): change left and right gutter sizes to
8620 (calculate_gutter_size_from_display_lines): new function.
8621 (output_gutter): check for resizing on left and right gutters.
8622 (clear_gutter): don't special case top and left gutters.
8623 (specifier_vars_of_gutter): use new signature for
8624 set_specifier_caching.
8626 * glyphs-x.c (x_redisplay_widget): spelling fix.
8627 * glyphs.c (specifier_vars_of_glyphs):
8628 * menubar.c (specifier_vars_of_menubar):
8629 * redisplay.c (specifier_vars_of_redisplay):
8630 * toolbar.c (specifier_vars_of_toolbar):
8631 * window.c (specifier_vars_of_window):
8632 * scrollbar.c (specifier_vars_of_scrollbar):
8633 (complex_vars_of_scrollbar): use new signature for
8634 set_specifier_caching.
8636 * specifier.c (set_specifier_caching): include recompute flag.
8637 (recompute_one_cached_specifier_in_window): always recompute if
8639 (recompute_one_cached_specifier_in_frame): ditto.
8641 * specifier.h (struct specifier_caching): add recompute flag.
8643 2000-10-24 Andy Piper <andy@xemacs.org>
8645 * unexcw.c (copy_executable_and_dump_data_section): add new
8646 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
8649 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8651 * console-x.h (x_device): New member modifier_release_time.
8652 * event-Xt.c (x_handle_sticky_modifiers):
8653 Bound interval modifier keys are sticky.
8654 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
8655 * events.h: extern it.
8657 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8659 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
8661 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8663 * event-stream.c (execute_command_event): Preserve current_events
8664 and the like when event is misc-user-event.
8665 Inhibit quit during the call to maybe_echo_keys.
8667 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
8669 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
8670 symlink when buffer is killed.
8671 (inhibit_clash_detection): New variable.
8673 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8675 * console.c (Fset_input_method): Trigger redisplay on tty.
8677 2000-11-07 Martin Buchholz <martin@xemacs.org>
8679 * process.c (Fprocess_status): Revert to previous behavior:
8680 (process-status "nosuchprocess") ==> nil
8682 2000-11-06 Martin Buchholz <martin@xemacs.org>
8684 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
8685 Work around another GCC 2.95.2 optimizer bug.
8687 2000-11-02 Martin Buchholz <martin@xemacs.org>
8689 * process.c (Fget_process): Use LIST_LOOP_2.
8690 (kill_buffer_processes): Use LIST_LOOP_2.
8692 * minibuf.c (Fall_completions):
8693 Delete old non-functional code for FSF fourth argument.
8695 * frame.c (frame_matches_frame_spec):
8696 Renamed from `frame_matches_frametype'. Update all callers.
8697 (device_matches_device_spec):
8698 Renamed from 'device_matches_console_spec'. Update all callers.
8700 * doc.c (Fsubstitute_command_keys):
8701 Remove buffer overflow crash. Small code cleanups.
8703 * casetab.c (check_case_table): Simpler code.
8705 * window.c (Freplace_buffer_in_windows):
8706 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
8707 (and similar implementation) as Fdelete_windows_on.
8710 * alloc.c (Fmake_list):
8711 * alloc.c (make_vector):
8712 * alloc.c (Fmake_vector):
8713 * alloc.c (make_bit_vector):
8714 * alloc.c (Fmake_bit_vector):
8715 * alloc.c (Fbit_vector):
8716 * alloc.c (Fmake_string):
8717 * alloc.c (Fpurecopy):
8718 * alloc.c (Fmemory_limit):
8720 * buffer.c (Fget_buffer):
8721 * buffer.c (Fkill_buffer):
8722 * buffer.c (complex_vars_of_buffer):
8723 * bytecode.c (Fcompiled_function_stack_depth):
8724 * callint.c (Fprefix_numeric_value):
8726 * event-stream.c (Fread_key_sequence):
8728 * casetab.c (Fcase_table_p):
8729 * casetab.c (check_case_table):
8730 * casetab.c (Fset_case_table):
8731 * casetab.c (Fset_standard_case_table):
8733 * chartab.c (Fchar_table_type):
8734 * chartab.c (Freset_char_table):
8735 * chartab.c (Fget_char_table):
8736 * chartab.c (Fget_range_char_table):
8737 * chartab.c (Fput_char_table):
8738 * chartab.c (Fmap_char_table):
8739 * chartab.c (Fcategory_table_p):
8740 * chartab.c (Fcheck_category_at):
8741 * chartab.c (Fchar_in_category_p):
8742 * chartab.c (Fcategory_table):
8743 * chartab.c (Fcopy_category_table):
8744 * chartab.c (Fset_category_table):
8745 * chartab.c (Fcategory_designator_p):
8746 * chartab.c (Fcategory_table_value_p):
8747 * cmds.c (Fdelete_char):
8748 * cmds.c (Fdelete_backward_char):
8749 * cmds.c (Fself_insert_command):
8750 * cmds.c (Fself_insert_internal):
8751 * console.c (Fvalid_console_type_p):
8752 * console.c (Fcdfw_console):
8753 * console.c (Fconsole_type):
8754 * console.c (Fconsole_name):
8755 * console.c (Fconsole_device_list):
8756 * console.c (Fconsole_on_window_system_p):
8760 * data.c (Fsubr_interactive):
8761 * data.c (Fchar_to_int):
8762 * data.c (Fint_to_char):
8765 * data.c (Fnumber_to_string):
8766 * data.c (Fstring_to_number):
8768 * database.c (mark_database):
8769 * database.c (finalize_database):
8770 * database.c (Fdatabase_live_p):
8771 * database.c (Fdatabasep):
8772 * device-x.c (Fx_get_resource):
8773 * device.c (Fdfw_device):
8775 * dired.c (Ffile_name_completion):
8776 * dired.c (Ffile_name_all_completions):
8777 * dired.c (Fuser_name_completion):
8778 * dired.c (Fuser_name_completion_1):
8779 * dired.c (Fuser_name_all_completions):
8780 * doc.c (Fdocumentation):
8781 * doc.c (Fdocumentation_property):
8782 * doc.c (Fsubstitute_command_keys):
8784 * editfns.c (Fchar_to_string):
8785 * editfns.c (Fstring_to_char):
8786 * editfns.c (Ftemp_directory):
8787 * editfns.c (Finsert_char):
8788 * editfns.c (Fbuffer_substring_no_properties):
8789 * editfns.c (Fnarrow_to_region):
8790 * editfns.c (Fchar_equal):
8791 * editfns.c (Fchar_Equal):
8792 * editfns.c (Ftranspose_regions):
8793 * emacs.c (Fdump_emacs):
8795 * eval.c (Fcommand_execute):
8796 * eval.c (Fautoload):
8797 * eval.c (Fbacktrace):
8798 * eval.c (Fbacktrace_frame):
8800 * events.c (Fcopy_event):
8801 * events.c (Fcharacter_to_event):
8802 * events.c (Fevent_button):
8803 * events.c (Fevent_process):
8805 * extents.c (Fnext_extent_change):
8806 * extents.c (Fextent_property):
8808 * faces.c (Fmake_face):
8810 * file-coding.c (Fencode_shift_jis_char):
8811 * file-coding.c (Fencode_big5_char):
8812 * fileio.c (Ffile_name_directory):
8813 * fileio.c (Ffile_name_nondirectory):
8814 * fileio.c (Ffile_name_as_directory):
8815 * fileio.c (Fdirectory_file_name):
8816 * fileio.c (Ffile_truename):
8817 * fileio.c (Fsubstitute_in_file_name):
8818 * fileio.c (Ffile_modes):
8819 * fileio.c (Fset_file_modes):
8820 * fileio.c (Fset_default_file_modes):
8821 * fileio.c (Fverify_visited_file_modtime):
8822 * floatfns.c (Facos):
8823 * floatfns.c (Fasin):
8824 * floatfns.c (Fatan):
8825 * floatfns.c (Fcos):
8826 * floatfns.c (Fsin):
8827 * floatfns.c (Ftan):
8828 * floatfns.c (Fbessel_j0):
8829 * floatfns.c (Fbessel_j1):
8830 * floatfns.c (Fbessel_jn):
8831 * floatfns.c (Fbessel_y0):
8832 * floatfns.c (Fbessel_y1):
8833 * floatfns.c (Fbessel_yn):
8834 * floatfns.c (Ferf):
8835 * floatfns.c (Ferfc):
8836 * floatfns.c (Flog_gamma):
8837 * floatfns.c (Fexp):
8838 * floatfns.c (Fexpt):
8839 * floatfns.c (Flog):
8840 * floatfns.c (Flog10):
8841 * floatfns.c (Fsqrt):
8842 * floatfns.c (Fcube_root):
8843 * floatfns.c (Facosh):
8844 * floatfns.c (Fasinh):
8845 * floatfns.c (Fatanh):
8846 * floatfns.c (Fcosh):
8847 * floatfns.c (Fsinh):
8848 * floatfns.c (Ftanh):
8849 * floatfns.c (Fabs):
8850 * floatfns.c (Ffloat):
8851 * floatfns.c (Flogb):
8852 * floatfns.c (Fceiling):
8853 * floatfns.c (Ffloor):
8854 * floatfns.c (Fround):
8855 * floatfns.c (Ftruncate):
8856 * floatfns.c (Ffceiling):
8857 * floatfns.c (Fffloor):
8858 * floatfns.c (Ffround):
8859 * floatfns.c (Fftruncate):
8860 * fns.c (Fstring_equal):
8861 * fns.c (Fstring_lessp):
8866 * fns.c (Fsubstring):
8868 * fns.c (Fold_assoc):
8869 * fns.c (assoc_no_quit):
8871 * fns.c (Fold_assq):
8872 * fns.c (assq_no_quit):
8874 * fns.c (Fold_rassoc):
8876 * fns.c (Fold_rassq):
8877 * fns.c (rassq_no_quit):
8878 * fns.c (Fremassoc):
8879 * fns.c (remassoc_no_quit):
8881 * fns.c (remassq_no_quit):
8882 * fns.c (Fremrassoc):
8883 * fns.c (Fremrassq):
8884 * fns.c (remrassq_no_quit):
8886 * fns.c (Fplist_get):
8887 * fns.c (Fplist_put):
8888 * fns.c (Fplist_remprop):
8889 * fns.c (Fplist_member):
8890 * fns.c (Flax_plist_get):
8891 * fns.c (Flax_plist_put):
8892 * fns.c (Flax_plist_remprop):
8893 * fns.c (Flax_plist_member):
8895 * fns.c (Fold_equal):
8897 * fns.c (Fbase64_encode_region):
8898 * fns.c (Fbase64_encode_string):
8899 * fns.c (Fbase64_decode_region):
8901 * frame.c (frame_matches_frame_spec):
8902 * frame.c (device_matches_device_spec):
8903 * frame.c (next_frame):
8904 * frame.c (previous_frame):
8905 * frame.c (Fnext_frame):
8906 * frame.c (Fprevious_frame):
8907 * frame.c (Fframe_property):
8908 * frame.c (Fset_frame_height):
8909 * frame.c (Fset_frame_size):
8913 * glyphs.c (decode_error_behavior_flag):
8914 * glyphs.c (Fmake_image_instance):
8915 * indent.c (Findent_to):
8916 * intl.c (Fignore_defer_gettext):
8917 * keymap.c (Fkeymapp):
8918 * keymap.c (Flookup_key):
8920 * lread.c (Fload_internal):
8921 * lread.c (Feval_buffer):
8922 * lread.c (Feval_region):
8923 * macros.c (Fexecute_kbd_macro):
8924 * marker.c (set_marker_internal):
8925 * marker.c (Fset_marker):
8926 * marker.c (set_marker_restricted):
8927 * marker.c (Fcopy_marker):
8928 * marker.c (noseeum_copy_marker):
8930 * menubar.c (Fpopup_menu):
8932 * mule-charset.c (Fcharset_name):
8933 * mule-charset.c (Fchar_charset):
8934 * mule-charset.c (Fchar_octet):
8935 * mule-charset.c (Fsplit_char):
8936 * mule-wnnfns.c (Fwnn_open):
8937 * mule-wnnfns.c (Fwnn_dict_comment):
8938 * mule-wnnfns.c (Fwnn_quit_henkan):
8939 * mule-wnnfns.c (Fwnn_word_toroku):
8940 * mule-wnnfns.c (Fwnn_word_sakujo):
8941 * mule-wnnfns.c (Fwnn_word_use):
8942 * mule-wnnfns.c (Fwnn_hindo_set):
8944 * objects.c (Fmake_color_instance):
8945 * objects.c (Fmake_font_instance):
8946 * print.c (Fwrite_char):
8948 * process.c (mark_process):
8949 * process.c (print_process):
8950 * process.c (get_process_from_usid):
8951 * process.c (Fprocessp):
8952 * process.c (Fprocess_live_p):
8953 * process.c (Fget_process):
8954 * process.c (Fget_buffer_process):
8955 * process.c (get_process):
8956 * process.c (Fprocess_id):
8957 * process.c (Fprocess_name):
8958 * process.c (Fprocess_command):
8959 * process.c (init_process_io_handles):
8960 * process.c (start_process_unwind):
8961 * process.c (Fstart_process_internal):
8962 * process.c (Fopen_multicast_group_internal):
8963 * process.c (Fset_process_window_size):
8964 * process.c (read_process_output):
8965 * process.c (send_process):
8966 * process.c (Fprocess_tty_name):
8967 * process.c (Fset_process_buffer):
8968 * process.c (Fprocess_buffer):
8969 * process.c (Fprocess_mark):
8970 * process.c (set_process_filter):
8971 * process.c (Fset_process_filter):
8972 * process.c (Fprocess_filter):
8973 * process.c (Fprocess_send_region):
8974 * process.c (Fprocess_send_string):
8975 * process.c (exec_sentinel):
8976 * process.c (Fset_process_sentinel):
8977 * process.c (Fprocess_sentinel):
8978 * process.c (status_notify):
8979 * process.c (Fprocess_status):
8980 * process.c (Fprocess_exit_status):
8981 * process.c (process_send_signal):
8982 * process.c (Fprocess_send_eof):
8983 * process.c (deactivate_process):
8984 * process.c (remove_process):
8985 * process.c (Fdelete_process):
8986 * process.c (kill_buffer_processes):
8987 * process.c (Fprocess_kill_without_query):
8988 * process.c (Fprocess_kill_without_query_p):
8990 * rangetab.c (Fget_range_table):
8991 * rangetab.c (Fput_range_table):
8992 * rangetab.c (Fremove_range_table):
8993 * rangetab.c (Fclear_range_table):
8995 * search.c (Fskip_chars_forward):
8996 * search.c (Fskip_chars_backward):
8997 * search.c (Fskip_syntax_forward):
8998 * search.c (Fskip_syntax_backward):
8999 * search.c (search_command):
9000 * search.c (Freplace_match):
9001 * search.c (Fregexp_quote):
9002 * select.c (Fown_selection_internal):
9003 * select.c (Fselection_owner_p):
9004 * select.c (Fselection_exists_p):
9005 * select.c (Fget_selection_internal):
9008 * symbols.c (Fintern):
9009 * symbols.c (Fintern_soft):
9010 * symbols.c (Funintern):
9011 * symbols.c (Fapropos_internal):
9012 * symbols.c (Fset_default):
9014 * syntax.c (Fsyntax_table_p):
9015 * syntax.c (Fcopy_syntax_table):
9016 * syntax.c (Fset_syntax_table):
9017 * syntax.c (Fchar_syntax):
9018 * syntax.c (syntax_match):
9019 * syntax.c (Fmatching_paren):
9020 * syntax.c (Fforward_word):
9021 * syntax.c (scan_lists):
9022 * syntax.c (Fscan_lists):
9023 * syntax.c (Fscan_sexps):
9024 * syntax.c (Fparse_partial_sexp):
9025 * toolbar.c (Fcheck_toolbar_button_syntax):
9028 * window.c (Fwindowp):
9029 * window.c (Fwindow_live_p):
9030 * window.c (Fwindow_point):
9031 * window.c (Fdelete_window):
9032 * window.c (Fnext_window):
9033 * window.c (Fprevious_window):
9034 * window.c (Fother_window):
9035 * window.c (window_loop):
9036 * window.c (Fget_lru_window):
9037 * window.c (Fsplit_window):
9038 * window.c (Fenlarge_window):
9039 * window.c (Fenlarge_window_pixels):
9040 * window.c (Fshrink_window):
9041 * window.c (Fshrink_window_pixels):
9042 * window.c (change_window_height):
9043 * window.c (Fwindow_configuration_p):
9044 * window.c (Fcurrent_window_configuration):
9046 * casefiddle.c (casify_object):
9047 * casefiddle.c (Fupcase):
9048 * casefiddle.c (Fdowncase):
9049 * casefiddle.c (Fcapitalize):
9050 * casefiddle.c (Fupcase_initials):
9051 * casefiddle.c (casify_region_internal):
9052 * casefiddle.c (casify_region):
9053 * casefiddle.c (Fupcase_region):
9054 * casefiddle.c (Fdowncase_region):
9055 * casefiddle.c (Fcapitalize_region):
9056 * casefiddle.c (Fupcase_initials_region):
9057 * casefiddle.c (Fupcase_word):
9058 * casefiddle.c (Fdowncase_word):
9059 * casefiddle.c (Fcapitalize_word):
9060 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
9061 Replace 0 with '\0' when working with bytes.
9062 Replace initial "(" with "\(" in docstrings.
9064 2000-11-01 Martin Buchholz <martin@xemacs.org>
9066 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
9068 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
9070 2000-10-31 Martin Buchholz <martin@xemacs.org>
9072 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
9074 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
9076 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
9079 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
9081 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
9082 (inhibit_auto_save_session): New variable.
9083 (vars_of_fileio): Declare and initialize them.
9084 * fileio.c (Fdo_auto_save): Don't create session file if
9085 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
9087 2000-10-31 Martin Buchholz <martin@xemacs.org>
9089 * sgiplay.c (play_internal): C++ compilability.
9090 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
9091 * callproc.c (Fold_call_process_internal):
9092 Remove unused vars `env', `first'.
9093 * scrollbar.c (update_scrollbar_instance):
9094 #### unused var `current_window'.
9095 * redisplay-tty.c: Put currently unused vars insert_mode_on,
9096 etc. within #ifdef NOT_YET.
9097 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
9098 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
9099 * specifier.c (specifier_instance):
9100 #### unused var `tag'.
9101 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
9103 2000-10-27 Martin Buchholz <martin@xemacs.org>
9106 * fns.c (list_sort):
9107 * fns.c (Ffillarray):
9108 * fns.c (bytecode_nconc2):
9111 * fns.c (Fmapconcat):
9112 Be pedantically 64-bit correct. For the time when someone will
9113 want to have a list with length > 2**32.
9115 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
9116 Work around MIPSpro compiler bug.
9118 * process-unix.c (unix_kill_child_process): Add snarky comment.
9119 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
9121 * config.h.in: Oops, _getpt ==> _getpty
9123 2000-10-26 Martin Buchholz <martin@xemacs.org>
9127 Use void*, not char*, as return type of alloca().
9129 * alloc.c (free_marker): Side effect inside assert expression!
9131 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
9133 * mule-charset.c (Fset_charset_ccl_program): To check
9134 if the given ccl program is valid, use setup_ccl_program()
9135 instead of CHECK_VECTOR().
9136 (Fmake_charset): Likewise.
9138 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
9140 * faces.c (get_extent_fragment_face_cache_index):
9141 Fix cachel.merged_faces memory leak.
9143 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
9145 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
9146 Reset MSB of octets obtained by DECODE_SJIS
9147 because of the incompatibility with Emacs.
9148 (ccl_driver)<CCL_ENCODE_SJIS>:
9149 Set MSB of octets before passing them to
9150 ENCODE_SJIS because of the incompatibility
9153 2000-10-18 Daiki Ueno <ueno@unixuser.org>
9155 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
9156 (DECLARE_LRECORD): Undo the last change.
9157 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
9159 2000-10-17 Daiki Ueno <ueno@unixuser.org>
9161 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
9162 the implementation to lrecord_implementations_table.
9164 2000-10-14 Daiki Ueno <ueno@unixuser.org>
9166 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
9167 initial value of `lrecord_type_##c_name' and
9168 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
9169 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
9170 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
9171 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
9172 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
9174 2000-10-17 Martin Buchholz <martin@xemacs.org>
9176 * miscplay.c (sndcnv8S_2mono):
9177 (sndcnv2monounsigned):
9178 (sndcnvULaw_2linear):
9180 Remove implementation-defined behavior.
9182 2000-10-12 Martin Buchholz <martin@xemacs.org>
9184 * input-method-xlib.c: Warning suppression.
9186 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
9188 * mule-ccl.c: Sync up with Emacs 21.0.90.
9189 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
9191 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
9193 (ccl_driver[WriteMultibyteChar2]): Bug fix.
9194 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
9195 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
9196 leading char belongs to official 2-dimensional charset.
9197 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
9198 write the given character as is. Otherwise,
9199 if it is a multibyte char, convert it by
9200 non_ascii_set_charptr_emchar, then write it.
9201 (CCL_WRITE_STRING): Likewise.
9202 (ccl_get_compiled_code): New function.
9203 (setup_ccl_program): When ccl_prog is invalid,
9205 (Fregister_code_conversion_map): New function.
9206 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
9208 * mule-ccl.h: Sync up with Emacs 21.0.90.
9209 (Fregister_ccl_program): export it.
9211 * redisplay-msw.c (separate_textual_runs):
9212 If ccl program is not valid, don't do ccl conversion.
9214 * redisplay-x.c (separate_textual_runs): Ditto.
9216 * file-coding.c (Fmake_coding_system):
9217 When type is ccl and value is vector, register it
9218 with a proper symbol. And checks whether the
9219 given ccl program is valid.
9220 (mule_decode): When calling ccl_driver, if src indicates
9221 NULL pointer, set an empty string instead.
9222 (mule_encode): Likewise.
9224 2000-10-11 Martin Buchholz <martin@xemacs.org>
9226 The following large batch of changes gets us back to a state of
9227 C++ compilability. Extbyte is now a char, which means that
9228 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
9230 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
9232 * sound.c (Fplay_sound): Type correctness.
9234 * select-x.c (hack_motif_clipboard_selection): Type correctness.
9235 (x_get_window_property): Type correctness.
9236 (receive_incremental_selection): unsigned char ==> Extbyte
9237 (selection_data_to_lisp_data): unsigned char ==> Extbyte
9238 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
9239 (Fx_store_cutbuffer_internal): Type correctness.
9241 * process-unix.c (try_to_initialize_subtty): Type correctness.
9243 * objects-x.c (x_print_color_instance): Type correctness.
9244 (x_print_font_instance): Type correctness.
9245 (x_list_fonts): SExtbyte ==> Extbyte.
9246 (valid_x_font_name_p): SExtbyte ==> Extbyte.
9247 (x_find_charset_font): SExtbyte ==> Extbyte.
9248 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
9249 (truename_via_XListFonts): SExtbyte ==> Extbyte.
9250 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
9253 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
9254 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
9255 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
9256 (BYTE_C0_P): Use bit ops for char-signedness safety.
9257 (BYTE_C1_P): Use bit ops for char-signedness safety.
9258 (CHARSET_BY_LEADING_BYTE):
9259 (CHARSET_BY_ATTRIBUTES):
9260 Always use inline function.
9261 Use type_checking_assert.
9264 * mule-charset.c (non_ascii_charptr_copy_char):
9265 Modify to work with both ASCII and non-ASCII characters.
9266 Improve docs and variable names.
9267 Replace over-clever fall-through switch with a simple loop.
9268 (Lstream_get_emchar_1):
9269 Replace over-clever fall-through switch with a simple loop.
9271 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9272 Warning suppression.
9274 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
9275 the return value of Lstream_getc, which could be EOF as well.
9277 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
9279 * lisp.h: Make Extbyte a char, not unsigned char, so that external
9280 APIs can be used on Extbytes without casts. Risky!
9284 * input-method-xlib.c (XIM_init_device):
9285 Use Xlib.h instead of IntrinsicP.h.
9286 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
9287 which will break in X11R7.
9288 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
9289 to call XRegisterIMInstantiateCallback with correct types.
9291 * gui-x.c (button_item_to_widget_value): Type correctness.
9293 * glyphs.c (bitmap_to_lisp_data): Type correctness.
9295 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
9296 (xbm_instantiate_1): Type correctness.
9297 (BUILD_GLYPH_INST): Type correctness.
9299 * fileio.c (Fsubstitute_in_file_name): Type correctness.
9302 (decode_coding_sjis):
9303 (decode_coding_big5):
9304 (decode_coding_ucs4):
9305 (decode_coding_utf8):
9306 (decode_coding_iso2022):
9307 (decode_coding_no_conversion):
9308 Make all decoding functions take an Extbyte * arg.
9309 (encode_coding_sjis):
9310 (encode_coding_big5):
9311 (encode_coding_ucs4):
9312 (encode_coding_utf8):
9313 (encode_coding_iso2022):
9314 (encode_coding_no_conversion):
9315 Make all encoding functions take a Bufbyte * arg.
9316 Use size_t instead of unsigned int for memory sizes.
9317 Only cast to unsigned char whenever dereferencing Extbyte *.
9319 * doc.c (unparesseuxify_doc_string): Type correctness.
9321 * console-x.c (split_up_display_spec):
9322 Rewrite without using details of internal string representation.
9323 (x_semi_canonicalize_device_connection): Type correctness.
9326 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
9327 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
9328 (HAVE_XFREE386): Removed.
9330 * buffer.h (DEC_CHARPTR): `const' correctness.
9331 (bufbyte_strcmp): New.
9332 (bufbyte_memcmp): New.
9334 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
9336 * buffer.h (XCHAR_OR_CHAR_INT):
9337 Always use inline function.
9338 Remove redundant type checking assert() - XINT will abort quite nicely.
9340 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9342 * search.c (Freplace_match): Set newtext to an empty string.
9344 2000-10-10 Martin Buchholz <martin@xemacs.org>
9346 * s/decosf1-3.h: Remove #include of stropts.h
9347 * s/ptx.h: Remove #include of stropts.h
9348 * s/usg5-4.h: Remove #include of stropts.h
9351 Use stropts.h, not sys/stropts.h.
9352 Use strtio.h, not sys/strtio.h.
9354 2000-10-04 Martin Buchholz <martin@xemacs.org>
9356 * XEmacs 21.2.36 is released.
9358 2000-09-21 Andy Piper <andy@xemacs.org>
9360 * glyphs-x.c (x_redisplay_widget): make sure non-structural
9361 changes still involve copying the widget tree.
9362 (update_widget_face): make sure a change is register in the widget
9363 tree. Call update_tab_widget_face appropriately.
9364 (update_tab_widget_face): ditto.
9365 (x_tab_control_redisplay): make sure non-structural changes still
9366 involve copying the widget tree.
9368 2000-08-31 Daiki Ueno <ueno@unixuser.org>
9370 * lread.c (locate_file): Check the path element is non-nil.
9372 2000-10-02 Martin Buchholz <martin@xemacs.org>
9374 * lisp.h: Warning suppression for SCO compilers.
9376 * redisplay-tty.c (reset_tty_modes): Fix crash.
9377 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
9379 2000-09-27 Martin Buchholz <martin@xemacs.org>
9381 Big signal/process handling overhaul. Bugs fixed:
9382 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
9383 M-x comint-kill-subjob should work for both values nil and t of
9384 process-connection-type. It was broken on most platforms.
9385 Testing on Irix and Cygwin still needed. Other plaforms tested.
9386 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
9387 * process-unix.c: Signal/Process handling overhaul.
9388 (pty_name): make 64 bytes, as `expect' does, for paranoia.
9389 (allocate_pty): Use all available modern methods of allocating
9390 ptys, falling back to old style BSD allocation as a last resort.
9391 Use allegedly more secure Unix98 pty allocation by default.
9392 (allocate_pty_the_old_fashioned_way): New. the last resort.
9393 (unix_create_process): Push ptem, ldterm, ttcompat where
9394 available. Autoconfiscate.
9395 (try_to_initialize_subtty): New.
9396 (unix_kill_child_process): Proper signal handling for ptys on most
9397 platforms, using special knowledge of AIX, BSD, etc...
9398 (unix_create_process): Always disconnect_controlling_terminal() for
9399 subprocesses, whether using ptys or not.
9400 * process.h: Remove old getpt-dependent PTY code.
9401 * process.c (Fprocess_send_signal): New, obvious generic function.
9402 (decode_signal): New.
9403 (Finterrupt_process):
9407 (Fcontinue_process):
9408 (Fsignal_process): Use decode_signal.
9409 (process_send_signal):
9410 Many docstring corrections.
9411 Allow any signal to be sent to a process object.
9412 * config.h.in: Add symbols for big signal/process overhaul.
9413 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
9414 * sysproc.h: Include process-related headers, where available:
9415 sys/stropts.h sys/strtio.h pty.h libutil.h
9423 Remove old S&M pty stuff.
9424 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
9425 * systty.h: Simplify cpp hackery, improve comments.
9426 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
9428 * editfns.c (Fformat_time_string):
9429 Be a little more paranoid with the return value of ctime.
9431 * fileio.c (check_executable):
9433 Use symbolic constants X_OK, W_OK.
9435 * console-x.c (split_up_display_spec): Fix a warning.
9437 2000-10-02 Martin Buchholz <martin@xemacs.org>
9439 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
9440 * ntproc.c (sys_spawnve): make_string ==> build_string
9441 Small clarity improvements.
9443 2000-09-30 Martin Buchholz <martin@xemacs.org>
9445 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
9447 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
9449 * config.h.in (HAVE_STRCASECMP): Remove.
9451 2000-09-29 Martin Buchholz <martin@xemacs.org>
9453 * redisplay-output.c (redisplay_output_pixmap):
9454 Cleaner and possibly more 64-bit correct code.
9456 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
9458 * dumper.c (pdump_load_finish): move restoration of
9459 `noninteractive1' to emacs.c (main_1).
9460 * emacs.c (main_1): protect LISP-visible command-line flags
9463 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
9465 * Makefile.in.in (versionclean): Use EXE_TARGET and
9466 DUMP_TARGET instead of literal program names.
9468 2000-09-20 Martin Buchholz <martin@xemacs.org>
9470 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
9472 2000-09-19 Martin Buchholz <martin@xemacs.org>
9474 * *: Spelling mega-patch
9476 2000-09-19 Martin Buchholz <martin@xemacs.org>
9478 * fns.c (bad_bad_turtle):
9479 Delete "Eek!" comment, since we fixed the bug to which it refers.
9481 2000-09-16 Martin Buchholz <martin@xemacs.org>
9483 * alloca.c: Replace REGISTER with register.
9485 2000-09-16 Daiki Ueno <ueno@unixuser.org>
9487 * file-coding.c (ucs_to_char): Use countof.
9489 2000-09-16 Martin Buchholz <martin@xemacs.org>
9491 * file-coding.c: (ucs_to_char):
9492 (complex_vars_of_file_coding):
9493 Use countof instead of sizeof.
9494 Use CHECK_NATNUM instead of CHECK_INT.
9496 * sysdep.c (strcasecmp): Remove.
9497 * device-x.c (ascii_strcasecmp): New.
9498 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
9499 Avoid using non-standard non-portable strcasecmp.
9501 2000-09-16 Martin Buchholz <martin@xemacs.org>
9503 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
9504 * font-lock.c: remove reference to emacsfns.h.
9505 * search.c: small doc improvement.
9506 * event-Xt.c: correct file names in comments.
9507 * console-x.h Correct file names in comments.
9508 * frame.c: Correct file names in comments.
9509 * event-stream.c: remove Energize from comments.
9511 2000-09-15 Martin Buchholz <martin@xemacs.org>
9513 * symeval.h (DEFERROR_STANDARD):
9516 (DEFSYMBOL_NO_DUMP):
9517 (DEFSYMBOL_MULTIWORD_PREDICATE):
9518 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
9520 The construct &##name is not sensible C.
9521 Fixes compilation errors with Unixware native compiler.
9523 2000-09-14 Martin Buchholz <martin@xemacs.org>
9525 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
9526 (next_frame_internal): Removed. We now just have next_frame.
9528 Write a simpler and cleaner one-pass algorithm.
9529 Remove called_from_delete_device arg and #ifdefed-out code.
9531 Renamed from prev_frame. Update callers.
9532 Cleaned up to have an analogous implementation to next_frame.
9533 (other_visible_frames_internal): Remove the
9534 called_from_delete_device bogus arg, and hence, remove this
9535 function. Just use other_visible_frames().
9537 * window.c (Fnext_window):
9539 Since next_frame() is guaranteed to return a frame, remove check
9540 for nil inserted in previous patch.
9543 Make code look more like Fnext_window.
9545 Respect the `console' arg when iterating through windows.
9546 Fixes bug: (get-buffer-window buffer t device) not respecting
9548 This function needs more work, as others have pointed out.
9550 * frame.h: Rename prev_frame to previous_frame.
9551 device_matches_console_spec no longer takes a `frame' arg.
9556 Use EMACS_BLOCK_SIGNAL instead of sigblock.
9557 From "Golubev I. N." <gin@mo.msk.ru>.
9559 * make-src-depend: Fix typo.
9561 2000-09-13 Martin Buchholz <martin@xemacs.org>
9563 * window.c (Fnext_window):
9564 next_frame() might return nil, not a frame.
9566 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
9568 * frame.c (next_frame_internal):
9569 We've passed a frame if we've passed its device.
9571 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
9572 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
9574 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
9576 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
9577 Allow option to suppress accelerators in menu/dialog items.
9578 (populate_or_checksum_helper): Pass dialog title through above.
9580 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
9582 * event-msw.c (mswindows_key_to_emacs_keysym):
9583 Add "pause" key, fix "menu" key.
9585 2000-09-09 Martin Buchholz <martin@xemacs.org>
9587 * eval.c (reinit_vars_of_eval):
9588 Increase max_lisp_eval_depth to 1000,
9589 required for thai-xtis.el to byte-compile under some circumstances.
9591 2000-09-04 Martin Buchholz <martin@xemacs.org>
9593 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
9596 2000-09-01 Martin Buchholz <martin@xemacs.org>
9598 * make-src-depend: Make the generated Makefiles smaller.
9600 * s/hpux.h (SETUP_SLAVE_PTY):
9601 Provide a %d in the format string for the errno argument.
9603 * editfns.c (Ftemp_directory):
9605 Avoid buffer overrun on very long file name.
9607 * input-method-xlib.c (XIM_init_device):
9608 6th parameter of XRegisterIMInstantiateCallback has different
9609 pointer types on different OSes, so simply cast to (void *).
9611 * unexhp9k800.c: Warning fixes. Fiddly changes.
9613 * sysdll.c (dll_open):
9614 shl_load will hang hard if passed a NULL filename.
9615 Simply return NULL for compatibility with dlopen.
9616 * sysdll.c: Conform to XEmacs coding standards.
9618 * sysdep.c (get_pty_max_bytes):
9619 Support pty input lines longer than 512 bytes on HP-UX 10.20.
9621 2000-08-31 Martin Buchholz <martin@xemacs.org>
9623 * tooltalk.c: Add #include <syssignal.h>
9625 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
9627 * s/hpux.h: Don't use undefined function sigunblock().
9629 2000-08-31 Martin Buchholz <martin@xemacs.org>
9631 * config.h.in: Add HAVE_BALLOON_HELP.
9632 * emacs.c: Use HAVE_BALLOON_HELP.
9633 * Makefile.in.in (x_objs):
9634 Make Balloon Help conditional on finding shape.h.
9636 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
9638 * syntax.c (regex_emacs_buffer_p): New variable.
9639 * syntax.h (regex_emacs_buffer_p): extern.
9640 * search.c (looking_at_1):
9642 (fast_string_match):
9643 (search_buffer): Set regex_emacs_buffer_p.
9644 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
9645 when before_dot, at_dot, after_dot.
9647 2000-08-23 Andy Piper <andy@xemacs.org>
9649 * gui-x.c (popup_selection_callback): Only set action_occurred
9650 when we really have an image instance.
9651 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
9653 2000-08-23 Andy Piper <andy@xemacs.org>
9655 * gui-msw.c (mswindows_handle_gui_wm_command): set
9657 * gui-x.c (popup_selection_callback): ditto.
9659 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
9660 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
9661 (struct Lisp_Image_Instance): add action_occurred flag.
9663 * glyphs.c (redisplay_subwindow): use action_occurred flag.
9664 (image_instance_changed): ditto.
9665 (reset_frame_subwindow_instance_cache): only unmap windows - do
9666 not remove them from the cache also.
9668 * glyphs-widget.c (tab_control_update): better debug.
9669 (progress_gauge_update): ditto.
9670 (layout_update): ditto.
9671 (layout_instantiate): ditto.
9672 (tab_control_order_only_changed): cope with null pending items.
9674 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
9675 debug. Force selection of an item when an action occurred. Cope
9676 with null pending_items.
9677 (mswindows_progress_gauge_redisplay): better debug.
9678 * glyphs-x.c (x_tab_control_redisplay): ditto.
9680 * redisplay.c (redisplay_frame): reset the frame cache if the
9683 * window.c (Fset_window_configuration): potentially re-enable
9685 (window_unmap_subwindows): need to finalize instances here since
9686 it is only used in mark_window_as_deleted.
9688 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
9690 * nas.c (SndOpenDataForReading):
9691 nas.c (WaveOpenDataForReading):
9692 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
9693 Somehow escaped from the 2000-08-14 patch.
9695 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
9697 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
9698 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
9700 2000-08-21 Andy Piper <andy@xemacs.org>
9702 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
9703 window if it is not already displayed.
9705 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
9706 it is not already displayed.
9708 * window.c (Fset_window_configuration): don't reset the frame
9711 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
9712 instances from the frame cache if we are actually finalizing them.
9713 (reset_frame_subwindow_instance_cache): reset frame cache only
9714 after unmapping everything.
9715 (map_subwindow): set displayed flag after mapping.
9717 2000-08-21 Martin Buchholz <martin@xemacs.org>
9719 * data.c (indirect_function):
9720 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
9722 * eval.c (function_argcount):
9723 Use original function when signaling errors.
9725 2000-08-18 Andy Piper <andy@xemacs.org>
9727 * frame.c (delete_frame_internal): use new
9728 free_frame_subwindow_instances name.
9730 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
9731 (add_tab_item): make return type correct.
9732 (mswindows_tab_control_instantiate): assert index of tab.
9733 (mswindows_tab_control_redisplay): Re-code to use
9734 gui_item_equal_sans_selected and gui_item_list_find_selected.
9736 * glyphs-widget.c (tab_control_update): Correct comment.
9738 * window.c (window_unmap_subwindows): use new
9739 unmap_subwindow_instance_cache_mapper.
9740 (window_unmap_subwindows_cache_mapper): deleted.
9741 (Fset_window_configuration): comparisons should now be with
9742 EQ. Preserve the subwindow instance cache across configuration
9744 (allocate_window): ditto.
9745 (make_dummy_parent): ditto.
9747 * glyphs.c (free_frame_subwindow_instances): rename from
9748 free_frame_subwindow_instance_cache. finalize all instances rather
9749 than just those in the display cache.
9750 (finalize_all_subwindow_instances): walk windows unmapping and
9751 finalizing subwindows.
9752 (unmap_subwindow_instance_cache_mapper): moved from
9753 window.c. Allow finalization as well as unmapping.
9755 * gui.c (gui_item_list_find_selected): new function.
9757 * gui.h (gui_item_list_find_selected): declare.
9759 * glyphs-x.c (x_tab_control_redisplay): pick tab
9760 explicitly. Re-code to use gui_item_equal_sans_selected and
9761 gui_item_list_find_selected.
9763 * glyphs-x.h: add lwlib-utils.h
9765 * buffer.c (Frecord_buffer): undo previous change.
9767 2000-08-09 Vin Shelton <acs@xemacs.org>
9769 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
9770 possible. Create temporary files more securely. The patch was
9771 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
9772 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
9773 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
9776 2000-08-07 Ben Wing <ben@xemacs.org>
9778 * getloadavg.c: remove duplicate (and windows-breaking)
9779 includes of fcntl.h and sys/file.h.
9781 * nt.c: remove duplicate getloadavg() definition.
9783 * sysdll.h (Qdll_filename_encoding): add missing stand-in
9786 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
9788 * eval.c (function_argcount): If function needs to be autoloaded
9789 actually use the loaded definition.
9792 2000-08-05 Ben Wing <ben@xemacs.org>
9794 * getloadavg.c: add prototype for getloadavg(). remove
9795 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
9796 of the code). remove duplicate header includes.
9798 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
9800 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
9801 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
9802 useful load average.
9804 * alloc.c (reinit_alloc_once_early): removed references to
9805 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
9806 the lisp vars are the only things referencing the malloc_sbrk_*
9807 vars, and they were already if 0'd out. these vars only exist
9808 in the older malloc.c, which is basically unused, and they're
9809 only for informational purposes.
9811 * m\*.h: removed useless VIRT_ADDR_VARIES.
9813 * m\powerpc.h: removed stray NO_ARG_ARRAY.
9815 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
9817 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
9818 color if the image is a mono pixmap.
9820 2000-07-30 Ben Wing <ben@xemacs.org>
9822 * Makefile.in.in (release):
9825 * buffer.c (directory_is_current_directory):
9826 * dired-msw.c (mswindows_get_files):
9828 * dired.c (Fdirectory_files):
9829 * dired.c (file_name_completion_stat):
9830 * dired.c (Ffile_attributes):
9831 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
9832 preprocessor tricks, to avoid problems on some machines
9835 * callproc.c (egetenv): GC docs.
9838 * console-msw.h (struct mswindows_dialog_id):
9839 * lrecord.h (lrecord_type):
9840 New object for use with MSW dialogs.
9842 * console.h (struct console_methods):
9843 New enable/disable frame methods, for proper modal dialogs.
9845 * device-msw.c (msprinter_default_printer): Fix to follow
9846 proper Mule conventions.
9849 * device-msw.c (signal_open_printer_error):
9850 * device-msw.c (msprinter_init_device):
9851 * device-msw.c (ensure_not_printing):
9852 * device-msw.c (plist_get_margin):
9853 * device-msw.c (Fmsprinter_select_settings):
9854 * device-msw.c (finalize_devmode):
9855 * device-msw.c (Fmsprinter_settings_despecialize):
9856 * device-msw.c (signal_enum_priner_error):
9857 * extents.c (decode_extent):
9858 * extents.c (decode_map_extents_flags):
9859 * extents.c (decode_extent_at_flag):
9860 * extents.c (Fextent_at):
9861 * extents.c (Fextents_at):
9862 * extents.c (symbol_to_glyph_layout):
9863 [[[[2]]]] Use structured errors.
9866 * dialog-msw.c (mswindows_is_dialog_msg):
9867 * dialog-msw.c (mark_mswindows_dialog_id):
9868 * dialog-msw.c (dialog_proc):
9869 * dialog-msw.c (handle_question_dialog_box):
9870 * dialog-msw.c (syms_of_dialog_mswindows):
9871 Define new object to clean up marking; use it as a dialog identifier.
9872 Call new delete-dialog-box-hook.
9874 * dialog-x.c (dbox_selection_callback):
9875 * dialog-x.c (dbox_descriptor_to_widget_value):
9876 * dialog-x.c (x_make_dialog_box_internal):
9877 Call new delete-dialog-box-hook.
9881 * dialog.c (syms_of_dialog):
9882 * dialog.c (vars_of_dialog):
9883 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
9886 * eval.c (signal_call_debugger):
9887 when noninteractive, output stack traces on the console instead
9888 of in a (never-seen) buffer.
9890 * eval.c (signal_type_error):
9891 * eval.c (invalid_argument_2):
9893 new funs for use w/structured errors.
9896 * event-Xt.c (x_to_emacs_keysym):
9897 * event-Xt.c (describe_event):
9898 * event-Xt.c (emacs_Xt_event_handler):
9899 * event-Xt.c (vars_of_event_Xt):
9901 * event-msw.c (mswindows_wnd_proc):
9902 * event-msw.c (vars_of_event_mswindows):
9903 rename {x,mswindows}-debug-events to debug-{}-events for
9904 consistency with other debug-foo variables.
9907 document next-event more clearly.
9909 * fileio.c (Ffile_name_directory):
9910 * fileio.c (Ffile_name_nondirectory):
9911 * fileio.c (Funhandled_file_name_directory):
9912 * fileio.c (file_name_as_directory):
9913 * fileio.c (Ffile_name_as_directory):
9914 * fileio.c (directory_file_name):
9915 * fileio.c (Fdirectory_file_name):
9916 * fileio.c (Fmake_temp_name):
9917 * fileio.c (Ffile_truename):
9918 * fileio.c (Fsubstitute_in_file_name):
9919 * fileio.c (expand_and_dir_to_file):
9920 * fileio.c (barf_or_query_if_file_exists):
9921 * fileio.c (check_executable):
9922 * fileio.c (Ffile_exists_p):
9923 * fileio.c (Ffile_writable_p):
9924 * fileio.c (Ffile_directory_p):
9925 * fileio.c (Ffile_regular_p):
9926 * fileio.c (Ffile_modes):
9927 * fileio.c (Ffile_newer_than_file_p):
9928 * fileio.c (Fverify_visited_file_modtime):
9929 * fileio.c (Fset_visited_file_modtime):
9930 * fileio.c (auto_save_1):
9935 * frame-msw.c (mswindows_init_frame_1):
9936 * frame-msw.c (mswindows_enable_frame):
9937 * frame-msw.c (error_frame_unsizable):
9938 * frame-msw.c (msprinter_init_frame_1):
9939 * frame-msw.c (msprinter_init_frame_3):
9940 * frame-msw.c (console_type_create_frame_mswindows):
9942 implement new enable/disable frame methods.
9945 * frame-x.c (x_enable_frame):
9946 * frame-x.c (console_type_create_frame_x):
9947 implement new enable/disable frame methods.
9950 * frame.c (Fdisable_frame):
9951 * frame.c (syms_of_frame):
9952 * frame.h (struct frame):
9953 implement new enable/disable frame methods/functions.
9958 * glyphs-msw.c (mswindows_widget_instantiate):
9959 comment that initial-focus should be implemented.
9962 * glyphs-widget.c (check_valid_instantiator):
9963 * glyphs-widget.c (check_valid_orientation):
9964 * glyphs-widget.c (check_valid_tab_orientation):
9965 * glyphs-widget.c (check_valid_justification):
9966 * glyphs-widget.c (check_valid_border):
9967 * glyphs-widget.c (check_valid_callback):
9968 * glyphs-widget.c (check_valid_int_or_function):
9969 * glyphs-widget.c (check_valid_string_or_vector):
9970 * glyphs-widget.c (check_valid_item_list_1):
9971 * glyphs-widget.c (widget_validate):
9972 * glyphs-widget.c (combo_box_validate):
9973 * glyphs-widget.c (widget_instantiate):
9974 * glyphs-widget.c (syms_of_glyphs_widget):
9975 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
9976 * glyphs-widget.c (image_instantiator_combo_box):
9977 * glyphs-widget.c (image_instantiator_scrollbar):
9978 * glyphs-widget.c (image_instantiator_tab_control):
9979 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
9981 support (unimplemented) keyword initial-focus.
9982 reindent long macros.
9984 * glyphs-x.c (x_redisplay_widget):
9985 * glyphs-x.c (x_button_instantiate):
9986 * glyphs-x.c (x_button_redisplay):
9987 * glyphs-x.c (x_progress_gauge_instantiate):
9988 * glyphs-x.c (x_edit_field_instantiate):
9989 * glyphs-x.c (x_combo_box_instantiate):
9990 * glyphs-x.c (x_tab_control_instantiate):
9991 * glyphs-x.c (x_label_instantiate):
9993 * gui-x.c (button_item_to_widget_value):
9994 * gui-x.c (gui_items_to_widget_values_1):
9995 * gui-x.c (gui_item_children_to_widget_values):
9996 * gui-x.c (gui_items_to_widget_values):
9998 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9999 add new flag to gui-parsing routines to indicate whether
10000 accelerator specs should be supported.
10002 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
10004 * glyphs.h (struct Lisp_Image_Instance):
10005 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
10006 add initial-focus flag.
10009 * gui.c (syms_of_gui):
10010 * gui.c (vars_of_gui):
10011 clean up menu-no-selection-hook.
10014 support delete-dialog-box-hook.
10016 * lread.c (Fload_internal):
10017 * lread.c (locate_file_in_directory_mapper):
10021 * lrecord.h (struct toolbar_button):
10022 * lrecord.h (syms_of_toolbar):
10023 document how to create a new object.
10025 * menubar-msw.c (mswindows_char_is_accelerator):
10026 may be called on frames w/o menus.
10028 * menubar.c (vars_of_menubar):
10029 clean up :filter docs.
10036 * process-nt.c (validate_signal_number):
10037 * process-nt.c (signal_cannot_launch):
10038 * process-nt.c (nt_create_process):
10039 * process-nt.c (nt_send_process):
10040 * process-nt.c (nt_kill_child_process):
10041 * process-nt.c (nt_open_network_stream):
10042 * process-nt.c (syms_of_process_nt):
10044 delete quote-handling. call new lisp code that does it better.
10046 * process-unix.c (connect_to_file_descriptor):
10047 * process-unix.c (allocate_pty):
10048 * process-unix.c (unix_send_process):
10049 * process-unix.c (unix_kill_child_process):
10050 * process-unix.c (unix_open_network_stream):
10051 * process-unix.c (unix_open_multicast_group):
10055 * process.c (Fstart_process_internal):
10056 (2). need to canonicalize process path even if absolute.
10058 * select-msw.c (symbol_to_ms_cf):
10059 * select-msw.c (ms_cf_to_symbol):
10060 * select-msw.c (cf_is_autofreed):
10061 * select-msw.c (mswindows_destroy_selection):
10063 * select.c (syms_of_select):
10065 support dibv5, fix bugs. (from Mike Alexander)
10067 * select.c (Fget_selection_internal):
10068 * select.c (select_convert_out):
10071 * sysdep.c (xemacs_stat):
10074 * sysdep.c (mkdir):
10075 * sysdep.c (rmdir):
10076 but keep original stat() here because we provide encapsulation
10080 * sysfile.h (fstat):
10081 remove stat garbage.
10084 fix X/MSW conflict.
10085 don't include tchar.h. it's inappropriate because it makes
10086 compile-time distinctions when we want runtime distinctions.
10087 (we provide our own tchar replacements)
10090 use default object printer for toolbar-button.
10093 make sure we don't encapsulate.
10095 * window.c (vars_of_window):
10096 emphasize that temp-buffer-show-hook is obsolete.
10098 2000-08-05 Martin Buchholz <martin@xemacs.org>
10100 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
10101 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
10103 * events.c (Fevent_timestamp_lessp):
10104 Not 64-bit clean. Use EMACS_INT, not int.
10106 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
10108 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
10109 unsigned int and changed the last enum to
10110 lrecord_type_last_built_in_type.
10111 (lrecord_implementations_table): changed prototype to know how
10112 long the array is supposed to be.
10113 (lrecord_type_count): new unsigned int to keep track of the
10114 current number of lisp lrecord types.
10115 (DEFINE_EXTERNAL_LRECORD):
10116 (DECLARE_EXTERNAL_LRECORD): Added these two for external
10117 dynamic-modules to declare new lisp types. They are the same
10118 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
10119 int for each new type, and increment lrecord_type_count by 1.
10121 * alloc.c (lrecord_implementations_table): Changed to reference
10122 lrecord_type_last_built_in_type for the size of the array.
10123 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
10125 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
10127 * glyphs.h (check_valid_item_list): Renamed from
10128 check_valid_item_list_1.
10130 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
10132 * select.c (Qselect_coerce): New.
10133 * select.c (Vselection_coercion_alist): New.
10134 * select.c (syms_of_select): Declare.
10135 * select.c (get-selection-internal): Use it.
10136 Use the new select-coerce functionality.
10138 * select.c (select_coerce): New.
10139 * select.h (select_coerce): Declare.
10140 New function to coerce one type of data into another.
10142 2000-08-03 Martin Buchholz <martin@xemacs.org>
10144 * callproc.c (Fcall_process_internal):
10145 (Fcall_process_internal):
10146 * process-unix.c (unix_create_process):
10147 Save and restore the value of errno, so that error messages are accurate.
10149 2000-08-01 Martin Buchholz <martin@xemacs.org>
10151 * elhash.c (print_hash_table):
10152 Fix printing of hash tables to also use `key-and-value' instead of `t'.
10153 Prettify docstrings and indentation.
10155 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
10157 * window.c (Fwindow_pixel_edges): Subtract frame border and
10160 2000-07-31 Andy Piper <andy@xemacs.org>
10162 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
10163 will acknowledge the change.
10165 * glyphs.h: declare tab_control_order_only_changed.
10167 * glyphs-x.c (x_tab_control_redisplay): use
10168 tab_control_order_only_changed.
10170 * glyphs-widget.c (tab_control_order_only_changed): new function.
10172 * glyphs-msw.c (mswindows_tab_control_redisplay): use
10173 tab_control_order_only_changed.
10175 * gui.c (gui_item_equal_sans_selected): new function.
10176 (gui_item_equal): use it.
10178 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
10179 :properties in favor of :items..
10181 * glyphs-widget.c (check_valid_item_list): rename from
10182 check_valid_item_list_1.
10183 (check_valid_item_list_1): renamed.
10184 (combo_box_validate): deprecate :properties in favor of :items.
10185 (widget_instantiate): ditto.
10186 (tab_control_update): ditto.
10187 (image_instantiator_combo_box): ditto.
10188 (image_instantiator_tree_view): ditto.
10189 (image_instantiator_tab_control): ditto.
10190 (layout_post_instantiate): remove dead code.
10192 * print.c (debug_print_no_newline): only write to debugger if in
10195 * elhash.c (Fmake_hash_table): update doc string.
10197 * event-msw.c (mswindows_wnd_proc): don't allow processing of
10198 messages whilst in GC. This at least stops XEmacs crashing but has
10199 the potential for wierd behaviour.
10201 2000-07-31 Martin Buchholz <martin@xemacs.org>
10204 Make existence of s&m files optional.
10206 * s/bsd386.h: Remove HAVE_GETLOADAVG.
10207 * s/freebsd.h: Remove HAVE_GETLOADAVG.
10208 * s/gnu.h: Remove HAVE_GETLOADAVG.
10209 * s/netbsd.h: Remove HAVE_GETLOADAVG.
10210 * s/sol2.h: Remove HAVE_GETLOADAVG.
10211 * lisp.h: Remove getloadavg() declaration.
10213 Include <sys/loadavg.h> if available.
10214 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
10215 * config.h.in: Group together getloadavg()-related macros.
10216 Use only configure-time tests to detect getloadavg().
10218 2000-07-30 Martin Buchholz <martin@xemacs.org>
10220 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
10222 2000-07-25 Andy Piper <andy@xemacs.org>
10224 * syswindows.h: add tchar.h for native builds.
10226 * frame.c (syms_of_frame): remove set-glyph-image.
10228 * general-slots.h: add Qset_glyph_image.
10230 * glyphs-widget.c (layout_update): add domain arg to
10232 (syms_of_glyphs_widget): remove set-glyph-image.
10234 2000-07-23 Ben Wing <ben@xemacs.org>
10236 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
10239 2000-07-22 Andy Piper <andy@xemacs.org>
10241 * symsinit.h: add syms_of_win32().
10243 * gui-msw.c (syms_of_gui_mswindows): remove
10244 Fmswindows_shell_execute.
10245 (Fmswindows_shell_execute): moved to win32.c.
10247 * emacs.c (main_1): add syms_of_win32 ().
10249 * win32.c (init_potentially_nonexistent_functions): rewrite in
10250 compiler-friendly terms.
10251 (Fmswindows_shell_execute): move here from gui-msw.c.
10252 (syms_of_win32): new.
10254 * device-msw.c (Fmswindows_printer_list): clean up args to
10256 Don't include tchar under cygwin or mingw.
10257 (msprinter_default_printer): make cygwin-friendly.
10259 2000-07-21 Andy Piper <andy@xemacs.org>
10261 * glyphs-widget.c (image_instantiator_tree_view): use tab
10262 control's update function.
10263 (layout_property): new function. Retrieve items.
10265 * glyphs-msw.c (mswindows_tree_view_redisplay): new
10266 function. Re-populate the tree view from the pending items.
10268 * glyphs.c (instantiate_image_instantiator): Make sure the domain
10269 is designated the parent if the domain is an image instance. This
10270 is needed so that dirtiness can be cascade up the hierarchy and
10271 thus for layout children to be redisplayed correctly.
10272 (allocate_image_instance): rename glyph -> parent.
10274 * redisplay.h: change redisplay_output_layout signature.
10276 * redisplay-msw.c (mswindows_output_display_block): use domain
10279 * redisplay-x.c (x_output_display_block): use domain arg.
10281 2000-07-10 Andy Piper <andy@xemacs.org>
10283 * window.c (Fset_window_configuration): add comment.
10285 * redisplay-output.c (compare_runes):
10286 (redisplay_output_subwindow): redisplay rather than update subwindow.
10287 (redisplay_output_layout): ditto.
10289 * redisplay-msw.c (mswindows_frame_output_end):
10290 (mswindows_frame_output_end): make defer window pos optional.
10292 * lisp.h: add Flast.
10294 * glyphs.h (struct image_instantiator_methods): add dest_mask top
10295 normalize method. Change update method to be for changed
10296 instantiators. Add redisplay method. Change signature of layout
10298 (struct Lisp_Image_Instance): add instantiator.
10299 (IMAGE_INSTANCE_INSTANTIATOR): new.
10300 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
10301 (XIMAGE_INSTANCE_INSTANTIATOR): new.
10302 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
10305 (find_instantiator_differences): new function.
10306 (Fset_instantiator_property): new convenience function.
10307 (check_image_instance_structure): strictly check for vector
10309 (normalize_image_instantiator): make non-static.
10310 (instantiate_image_instantiator): pass on dest_mask and use new
10311 signatures for image_instance_layout and friends.
10312 (mark_image_instance): mark the instantiator. Mark the subwindow
10313 face not the widget face.
10314 (image_instance_equal): add instantiator.
10315 (image_instance_hash): ditto.
10316 (allocate_image_instance): ditto.
10317 (Fset_image_instance_property): removed.
10318 (Fimage_instance_file_name): ditto.
10319 (Fcolorize_image_instance): ditto.
10320 (image_instance_layout): add offsets to be set.
10321 (update_image_instance): new function. update an image instance
10322 from its changed instantiator.
10323 (inherit_normalize): add dest_mask.
10324 (xbm_normalize): ditto.
10325 (xface_normalize): ditto.
10326 (xpm_normalize): ditto.
10327 (text_update): set_property -> update.
10328 (image_instantiate): use the glyph identity as a hash key, not the
10330 (glyph_width): use new image_instance_layout signature.
10331 (glyph_ascent): ditto.
10332 (glyph_descent): ditto.
10333 (glyph_height): ditto.
10334 (glyph_query_geometry): ressurrect.
10335 (glyph_layout): ditto.
10336 (redisplay_subwindow): update -> redisplay.
10337 (syms_of_glyphs): add Fset_instantiator_property.
10338 (image_instantiator_format_create): set_property -> update.
10341 (autodetect_normalize): add dest_maks to signature.
10342 (x_redisplay_subwindow): update -> redisplay.
10343 (x_redisplay_widget): ditto.
10344 (x_button_redisplay): ditto.
10345 (x_progress_gauge_redisplay): ditto.
10346 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
10348 (console_type_create_glyphs_x): update -> redisplay.
10349 (image_instantiator_format_create_glyphs_x): ditto.
10352 (check_valid_instantiator): disallow glyphs in the instantiator,
10353 they must now be vectors.
10354 (check_valid_instantiator_list): ditto.
10355 (glyph_instantiator_to_glyph): use internal symbol rather than
10357 (widget_update): renamed from widget_set_property. Call cascaded
10359 (redisplay_widget): renamed from update_widget.
10360 (widget_layout): image_instance_layout now takes position as well
10362 (widget_normalize): ditto.
10363 (widget_instantiate): ditto.
10364 (tab_control_query_geometry) ditto.:
10365 (tab_control_update): renamed from tab_control_set_property.
10366 (progress_gauge_update): set_property -> update.
10367 (layout_normalize): rewrite so that child instantiators are
10369 (layout_update): new function. Create glyphs from the normalized
10370 children and cope with any other layout keywords. We do not
10371 instantiate children here that will be take care of by
10372 redisplay_output_layout.
10373 (layout_instantiate): call layout_update and not much else.
10374 (layout_post_instantiate): not sure whether this is needed
10376 (layout_query_geometry): query glyph geometry rather than
10377 image_instance geometry.
10378 (layout_layout): set offsets from pass in parameters. Use glyph
10379 geometry and layout functions rather than image instance ones.
10380 (native_layout_layout): ditto.
10381 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
10382 (image_instantiator_widget): set_property -> update.
10383 (image_instantiator_buttons): ditto.
10384 (image_instantiator_progress_guage): ditto.
10385 (image_instantiator_tab_control): ditto.
10386 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
10387 (image_instantiator_layout): add update method.
10389 * glyphs-msw.c (bmp_normalize):
10390 (mswindows_resource_normalize): add dest_mask so that it can be
10391 proprogated by layout_normalize.
10392 (begin_defer_window_pos): make optional because it may not be the
10393 right thing to do and it introduces differences with X.
10394 (mswindows_unmap_subwindow): ditto.
10395 (mswindows_map_subwindow): ditto.
10396 (mswindows_redisplay_subwindow): renamed from
10397 mswindows_update_subwindow.
10398 (mswindows_redisplay_widget): ditto.
10399 (mswindows_button_redisplay): renamed from
10400 mswindows_button_update. Update is now what the instantiation
10401 function does for a changed instantiator.
10402 (mswindows_progress_gauge_instantiate): set the progress value
10403 here if appropriate.
10404 (mswindows_tab_control_redisplay): cope with re-ordering of the
10405 members of the tab widget by simply selecting the new top
10406 widget. This makes things appear ok if you click on a tab.
10407 (mswindows_combo_box_instantiate): image_instance_layout now takes
10408 position as well as size.
10409 (mswindows_progress_gauge_redisplay): renamed from
10410 mswindows_progress_gauge_update.
10411 (console_type_create_glyphs_mswindows): fix update -> redisplay.
10412 (image_instantiator_format_create_glyphs_mswindows): ditto.
10414 * glyphs-eimage.c (jpeg_normalize):
10417 (tiff_normalize): add dest_mask so that it can be proprogated by
10421 (print_hash_table):
10422 (hash_table_weakness_validate):
10423 (decode_hash_table_weakness):
10424 (Fhash_table_weakness):
10425 (Fhash_table_type):
10426 (syms_of_elhash): use Ben's naming scheme for hashtable types..
10428 * console.h (struct console_methods): move update_* to
10431 2000-07-20 Ben Wing <ben@xemacs.org>
10433 * *.[ch] (XSETOBJ): remove unused middle argument.
10434 lisp-disunion.h: correct wrap_object() to one argument.
10436 2000-07-15 Ben Wing <ben@xemacs.org>
10439 * s/cygwin32.h (CYGWIN_CONV_PATH):
10440 Add missing logb prototype for v1.1.
10441 Use post-b20 names and alias to pre-b20 names when pre-b20.
10443 * s/windowsnt.h: [5].
10445 2000-07-15 Ben Wing <ben@xemacs.org>
10447 * Makefile.in.in (x_objs):
10448 * Makefile.in.in (sheap_objs):
10449 * Makefile.in.in (objs):
10450 added win32.o, cosmetic cleanups.
10452 * alloc.c (Fmake_byte_code):
10453 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
10454 etc. macros which declare their own args now.
10456 * alloc.c (syms_of_alloc):
10457 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
10460 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
10462 * buffer.c (Fget_file_buffer):
10463 Fixed GCPRO problem.
10465 * buffer.c (get_truename_buffer):
10466 Fixed comment about GC checking.
10468 * buffer.c (syms_of_buffer):
10469 Undeclared those dedicated frame funs.
10473 Define convenience macros for internal/external conversions.
10474 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
10475 and Qenvironment_variable_encoding for cleaner code.
10478 Remove dedicated-frame; in lisp.
10480 * bytecode.c (funcall_compiled_function):
10483 * bytecode.c (syms_of_bytecode):
10487 * console-msw.c (mswindows_show_console): Rewrote.
10489 * console-msw.c (Fmswindows_debugging_output): New.
10490 Sends to OutputDebugString (special MSWin debugger interface).
10492 * console-msw.c (Fmswindows_message_box):
10493 Fixed stupid bugs so it works when called from kill-emacs.
10495 * console-msw.c (syms_of_console_mswindows):
10496 Declare Fmswindows_debugging_output.
10499 New MSWin prototypes.
10501 * console-msw.h (struct mswindows_frame):
10502 New entry last-click-mods for improved button-modifier support.
10504 * console-msw.h (FRAME_MSWINDOWS_POPUP):
10505 New struct entry `popup' with corresponding accessor.
10508 * console-x.c (split_up_display_spec):
10509 * console-x.c (get_display_arg_connection):
10510 * console-x.c (x_semi_canonicalize_console_connection):
10511 * console-x.c (x_canonicalize_device_connection):
10512 [[[6]]]: Change char to more specific type.
10513 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
10515 * console-x.c (x_semi_canonicalize_console_connection):
10516 * console-x.c (x_canonicalize_device_connection):
10517 [[[9]]]: Fix up error signalling to use new structured error system.
10520 [[[4]]]: Define codesys aliases:
10521 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
10522 Qx_color_name_encoding, Qx_display_name_encoding.
10524 * console.h (struct console_methods):
10525 New method make_dialog_box_internal supersedes older
10526 popup_dialog_box method.
10529 Define many new errors, part of new structured errors.
10531 * data.c (init_errors_once_early):
10532 * data.c (syms_of_data):
10535 * device-msw.c (mswindows_init_device):
10536 [[[5]]]: Cleanup to support NT 3.51.
10538 * device-msw.c (decode_devmode): Cleanup.
10540 * device-msw.c (mswindows_handle_print_setup_dialog_box):
10541 * device-msw.c (mswindows_handle_print_dialog_box):
10542 * device-msw.c (mswindows_handle_page_setup_dialog_box):
10543 * device-msw.c (syms_of_device_mswindows):
10544 Delete the dialog box primitives recently introduced by Kirill and
10545 instead interface to general dialog box interface.
10548 * device-x.c (compute_x_app_name):
10549 * device-x.c (x_init_device):
10550 * device-x.c (Fx_valid_keysym_name_p):
10551 * device-x.c (Fx_set_font_path):
10555 * device.h (wrap_device): New.
10556 First of its kind; meant to replace XSETDEVICE.
10558 * dialog-msw.c: Many file-dialog symbols.
10560 * dialog-msw.c (mswindows_register_popup_frame): New.
10561 * dialog-msw.c (mswindows_is_dialog_msg): New.
10562 For supporting kbd traversal in dialog boxes.
10564 * dialog-msw.c (dialog_proc):
10565 Support hitting ESC in dialogs.
10567 * dialog-msw.c (struct):
10568 Common dialog box errors.
10570 * dialog-msw.c (handle_file_dialog_box): New.
10571 Add file dialog code.
10573 * dialog-msw.c (handle_question_dialog_box):
10574 Redo existing code to support new question dialog syntax.
10576 * dialog-msw.c (console_type_create_dialog_mswindows):
10577 We support new dialog console method.
10579 * dialog-msw.c (syms_of_dialog_mswindows):
10580 * dialog-msw.c (vars_of_dialog_mswindows):
10581 New file dialog symbols, vars.
10584 * dialog-x.c (maybe_run_dbox_text_callback):
10585 * dialog-x.c (dbox_descriptor_to_widget_value):
10586 * dialog-x.c (x_make_dialog_box_internal):
10587 * dialog-x.c (console_type_create_dialog_x):
10588 Mule-ize entire file.
10589 Redo to support question dialog syntax.
10593 * dialog.c (Fmake_dialog_box_internal):
10594 * dialog.c (syms_of_dialog):
10595 Kill old popup-dialog-box, replace with new primitive.
10596 Just call device method or signal error.
10598 * eldap.c (Fldap_open):
10599 * eldap.c (Fldap_search_basic):
10600 * eldap.c (Fldap_add):
10601 * eldap.c (Fldap_modify):
10606 * emacs.c (make_arg_list_1):
10607 * emacs.c (make_arg_list):
10608 Mule-ize call to dll_init().
10612 * emacs.c (make_argc_argv):
10613 * emacs.c (free_argc_argv):
10614 * emacs.c (init_cmdargs):
10615 * emacs.c (main_1):
10616 * emacs.c (Fkill_emacs):
10617 * emacs.c (Fdump_emacs):
10618 Update comments about what can be used in syms_* etc.
10619 Call init_win32() when necessary.
10620 Fix up MS Win dialog box in kill-buffer to actually work right.
10631 * eval.c (condition_case_3):
10633 * eval.c (function_argcount):
10634 * eval.c (funcall_lambda):
10637 * eval.c (type_error): New.
10638 * eval.c (maybe_type_error): New.
10639 * eval.c (continuable_type_error): New.
10640 * eval.c (maybe_continuable_type_error): New.
10641 * eval.c (type_error_with_frob): New.
10642 * eval.c (maybe_type_error_with_frob): New.
10643 * eval.c (continuable_type_error_with_frob): New.
10644 * eval.c (maybe_continuable_type_error_with_frob): New.
10645 New functions for use with structured errors.
10648 * event-Xt.c (x_event_to_emacs_event):
10649 Buttons are now modifiers too.
10651 * event-Xt.c (emacs_Xt_current_event_timestamp):
10652 Implement new event method.
10653 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
10656 * event-msw.c (ntpipe_shove_writer): [5].
10657 * event-msw.c (mswindows_enqueue_mouse_button_event):
10658 * event-msw.c (mswindows_drain_windows_queue):
10659 * event-msw.c (mswindows_wnd_proc): [7].
10660 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
10661 * event-msw.c (mswindows_modifier_state):
10662 Throughout: support new button modifiers.
10664 * event-msw.c (emacs_mswindows_current_event_timestamp):
10665 Implement new event method.
10666 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
10669 * event-stream.c (event_stream_current_event_timestamp): New.
10670 * event-stream.c (maybe_kbd_translate): New functionality.
10671 * event-stream.c (vars_of_event_stream):
10672 Document new kbd-translate-table functionality.
10674 * event-stream.c (Fcurrent_event_timestamp): New.
10675 New primitive for use in fabricated events.
10676 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
10678 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
10681 * events.c (Fmake_event):
10682 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
10686 * events.c (format_event_object): fix gcc warnings.
10688 * events.c (Fevent_timestamp): Document new primitives.
10690 * events.c (TIMESTAMP_HALFSPACE): New.
10692 * events.c (Fevent_timestamp_lessp): New. New primitive for
10693 comparing timestamps correctly (half-space algorithm).
10695 * events.c (Fevent_modifier_bits): Doc fix.
10697 * events.c (Fevent_modifiers): Major doc addition.
10698 * events.c (event_x_y_pixel_internal): Typo fix.
10699 * events.c (syms_of_events): Declare new primitives.
10702 Update long comment for button modifiers, timestamps.
10704 * events.h (struct event_stream):
10705 New current_event_timestamp method.
10708 * extents.c (extent_in_region_p):
10709 * extents.c (decode_extent):
10710 * extents.c (Fset_extent_parent):
10711 * extents.c (decode_map_extents_flags):
10715 * extents.c (struct extent_at_arg):
10716 * extents.c (decode_extent_at_flag):
10717 * extents.c (extent_at_mapper):
10718 * extents.c (extent_at_bytind):
10719 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
10720 * extents.c (Fextents_at): New primitive. [9].
10721 * extents.c (symbol_to_glyph_layout): [9].
10722 Support new primitive `extents-at'.
10725 * extents.c (get_text_property_bytind):
10726 extent_at_bytind has another arg.
10729 * extents.c (syms_of_extents): New primitive.
10731 * file-coding.c (Fmake_coding_system): [1].
10732 * file-coding.c (subsidiary_coding_system): fix gcc warning
10733 * file-coding.c (syms_of_file_coding): [2].
10735 * fileio.c (Fexpand_file_name):
10736 * fileio.c (Fsysnetunam):
10737 * fileio.c (Ffile_exists_p):
10738 * fileio.c (Ffile_executable_p):
10739 * fileio.c (Fverify_visited_file_modtime):
10742 * fileio.c (syms_of_fileio): [2].
10744 * filelock.c (lock_file_1):
10745 * filelock.c (current_lock_owner):
10746 * filelock.c (lock_if_free):
10747 * filelock.c (lock_file):
10748 * filelock.c (unlock_file):
10751 * fns.c (concat): Fix gcc warning.
10754 * fns.c (Fold_member):
10756 * fns.c (Fold_memq):
10757 * fns.c (memq_no_quit):
10759 * fns.c (Fold_assoc):
10761 * fns.c (Fold_assq):
10762 * fns.c (assq_no_quit):
10764 * fns.c (Fold_rassoc):
10766 * fns.c (Fold_rassq):
10767 * fns.c (rassq_no_quit):
10769 * fns.c (Fold_delete):
10771 * fns.c (Fold_delq):
10772 * fns.c (delq_no_quit):
10773 * fns.c (Fremassoc):
10774 * fns.c (Fremassq):
10775 * fns.c (remassq_no_quit):
10776 * fns.c (Fremrassoc):
10777 * fns.c (Fremrassq):
10778 * fns.c (remrassq_no_quit):
10779 * fns.c (Freverse):
10783 * frame-msw.c (mswindows_init_frame_1):
10784 * frame-msw.c (mswindows_delete_frame):
10785 Register popups with dialog code so keyboard traversing works.
10787 * frame-tty.c (tty_raise_frame_no_select): [1].
10790 * frame-x.c (x_set_frame_text_value):
10791 * frame-x.c (x_set_frame_properties):
10792 * frame-x.c (x_create_widgets):
10796 * frame.c (Fmouse_pixel_position): Minor doc fixes.
10798 * frame.h (wrap_frame): New.
10799 Macro like wrap_device.
10802 * general.c (SYMBOL):
10803 * general.c (syms_of_general):
10804 Major reorg. This is now just a wrapper and symbols themselves
10805 are listed in general-slots.h.
10807 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
10808 * glyphs-msw.c (mswindows_resource_instantiate): [5].
10810 * glyphs-msw.c (mswindows_native_layout_instantiate):
10811 Add DS_CONTROL so keyboard traversal will work.
10814 * glyphs-widget.c (syms_of_glyphs_widget):
10815 Move some symbols to general-slots.h.
10818 * glyphs-x.c (xbm_instantiate_1):
10819 * glyphs-x.c (x_xbm_instantiate):
10820 * glyphs-x.c (x_xface_instantiate):
10821 * glyphs-x.c (autodetect_instantiate):
10822 * glyphs-x.c (cursor_font_instantiate):
10823 * glyphs-x.c (x_update_widget):
10824 * glyphs-x.c (x_widget_instantiate):
10825 * glyphs.c (bitmap_to_lisp_data):
10826 * glyphs.c (pixmap_to_lisp_data):
10829 * glyphs.c (syms_of_glyphs):
10833 * gui-x.c (print_widget_value):
10834 * gui-x.c (menu_separator_style_and_to_external):
10835 * gui-x.c (add_accel_and_to_external):
10836 * gui-x.c (button_item_to_widget_value):
10837 * gui-x.c (gui_items_to_widget_values_1):
10838 * gui-x.c (gui_items_to_widget_values):
10839 * gui-x.c (syms_of_gui_x):
10840 * gui-x.c (vars_of_gui_x):
10841 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
10845 Muleize, prototype changes matching gui-x.c.
10848 * gui.c (separator_string_p):
10849 * gui.c (gui_item_add_keyval_pair):
10850 * gui.c (make_gui_item_from_keywords_internal):
10851 * gui.c (signal_too_long_error):
10852 * gui.c (parse_gui_item_tree_item):
10853 * gui.c (syms_of_gui):
10854 * gui.c (vars_of_gui):
10856 menu-no-selection-hook moved here (used by MSWin).
10857 Move some symbols to general-slots.h.
10861 * insdel.c (get_buffer_pos_char):
10862 * insdel.c (get_buffer_range_char):
10865 * keymap.c (keymap_lookup_directly):
10866 * keymap.c (keymap_store):
10867 * keymap.c (ensure_meta_prefix_char_keymapp):
10868 * keymap.c (describe_map):
10870 Support new button modifiers.
10872 * lisp-disunion.h (wrap_object):
10873 * lisp-disunion.h (XSETOBJ):
10874 Rename make_obj to wrap_object.
10877 * lisp-union.h (make_int):
10878 * lisp-union.h (make_char):
10879 Support wrap_object.
10882 * lisp.h (LIST_LOOP):
10883 * lisp.h (EXTERNAL_LIST_LOOP):
10884 * lisp.h (LIST_LOOP_2):
10885 * lisp.h (EXTERNAL_LIST_LOOP_1):
10886 * lisp.h (EXTERNAL_LIST_LOOP_2):
10887 * lisp.h (EXTERNAL_LIST_LOOP_3):
10888 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
10889 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
10890 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
10891 * lisp.h (EXTERNAL_ALIST_LOOP_5):
10892 * lisp.h (EXTERNAL_ALIST_LOOP_6):
10893 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
10894 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
10895 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
10896 * lisp.h (struct Lisp_Symbol):
10897 * lisp.h (maybe_continuable_error_with_frob):
10898 Fix up section comments.
10899 Add new types for char to indicate usage.
10900 Delete symbols auto-generated from general-slots.h.
10901 Add prototypes for structured error functions.
10902 Add long comments describing looping macros and change interface
10903 so that lvalues are automatically declared.
10904 Add NO_DECLARE macro in case callers want to declare lvalues
10907 * lread.c (read_syntax_error):
10908 * lread.c (continuable_read_syntax_error):
10909 * lread.c (read_structure):
10910 * lread.c (sequence_reader):
10911 * lread.c (read_list_conser):
10912 * lread.c (read_compiled_function):
10913 Rename syntax_error and continuable_syntax_error to avoid clash
10914 with same-named structured error functions.
10916 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
10917 * menubar-msw.c (populate_menu_add_item):
10918 * menubar-msw.c (populate_or_checksum_helper):
10923 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10924 Mule-ize whole file.
10926 * menubar.c (Fnormalize_menu_item_name): Add optimization.
10928 * mule-charset.c (Fmake_charset):
10929 * mule-wnnfns.c (Fwnn_set_param):
10932 * ntproc.c (create_child):
10933 * ntproc.c (Fwin32_set_current_locale):
10934 Add comments portending doom.
10937 * objects-msw.c (old_font_enum_callback_2):
10938 * objects-msw.c (font_enum_callback_1):
10939 * objects-msw.c (mswindows_enumerate_fonts):
10943 * objects-x.c (allocate_nearest_color):
10944 * objects-x.c (x_parse_nearest_color):
10945 * objects-x.c (x_initialize_color_instance):
10946 * objects-x.c (x_print_color_instance):
10947 * objects-x.c (x_finalize_color_instance):
10948 * objects-x.c (x_valid_color_name_p):
10949 * objects-x.c (x_initialize_font_instance):
10950 * objects-x.c (x_print_font_instance):
10951 * objects-x.c (valid_x_font_name_p):
10952 * objects-x.c (truename_via_FONT_prop):
10953 * objects-x.c (truename_via_random_props):
10954 * objects-x.c (truename_via_XListFonts):
10955 * objects-x.c (x_font_truename):
10956 * objects-x.c (x_font_instance_truename):
10957 * objects-x.c (x_font_instance_properties):
10958 * objects-x.c (x_list_fonts):
10959 * objects-x.c (x_find_charset_font):
10960 Mule-ize entire file.
10967 * print.c (std_handle_out_external):
10968 * print.c (debug_print_no_newline):
10969 * print.c (syms_of_print):
10970 Output to all debugger kinds in debug-print.
10971 Fix console-output code under MSWin to actually work.
10973 * process-nt.c (send_signal):
10974 * process-nt.c (nt_create_process):
10975 Use newer Unicode macros.
10977 * process-unix.c (unix_create_process):
10978 * process-unix.c (unix_canonicalize_host_name):
10979 * process-unix.c (unix_open_network_stream):
10985 * search.c (syms_of_search):
10988 * select-msw.c (mswindows_destroy_selection):
10991 * select-x.c (symbol_to_x_atom):
10994 * select.c (syms_of_select):
10997 * sound.c (Fplay_sound_file):
11001 * specifier.c (decode_specifier_type):
11002 * specifier.c (Fvalid_specifier_locale_type_p):
11003 * specifier.c (check_valid_locale_or_locale_type):
11004 * specifier.c (decode_locale):
11005 * specifier.c (decode_locale_type):
11006 * specifier.c (decode_locale_list):
11007 * specifier.c (check_valid_domain):
11008 * specifier.c (decode_specifier_tag_set):
11009 * specifier.c (Fcanonicalize_tag_set):
11010 * specifier.c (Fdefine_specifier_tag):
11011 * specifier.c (Fspecifier_tag_predicate):
11012 * specifier.c (check_valid_inst_list):
11013 * specifier.c (check_valid_spec_list):
11014 * specifier.c (decode_how_to_add_specification):
11015 * specifier.c (check_modifiable_specifier):
11016 * specifier.c (specifier_add_spec):
11017 * specifier.c (boolean_validate):
11018 * specifier.c (display_table_validate):
11021 * specifier.c (syms_of_specifier):
11022 Move some symbols to general-slots.h.
11026 * symbols.c (Fmapatoms):
11027 * symbols.c (Fapropos_internal):
11030 * symbols.c (set_default_buffer_slot_variable):
11031 * symbols.c (set_default_console_slot_variable):
11034 * symbols.c (defsymbol_massage_name_1):
11035 * symbols.c (defkeyword_massage_name):
11036 * symbols.c (deferror_1):
11037 * symbols.c (deferror):
11038 * symbols.c (deferror_massage_name_and_message):
11040 * symeval.h (DEFSYMBOL):
11041 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
11043 * symbols.c (syms_of_symbols):
11047 * symsinit.h (init_win32): New.
11048 Also new is syms_of_dialog_mswindows.
11051 Add new Unicode macros, missing Cygwin wide-char functions,
11052 convenience conversion macros for Qmswindows_tstr, macros for
11053 encapsulating required MSWin <-> Cygwin filename conversions,
11054 prototype for dynamically-extracted (not in NT 3.51) functions.
11059 * tooltalk.c (Fadd_tooltalk_message_arg):
11060 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
11061 * tooltalk.c (Fadd_tooltalk_pattern_arg):
11064 * tooltalk.c (syms_of_tooltalk):
11068 * unexnt.c (unexec):
11069 Fix up headers, declaration of unexec() to be more standard.
11071 2000-07-20 Martin Buchholz <martin@xemacs.org>
11073 * offix.h: Revert change to guard macros - they're used in offix.c!
11075 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11077 * lisp.h: Defsubred Fdelete.
11079 * console-msw.h: (msprinter_default_printer): Added.
11081 * console-msw.c (msprinter_canonicalize_console_connection):
11082 (msprinter_canonicalize_device_connection): Added.
11084 * device-msw.c (msprinter_default_printer):
11085 (Fmswingows_get_default_printer):
11086 (signal_enum_priner_error):
11087 (Fmswingows_printer_list): Added.
11089 2000-07-19 Martin Buchholz <martin@xemacs.org>
11091 * XEmacs 21.2.35 is released.
11093 2000-07-19 Martin Buchholz <martin@xemacs.org>
11095 * select-x.c (x_handle_selection_request):
11096 Text selected in xemacs and pasted into xterm failed to appear.
11097 Spelling fixes and cosmetic changes.
11099 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11101 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
11102 XEmacs frame (fix for doubling chars in dialog boxes).
11104 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
11106 * select.c (select_convert_in, select_convert_out):
11107 Don't call intern() every time.
11109 * select.c (Qselect_convert_in, Qselect_convert_out): New.
11110 * select.c (vars_of_select): Initialise them.
11112 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
11114 * select.c (selection-coercible-types): New.
11116 * select.c (own-selection-internal):
11117 * select.c (get-selection-internal):
11118 MULE bug fix - these should default to COMPOUND_TEXT and not
11119 STRING for MULE. I think.
11121 * select.c (select_convert_out): Use selection-coercible-types
11122 to find types that we can attempt to perform coercions on.
11124 2000-07-18 Martin Buchholz <martin@xemacs.org>
11128 Add coding: cookie to identify encoding.
11130 * mule-canna.c (CANNA_mode_keys): make static.
11131 Use proper prototypes, even for functions of no arguments.
11132 Remove external prototype for Fding().
11134 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
11136 * select.c (syms_of_select): Add missing DEFSUBR.
11138 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
11140 * select.c (get_selection_internal, own_selection_internal):
11141 Make the type default to STRING, rather than placing a nil type
11142 into Vselection_alist.
11144 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
11146 * gpmevent.c (tty_selection_exists_p):
11147 * gpmevent.c (tty_own_selection):
11148 Updated parameter lists.
11150 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
11152 * select.h (selection-alist): Removed declaration.
11154 * select.h (get_local_selection):
11155 * select.c (get_local_selection):
11158 * select.h (convert_selection): Removed declaration.
11159 * select.c (convert_selection): Removed.
11160 This function belongs in Lisp.
11162 * select.h (select_convert_in): Declare.
11163 * select.h (select_convert_out): Declare.
11164 * select.c (select_convert_in): New.
11165 * select.c (select_convert_out): New.
11166 New conversion functions for other files to call.
11168 * select.h (select_notify_buffer_kill): Declare.
11169 * select.c (select_notify_buffer_kill): New.
11170 New functions that get called from kill-buffer.
11172 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
11173 X-specific lisp code.
11175 * select.h: Declare some of the lisp-visible functions for
11178 * select.c (clean_local_selection_data): Removed. This was
11179 a disgusting function, and previously should have been in
11180 select-x.c in any case. The functionality is now provided
11181 in select-convert-from-integer (select.el).
11183 * select.c (available-selection-types): Fixed stupidity where
11184 INTEGER and ATOM got added twice. Also add STRING when we see an
11187 * select.c (get-selection-internal): Removed symbol stripping. No
11188 longer causes conversion when data comes from the internal cache.
11190 * select.c (syms_of_select): Added new functions.
11192 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
11193 error checking - previously this called abort!
11195 * select-x.c (x_own_selection): Changed comment.
11197 * select-x.c (x_handle_selection_request): Use select_convert_out.
11198 Don't mess with selection-alist; it's an internal variable of select.c.
11200 * select-x.c (x_get_foreign_selection): Use select_convert_in.
11202 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
11203 rather than messing with selection-alist.
11205 * select-msw.c (mswindows_get_foreign_selection):
11206 Use TO_INTERNAL_FORMAT rather than hacking.
11208 2000-07-14 Martin Buchholz <martin@xemacs.org>
11210 * process-unix.c (unix_open_multicast_group):
11211 (unix_open_multicast_group): Remove useless casts.
11213 2000-07-13 Martin Buchholz <martin@xemacs.org>
11215 * sound.c (Fplay_sound): Fix `unused variable' warning.
11217 * emacs.c (main): Use correct type for _environ on SCO5.
11219 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
11221 * console.h (own_selection_method):
11222 * console.h (selection_exists_p_method):
11223 * console.h (available_selection_types_method): New.
11224 * console.h (register_selection_data_type_method): New.
11225 * console.h (selection_data_type_name): New.
11227 * console-msw.h (mswindows_destroy_selection): Declare it. New
11228 function & alist to track GlobalAlloc()'d handles that need
11229 releasing when the clipboard data gets replaced or emptied.
11231 * event-msw.c (mswindows_wnd_proc): Call it.
11233 * lisp.h, general.c (Qappend): New symbol representing a
11236 * select.c (own-selection-internal):
11237 * select.c (selection-exists-p):
11238 * select.c (available-selection-types): New.
11239 * select.c (register-selection-data-type): New.
11240 * select.c (selection-data-type-name): New. New functions to deal
11241 with device-specific selection data formats.
11242 * select.c (selection-converter-out-alist): Renamed.
11243 * select.c (selection-converter-in-alist): New.
11244 * select.c (selection-appender-alist): New. Added new alists.
11245 * select.c (syms_of_select, vars_of_select): Added new symbols &
11247 * select.c (get_local_selection): Split.
11248 * select.c: Removed spurious type checking - selections may now be
11249 of any type, not just strings.
11250 * select.c (own-selection-internal):
11252 * select.h, select.c (convert_selection): New. Created
11253 convert_selection() function based on get_local_selection().
11254 * select.h, select.c (QCF_*): New symbols representing mswindows
11256 * select.h, select.c (Qreplace_all, Qreplace_existing): New
11257 symbols representing `how-to-add' modes.
11259 * select-msw.c (x_sym_p): New.
11260 * select-msw.c (symbol_to_ms_cf): New.
11261 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
11262 symbols & clipboard formats. Can also handle string names.
11263 * select-msw.c (mswindows_own_selection):
11264 * select-msw.c (mswindows_selection_exists_p):
11265 Added `data-type' parameter. Use it.
11266 * select-msw.c (mswindows_available_selection_types): New.
11267 * select-msw.c (mswindows_register_selection_data_type): New.
11268 * select-msw.c (mswindows_selection_data_type_name): New.
11269 * select-msw.c (mswindows_own_selection):
11270 * select-msw.c (mswindows_get_foreign_selection):
11271 * select-msw.c (mswindows_selection_exists_p): Rewrote.
11272 * select-msw.c (console_create_select_mswindows): Added new methods.
11273 * select-msw.c (mswindows_destroy_selection): New.
11274 * select-msw.c (Vhandle_alist): New list.
11275 * select-msw.c (mswindows_own_selection):
11277 * select-x.c (x_own_selection):
11278 * select-x.c (x_selection_exists_p):
11279 * select-x.c: Added some comments about maybe using new
11281 * select-x.c (x_own_selection):
11283 * specifier.c: Remove definition of Qappend (now in general.c)
11284 * specifier.c (syms_of_specifier): Remove Qappend.
11286 2000-07-12 Martin Buchholz <martin@xemacs.org>
11288 * config.h.in: Add socklen_t.
11290 * s/decosf4-0.h: No special compiler flags needed or desired.
11291 In particular, undefine _BSD for DEC OSF 4.0.
11293 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11295 * redisplay-msw.c (msprinter_frame_output_end): Added.
11296 (console_type_create_redisplay_mswindows): Referred the above.
11298 * frame.c (setup_frame_without_minibuffer): Do not create a
11299 default minibuffer frame on a printer device.
11301 * frame-msw.c (apply_dc_geometry): Added.
11302 (msprinter_start_page):
11303 (msprinter_init_frame_3):
11304 (msprinter_eject_page): Use it.
11306 * console-msw.h (struct msprinter_frame): Added pix_left and top,
11307 and removed residual duplex and orientation properties.
11309 2000-07-11 Martin Buchholz <martin@xemacs.org>
11311 * eval.c (function_argcount): Work around a DEC CC compiler bug.
11313 * unexalpha.c: Remove system prototypes from C sources!
11315 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
11317 * eval.c: Remove references to M-x edit-options in DEFUNs for
11318 `defvar' and `defconst'.
11320 2000-07-09 Martin Buchholz <martin@xemacs.org>
11322 * config.h.in: Remove SMART_INCLUDE hackery.
11324 PostgreSQL hacking:
11325 * config.h.in: Don't use SMART_INCLUDE.
11327 * postgresql.h: Include libpq-fe.h here. Fix typo.
11328 * inline.c: Simply #include "postgresql.h"
11330 - Don't use SMART_INCLUDE
11331 - Use simply "const".
11332 - Use standard doc string conventions.
11333 - Use correct type for result of PQstatus.
11335 2000-07-09 Martin Buchholz <martin@xemacs.org>
11337 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
11339 C++ compilation changes.
11340 * config.h.in (EXTERN_C): Define.
11341 * config.h.in (not): This is also a C++ keyword.
11342 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
11343 * cm.c: Use EXTERN_C.
11344 * redisplay-tty.c: Use EXTERN_C.
11345 * sysdep.c: Use EXTERN_C. Remove Gould support.
11347 2000-07-09 Martin Buchholz <martin@xemacs.org>
11349 * general.c: Remove duplicate definition for Qfunction.
11351 2000-07-08 Ben Wing <ben@xemacs.org>
11353 * device-msw.c (msprinter_init_device):
11354 * device-msw.c (sync_printer_with_devmode):
11355 * device-msw.c (handle_devmode_changes):
11356 * device-msw.c (print_dialog_worker):
11357 * device-msw.c (Fmsprinter_apply_settings):
11358 * device-msw.c (hash_devmode):
11359 * device-msw.c (Fmsprinter_settings_despecialize):
11360 use Qmswindows_tstr, not Qctext.
11362 * vm-limit.c (check_memory_limits):
11363 avoid infinite loop printing warning messages.
11365 2000-07-05 Craig Lanning <lanning@scra.org>
11367 * Makefile.in.in: Add support for including the Windows resources
11368 when building with the cygwin and mingw targets.
11370 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
11371 not set or not correct.
11372 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
11373 (init_initial_directory): Don't try to use $PWD on the
11374 WIN32_NATIVE target.
11377 [[Add -mwindows to eliminate console window.]] not required --ben
11378 (HAVE_NATIVE_SOUND): removed; now handled by configure.
11379 (MAIL_USE_POP): removed; now handled by configure.
11381 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
11382 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
11383 (HAVE_NATIVE_SOUND): removed; now handled by configure.
11384 (MAIL_USE_POP): removed; now handled by configure.
11385 (ENCAPSULATE_STAT): from Dan Holmsand, added.
11386 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
11387 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
11389 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
11390 up from <winsock.h> via systime.h.
11391 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
11392 (getpagesize): from Dan Holmsand, added.
11393 Added #endif which was left dangling by Ben's mega patch; added
11394 comment to help prevent this in the future.
11396 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
11398 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11400 * console-msw.h (struct mswindows_device): Removed unnecessary
11401 cached device geometry values.
11402 Added update_tick and an accessor macro.
11403 (Lisp_Devmode): Added lrecord declaration.
11404 (struct msprinter_device): Contain devmode as a Lisp object.
11405 Added mswindows_get_selected_frame_hwnd();
11407 * console.h (struct console_methods): Indentation nitpicking.
11409 * device-msw.c (mswindows_init_device): Do not initialize geometry
11410 cache. Initialize update tick.
11411 (mswindows_device_system_metrics): Ask the device for its geometry.
11412 (global_free_2_maybe):
11413 (devmode_to_hglobal):
11414 (handle_printer_changes):
11415 (ensure_not_printing):
11416 (print_dialog_worker):
11417 (Fmsprinter_print_setup_dialog):
11418 (Fmsprinter_print_dialog):
11419 (plist_get_margin):
11420 (plist_set_margin):
11421 (Fmsprinter_page_setup_dialog): Added functions.
11422 (sync_printer_with_devmode):
11423 (handle_devmode_changes):
11424 (Fmsprinter_get_settings):
11425 (Fmsprinter_select_settings):
11426 (Fmsprinter_apply_settings):
11427 (allocate_devmode):
11428 (Fmsprinter_settings_copy):
11429 (Fmsprinter_settings_despecialize):
11431 (finalize_devmode):
11433 (hash_devmode): Added functions
11434 (syms_of_device_mswindows): Init devmode lrecord class.
11436 * device.h: Added an exfun for find-device.
11438 * event-msw.c (mswindows_wnd_proc): Do not update the cached
11439 geometry; although, recreate the device compatible DC.
11441 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
11442 (msprinter_init_frame_3):
11443 (msprinter_frame_property):
11444 (msprinter_internal_frame_property_p):
11445 (msprinter_frame_properties):
11446 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
11447 print job properties (will move to device settings).
11449 * lisp.h: Added symbols.
11451 * general.c (syms_of_general): Declared them.
11453 * hash.c (string_hash): Added.
11455 * lrecord.h (lrecord_type): Added devmode lrecord type.
11457 2000-07-02 Mike Sperber <mike@xemacs.org>
11459 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
11462 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
11464 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
11467 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
11469 * data.c (Fstring_to_number): Don't recognize floating point if
11472 2000-06-22 Martin Buchholz <martin@xemacs.org>
11474 * glyphs-widget.c (tab_control_query_geometry):
11475 (widget_query_geometry):
11476 (button_query_geometry):
11477 * glyphs.c (text_query_geometry):
11478 Enforce type correctness.
11480 2000-06-18 Martin Buchholz <martin@xemacs.org>
11482 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
11483 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
11485 2000-06-17 Martin Buchholz <martin@xemacs.org>
11487 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
11488 conflicts with gcc's fixincluded version of FOO.h.
11490 * glyphs.h (image_instance_geometry): Remove trailing `,'
11492 2000-06-08 Mike Alexander <mta@arbortext.com>
11494 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
11495 (shove_thread): Don't write the same output twice
11496 (make_ntpipe_output_stream): Increase priority of shove thread
11497 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
11499 (ntpipe_shove_closer): Don't delete the pipe until we're done with
11502 2000-06-12 Ben Wing <ben@xemacs.org>
11504 * s\mingw32.h (sigset):
11505 * s\windowsnt.h (sigset):
11506 rename msw_ to mswindows_ for consistency with general convention.
11508 2000-06-12 Ben Wing <ben@xemacs.org>
11511 * console-msw.c (mswindows_get_console_hwnd):
11512 * console-msw.c (mswindows_ensure_console_allocated):
11513 * console-msw.c (mswindows_hide_console):
11514 * console-msw.c (mswindows_show_console):
11515 * console-msw.c (mswindows_ensure_console_buffered):
11516 * console-msw.c (mswindows_output_console_string):
11517 * console-msw.c (mswindows_windows9x_p):
11519 * device-msw.c (mswindows_get_workspace_coords):
11520 * device-msw.c (mswindows_device_system_metrics):
11521 * dialog-msw.c (mswindows_popup_dialog_box):
11522 * event-msw.c (mswindows_wnd_proc):
11523 * frame-msw.c (mswindows_size_frame_internal):
11524 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11525 * menubar-msw.c (displayable_menu_item):
11526 * menubar-msw.c (mswindows_char_is_accelerator):
11528 * nt.c (mswindows_sigset):
11529 * nt.c (mswindows_sigrelse):
11530 * nt.c (mswindows_sigpause):
11531 * nt.c (mswindows_raise):
11532 * nt.c (timer_proc):
11534 * ntproc.c (find_child_console):
11535 * ntproc.c (sys_kill):
11537 * print.c (std_handle_out_external):
11538 * process-nt.c (find_child_console):
11539 * process-nt.c (send_signal_the_95_way):
11540 * process-nt.c (ensure_console_window_exists):
11541 * process-nt.c (nt_create_process):
11543 rename msw_ to mswindows_ for consistency with general convention.
11547 include nt.h, not syswindows.h.
11549 * nt.c (mswindows_fstat):
11550 * nt.c (mswindows_stat):
11551 prefix mswindows_ instead of attempting to directly override the
11552 library functions. fix declarations.
11555 include syswindows.h. move some sysdep.h stuff here.
11558 include syswindows.h, not <windows.h>.
11566 * sysdep.c (sys_fstat):
11567 * sysdep.c (sys_stat):
11568 call mswindows versions when appropriate.
11571 move mswin decls to nt.h.
11574 add long comment describing appropriate use of the various windows
11577 2000-06-11 Ben Wing <ben@xemacs.org>
11579 * device-x.c: Correct doc string for sixth arg of x-get-resource.
11581 2000-06-10 Ben Wing <ben@xemacs.org>
11583 * Makefile.in.in (release):
11584 Correction to make sure xemacs.exe always dumped when correct.
11588 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
11590 * buffer.c (set_buffer_internal):
11591 [[[[2]]]]: Remove HAVE_FEP code.
11593 * buffer.c (init_initial_directory):
11597 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
11601 * callproc.c (call_process_cleanup):
11602 * callproc.c (Fold_call_process_internal):
11603 * callproc.c (child_setup):
11604 * callproc.c (getenv_internal):
11605 * callproc.c (init_callproc):
11606 * callproc.c (vars_of_callproc):
11607 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
11608 __CYGWIN32__ -> CYGWIN.
11609 DOS_NT -> WIN32_NATIVE.
11610 Remove MSDOS support/references, converting to WIN32_NATIVE
11612 __MINGW32__ -> MINGW.
11613 Fix windows.h includes.
11614 Remove bogus HAVE_NTGUI.
11620 mswindows_message_outputted added for use in allowing startup
11621 errors on the console to be seen.
11623 * console-msw.c (msw_ensure_console_allocated):
11624 * console-msw.c (msw_output_console_string):
11625 * console-msw.c (DHEADER):
11626 * console-msw.c (DOPAQUE_DATA):
11627 * console-msw.c (DEVENT):
11628 * console-msw.c (DCONS):
11629 * console-msw.c (DCONSCDR):
11630 * console-msw.c (DSTRING):
11631 * console-msw.c (DVECTOR):
11632 * console-msw.c (DSYMBOL):
11633 * console-msw.c (DSYMNAME):
11636 * console-stream.c (stream_init_console):
11637 Fix text/binary problems.
11640 * device-msw.c (mswindows_finish_init_device):
11641 * device-msw.c (mswindows_delete_device):
11644 * device.c (handle_asynch_device_change):
11648 * dgif_lib.c (DGifOpenFileName):
11649 * dgif_lib.c (DGifOpenFileHandle):
11650 * dgif_lib.c (DGifGetLine):
11651 * dgif_lib.c (DGifGetPixel):
11652 Added config.h/lisp.h, fix up includes.
11659 * dired.c (file_name_completion):
11660 * dired.c (Ffile_attributes):
11661 * dired.c (syms_of_dired):
11665 * dumper.c (pdump_file_unmap):
11666 * dumper.c (pdump_load):
11670 * editfns.c (Ftemp_directory):
11671 * editfns.c (user_login_name):
11672 * editfns.c (Fuser_real_login_name):
11673 * editfns.c (get_home_directory):
11676 * elhash.c (finish_marking_weak_hash_tables):
11677 [[[[5]]]]: Fix GCC warnings.
11680 * emacs.c (mswindows_handle_hardware_exceptions):
11681 * emacs.c (make_arg_list_1):
11682 * emacs.c (main_1):
11683 * emacs.c (Fkill_emacs):
11684 * emacs.c (Fdump_emacs):
11686 Fix problems with nested crashes, add long comment.
11688 * event-Xt.c (init_event_Xt_late):
11692 * event-msw.c (mswindows_dde_callback):
11693 * event-msw.c (mswindows_handle_sticky_modifiers):
11694 * event-msw.c (mswindows_wnd_proc):
11698 * events.c (character_to_event):
11702 * fileio.c (Ffile_name_directory):
11703 * fileio.c (Ffile_name_nondirectory):
11704 * fileio.c (directory_file_name):
11705 * fileio.c (Fexpand_file_name):
11706 * fileio.c (Fsubstitute_in_file_name):
11707 * fileio.c (Ffile_name_absolute_p):
11708 * fileio.c (check_executable):
11709 * fileio.c (Ffile_readable_p):
11710 * fileio.c (Ffile_accessible_directory_p):
11711 * fileio.c (Ffile_modes):
11712 * fileio.c (Funix_sync):
11713 * fileio.c (vars_of_fileio):
11716 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
11718 Expand getdefdir defn.
11719 Fix bogus rename() comment.
11721 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
11722 to use standard XEmacs include files, e.g. sysfile.h, rather
11723 than system-specific includes.
11729 * frame.c (vars_of_frame):
11733 * getloadavg.c (getloadavg):
11735 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
11736 (We don't use it elsewhere in the code; just add a comment.)
11743 * glyphs-msw.c (mswindows_resource_instantiate):
11746 * glyphs-x.c (x_native_layout_instantiate):
11749 * gui-msw.c (Fmswindows_shell_execute):
11758 * lread.c (locate_file_in_directory_mapper):
11765 * mem-limits.h (get_lim_data):
11777 * nt.c (rva_to_section):
11778 * nt.c (mswindows_executable_type):
11780 Fix closedir() defn.
11783 [[[[8]]]]: *_OK defs moved to sysfile.h.
11792 * print.c (std_handle_out_external):
11796 * process-nt.c (nt_create_process):
11798 try to fix process quoting somewhat.
11800 * process-unix.c (unix_create_process):
11804 * process.c (vars_of_process):
11811 * realpath.c (xrealpath):
11814 * redisplay-tty.c (init_tty_for_redisplay):
11824 * sheap.c (more_static_core):
11825 * sheap.c (report_sheap_usage):
11829 * signal.c (alarm_signal):
11836 * strftime.c (zone_name):
11839 * symsinit.h (init_sunpro):
11843 commctrl.h not in Cygwin b20.1.
11846 * sysdep.c (endif):
11847 * sysdep.c (sys_subshell):
11848 * sysdep.c (init_baud_rate):
11849 * sysdep.c (emacs_get_tty):
11850 * sysdep.c (emacs_set_tty):
11851 * sysdep.c (tty_init_sys_modes_on_device):
11852 * sysdep.c (init_system_name):
11853 * sysdep.c (sys_open):
11854 * sysdep.c (interruptible_open):
11855 * sysdep.c (sys_fopen):
11856 * sysdep.c (sys_mkdir):
11857 * sysdep.c (sys_rename):
11858 * sysdep.c (get_process_times_1):
11865 * sysdir.h (DIRENTRY_NONEMPTY):
11868 * sysdll.c (dll_init):
11874 added text/binary defs.
11880 * sysproc.h (EDESTADDRREQ):
11881 * sysproc.h (poll_fds_for_input):
11898 Always define WIN32_LEAN_AND_MEAN.
11900 * unexcw.c (unexec):
11904 * unexec.c (copy_text_and_data):
11905 * unexec.c (adjust_lnnoptrs):
11909 * unexnt.c (_start):
11912 2000-06-07 Ben Wing <ben@xemacs.org>
11914 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
11915 was used only as a model. We've long since extracted any useful
11916 logic or code out of this. (I just did an exhaustive search.)
11918 * s\msdos.h: Removed.
11920 * s\windows95.h: Removed.
11922 2000-06-10 Ben Wing <ben@xemacs.org>
11926 Don't use extern with fun defs.
11930 Remove nt\inc include.
11931 Remove getdisk, getdefdir. (The former is unused, the latter
11932 expanded in fileio.h.)
11935 * s\windowsnt.h (WIN32_NATIVE):
11936 * s\windowsnt.h (HAVE_STRCASECMP):
11938 Add long comment about preprocessor changes.
11939 Remove getdisk, getdefdir. (The former is unused, the latter
11940 expanded in fileio.h.)
11942 2000-06-10 Ben Wing <ben@xemacs.org>
11951 Remove bogus/unused NO_SOCK_SIGIO.
11953 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
11955 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
11958 2000-06-04 Mike Sperber <mike@xemacs.org>
11960 * casetab.c (set_case_table): For `set-standard-case-table',
11961 actually deposit the new case tables where the rest of XEmacs can
11964 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
11966 * data.c (Faset): Don't cast XCHAR() to unsigned char.
11968 2000-06-05 Ben Wing <ben@xemacs.org>
11970 * callproc.c (child_setup): Don't do close_load_descs() under
11971 MS Windows. Put in a comment explaining why.
11973 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
11975 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
11976 Toolkit shell" which breaks `kill-compilation' on Windows NT
11977 native, retaining STDERR handling improvements.
11979 2000-06-01 Andreas Jaeger <aj@suse.de>
11981 * s/s390.h: Support for S390, based on a patch by Martin
11982 Schwidefsky <schwidefsky@de.ibm.com>.
11984 2000-05-30 Andy Piper <andy@xemacs.org>
11986 * window.c (allocate_window):
11987 (make_dummy_parent):
11988 (Fset_window_configuration): use new hashtable type.
11990 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
11991 (struct image_instantiator_methods):
11992 (struct Lisp_Image_Instance): make instance geometry signed.
11994 * glyphs.c (instantiate_image_instantiator):
11995 (image_instance_query_geometry):
11996 (image_instance_layout):
11997 (image_instance_layout):
11998 (query_string_geometry):
11999 (text_query_geometry):
12000 (image_instantiate):
12001 (image_instantiate):
12002 (cache_subwindow_instance_in_frame_maybe):
12003 (subwindow_query_geometry): make instance geometry signed.
12005 * glyphs-widget.c (widget_query_geometry):
12007 (button_query_geometry):
12008 (tree_view_query_geometry):
12009 (tab_control_query_geometry):
12010 (layout_query_geometry):
12012 (native_layout_layout): make instance geometry signed.
12014 2000-05-29 Olivier Galibert <galibert@pobox.com>
12016 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
12019 * general.c (syms_of_general): Add Qfull_assoc symbol.
12021 * data.c (finish_marking_weak_lists): Mark full-assoc lists
12023 (decode_weak_list_type): Decode full-assoc type.
12024 (encode_weak_list_type): Encode full-assoc type.
12025 (Fmake_weak_list): Update doc string.
12027 2000-05-30 Andy Piper <andy@xemacs.org>
12029 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
12031 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
12032 (decode_hash_table_weakness): ditto.
12033 (Fhash_table_weakness): ditto.
12034 (Fhash_table_type): ditto.
12035 (finish_marking_weak_hash_tables): ditto.
12036 (hash_table_weakness_validate): ditto.
12037 (syms_of_elhash): ditto.
12039 2000-05-28 Martin Buchholz <martin@xemacs.org>
12041 * XEmacs 21.2.34 is released.
12043 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
12045 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
12047 (updating_line_start_cache): Gone.
12048 (regenerate_window): Replace resetting of VERTICAL_CLIP by
12049 generic code to force a minimum of 1 line laid out in the
12052 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
12054 * glyphs.c (instantiate_image_instantiator): Check for initialized
12055 height & width no longer special cases IMAGE_NOTHING.
12056 (nothing_instantiate): Set height and width of instance.
12058 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
12060 * unexelf.c (unexec): Search for ".data" section.
12061 Initialize new_data2_offset from old_data_index.
12062 Remove redundant check for ElfW.
12064 2000-05-23 Andy Piper <andy@xemacs.org>
12066 * glyphs.c (get_image_instantiator_governing_domain): allow more
12067 specific domains as the governing domain rather than expecting an
12068 exact match. This fixes problems with layouts.
12070 2000-05-22 Andy Piper <andy@xemacs.org>
12072 * redisplay-output.c (compare_runes): check for non-images
12074 * glyphs.c (set_glyph_dirty_p): ditto.
12075 (update_glyph_cachel_data): ditto.
12077 * glyphs-widget.c (layout_post_instantiate): ditto.
12078 (layout_post_instantiate): ditto.
12080 * event-msw.c (mswindows_wnd_proc): warning removal.
12082 2000-05-12 Craig Lanning <CraigL@DyCon.com>
12084 * s\mingw32.h: Added #undef for CLASH_DETECTION.
12086 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
12088 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
12090 * nt.c (rva_to_section): mingw32 needs rva_to_section.
12091 (mswindows_executable_type): mingw32 now has enough headers for
12094 2000-05-20 Andy Piper <andy@xemacs.org>
12096 * console-msw.c (mswindows_output_last_error): ; -> ,
12098 2000-05-12 Andy Piper <andy@xemacs.org>
12100 * console-msw.c (FROB): compare ints with ints.
12102 2000-05-11 Andy Piper <andy@xemacs.org>
12104 * glyphs-x.c (x_finalize_image_instance): make minimal build
12107 2000-05-20 Ben Wing <ben@xemacs.org>
12110 * event-Xt.c (vars_of_event_Xt):
12111 move modifier-keys-are-sticky to event-stream.c.
12114 * event-msw.c (mswindows_enqueue_mouse_button_event):
12115 * event-msw.c (key_needs_default_processing_p):
12116 * event-msw.c (XEMSW_LCONTROL):
12117 * event-msw.c (mswindows_handle_sticky_modifiers):
12118 * event-msw.c (FROB):
12119 * event-msw.c (clear_sticky_modifiers):
12120 * event-msw.c (output_modifier_keyboard_state):
12121 * event-msw.c (output_alt_keyboard_state):
12122 * event-msw.c (mswindows_wnd_proc):
12123 * event-msw.c (mswindows_modifier_state):
12124 * event-msw.c (emacs_mswindows_handle_magic_event):
12125 implement sticky modifiers.
12128 * event-stream.c (vars_of_event_stream):
12129 move modifier-keys-are-sticky here.
12132 add CHECK_FUNCTION.
12135 implement map-range-table.
12138 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
12140 * redisplay-tty.c (reset_tty_modes):
12141 (tty_redisplay_shutdown): Adjust argument type to
12142 tty_frame_output_end.
12144 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
12146 * eval.c (Fbacktrace): Don't output a line with only right
12149 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
12151 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
12152 (Fpq_reset_poll): Ditto.
12154 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
12156 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
12158 2000-05-16 Ben Wing <ben@xemacs.org>
12161 * buffer.c (dfc_convert_to/from_internal_format):
12162 * buffer.c (reinit_vars_of_buffer):
12163 Fix conversion functions to allow reentrancy.
12166 * console-msw.c (mswindows_output_last_error):
12167 New fun, generally useful -- output a human-readable
12168 version of GetLastError() on the console.
12171 * console-msw.h (struct mswindows_frame):
12172 Changes for DeferWindowPos. Declare mswindows_output_last_error().
12174 * console-stream.c (stream_output_begin):
12175 * console-stream.c (stream_output_end):
12176 * console-stream.c (stream_output_vertical_divider):
12177 * console-stream.c (stream_clear_region):
12178 * console-stream.c (stream_flash):
12179 * console-stream.c (console_type_create_stream):
12180 Delete blank stream methods, not needed.
12182 * console.h (struct console_methods):
12183 Split begin/end methods into window and frame.
12186 * event-msw.c (mswindows_handle_paint):
12187 * event-msw.c (output_alt_keyboard_state):
12188 * event-msw.c (mswindows_wnd_proc):
12189 * event-msw.c (vars_of_event_mswindows):
12190 Comment about problems with ignored-expose.
12191 Define mswindows-debug-events; not really implemented.
12193 * frame-msw.c (mswindows_init_frame_1):
12197 * glyphs-msw.c (begin_defer_window_pos):
12198 * glyphs-msw.c (mswindows_unmap_subwindow):
12199 * glyphs-msw.c (mswindows_map_subwindow):
12200 * glyphs-msw.c (mswindows_resize_subwindow):
12201 Use DeferWindowPos to reduce flashing when mapping/unmapping.
12203 * glyphs.c (make_image_instance_1):
12206 * gutter.c (Fredisplay_gutter_area):
12207 Use new begin/end methods.
12209 * lisp.h (Dynarr_new2):
12213 * redisplay-msw.c (mswindows_frame_output_begin):
12214 * redisplay-msw.c (mswindows_frame_output_end):
12215 * redisplay-msw.c (console_type_create_redisplay_mswindows):
12216 New begin/end methods -- handle DeferWindowPos.
12218 * redisplay-output.c (redisplay_move_cursor):
12219 * redisplay-output.c (redraw_cursor_in_window):
12220 * redisplay-output.c (redisplay_update_line):
12221 * redisplay-output.c (redisplay_output_window):
12222 New begin/end methods.
12225 * redisplay-tty.c (tty_frame_output_begin):
12226 * redisplay-tty.c (tty_frame_output_end):
12227 * redisplay-tty.c (console_type_create_redisplay_tty):
12228 New begin/end methods.
12231 * redisplay-x.c (x_window_output_begin):
12232 * redisplay-x.c (x_window_output_end):
12233 * redisplay-x.c (console_type_create_redisplay_x):
12234 New begin/end methods.
12236 * redisplay.c (redisplay_frame):
12237 * redisplay.c (Fredisplay_echo_area):
12238 New begin/end methods.
12239 use MAYBE_DEVMETH for clear_frame; it may not exist.
12241 * window.h (WINDOW_XFRAME):
12242 WINDOW_XFOO macros -- get locale and decode struct pointer.
12245 2000-05-12 Ben Wing <ben@xemacs.org>
12248 * emacs.c (ensure_no_quitting_from_now_on):
12249 * emacs.c (fatal_error_signal):
12250 * emacs.c (mswindows_handle_hardware_exceptions):
12252 * emacs.c (Fkill_emacs):
12253 * emacs.c (shut_down_emacs):
12254 * emacs.c (assert_failed):
12255 various improvements in fatal error handling.
12258 move preparing_for_armageddon to emacs.c.
12261 declare fatal_error_in_progress.
12264 * print.c (std_handle_out_external):
12265 * print.c (std_handle_out_va):
12266 * print.c (stderr_out):
12267 * print.c (stdout_out):
12268 use console under mswin when no standard output.
12269 don't do code conversion during fatal error.
12271 * scrollbar.c (Fscrollbar_page_up):
12272 * scrollbar.c (Fscrollbar_page_down):
12273 fix missing else. reindent.
12275 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
12279 * glyphs.h (GLYPH_CACHEL_DESCENT):
12280 (GLYPH_CACHEL_DESCENT):
12281 (GLYPH_CACHEL_DESCENT):
12282 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
12283 used in case these are inline functions.
12284 Use more absurd values to error check.
12286 include window.h for error check functions.
12288 2000-05-11 Ben Wing <ben@xemacs.org>
12290 * cmdloop.c (Freally_early_error_handler):
12291 Display message box under windows; otherwise, message will disappear
12292 before it can be viewed.
12295 * console-msw.c (Fmswindows_message_box):
12296 * console-msw.c (FROB):
12297 * console-msw.c (syms_of_console_mswindows):
12298 Define new fun `mswindows-message-box'.
12299 #### I will merge this into `popup-dialog-box'; just give me
12303 * general.c (syms_of_general):
12304 Some new symbols used in `mswindows-message-box'.
12307 * glyphs.c (Fset_image_instance_property):
12308 put warning in this fun.
12311 * glyphs.h (GLYPH_CACHEL_WIDTH):
12312 * glyphs.h (GLYPH_CACHEL_ASCENT):
12313 * glyphs.h (GLYPH_CACHEL):
12314 * glyphs.h (GLYPH_CACHEL_GLYPH):
12315 define error-checking versions to try to catch a bug i've seen --
12316 redisplay gets in an infinite loop because the glyph width of the
12317 continuation glyph is 65535.
12320 Extern message-box stuff.
12322 * window.c (allocate_window):
12323 * window.c (make_dummy_parent):
12324 * window.c (Fset_window_configuration):
12325 Use EQUAL not EQ for subwindow caches to make them work a bit
12326 better. (Something is still very broken.)
12329 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
12331 * glyphs.c (image_instantiate): Suppress gcc warnings.
12332 (Fmake_image_instance): Fix doc string.
12333 * specifier.c (Fmake_specifier): Ditto.
12335 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
12337 * paths.h.in (PATH_LOCK): Removed.
12338 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
12339 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
12341 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
12343 * fns.c (Ffeaturep): Update e-mail address in doc-string.
12344 Document (featurep '(and xemacs 21.02)).
12346 2000-05-09 Ben Wing <ben@xemacs.org>
12348 * buffer.c (complex_vars_of_buffer):
12349 update modeline-format doc.
12352 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
12355 timeline of all released versions of Emacs, for use in creating
12356 authorship comments and in synching up.
12358 * glyphs-widget.c (image_instantiator_buttons):
12359 * glyphs-widget.c (image_instantiator_edit_fields):
12360 * glyphs-widget.c (image_instantiator_combo_box):
12361 * glyphs-widget.c (image_instantiator_scrollbar):
12362 * glyphs-widget.c (image_instantiator_progress_guage):
12363 * glyphs-widget.c (image_instantiator_tree_view):
12364 * glyphs-widget.c (image_instantiator_tab_control):
12365 * glyphs-widget.c (image_instantiator_labels):
12366 * glyphs-widget.c (image_instantiator_layout):
12367 * glyphs-widget.c (image_instantiator_native_layout):
12368 rename decode_domain method to governing_domain.
12371 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
12372 * glyphs.c (add_entry_to_device_ii_format_list):
12373 make sure we don't put an entry more than once into the list.
12374 * glyphs.c (check_instance_cache_mapper):
12375 *************************************************************
12376 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
12378 *************************************************************
12379 * glyphs.c (get_image_instantiator_governing_domain):
12380 clean up, expand on new concept of governing domain.
12381 * glyphs.c (instantiate_image_instantiator):
12382 * glyphs.c (allocate_image_instance):
12383 use governing_domain instead of cache_domain in naming.
12384 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
12385 * glyphs.c (make_image_instance_1):
12386 * glyphs.c (Fmake_image_instance):
12387 allow for any domain (not just device), and process the
12388 governing domain correctly. very big doc fix.
12389 * glyphs.c (Fimage_instance_domain):
12390 new primitive, to retrieve the governing domain of an image instance.
12391 * glyphs.c (image_instantiate):
12392 use new governing_domain stuff. this fixes a crash you could get
12393 by instantiating certain widget glyphs in frame locales. (should
12394 signal an error instead of crashing.)
12395 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
12396 * glyphs.c (Fglyphp): clean up doc.
12397 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
12398 * glyphs.c (syms_of_glyphs):
12399 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
12400 * glyphs.c (image_instantiator_format_create): add some comments about
12402 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
12403 for current-display-table. (Apparently Hrjove implemented in 1998 a
12404 design I wrote up in 1996, but didn't update the doc string.)
12406 * glyphs.h: clean up a doc string.
12407 * glyphs.h (governing_domain):
12408 * glyphs.h (struct image_instantiator_methods):
12409 changes for governing_domain stuff.
12412 * gutter.c (Fgutter_specifier_p):
12413 * gutter.c (Fgutter_size_specifier_p):
12414 * gutter.c (Fgutter_visible_specifier_p):
12416 * objects.c (Fcolor_specifier_p):
12417 * objects.c (Ffont_specifier_p):
12418 * objects.c (Fface_boolean_specifier_p):
12419 doc strings moved to make-*-specifier.
12421 * redisplay.c (add_disp_table_entry_runes_1):
12422 * redisplay.c (generate_fstring_runes):
12423 * redisplay.c (screen):
12424 add random comments and doc strings.
12427 * specifier.c (Fmake_specifier):
12428 major overhaul of this doc string.
12430 * specifier.c (Fvalid_specifier_domain_p):
12431 comment about the bogosity of image instances being domains.
12432 * specifier.c (decode_domain):
12433 now non-static, used in glyphs.c.
12434 * specifier.c (specifier_instance):
12435 comment about the bogosity of image instances being domains.
12436 * specifier.c (Fgeneric_specifier_p):
12437 move doc string to make-generic-specifier.
12438 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
12442 * specifier.h (DOMAIN_FRAME):
12443 * specifier.h (DOMAIN_LIVE_P):
12444 * specifier.h (DOMAIN_XDEVICE):
12446 add comments about problems with these macros.
12447 prototype for decode_domain.
12450 * toolbar.c (Ftoolbar_specifier_p):
12451 move doc string to `make-toolbar-specifier'.
12453 * window.c (window_unmap_subwindows_cache_mapper):
12454 *************************************************************
12455 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
12457 *************************************************************
12459 2000-05-09 Andy Piper <andy@xemacs.org>
12461 * glyphs.h: declare reset_frame_subwindow_instance_cache.
12463 * window.c (Fset_window_configuration): reset the frame subwindow
12464 cache and re-initialize the window subwindow caches.
12466 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
12468 2000-05-09 Ben Wing <ben@xemacs.org>
12470 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
12473 2000-04-26 Mike Woolley <mike@bulsara.com>
12475 * ntheap.c: Changed recreate_heap to limit the amount reserved
12476 for the heap to that which is actually available. Also now
12477 displays a message box (with some dignostics) in the event that
12478 it still can't start.
12480 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
12482 * callproc.c (Fold_call_process_internal): GCPRO path
12484 2000-05-08 Jan Vroonhof <jan@xemacs.org>
12486 Patch by Bill Perry.
12488 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
12489 back data instead of #ifdef.
12490 (Fscrollbar_page_down): ditto.
12492 2000-05-07 Ben Wing <ben@xemacs.org>
12495 Kludge for defining Qmswindows_tstr.
12498 * nt.c (open_input_file):
12499 * nt.c (open_output_file):
12500 * nt.c (rva_to_section):
12501 * nt.c (mswindows_executable_type):
12502 Move all memory-mapped-file routines here (some were in unexnt.c,
12503 which is bad because they are used by process-nt.c, and unexnt
12504 won't be around when portable dumping). Synched the above routines
12508 Removed ifdef'd out bogus code.
12509 Fixed some prototypes.
12511 * nt.h (file_data):
12512 * nt.h (OFFSET_TO_RVA):
12513 * nt.h (RVA_TO_OFFSET):
12514 * nt.h (RVA_TO_PTR):
12515 Moved the memory-mapped-file structures, macros and prototypes
12516 here, to parallel nt.c. ntheap.h should really be removed
12517 entirely, and it's a non-portable-dumper specific file.
12519 * ntheap.h (round_to_next):
12520 Moved the memory-mapped-file structures, macros and prototypes
12523 * ntproc.c (compare_env):
12524 Moved rva_to_section and mswindows_executable_type to nt.c.
12525 Moved compare_env to process-nt.c.
12526 ntproc.c will die, one day.
12528 * ntproc.c (sys_spawnve):
12529 Account for win32_ -> mswindows_.
12532 * process-nt.c (struct nt_process_data):
12533 * process-nt.c (ensure_console_window_exists):
12534 * process-nt.c (compare_env):
12535 * process-nt.c (nt_create_process):
12536 * process-nt.c (nt_kill_process_by_pid):
12537 * process-nt.c (syms_of_process_nt):
12538 * process-nt.c (vars_of_process_nt):
12539 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
12540 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
12541 changes). Eliminate our old `nt-quote-process-args' mechanism.
12542 Synch up nt_create_process with FSF 20.6 sys_spawnve.
12543 Move compare_env here from ntproc.c.
12545 * process.c (Fprocess_send_region):
12546 Takes an optional fourth argument, BUFFER, which should fix some
12547 problems with call-process.
12550 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
12553 Move ICC_BAR_CLASSES to syscommctrl.h.
12554 Add preliminary macros for MSWindows/Mule. More to come.
12557 * unexnt.c (unexec):
12558 open_output_file moved to nt.c.
12561 2000-05-05 Andy Piper <andy@xemacs.org>
12563 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
12564 instance from the frame cache also since GC may catch up too late
12565 to make frame deletion sane.
12567 2000-05-04 Andy Piper <andy@xemacs.org>
12569 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
12570 (x_finalize_image_instance): ungcpro on deletion.
12572 * glyphs.c (image_instantiator_format_create): give pointers a
12573 query geometry method so that the geometry is at least set.
12575 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
12576 initialize layouts if using widgets.
12578 2000-05-03 Andy Piper <andy@xemacs.org>
12580 * nt.c: remove bogus reference to sysmmsystem.h
12582 * gui-x.c (popup_selection_callback): fix no selection abort.
12584 2000-05-02 Andy Piper <andy@xemacs.org>
12586 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
12587 (mswindows_widget_instantiate): ditto.
12589 * glyphs-widget.c (initialize_widget_image_instance): initialize
12590 children correctly.
12591 (widget_instantiate): cope with children and items in the same
12594 * glyphs.c (mark_image_instance): cope with children as a first
12596 (image_instance_equal): ditto.
12597 (image_instance_hash): ditto.
12598 (image_instance_changed): ditto.
12600 2000-04-30 Andy Piper <andy@xemacs.org>
12602 * glyphs.c (subwindow_query_geometry): new function. Return some
12604 (subwindow_instantiate): don't assign dimensions if none have been
12606 (image_instantiator_format_create): add subwindow_query_geometry.
12607 (print_image_instance): cope with layouts as widgets.
12609 2000-04-29 Andy Piper <andy@xemacs.org>
12611 * frame.c (delete_frame_internal): call
12612 free_frame_subwindow_instance_cache so that all subwindows are
12613 finalized before their parent.
12614 (mark_frame): remove subwindow_cachels.
12615 (Fmake_frame): remove subwindow_cachel manipulation.
12616 (allocate_frame_core): subwindow_instance_cache is a weak list.
12617 (delete_frame_internal): set subwindow_instance_cache to nil.
12619 * glyphs-msw.c (mswindows_finalize_image_instance): make double
12621 (mswindows_finalize_image_instance): use the device
12622 not the domain as the domain may have died already.
12624 * glyphs-x.c (x_finalize_image_instance): ditto.
12625 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
12628 * redisplay-output.c (redisplay_unmap_subwindows): update for
12629 subwindow instance cache as a weak list.
12630 (redisplay_unmap_subwindows_maybe): ditto.
12631 (redisplay_unmap_subwindows_except_us): ditto.
12633 * glyphs.c (unmap_subwindow): error checking will check the domain
12634 so don't deal with it here. Don't use cachels anymore.
12635 (map_subwindow): ditto.
12636 (update_subwindow_cachel_data): remove old accessor names.
12637 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
12638 (Fresize_subwindow): don't update cachel.
12639 (mark_subwindow_cachels):
12640 (update_subwindow_cachel_data):
12641 (add_subwindow_cachel):
12642 (get_subwindow_cachel_index):
12643 (update_subwindow_cachel):
12644 (reset_subwindow_cachels):
12645 (mark_subwindow_cachels_as_not_updated): deleted.
12646 (cache_subwindow_instance_in_frame_maybe): new function. Add a
12647 subwindow instance to the frame cache.
12648 (find_matching_subwindow): update for subwindow instance cache as
12650 (update_widget_instances): ditto.
12651 (image_instance_type_to_mask):inlined.
12652 (free_frame_subwindow_instance_cache): new function. finalize all
12653 subwindows that are instantiated.
12655 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
12656 of cachel information.
12657 (IMAGE_INSTANCE_DISPLAY_X):
12658 (IMAGE_INSTANCE_DISPLAY_Y):
12659 (IMAGE_INSTANCE_DISPLAY_WIDTH):
12660 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
12661 (XIMAGE_INSTANCE_DISPLAY_X):
12662 (XIMAGE_INSTANCE_DISPLAY_Y):
12663 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
12664 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
12665 remove subwindow_cachel structure and function references.
12666 (image_instance_type_to_mask): inline from glyphs.c
12668 * redisplay.c (redisplay_frame): remove subwindow_cachel
12671 * frame.h (struct frame): remove subwindow_cachels.
12672 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
12674 * frameslots.h: add subwindow_instance_cache.
12676 * window.c (replace_window): check subwindow cache of replacement.
12677 (window_unmap_subwindows_cache_mapper):
12678 (window_unmap_subwindows): new functions. Unmap all subwindows
12679 cached on this window.
12680 (mark_window_as_deleted): unmap all subwindows.
12682 2000-04-27 Andy Piper <andy@xemacs.org>
12684 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
12686 * glyphs-widget.c (widget_layout): return something.
12687 (layout_layout): return something. Fail if not initialized.
12688 (layout_query_geometry): ditto.
12689 (image_instantiator_native_layout): new function. Initialized the
12690 native layout type.
12691 (widget_instantiate): don't do layout stuff here.
12693 * glyphs.c (instantiate_image_instantiator): reorded calling or
12694 instantiate and post_instantiate with layout in between.
12695 (image_instance_layout): be more selective about deciding whether
12696 the layout has been done or not.
12698 * glyphs.h (struct image_instantiator_methods): return a value
12699 from layout_method.
12701 2000-04-26 Andy Piper <andy@xemacs.org>
12703 * glyphs.c (allocate_image_instance): make initial width and
12704 height unspecified. Set initialized to 0.
12706 * syscommctrl.h new file. Encapsulates commctrl.h.
12708 * syswindows.h new file. Encapsulates windows.h.
12710 * ntplay.c: use new syswindows.h and syscommctrl.h header.
12712 * console-msw.h: ditto.
12714 * redisplay-tty.c (tty_output_display_block): remove layout references.
12716 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
12717 window handle rather than just the frame.
12719 * glyphs.c (mark_image_instance): remove layout references.
12720 (print_image_instance): ditto.
12721 (image_instance_equal): ditto.
12722 (image_instance_hash): ditto.
12723 (decode_image_instance_type): ditto.
12724 (encode_image_instance_type): ditto.
12725 (image_instantiate): ditto.
12726 (allocate_glyph): ditto.
12727 (Fimage_instance_height): ditto.
12728 (Fimage_instance_width): ditto.
12729 (update_subwindow): ditto.
12731 * redisplay-x.c (x_output_display_block): recode for layouts as
12734 * redisplay-output.c (redisplay_output_layout): recode for layouts
12736 (compare_runes): remove layout references.
12738 * redisplay-msw.c (mswindows_output_display_block): recode for
12739 layouts as widgets.
12741 * glyphs-widget.c (image_instantiator_layout): remove
12742 layout_possible_dest_types.
12743 (layout_possible_dest_types): deleted.
12745 * glyphs.h (image_instance_type): remove layout references.
12746 (struct Lisp_Image_Instance): ditto. Add initialized flag.
12747 (IMAGE_INSTANCE_INITIALIZED): new accessor.
12748 (XIMAGE_INSTANCE_INITIALIZED): ditto.
12750 2000-04-25 Andy Piper <andy@xemacs.org>
12752 * glyphs-widget.c (image_instantiator_buttons):
12753 (image_instantiator_edit_fields):
12754 (image_instantiator_combo_box):
12755 (image_instantiator_scrollbar):
12756 (image_instantiator_progress_guage):
12757 (image_instantiator_tree_view):
12758 (image_instantiator_tab_control):
12759 (image_instantiator_labels):
12760 (image_instantiator_layout): call default post_instantiate method.
12761 (widget_post_instantiate): new function. Simply lays out the
12764 * glyphs.h (struct image_instantiator_methods): add
12765 post_instantiate method.
12767 * glyphs.c (instantiate_image_instantiator): add post_instantiate
12770 2000-04-23 Andy Piper <andy@xemacs.org>
12772 * glyphs.h (struct image_instantiator_methods): add
12773 decode_domain_method.
12774 (struct Lisp_Image_Instance): remove subwindow frame - it can be
12775 derived from the domain.
12776 (IMAGE_INSTANCE_FRAME): new accessor.
12777 (XIMAGE_INSTANCE_FRAME): ditto.
12779 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
12780 instead of _SUBWINDOW_FRAME.
12781 (finalize_image_instance): ditto.
12782 (Fimage_instance_foreground): ditto.
12783 (Fimage_instance_background): ditto.
12784 (image_instantiate): ditto.
12785 (update_subwindow_cachel): ditto.
12786 (update_subwindow): ditto.
12787 (unmap_subwindow): ditto.
12788 (map_subwindow): ditto
12789 (subwindow_instantiate): ditto.
12790 * glyphs-msw.c (mswindows_update_widget): ditto.
12791 (mswindows_progress_gauge_instantiate): ditto.
12792 (mswindows_tab_control_update): ditto.
12793 * glyphs-x.c (x_update_widget): ditto.
12794 (x_widget_instantiate): ditto.
12795 (x_tab_control_instantiate): ditto.
12796 (x_tab_control_update): ditto.
12797 * event-msw.c (mswindows_wnd_proc): ditto
12799 * glyphs-widget.c (image_instantiator_layout): use
12800 subwindow_decode_domain.
12801 (image_instantiator_buttons): ditto.
12802 (image_instantiator_edit_fields): ditto.
12803 (image_instantiator_combo_box): ditto.
12804 (image_instantiator_scrollbar): ditto.
12805 (image_instantiator_progress_guage): ditto.
12806 (image_instantiator_tree_view): ditto.
12807 (image_instantiator_tab_control): ditto.
12808 (image_instantiator_labels): ditto.
12809 (image_instantiator_layout): ditto.
12811 * glyphs.c: add instance error checking to many functions.
12812 (instantiate_image_instantiator): decode device from cache_domain.
12813 (image_instantiate): partially rewrite by using
12814 decode_image_instantiator_domain to determine what domain the
12815 instance needs to be cached in.
12816 (decode_image_instantiator_domain): new function. Determine what
12817 domain the image needs to be cached in.
12818 (check_window_subwindow_cache): new error checking function.
12819 (check_instance_cache_mapper): ditto.
12820 (check_image_instance_structure): ditto.
12821 (subwindow_decode_domain): new function. Encodes a window as a
12822 subwindow's cache domain.
12823 (image_instantiator_format_create): use it for text and
12826 2000-04-21 Andy Piper <andy@xemacs.org>
12828 * glyphs.c (image_instance_device): new function.
12829 (image_instance_frame): new function.
12830 (image_instance_window): new function.
12831 (image_instance_live_p): new function.
12833 * window.c (mark_window_as_deleted): reset the subwindow_instance_
12836 * glyphs.h (struct Lisp_Image_Instance): device->domain.
12837 (IMAGE_INSTANCE_DOMAIN): new accessor.
12838 (XIMAGE_INSTANCE_DOMAIN): ditto.
12840 * glyphs-x.c (x_finalize_image_instance): device->domain.
12842 * glyphs-msw.c (init_image_instance_geometry): device->domain.
12843 (mswindows_finalize_image_instance): ditto.
12845 * glyphs-eimage.c (jpeg_instantiate): device->domain.
12846 (gif_instantiate): ditto.
12847 (png_instantiate): ditto.
12848 (tiff_instantiate): ditto.
12850 * glyphs.c (instantiate_image_instantiator): use domain rather
12852 (mark_image_instance): device -> domain.
12853 (print_image_instance): ditto.
12854 (finalize_image_instance): ditto.
12855 (image_instance_equal): ditto.
12856 (allocate_image_instance): ditto.
12857 (Fcolorize_image_instance): ditto.
12858 (query_string_geometry): ditto.
12859 (image_instantiate): ditto
12860 (query_string_font): ditto.
12861 (image_instantiate): ditto.
12862 (update_subwindow): ditto.
12863 (unmap_subwindow): ditto.
12864 (map_subwindow): ditto.
12865 (subwindow_instantiate): ditto.
12867 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
12868 (DOMAIN_FRAME): ditto.
12869 (DOMAIN_WINDOW): ditto.
12870 (DOMAIN_LIVE_P): ditto.
12871 (XDOMAIN_DEVICE): ditto.
12872 (XDOMAIN_FRAME): ditto.
12873 (XDOMAIN_WINDOW): ditto.
12875 * specifier.c (Fvalid_specifier_domain_p): add image instances as
12876 a valid specifier domain.
12878 2000-04-19 Andy Piper <andy@xemacs.org>
12880 * glyphs-widget.c (syms_of_glyphs_widget): remove
12881 widget-callback-current-channel.
12882 (vars_of_glyphs_widget): ditto.
12885 * gui.c (get_gui_callback): revert to previous behaviour.
12887 2000-04-18 Andy Piper <andy@xemacs.org>
12889 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
12890 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
12891 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
12893 * glyphs.c (image_instance_equal): add margin_width.
12894 (image_instance_hash): ditto.
12896 * glyphs-widget.c (widget_instantiate): deal with margin-width.
12897 (layout_query_geometry): ditto.
12898 (layout_layout): ditto.
12899 (syms_of_glyphs_widget): add margin-width.
12900 (image_instantiator_layout): allow margin-width.
12902 * glyphs.c (update_widget_instances): make a normal function.
12903 (syms_of_glyphs): remove Qupdate_widget_instances.
12906 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
12907 so that we don't corrupt ideas about the last event or
12908 command. Remove widget-callback-current-channel fiddling.
12909 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
12911 2000-05-01 Martin Buchholz <martin@xemacs.org>
12913 * XEmacs 21.2.33 is released.
12915 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
12917 * make-src-depend: Allow dots in header file name.
12919 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
12921 * mule-charset.h (struct charset_lookup): Add
12922 next_allocated_1_byte_leading_byte and
12923 next_allocated_2_byte_leading_byte.
12924 * mule-charset.c: Move above two variables so that those values
12927 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
12929 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
12930 when string length is zero.
12931 (find_charsets_in_emchar_string): Ditto.
12933 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
12935 * lisp.h: extern Qdialog and Qmenubar.
12937 * gui-x.c: added events.h.
12938 also fixed typo which made the file uncompilable.
12940 * general.c: Added Qmenubar and Qdialog
12942 2000-04-28 Ben Wing <ben@xemacs.org>
12944 * frame-msw.c (mswindows_init_frame_1):
12945 * frame-msw.c (mswindows_mark_frame):
12946 * event-msw.c (mswindows_enqueue_dispatch_event):
12948 * console-msw.h (struct mswindows_frame):
12949 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
12950 there are now three hash tables for callbacks.
12951 mswindows_enqueue_dispatch_event is no longer static.
12953 * dialog-x.c (maybe_run_dbox_text_callback):
12954 * dialog-x.c (dbox_descriptor_to_widget_value):
12955 switch to new cons3 form for callbacks.
12957 * glyphs-msw.c (mswindows_register_gui_item):
12958 * glyphs-msw.c (mswindows_widget_instantiate):
12959 * glyphs-msw.c (add_tree_item):
12960 * glyphs-msw.c (add_tab_item):
12961 new image instance parameter, so it can be passed to callback-ex.
12962 respect :callback-ex as well as :callback.
12964 * glyphs-widget.c (VALID_GUI_KEYWORDS):
12967 * glyphs.c (print_image_instance):
12968 prettify, e.g. now prints widget type.
12971 certain funs have new image instance parameter.
12974 * gui.c (get_gui_callback):
12975 * gui.c (gui_item_add_keyval_pair):
12976 * gui.c (gui_item_init):
12977 * gui.c (gui_add_item_keywords_to_plist):
12978 * gui.c (mark_gui_item):
12979 * gui.c (gui_item_hash):
12980 * gui.c (gui_item_equal):
12981 * gui.c (copy_gui_item):
12982 * gui.c (syms_of_gui):
12983 recognize callback-ex in a number of places.
12984 also, fix the annoying "can't get out of yes-no dialog" bug.
12987 * gui.h (struct Lisp_Gui_Item):
12988 recognize callback-ex in a number of places.
12990 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
12991 new parameter in button_item_to_widget_value.
12993 * glyphs-x.c (x_update_widget):
12994 * glyphs-x.c (x_button_instantiate):
12995 * glyphs-x.c (x_button_update):
12996 * glyphs-x.c (x_progress_gauge_instantiate):
12997 * glyphs-x.c (x_edit_field_instantiate):
12998 * glyphs-x.c (x_combo_box_instantiate):
12999 * glyphs-x.c (x_tab_control_instantiate):
13000 * glyphs-x.c (x_label_instantiate):
13001 new image instance parameter in various places.
13004 * event-Xt.c (enqueue_Xt_dispatch_event):
13005 this fun gets exported.
13008 * gui-msw.c (mswindows_handle_gui_wm_command):
13009 handle both :callback and :callback-ex, and generate our own
13010 event because it's one of the callback-ex arguments.
13013 * gui-x.c (popup_selection_callback):
13014 handle both :callback and :callback-ex, and generate our own
13015 event because it's one of the callback-ex arguments.
13016 * gui-x.c (button_item_to_widget_value):
13017 * gui-x.c (gui_items_to_widget_values_1):
13018 * gui-x.c (gui_item_children_to_widget_values):
13019 * gui-x.c (gui_items_to_widget_values):
13020 new image instance parameter in various places.
13022 * fns.c (Freplace_list):
13023 fix small typo in doc string.
13026 declare enqueue_Xt_dispatch_event.
13028 2000-04-28 Ben Wing <ben@xemacs.org>
13031 * buffer.c (Frecord_buffer):
13032 * buffer.c (syms_of_buffer):
13033 delete record-buffer-hook.
13036 * fns.c (Freplace_list):
13037 * fns.c (syms_of_fns):
13038 new primitive replace-list.
13041 slot for old buffer-alist.
13044 exfun replace-list.
13047 * redisplay.c (redisplay_frame):
13048 * redisplay.c (syms_of_redisplay):
13049 * redisplay.c (vars_of_redisplay):
13050 new hook buffer-list-changed-hook.
13053 2000-04-27 Ben Wing <ben@xemacs.org>
13055 * extents.h: extern in_modeline_generation.
13057 * redisplay.c (generate_formatted_string_db): set
13058 in_modeline_generation.
13060 * extents.c (extent_changed_for_redisplay): don't mark redisplay
13061 flags if in modeline generation. otherwise frame-modified-tick
13062 is ticked far too often.
13063 Declare in_modeline_generation.
13065 2000-04-26 Ben Wing <ben@xemacs.org>
13067 * emacs.c (vars_of_emacs): document quick-build "error-checking"
13069 (vars_of_emacs): add quick-build as an error-checking option.
13070 A bit kludgy, but there doesn't seem much point in creating
13071 a real var for this.
13073 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
13075 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
13077 * redisplay.h (struct display_line): Add a new variable,
13080 * redisplay.c (create_text_block): Set dl->line_continuation if
13081 the line continues.
13082 (create_string_text_block): Ditto.
13083 (regenerate_window_incrementally): Use line_continuation instead
13084 of searching continuation glyph.
13085 (add_margin_runes): Call add_glyph_rune.
13086 (add_glyph_rune): Handle margin glyph.
13088 2000-04-20 Martin Buchholz <martin@xemacs.org>
13090 * filelock.c (fill_in_lock_file_name):
13092 Check for IS_ANY_SEP instead of '/'.
13094 Avoid generating gratuitous garbage. Call user_login_name() directly.
13095 Never check errno without first seeing that system call failed.
13096 (unlock_file): Add GCPRO.
13097 (Flock_buffer): Fix docstring.
13098 (Ffile_locked_p): Fix docstring. Add GCPRO.
13100 2000-04-19 Martin Buchholz <martin@xemacs.org>
13102 * sysdep.c (get_pty_max_bytes):
13103 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
13104 strings longer than 252 bytes.
13106 * md5.c: Unconditionally include ANSI header <limits.h>
13108 * glyphs-x.c (convert_EImage_to_XImage):
13109 * lisp-union.h (union Lisp_Object):
13110 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
13112 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
13114 * filelock.c (current_lock_owner): Remove unused variable o, p.
13116 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
13118 * callint.c: Remove multiply defined symbol Qlet
13119 (syms_of_callint): ditto.
13121 2000-04-14 Andy Piper <andy@xemacs.org>
13123 * general.c (syms_of_general): add last-command, this-command, let
13126 * lisp.h: declare various symbols.
13128 * glyphs.h: declare Qwidget_callback_current_channel;
13130 * glyphs-widget.c (syms_of_glyphs_widget): add
13131 Qgui_callback_current_channel.
13132 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
13134 * gui-msw.c (mswindows_handle_gui_wm_command): bind
13135 widget-callback-current-channel when invoking the interactive
13136 arg. Also bind last-command and next-command when invoking the
13138 * gui-x.c (popup_selection_callback): ditto.
13140 * gui.c (get_gui_callback): massage args so that we are always
13141 calling eval. This allows us to add our own variable bindings
13144 * glyphs-x.c (x_button_instantiate): use
13145 gui_items_to_widget_values since this is GC safe.
13146 (x_progress_gauge_instantiate): ditto.
13147 (x_edit_field_instantiate): ditto.
13148 (x_label_instantiate): ditto.
13150 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
13151 (emacs_Xt_event_widget_focus_out): new function
13152 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
13154 (emacs_Xt_event_add_widget_actions): new function. add focus
13155 functions as actions.
13156 (init_event_Xt_late): use it.
13158 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
13160 * event-stream.c (Fdispatch_event): Doc fix.
13162 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
13164 * postgresql.c: Remove all references to PQsetenv*.
13166 * postgresql.h: Remove references to PGsetenvHandler object.
13167 * lrecord.h (lrecord_type): Ditto.
13169 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13171 * glyphs-msw.h (struct mswindows_image_instance_data): Added
13172 real_heigh and real_width members, and accessor macros for these.
13174 * glyphs-msw.c (init_image_instance_geometry): New function.
13175 (init_image_instance_from_dibitmap): Use it.
13176 (mswindows_resource_instantiate): Use it.
13177 (init_image_instance_from_xbm_inline): Use it.
13178 (mswindows_initialize_image_instance_mask): Use real bitmap
13180 (mswindows_create_resized_bitmap): Ditto.
13181 (mswindows_create_resized_mask): Ditto.
13183 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
13184 and bitmap to their surface size.
13186 2000-04-11 Jan Vroonhof <jan@xemacs.org>
13188 * process-unix.c (unix_send_process): Guard against process MIA
13189 after Faccept_process_output.
13191 2000-04-11 Ben Wing <ben@xemacs.org>
13193 * eval.c (unbind_to_hairy): fix brokenness introduced by
13194 nanosecond speed improvements.
13196 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
13198 * sunplay.c (init_device): To play sounds correctly, the device
13199 apparently needs to be initialized at least once by XEmacs. Make
13202 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
13204 * redisplay.c (add_margin_runes): Add text image glyph
13207 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
13209 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
13210 gcc is newer than 2.5.
13212 2000-04-06 Colin Rafferty <colin@xemacs.org>
13214 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
13216 * fns.c (size_bit_vector):
13217 * alloc.c (size_vector):
13218 (make_vector_internal):
13219 (make_bit_vector_internal):
13220 (sweep_bit_vectors_1):
13221 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
13223 2000-04-06 Andy Piper <andy@xemacs.org>
13225 * gmalloc.c (malloc): undo previous change.
13230 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
13232 * line-number.c (buffer_line_number): Revert to former version.
13234 2000-04-06 Andy Piper <andy@xemacs.org>
13236 * gmalloc.c (malloc): add error checking.
13241 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
13242 button_item_to_widget_value arg.
13244 * glyphs-x.c (x_button_instantiate): add extra
13245 button_item_to_widget_value arg.
13246 (x_progress_gauge_instantiate): ditto.
13247 (x_edit_field_instantiate): ditto.
13248 (x_label_instantiate): ditto.
13250 * gui-x.c (gui_items_to_widget_values_1): add extra
13251 button_item_to_widget_value arg.
13252 (button_item_to_widget_value): add extra menu_item_p arg.
13254 * gui-x.h: change signature of button_item_to_widget_value.
13256 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
13257 button_item_to_widget_value arg.
13259 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
13261 * buffer.h (struct buffer): auto_save_modified should be long.
13263 2000-04-05 Andy Piper <andy@xemacs.org>
13265 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
13267 (button_query_geometry): give a little more room so that athena
13270 2000-04-05 Andy Piper <andy@xemacs.org>
13272 * faces.c (complex_vars_of_faces): The widget face should inherit
13273 the font of the gui-element face.
13275 2000-04-04 Andy Piper <andy@xemacs.org>
13277 * glyphs-x.c (x_button_update): new function. unconditionally
13278 update a button's state when the instance is dirty.
13279 (image_instantiator_format_create_glyphs_x): add x_button_update.
13280 (x_widget_instantiate): remove old resize cruft.
13282 2000-04-02 Andy Piper <andy@xemacs.org>
13284 * frame.c (change_frame_size_1): The introduction of gutters means
13285 that we need to allow 0 as a potential frame dimension.
13287 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
13289 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
13290 image glyph if allow_cursor.
13291 (add_hscroll_rune): Don't allow cursor to border glyph.
13292 (create_text_block): Ditto.
13294 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
13295 text not in buffer.
13296 (redisplay_output_layout): Call ensure_face_cachel_complete for
13300 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
13302 * redisplay.c (add_glyph_rune): Adding text image as text runes.
13304 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
13307 * redisplay-tty.c (tty_output_display_block): Delete the routine
13308 for text image glyph
13309 * redisplay-x.c (x_output_display_block): ditto
13310 * redisplay-msw.c (mswindows_output_display_block): ditto
13312 2000-02-02 Mike Alexander <mta@arbortext.com>
13314 Note: Some of these were committed by accident as part of other
13317 * regex.c (regex_compile): Avoid compiler warnings.
13319 * ntproc.c (sys_spawnve): Avoid compiler warnings.
13321 * nt.h: Declare term_ntproc correctly.
13323 * nt.c: Remove incorrect declaration of get_home_directory which
13324 is declared correctly in lisp.h.
13326 * keymap.c (get_keyelt): Avoid compiler warnings.
13327 (raw_lookup_key_mapper): Avoid compiler warnings.
13329 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
13331 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
13333 * filemode.c (mode_string): Avoid compiler warnings.
13335 * file-coding.c (Fcoding_system_aliasee): Add return statement to
13338 * events-mod.h: Undef some things that winuser.h defines differently.
13340 * data.c (Faset): Avoid compiler warnings.
13342 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
13344 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
13346 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
13347 Fall through to simple beep on error.
13348 Replace "extern" by real header file.
13350 * linuxplay.c: Use nativesound.h
13351 (play_sound_data): Return error code. Be less verbose on error.
13353 * sunplay.c: Use nativesound.h
13354 (play_sound_data): Return error code. Be less verbose on error.
13356 * ntplay.c: Use nativesound.h
13357 (play_sound_data): Return fake error code
13359 * sgiplay.c: Use nativesound.h
13360 (play_sound_data): Return error code
13362 * hpplay.c: Use nativesound.h, partially implement
13363 new error code. Break compilation until finished.
13364 (play_sound_data): error code.
13366 * nativesound.h (play_sound_file):
13367 (play_sound_data): Prototype in new header.
13369 2000-03-31 Andy Piper <andy@xemacs.org>
13371 * glyphs-widget.c: (button_query_geometry): new function. Adjust
13372 for toggle and radio buttons.
13373 (image_instantiator_buttons): use it.
13375 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
13377 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
13378 (x_update_horizontal_scrollbar_callback): Return if no mirror was
13379 found. Scrollbar event probably belonged to some old config.
13381 2000-03-31 Andy Piper <andy@xemacs.org>
13383 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
13385 (initialize_widget_image_instance): default layout to
13386 LAYOUT_HORIZONTAL rather than 0.
13387 (widget_instantiate): reverse the item list at the end rather than
13389 (layout_layout): re-code for the border text at the front of the
13390 item list rather than at the end.
13391 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
13392 provided by the user.
13393 (widget_query_geometry): comment.
13395 2000-03-30 Andy Piper <andy@xemacs.org>
13397 * glyphs-widget.c (image_instantiator_layout): allow standard
13398 widget keywords in layouts.
13400 * gutter.c (output_gutter): cope with nil gutter contents.
13402 * frame.c (Fset_frame_properties): add gutter docs.
13404 2000-03-29 Andy Piper <andy@xemacs.org>
13406 * toolbar-msw.c (TBSTYLE_FLAT): add.
13407 (mswindows_output_toolbar): minor fiddling.
13409 2000-03-29 Andy Piper <andy@xemacs.org>
13411 * gutter.c (output_gutter): force gutter size recalculation if
13412 what we are trying to display won't fit.
13413 (update_gutter_geometry): new function. A per-gutter version of
13414 update_frame_gutter_geometry.
13415 (update_frame_gutter_geometry): use it.
13416 (redraw_exposed_gutter): add extra debugging output.
13418 2000-03-28 Mike Alexander <mta@arbortext.com>
13420 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
13421 (pdump_file_unmap): Implement it on Windows
13422 (pdump_file_get): Save alocated handles for pdump_file_unmap
13424 2000-03-28 Andy Piper <andy@xemacs.org>
13426 * gui.c (get_gui_callback): treat Quit specially.
13428 2000-03-27 Andy Piper <andy@xemacs.org>
13430 * glyphs.c (image_instantiate): be careful to check in the same
13433 2000-03-27 Didier Verna <didier@xemacs.org>
13435 * config.h.in: define the proper SMART_INCLUDE macro.
13436 handle renaming of `foo_h_path' to `foo_h_file'.
13438 * database.c: ditto.
13442 * linuxplay.c: ditto.
13444 * terminfo.c: ditto.
13446 * tooltalk.h: ditto.
13448 2000-03-27 Andy Piper <andy@xemacs.org>
13450 * glyphs-msw.c (mswindows_update_widget): make sure the widget
13451 gets updated whenever the face might have changed.
13453 2000-03-26 Mike Alexander <mta@arbortext.com>
13455 * dumper.c (pdump_resource_free): Fix the comment.
13457 2000-03-21 Olivier Galibert <galibert@pobox.com>
13459 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
13461 2000-03-22 Mike Alexander <mta@arbortext.com>
13463 * dumper.c: Include Windows headers on Windows
13464 (pdump_resource_free): Add a body to the function
13465 (pdump_load): exe_name -> exe_path and add some comments.
13467 2000-03-25 Mike Alexander <mta@arbortext.com>
13469 * gui.c (copy_gui_item_tree): Return a value in all cases
13471 2000-03-21 Didier Verna <didier@xemacs.org>
13473 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
13475 (SMART_INCLUDE): new macro.
13476 (POSTGRES_INCLUDE): new macro to include postgresql headers from
13477 the proper location.
13479 * postgresql.c: use it.
13483 2000-03-24 Andy Piper <andy@xemacs.org>
13485 * gutter.c (redraw_exposed_gutters): must be "in display" when we
13488 2000-03-24 Andy Piper <andy@xemacs.org>
13490 * redisplay-output.c (compare_runes): use image_instance_changed
13491 to detect changes. Do not depend on glyphs_changed, only depend on
13493 (redisplay_output_layout): add debug messages.
13494 (compare_runes): ditto.
13496 * glyphs.h: declare new functions.
13497 (struct Lisp_Image_Instance): remove percent and associated
13500 * gui.h: declare new copying functions.
13502 * gui.c (copy_gui_item_tree): new function.
13503 (copy_gui_item): new function.
13504 (gui_item_id_hash): revert to standard hash.
13505 (gui_item_hash): ditto.
13506 (gui_item_hash_internal): deleted.
13507 (mark_gui_item): mark value.
13508 (gui_item_add_keyval_pair): add value.
13509 (gui_item_init): ditto.
13510 (gui_add_item_keywords_to_plist): ditto.
13511 (gui_item_equal): ditto.
13512 (syms_of_gui): add Q_value.
13514 * glyphs-x.c (x_progress_gauge_update): use pending items and
13515 value for setting the state.
13516 (x_update_widget): don't set items from pending here.
13518 * glyphs-widget.c (update_widget): update items here.
13519 (progress_gauge_set_property): use items for storing value. Put
13520 new value in pending items.
13522 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
13523 items for new value. Convert percent -> value.
13524 (mswindows_tab_control_update): don't update items here.
13526 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
13527 (update_subwindow): ditto.
13528 (image_instance_changed): new function. Compare hash values and
13529 past and present widget items.
13530 (image_instantiate): We more careful about where we instantiate
13532 (image_instantiate): add error checking.
13534 * gutter.c (syms_of_gutter): use -hook.
13536 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
13538 * console-tty.c (Fset_console_tty_input_coding_system): Use
13540 (Fset_console_tty_output_coding_system): Use Qterminal.
13541 (tty_init_console): Use Qkeyboard and Qterminal.
13543 2000-03-21 Ben Wing <ben@xemacs.org>
13545 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
13546 From Mike Alexander <mta@arbortext.com>.
13548 2000-03-21 Ben Wing <ben@xemacs.org>
13550 * event-msw.c (mswindows_need_event): Horrible kludge to fix
13551 process brokenness. Proper implementation to come.
13553 Rename call-process-internal to old-call-process-internal.
13554 New impl. in process.el.
13556 2000-03-21 Martin Buchholz <martin@xemacs.org>
13558 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
13560 2000-03-20 Andy Piper <andy@xemacs.org>
13562 * glyphs.c (full_list_hash): make hashes of the same elements in
13563 different orders return different values.
13565 2000-03-20 Martin Buchholz <martin@xemacs.org>
13567 * XEmacs 21.2.32 is released.
13569 2000-03-20 Martin Buchholz <martin@xemacs.org>
13571 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
13572 (DFC_MALLOC_USE_CONVERTED_DATA):
13573 Add aliasing-safe casts to allow use with char* or unsigned char*
13576 * eldap.c (Fldap_open):
13577 (Fldap_search_basic):
13580 Make C++-compilable.
13581 Make sure GCPRO'ed variables are initialized.
13582 Use temp variables to avoid repeated calls to Flength.
13584 2000-03-16 Martin Buchholz <martin@xemacs.org>
13587 Make sure PATH_MAX is always defined.
13588 Include limits.h for PATH_MAX.
13589 Deprecate use of MAXPATHLEN.
13591 2000-03-10 Martin Buchholz <martin@xemacs.org>
13593 * emacs.c: Add reinit_vars_of_fileio.
13594 * symsinit.h: Add reinit_vars_of_fileio.
13595 * fileio.c (reinit_vars_of_fileio): New.
13596 * fileio.c (Fmake_temp_name):
13597 Initialize temp_name random number from microseconds to make
13598 collisions even less likely. Initialize always at process startup
13599 time. (make-temp-name) used to return the same file name twice in
13601 Random stylistic fiddling.
13604 2000-03-20 Andy Piper <andy@xemacs.org>
13606 * glyphs.c (image_instantiate): allow text glyphs to be
13607 instantiated in the minibuffer window.
13609 2000-03-19 Andy Piper <andy@xemacs.org>
13611 * glyphs.c (image_instance_hash): be careful about which items we
13614 * glyphs-widget.c (tab_control_set_property): record into pending
13615 items rather than the actual items.
13617 * glyphs-x.c (x_update_widget): use pending items to update with.
13619 * glyphs-msw.c (mswindows_tab_control_update): use pending items
13622 * glyphs.c (mark_image_instance): mark pending items.
13624 * window.c (Fset_window_configuration): record the buffer.
13625 (Fselect_window): totally revert previous change which breaks many
13628 2000-03-18 Andy Piper <andy@xemacs.org>
13630 * glyphs-msw.c (mswindows_tab_control_update): force selected
13633 * glyphs.c (image_instantiate): don't allow the minibuffer as a
13634 window domain cache, otherwise we get inconsistencies at
13635 startup. There is something fishy at startup which can lead to the
13636 minibuffer being the selected window when the gutter content is
13639 * gui.c (parse_gui_item_tree_list): add probably unnecessary
13641 (parse_gui_item_tree_children): ditto.
13642 (parse_gui_item_tree_item): ditto.
13644 * glyphs.c (Fupdate_widget_instances): return something.
13646 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
13648 * window.c (Fselect_window): Undo 2000-03-17 change.
13650 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
13652 * postgresql.c (Fpq_setenv): Remove this turkey when linking
13653 against v7.0 libraries. Insta-coredump city until the postgres
13656 2000-03-17 Andy Piper <andy@xemacs.org>
13658 * faces.c (complex_vars_of_faces): don't give the widget face an
13659 inherited background pixmap.
13661 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
13664 * event-stream.c (Fdispatch_non_command_events): return something.
13666 * gutter.c (output_gutter): use widget face.
13667 (clear_gutter): ditto.
13669 * NEWS: adjust again.
13671 * window.c (Fselect_window): make sure this runs to completion to
13672 avoid oddities with Fset_window_configuration.
13673 (Fcurrent_window_configuration): in general do not save the
13674 minibuffer as the selected window.
13676 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
13678 2000-03-16 Olivier Galibert <galibert@pobox.com>
13680 * emacs.c (Frunning_temacs_p): Revert previous patch.
13681 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
13683 2000-03-16 Andy Piper <andy@xemacs.org>
13685 * glyphs-x.c (x_tab_control_update): if no widget values then
13688 * NEWS: update for new features.
13690 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
13691 synthetic event to the native system.
13692 (reinit_vars_of_event_Xt): set force_event_pending to
13693 emacs_Xt_force_event_pending.
13695 * events.h (struct event_stream): add force_event_pending.
13697 * specifier.c (recompute_one_cached_specifier_in_window): add
13700 * redisplay.c (redisplay_frame): don't call
13701 update_frame_subwindows. Reset subwindow cachels when
13702 subwindows_changed, removing this was an optimization too far.
13704 * redisplay-output.c (compare_runes): reorganize so that we catch
13705 glyph changes when we want them. Set optimize_output when this
13706 would help layouts.
13707 (redisplay_output_layout): remove frame_really_changed, use
13708 optimize_output instead.
13710 * redisplay-msw.c (mswindows_output_display_block): reset
13711 optimize_output after outputting a glyph.
13712 * redisplay-x.c (x_output_display_block): ditto.
13713 * redisplay-tty.c (tty_output_display_block): ditto.
13715 * gutter.c: (specifier_vars_of_gutter): use new spec changed
13717 (gutter_specs_changed): do specific gutter positions.
13718 (top_gutter_specs_changed): new function. Only update the
13719 specified gutter specs.
13720 (bottom_gutter_specs_changed): ditto.
13721 (left_gutter_specs_changed): ditto.
13722 (right_gutter_specs_changed): ditto.
13724 * gui.c (gui_item_hash_internal): new function, does a real hash.
13725 (gui_item_id_hash): use it.
13726 (gui_item_hash): hash the eval'ed gui_item.
13728 * gui-x.c (popup_selection_callback): send an eval event to call
13729 Fupdate_widget_instances.
13731 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
13732 to call Fupdate_widget_instances.
13734 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
13735 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
13737 * glyphs.c: (update_frame_subwindows): deleted.
13738 (Fupdate_widget_instances): new function for updating the dirty
13739 state of widgets that might have changed.
13740 (syms_of_glyphs): add Qupdate_widget_instances.
13741 (full_list_hash): hash a list completely.
13742 (image_instance_hash): use it for items and properties.
13744 * frame-msw.c (mswindows_size_frame_internal): remove unused
13747 * faces.h (struct face_cachel): fix comment.
13749 * event-stream.c (Fdispatch_non_command_events): new
13750 function. Process non-command events, forcing an event cycle
13752 (syms_of_event_stream): declare.
13753 (event_stream_force_event_pending): new function. Force an event
13754 on the native event queue so that an event cycle will occur next
13758 (struct ntpipe_shove_stream):
13759 (mswindows_enqueue_dispatch_event):
13760 (mswindows_dequeue_dispatch_event):
13761 (mswindows_cancel_dispatch_event):
13762 (mswindows_pump_outstanding_events):
13763 (mswindows_drain_windows_queue):
13764 (mswindows_handle_paint):
13765 (mswindows_wnd_proc):
13766 (mswindows_key_to_emacs_keysym):
13767 (get_process_input_waitable):
13768 (emacs_mswindows_delete_stream_pair): re-indent file.
13769 (mswindows_need_event): do not process further fds if the windows
13770 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
13771 fixes the 100% cpu problem.
13772 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
13774 2000-03-15 Olivier Galibert <galibert@pobox.com>
13780 * emacs.c: Moved dump file searching to dumper.c.
13781 (Frunning_temacs_p): Fixed.
13783 * alloc.c: Moved everything pdump-related to dumper.c. Removed
13784 last_lrecord_type_index_assigned.
13786 2000-02-20 Olivier Galibert <galibert@pobox.com>
13788 * symsinit.h: Added reinit parameter to init_console_stream
13791 * lisp.h: Added file parameter to pdump_load declaration.
13793 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
13794 support. Added dump file searching.
13796 * config.h.in: Added EMACS_PROGNAME.
13798 * console-stream.c (init_console_stream): Fix reinitialisation
13799 when running from temacs.
13801 * alloc.c (pdump): Add id support.
13802 (pdump_load): Add file parameter and signature/id support.
13804 * Makefile.in.in: Add full pdump support.
13806 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
13808 * postgresql.c: Update documentation to reflect latest code
13810 (print_result): Show tuple counts in printed representation when
13812 (Fpq_put_nbytes): MULE-ize.
13813 (Fpq_get_line_async): Ditto.
13815 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
13817 * postgresql.c (Fpq_lo_import): Fix return value.
13818 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
13820 2000-03-13 Ben Wing <ben@xemacs.org>
13822 * alloc.c (pdump_load):
13823 Fix compile warning under mswin.
13825 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
13827 * postgresql.c: Mule-ization, bug fixes.
13828 Use PG_CODING to encapsulate coding system name changes.
13829 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
13830 (pg-coding-system): Create.
13832 (Fpq_conn_defaults): Mule-ize.
13833 (Fpq_connectdb): Mule-ize & bug fix.
13834 (Fpq_connect_start): Mule-ize.
13835 (Fpq_set_client_encoding): Mule-ize.
13836 (Fpq_finish): Document `DEAD' connection status.
13837 (Fpq_clear): Ditto.
13838 (Fpq_pgconn): Mule-ize.
13839 (Fpq_exec): Mule-ize & bug fix.
13840 (Fpq_send_query): Ditto.
13841 (Fpq_get_result): Ditto.
13842 (Fpq_res_status): Mule-ize.
13843 (Fpq_result_error_message): Mule-ize.
13844 (Fpq_ntuples): fix comments.
13845 (Fpq_fname): Mule-ize.
13846 (Fpq_fnumber): Mule-ize.
13847 (Fpq_ftype): fix comments.
13848 (Fpq_get_value): Mule-ize.
13849 (Fpq_cmd_status): Ditto.
13850 (Fpq_cmd_tuples): Ditto.
13851 (Fpq_oid_value): Ditto.
13852 (Fpq_notifies): Ditto.
13853 (Fpq_lo_import): Ditto.
13854 (Fpq_lo_export): Ditto.
13855 (Fpq_get_line): Ditto.
13856 (Fpq_put_line): Mule-ize and bug fix.
13857 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
13859 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
13861 * postgresql.c (vars_of_postgresql): Mule-ize.
13862 (Fpq_conn_defaults): Ditto.
13864 2000-03-12 Ben Wing <ben@xemacs.org>
13866 * alloc.c (Fmake_byte_code):
13867 * alloc.c (debug_string_purity_print):
13868 * alloc.c (pdump_backtrace):
13869 * alloc.c (pdump_get_indirect_count):
13870 * alloc.c (pdump_register_sub):
13871 * alloc.c (pdump_register_object):
13872 * alloc.c (pdump_register_struct):
13873 * alloc.c (pdump_dump_data):
13874 * alloc.c (pdump_reloc_one):
13878 * console-msw.c (GetConsoleHwnd):
13879 * console-msw.c (msw_hide_console):
13880 * console-msw.c (msw_show_console):
13881 * console-msw.c (msw_ensure_console_buffered):
13882 * console-msw.c (msw_output_console_string):
13883 * console-msw.c (console_type_create_mswindows):
13885 a) Added functions to manipulate the console window for use with
13888 b) Added support for writing text to the console, which is now
13889 used under Windows when xemacs is not being run non-interactively,
13890 to write text that would otherwise be destined for stdout because
13891 under these circumstances, text written to stdout tends to
13892 disappear and not be seen.
13896 * event-Xt.c (x_event_to_emacs_event):
13897 * event-Xt.c (describe_event_window):
13898 * events-mod.h (XEMACS_MOD_CONTROL):
13900 * events.c (Fmake_event):
13901 * events.c (character_to_event):
13902 * events.c (event_to_character):
13903 * events.c (format_event_object):
13904 * events.c (Fevent_modifiers):
13906 * events.h (struct key_data):
13907 * events.h (struct button_data):
13908 * events.h (struct misc_user_data):
13909 * frame-x.c (Fcde_start_drag_internal):
13910 * frame-x.c (Foffix_start_drag_internal):
13911 * gpmevent.c (Freceive_gpm_event):
13913 * keymap.c (bucky_sym_to_bucky_bit):
13914 * keymap.c (control_meta_superify):
13915 * keymap.c (make_key_description):
13916 * keymap.c (keymap_lookup_directly):
13917 * keymap.c (create_bucky_submap):
13918 * keymap.c (keymap_store):
13919 * keymap.c (define_key_check_and_coerce_keysym):
13920 * keymap.c (define_key_parser):
13921 * keymap.c (define_key_alternate_name):
13922 * keymap.c (Fdefine_key):
13923 * keymap.c (raw_lookup_key_mapper):
13924 * keymap.c (struct map_keymap_unsorted_closure):
13925 * keymap.c (map_keymap_unsorted_mapper):
13926 * keymap.c (map_keymap_sort_predicate):
13927 * keymap.c (map_keymap_sorted):
13928 * keymap.c (accessible_keymaps_mapper_1):
13929 * keymap.c (where_is_recursive_mapper):
13930 * keymap.c (describe_map_mapper):
13931 * keymap.c (describe_map_sort_predicate):
13932 * keymap.c (describe_map):
13933 * keymap.c (complex_vars_of_keymap):
13934 And a number of other files, the key modifier preprocessor
13935 constants that xemacs uses have names that conflict with constants
13936 defined under MS Windows for other purposes, so they were renamed
13937 to begin with the prefix XEMACS_. The variables that hold such
13938 modifiers were changed to consistently be of type int to fix
13939 various compile warnings.
13941 * console.c (complex_vars_of_console):
13944 * device-msw.c (mswindows_finish_init_device):
13945 * device-msw.c (msw_get_workspace_coords):
13946 * device-msw.c (mswindows_device_system_metrics):
13947 and various other files, added support for a new
13948 device property called offset-workspace which returns the position
13949 of the upper left corner of the workspace area and goes along with
13950 the existing size-workspace property.
13953 * dialog-msw.c (push_bufbyte_string_as_unicode):
13954 * dialog-msw.c (mswindows_popup_dialog_box):
13955 Added support for XEmacs-style accelerator specifications in
13956 button text. Note: I didn't add support for this under X Windows,
13957 and somebody needs to do this.
13960 * dialog.c (Fpopup_dialog_box):
13961 Documented the support for accelerators that was just mentioned.
13963 editfns.c (get_home_directory): Changed behavior under Windows
13964 when HOME not defined; former behavior was irretrievably broken.
13967 * emacs.c (main_1):
13969 * minibuf.c (clear_echo_area_internal):
13970 * minibuf.c (echo_area_append):
13972 * print.c (std_handle_out_external):
13973 * print.c (std_handle_out_va):
13975 * print.c (write_string_to_stdio_stream):
13976 * print.c (output_string):
13977 * print.c (debug_print):
13978 * print.c (debug_backtrace):
13979 * print.c (debug_short_backtrace):
13980 Cleaned up the code that prints text to stdout so that this can be
13981 changed to output into a console window instead under MS Windows,
13982 as described above.
13985 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
13986 * eval.c (internal_catch):
13987 * eval.c (unwind_to_catch):
13988 * eval.c (throw_or_bomb_out):
13989 * eval.c (condition_case_1):
13990 * eval.c (signal_1):
13991 * eval.c (check_error_state_sanity):
13992 * eval.c (call_with_suspended_errors_1):
13993 * eval.c (call_with_suspended_errors):
13994 * eval.c (reinit_vars_of_eval):
13995 Added code to catch throw loops and check for a pesky bug that may
13999 * event-msw.c (key_needs_default_processing_p):
14000 * event-msw.c (mswindows_wnd_proc):
14001 * event-msw.c (mswindows_modifier_state):
14002 * event-msw.c (emacs_mswindows_quit_p):
14003 * event-msw.c (vars_of_event_mswindows):
14004 a) Added support for using the alt key to select menu items as is
14005 standard under MS Windows. This is controlled using the variable
14006 menu-accelerator-enabled, just like under X Windows. There is an
14007 option on the options menu to turn this support on. I really
14008 think that it should be on by default under Windows, but I'm not
14009 going to make this change yet.
14011 b) Added support for dynamic display size changes under Windows.
14014 * event-stream.c (maybe_echo_keys):
14015 * event-stream.c (Fnext_event):
14016 * event-stream.c (command_builder_find_leaf):
14017 * event-stream.c (lookup_command_event):
14018 * event-stream.c (execute_command_event):
14019 * event-stream.c (pre_command_hook):
14020 * event-stream.c (post_command_hook):
14021 * event-stream.c (syms_of_event_stream):
14022 * event-stream.c (vars_of_event_stream):
14023 * event-stream.c (complex_vars_of_event_stream):
14024 * events.h (struct command_builder):
14026 a) Tried to clean up a little bit the horribly written x-specific
14027 accelerator code that crept into this file. I moved this code
14028 into menubar-x.c where it belongs. I also needed to move the
14029 command builder structure into the file events.h because it is
14030 accessed directly by this accelerator code. What I didn't do, but
14031 which should be done at some point, is to properly abstract this
14032 code using device methods instead of the kludgy way that it
14033 currently hooks into the event code.
14035 b) Added the lisp variables this-command-properties and
14036 last-command- properties, which should be used to synchronize two
14037 adjacent commands in preference to playing games with the variable
14038 this-command, which is typically what happens.
14040 c) Added some slightly nasty code to hook into the lisp support
14041 for shifted- motion-key selection. This is actually necessary for
14042 somewhat complicated reasons, which are described in
14043 simple.el. (NB: I think the proper thing would be to have the code
14044 that calls the pre and post command hooks also call out to generic
14045 lisp functions in simple.el, where all built-in stuff could be
14046 added. I will think about this more.)
14048 * event-unixoid.c (poll_fds_for_input):
14049 * lread.c (readchar):
14050 * redisplay-tty.c (tty_clear_frame):
14051 * redisplay-x.c (x_get_gc):
14052 * signal.c (interrupt_signal):
14053 And a whole bunch of other files: fixed up places that printed
14054 directly to stderr to instead call the function stderr_out so that
14055 the changes I made under Windows work correctly.
14057 * filemode.c (mode_string):
14061 * frame-msw.c (mswindows_size_frame_internal):
14062 Fixed the computation of frame size and position to keep the frame
14063 within the workspace area, rather than within the physical
14064 dimensions of the screen, so that the frame doesn't overlap window
14065 manager decorations, such as the start menu and toolbar, typically
14066 at the bottom of the screen.
14068 * frame.c (vars_of_frame):
14069 Changed the default frame title format under MS Windows to consist
14070 of buffername-XEmacs, which is standard under MS Windows. I think
14071 it might be a good idea to change this everywhere because I think
14072 it is superior to the current frame title format, but this is the
14073 kind of change that is likely to cause some people to get annoyed,
14074 so I'm not making it.
14076 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
14078 * gui-msw.c (mswindows_handle_gui_wm_command):
14079 Fixed compile warnings.
14082 * gui-x.c (strdup_and_add_accel):
14083 * gui-x.c (button_item_to_widget_value):
14085 Added code to automatically put an accelerator onto the beginning
14086 of menu items that don't have one as is now the standard, and is
14087 described more later. Also fixed things so that the menu item
14088 name can be an evaluated expression, again a new standard.
14091 * gui.c (gui_item_add_keyval_pair):
14092 * gui.c (make_gui_item_from_keywords_internal):
14093 * gui.c (gui_add_item_keywords_to_plist):
14094 * gui.c (gui_item_accelerator):
14095 * gui.c (gui_name_accelerator):
14096 * gui.c (gui_item_included_p):
14097 * gui.c (gui_item_display_flush_left):
14098 * gui.c (gui_item_display_flush_right):
14099 * gui.c (parse_gui_item_tree_item):
14100 * gui.c (parse_gui_item_tree_children):
14101 * gui.c (parse_gui_item_tree_list):
14102 Mule-ized. Cleanup. GCPRO addition.
14104 * line-number.c (buffer_line_number):
14106 * lisp.h (EMACS_INT_MAX):
14107 Added the manifest constant EMACS_INT_MIN corresponding to the
14108 existing constant EMACS_INT_MAX. This is partially to fix compile
14109 warnings under Windows, and partly for cleanliness.
14112 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
14113 * menubar-msw.c (msw_translate_menu_or_dialog_item):
14114 * menubar-msw.c (displayable_menu_item):
14115 * menubar-msw.c (populate_menu_add_item):
14116 * menubar-msw.c (populate_or_checksum_helper):
14117 * menubar-msw.c (populate_menu):
14118 * menubar-msw.c (update_frame_menubar_maybe):
14119 * menubar-msw.c (prune_menubar):
14120 * menubar-msw.c (msw_char_is_accelerator):
14121 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
14122 * menubar-msw.c (mswindows_handle_wm_command):
14123 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
14124 * menubar-msw.c (mswindows_handle_wm_initmenu):
14125 * menubar-msw.c (mswindows_update_frame_menubars):
14126 * menubar-msw.c (mswindows_free_frame_menubars):
14127 * menubar-msw.c (mswindows_popup_menu):
14128 Fixed a bug in handling accelerators where an extra character
14129 would be displayed in the menu item. Also generalized the
14130 function displayable_menu_item because it is now used by the
14131 dialog box code as well. And finally, added code in the functions
14132 that create the menubar to extract a list of accelerators for the
14133 top level menubar, which is used in the event code to determine
14134 whether a particular alt-key combination should be used to invoke
14135 a menu item, or should be passed through to access the standard
14136 XEmacs keymap binding for this key combination.
14138 Much needed GCPROing.
14141 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
14142 * menubar-x.c (menu_item_descriptor_to_widget_value):
14143 * menubar-x.c (restore_in_menu_callback):
14144 * menubar-x.c (x_popup_menu):
14145 * menubar-x.c (menu_move_up):
14146 * menubar-x.c (menu_move_down):
14147 * menubar-x.c (menu_move_left):
14148 * menubar-x.c (menu_move_right):
14149 * menubar-x.c (menu_select_item):
14150 * menubar-x.c (command_builder_operate_menu_accelerator):
14151 * menubar-x.c (menu_accelerator_junk_on_error):
14152 * menubar-x.c (command_builder_find_menu_accelerator):
14153 * menubar-x.c (Faccelerate_menu):
14155 Moved a whole bunch of code here that was previously in
14156 event-stream.c as described above. There is also code connected
14157 to the new standard of adding an accelerator to the beginning of
14158 menu items that don't have one as described above and below.
14161 * menubar.c (menu_parse_submenu_keywords):
14162 * menubar.c (Fmenu_find_real_submenu):
14163 * menubar.c (Fnormalize_menu_item_name):
14164 * menubar.c (syms_of_menubar):
14165 * menubar.c (vars_of_menubar):
14166 * menubar.c (complex_vars_of_menubar):
14168 a) Cleaned up a bunch of documentation and improved it.
14170 b) XEmacs now automatically adds an accelerator onto the beginning
14171 of any menu items that don't have one. I did this because there
14172 will inevitably be some menu items on the main menubar that don't
14173 have accelerators on them because the package that adds that
14174 particular menu item hasn't yet been fixed up to have accelerators
14175 in them and it looked rather strange to have some items with and
14176 some items without accelerators, especially since even in items
14177 without accelerators, you can, at least under windows, still
14178 access the item through an accelerator corresponding to the first
14179 character in the item's name. If people don't like this behavior,
14180 I can add a variable to turn it off optionally, but I'm not sure
14181 this is a good idea because we really do need to have accelerators
14182 on all of the menu items, and if a package doesn't like the
14183 accelerators being put on the first character, then it should put
14184 the accelerators where they belong.
14186 c) I made a behavior change, which is that the descriptor that
14187 specifies the text of the menu item, which formerly was just a
14188 string, can now also be an evaluated expression. This makes this
14189 descriptor parallel with all of the others, which could also be
14190 evaluated expressions. This also obviates the need for the
14191 keyword :label, which was previously listed in the documentation
14192 as unimplemented, and which was for the same purpose.
14197 * ntproc.c (new_child):
14198 * ntproc.c (sys_spawnve):
14199 * ntproc.c (find_child_console):
14200 * ntproc.c (sys_kill):
14201 Fixed compile warnings. By the way, this file should really go
14202 away entirely, and this will happen as soon as Kirill makes his
14203 final round of process cleanups, which affect the function
14207 * process-nt.c (struct nt_process_data):
14208 * process-nt.c (find_process_from_pid):
14209 * process-nt.c (send_signal_the_nt_way):
14210 * process-nt.c (enable_child_signals):
14211 * process-nt.c (find_child_console):
14212 * process-nt.c (send_signal_the_95_way):
14213 * process-nt.c (nt_finalize_process_data):
14214 * process-nt.c (ensure_console_window_exists):
14215 * process-nt.c (nt_create_process):
14216 * process-nt.c (nt_kill_child_process):
14217 * process-nt.c (nt_kill_process_by_pid):
14218 * process-nt.c (nt_open_network_stream):
14219 * process-nt.c (vars_of_process_nt):
14220 Copied over code from Emacs 20.5 to correctly send signals to sub-
14221 processes under Windows 95. Also added code to automatically
14222 create and hide console window when a sub-process is created under
14223 Windows 95, which obviates the need for the separate runemacs.exe
14224 executable, and finally implemented some variables that were
14225 implemented in Emacs 20.5, but previously not in XEmacs. These
14226 include mswindows- start-process-share-console and
14227 mswindows-start-process-inherit-error-mode. (Both of these only
14228 apply to Windows 95.)
14230 * regex.c (regex_compile): Fixed a compile warning.
14233 * select-msw.c (mswindows_own_selection):
14234 * select-msw.c (mswindows_get_foreign_selection):
14235 * select-msw.c (mswindows_disown_selection):
14236 * select-msw.c (console_type_create_select_mswindows):
14237 * select-msw.c (syms_of_select_mswindows):
14238 Cleaned up the file and implemented the device method
14239 selection_exists_p, which had accidentally been left out. Also
14240 removed four lisp functions that were remnants from before the
14241 time when the selection code was properly device abstracted.
14242 These functions are no longer needed because there are generic
14243 equivalents, and because they were added recently and don't exist
14244 in FSF Emacs, I don't think there's any problem with just deleting
14248 * sysdep.c (sys_subshell):
14249 Fixed a compile warning, although in this case there's probably
14250 something wrong with this code, and it ought to be looked into
14251 more thoroughly by somebody who understands it.
14254 * window.c (Fwindow_text_area_height):
14255 * window.c (Fwindow_width):
14256 * window.c (Fwindow_full_width):
14257 * window.c (Fwindow_pixel_width):
14258 * window.c (debug_print_window):
14259 * window.c (syms_of_window):
14260 Added functions window-text-area-height and window-full-width,
14261 which are functions for returning various width and height
14262 characteristics of a window. (One of these functions is necessary
14263 for making the file dialog box work correctly, and the other one
14264 was added for completeness.) Also added a table to the
14265 documentation for window-height which describes the entire scheme
14266 for accessing width and height characteristics of a window.
14268 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14270 * nt.c (fstat): Added a comment for another problem with
14271 non-encapsulated [f]stat(), reported by Adrian Aichner
14272 <aichner@ecf.teradyne.com>.
14274 2000-03-11 Andy Piper <andy@xemacs.org>
14276 * window.c (make_dummy_parent): initialize subwindow instance
14278 (Fset_window_configuration): zero extent_modiff.
14280 2000-03-10 Andy Piper <andy@xemacs.org>
14282 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
14283 more changes can be triggered.
14284 (Fredisplay_frame): ditto.
14285 (Fredraw_device): ditto.
14286 (Fredisplay_device): ditto.
14287 (redisplay_frame): make non-static.
14288 (redisplay_frame): call update_frame_gutter_geometry outside of
14291 * gutter.h: declare update_frame_gutter_geometry.
14293 * redisplay.h: declare redisplay_frame.
14295 * gutter.c (update_frame_gutter_geometry): move geometry changes
14296 in update_frame_gutters here. Geometry changes can only occur
14297 outside of redisplay.
14298 (update_frame_gutters): remove geometry change code.
14299 (Fredisplay_gutter_area): make sure that we are in display when we
14300 update and that we have flushed any size changes.
14302 2000-03-11 Andy Piper <andy@xemacs.org>
14304 * alloc.c (pdump_dump_data): remove i & count shadows.
14306 2000-02-27 Mike Alexander <mta@arbortext.com>
14308 * sysdep.h: Declare pdump_read_file
14310 * sysdep.c (pdump_read_file): New function
14312 * alloc.c (pdump_load): Call pdump_read_file to get the portable
14315 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
14317 * lrecord.h: add `lrecord_type_pgsetenv'.
14319 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
14321 * symsinit.h: declare (vars|syms)_of* functions.
14322 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
14324 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
14326 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
14328 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
14331 * emacs.c (main_1): Call postgres initialization code.
14333 * postgresql.h: New file. PostgreSQL RDBMS support.
14334 * postgresql.c: New file.
14336 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
14338 * redisplay-output.c (redisplay_output_display_block): Disable
14341 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14343 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
14344 (Fcanna_henkan_next): Ditto.
14345 (Fcanna_bunsetu_henkou): Ditto.
14346 (Fcanna_henkan_kakutei): Ditto.
14347 (Fcanna_henkan_end): Ditto.
14348 (Fcanna_henkan_quit): Ditto.
14349 (Fcanna_henkan_next): Set retun value correctly.
14350 (c2mu): Use unsigned char instead of signed char.
14352 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14354 * emacs.c (main_1): Always call syms_of_gui.
14355 * inline.c: include gui.h
14357 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14359 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
14360 converted to Lisp_Object.
14361 (Qtop_bottom): New variable.
14362 (syms_of_redisplay): Initialize it.
14363 * redisplay.h (Vvisible_bell): Ditto.
14364 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
14365 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
14366 only flash top and bottom.
14368 2000-03-08 Andy Piper <andy@xemacs.org>
14370 * buffer.c (Frename_buffer): record new buffer name the right way.
14372 2000-03-08 Andy Piper <andy@xemacs.org>
14374 * glyphs.c (update_subwindow): increase hash depth so that widget
14375 items get picked up properly.
14377 * redisplay-output.c (compare_runes): increase hash depth so that
14378 widget items get picked up properly.
14380 2000-03-08 Andy Piper <andy@xemacs.org>
14382 * gutter.c (output_gutter): add some debug.
14384 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
14385 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
14386 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
14388 * redisplay-output.c (compare_runes): use display_hash to
14389 determine if glyphs really are not the same.
14391 * glyphs.c (update_subwindow): check display_hash to see if
14392 anything really needs to be updated. If not then do
14393 nothing. Record the display_hash after updating.
14394 (image_instance_equal): compare the image_instance face also.
14396 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
14398 * redisplay.h: Fix comment style.
14400 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
14402 * consle-msw.h (struct mswindows_frame):
14403 Added new member paint_pending to indicate whether a WM_PAINT
14404 magic event has been queued for this frame.
14406 * event-msw.c (mswindows_drain_windows_queue):
14407 Don't queue a WM_PAINT magic event if one is already queued.
14408 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
14410 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
14412 2000-03-07 Didier Verna <didier@xemacs.org>
14414 * dired.c: #include `regex.h' after `sysfile.h'.
14416 2000-03-06 Martin Buchholz <martin@xemacs.org>
14418 * sound.c (init_nas_sound): Fix compiler warning.
14420 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
14422 (MARK_STRUCT_AS_FREE):
14423 (MARK_STRUCT_AS_NOT_FREE):
14424 Make `gcc -fstrict-aliasing' work properly.
14426 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
14428 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
14429 (mswindows_delete_device): Call CoUnnitialize().
14431 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
14433 2000-02-25 <CraigL@DyCon.com>
14435 * process-nt.c: MinGW now has <shellapi.h>, but still needs
14438 * sysdep.c: This extern declaration for environ prevents MinGW
14439 from finding the variable in CRTDLL.DLL.
14441 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
14443 (SHGFI_EXETYPE): ..
14444 (WM_MOUSEWHEEL): ..
14445 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
14447 (MMRESULT): Removed, now defined in cygwin's windows headers.
14449 (uid_t,gid_t,pid_t,ssize_t): ..
14450 (_timeb): Removed, MinGW defines both _timeb and timeb.
14451 (HAVE_H_ERRNO): Added.
14452 (HAVE_TZNAME): Added, configure is not detecting this.
14454 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
14456 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
14457 * syntax.c (syntax_match): Use it.
14459 * cmds.c: Import auto-fill-chars from FSF Emacs.
14460 (Vauto_fill_chars): New variables.
14461 (internal_self_insert): Check Vauto_fill_chars.
14463 Declare auto-fill-chars as a Lisp variable and initialize it.
14465 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
14467 * fileio.c (Fmake_symbolic_link):
14469 Run handlers even if local machine doesn't have symlinks.
14471 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
14473 * event-msw.c (mswindows_drain_windows_queue):
14474 Don't generate paint magic events for non-XEmacs frames.
14476 2000-03-05 Andy Piper <andy@xemacs.org>
14478 * redisplay.c (redisplay_frame): generate_displayable_area and
14479 friends assumes that we are not in GC, we therefore have to make
14480 sure that this doesn't happen.
14482 * gutter.c (calculate_gutter_size): generate_displayable_area
14483 assumes that we are not in GC, we therefore have to make sure that
14484 this doesn't happen.
14486 2000-03-05 Martin Buchholz <martin@xemacs.org>
14488 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
14490 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14492 * redisplay.c (regenerate_window): Make sure we set a sane value
14493 for end_pos even if we jump out of the loop.
14494 (regenerate_window): Answer Ben's question :-).
14495 (start_end_of_last_line): Add may_error argument.
14496 (start_of_last_line):
14497 (end_of_last_line): Pass may_error = 0.
14498 (end_of_last_line_may_error): New function.
14499 (pixel_to_glyph_translation): Use it, so we don't crash in
14502 2000-03-04 Andy Piper <andy@xemacs.org>
14504 * window.h (struct window): add gutter_extent_modiff.
14506 * window.c (allocate_window): zero out gutter_extent_modiff.
14508 * redisplay.h: declare sync_display_line_structs.
14510 * redisplay.c (add_glyph_rune): add a better comment.
14512 * redisplay-output.c (sync_display_line_structs): made non-static.
14513 (compare_runes): remove unneccesary glyph cachel access.
14515 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
14517 * gutter.c (output_gutter): don't output the gutter if extent
14518 changes only involve extents in buffers. use 4 sets of display
14520 (gutter_extent_signal_changed_region_maybe): new function. Mark
14521 extents in gutters as changed.
14522 (update_frame_gutters): use 4 sets of display lines.
14523 (reset_gutter_display_lines): ditto.
14524 (free_frame_gutters): ditto.
14525 (redraw_exposed_gutter): force output of gutters.
14527 * frame.h (struct frame): add 4 sets of gutter display lines.
14529 * extents.c: (extent_changed_for_redisplay): signal changes to
14530 extents in strings in the gutter as well as extents in buffers.
14532 2000-03-02 Andy Piper <andy@xemacs.org>
14534 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
14536 * frame.c (Fmake_frame): make sure the gutters get initialized
14537 after the frame is visible.
14538 (set_frame_selected_window): re-arrange compilation macros a
14540 (change_frame_size_1): mark gutters changed.
14542 * device.c (Fset_device_class): mark gutters changed.
14544 2000-03-01 Andy Piper <andy@xemacs.org>
14546 * window.c (window_top_frame_gutter_height): deleted.
14547 (window_bottom_frame_gutter_height): ditto.
14548 (window_left_frame_gutter_height): ditto.
14549 (window_right_frame_gutter_height): ditto.
14550 (window_top_gutter_height): don't use them.
14551 (window_bottom_gutter_height): ditto.
14552 (window_left_gutter_width): ditto.
14553 (window_right_gutter_width): ditto.
14554 (Fsplit_window): ditto.
14555 (Fwindow_pixel_edges): don't use border dimensions here.
14557 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
14558 (update_scrollbar_instance): ditto.
14560 * redisplay.c (generate_modeline): don't take gutters into account.
14561 (generate_modeline): ditto.
14562 (redisplay_frame): small gutter display optimization.
14564 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
14566 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
14567 gutters into account.
14569 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
14570 for window position and type.
14572 * gutter.c (get_gutter_coords): fix for frame gutters.
14573 (update_frame_gutters): update frame geometry if the gutters have
14575 (init_frame_gutters): record current gutter geometries.
14577 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
14579 (mswindows_widget_instantiate): ditto.
14581 * frame.h (struct frame): add current_gutter_bounds.
14583 * frame.c (change_frame_size_1): position window and minibuffer
14584 appropriately taking into account the frame gutters.
14586 * frame-x.c: (x_initialize_frame_size): take into account the
14589 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
14591 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
14593 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
14595 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
14597 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14599 * file-coding.c (reset_decoding_stream): Clear previous
14600 detection state when autodetect.
14602 2000-02-29 Didier Verna <didier@xemacs.org>
14604 * extents.c (set_extent_glyph_1): don't require extents to be
14607 2000-02-27 Andy Piper <andy@xemacs.org>
14609 * gutter.c (Fset_default_gutter_position): don't default left and
14610 right gutter visibility to t.
14611 (Fset_default_gutter_position): run
14612 default-gutter-position-changed-hook.
14613 (syms_of_gutter): add default-gutter-position-changed-hook.
14615 2000-02-26 Andy Piper <andy@xemacs.org>
14617 * specifier.c (Fmake_specifier): add gutter references.
14619 * gutter.h (RAW_WINDOW_GUTTER): new macro.
14621 * lisp.h: declare Fvalid_plist_p.
14623 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
14625 (default_gutter_visible_p_changed_in_window): invalidate gutter as
14626 well as its visibility so that it gets reconstructed.
14627 (construct_window_gutter_spec): new function. Construct a string
14628 to be displayed in the gutter from a plist of strings. Take care
14629 to only use elements that are declared as visible.
14630 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
14632 (gutter_validate): allow plists of strings in the specifier.
14633 (gutter_specs_changed): construct the real_gutter from the gutter
14634 specs using construct_window_gutter_spec.
14635 (gutter_visible_validate): gutter-visible is a new specifier type.
14636 (Fgutter_visible_specifier_p): new function for the new specifier.
14637 (syms_of_gutter): declare gutter-visible and
14638 Fgutter_visible_specifier_p.
14639 (specifier_type_create_gutter): intitalize new gutter-visible
14641 (reinit_specifier_type_create_gutter): ditto.
14642 (specifier_vars_of_gutter): use new specifier type for gutter
14644 (init_frame_gutters): construct real_gutter correctly.
14645 (Fgutter_specifier_p): beef up documentation.
14646 (Fgutter_size_specifier_p): ditto.
14648 * winslots.h: add real_gutter slots.
14650 2000-02-25 Andy Piper <andy@xemacs.org>
14652 * device-msw.c: Be kind to older cygwin versions. From Raymond
14653 Toy <toy@rtp.ericsson.se>.
14655 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
14656 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
14658 2000-02-25 Martin Buchholz <martin@xemacs.org>
14660 * elhash.c (MARK_OBJ): Practice macro hygiene.
14662 2000-02-24 Martin Buchholz <martin@xemacs.org>
14664 * miscplay.c: s/__inline__/inline/g;
14665 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
14666 (get_device_compdc): INLINE ==> static inline
14667 * *.[ch]: Change INLINE to INLINE_HEADER globally.
14668 find -name '*.h' | \
14669 xargs global-replace \
14670 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
14672 2000-02-25 Andy Piper <andy@xemacs.org>
14674 * window.c (window_top_frame_gutter_height): new function.
14675 (window_top_window_gutter_height): ditto.
14676 (window_top_gutter_height): use them.
14677 (window_bottom_frame_gutter_height): new function.
14678 (window_bottom_window_gutter_height): ditto.
14679 (window_bottom_gutter_height): use them.
14680 (window_left_window_gutter_width): new function.
14681 (window_left_frame_gutter_width): ditto.
14682 (window_left_gutter_width): use them.
14683 (window_right_window_gutter_width): new function.
14684 (window_right_frame_gutter_width): ditto.
14685 (window_right_gutter_width): use them.
14686 (window_pixel_height): new function. calulate window pixel height
14687 with frame gutter involvement.
14688 (Fsplit_window): calculate new sizes taking frame gutters into
14690 (window_char_height_to_pixel_height): don't include frame gutters.
14691 (window_char_height): use window_pixel_height.
14692 (window_pixheight): rename from window_pixel_height.
14693 (change_window_height): use it.
14694 (window_pixel_height_to_char_height): don't include frame gutters.
14695 (window_char_width_to_pixel_width): ditto.
14697 2000-02-25 Andy Piper <andy@xemacs.org>
14699 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
14702 2000-02-24 Martin Buchholz <martin@xemacs.org>
14704 * alloc.c (staticpro):
14705 (staticpro_nodump):
14710 (compact_string_chars):
14711 (pdump_dump_wired):
14712 Convert: if (foo) abort(); ==> assert (! foo);
14714 * eldap.c (Fldap_search_basic):
14718 Fix compiler warnings, and possible crashes if (random) return
14719 value were to be used.
14721 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14723 * device-msw.c: Workaround ResetDC failure.
14725 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
14726 applying a devmode.
14728 * redisplay-msw.c (get_frame_dc): Added start_page_p.
14729 (mswindows_text_width): Do not start printer page.
14731 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
14733 * glyphs-msw.c: Added image methods to msprinter console and
14734 msprinter-specific image instantiation.
14736 2000-02-20 Mike Alexander <mta@arbortext.com>
14738 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
14739 to avoid crashes when selection-sets-clipboard is on
14740 (mswindows_own_selection): ditto
14742 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14745 * redisplay-msw.c (get_frame_dc):
14746 (get_frame_compdc):
14748 * device-msw.c (mswindows_init_device):
14749 (mswindows_delete_device):
14750 (msprinter_init_device):
14751 (msprinter_delete_device):
14752 * frame-msw.c (mswindows_init_frame_1):
14753 (mswindows_delete_frame):
14754 (msprinter_init_frame_3):
14755 (msprinter_delete_frame): Move compatible DC to device object from
14756 frame object, for both mswindows and msprinter. Only one at a time
14757 is needed, it is a real waste to have one per frame!
14759 2000-02-23 Andy Piper <andy@xemacs.org>
14761 * glyphs.c: add dynamic width and height elements.
14762 (image_instance_equal): ditto.
14764 * glyphs-widget.c (widget_query_geometry): calculate width and
14765 height dynamically if required.
14766 (initialize_widget_image_instance): initialize dynamic dimensions.
14767 (widget_instantiate): pick-up dynamic dimensions.
14769 * glyphs.h (struct Lisp_Image_Instance): add width and height for
14770 dynamic determination. Add appropriate macros.
14772 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
14774 (WINDOW_GUTTER_SIZE): ditto.
14775 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
14777 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
14779 (get_frame_dc): ditto.
14781 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
14784 2000-02-23 Martin Buchholz <martin@xemacs.org>
14786 * XEmacs 21.2.31 is released.
14788 2000-02-22 Ben Wing <ben@xemacs.org>
14790 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
14792 2000-02-22 Andy Piper <andy@xemacs.org>
14794 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
14796 2000-02-21 Mike Sperber <mike@xemacs.org>
14800 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
14803 2000-02-21 Mike Sperber <mike@xemacs.org>
14805 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
14807 2000-02-21 Martin Buchholz <martin@xemacs.org>
14809 * XEmacs 21.2.30 is released.
14811 2000-02-20 Martin Buchholz <martin@xemacs.org>
14813 Performance hacking.
14815 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
14816 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
14817 * emacs.c (main_1):
14819 * console.c (DEFVAR_CONSOLE_LOCAL_1):
14820 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
14821 * symeval.h (DEFVAR_SYMVAL_FWD):
14822 * symbols.c (guts_of_unbound_marker):
14823 Make all c_readonly objects also lisp_readonly and marked for life.
14824 * lrecord.h (struct lrecord_implementation):
14825 Document flags better.
14826 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
14827 * lrecord.h (DECLARE_LRECORD):
14828 * lrecord.h (XSETRECORD):
14829 * lrecord.h (RECORDP):
14830 * lrecord.h (RECORD_TYPEP):
14831 * lrecord.h (RECORD_MARKER): New.
14832 * lrecord.h (error_check_*):
14833 * lrecord.h (CONCHECK_NONRECORD):
14834 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
14835 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
14836 * lrecord.h (set_lheader_implementation):
14837 * lrecord.h (enum lrecord_type): New.
14838 * symeval.h (SYMBOL_VALUE_MAGIC_P):
14839 * alloc.c (disksave_object_finalization_1):
14840 * alloc.c (mark_object):
14841 * alloc.c (lrecord_type_index):
14842 * alloc.c (tick_lcrecord_stats):
14843 * alloc.c (Fgarbage_collect):
14844 * alloc.c (init_alloc_once_early):
14845 * alloc.c (pdump_load):
14846 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
14847 * alloc.c (lrecord_type_index): Delete.
14848 Make lisp object type indexes be constant.
14849 Makes (byte-compile) 5% faster.
14850 Put all marker functions into their own array.
14851 Makes (garbage-collect) 5% faster.
14852 Optimize SYMBOL_VALUE_MAGIC_P.
14853 Makes (byte-compile) 2-3% faster.
14854 * config.h.in (gc_checking_assert): New.
14855 * alloc.c: Use gc_checking_assert().
14856 * .dbxrc: Make compatible with new object type implementation.
14857 * .gdbinit: Make compatible with new object type implementation.
14858 * alloc.c: Delete all symbols defined only for debugging, such as
14859 Lisp_Type_Vector and lrecord_charset.
14861 2000-02-21 Andy Piper <andy@xemacs.org>
14863 * gui-msw.c (Fmswindows_shell_execute): fix file location
14866 * buffer.c (Fkill_buffer): remove buffer from alist buffer
14867 unshowing so that set_window_buffer doesn't undo
14868 kill_buffer_hook's hard work.
14870 * glyphs-widget.c (tab_control_query_geometry): don't count the
14871 first item when calculating geometry.
14873 * glyphs.c (map_subwindow): remove redundant code.
14874 (update_frame_subwindows): be more circumspect about when to
14877 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
14878 when items haven't changed. Update faces if faces have changed as
14879 well as just the widget face.
14880 (x_tab_control_update): Update faces if faces have changed as well
14881 as just the widget face.
14883 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
14885 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
14887 (build_syscolor_string): Use mswindows_color_to_string to try to
14889 (mswindows_device_system_metrics): Reverse the foreground and
14890 background colors so that they match the documentation.
14892 * objects-msw.c: (mswindows_X_color_map): tweak some values so
14893 they match the default Windows palette.
14894 (mswindows_color_to_string): New function.
14896 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
14898 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
14900 2000-02-18 Olivier Galibert <galibert@pobox.com>
14902 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
14903 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
14905 * symbols.c (init_symbols_once_early): Removed obsolete
14906 DATA_SEG_BITS related kludge.
14907 (defvar_magic): Ditto.
14909 * malloc.c: Removed obsolete DATA_SEG_BITS
14911 * mem-limits.h: Ditto.
14913 * Makefile.in.in: Removed obsolete HAVE_SHM
14916 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14918 * device-msw.c (mswindows_delete_device): Free DDE string
14921 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14923 * keymap.c (get_keyelt):
14924 * unexnt.c (unexec):
14925 * vm-limit.c (memory_warnings):
14926 * ntheap.c (recreate_heap):
14927 * ntheap.h (UNINIT_PTR):
14928 * select-msw.c (Fmswindows_get_clipboard):
14929 (Fmswindows_set_clipboard):
14930 * objects-msw.h (MSWINDOWS_BAD_HFONT):
14932 * menubar-msw.c (displayable_menu_item):
14934 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
14935 * sysdep.c (sys_subshell):
14936 * process-nt.c (nt_create_process):
14937 * nt.c (normalize_filename):
14938 (dostounix_filename):
14939 (unixtodos_filename):
14940 * ntproc.c (win32_executable_type):
14941 * ntplay.c (play_sound_data_1):
14943 * editfns.c (get_home_directory):
14944 * event-msw.c (struct winsock_stream):
14945 (mswindows_dde_callback):
14946 * device-msw.c (msprinter_init_device):
14947 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
14949 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
14950 mswindows_clear_toolbar were swapped!
14952 * objects-msw.c:(colormap_t):
14954 * emacs.c (struct standard_args): Fixed const jumble.
14956 * glyphs-widget.c (update_widget): Fixed comparison notation.
14958 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
14960 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
14961 __declspec(noreturn) syntax.
14963 2000-02-19 Martin Buchholz <martin@xemacs.org>
14965 * eldap.c (Fldap_open):
14966 (Fldap_search_basic):
14969 Use new coding system conversion macros.
14971 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14973 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
14975 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
14977 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
14978 (Fldap_add, Fldap_modify, Fldap_delete): New functions
14980 * eldap.c (Qadd, Qreplace): New constant symbols
14981 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
14982 interruptions by XEmacs signals
14983 Remove unnecessary calls to slow_down_interrupts and
14984 speed_up_interrupts
14985 (Fldap_search_basic): Renamed from Fldap_search_internal
14986 Added new optional parameter VERBOSE that triggers the
14987 display of progress messages
14988 Remove unnecessary calls to slow_down_interrupts and
14989 speed_up_interrupts
14990 LDAP result code analysis rewritten
14991 (Fldap_add, Fldap_modify, Fldap_delete): New functions
14992 (syms_of_eldap): Define the new symbols and functions
14995 2000-02-17 Martin Buchholz <martin@xemacs.org>
14997 * realpath.c: Determine PATH_MAX maximally portably.
14999 * insdel.c (bytecount_to_charcount): Optimize.
15000 The function used to be optimized for entirely ASCII sequences.
15001 Now it is optimized for successive characters from the same
15002 charset. This also wins big for _mostly_ ASCII sequences.
15004 * fileio.c (Ffile_truename): convert return from realpath() using
15005 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
15006 - Rewrite GCPROing slightly.
15008 * sysdep.c (sys_open): Do filename conversion, like all other
15009 sys_* functions. Fixes bug:
15010 (let ((file-name-coding-system 'iso-8859-2))
15011 (write-region x y latin2-name))
15012 ==> writes filename using internal encoding.
15014 2000-02-18 Martin Buchholz <martin@xemacs.org>
15016 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
15017 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
15018 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
15019 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
15020 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
15021 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
15022 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
15023 (CONST_IF_NOT_DEBUG): Delete.
15024 * alloc.c (this_one_is_unmarkable): Delete.
15025 (mark_object): Don't check for this_one_is_unmarkable. Use the
15026 c_readonly flag instead.
15027 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
15029 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
15031 * event-msw.c (mswindows_drain_windows_queue):
15032 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
15033 away redundant repaint events.
15035 2000-02-17 Andy Piper <andy@xemacs.org>
15037 * redisplay.h: declare mark_redisplay_structs.
15039 * redisplay.c (redisplay_window):
15040 (redisplay_frame): don't check subwindows_state_changed.
15041 (mark_redisplay): mark gutters here.
15043 * glyphs.c: (instantiate_image_instantiator): always layout if we
15044 haven't done so already.
15045 (allocate_image_instance): don't mark as dirty.
15046 (update_subwindow): bind inhibit_quit.
15048 * gutter.c (mark_gutters): new function.
15050 * glyphs-x.c (x_update_widget): Always resize to get round a
15053 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
15054 breaking absolutely everything.
15056 * gutter.h: declare mark_gutters.
15058 2000-02-16 Martin Buchholz <martin@xemacs.org>
15060 * XEmacs 21.2.29 is released.
15062 2000-02-15 Olivier Galibert <galibert@pobox.com>
15064 * fns.c (size_bit_vector): Fix computation of the size.
15066 2000-02-15 Martin Buchholz <martin@xemacs.org>
15068 * *.[ch]: Change CONST to const globally.
15069 find -name '*.[ch]' | \
15070 xargs global-replace \
15071 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
15072 - Remove vestigial references to CONST_IS_LOSING
15074 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
15076 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
15077 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
15078 events instead of dispatching them directly.
15079 (mswindows_handle_paint): New function to do repainting.
15080 (mswindows_wnd_proc):
15081 (emacs_mswindows_handle_magic_event): Call above function.
15083 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
15085 * objects-msw.c (mswindows_create_font_variant): Return the new
15087 (initialize_font_instance): Get font metrics from the underlined
15088 variant of the font to cope with the case where the underlined
15089 font has a bigger descent.
15091 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
15093 * gui.c (gui_item_accelerator): Return the first underlined
15094 character in item name.
15096 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15098 * lisp.h: Added Qprinter.
15100 * general.c (syms_of_general): Initialized it.
15102 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
15104 (get_frame_compdc): Made inline.
15106 * console.h (struct console_methods): Added eject_page method.
15108 * frame.h: Added FRAME_DISPLAY_P and friends.
15109 Aligned backslahes in many macros in more readable fashion.
15110 Added page_number to struct frame, and an accessor macro
15113 * defice.h: Added DEVICE_DISPLAY_P and friends.
15115 * device.c (Fdevice_printer_p): Used these.
15117 * frame.c (allocate_frame_core): Initialize page number.
15118 (Fprint_job_page_number):
15119 (Fprint_job_eject_page): Implemented.
15121 * frame-msw.c (msprinter_eject_page): Added method.
15122 (msprinter_start_page): Added.
15124 * window.c (Fwindow_truncated_p): Fixed docstring.
15125 (Fwindow_last_line_visible_height): Implemented.
15127 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15129 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
15131 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15133 * syntax.c (scan_words): Always advance at least one character.
15135 2000-02-13 Andy Piper <andy@xemacs.org>
15137 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
15138 to make sure the glyph is in the cachels.
15140 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
15141 global image instance flag.
15142 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
15143 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
15145 * glyphs.c (allocate_image_instance): set dirty bits correctly.
15146 (Fset_image_instance_property): mark layout as changed.
15147 (invalidate_glyph_geometry_maybe): mark layout as changed.
15148 (glyph_width): use new NEEDS_LAYOUT macro.
15149 (glyph_ascent): ditto.
15150 (glyph_descent): ditto.
15151 (glyph_height): ditto.
15152 (image_instance_layout): mark layout as clean after laying out.
15153 (update_subwindow): don't mark layout as clean here.
15155 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
15156 should no longer be needed.
15158 * glyphs-x.c (x_update_widget): sanitize asserts.
15159 (x_finalize_image_instance): sanitize assignment to widgets.
15161 * glyphs-widget.c (widget_instantiate): don't need to clear the
15164 2000-02-13 Martin Buchholz <martin@xemacs.org>
15166 * sysdep.c (getcwd): Use standard prototype.
15167 * sysdep.h (getcwd): Use standard prototype.
15169 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
15170 (sequence, start, end).
15171 Remove redundant type checking.
15172 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
15173 view of `caller-protects') to avoid a crash where the real fix was
15176 2000-02-12 Martin Buchholz <martin@xemacs.org>
15178 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
15180 * s/sol2.h: Remove feature macro initialization.
15182 * alloc.c (alloc_lcrecord): Add more type checking assertions.
15183 (vector_hash): New. Code from internal_hash.
15185 Fix up allocation subsystem comments.
15187 * config.h.in: Add __EXTENSIONS__ for Solaris.
15189 * systime.h (EMACS_GETTIMEOFDAY): New.
15190 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
15191 Remove Solaris-specific code.
15192 Use void* for the (ignored) second arg for gettimeofday().
15194 * elhash.c (hash_table_hash): Implement it, finally.
15195 * elhash.c: Use hashcode_t.
15197 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
15198 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
15200 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
15201 * fns.c (size_bit_vector):
15202 * alloc.c (size_vector):
15203 (make_vector_internal):
15204 (make_bit_vector_internal):
15205 (sweep_bit_vectors_1):
15206 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
15208 2000-02-10 Martin Buchholz <martin@xemacs.org>
15210 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
15211 Include strings.h to avoid warnings for bzero and strcasecmp.
15213 2000-02-10 Olivier Galibert <galibert@pobox.com>
15215 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
15216 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
15218 * fns.c (size_bit_vector): New. Declare bit vectors as a
15221 2000-02-10 Olivier Galibert <galibert@pobox.com>
15223 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
15224 use a value field instead.
15225 (symbol_value_forward_forward): Use value field.
15226 (DEFVAR_SYMVAL_FWD): Use value field.
15227 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
15228 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
15229 (DEFVAR_CONST_INT): Ditto.
15230 (DEFVAR_BOOL): Ditto.
15231 (DEFVAR_CONST_BOOL): Ditto.
15232 (DEFVAR_INT_MAGIC): Ditto.
15233 (DEFVAR_BOOL_MAGIC): Ditto.
15235 * symbols.c (guts_of_unbound_marker): Use value field.
15236 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
15237 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
15239 * lisp.h: Declare dumpopaque and noninteractive1.
15241 * alloc.c (dumpopaque): Added.
15242 (pdump_dump_opaquevec): Added.
15243 (pdump): Call pdump_dump_opaquevec to dump opaque data.
15244 (pdump_load): Reload opaque data. Sync noninteractive1 with
15247 2000-02-10 Andy Piper <andy@xemacs.org>
15249 * glyphs.c (image_instance_layout): if the size changes, mark it
15252 * redisplay-output.c (redisplay_output_layout): Update the
15254 (redisplay_output_subwindow): ditto.
15256 * glyphs.c (update_subwindow): make sure we reset flags for
15257 layouts as well as everything else.
15259 * glyphs-widget.c (layout_layout): don't need to set the instances
15262 2000-02-09 Martin Buchholz <martin@xemacs.org>
15264 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
15265 not HAVE_DLOPEN, which is a lower-level thing.
15267 * .cvsignore: Ignore gmon.out
15269 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
15271 * .cvsignore: Ignore portable dumper xemacs.dmp file
15273 2000-02-09 Andy Piper <andy@xemacs.org>
15275 * redisplay-output.c (redisplay_output_layout): be more clever
15276 about when we output based on the changed flags.
15278 * glyphs.h (struct image_instantiator_methods): add update_method.
15279 (struct Lisp_Image_Instance): add changed flags. Declare new
15280 macros for manipulating them.
15282 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
15283 (image_instance_parent_glyph): find an image_instance's parent
15284 glyph or image_instance.
15285 (image_instance_layout): mark the size as changed.
15286 (set_image_instance_dirty_p): new function. mark an image
15287 instance, plus all of its parents, as dirty.
15288 (Fset_image_instance_property): use it.
15289 (Fglyph_animated_timeout_handler): use it.
15290 (update_subwindow): call update_widget and device methods for
15291 update_subwindow. Mark all changed flags as clean.
15292 (Fresize_subwindow): mark size as changed.
15294 * glyphs-x.c (x_finalize_image_instance): try and detect gc
15296 (x_update_subwindow): only resize subwindows here.
15297 (x_update_widget): new function. Update all changed properties of
15299 (x_resize_subwindow): deleted.
15300 (x_widget_set_property): deleted.
15301 (x_progress_gauge_set_property): deleted.
15302 (x_progress_gauge_update): new function. Implement recorded
15304 (x_tab_control_update): ditto.
15305 (x_tab_control_set_property): deleted.
15306 (console_type_create_glyphs_x): declare new functions.
15307 (image_instantiator_format_create_glyphs_x): ditto.
15309 * glyphs-widget.c (widget_set_property): mark text changed.
15310 (update_widget): new function. Update properties of a widget.
15311 (widget_instantiate): for layouts make sure we set their
15312 children's parent correctly.
15313 (tab_control_set_property): new function. Record changes that will
15314 take place under redisplay's control.
15315 (progress_gauge_set_property): ditto.
15316 (image_instantiator_progress_guage): declare new functions.
15317 (image_instantiator_tab_control): ditto.
15319 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
15321 (mswindows_update_widget): new function. Update all properties on
15322 a widget that have changed.
15323 (mswindows_button_update): new function. Update a button's set
15325 (mswindows_tab_control_update): new function. Update the items in
15327 (mswindows_tab_control_set_property): deleted.
15328 (mswindows_progress_gauge_update): new function. Update the
15329 progress gauge's progress.
15330 (mswindows_widget_set_property): deleted. This is all done
15331 asynchronously now.
15332 (mswindows_progress_gauge_set_property): ditto.
15333 (console_type_create_glyphs_mswindows): declare new methods.
15334 (image_instantiator_format_create_glyphs_mswindows): ditto.
15336 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
15337 (msprinter_set_frame_properties): ditto.
15339 * console.h (struct console_methods): Add update_widget_method.
15341 2000-02-09 Andy Piper <andy@xemacs.org>
15343 * gui-msw.c (Fmswindows_shell_execute): Make
15344 mswindows-shell-execute industrial strength.
15346 2000-02-08 Martin Buchholz <martin@xemacs.org>
15348 * lrecord.h: Make macro argument `props' match member function `plist'.
15351 * fns.c (Fremprop):
15352 * fns.c (Fobject_plist):
15355 Object property list frobbing cleanup.
15356 - Allow any lisp object (compared with `eq'), not just symbols, as
15357 keys in object plists.
15358 - Move symbol plist frobbing into symbols.c, where it belongs.
15359 - Move string plist frobbing into alloc.c, where it belongs.
15360 - Everything's an lrecord now, so no need to test for symbolp, etc.
15361 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
15363 * extents.c: Reorder code to remove declarations.
15365 * frame.h (store_in_alist): Remove useless declaration.
15367 2000-02-07 Martin Buchholz <martin@xemacs.org>
15369 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
15370 * config.h.in: Add HAVE_XCONVERTCASE.
15372 2000-02-07 Andy Piper <andy@xemacs.org>
15374 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
15375 it breaks many things.
15377 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
15379 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
15380 actually can start a common comment type.
15381 * src/syntax.h (SYNTAX_END_P): ditto for end.
15383 2000-02-07 Martin Buchholz <martin@xemacs.org>
15385 * XEmacs 21.2.28 is released.
15387 2000-02-06 Martin Buchholz <martin@xemacs.org>
15389 * event-Xt.c (x_keysym_to_character): New.
15390 (maybe_define_x_key_as_self_inserting_character): New.
15391 (x_has_keysym): New.
15392 Auto-define all keys on the keyboard as self-insert-key.
15394 2000-02-02 Martin Buchholz <martin@xemacs.org>
15396 * menubar.c (vars_of_menubar): A small code simplification.
15398 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
15401 * ExternalClient.c:
15402 * EmacsShell-sub.c:
15405 Use consistent style for specifying X resources.
15407 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
15408 This makes (dontusethis-set-symbol-value-handler) actually usable.
15410 * lrecord.h (lrecord_decription_type):
15411 * alloc.c (pdump_register_sub):
15414 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
15415 Comply with XEmacs coding style.
15416 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
15417 args, and XD_LISP_OBJECT_ARRAY with 3 args.
15419 * keymap.c (Faccessible_keymaps):
15420 Make (accessible-keymaps map "\C-h") do the Right Thing.
15421 Make (accessible-keymaps map []) do the Right Thing.
15422 Make (accessible-keymaps map "") do the Right Thing.
15423 (check_keymap_definition_loop): New function.
15424 (keymap_store_internal): Keep luser from shooting self in foot,
15425 via (define-key ctl-x-4-map "p" global-map).
15426 Remove fullness slot from struct Lisp_Keymap, since hash tables
15428 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
15430 2000-01-30 Martin Buchholz <martin@xemacs.org>
15432 * redisplay.c (init_redisplay): Fix small memory leak.
15434 * elhash.c (pdump_reorganize_hash_table):
15435 Rename from reorganize_hash_table. Change prototype.
15436 Reuse the original memory for hentries. Save 100k.
15437 * alloc.c (PDUMP_READ): new macro.
15438 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
15439 * alloc.c: No need to #ifndef before #undef.
15441 * print.c: Allow debug_print() to print readably by modifying
15442 debug_print_readably. Use consistent variable names.
15444 * .dbxrc: Try to get things to work even if stopped in a function
15445 without source available by explicitly specifying source files.
15446 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15448 * unexnt.c (_start): Removed bogus code which caused loading heap
15449 from differrent executable file.
15450 Removed bogus assignment to _fmode, which caused inconsistencies.
15452 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15454 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
15455 Have spawnve encapsulation regard DONT_ENCAPSULATE.
15456 Do not preliminary `#define signal sigset'.
15458 * systime.h: Do not prototype environ on windows nt and cygwin,
15459 this conflicts with system header.
15461 * syssignal.h: Use correct define for WINDOWSNT
15463 * sysdep.h: Do not prototype environ on windows nt, this conflicts
15464 with system header.
15466 * sysdep.c (near start of file): Fixed commentary and rearranged
15467 ifdefs in readable order.
15468 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
15471 (end_of_data): Do not compile in if using PDUMP.
15473 * symsinit.h: Prototyped vars_of_nt().
15475 * ntproc.c (windows9x_p): Added, instead of os_subtype.
15476 (find_child_console): Use it.
15477 (sys_kill): Use it.
15479 * ntheap.h: Do not extern os_subtype.
15481 * ntheap.c (cache_system_info): Do not cache unneeded:
15482 nt_major_version, nt_minor_version and os_subtype.
15483 (recreate_heap): Do not compile in when PDUMPing.
15485 * nt.c (geteuid and friends): Use the new varibale
15486 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
15487 (init_user_info): Removed the above mentioned hackery.
15488 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
15489 stat has been fixed in the C runtime.
15490 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
15492 * file-coding.c (struct file_coding_dump): Do not define
15493 ucs_to_mule_table in the struct if not MULE.
15494 (struct struct lrecord_description fcd_description_1): Do not dump
15497 * emacs.c (main_1): Call vars_of_nt().
15498 (right before Fdump_emacs_data): Don't need lastfile if using both
15499 portabe dumper and system malloc.
15501 * alloc.c (Fmemory_limit): Conditionalized out.
15502 (pdump): Use OPEN_BINARY for the portable dump file.
15503 (pdump_load): Ditto.
15505 2000-02-02 Mike Alexander <mta@arbortext.com>
15507 * nt.c (convert_time): Set tm_isdst before calling mktime and
15508 avoid calling it at all if the compiler supports 64 bit integers.
15509 Also initialize utc_base_ft before using it.
15511 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
15513 * frame.c (change_frame_size_1): Take f->internal_border_width
15514 into consideration when calculating the width of the frame.
15516 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15518 * window.c (frame_min_height):
15519 (frame_size_valid_p):
15520 (frame_pixsize_valid_p): Added.
15521 (check_frame_size): Generalized.
15523 * window.h: Prototyped the above.
15526 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
15527 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
15528 Deleted Vwin32_* and Vbinary_process_* unused variables.
15530 * device-msw.c (msprinter_init_device): Do not get printer font
15531 list; Added DEVMODE functions.
15533 * frame-msw.c: Added lots of printer code.
15535 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
15538 * console-msw.h: Added more msprinter device private slots.
15540 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15542 * event-msw.c (key_needs_default_processing_p): Added.
15543 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
15545 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15547 * glyphs.c (image_instance_layout): Mark image instance as clean
15549 (glyph_dirty_p): Removed redundant function.
15550 (invalidate_glyph_geometry_maybe): Added.
15551 (update_glyph_cachel_data): Call it.
15553 * glyphs.h: Prototyped it.
15555 * redisplay.c (add_glyph_rune): Call it.
15556 (redisplay_window): Reset glyphs cachels when frame faces have
15557 changed, thus forcing recomputation of built-in border glyphs.
15559 2000-01-30 Martin Buchholz <martin@xemacs.org>
15561 * Makefile.in.in: Make portable dumper and purify play well together.
15562 Add imperfect, but better than nothing, support for pdump.
15563 Remove xemacs.dmp when temacs is re-generated.
15564 Don't ignore errors when dumping xemacs.
15566 * symbols.c (maybe_call_magic_handler): Remove one magic number.
15568 2000-01-28 Andy Piper <andy@xemacs.org>
15570 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
15571 (setup_normal_frame): ditto.
15572 (setup_frame_without_minibuffer): ditto.
15573 (setup_minibuffer_frame): ditto.
15574 (delete_frame_internal): ditto.
15575 (Fmake_frame_invisible): ditto.
15576 (Ficonify_frame): ditto.
15578 * window.h: change Fset_window_buffer signature.
15580 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
15581 (Fset_window_buffer): allow recording of buffer if the window is
15582 the selected window.
15583 (window_loop): Use new Fset_window signature.
15585 2000-01-23 Daniel Pittman <daniel@danann.net>
15587 * config.h.in: Added template for `HAVE_ATHENA_3D'
15589 2000-01-29 Andy Piper <andy@xemacs.org>
15591 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
15593 * gutter.c (output_gutter): Don't output if the window isn't live.
15595 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15597 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
15598 of 01/12/00: Moved SetFocus back here where it belongs.
15600 2000-01-23 Andy Piper <andy@xemacs.org>
15602 * s/cygwin32.h: declare printer things.
15604 2000-01-26 Andy Piper <andy@xemacs.org>
15606 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
15609 2000-01-24 Andy Piper <andy@xemacs.org>
15611 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
15612 (mswindows_button_instantiate): Make sure glyph is a pixmap.
15614 * glyphs-widget.c (widget_instantiate): Avoid shadows.
15616 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
15618 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
15620 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
15621 (mswindows_output_display_block): Avoid local shadows.
15623 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
15624 (mswindows_enqueue_mouse_button_event): ditto.
15625 (mswindows_handle_gui_wm_command): remove declaration.
15627 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
15630 * console-msw.h: Avoid shadows.
15631 (mswindows_get_toolbar_button_text):
15632 (emacs_mswindows_create_stream_pair):
15633 (emacs_mswindows_delete_stream_pair):
15634 (mswindows_handle_toolbar_wm_command): declare.
15636 * device-msw.c (build_syscolor_string): Avoid shadows.
15638 2000-01-23 Andy Piper <andy@xemacs.org>
15640 * glyphs-widget.c (widget_instantiate): reverse the items for
15641 layouts so that children are in the expected order.
15643 2000-01-28 Martin Buchholz <martin@xemacs.org>
15645 * ralloc.c: safe_bcopy ==> memmove
15646 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
15647 * s/msdos.h: Remove BCOPY macros.
15648 * insdel.c (gap_right): Remove BCOPY conditional code.
15649 * insdel.c (gap_left): Remove BCOPY conditional code.
15650 XEmacs demands a working ANSI C compiler - hence memmove.
15652 * regex.c (regex_compile): Remove accidental use of trigraphs.
15654 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15656 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
15659 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15661 * event-msw.c (mswindows_drain_windows_queue): Added the
15663 (mswindows_need_event): Commented the call to
15664 mswindows_drain_windows_queue().
15665 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
15668 * console-msw.h: Moved a few function prototypes here from
15671 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
15672 parameter from unsigned short to unsigned long.
15673 (Fmswindows_shell_execute): Added return value.
15675 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
15677 * sysdep.c (init_system_name):
15678 process-unix.c (unix_canonicalized_host_name):
15679 Don't call freeaddrinfo() if getaddrinfo() fails.
15681 * process-unix.c (unix_open_unix_network_stream):
15682 Moved the code to get a port # into address loop.
15684 2000-01-27 Martin Buchholz <martin@xemacs.org>
15686 * buffer.c (reinit_vars_of_buffer):
15687 The right place to initialize conversion_in_dynarr and
15688 conversion_out_dynarr.
15690 * alloc.c (pdump): Use the real open() till sys_open() is functional.
15692 * process-unix.c (unix_canonicalize_host_name): Muleize.
15693 (unix_open_network_stream): Muleize.
15695 * buffer.h: Fix up prototypes for ralloc.c functions.
15697 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
15698 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
15699 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
15700 instead of gethostbyname()
15701 * process-unix.c: In unix_canonicalize_host_name() and
15702 unix_open_network_stream(), add code to use getaddrinfo()
15703 instead of gethostbyname().
15705 2000-01-27 Daniel Pittman <daniel@danann.net>
15707 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
15708 libs when built with flat Athena.
15710 2000-01-27 Martin Buchholz <martin@xemacs.org>
15712 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
15713 Use coding standards for function prototypes.
15715 2000-01-25 Martin Buchholz <martin@xemacs.org>
15717 * dialog-msw.c (push_lisp_string_as_unicode):
15718 * doc.c (unparesseuxify_doc_string):
15719 * dired.c (Fuser_name_completion_1):
15720 * dired.c (Fuser_name_all_completions):
15721 * dired.c (free_user_cache):
15722 * dired.c (user_name_completion):
15723 * console-x.c (get_display_arg_connection):
15724 * minibuf.c (clear_echo_area_internal):
15725 * minibuf.c (echo_area_append):
15726 * eldap.c (Fldap_open):
15727 * eldap.c (Fldap_search_internal):
15728 * frame-x.c (x_set_frame_text_value):
15729 * frame-x.c (x_set_frame_properties):
15730 * frame-x.c (x_create_widgets):
15731 * redisplay-tty.c (term_get_fkeys_1):
15732 * objects-x.c (x_parse_nearest_color):
15733 * objects-x.c (x_valid_color_name_p):
15734 * objects-x.c (x_initialize_font_instance):
15735 * objects-x.c (x_list_fonts):
15736 * objects-x.c (x_find_charset_font):
15737 * tooltalk.c (Fadd_tooltalk_message_arg):
15738 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
15739 * tooltalk.c (Fadd_tooltalk_pattern_arg):
15740 * process-unix.c (unix_create_process):
15741 * ntproc.c (sys_spawnve):
15742 * sound.c (Fplay_sound_file):
15743 * sound.c (Fplay_sound):
15744 * buffer.c (init_initial_directory):
15745 * buffer.c (init_buffer):
15746 * editfns.c (init_editfns):
15747 * editfns.c (Ftemp_directory):
15748 * editfns.c (Fuser_full_name):
15749 * editfns.c (uncache_home_directory):
15750 * editfns.c (get_home_directory):
15751 * editfns.c (Fuser_home_directory):
15752 * editfns.c (Fformat_time_string):
15753 * editfns.c (Fcurrent_time_string):
15754 * gui-x.c (button_item_to_widget_value):
15755 * database.c (Fopen_database):
15756 * event-Xt.c (x_to_emacs_keysym):
15757 * event-Xt.c (x_event_to_emacs_event):
15758 * event-Xt.c (describe_event_window):
15759 * event-msw.c (mswindows_wnd_proc):
15760 * glyphs-eimage.c (jpeg_instantiate):
15761 * glyphs-eimage.c (gif_instantiate):
15762 * glyphs-eimage.c (png_instantiate):
15763 * glyphs-eimage.c (tiff_instantiate):
15764 * glyphs-x.c (xbm_instantiate_1):
15765 * glyphs-x.c (x_xbm_instantiate):
15766 * glyphs-x.c (x_xface_instantiate):
15767 * glyphs-x.c (autodetect_instantiate):
15768 * glyphs-x.c (cursor_font_instantiate):
15769 * glyphs-x.c (x_widget_instantiate):
15770 * glyphs-x.c (x_widget_set_property):
15771 * glyphs-x.c (x_widget_property):
15772 * glyphs-x.c (BUILD_GLYPH_INST):
15773 * print.c (write_string_to_stdio_stream):
15774 * print.c (output_string):
15775 * print.c (Falternate_debugging_output):
15776 * print.c (Fexternal_debugging_output):
15777 * glyphs-msw.c (extract_xpm_color_names):
15778 * glyphs-msw.c (mswindows_xpm_instantiate):
15779 * glyphs-msw.c (bmp_instantiate):
15780 * glyphs-msw.c (resource_name_to_resource):
15781 * glyphs-msw.c (mswindows_resource_instantiate):
15782 * glyphs-msw.c (xbm_instantiate_1):
15783 * glyphs-msw.c (mswindows_xbm_instantiate):
15784 * glyphs-msw.c (mswindows_xface_instantiate):
15785 * glyphs-msw.c (mswindows_widget_instantiate):
15786 * glyphs-msw.c (add_tree_item):
15787 * glyphs-msw.c (add_tab_item):
15788 * glyphs-msw.c (mswindows_combo_box_instantiate):
15789 * glyphs-msw.c (mswindows_widget_property):
15790 * glyphs-msw.c (mswindows_combo_box_property):
15791 * glyphs-msw.c (mswindows_widget_set_property):
15792 * console.c (stuff_buffered_input):
15793 * objects-msw.c (mswindows_initialize_color_instance):
15794 * objects-msw.c (mswindows_valid_color_name_p):
15795 * objects-msw.c (mswindows_list_fonts):
15796 * objects-msw.c (mswindows_font_instance_truename):
15797 * bytecode.c (optimize_compiled_function):
15798 * select-x.c (symbol_to_x_atom):
15799 * select-x.c (x_atom_to_symbol):
15800 * select-x.c (hack_motif_clipboard_selection):
15801 * select-x.c (selection_data_to_lisp_data):
15802 * select-x.c (lisp_data_to_selection_data):
15803 * select-x.c (Fx_get_cutbuffer_internal):
15804 * select-x.c (Fx_store_cutbuffer_internal):
15805 * buffer.h (TO_EXTERNAL_FORMAT): New function.
15806 * buffer.h (TO_INTERNAL_FORMAT): New function.
15807 * emacs.c (make_arg_list_1):
15808 * emacs.c (make_argc_argv):
15809 * emacs.c (main_1):
15810 * emacs.c (Fdump_emacs):
15811 * emacs.c (split_string_by_emchar_1):
15816 * device-x.c (x_init_device):
15817 * device-x.c (Fx_valid_keysym_name_p):
15818 * device-x.c (Fx_get_font_path):
15819 * device-x.c (Fx_set_font_path):
15820 * glyphs.c (bitmap_to_lisp_data):
15821 * glyphs.c (pixmap_to_lisp_data):
15822 * alloc.c (make_ext_string): Use coding system arguments. Update
15824 * alloc.c (build_string):
15825 * callproc.c (child_setup):
15826 * callproc.c (init_callproc):
15827 * fileio.c (lisp_strerror):
15828 * fileio.c (directory_file_name):
15829 * fileio.c (Fexpand_file_name):
15830 * fileio.c (Ffile_truename):
15831 * fileio.c (Fsysnetunam):
15832 * fileio.c (Fdo_auto_save):
15833 * sysdep.c (sys_readdir):
15834 * tests.c: New file. Allow adding C tests.
15835 Replace GET_* macros with a more comprehensible and flexible
15836 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
15838 Any coding system can be used to do format conversion.
15839 Eliminate enum external_data_format.
15840 Eliminate convert_to_external_format.
15841 Eliminate convert_to_internal_format.
15842 Make sure file-name, keyboard, terminal, and ctext are always
15843 defined as coding systems or aliases. Make
15844 file-name-coding-system, terminal-coding-system, and
15845 keyboard-coding-system magical variables that are equivalent to
15846 defining the corresponding coding system aliases.
15848 * file-coding.c (Fcoding_system_canonical_name_p): New function.
15849 * file-coding.c (Fcoding_system_alias_p): New function.
15850 * file-coding.c (Fcoding_system_aliasee): New function.
15851 * file-coding.c (append_suffix_to_symbol): New function.
15852 * file-coding.c (dangling_coding_system_alias_p): New function.
15853 * file-coding.c (Ffind_coding_system):
15854 * file-coding.c (Fcopy_coding_system):
15855 * file-coding.c (encode_coding_no_conversion):
15856 * file-coding.c (syms_of_file_coding):
15857 * file-coding.c (vars_of_file_coding):
15858 Rewrite coding system alias code.
15859 Allow nested aliases, like symbolic links.
15860 Allow redefinition of coding system aliases.
15861 Prevent existence of dangling coding system aliases.
15863 * dired.c (Fuser_name_completion_1):
15864 * dired.c (Fuser_name_all_completions):
15865 A crash would happen if user did QUIT in the middle of building
15866 user_name_cache. Remove redundant code in mainline and unwind_protect.
15869 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
15871 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
15872 an unsigned char *. Update all callers.
15874 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15876 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
15878 2000-01-25 Martin Buchholz <martin@xemacs.org>
15880 * elhash.c (hentry_description): Use more portable definition.
15881 (resize_hash_table): Initialize new hentries using
15882 xnew_array_and_zero, thereby simplifying the code.
15884 * mule-charset.c (make_charset): Make sure entire object is
15885 initialized, to avoid Purify warnings.
15887 * alloc.c (resize_string): Fix unlikely crash with big strings.
15889 2000-01-24 Martin Buchholz <martin@xemacs.org>
15891 * realpath.c (xrealpath):
15892 Don't call getwd().
15894 2000-01-25 Martin Buchholz <martin@xemacs.org>
15896 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
15898 1999-12-28 Max Matveev <max@melbourne.sgi.com>
15900 * unexelfsgi.c (unexec): Change the way we decide which segment
15901 should be extended.
15903 Assumption that .bss section should be outside the PT_LOADable
15904 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
15905 it's present) is inside the 'data' segment. This would fail the
15906 test which was used to find a segment to grow and cover new
15907 heap. Instead of this assumption, I created another one - on IRIX
15908 the segment to grow should start below .bss and it's address
15909 should extent above the end of .bss. Once this segment is
15910 identified, it's grown to accommodate the new heap and new
15911 zero-length .bss section is added at the end of .data2.
15913 2000-01-25 Martin Buchholz <martin@xemacs.org>
15915 * eval.c (Feval): Wrong number of arguments should use original
15916 function, not the indirect_function version of it.
15918 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
15920 * glyphs-x.c (x_button_instantiate): Don't add image if
15921 it is not a pixmap.
15922 (x_locate_pixmap_file): Call Fexpand_file_name when file name
15925 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
15927 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
15929 (DEFVAR_INT_MAGIC): Ditto.
15930 (DEFVAR_BOOL_MAGIC): Ditto.
15931 * glyphs.h: Reindent backslash.
15933 2000-01-24 Martin Buchholz <martin@xemacs.org>
15935 * glyphs-widget.c (layout_query_geometry):
15936 (layout_layout): Use correct types for gheight, gwidth.
15938 2000-01-24 Martin Buchholz <martin@xemacs.org>
15940 * EmacsManager.c (QueryGeometry): Purified.
15942 2000-01-23 Martin Buchholz <martin@xemacs.org>
15944 * alloc.c (make_float): Make sure entire object is initialized, to
15945 avoid Purify warnings.
15946 (pdump_register_sub): Remove useless assignment.
15947 (pdump): Use xmalloc, not malloc.
15948 (pdump_load): Use xmalloc, not malloc.
15950 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15957 * sysdep.c: Removed redundant #include <windows.h>
15959 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15961 * frame.c (delete_frame_internal): Do not delete device when its
15962 implementation so declares.
15963 (delete_frame_internal): Set device selected frame to nil when
15964 last frame goes away.
15966 * device-msw.c (msprinter_device_system_metrics): Implemented.
15967 (mswindows_device_system_metrics): Added 'device-dpi property.
15969 * device.c: (Fdevice_printer_p): Added.
15970 Added 'offset-workspace device metric.
15972 * console.h (device_metrics): Declared DM_offset_workspace.
15974 2000-01-23 Martin Buchholz <martin@xemacs.org>
15976 * fileio.c (Ffile_truename): Remove pointless and confusing
15977 initialization of elen.
15979 * glyphs-widget.c: Compiler warning fixes.
15981 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
15983 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
15984 instead of a Lisp_Object as argument to make it consistent with
15985 the other LIVE_P macros.
15986 (CHECK_LIVE_PROCESS): New macro.
15988 * process.c: Declare Qprocess_live_p.
15989 (Fprocess_live_p): New function.
15990 (create_process): Use PROCESS_LIVE_P.
15991 (read_process_output): Ditto.
15992 (set_process_filter): Ditto.
15993 (Fdelete_process): Ditto.
15994 (kill_buffer_processes): Ditto
15995 (process_send_signal): Use CHECK_LIVE_PROCESS.
15996 (Fprocess_input_coding_system): Check whether process is still
15997 alive (fix PR#1061).
15998 (Fprocess_output_coding_system): Ditto.
15999 (Fprocess_coding_system): Ditto.
16000 (Fset_process_input_coding_system): Ditto.
16001 (Fset_process_output_coding_system): Ditto.
16003 2000-01-23 Andy Piper <andy@xemacs.org>
16005 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
16008 * glyphs.c (mark_image_instance): take into account changed
16009 image_instance format.
16010 (image_instance_equal): ditto.
16011 (image_instance_hash): ditto.
16013 * glyphs-widget.c (widget_instantiate): Incorporate layout
16014 instantiation here. Delay layout of the layout until later.
16015 (layout_instantiate): deleted.
16016 (layout_query_geometry): new function. get the geometry of a
16018 (layout_layout): layout a layout dynamically.
16019 (image_instantiator_widget): New function - splitting up
16020 image_instantiator_format_create_glyphs_widget for netwinder
16022 (image_instantiator_buttons):
16023 (image_instantiator_edit_fields):
16024 (image_instantiator_combo_box):
16025 (image_instantiator_scrollbar):
16026 (image_instantiator_progress_guage):
16027 (image_instantiator_tree_view):
16028 (image_instantiator_tab_control):
16029 (image_instantiator_labels):
16030 (image_instantiator_layout): ditto.
16031 (image_instantiator_format_create_glyphs_widget): Call preceding
16034 2000-01-22 Martin Buchholz <martin@xemacs.org>
16036 * process.c (Fset_process_coding_system):
16037 * device-x.c (Fx_keysym_hash_table):
16040 * lstream.c (Lstream_write): Return documented value, not 0.
16042 * fileio.c (directory_file_name):
16043 (Fsubstitute_in_file_name):
16044 (Fsubstitute_insert_file_contents_internal):
16045 (Fwrite_region_internal):
16050 Remove vestigial APOLLO-conditional code.
16052 2000-01-21 Martin Buchholz <martin@xemacs.org>
16054 * getpagesize.h: Add guard macros.
16055 * libsst.h: Add guard macros.
16056 * libst.h: Add guard macros.
16057 * line-number.h: Add guard macros.
16058 * ndir.h: Add guard macros.
16059 * sysfloat.h: Add guard macros.
16060 * sysfile.h: Add guard macros.
16061 * sysproc.h: Add guard macros.
16062 * syswait.h: Add guard macros.
16063 * xintrinsic.h: Add guard macros.
16064 * xintrinsicp.h: Add guard macros.
16065 * xmmanager.h: Add guard macros.
16066 * xmmanagerp.h: Add guard macros.
16067 * xmprimitive.h: Add guard macros.
16068 * xmu.h: Add guard macros.
16069 * gpmevent.h: Add copyright statement. Add guard macros.
16070 * miscplay.h: Add guard macros.
16071 * *.h: Use consistent C-standards-approved guard macro names.
16073 * opaque.c (make_opaque): Switch parameter order.
16074 * opaque.h (make_opaque): Switch parameter order.
16075 Update all callers.
16076 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
16078 * config.h.in (type_checking_assert): Added.
16079 (bufpos_checking_assert): Added.
16081 2000-01-21 Martin Buchholz <martin@xemacs.org>
16083 * alloc.c: Harmless pdump changes.
16085 - spell alignment correctly.
16086 * sysdep.c: Use countof()
16088 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16090 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
16091 initially_selected_for_input() console method, default to 0.
16092 (semi_canonicalize_console_connection): Try to delegate to
16093 canonicalize_console_connection if no such console method.
16094 (canonicalize_console_connection): Vice versa.
16095 (print_console): Do not print nil connection.
16097 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
16098 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
16099 (XDEVIMPF_FRAMELESS_OK): Added.
16100 (CONSOLE_INHERITS_METHOD): Added.
16102 * console-msw.c (mswindows_canonicalize_console_connection):
16104 (mswindows_canonicalize_device_connection): Added.
16106 * console-msw.h (struct msprinter_device): Added this struct and
16108 (mswindows_device): Made fontlist a lisp object.
16110 * device.c (semi_canonicalize_device_connection): Try to delegate
16111 to canonicalize_device_connection if no such console method.
16112 (canonicalize_device_connection): Vice versa.
16113 (print_device): Do not print nil connection.
16115 * device-msw.c (mswindows_init_device): Call InitCommonControls
16117 (mswindows_delete_device): Removed fontlist deallocation.
16118 (mswindows_mark_device): Added.
16120 * events.c (event_equal): Added abort() at unreached code.
16121 (event_hash): Ditto.
16123 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
16124 fallback tags of Windows devices.
16126 * general.c (syms_of_general): Initialized Qmsprinter.
16128 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
16129 of fallback tags of Windows devices.
16131 * lisp.h: Declared Qmsprinter.
16133 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
16135 (mswindows_list_fonts): Ditto.
16136 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
16137 that it can be used by both mswindows and msprinter devices.
16138 (initialize_font_instance): Added.
16139 (mswindows_initialize_font_instance): Use it.
16140 (msprinter_initialize_font_instance): Added.
16142 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
16143 and implementation flags check.
16144 (redisplay_without_hooks): Changed the call to the above.
16145 (Fredraw_device): Ditto.
16146 (Fredisplay_device): Ditto.
16148 * redisplay-msw.c (get_frame_dc): Implemented.
16149 (get_frame_compdc): Implemented.
16150 (many functions): Use the two functions above to get device
16151 contexts, ether for a window or a printer.
16153 2000-01-21 Olivier Galibert <galibert@pobox.com>
16155 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
16156 initialization here.
16157 (init_symbols_once_early): Call it.
16158 * emacs.c (main_1): Call it.
16159 * symsinit.h: Declare it.
16161 2000-01-19 Olivier Galibert <galibert@pobox.com>
16163 * alloc.c: Use a lrecord_header * in the backtrace instead of a
16165 (pdump_backtrace): Ditto.
16166 (pdump_register_object): Ditto. Cleanup use of the pointers.
16167 (pdump_get_entry): Abort if trying to register a null pointer.
16168 (pdump_dump_data): Cleanup types when relocating.
16169 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
16170 (pdump_dump_rtables): Remove bad casts.
16171 (pdump_load): Cleanup relocation w.r.t union type. Use a
16172 Lisp_Object instead of a EMACS_INT for the hashtable
16175 2000-01-20 Martin Buchholz <martin@xemacs.org>
16177 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
16179 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
16181 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
16183 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
16185 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16187 * faces.h (FACE_STRIKETHRU_P): Added.
16189 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
16192 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
16193 (mswindows_set_dc_font): New function, aware of font variants,
16194 separated from mswindows_update_dc.
16196 * objects-msw.h (struct mswindows_font_instance_data): Added
16199 * objects-msw.c (mswindows_finalize_font_instance): Delete all
16200 cached fonts and the data structure.
16201 (mswindows_initialize_font_instance): Added creation of font data
16203 (mswindows_print_font_instance): Print at least something.
16204 (mswindows_create_font_variant): Implemented.
16205 (mswindows_get_hfont): Implemented.
16207 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
16209 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
16210 prototyping problem with msvc.
16212 * emacs.c (main_1): added syms_of_gui_mswindows() call
16214 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
16215 syms_of_gui_mswindows() function
16217 * symsinit.h: added the prototype for syms_of_gui_mswindows()
16219 2000-01-18 Martin Buchholz <martin@xemacs.org>
16221 * XEmacs 21.2.27 is released.
16223 2000-01-18 Martin Buchholz <martin@xemacs.org>
16225 * glyphs-eimage.c (struct tiff_error_struct):
16227 (tiff_warning_func):
16228 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
16233 * unexec.c: Remove vestigial Lucid C code.
16237 * libsst.c: Ansify.
16238 Remove declarations of errno and strerror().
16240 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
16242 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
16244 2000-01-16 Martin Buchholz <martin@xemacs.org>
16246 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
16249 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16254 Change enum eol_type to eol_type_t.
16256 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16258 * gui.c (get_gui_callback): Check cons before accessing car.
16260 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16262 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
16263 (XSETSPECIFIER_TYPE): Ditto.
16265 2000-01-17 Didier Verna <didier@xemacs.org>
16267 * redisplay.c (generate_fstring_runes): compute string size in
16268 characters, not bytes.
16270 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
16272 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
16274 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
16276 * print.c (print_error_message): Call print_prepare().
16278 2000-01-14 Martin Buchholz <martin@xemacs.org>
16280 * .dbxrc: Renamed from dbxrc.
16282 * events.c (event_to_character):
16283 Use `assert (foo)' instead of `if (!foo) abort()'
16285 * .gdbinit (xtype): Add documentation.
16286 * .gdbinit (check-temacs): New function.
16287 * .gdbinit (check-xemacs): New function.
16288 * dbxrc (check-xemacs): New function.
16289 * dbxrc (check-xemacs): New function.
16291 2000-01-14 Andy Piper <andy@xemacs.org>
16293 * glyphs-widget.c (widget_query_geometry): Make sure that we
16294 calculate default dimensions correctly.
16296 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16298 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
16300 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
16301 pdump_wire'd variable.
16303 * emacs.c: (main_1): Conditionalized calls to
16304 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
16306 2000-01-13 Martin Buchholz <martin@xemacs.org>
16308 * window.c (Fset_window_configuration):
16309 * sysdep.c (_start):
16310 * input-method-motif.c (res):
16311 * event-Xt.c (Xt_process_to_emacs_event):
16312 Simple compiler warning fixes.
16314 * bytecode.c (funcall_compiled_function): Use the original
16315 function symbol on the backtrace list in preference to the
16316 compiled_function object in error messages.
16318 2000-01-13 Andy Piper <andy@xemacs.org>
16320 * glyphs-x.c (update_widget_face): Make sure we update the widget
16321 background as well as foreground.
16323 2000-01-13 Andy Piper <andy@xemacs.org>
16325 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
16326 fields to subwindow.
16327 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
16328 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
16329 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
16330 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
16332 * glyphs-widget.c (check_valid_tab_orientation): new function.
16333 (initialize_widget_image_instance): zero orientation and
16335 (widget_instantiate): pick up orientation.
16336 (tab_control_query_geometry): return appropriate values for
16339 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
16340 appropriate creation flags for left, right and bottom tabs.
16342 * s/cygwin32.h: add tab definitions.
16344 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16346 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
16347 frame upon hiding a subwindow.
16348 (mswindows_button_instantiate): Changed the push button style to
16350 (mswindows_button_instantiate): Removed button BS_NOTIFY
16352 (mswindows_button_instantiate): Removed redundant check for
16353 a disabled gui item.
16354 (mswindows_button_instantiate): Made use of WS_TABSTOP
16355 consistent: "operable" controls (edit, button, tree, scroll) have
16356 this style, "display-only" ones (static, progress gauge) do
16357 not. This style is currently ignored by XEmacs though. Also,
16358 removed the WS_EX_CONTROLPARENT style - it is not for children,
16359 it is for their parents!
16360 (mswindows_edit_field_instantiate): Ditto.
16361 (mswindows_progress_gauge_instantiate): Ditto.
16362 (mswindows_tree_view_instantiate): Ditto.
16363 (mswindows_tab_control_instantiate): Ditto.
16364 (mswindows_scrollbar_instantiate): Ditto.
16365 (mswindows_combo_box_instantiate): Ditto.
16366 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
16367 style to the "clip" window.
16368 (mswindows_button_instantiate): Removed compilation warning by
16369 equally typing terms of the ?: operator.
16371 2000-01-12 Didier Verna <didier@xemacs.org>
16373 * redisplay.c (generate_fstring_runes): new parameter holding the
16374 last modeline-format extent.
16375 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
16376 extent, fill the glyph block with it.
16377 (generate_fstring_runes): handle these parameters.
16378 (generate_formatted_string_db): ditto.
16380 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
16381 glyphs'extents in the modeline.
16383 1999-01-11 Mike Woolley <mike@bulsara.com>
16385 * ntheap.c: Reduced the reserved heap space from 1Gb down to
16386 256Mb, as a workaround for the non-starting problem many people
16389 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16391 * console-tty.c (Fset_console_tty_output_coding_system):
16392 Force redrawing tty frame.
16394 2000-01-10 Didier Verna <didier@xemacs.org>
16396 * redisplay.c (generate_fstring_runes): fix size computation bug.
16398 2000-01-09 William M. Perry <wmperry@aventail.com>
16400 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
16402 2000-01-09 Andy Piper <andy@xemacs.org>
16404 * glyphs-msw.c: index -> i to avoid shadows.
16405 (xbm_create_bitmap_from_data): make static.
16406 (check_valid_string_or_int): deleted.
16407 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
16409 * glyphs-x.c (x_update_subwindow): remove unused args.
16411 * glyphs.c (glyph_image_instance): return the thing. Don't set the
16412 back pointer - this is done in allocate_image_instance.
16413 (query_string_font): return Qnil to make the compiler happy.
16414 (unmap_subwindow): set to ~0 to make the compiler happy.
16415 (glyph_query_geometry): comment out until used.
16416 (glyph_layout): ditto.
16418 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
16420 * insdel.c (signal_after_change): Remove extraneous unbind_to().