1 2004-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * chartab.c (put_char_composition): Use DECODE_CHAR to get
4 character corresponding with UCS code point.
5 (Fput_char_attribute): Likewise.
7 * mule-charset.c (put_char_ccs_code_point): Don't omit a UCS
8 character in the UCS decoding-table if the char-id is not equal to
11 2004-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
13 * mule-charset.c (Fsave_charset_properties): Use `true-name' only
14 for aliases; write `description'; write
15 `mother-code-{min|max|offset|conversion}' if CHARSET_MAX_CODE is
18 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
20 * chartab.c (Fsave_char_attribute_table): Don't use
21 `save_charset_properties'.
23 * mule-charset.c (Fsave_charset_properties): Renamed from
24 `save_charset_properties' and changed to Lisp function again;
25 write property `type' as `CCS'; write properties `final-byte' and
26 `mother' if they exists.
27 (syms_of_mule_charset): Revive builtin function
28 `save-charset-properties' when HAVE_LIBCHISE is defined.
30 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
32 * chartab.c (open_chise_data_source_maybe): Use Vdata_directory
33 instead of Vexec_directory.
34 (char_attribute_system_db_file): Likewise.
36 2004-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
38 * chartab.c (Fsave_char_attribute_table): Use
39 `save_charset_properties' for CCS features when HAVE_LIBCHISE is
42 * mule-charset.c (save_charset_properties): Renamed from
43 `Fsave_charset_properties'; changed to non-Lisp function.
44 (syms_of_mule_charset): Abolish builtin function
45 `save-charset-properties'.
47 2004-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
49 * mule-charset.c (Fsave_charset_properties): New function when
50 HAVE_LIBCHISE is defined.
51 (syms_of_mule_charset): Add new builtin function
52 `save-charset-properties' when HAVE_LIBCHISE is defined.
54 2004-06-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
56 * chartab.c (Fput_char_attribute): Convert char-specs in value of
57 `{<-|->}ancient[^*]*' to characters and put reverse links.
58 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
59 for `{<-|->}ancient[^*]*'.
61 2004-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
63 * chartab.c (Fput_char_attribute): Convert char-specs in value of
64 `{<-|->}original[^*]*' to characters and put reverse links.
65 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
66 for `{<-|->}original[^*]*'.
68 2004-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
70 * mule-canna.c (m2c): Fix problem with XEmacs CHISE.
72 2004-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
74 * mule-charset.c (Qsystem_char_id): New variable.
76 * chartab.c (Qsystem_char_id): Deleted even if HAVE_CHISE is
77 defined and HAVE_LIBCHISE_LIBCHISE is not defined.
79 2004-05-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
81 * chartab.c (Fput_char_attribute): When processing a reference of
82 a character, put into the end of the reversed reference of each
85 2004-05-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
87 * chartab.c (Q_same): Deleted.
89 (Fput_char_attribute): Use Fstring_match to find `{<-|->}same'.
90 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
92 (syms_of_chartab): Delete builtin symbol `{<-|->}same'.
94 2004-05-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
96 * chartab.c (Q_vulgar): Deleted.
97 (Q_vulgar_of): Deleted.
98 (Fput_char_attribute): Use Fstring_match to find `{<-|->}vulgar'.
99 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
101 (syms_of_chartab): Don't define `{<-|->}vulgar'.
103 2004-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
105 * chartab.c (Fput_char_attribute): Convert char-specs in value of
106 `{<-|->}wrong[^*]*' to characters and put reverse links.
107 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
108 for `{<-|->}wrong[^*]*'.
110 2004-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
112 * chartab.c (Q_vulgar): New variable.
113 (Q_vulgar_of): New variable.
114 (Fput_char_attribute): Convert char-specs in value of
115 `{->|<-}vulgar' to characters and put reverse links.
116 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
118 (syms_of_chartab): Add new symbols `{->|<-}vulgar'.
120 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
122 * text-coding.c (decode_add_er_char): Must to quote prefix string
125 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
127 * mule-charset.c (put_char_ccs_code_point): Store characters of
128 =ucs whose code_points >= 0xF0000.
130 2004-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
132 * mule-charset.c (Vcharset_system_char_id): New variable in XEmacs
134 (syms_of_mule_charset): Add new symbol `system-char-id' in XEmacs
136 (complex_vars_of_mule_charset): Add new coded-charset
137 `system-char-id' in XEmacs CHISE; modify `=ucs' to eliminate
138 builtin characters over 0xEFFFF.
140 * chartab.c (syms_of_chartab): Don't define symbol
141 `system-char-id' in every case.
143 * char-ucs.h (Qsystem_char_id): New extern variable.
144 (LEADING_BYTE_SYSTEM_CHAR_ID): New macro.
146 2004-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
148 * text-coding.c (char_encode_utf8): Try to use entity-references
149 for U-000F0000 ... U-0010FFFF.
151 2004-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
153 * text-coding.c (ER_BUF_SIZE): New macro.
154 (struct decoding_stream): Use `ER_BUF_SIZE' to specify size of
156 (decode_add_er_char): Use `ER_BUF_SIZE' instead of 16.
157 (char_encode_as_entity_reference): Use `ER_BUF_SIZE'.
159 2004-03-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
161 * chartab.c (find_char_feature_in_family): New function.
162 (Fchar_feature): Use `find_char_feature_in_family' with
163 `->identical', `<-subsumptive' and `<-denotational'.
165 2004-03-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
167 * text-coding.c (char_encode_as_entity_reference): Allow prefix
168 within 8 characters; fix infinite loop.
170 2004-03-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
172 * chartab.c (Q_same): New variable.
173 (Q_same_of): New variable.
174 (Fput_char_attribute): Convert char-specs in value of
175 `{->|<-}same' to characters and put reverse links.
176 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
178 (syms_of_chartab): Add new symbols `{->|<-}same'.
180 2004-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
182 * chartab.c (Q_component): New variable.
183 (Q_component_of): Likewise.
184 (Fput_char_attribute): Convert char-specs in value of
185 `{->|<-}ideographic-component-forms' to characters and put reverse
187 (syms_of_chartab): Add new symbols
188 `{->|<-}ideographic-component-forms'.
190 2004-02-24 MORIOKA Tomohiko <tomo@m17n.org>
192 * chartab.c (Q_identical): New variable.
193 (Q_identical_from): New variable.
194 (Fchar_feature): Regard `->identical' as a feature to find
196 (Fput_char_attribute): Add reversed link for `{->|<-}identical'.
197 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
198 for `{->|<-}identical'.
199 (syms_of_chartab): Add new symbols `{->|<-}identical'.
201 2004-02-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
203 * char-ucs.h (encode_char_2): New inline function.
204 (CHAR_TO_CHARC): Use `encode_char_2' instead of `encode_char_1'.
206 2004-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
208 * chartab.c (Fput_char_attribute): Convert char-specs to
209 characters in value of `ideographic-structure'.
210 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
211 for `{<-|->}simplified(@...)'.
212 (Fdefine_char): bTry to use predefined character's id.
214 2004-02-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
216 * fns.c (simplify_char_spec): Try to convert builtin chars to
219 2004-02-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
221 * chartab.c (Fput_char_attribute): Convert char-specs in value of
222 `<-simplified[^*]*' to characters and put reverse links.
224 2004-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
226 * chartab.c (Q_subsumptive): Renamed from Q_unified.
227 (Q_subsumptive_from): Renamed from Q_unified_from.
228 (Fchar_feature): Use `Q_subsumptive_from' instead of
230 (Fput_char_attribute): Likewise; Use `Q_subsumptive' instead of
232 (syms_of_chartab): Rename `->unified' to `->subsumptive' and
233 `<-unified' to `<-subsumptive'.
235 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
237 * chartab.c (Fchar_feature): Check `<-denotational' to avoid
238 inheritance itself; fix typo; stop recursive search if cyclic
239 inheritance is found.
241 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
243 * chartab.c (Q_denotational): New variable.
244 (Q_denotational_from): New variable.
245 (Fchar_feature): Refer `<-denotational' as same as `<-unified'.
246 (put_char_attribute): New function.
247 (Fput_char_attribute): Use `put_char_attribute'; regard
248 `->denotational' and `<-denotational' as same as `->unified' and
250 (syms_of_chartab): Add new symbols `->denotational' and
253 2004-02-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
255 * chartab.c (Fget_composite_char): Use `Fchar_feature' instead of
256 `Fget_char_attribute'.
257 (Fchar_variants): Likewise.
258 (get_char_table): Likewise.
259 (Fchar_feature): New function.
260 (put_char_composition): Use `Fchar_feature' instead of
261 `Fget_char_attribute'.
262 (Fput_char_attribute): Likewise; don't put the target character
263 into its `->unified' value.
264 (syms_of_chartab): Add new builtin function `char-feature'.
266 2004-01-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
268 * text-coding.c (COMPOSE_ADD_CHAR): Use `Fchar_feature' instead of
269 `Fget_char_attribute'.
270 (char_encode_utf8): Likewise.
272 * chartab.h: Add an EXFUN for `Fchar_feature'.
274 2004-01-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
276 * chartab.c (Vnext_defined_char_id): New variable.
277 (Fput_char_attribute): Accept characters in `->unified'.
278 (Fdefine_char): Refer and update Vnext_defined_char_id to allocate
279 new characters which are not related with builtin char-id ranges.
280 (vars_of_chartab): Add new variable `next-defined-char-id'.
282 2004-01-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
284 * chartab.c (Q_unified): New variable.
285 (Q_unified_from): New variable.
286 (Fput_char_attribute): Add code for `->unified'.
287 (syms_of_chartab): Add new symbols `->unified' and `<-unified' in
290 2003-11-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
292 * mule-charset.c (decode_ccs_conversion): New function.
293 (decode_defined_char): Use `decode_ccs_conversion'.
294 (decode_builtin_char): Likewise.
296 2003-11-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
298 * char-ucs.h: Change some charset-ids of private coded-charsets.
300 2003-11-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
302 * text-coding.c (decode_add_er_char): Modify for `DECODE_CHAR'.
303 (char_encode_as_entity_reference): Likewise.
304 (decode_coding_big5): Modify for `decode_defined_char' and
306 (decode_coding_utf8): Modify for `decode_defined_char'; modify to
307 avoid compiler warning.
308 (decode_coding_iso2022): Modify for `DECODE_CHAR'.
310 * mule-charset.c (decode_defined_char): Add new argument
311 `without_inheritance'.
312 (Fdecode_char): Add new optional argument `without_inheritance'.
313 (Fdecode_builtin_char): Modify for `Fdecode_char'.
315 * fns.c (ids_format_unit): Modify for `Fdecode_char'.
316 (simplify_char_spec): Likewise.
318 * chartab.h (Fdecode_char): Modify number of arguments of EXFUN
321 * chartab.c (put_char_table): Modify for `DECODE_CHAR'.
322 (map_char_table): Likewise.
323 (Fdefine_char): Use `Fdecode_char' without inheritance.
324 (Ffind_char): Modify for `Fdecode_char'.
326 * character.h (CHARC_TO_CHAR): Modify for `DECODE_CHAR'.
328 * char-ucs.h (decode_defined_char): Add new argument
329 `without_inheritance'.
330 (DECODE_CHAR): Likewise.
331 (MAKE_CHAR): Modify for `DECODE_CHAR'.
333 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
335 * chartab.c (Vchise_system_db_directory): New variable.
336 (vars_of_chartab): Add new variable `chise-system-db-directory'.
338 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
340 * chartab.c: EXFUN `Fmount_char_attribute_table'.
341 (print_chartab_range): Don't define when `UTF2000' is defined.
342 (open_chise_data_source_maybe): Specify 0 instead of DB_HASH for
345 2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
347 * chartab.c (Fchar_attribute_list): When HAVE_LIBCHISE is defined
348 and optional argument `rehash' is specified, call
349 `open_chise_data_source_maybe' before
350 `chise_ds_foreach_char_feature_name' is called.
352 2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
354 * chartab.c (char_attribute_list_reset_map_func): New function
355 when HAVE_LIBCHISE is defined.
356 (Fchar_attribute_list): Add new optional argument `rehash' when
357 HAVE_LIBCHISE is defined.
358 (open_chise_data_source_maybe): Use "chise-db" instead of
360 (char_attribute_system_db_file): Likewise.
361 (Fload_char_attribute_table): Use
362 `chise_feature_foreach_char_with_value' instead of
363 `chise_char_feature_value_iterate'.
365 2003-10-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
367 * chartab.c (Vchise_db_directory): New variable.
368 (vars_of_chartab): Add new built-in variable `chise-db-directory'.
370 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
372 * mule-charset.c (Freset_charset_mapping_table): Use HAVE_LIBCHISE
373 instead of HAVE_CHISE to specify using with libchise.
375 * config.h.in (HAVE_CHISE_CLIENT): Deleted.
377 * chartab.h: Don't use HAVE_CHISE_CLIENT.
379 * chartab.c (Qsystem_char_id): Don't define when HAVE_CHISE is not
380 defined or HAVE_LIBCHISE_LIBCHISE is defined.
381 (char_attribute_system_db_file): Don't define when HAVE_LIBCHISE
383 (Freset_char_attribute_table): Use HAVE_LIBCHISE instead of
384 HAVE_CHISE to specify using with libchise.
385 (syms_of_chartab): Don't define symbol `system-char-id' when
386 HAVE_CHISE is not defined or HAVE_LIBCHISE_LIBCHISE is defined.
388 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
390 * mule-charset.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
391 specify CHISE DB support.
392 (Freset_charset_mapping_table): Use `chise_ccs_setup_db' instead
393 of `char_attribute_system_db_file' to check feature DB file.
395 * chartab.h, casetab.c, char-ucs.h: Use HAVE_CHISE instead of
396 HAVE_CHISE_CLIENT to specify CHISE DB support.
398 * chartab.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
399 specify CHISE DB support.
400 (open_chise_data_source_maybe): Don't define when HAVE_LIBCHISE is
402 (Freset_char_attribute_table): Use `chise_feature_setup_db'
403 instead of `char_attribute_system_db_file' to check feature DB
406 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
408 * mule.c (vars_of_mule): Use `HAVE_CHISE' instead of `CHISE' and
411 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
413 * mule-charset.c: Use HAVE_LIBCHISE instead of CHISE.
414 (Fsave_charset_mapping_table): Don't use
415 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
417 * config.h.in (HAVE_CHISE): Renamed from `CHISE'.
418 (HAVE_LIBCHISE): New macro.
420 * chartab.h: Use HAVE_LIBCHISE instead of CHISE.
422 * chartab.c: Use HAVE_LIBCHISE instead of CHISE.
423 (Fsave_char_attribute_table): Don't use
424 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
426 2003-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
428 * chartab.c (save_uint8_byte_table): Use libchise when CHISE is
430 (save_uint16_byte_table): Likewise.
431 (save_byte_table): Likewise.
432 (char_table_get_db): Use `chise_ds_load_char_feature_value'
433 instead of `chise_char_load_feature_value'.
434 (Fsave_char_attribute_table): Use libchise when CHISE is defined.
436 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
438 * chartab.h (struct Lisp_Char_Table): Delete member
439 `feature_table' if CHISE is defined.
441 * chartab.c (Fmake_char_table): Don't refer `ct->feature_table'.
442 (Fcopy_char_table): Likewise.
443 (char_table_open_db_maybe): Likewise.
444 (char_table_close_db_maybe): Likewise.
445 (char_table_get_db): Likewise.
446 (Fmount_char_attribute_table): Likewise.
447 (Fload_char_attribute_table): Likewise.
449 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
451 * mule-charset.c (load_char_decoding_entry_maybe): Use
452 `chise_ds_decode_char' instead of `chise_ds_get_ccs' and
455 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
457 * chartab.c (open_chise_data_source_maybe): Use `CHISE_DS_open'
458 instead of `chise_open_data_source'.
459 (Fclose_char_data_source): Use `CHISE_DS_close' instead of
462 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
464 * chartab.c (char_table_open_db_maybe): Use `chise_ds_get_feature'
465 instead of `chise_ds_open_feature_table'.
466 (char_table_close_db_maybe): Don't use `chise_ft_close'.
468 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
470 * mule-charset.c (Fsave_charset_mapping_table): Use
471 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
472 `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
473 `chise_ccs_sync' instead of `chise_ccst_close'.
474 (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
476 * chartab.c (open_chise_data_source_maybe): Modify for
477 `chise_open_data_source'.
478 (char_table_open_db_maybe): Modify for
479 `chise_ds_open_feature_table'.
481 2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
483 * mule-charset.c (load_char_decoding_entry_maybe): Use
484 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
487 2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
489 * mule-charset.c (Fsave_charset_mapping_table): Use
490 `chise_ds_open_ccs_table', `chise_ccst_put_char' and
491 `chise_ccst_close' instead of `chise_ds_open_decoding_table',
492 `chise_dt_put_char' and `chise_dt_close'.
493 (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
494 `chise_ccs_decode' and `chise_ccst_close' instead of
495 `chise_ds_open_decoding_table', `chise_dt_get_char' and
498 * chartab.c (char_table_get_db): Use
499 `chise_char_load_feature_value' instead of `chise_ft_get_value'.
500 (load_char_attribute_table_map_func): Modify for
501 `chise_char_feature_value_iterate'.
502 (Fload_char_attribute_table): Use
503 `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
505 2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
507 * text-coding.c (COMPOSE_ADD_CHAR): Fixed.
509 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
511 * chartab.c (put_char_table): Modify for inherited coded-charsets
514 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
516 * chartab.c (Fput_char_table_map_function): Fixed.
517 (word_boundary_p): Don't check charset in XEmacs CHISE.
519 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
521 * mule-charset.c (Fsave_charset_mapping_table): Use
522 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
523 instead of `chise_open_decoding_table'; refer
524 `default_chise_data_source'; use `chise_dt_close' instead of
525 `chise_close_decoding_table'.
526 (load_char_decoding_entry_maybe): Likewise.
528 * chartab.c (default_chise_data_source): New variable when `CHISE'
530 (Fcopy_char_table): `ct->ds' is deleted.
531 (open_chise_data_source_maybe): New function.
532 (Fclose_char_data_source): New function.
533 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
534 use `chise_ds_open_feature_table' instead of
535 `chise_open_feature_table'.
536 (char_table_close_db_maybe): Use `chise_ft_close' instead of
537 `chise_close_feature_table'; `cit->ds' is deleted.
538 (syms_of_chartab): Add new builtin function
539 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
541 * chartab.h (default_chise_data_source): New extern variable.
542 (open_chise_data_source_maybe): New prototype.
543 (struct Lisp_Char_Table): Delete `ds'.
545 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
547 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
550 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
552 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
553 not defined; add code for non-libchise setting.
554 (char_table_close_db_maybe): Likewise.
555 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
557 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
558 even if `CHISE' is not defined.
559 (Freset_char_attribute_table): Likewise.
560 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
561 `char_table_close_db_maybe' even if `CHISE' is not defined; use
563 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
564 `char_table_close_db_maybe' even if `CHISE' is not defined.
566 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
568 * chartab.c (char_table_open_db_maybe): New function.
569 (char_table_close_db_maybe): New function.
570 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
571 (Freset_char_attribute_table): Likewise.
572 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
573 `char_table_close_db_maybe'.
574 (Fload_char_attribute_table): Likewise.
576 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
578 * chartab.c: Don't include <chise.h> because it is included in
580 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
582 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
584 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
586 (Fclose_char_attribute_table): Close `ct->feature_table' and
587 `ct->ds' when `CHISE' is defined.
588 (Freset_char_attribute_table): Likewise.
589 (load_char_attribute_maybe): Use `cit->ds' and
590 `cit->feature_table' when `CHISE' is defined.
591 (Fload_char_attribute_table): Likewise.
593 * chartab.h: Include <chise.h> when `CHISE' is defined.
594 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
595 when `CHISE' is defined.
597 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
599 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
601 (char_table_description): Likewise.
602 (Fmake_char_table): Likewise.
603 (Fcopy_char_table): Likewise.
604 (Fmount_char_attribute_table): Likewise.
605 (Fclose_char_attribute_table): Likewise.
606 (Freset_char_attribute_table): Likewise.
607 (load_char_attribute_maybe): Likewise.
608 (Fload_char_attribute_table): Likewise.
610 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
613 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
615 * chartab.c (load_char_attribute_table_map_func): New function
616 when CHISE is defined.
617 (Qload_char_attribute_table_map_function): Don't define when CHISE
619 (Fload_char_attribute_table_map_function): Likewise.
620 (Fload_char_attribute_table): Use libchise when `CHISE' is
622 (syms_of_chartab): Don't define
623 `load-char-attribute-table-map-function' when CHISE is defined.
625 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
627 * chartab.c: Include <chise.h> when `CHISE' is defined.
628 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
630 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
632 * mule-charset.c (charset_code_point): Fix problem when searching
633 in mother CCS fails with `defined_only' mode.
635 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
637 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
638 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
639 (put_char_composition): Likewise.
640 (Fput_char_attribute): Likewise.
641 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
643 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
645 * chartab.c (Q_ucs): Deleted.
646 (Fput_char_attribute): Don't refer `->ucs'.
647 (Fdefine_char): Likewise.
648 (Ffind_char): Likewise.
649 (syms_of_chartab): Delete `->ucs'.
651 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
653 * mule-charset.c (Qmap_cns11643_2): Renamed from
654 `Qchinese_cns11643_2'.
655 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
656 `chinese-cns11643-2'.
657 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
660 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
662 * mule-charset.c (Qmap_cns11643_1): Renamed from
663 `Qchinese_cns11643_1'.
664 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
665 `chinese-cns11643-1'.
666 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
669 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
671 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
672 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
674 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
677 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
679 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
680 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
682 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
685 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
687 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
688 (syms_of_mule_charset): Add new symbol `=big5' instead of
690 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
692 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
694 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
695 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
697 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
700 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
702 * mule-charset.c (Qmap_jis_x0212): Renamed from
703 `Qjapanese_jisx0212'.
704 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
706 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
709 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
711 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
712 `Qjapanese_jisx0208'.
713 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
714 of `japanese-jisx0208'.
715 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
718 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
720 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
721 `Qjapanese_jisx0208_1978'.
722 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
723 of `japanese-jisx0208-1978'.
724 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
727 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
729 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
730 only for XEmacs CHISE.
732 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
734 * char-ucs.h: Compact non-ISO-IR charset-ids.
735 (LEADING_BYTE_UCS): Changed to -177.
736 (LEADING_BYTE_CONTROL_1): Changed to -77.
737 (LEADING_BYTE_UCS_BMP): Changed to -176.
738 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
740 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
742 * mule-charset.c (Qiso_ir): New variable.
743 (Fmake_charset): Recognise new property `iso-ir'.
744 (syms_of_mule_charset): Add new symbol `iso-ir'.
746 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
748 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
749 n to -n; charset-id of non ISO-IR sets are changed to positive
752 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
754 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
755 for &MCS-XXXXXXXX; values.
757 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
759 * mule.c (Vxemacs_chise_version): Renamed from
761 (vars_of_mule): Add new variable `xemacs-chise-version'; define
762 `utf-2000-version' as an alias for `xemacs-chise-version'.
764 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
766 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
767 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
770 * config.h.in (CHISE): New macro.
772 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
774 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
776 (Qmap_ucs): New variable.
777 (syms_of_mule_charset): Add new symbol `=ucs'.
778 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
780 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
781 (simplify_char_spec): Likewise.
783 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
785 * char-ucs.h (Qmap_ucs): New extern variable.
787 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
789 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
790 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
791 don't define it when UTF2000 is not defined.
792 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
793 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
794 when UTF2000 is not defined.
795 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
796 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
798 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
800 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
802 * mule-charset.c (Vcharset_ucs_gb): Deleted.
804 (syms_of_mule_charset): Delete `ucs-gb'.
805 (complex_vars_of_mule_charset): Likewise.
807 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
809 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
811 * mule-charset.c (Vcharset_ucs_cns): Deleted.
813 (syms_of_mule_charset): Delete `ucs-cns'.
814 (complex_vars_of_mule_charset): Likewise.
816 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
818 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
820 * mule-charset.c (Vcharset_ucs_jis): Deleted.
822 (syms_of_mule_charset): Delete `ucs-jis'.
823 (complex_vars_of_mule_charset): Likewise.
825 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
827 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
829 * mule-charset.c (Vcharset_ucs_ks): Deleted.
831 (syms_of_mule_charset): Delete `ucs-ks'.
832 (complex_vars_of_mule_charset): Likewise.
834 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
836 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
837 (Qideograph_daikanwa_2): Deleted.
838 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
839 (complex_vars_of_mule_charset): Likewise.
841 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
842 (LEADING_BYTE_DAIKANWA_1): Deleted.
843 (LEADING_BYTE_DAIKANWA_2): Deleted.
844 (MIN_CHAR_DAIKANWA): Deleted.
845 (MAX_CHAR_DAIKANWA): Deleted.
847 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
849 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
850 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
851 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
853 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
854 (Vcharset_ideograph_daikanwa): Deleted.
855 (Qideograph_hanziku_{1..12}): Deleted.
856 (Qideograph_daikanwa): Deleted.
857 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
858 Vcharset_ideograph_daikanwa.
859 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
860 `ideograph-hanziku-{1..12}'.
861 (complex_vars_of_mule_charset): Likewise.
863 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
865 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
867 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
868 (Qideograph_gt_pj_{1..11}): Deleted.
869 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
870 (complex_vars_of_mule_charset): Likewise.
872 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
874 * mule-charset.c (Vcharset_ucs_big5): Deleted.
875 (Vcharset_ideograph_gt): Deleted.
876 (Qucs_big5): Deleted.
877 (Qideograph_gt): Deleted.
878 (syms_of_mule_charset): Delete symbol `ucs-big5' and
880 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
883 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
884 (LEADING_BYTE_GT): Deleted.
885 (MIN_CHAR_GT): Deleted.
886 (MAX_CHAR_GT): Deleted.
888 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
890 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
892 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
894 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
895 (save_uint16_byte_table): Likewise.
896 (save_byte_table): Likewise; convert values by it.
897 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
898 for `ideographic-structure'.
899 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
900 as the filter for `ideographic-structure'.
902 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
904 * chartab.c (put_char_composition): New function.
905 (Fput_char_attribute): Use `put_char_composition'; use
906 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
908 * fns.c (simplify_char_spec): New function.
909 (char_ref_simplify_spec): New function.
910 (Fchar_refs_simplify_char_specs): New function.
911 (syms_of_fns): Add new builtin function
912 `char-refs-simplify-char-specs'.
914 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
916 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
917 (Qideograph_cbeta): Deleted.
918 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
919 (complex_vars_of_mule_charset): Likewise.
921 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
922 (MIN_CHAR_CBETA): Comment out.
923 (MAX_CHAR_CBETA): Likewise.
925 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
927 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
928 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
929 CHISE client feature.
931 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
933 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
935 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
937 * mule-charset.c (charset_lookup_description_1): Use
938 `NUM_LEADING_BYTES' in UTF-2000.
940 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
942 * char-ucs.h (GC_CHARSETP): Deleted.
944 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
946 * char-ucs.h (MAX_CHAR_GT): Updated.
948 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
950 * text-coding.c: Sync with XEmacs 21.4.10.
952 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
954 * mule-charset.c (Vcharset_china3_jef): Deleted.
955 (Qchina3_jef): Deleted.
956 (syms_of_mule_charset): Don't define `china3-jef'.
957 (complex_vars_of_mule_charset): Likewise.
959 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
960 (MIN_CHAR_CHINA3_JEF): Comment out.
961 (MAX_CHAR_CHINA3_JEF): Comment out.
963 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
965 * mule-charset.c (Vcharset_ucs_gb): New variable.
966 (Qucs_gb): New variable.
967 (syms_of_mule_charset): Add new symbol `ucs-gb'.
968 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
970 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
972 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
974 * mule-charset.c (charset_code_point): if a coded-charset has a
975 final-byte, don't inherit the builtin range of the mother CCS.
977 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
979 * mule-charset.c (charset_code_point): Fix problem about
982 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
984 * mule-charset.c (decode_builtin_char): Reorganized.
986 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
988 * text-coding.c (char_encode_as_entity_reference): Modify for
989 `charset_code_point'.
990 (char_encode_shift_jis): Likewise.
991 (char_encode_big5): Likewise.
992 (char_encode_utf8): Likewise.
993 (char_encode_iso2022): Likewise.
995 * mule-charset.c (charset_code_point): Add new argument
997 (Fencode_char): Add new optional argument `defined_only'.
999 * chartab.c (put_char_table): Modify for `charset_code_point'.
1001 * char-ucs.h (charset_code_point): Add new argument
1003 (encode_char_1): Modify for `charset_code_point'.
1005 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1007 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
1008 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
1010 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1012 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
1013 (Qjis_x0208): Likewise.
1014 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
1015 XCHARSET_FINAL(charset).
1016 (charset_code_point): Modify condition for final-byte based
1018 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
1019 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
1020 in UTF-2000; specify `=jis-x0208' as the mother of
1021 `japanese-jisx0208-1978', `japanese-jisx0208' and
1022 `japanese-jisx0208-1990' in UTF-2000.
1024 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1026 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
1028 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1030 * text-coding.c (decode_coding_utf16): Support UTF-16.
1031 (char_encode_utf16): Fixed.
1033 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1035 * text-coding.c (Qutf16): New variable in MULE.
1036 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
1037 (Fcoding_system_type): Add `utf-16' in MULE.
1038 (struct detection_state): Add a structure for utf16 in MULE.
1039 (detect_coding_type): Setup st->utf16.mask in MULE.
1040 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
1042 (reset_encoding_stream): Use `char_encode_utf16' and
1043 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
1044 (detect_coding_utf16): New function [incomplete].
1045 (decode_coding_utf16): New function [support only UCS-2].
1046 (char_encode_utf16): New function.
1047 (char_finish_utf16): New function.
1048 (syms_of_file_coding): Add new symbol `utf-16'; setup
1049 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
1051 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
1053 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
1054 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
1056 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1058 * chartab.c (put_char_table): When a charset is specified as a
1059 range in UTF-2000, don't support builtin characters.
1061 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1063 * mule-charset.c (decode_defined_char): Don't refer external
1064 database if Qunbound or Qnil are found.
1065 (Fsave_charset_mapping_table): Don't define it if
1066 HAVE_CHISE_CLIENT is not defined.
1067 (Freset_charset_mapping_table): New function.
1068 (load_char_decoding_entry_maybe): Store Qnil if a character is not
1069 found in external database.
1070 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
1071 if HAVE_CHISE_CLIENT is not defined; add new builtin function
1072 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
1074 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1076 * text-coding.c (decode_coding_utf8): Check CCS is specified or
1079 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1081 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
1082 Q_lowercase, Q_uppercase in UTF-2000.
1084 * chartab.c (get_char_table): Add special code for the standard
1085 case table to use character attribute `->downcase' and
1086 `->uppercase' for case operations in UTF-2000.
1088 * casetab.c (Qflippedcase): New variable in UTF-2000.
1089 (Q_lowercase): Likewise.
1090 (Q_uppercase): Likewise.
1091 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
1092 and `->uppercase' in UTF-2000.
1093 (complex_vars_of_casetab): Assign attribute name `downcase' to
1094 downcase and CANON table of Vstandard_case_table in UTF-2000;
1095 assign attribute name `flippedcase' to upcase and EQV table of
1096 Vstandard_case_table in UTF-2000.
1098 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1100 * text-coding.c (decode_add_er_char): Support isolated-chars.
1101 (char_encode_as_entity_reference): Likewise.
1103 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1105 * emacs.c (Vutf_2000_lisp_directory): New variable.
1106 (Vconfigure_utf_2000_lisp_directory): Likewise.
1107 (complex_vars_of_emacs): Add new variable
1108 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
1110 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1112 * char-ucs.h (DECODE_CHAR): Delete special code for
1113 `chinese-big5-1' and `chinese-big5-2'.
1115 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
1116 (Qbig5_2): Likewise.
1117 (decode_defined_char): Support CONVERSION_BIG5_1 and
1119 (decode_builtin_char): Likewise.
1120 (charset_code_point): Likewise.
1121 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
1122 'conversion in UTF-2000.
1123 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
1124 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
1125 `chinese-big5-2' as children of `chinese-big5'.
1127 * char-ucs.h (CONVERSION_BIG5_1): New macro.
1128 (CONVERSION_BIG5_2): New macro.
1130 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1132 * text-coding.c (char_encode_big5): Support entity-reference.
1134 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1136 * text-coding.c (char_encode_as_entity_reference): New function.
1137 (char_encode_utf8): Use `char_encode_as_entity_reference'.
1139 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1141 * text-coding.c (decode_coding_big5): Support entity-reference
1144 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1146 * text-coding.c (allocate_coding_system): Initialize initial
1147 charsets for CODESYS_UTF8.
1148 (Fmake_coding_system): Accept charset-g0, charset-g1 and
1149 charset-g2 for CODESYS_UTF8.
1150 (decode_coding_utf8): Use charset-g0.
1151 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
1152 to force variants to map to UCS.
1154 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1156 * text-coding.c (Qutf_8_mcs): New variable.
1157 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
1158 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
1159 instead of `utf-8' in UTF-2000.
1161 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1163 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
1164 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
1165 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
1166 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
1167 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
1168 CONVERSION_96x96x96x96 are introduced.
1169 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
1170 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
1171 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
1173 * char-ucs.h (CONVERSION_94): New macro.
1174 (CONVERSION_96): New macro.
1175 (CONVERSION_94x94): New macro.
1176 (CONVERSION_96x96): New macro.
1177 (CONVERSION_94x94x94): New macro.
1178 (CONVERSION_96x96x96): New macro.
1179 (CONVERSION_94x94x94x60): New macro.
1180 (CONVERSION_94x94x94x94): New macro.
1181 (CONVERSION_96x96x96x96): New macro.
1183 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1185 * chartab.c (Vcharacter_variant_table): Deleted.
1186 (Fchar_variants): Use character-attribute `->ucs-variants' instead
1187 of `Vcharacter_variant_table'.
1188 (Fput_char_attribute): Likewise.
1189 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
1190 (complex_vars_of_chartab): Likewise.
1192 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1194 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
1196 * fns.c (Qideographic_structure): New variable.
1197 (Qkeyword_char): New variable.
1198 (ids_format_unit): New function.
1199 (Fideographic_structure_to_ids): New function.
1200 (syms_of_fns): Add new symbols `ideographic-structure' and
1201 `:char'; add new builtin function `ideographic-structure-to-ids'.
1203 * data.c (Fchar_ref_p): New function.
1204 (syms_of_data): Add new builtin function `char-ref-p'.
1206 * chartab.h: Add an EXFUN for `Ffind_char'.
1208 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1210 * text-coding.c (Vcharacter_composition_table): Deleted.
1211 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
1214 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
1216 (Vcharacter_composition_table): Deleted.
1217 (Fget_composite_char): Use the implementation for external-DB
1218 support in every UTF-2000.
1219 (Fput_char_attribute): Likewise.
1220 (char_attribute_system_db_file): Don't define if external-DB
1221 feature is not available.
1222 (Fsave_char_attribute_table): Likewise.
1223 (Fmount_char_attribute_table): Likewise.
1224 (Fclose_char_attribute_table): Likewise.
1225 (Freset_char_attribute_table): Likewise.
1226 (Fload_char_attribute_table): Likewise.
1227 (syms_of_chartab): Don't define `save-char-attribute-table',
1228 `mount-char-attribute-table', `reset-char-attribute-table',
1229 `close-char-attribute-table' and `load-char-attribute-table' if
1230 external-DB feature is not available.
1231 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
1233 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1235 * text-coding.c (Qcomposition): Add extern if external-DB feature
1237 (Vcharacter_composition_table): Don't add extern if external-DB
1238 feature is supported.
1239 (COMPOSE_ADD_CHAR): Modify for new data-representation of
1240 character composition rule if external-DB feature is supported.
1242 * chartab.c (Vcharacter_composition_table): Don't define if
1243 external-DB feature is supported.
1244 (Qcomposition): New variable.
1245 (Fget_composite_char): New implementation for external-DB support.
1246 (Fput_char_attribute): Use `composition' property of each
1247 character instead of `Vcharacter_composition_table' to store
1248 character-composition rules if external-DB feature is supported.
1249 (syms_of_chartab): Add new symbol `composition'.
1250 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
1251 external-DB feature is supported.
1253 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1255 * chartab.c (Vchar_db_stingy_mode): New variable.
1256 (load_char_attribute_maybe): Close database if
1257 Vchar_db_stingy_mode is not NIL.
1258 (Fload_char_attribute_table_map_function): Use
1259 `get_char_id_table_0' instead of `get_char_id_table'.
1260 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
1262 * chartab.h (get_char_id_table_0): New inline function.
1263 (get_char_id_table): Use `get_char_id_table_0'.
1265 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1267 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
1268 and `COMPOSE_ADD_CHAR'.
1269 (decode_coding_iso2022): Use `decode_flush_er_chars'.
1271 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1273 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
1274 instead of `DECODE_ADD_UCS_CHAR'.
1275 (COMPOSE_ADD_CHAR): Likewise.
1277 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1279 * text-coding.c (decode_flush_er_chars): New inline function.
1280 (decode_add_er_char): New function.
1281 (decode_coding_utf8): Use `decode_flush_er_chars' and
1282 `decode_add_er_char'.
1284 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1286 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
1287 done before `decode_output_utf8_partial_char'.
1289 * mule-charset.c (complex_vars_of_mule_charset): Specify
1290 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
1291 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
1293 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1295 * mule-charset.c (decode_defined_char): New function; search
1297 (decode_builtin_char): Don't search mother if
1298 XCHARSET_MAX_CODE(charset) == 0.
1299 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
1300 == 0 even if code >= XCHARSET_MAX_CODE(charset).
1301 (Fdecode_char): Use `decode_defined_char' instead of
1302 `DECODE_DEFINED_CHAR'.
1303 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
1304 mother of `Vcharset_ucs_jis'.
1306 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
1307 instead of `DECODE_DEFINED_CHAR'.
1309 * char-ucs.h (decode_defined_char): Renamed from
1310 `DECODE_DEFINED_CHAR'; changed to normal function.
1311 (DECODE_CHAR): Use `decode_defined_char' instead of
1312 `DECODE_DEFINED_CHAR'.
1314 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
1316 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1318 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
1320 * text-coding.c (Vcoded_charset_entity_reference_alist): New
1322 (Quse_entity_reference): New variable.
1326 (coding_system_description): Add description for
1327 `ccs_priority_list'.
1328 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
1329 (allocate_coding_system): Initialize `ccs_priority_list' in
1331 (Fmake_coding_system): Add description about
1332 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
1334 (Fcoding_system_property): Accept `disable-composition' and
1335 `use-entity-reference' in UTF-2000.
1336 (struct decoding_stream): Add new member `er_counter' and `er_buf'
1338 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
1339 (decode_coding_utf8): Decode entity-reference if
1340 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
1341 (char_encode_utf8): Encode non-Unicode characters as
1342 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
1344 (syms_of_file_coding): Add new symbols `use-entity-reference',
1346 (vars_of_file_coding): Add new variable
1347 `coded-charset-entity-reference-alist'.
1348 (complex_vars_of_file_coding): Declare `disable-composition' and
1349 `use-entity-reference' to be coding-system-properties in UTF-2000.
1351 * file-coding.h (struct Lisp_Coding_System): Add new member
1352 `use_entity_reference' and `ccs_priority_list'.
1353 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1354 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
1355 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1357 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1359 * chartab.c (save_uint8_byte_table): Don't clear the table.
1360 (save_uint16_byte_table): Likewise.
1361 (save_byte_table): Likewise.
1362 (Fmount_char_attribute_table): New function.
1363 (syms_of_chartab): Add new builtin function
1364 `mount-char-attribute-table'.
1366 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1368 * mule-charset.c (Fsave_charset_mapping_table): Open database as
1370 (load_char_decoding_entry_maybe): Open database as read-only mode.
1372 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
1373 open database as "w+" mode.
1374 (load_char_attribute_maybe): Open database as read-only mode.
1375 (Fload_char_attribute_table): Likewise.
1377 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1379 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
1380 (char_table_description): Delete member `db_file'.
1381 (Fmake_char_table): Don't refer `ct->db_file'.
1382 (Fcopy_char_table): Likewise.
1383 (Fsave_char_attribute_table): Likewise.
1384 (Fclose_char_attribute_table): Likewise.
1385 (Freset_char_attribute_table): Likewise.
1386 (load_char_attribute_maybe): Likewise.
1387 (Fload_char_attribute_table): Likewise.
1389 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
1391 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1393 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
1394 (Fsave_char_attribute_table): Don't check `ct->db_file' if
1396 (load_char_attribute_maybe): Likewise.
1397 (Fload_char_attribute_table): Likewise.
1399 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1401 * chartab.c (Fclose_char_attribute_table): Set Qnil on
1402 `ct->db_file' unconditionally.
1404 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1406 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
1408 (char_table_description): Add description for `db_file' and `db'
1410 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
1412 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
1413 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
1414 (Fclose_char_attribute_table): New function.
1415 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
1416 (load_char_attribute_maybe): Change interface; use `cit->db_file'
1418 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
1419 (syms_of_chartab): Add new builtin function
1420 `Fclose_char_attribute_table'.
1422 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1424 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
1426 (load_char_attribute_maybe): Change interface.
1427 (get_char_id_table): Modify for `load_char_attribute_maybe'.
1429 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1431 * database.h: Add an EXFUN for `Fdatabase_live_p'.
1433 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1435 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
1436 instead of `DECODE_CHAR' for mother; don't use special code for
1437 chinese-big5 to use code space of chinese-big5-1 and
1439 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
1440 `MAX_CHAR_BIG5_CDP' for chinese-big5.
1442 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
1443 (MAX_CHAR_BIG5_CDP): Revival.
1445 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1447 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
1448 the XLFD registry-encoding name of `chinese-big5'.
1450 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1452 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
1453 (Qchinese_big5_cdp): Deleted.
1454 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
1455 (complex_vars_of_mule_charset): Delete coded-charset
1458 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
1459 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
1460 `CHARSET_ID_OFFSET - n' for private CCS.
1461 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
1462 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
1463 of `MIN_LEADING_BYTE'.
1464 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
1465 `(CHARSET_ID_OFFSET - 97)'.
1466 (MIN_CHAR_BIG5_CDP): Deleted.
1467 (MAX_CHAR_BIG5_CDP): Deleted.
1469 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1471 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
1473 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1475 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
1476 (vars_of_mule): Add new variable `utf-2000-version' [moved from
1479 * chartab.c (Vutf_2000_version): Moved to mule.c.
1480 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
1482 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1484 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
1485 when HAVE_CHISE_CLIENT is not defined.
1487 * mule.c (vars_of_mule): Provide feature `chise' when
1488 HAVE_CHISE_CLIENT is defined.
1490 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1492 * config.h.in (UTF2000): Add comment.
1493 (HAVE_CHISE_CLIENT): New macro.
1495 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1497 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
1499 (Fput_char_attribute): Likewise.
1500 (char_attribute_system_db_file): Encode file-name of attribute.
1501 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
1504 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1506 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
1507 (Fsave_charset_mapping_table): Use
1508 `char_attribute_system_db_file'.
1509 (load_char_decoding_entry_maybe): Likewise.
1511 * chartab.h (Qsystem_char_id): New external variable.
1512 (char_attribute_system_db_file): New prototype.
1514 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
1515 (char_attribute_system_db_file): New function.
1516 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
1517 (Freset_char_attribute_table): Likewise.
1518 (load_char_attribute_maybe): Likewise.
1519 (Fload_char_attribute_table): Likewise.
1520 (syms_of_chartab): Add new symbol `system-char-id'.
1522 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1524 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
1525 `XCHARSET_GRAPHIC(ccs)'.
1527 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1529 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
1531 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1533 * chartab.c (Q_ucs_variants): New variable.
1534 (syms_of_chartab): Add new symbol `->ucs-variants'.
1535 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
1536 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
1537 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
1539 * mule-charset.c (load_char_decoding_entry_maybe): New function.
1541 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
1542 `HAVE_DATABASE' is defined.
1543 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
1544 `HAVE_DATABASE' is defined.
1546 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1548 * chartab.c (Fsave_char_attribute_table): Don't clear internal
1550 (Freset_char_attribute_table): New function.
1551 (syms_of_chartab): Add new builtin function
1552 `reset-char-attribute-table'.
1554 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1556 * chartab.c (load_char_attribute_maybe): Don't make directories.
1558 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1560 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
1562 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
1565 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1567 * mule-charset.c (Fsave_charset_mapping_table): Use
1568 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
1570 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
1571 instead of `XCHARSET_CHARS'.
1573 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1575 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
1576 (XCHARSET_BYTE_SIZE): Likewise.
1578 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
1580 (XCHARSET_BYTE_SIZE): Likewise.
1582 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1584 * chartab.c (Fput_char_attribute): Use exec-directory instead of
1585 data-directory to store database.
1586 (Fsave_char_attribute_table): Likewise.
1587 (load_char_attribute_maybe): Likewise.
1588 (Fload_char_attribute_table): Likewise.
1590 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1592 * mule-charset.c (Fsave_charset_mapping_table): New function.
1593 (syms_of_mule_charset): Add new builtin function
1594 `save-charset-mapping-table'.
1596 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1598 * char-ucs.h (decoding_table_check_elements): Delete prototype.
1599 (get_ccs_octet_table): New inline function.
1600 (put_ccs_octet_table): Likewise.
1601 (decoding_table_put_char): Use `get_ccs_octet_table' and
1602 `put_ccs_octet_table'.
1603 (decoding_table_remove_char): Use `decoding_table_put_char'.
1604 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
1606 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
1607 into encoding_table.
1608 (make_charset): Use Qunbound instead Qnil as initial value of
1611 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1613 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
1614 element is Qunloaded.
1615 (map_over_uint16_byte_table): Likewise.
1616 (map_over_byte_table): Likewise.
1617 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
1618 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
1619 database support, load encoding-table of the specified
1620 coded-charset if it is not loaded yet.
1621 (save_uint8_byte_table): New function of UTF-2000 with external
1623 (save_uint16_byte_table): Likewise.
1624 (save_byte_table): Likewise.
1625 (Fput_char_attribute): Don't store value into external database
1626 even if the external database feature is supported in UTF-2000;
1627 set `attribute' as name of char-table if the external database
1628 feature is supported.
1629 (Fsave_char_attribute_table): New function in UTF-2000.
1630 (syms_of_chartab): Add new builtin function
1631 `save-char-attribute-table' in UTF-2000.
1633 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1635 * chartab.c (char_attribute_table_to_put): New variable in
1637 (Qput_char_table_map_function): Likewise.
1638 (value_to_put): Likewise.
1639 (Fput_char_table_map_function): New function in UTF-2000.
1640 (put_char_table): Use `Fmap_char_attribute' for
1641 CHARTAB_RANGE_CHARSET in UTF-2000.
1642 (Fput_char_attribute): Store symbol instead of string in
1643 `XCHAR_TABLE_NAME (table)'.
1644 (load_char_attribute_maybe): Likewise.
1645 (syms_of_chartab): Add new symbol/function
1646 `put-char-table-map-function'.
1648 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1650 * database.h: Add new EXFUN for `Fmap_database'.
1652 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
1653 (syms_of_database): Likewise.
1655 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
1657 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
1658 (XCHAR_TABLE_UNLOADED): Likewise.
1660 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
1661 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
1662 HAVE_DATABASE is defined.
1663 (char_attribute_table_to_load): New variable of UTF-2000 with
1664 external database support.
1665 (Qload_char_attribute_table_map_function): Likewise.
1666 (Fload_char_attribute_table_map_function): New function of
1667 UTF-2000 with external database support.
1668 (Fload_char_attribute_table): New function of UTF-2000.
1669 (Fmap_char_attribute): Call Fload_char_attribute_table if
1670 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
1671 (syms_of_chartab): Add new symbol and function
1672 `load-char-attribute-table-map-function' in UTF-2000 with external
1673 database support; add new function `load-char-attribute-table' in
1676 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1678 * chartab.h (load_char_attribute_maybe): New prototype for
1679 UTF-2000 with DATABASE support.
1680 (get_char_id_table): Use `load_char_attribute_maybe' if
1681 HAVE_DATABASE is defined.
1683 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
1684 with DATABASE support.
1686 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1688 * chartab.c (Fput_char_attribute): Use S-expression as key of
1691 * chartab.h (get_char_id_table): Use S-expression as key of
1694 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1696 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
1697 if an element is not loaded, load the corresponding attributes
1698 from an external database.
1699 (map_over_uint16_byte_table): Likewise.
1700 (map_over_byte_table): Likewise.
1701 (map_char_table): Modify for `map_over_uint8_byte_table',
1702 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
1703 element is not loaded, load the corresponding attributes from an
1705 (Fput_char_attribute): Change initial values to Qunloaded.
1707 * chartab.h (get_char_id_table): If a character attribute is not
1708 loaded and the attribute value is not found in an external
1709 database, store Qunbound as the attribute value.
1711 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1713 * chartab.c (BT_UINT8_unloaded): New macro.
1714 (UINT8_VALUE_P): Accept Qunloaded.
1715 (UINT8_ENCODE): Likewise.
1716 (UINT8_DECODE): Likewise.
1717 (BT_UINT16_unloaded): New macro.
1718 (UINT16_VALUE_P): Accept Qunloaded.
1719 (UINT16_ENCODE): Likewise.
1720 (UINT16_DECODE): Likewise.
1721 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
1723 (mark_char_table): Mark `ct->name' in UTF-2000.
1724 (char_table_description): Add `name' in UTF-2000.
1725 (Fmake_char_table): Initialize `ct->name'.
1726 (Fcopy_char_table): Copy `ct->name'.
1727 (Fput_char_attribute): Store value into an external database if
1728 HAVE_DATABASE is defined.
1730 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
1732 (CHAR_TABLE_NAME): New macro in UTF-2000.
1733 (XCHAR_TABLE_NAME): New macro in UTF-2000.
1734 (get_char_id_table): Try to read an external database if Qunloaded
1735 is stored in a table.
1737 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
1740 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1742 * database.h: Add EXFUN definitions for Fopen_database,
1743 Fput_database, Fget_database and Fclose_database.
1745 * data.c (Qunloaded): New variable in UTF-2000.
1747 * lisp.h (Qunloaded): New variable in UTF-2000.
1749 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1751 * mule-charset.c (put_char_ccs_code_point): Modify for
1752 `decoding_table_remove_char' and `decoding_table_put_char'.
1753 (remove_char_ccs): Modify for `decoding_table_remove_char'.
1755 * char-ucs.h (decoding_table_remove_char): Change arguments to
1756 hide decoding_table vector.
1757 (decoding_table_put_char): Likewise.
1759 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1761 * mule-charset.c (decoding_table_remove_char): Moved to
1763 (decoding_table_put_char): Likewise.
1765 * char-ucs.h (decoding_table_check_elements): New prototype [moved
1766 from mule-charset.c].
1767 (decoding_table_remove_char): New inline function [moved from
1769 (decoding_table_put_char): Likewise.
1771 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1773 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
1776 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1778 * mule-charset.c (decode_builtin_char): Support mother charsets.
1780 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1782 * mule-charset.c (Q94x94x60): New variable.
1783 (charset_code_point): Support conversion `94x94x60'.
1784 (Fmake_charset): Likewise.
1785 (syms_of_mule_charset): Add new symbol `94x94x60'.
1787 * char-ucs.h (CONVERSION_94x94x60): New macro.
1789 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1791 * mule-charset.c (charset_code_point): Unify code about
1794 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1796 * mule-charset.c (charset_code_point): Merge code about builtin
1797 characters into code about mother charsets; don't use
1798 `range_charset_code_point'.
1799 (range_charset_code_point): Deleted.
1801 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1803 * mule-charset.c (Qcode_offset): New variable.
1804 (Fmake_charset): Use `XUINT' to get value of `min-code' and
1805 `max-code'; accept new property `code-offset'.
1806 (syms_of_mule_charset): Add new symbol `code-offset'.
1808 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1810 * mule-charset.c (range_charset_code_point): Fixed.
1812 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1814 * mule-charset.c (decode_builtin_char): Change semantics of
1815 code-offset of coded-charset.
1816 (charset_code_point): Likewise.
1817 (range_charset_code_point): Likewise.
1818 (complex_vars_of_mule_charset): Modify for the change.
1820 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1822 * mule-charset.c (Fencode_char): Reverse arguments.
1824 * mule-charset.c (charset_code_point): Fixed.
1826 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1828 * mule-charset.c (Vcharset_mojikyo): Deleted.
1829 (Vcharset_mojikyo_2022_1): Deleted.
1830 (Vcharset_mojikyo_pj_{1..21}): Deleted.
1831 (Qmin_code): New variable in UTF-2000.
1832 (Qmax_code): Likewise.
1833 (Qmother): Likewise.
1834 (Qconversion): Likewise.
1836 (Qmojikyo): Deleted.
1837 (Qmojikyo_2022_1): Deleted.
1838 (Qmojikyo_pj_{1..22}): Deleted.
1839 (mark_charset): Mark `cs->mother'.
1840 (charset_description): Add description for `mother'.
1841 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
1842 new arguments `mother' and `conversion'; use
1843 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
1844 (charset_code_point): Moved from char-ucs.h; support `mother'
1846 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
1847 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
1848 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
1849 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
1850 allow 2 as the value of `graphic' in UTF-2000; add new properties
1851 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
1852 require `final' in UTF-2000; modify for `make_charset'.
1853 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
1854 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
1855 (Fcharset_property): Support `mother', `min-code' and `max-code'.
1856 (Fencode_char): New function.
1857 (syms_of_mule_charset): Add new builtin function `encode-char' in
1858 UTF-2000; add new symbols `min-code', `max-code', `mother',
1859 `conversion' and `94x60'; delete symbols `mojikyo',
1860 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
1861 (complex_vars_of_mule_charset): Modify for `make_charset' change;
1862 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
1863 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
1865 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
1866 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
1868 * char-ucs.h (Vcharset_mojikyo): Deleted.
1869 (Vcharset_mojikyo_2022_1): Deleted.
1870 (LEADING_BYTE_MOJIKYO): Deleted.
1871 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
1872 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
1873 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
1874 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
1875 add new member `mother'; add new member `conversion'.
1876 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
1877 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
1878 (CHARSET_MOTHER): New macro.
1879 (CHARSET_CONVERSION): New macro.
1880 (CONVERSION_IDENTICAL): New macro.
1881 (CONVERSION_94x60): New macro.
1882 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
1883 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
1884 (XCHARSET_MOTHER): New macro.
1885 (XCHARSET_CONVERSION): New macro.
1886 (MIN_CHAR_MOJIKYO): Deleted.
1887 (MAX_CHAR_MOJIKYO): Deleted.
1888 (DECODE_MOJIKYO_2022): Deleted.
1889 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
1890 (charset_code_point): Changed to non-inline function.
1891 (encode_char_1): Use `charset_code_point'.
1892 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
1894 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1896 * lread.c (read_compiled_function): Fix prototype.
1897 (read_vector): Likewise.
1899 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1901 * lrecord.h (struct lrecord_header): Delete `older'.
1902 (set_lheader_implementation): Delete code for `older'.
1903 (set_lheader_older_implementation): Deleted.
1904 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
1905 (OLDER_RECORD_P): Deleted.
1906 (OLDER_RECORD_HEADER_P): Deleted.
1907 (alloc_older_lcrecord): Deleted.
1908 (alloc_older_lcrecord_type): Deleted.
1910 * alloc.c (all_older_lcrecords): Deleted.
1911 (alloc_older_lcrecord): Deleted.
1912 (disksave_object_finalization_1): Delete code for older objects.
1913 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
1914 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
1916 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1918 * mule-charset.c (decoding_table_put_char): Use `make_vector'
1919 instead of `make_older_vector'.
1920 (put_char_ccs_code_point): Likewise.
1921 (mark_charset): Mark `cs->decoding_table'.
1922 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
1924 * lisp.h (make_older_vector): Deleted.
1925 (make_vector_newer): Deleted.
1927 * config.h.in (HAVE_GGC): Deleted.
1929 * alloc.c (make_older_vector): Deleted.
1930 (make_vector_newer_1): Deleted.
1931 (make_vector_newer): Deleted.
1933 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1935 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
1936 (Qideograph_daikanwa_2): New variable.
1937 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
1938 (complex_vars_of_mule_charset): Add new coded-charset
1939 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
1940 `LEADING_BYTE_DAIKANWA'.
1942 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
1943 (LEADING_BYTE_DAIKANWA_1): New macro.
1944 (LEADING_BYTE_DAIKANWA_2): New macro.
1945 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
1947 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1949 * mule-charset.c (complex_vars_of_mule_charset): Change
1950 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
1951 the second revised version.
1953 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1955 * mule-charset.c (Vcharset_ucs_smp): New variable.
1956 (Vcharset_ucs_sip): New variable.
1957 (Qucs_smp): New variable.
1958 (Qucs_sip): New variable.
1959 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
1960 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
1961 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
1962 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
1963 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
1964 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
1966 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
1967 (LEADING_BYTE_UCS_SIP): New macro.
1968 (MIN_CHAR_SMP): New macro.
1969 (MAX_CHAR_SMP): New macro.
1970 (MIN_CHAR_SIP): New macro.
1971 (MAX_CHAR_SIP): New macro.
1973 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
1975 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
1978 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1980 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
1981 value; don't store value into `encoding_table' of `Lisp_Charset'.
1982 (mark_charset): `encoding_table' was deleted.
1983 (charset_description): Likewise.
1984 (make_charset): Likewise.
1985 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
1986 `put_char_ccs_code_point'.
1988 * chartab.h (Fput_char_attribute): New EXFUN.
1990 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
1991 is unified with normal symbol space.
1992 (Fget_char_attribute): Likewise.
1993 (Fput_char_attribute): Likewise; behavior of
1994 `put_char_ccs_code_point' is changed.
1996 * char-ucs.h: Include "elhash.h".
1997 (Vchar_attribute_hash_table): New external variable.
1998 (struct Lisp_Charset): Delete `encoding_table'.
1999 (CHARSET_ENCODING_TABLE): New implementation; refer
2000 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
2003 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2005 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
2008 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2010 * text-coding.c (char_encode_big5): Prefer charset-g1 than
2013 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2015 * chartab.c (uint8_byte_table_description): New constant.
2016 (uint8-byte-table): Use `uint8_byte_table_description'.
2017 (uint16_byte_table_description): New constant.
2018 (uint16-byte-table): Use `uint16_byte_table_description'.
2020 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2022 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
2023 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
2025 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2027 * mule-charset.c (Vcharset_ucs_ks): New variable.
2028 (Qucs_ks): New variable.
2029 (syms_of_mule_charset): Add new symbol `ucs-ks'.
2030 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
2032 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
2034 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2036 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
2037 (Fdecode_char): Likewise.
2039 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
2041 (Fdefine_char): Modify for Fdecode_char.
2042 (Ffind_char): Likewise.
2044 * mule-charset.c (Fdecode_char): Add new optional argument
2046 (Fdecode_builtin_char): Modify for `Fdecode_char'.
2048 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2050 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
2051 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
2052 (allocate_coding_system): Initialize initial-charsets of
2053 CODESYS_BIG5 in XEmacs UTF-2000.
2054 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
2055 CODESYS_BIG5 in XEmacs UTF-2000.
2056 (decode_coding_big5): Use initial-charset-g0 and -g1 of
2057 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
2059 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
2061 (Qideograph_hanziku_{1 .. 12}): Likewise.
2062 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
2064 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
2065 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
2066 `ideograph-hanziku-{1 .. 12}'.
2068 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
2069 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
2070 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
2071 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
2072 (DECODE_DEFINED_CHAR): New inline function.
2073 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
2075 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2077 * mule-charset.c (Vcharset_china3_jef): Renamed from
2078 `Vcharset_japanese_jef_china3'.
2079 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
2080 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
2081 `{MIN|MAX}_CHAR_JEF_CHINA3'..
2082 (syms_of_mule_charset): Rename `china3-jef' from
2083 `japanese-jef-china3'.
2084 (complex_vars_of_mule_charset): Likewise; rename
2085 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
2087 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
2088 `LEADING_BYTE_JEF_CHINA3'.
2089 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
2090 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
2092 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2094 * mule-charset.c (encode_builtin_char_1): Comment out special code
2095 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
2097 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
2098 (MAX_CHAR_MOJIKYO_0): Comment out.
2099 (MIN_CHAR_CBETA): Changed to 0x00E20000.
2100 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
2101 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
2102 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
2104 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2106 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
2107 (Qideograph_cbeta): New variable.
2108 (encode_builtin_char_1): Comment out special code for
2109 coded-charset `mojikyo' and `japanese-jef-china3'.
2110 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
2111 (complex_vars_of_mule_charset): Add new coded-charset
2114 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
2115 (MIN_CHAR_CBETA): New macro.
2116 (MAX_CHAR_CBETA): New macro.
2118 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2120 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
2121 (LEADING_BYTE_JEF_CHINA3): New macro.
2122 (MIN_CHAR_JEF_CHINA3): New macro.
2123 (MAX_CHAR_JEF_CHINA3): Likewise.
2124 (DECODE_CHAR): Fixed.
2126 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2128 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
2129 (Qjapanese_jef_china3): New variable.
2130 (encode_builtin_char_1): Support `japanese-jef-china3'.
2131 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
2132 (complex_vars_of_mule_charset): Add new coded-charset
2133 `japanese-jef-china3'.
2135 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2137 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
2138 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
2139 94^4, 96^3, 96^4, 128^n and 256^n set.
2140 (put_char_table): Use `XCHARSET_CELL_RANGE'.
2141 (map_char_table): Likewise.
2143 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2145 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
2148 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2150 * chartab.h (get_char_id_table): New inline function.
2152 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
2155 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2157 * chartab.h (decode_char_table_range): New prototype in XEmacs
2159 (put_char_id_table): New inline function in XEmacs UTF-2000.
2161 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
2163 (decode_char_table_range): Delete static declaration in XEmacs
2166 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2168 * chartab.c (put_char_id_table): Use `put_char_table'.
2170 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2172 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
2173 (map_over_uint16_byte_table): Likewise.
2174 (map_over_byte_table): Likewise.
2175 (map_char_table): Modify for `map_over_uint8_byte_table',
2176 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
2179 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2181 * chartab.c (struct map_char_table_for_charset_arg): New
2183 (map_char_table_for_charset_fun): New function.
2184 (map_char_table): Use `map_char_table' for encoding_table of
2187 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2189 * chartab.c (map_char_table): Check a character is found in
2190 range->charset instead of non default value is defined in
2191 char-table when range is CHARTAB_RANGE_ROW.
2193 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2195 * chartab.c (map_char_id_table): Deleted.
2196 (Fmap_char_attribute): Use `map_char_table' instead of
2197 `map_char_id_table'.
2199 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2201 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
2203 (update_syntax_table): Deleted in XEmacs UTF-2000.
2205 * syntax.c (find_defun_start): Use `syntax_table' instead of
2206 `mirror_syntax_table' in XEmacs UTF-2000.
2207 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
2209 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
2211 (Fmatching_paren): Likewise.
2212 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
2214 (find_start_of_comment): Likewise.
2215 (find_end_of_comment): Likewise.
2216 (Fforward_comment): Likewise.
2217 (scan_lists): Likewise.
2218 (char_quoted): Likewise.
2219 (Fbackward_prefix_chars): Likewise.
2220 (scan_sexps_forward): Likewise.
2221 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
2222 (update_syntax_table): Likewise.
2224 * search.c (skip_chars): Use `syntax_table' instead of
2225 `mirror_syntax_table' in XEmacs UTF-2000.
2226 (wordify): Likewise.
2227 (Freplace_match): Likewise.
2229 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
2230 `mirror_syntax_table' in XEmacs UTF-2000.
2231 (WORDCHAR_P_UNSAFE): Likewise.
2232 (re_match_2_internal): Likewise.
2234 * font-lock.c (find_context): Use `buf->syntax_table' instead of
2235 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2237 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
2238 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
2240 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
2243 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
2245 (print_char_table): Print `default_value' in XEmacs UTF-2000.
2246 (char_table_description): Delete `mirror_table' in XEmacs
2248 (fill_char_table): Don't call `update_syntax_table' in XEmacs
2250 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
2251 (Fcopy_char_table): Likewise.
2252 (put_char_table): Don't call `update_syntax_table' in XEmacs
2255 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
2256 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2257 (casify_region_internal): Likewise.
2259 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
2261 * buffer.c (common_init_complex_vars_of_buffer): Don't use
2262 `mirror_syntax_table' in XEmacs UTF-2000.
2264 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
2265 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2266 (Fexpand_abbrev): Likewise.
2268 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2270 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
2272 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2274 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
2275 (map_over_uint16_byte_table): Likewise.
2276 (map_over_byte_table): Likewise.
2277 (get_char_id_table): Refer `cit->default_value'.
2278 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2279 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
2280 of character-id ranges.
2281 (mark_char_table): Mark `ct->default_value'.
2282 (char_table_description): Add `default_value'.
2283 (fill_char_table): Use `default_value'.
2284 (decode_char_table_range): Decode `nil' as
2285 `CHARTAB_RANGE_DEFAULT'.
2286 (get_char_id_table): Refer `cit->default_value'.
2287 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2288 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
2289 temporary hack; check value of char-table is bound or not.
2290 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
2292 * chartab.h (struct Lisp_Char_Table): Add new member
2293 `default_value' in XEmacs UTF-2000.
2294 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
2295 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
2298 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2300 * chartab.h (Lisp_Char_ID_Table): Deleted.
2302 * chartab.c (char_table_description): Fix typo.
2303 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
2304 `Lisp_Char_ID_Table'.
2306 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2308 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
2311 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
2314 * chartab.h (XCHAR_ID_TABLE): Deleted.
2315 (XSETCHAR_ID_TABLE): Deleted.
2316 (CHAR_ID_TABLE_P): Deleted.
2318 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
2320 (Fget_composite_char): Likewise.
2321 (put_char_table): Likewise.
2322 (add_char_attribute_alist_mapper): Fixed.
2323 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
2325 (Fget_char_attribute): Likewise.
2326 (Fget_char_attribute): Likewise.
2327 (Fmap_char_attribute): Likewise.
2329 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
2331 (encode_char_1): Likewise.
2333 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2335 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
2338 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
2339 instead of `XCHAR_ID_TABLE'.
2340 (remove_char_ccs): Likewise.
2342 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
2344 (Fget_composite_char): Likewise.
2345 (Fchar_variants): Likewise.
2346 (put_char_table): Likewise.
2347 (add_char_attribute_alist_mapper): Likewise.
2348 (Fchar_attribute_alist): Likewise.
2349 (Fget_char_attribute): Likewise.
2350 (Fput_char_attribute): Likewise.
2351 (Fmap_char_attribute): Likewise.
2352 (Fmap_char_attribute): Likewise.
2354 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
2356 (encode_char_1): Likewise.
2358 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2360 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
2361 `Lisp_Char_ID_Table'.
2362 (mark_char_id_table): Deleted.
2363 (print_char_id_table): Likewise.
2364 (char_id_table_equal): Likewise.
2365 (char_id_table_hash): Likewise.
2366 (char_id_table_description): Likewise.
2367 (char_id_table): Likewise.
2368 (make_char_id_table): Use `Fmake_char_table' and
2370 (get_char_id_table): Use `Lisp_Char_Table' instead of
2371 `Lisp_Char_ID_Table'.
2372 (put_char_id_table): Likewise.
2373 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
2375 (Fremove_char_attribute): Likewise.
2376 (syms_of_chartab): Don't define type `char-id-table'.
2378 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
2379 (char_id_table): Likewise.
2380 (GC_CHAR_ID_TABLE_P): Likewise.
2381 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
2382 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
2383 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
2384 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
2385 (get_char_id_table): Use `Lisp_Char_Table' instead of
2386 `Lisp_Char_ID_Table'.
2387 (put_char_id_table_0): Likewise.
2388 (put_char_id_table): Likewise.
2390 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2392 * chartab.h: Lisp_Byte_Table related codes are moved from
2395 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
2397 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2399 * chartab.h: Don't include "chartab.h".
2400 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
2401 (Lisp_Char_ID_Table): Likewise.
2402 (char_id_table): Likewise.
2403 (XCHAR_ID_TABLE): Likewise.
2404 (XSETCHAR_ID_TABLE): Likewise.
2405 (CHAR_ID_TABLE_P): Likewise.
2406 (GC_CHAR_ID_TABLE_P): Likewise.
2407 (get_char_id_table): Likewise.
2409 * char-ucs.h: Include "chartab.h".
2410 (struct Lisp_Char_ID_Table): Moved to chartab.h.
2411 (Lisp_Char_ID_Table): Likewise.
2412 (char_id_table): Likewise.
2413 (XCHAR_ID_TABLE): Likewise.
2414 (XSETCHAR_ID_TABLE): Likewise.
2415 (CHAR_ID_TABLE_P): Likewise.
2416 (GC_CHAR_ID_TABLE_P): Likewise.
2417 (get_char_id_table): Likewise.
2419 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2421 * chartab.c (copy_uint8_byte_table): New function.
2422 (copy_uint16_byte_table): New function.
2423 (copy_byte_table): New function.
2424 (map_over_uint8_byte_table): Modify to avoid huge numbers of
2426 (map_over_uint16_byte_table): Likewise.
2427 (map_over_byte_table): Likewise.
2428 (get_byte_table): Move prototype to chartab.h.
2429 (put_byte_table): Likewise.
2430 (put_char_id_table_0): Moved to chartab.h.
2431 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
2432 (char_table_entry_equal): Likewise.
2433 (char_table_entry_hash): Likewise.
2434 (char_table_entry_description): Likewise.
2435 (char_table_entry): Likewise.
2436 (make_char_table_entry): Likewise.
2437 (copy_char_table_entry): Likewise.
2438 (get_non_ascii_char_table_value): Likewise.
2439 (map_over_charset_ascii): Likewise.
2440 (map_over_charset_control_1): Likewise.
2441 (map_over_charset_row): Likewise.
2442 (map_over_other_charset): Likewise.
2443 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
2444 (print_char_table): Likewise.
2445 (char_table_equal): Likewise.
2446 (char_table_hash): Likewise.
2447 (char_table_description): Likewise.
2448 (fill_char_table): Likewise.
2449 (Fcopy_char_table): Likewise.
2450 (get_char_table): Likewise.
2451 (Fget_range_char_table): Likewise.
2452 (put_char_table): Likewise.
2453 (map_char_table): Likewise.
2454 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
2457 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2459 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
2460 `Vauto_fill_chars' in XEmacs UTF-2000.
2462 * chartab.h (get_byte_table): New prototype [moved from
2464 (put_byte_table): Likewise [moved from chartab.c].
2465 (put_char_id_table_0): New inline function [moved from chartab.c].
2466 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
2467 (Lisp_Char_Table_Entry): Likewise.
2468 (char_table_entry): Likewise.
2469 (XCHAR_TABLE_ENTRY): Likewise.
2470 (XSETCHAR_TABLE_ENTRY): Likewise.
2471 (CHAR_TABLE_ENTRYP): Likewise.
2472 (CHECK_CHAR_TABLE_ENTRY): Likewise.
2473 (NUM_ASCII_CHARS): Likewise.
2474 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
2475 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
2477 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2479 * chartab.c (get_char_id_table): Change interface.
2480 (put_char_id_table_0): New function.
2481 (put_char_id_table): Change interface; new implementation.
2482 (Fget_composite_char): Modify for interface change of
2483 `get_char_id_table'.
2484 (Fchar_variants): Likewise.
2485 (add_char_attribute_alist_mapper): Likewise.
2486 (Fchar_attribute_alist): Likewise.
2487 (Fget_char_attribute): Likewise.
2488 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
2489 as same as character as the first argument like `put-char-table';
2490 modify for interface change of `put_char_id_table'.
2491 (Fremove_char_attribute): Modify for interface change of
2492 `put_char_id_table'.
2494 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2496 * text-coding.c: Sync up with XEmacs 21.2.41.
2497 (COMPOSE_ADD_CHAR): Modify for interface change of
2498 `get_char_id_table'.
2500 * mule-charset.c (put_char_ccs_code_point): Modify for interface
2501 change of `put_char_id_table'.
2502 (remove_char_ccs): Likewise.
2504 * chartab.h (put_char_id_table): Change interface.
2506 * char-ucs.h (get_char_id_table): Change interface.
2507 (charset_code_point): Modify for interface change of
2508 `get_char_id_table'.
2509 (encode_char_1): Likewise.
2511 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2513 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
2515 (map_over_uint16_byte_table): Likewise.
2516 (map_over_byte_table): Likewise.
2517 (map_char_id_table): Add new argument `range' like
2519 (Fmap_char_attribute): Add new argument `range' like
2522 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2524 * chartab.c (map_over_uint8_byte_table): Change interface of
2525 mapping function to use struct chartab_range instead of Emchar.
2526 (map_over_uint16_byte_table): Likewise.
2527 (map_over_byte_table): Likewise.
2528 (map_char_id_table): Likewise.
2529 (struct slow_map_char_id_table_arg): Deleted.
2530 (slow_map_char_id_table_fun): Deleted.
2531 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
2532 function `slow_map_char_table_fun' instead of struct
2533 `slow_map_char_id_table_arg' and function
2534 `slow_map_char_id_table_fun'.
2536 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2538 * mule-charset.c: Move char-it-table related codes to chartab.c.
2539 (Vutf_2000_version): Moved to chartab.c.
2540 (Fdefine_char): Likewise.
2541 (Ffind_char): Likewise.
2542 (syms_of_mule_charset): Move types `uint8-byte-table',
2543 `uint16-byte-table', `byte-table' and `char-id-table' to
2544 chartab.c; move functions `char_attribute_list,
2545 `find_char_attribute_table, `char_attribute_alist,
2546 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
2547 `map_char_attribute, `define_char, `find_char, `char_variants and
2548 `get_composite_char to chartab.c; move symbols `=>ucs',
2549 `->decomposition', `compat', `isolated', `initial', `medial',
2550 `final', `vertical', `noBreak', `fraction', `super', `sub',
2551 `circle', `square', `wide', `narrow', `small' and `font' to
2553 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
2554 setting codes for `Vcharacter_composition_table' and
2555 `Vcharacter_variant_table' to chartab.c.
2556 (complex_vars_of_mule_charset): Move setting code for
2557 `Vchar_attribute_hash_table' to chartab.c.
2559 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
2560 (make_char_id_table): New prototype.
2561 (put_char_id_table): Likewise.
2562 (Fget_char_attribute): Likewise.
2564 * chartab.c: Move char-id-table related code from mule-charset.c.
2565 (Vutf_2000_version): Moved from mule-charset.c.
2567 * char-ucs.h (Qucs): New external variable.
2568 (put_char_ccs_code_point): New prototype.
2569 (remove_char_ccs): Likewise.
2571 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2573 * mule-charset.c (Vcharset_ucs_jis): New variable.
2574 (Qucs_jis): Likewise.
2575 (syms_of_mule_charset): Add new symbol `ucs-jis'.
2576 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
2578 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
2580 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2582 * mule-charset.c (map_over_uint8_byte_table): New function.
2583 (map_over_uint16_byte_table): Likewise.
2584 (map_over_byte_table): Likewise.
2585 (map_char_id_table): Likewise.
2586 (slow_map_char_id_table_fun): Likewise.
2587 (Fmap_char_attribute): Likewise.
2588 (syms_of_mule_charset): Add new function `map-char-attribute'.
2590 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2592 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
2593 (syms_of_mule_charset): Add new function `find-char'.
2595 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2597 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
2599 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
2600 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
2602 (complex_vars_of_mule_charset): Add new coded-charset
2603 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
2604 `ideograph-gt-pj-*'.
2606 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
2608 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2610 * mule-charset.c (encode_builtin_char_1): Purge codes about
2611 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
2612 {MIN|MAX}_CHAR_HEBREW.
2613 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
2614 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
2616 * char-ucs.h (MIN_CHAR_GREEK): Purged.
2617 (MAX_CHAR_GREEK): Purged.
2618 (MIN_CHAR_CYRILLIC): Purged.
2619 (MAX_CHAR_CYRILLIC): Purged.
2620 (MIN_CHAR_HEBREW): Commented out.
2621 (MAX_CHAR_HEBREW): Likewise.
2623 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2625 * mule-charset.c (Qto_ucs): New variable.
2626 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
2627 (Fdefine_char): Likewise.
2628 (syms_of_mule_charset): Add new symbol `=>ucs'.
2630 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2632 * mule-charset.c (Fdecode_char): Fixed.
2634 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2636 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
2637 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
2640 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2642 * mule-charset.c (Vcharset_ucs_big5): New variable.
2643 (Qucs_big5): Likewise.
2644 (syms_of_mule_charset): Add new symbol `ucs-big5'.
2645 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
2647 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
2649 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2651 * mule-charset.c (decode_builtin_char): Check Big5 code range
2652 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
2654 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2656 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
2657 (Qchinese_gb12345): Likewise.
2658 (Fdecode_builtin_char): Fixed.
2659 (syms_of_mule_charset): Add `chinese-gb12345'.
2660 (complex_vars_of_mule_charset): Add coded-charset
2663 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
2664 (LEADING_BYTE_CHINESE_GB12345): New macro.
2666 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2668 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
2669 and `latin-viscii-upper' for `latin-viscii'.
2671 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2673 * mule-charset.c (Fdecode_builtin_char): Comment out
2674 regularization code for ISO-IR GR representation.
2676 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2678 * mule-charset.c (decode_builtin_char): New function; renamed from
2679 `make_builtin_char'; return -1 instead of signal.
2680 (Fdecode_builtin_char): Use `decode_builtin_char'.
2682 * char-ucs.h (decode_builtin_char): New prototype; renamed from
2683 `make_builtin_char'.
2684 (DECODE_CHAR): Use `decode_builtin_char' instead of
2685 `make_builtin_char'; use mapping table of `chinese-big5' for
2686 `chinese-big5-{1,2}'.
2688 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2690 * text-coding.c (char_encode_big5): New function.
2691 (char_finish_big5): Likewise.
2692 (reset_encoding_stream): Use `char_encode_big5' and
2693 `char_finish_big5' for CODESYS_BIG5.
2694 (mule_encode): Don't use `encode_coding_big5'.
2695 (encode_coding_big5): Deleted.
2697 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2699 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
2700 0x81- in XEmacs UTF-2000.
2701 (detect_coding_big5): Likewise.
2703 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2705 * mule-charset.c (Fdefine_char): Don't use a CCS property to
2706 generate character-id if the CCS property does not have
2707 corresponding predefined character.
2708 (make_builtin_char): Return -1 if corresponding predefined
2709 character is not found.
2710 (Fdecode_char): Return nil if corresponding character is not
2712 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
2713 don't map to builtin ucs space.
2715 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2717 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
2718 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
2720 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2722 * mule-charset.c (Vcharset_ideograph_gt): New variable.
2723 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
2724 (Qideograph_gt): Likewise.
2725 (Qideograph_gt_pj_{1..11}): Likewise.
2726 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
2727 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
2728 `ideograph-gt-pj-11'.
2729 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
2730 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
2731 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
2733 * char-ucs.h (LEADING_BYTE_GT): New macro.
2734 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
2735 (MIN_CHAR_GT): Likewise.
2736 (MAX_CHAR_GT): Likewise.
2738 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2740 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
2741 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
2743 * doprnt.c (unsigned_int_converters): Add `c'.
2744 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
2746 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
2747 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
2749 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
2750 (MAX_CHAR_MOJIKYO_0): New macro.
2751 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
2753 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2755 * mule-charset.c (Fdefine_char): Delete cemented out code.
2756 (encode_builtin_char_1): Modify for new allocation of builtin
2759 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
2761 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2763 * mule-charset.c (Vcharset_ucs_cns): New variable.
2764 (Qucs_cns): New variable.
2765 (syms_of_mule_charset): Add new symbol `ucs-cns'.
2766 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
2768 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2770 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
2772 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2774 * search.c (search_buffer): Make `charset_base_code' as
2775 character-id >> 6 to eliminate the corresponding last byte in
2776 UTF-8 representation [I'm not sure it is right thing].
2777 (boyer_moore): Likewise.
2779 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2781 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
2782 representation in MULE.
2784 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2786 * text-coding.c (Fmake_coding_system): Use
2787 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
2788 `EXTERNAL_PROPERTY_LIST_LOOP'.
2790 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2792 * text-coding.c (decode_output_utf8_partial_char): New function.
2793 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
2795 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2797 * text-coding.c (decode_coding_utf8): Output original byte
2798 sequence if it is broken; change order of conditions.
2800 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
2803 * mb-multibyte.h (BYTE_ASCII_P):
2804 Use bit ops for char-signedness safety.
2805 (BYTE_C0_P): Use bit ops for char-signedness safety.
2806 (BYTE_C1_P): Use bit ops for char-signedness safety.
2808 * character.h: (XCHAR_OR_CHAR_INT):
2809 Always use inline function.
2810 Remove redundant type checking assert() - XINT will abort quite
2813 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2815 * text-coding.c: (Fencode_shift_jis_char):
2816 (Fencode_big5_char):
2817 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
2818 Replace 0 with '\0' when working with bytes.
2819 Replace initial "(" with "\(" in docstrings.
2821 (Fmake_coding_system):
2822 When type is ccl and value is vector, register it with a proper
2823 symbol. And checks whether the given ccl program is valid.
2824 (mule_decode): When calling ccl_driver, if src indicates
2825 NULL pointer, set an empty string instead.
2826 (mule_encode): Likewise.
2829 (detect_coding_sjis):
2830 (decode_coding_sjis):
2831 (detect_coding_big5):
2832 (decode_coding_big5):
2833 (detect_coding_ucs4):
2834 (decode_coding_ucs4):
2835 (detect_coding_utf8):
2836 (decode_coding_utf8):
2837 (detect_coding_iso2022):
2838 (decode_coding_iso2022):
2839 (decode_coding_no_conversion):
2841 Make all detecting and decoding functions take an Extbyte * arg.
2842 (text_encode_generic):
2843 (encode_coding_big5):
2844 (encode_coding_no_conversion):
2846 Make all encoding functions take a Bufbyte * arg.
2847 Use size_t instead of unsigned int for memory sizes.
2848 Only cast to unsigned char whenever dereferencing Extbyte *.
2850 (struct lrecord_description fcd_description_1): Use countof.
2851 (complex_vars_of_file_coding):
2852 Use countof instead of sizeof.
2853 Use CHECK_NATNUM instead of CHECK_INT.
2855 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2857 * mule-charset.c (Fget_char_attribute): Add new optional argument
2859 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
2860 (remove_char_ccs): Likewise.
2862 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2864 * text-coding.c (char_encode_shift_jis): New implementation in
2866 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
2869 * mule-charset.c (Vcharset_chinese_big5): New variable in
2871 (Qchinese_big5): New variable in UTF-2000.
2872 (BIG5_SAME_ROW): New macro in UTF-2000.
2873 (make_builtin_char): Use builtin characters of
2874 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
2875 characters of `Vcharset_chinese_big5'.
2876 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
2877 (complex_vars_of_mule_charset): Add new coded-charset
2878 `chinese-big5' in UTF-2000.
2880 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
2881 (Vcharset_chinese_big5): New external variable declaration.
2882 (Vcharset_japanese_jisx0208_1990): Likewise.
2884 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2886 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
2888 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
2890 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2892 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
2893 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
2894 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
2897 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2899 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
2901 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2903 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2906 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2908 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
2909 for `CHARSET_BY_ATTRIBUTES'.
2910 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2911 `CHARSET_BY_ATTRIBUTES'.
2913 * text-coding.c (struct decoding_stream): Rename member `CH' to
2915 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
2916 (decode_coding_sjis): Likewise.
2917 (decode_coding_big5): Likewise.
2918 (decode_coding_ucs4): Likewise.
2919 (decode_coding_utf8): Likewise.
2920 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2921 `CHARSET_BY_ATTRIBUTES'.
2922 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
2923 `str->counter'; decode 3, 4 bytes sets.
2924 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
2926 (decode_coding_no_conversion): Use `str->cpos' instead of
2929 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
2930 (Qmojikyo_2022_1): New variable.
2931 (make_charset): Don't use `CHARSET_TYPE_*'.
2932 (range_charset_code_point): Support coded-charset
2934 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
2935 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
2936 `CHARSET_BY_ATTRIBUTES'.
2937 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
2938 `CHARSET_BY_ATTRIBUTES'.
2939 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
2940 (complex_vars_of_mule_charset): Add new coded-charset
2943 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
2944 interface; changed to inline function.
2946 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
2947 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
2948 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
2949 (CHARSET_TYPE_94): Deleted.
2950 (CHARSET_TYPE_94X94): Deleted.
2951 (CHARSET_TYPE_96): Deleted.
2952 (CHARSET_TYPE_96X96): Deleted.
2953 (CHARSET_TYPE_128): Deleted.
2954 (CHARSET_TYPE_128X128): Deleted.
2955 (CHARSET_TYPE_256): Deleted.
2956 (CHARSET_TYPE_256X256): Deleted.
2957 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
2959 (DECODE_MOJIKYO_2022): New inline function.
2960 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
2961 `Vcharset_mojikyo_2022_1'.
2963 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2965 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
2967 (put_byte_table): Likewise.
2968 (char_id_table_equal): Use `get_byte_table' [new implementation].
2970 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2972 * mule-charset.c: Include <limits.h> in UTF-2000.
2973 (BT_UINT8_MIN): New macro in UTF-2000.
2974 (BT_UINT8_MAX): New macro in UTF-2000.
2975 (BT_UINT8_t): New macro in UTF-2000.
2976 (BT_UINT8_nil): New macro in UTF-2000.
2977 (BT_UINT8_unbound): New macro in UTF-2000.
2978 (INT_UINT8_P): New inline function in UTF-2000.
2979 (UINT8_VALUE_P): New inline function in UTF-2000.
2980 (UINT8_ENCODE): New inline function in UTF-2000.
2981 (UINT8_DECODE): New inline function in UTF-2000.
2982 (mark_uint8_byte_table): New function in UTF-2000.
2983 (print_uint8_byte_table): New function in UTF-2000.
2984 (uint8_byte_table_equal): New function in UTF-2000.
2985 (uint8_byte_table_hash): New function in UTF-2000.
2986 (make_uint8_byte_table): New function in UTF-2000.
2987 (uint8_byte_table_same_value_p): New function in UTF-2000.
2988 (BT_UINT16_MIN): New macro in UTF-2000.
2989 (BT_UINT16_MAX): New macro in UTF-2000.
2990 (BT_UINT16_t): New macro in UTF-2000.
2991 (BT_UINT16_nil): New macro in UTF-2000.
2992 (BT_UINT16_unbound): New macro in UTF-2000.
2993 (INT_UINT16_P): New inline function in UTF-2000.
2994 (UINT16_VALUE_P): New inline function in UTF-2000.
2995 (UINT16_ENCODE): New inline function in UTF-2000.
2996 (UINT16_DECODE): New inline function in UTF-2000.
2997 (UINT8_TO_UINT16): New inline function in UTF-2000.
2998 (mark_uint16_byte_table): New function in UTF-2000.
2999 (print_uint16_byte_table): New function in UTF-2000.
3000 (uint16_byte_table_equal): New function in UTF-2000.
3001 (uint16_byte_table_hash): New function in UTF-2000.
3002 (make_uint16_byte_table): New function in UTF-2000.
3003 (uint16_byte_table_same_value_p): New function in UTF-2000.
3004 (print_byte_table): New function in UTF-2000.
3005 (byte-table): Use `print_byte_table' as printer.
3006 (make_byte_table): Delete second argument `older'.
3007 (byte_table_same_value_p): New function in UTF-2000.
3008 (copy_byte_table): Deleted.
3009 (get_byte_table): New function in UTF-2000.
3010 (put_byte_table): New function in UTF-2000.
3011 (print_char_id_table): New function in UTF-2000.
3012 (char-id-table): Use `print_char_id_table' as printer.
3013 (make_char_id_table): Delete second argument `older'.
3014 (get_char_id_table): Use `get_byte_table [new implementation].
3015 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
3017 (Ffind_char_attribute_table): New function in UTF-2000.
3018 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3019 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
3020 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
3021 (syms_of_mule_charset): Add new function
3022 `find-char-attribute-table' in UTF-2000.
3024 * lrecord.h (enum lrecord_type): Add
3025 `lrecord_type_uint16_byte_table' and
3026 `lrecord_type_uint8_byte_table'.
3028 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
3029 (Lisp_Uint8_Byte_Table): New type.
3030 (XUINT8_BYTE_TABLE): New macro.
3031 (XSETUINT8_BYTE_TABLE): New macro.
3032 (UINT8_BYTE_TABLE_P): New macro.
3033 (GC_UINT8_BYTE_TABLE_P): New macro.
3034 (struct Lisp_Uint16_Byte_Table): New structure.
3035 (Lisp_Uint16_Byte_Table): New type.
3036 (XUINT16_BYTE_TABLE): New macro.
3037 (XSETUINT16_BYTE_TABLE): New macro.
3038 (UINT16_BYTE_TABLE_P): New macro.
3039 (GC_UINT16_BYTE_TABLE_P): New macro.
3041 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3043 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
3044 (Vcharacter_ideographic_strokes_table): Deleted.
3045 (Vcharacter_total_strokes_table): Deleted.
3046 (Vcharacter_morohashi_daikanwa_table): Deleted.
3047 (Vcharacter_decomposition_table): Deleted.
3048 (Qname): Deleted because it is duplicated.
3049 (Qideographic_radical): Deleted.
3050 (Qideographic_strokes): Deleted.
3051 (Qtotal_strokes): Deleted.
3052 (Qmorohashi_daikanwa): Deleted.
3053 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
3054 `ideographic-radical', `ideographic-strokes', `total-strokes',
3055 `morohashi-daikanwa' and `->decomposition'.
3056 (Fget_char_attribute): Likewise.
3057 (Fput_char_attribute): Likewise; use `make-vector' instead of
3058 `make_older_vector' for `->decomposition' value.
3059 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
3060 `ideograph-daikanwa'.
3061 (syms_of_mule_charset): Delete builtin symbols `name',
3062 `ideographic-radical', `ideographic-strokes', `total-strokes' and
3063 `morohashi-daikanwa'.
3064 (vars_of_mule_charset): Don't setup
3065 `Vcharacter_ideographic_radical_table',
3066 `Vcharacter_ideographic_strokes_table',
3067 `Vcharacter_total_strokes_table',
3068 `Vcharacter_morohashi_daikanwa_table' and
3069 `Vcharacter_decomposition_table'.
3071 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3073 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
3074 `make_older_vector', `make_vector_newer_1' and
3075 `make_vector_newer'.
3077 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
3078 `make_older_vector' and `make_vector_newer'.
3080 * config.h.in (HAVE_GGC): New macro.
3082 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3084 * mule-charset.c (struct char_attribute_list_closure): New
3085 structure in UTF-2000.
3086 (add_char_attribute_to_list_mapper): New function in UTF-2000.
3087 (Fchar_attribute_list): Likewise.
3088 (Fset_charset_mapping_table): Use `make_vector_newer'.
3089 (Fdecode_builtin_char): New function in UTF-2000.
3090 (syms_of_mule_charset): Add new function `char-attribute-list' and
3091 `decode-builtin-char' in UTF-2000.
3093 * lisp.h (make_vector_newer): New prototype.
3095 * alloc.c (make_vector_newer_1): New function.
3096 (make_vector_newer): New function.
3098 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3100 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
3103 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3105 * mule-charset.c (Vchar_attribute_hash_table): New variable.
3106 (Vcharacter_attribute_table): Deleted.
3107 (Vcharacter_name_table): Deleted.
3108 (put_char_attribute): Deleted.
3109 (remove_char_attribute): Deleted.
3110 (struct char_attribute_alist_closure): New structure.
3111 (add_char_attribute_alist_mapper): New function.
3112 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
3113 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
3114 (Fget_char_attribute): Likewise.
3115 (Fput_char_attribute): Likewise.
3116 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
3117 of `remove_char_attribute'.
3118 (Fdefine_char): Return character.
3119 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
3120 and `Vcharacter_name_table'.
3121 (complex_vars_of_mule_charset): Likewise
3122 `Vchar_attribute_hash_table'.
3124 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3126 * character.h (CHARC_CHARSET): New macro.
3127 (CHARC_CHARSET_ID): New macro.
3128 (CHARC_CODE_POINT): New macro.
3129 (CHARC_COLUMNS): New macro.
3130 (CHARC_TO_CHAR): New inline function.
3131 (CHARC_EQ): New inline function.
3132 (CHARC_ASCII_EQ): New inline function.
3133 (CHARC_IS_SPACE): New inline function.
3134 (ASCII_TO_CHARC): New inline function.
3136 * char-ucs.h (encode_char_2): Deleted.
3137 (ENCODE_CHAR): Use `encode_char_1' again.
3138 (breakup_char_1): Likewise.
3139 (CHAR_TO_CHARC): New inline function.
3141 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
3143 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3145 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
3146 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
3147 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
3148 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
3149 (create_string_text_block): Use `CHARC_ASCII_EQ' and
3151 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
3153 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
3155 (x_output_display_block): Use `CHARC_CHARSET' and
3158 * redisplay-tty.c (tty_output_display_block): Use
3160 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
3162 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
3164 * insdel.c (find_charsets_in_charc_string): Use
3166 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
3167 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
3168 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
3169 (convert_charc_string_into_malloced_string): Likewise.
3171 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3173 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
3174 instead of <Emchar_dynarr *> for buf; use
3175 `convert_bufbyte_string_into_charc_dynarr' instead of
3176 `convert_bufbyte_string_into_emchar_dynarr'; use
3177 `find_charsets_in_charc_string' instead of
3178 `find_charsets_in_emchar_string'.
3181 - Include "character.h".
3182 (struct rune): New member `cglyph'; delete member `chr'.
3184 * redisplay.c (redisplay_text_width_charc_string): New function;
3185 delete `redisplay_text_width_emchar_string'.
3186 (rtw_charc_dynarr): New variable; renamed from
3187 `rtw_emchar_dynarr'.
3188 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
3189 `rtw_emchar_dynarr'; use
3190 `convert_bufbyte_string_into_charc_dynarr' instead of
3191 `convert_bufbyte_string_into_emchar_dynarr'; use
3192 `redisplay_text_width_charc_string' instead of
3193 `redisplay_text_width_emchar_string'.
3194 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
3195 instead of `rtw_emchar_dynarr'; use
3196 `convert_bufbyte_string_into_charc_dynarr' instead of
3197 `convert_bufbyte_string_into_emchar_dynarr'.
3198 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
3199 `redisplay_text_width_charc_string' instead of
3200 `redisplay_text_width_emchar_string'.
3201 (create_text_block): Modify for <struct rune> change.
3202 (generate_formatted_string_db): Likewise.
3203 (create_string_text_block): Likewise.
3204 (pixel_to_glyph_translation): Likewise.
3206 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
3207 instead of <const Emchar *>.
3208 (x_text_width): Likewise.
3209 (x_output_display_block): Use <Charc_dynarr *> instead
3210 <Emchar_dynarr *>; modify for <structure rune> change.
3211 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
3214 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
3215 <const Emchar *>; use `charc_string_displayed_columns' instead of
3216 `emchar_string_displayed_columns'.
3217 (tty_output_display_block): Use <Charc_dynarr *> instead of
3218 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
3219 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
3220 (tty_output_charc_dynarr_dynarr): New variable; renamed from
3221 `tty_output_emchar_dynarr_dynarr'.
3222 (tty_output_charc_dynarr): New function; delete
3223 `tty_output_charc_dynarr'.
3225 * redisplay-output.c (compare_runes): Modify for `struct rune'.
3226 (redisplay_output_layout): Use <Charc_dynarr *> instead of
3227 <Emchar_dynarr *> for buf; use
3228 `convert_bufbyte_string_into_charc_dynarr' instead of
3229 `convert_bufbyte_string_into_emchar_dynarr'.
3231 * frame.c (title_string_charc_dynarr): New variable; renamed from
3232 `title_string_emchar_dynarr'.
3233 (generate_title_string): Use `title_string_charc_dynarr' instead
3234 of `title_string_emchar_dynarr'; use
3235 `convert_charc_string_into_malloced_string' instead of
3236 `convert_emchar_string_into_malloced_string'.
3237 (init_frame): Use `title_string_charc_dynarr' instead of
3238 `title_string_emchar_dynarr'.
3241 - Include "character.h".
3242 (struct console_methods): Use <const Charc *> instead of <const
3243 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
3244 <Emchar_dynarr *> in output_string_method.
3246 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
3249 * console-stream.c (stream_text_width): Use <const Charc *>
3250 instead of <const Emchar *>.
3252 * character.h (Charc_dynarr): New type.
3254 * char-ucs.h (structure Charc): New structure; define new type
3257 * char-lb.h (DECODE_CHAR): New inline function.
3258 (encode_char_1): New inline function.
3259 (ENCODE_CHAR): New macro.
3260 (structure Charc): New structure; define new type `Charc'.
3262 * char-1byte.h (Vcharset_control_1): New macro.
3263 (Vcharset_latin_iso8859_1): New macro.
3264 (DECODE_CHAR): New inline function.
3265 (encode_char_1): New inline function.
3266 (ENCODE_CHAR): New macro.
3267 (structure Charc): New structure; define new type `Charc'.
3269 * insdel.c (find_charsets_in_charc_string): New function; delete
3270 `find_charsets_in_emchar_string'.
3271 (charc_string_displayed_columns): New function; delete
3272 `emchar_string_displayed_columns'.
3273 (convert_bufbyte_string_into_charc_dynarr): New function; delete
3274 `convert_bufbyte_string_into_emchar_dynarr'.
3275 (convert_charc_string_into_bufbyte_dynarr): New function; delete
3276 `convert_charc_string_into_bufbyte_dynarr'.
3277 (convert_charc_string_into_malloced_string): New function; delete
3278 `convert_charc_string_into_malloced_string'.
3280 * buffer.h (find_charsets_in_charc_string): New prototype; delete
3281 `find_charsets_in_emchar_string'.
3282 (charc_string_displayed_columns): New prototype; delete
3283 `emchar_string_displayed_columns'.
3284 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
3285 `convert_charc_string_into_bufbyte_dynarr'.
3286 (convert_charc_string_into_malloced_string): New prototype; delete
3287 `convert_charc_string_into_malloced_string'.
3289 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3291 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
3293 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3295 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
3297 * char-ucs.h: Use <short> for <Charset_ID>.
3299 * mule-charset.h, char-1byte.h: Use <unsigned char> for
3302 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3304 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3307 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3309 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
3311 (Qmorohashi_daikanwa): New variable.
3312 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
3313 for `morohashi-daikanwa' attribute.
3314 (Fget_char_attribute): Likewise.
3315 (Fput_char_attribute): Likewise.
3316 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
3317 has the same value of `ideograph-daikanwa'.
3318 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
3319 (vars_of_mule_charset): Setup
3320 `Vcharacter_morohashi_daikanwa_table'.
3322 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3324 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
3326 (add_charset_to_list_mapper): Add `key' instead of
3327 `XCHARSET_NAME (value)' to return aliases.
3329 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3331 * mule-charset.c (Vcharacter_ideographic_radical_table): New
3333 (Vcharacter_ideographic_strokes_table): New variable.
3334 (Qideographic_radical): New variable.
3335 (Qideographic_strokes): New variable.
3336 (Fchar_attribute_alist): Use
3337 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
3338 attribute; use `Vcharacter_ideographic_strokes_table' for
3339 `ideographic-strokes' attribute.
3340 (Fget_char_attribute): Likewise.
3341 (Fput_char_attribute): Likewise.
3342 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
3343 `ideographic-strokes'.
3344 (vars_of_mule_charset): Setup
3345 `Vcharacter_ideographic_radical_table' and
3346 `Vcharacter_ideographic_strokes_table'.
3348 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3350 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
3351 (Qtotal_strokes): New variable.
3352 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
3353 `total-strokes' attribute.
3354 (Fget_char_attribute): Likewise.
3355 (Fput_char_attribute): Likewise.
3356 (syms_of_mule_charset): Add new symbol `total-strokes'.
3357 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
3359 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3361 * mule-charset.c (Vcharacter_decomposition_table): New variable.
3362 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
3364 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
3365 `->decomposition' attribute.
3366 (Fput_char_attribute): Likewise.
3367 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
3369 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3371 * mule-charset.c (decoding_table_check_elements): New function.
3372 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
3374 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3376 * mule-charset.c (Fset_charset_mapping_table): Use
3377 `put_char_ccs_code_point'.
3379 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3381 * mule-charset.c (decoding_table_put_char): New inline function.
3382 (put_char_ccs_code_point): Use `decoding_table_put_char'.
3384 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3386 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
3387 (XCHARSET_BYTE_SIZE): New macro.
3388 (decoding_table_remove_char): New inline function.
3389 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
3390 `decoding_table_remove_char'.
3391 (remove_char_ccs): Use `decoding_table_remove_char'.
3392 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
3394 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3396 * mule-charset.c (Vcharacter_name_table): New variable.
3397 (Qname): New variable.
3398 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
3400 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
3401 `Vcharacter_name_table' for `name' attribute.
3402 (Fremove_char_attribute): Use function `remove_char_ccs'.
3403 (put_char_ccs_code_point): New function.
3404 (remove_char_ccs): New function.
3405 (syms_of_mule_charset): Add new symbol `name'.
3406 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
3408 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3410 * mule-charset.c (make_byte_table): Add new argument `older'.
3411 (make_char_id_table): Likewise.
3412 (copy_char_id_table): Comment out because it is not used.
3413 (put_char_id_table): Modify for `make_byte_table'.
3414 (Fput_char_attribute): Make encoding_table as older object;
3415 inherit older bit of `Vcharacter_composition_table'.
3416 (mark_charset): Don't mark `cs->encoding_table'.
3417 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
3418 normal object; make `Vcharacter_composition_table' as an older
3419 object; delete staticpro for `Vcharacter_composition_table'; make
3420 `Vcharacter_variant_table' as a normal object.
3422 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
3423 (mark_object): Don't check older object in UTF-2000.
3425 * lrecord.h (struct lrecord_header): Add new member `older' in
3427 (set_lheader_implementation): Setup `SLI_header->older' in
3429 (set_lheader_older_implementation): New macro in UTF-2000.
3430 (OLDER_RECORD_P): New macro in UTF-2000.
3431 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
3432 (alloc_older_lcrecord): New prototype in UTF-2000.
3433 (alloc_older_lcrecord_type): New macro in UTF-2000.
3435 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3437 * mule-charset.c (byte_table_description): Use
3438 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
3439 (char_id_table_description): Delete bogus `, 1'.
3440 (Fget_char_attribute): Refer encoding_table of each coded-charset
3441 to get value of coded-charset attribute of a character.
3442 (Fput_char_attribute): Use `make_older_vector' instead of
3443 `make_vector'; use encoding_table of each coded-charset to store
3444 value of coded-charset attribute of a character.
3445 (Fremove_char_attribute): Use encoding_table of each coded-charset
3446 to store value of coded-charset attribute of a character.
3447 (mark_charset): Mark `cs->encoding_table'; don't mark
3448 `cs->decoding_table'.
3449 (charset_description): Add description of new member
3451 (make_charset): Initialize `encoding_table'.
3453 * char-ucs.h (struct Lisp_Charset): Add new member
3455 (CHARSET_ENCODING_TABLE): New macro.
3456 (XCHARSET_ENCODING_TABLE): New macro.
3457 (charset_code_point): New implementation.
3458 (encode_char_1): Likewise.
3460 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
3461 (disksave_object_finalization_1): Call finalizers of
3462 `all_older_lcrecords' in UTF-2000.
3463 (make_older_vector): New function in UTF-2000.
3464 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
3467 * lisp.h (make_older_vector): New prototype in UTF-2000.
3469 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3471 * lrecord.h (enum lrecord_type): Rename
3472 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
3474 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
3475 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
3476 `get_char_code_table'.
3478 * mule-charset.c (mark_char_id_table): Renamed from
3479 `mark_char_code_table'.
3480 (char_id_table_equal): Renamed from `char_code_table_equal'.
3481 (char_id_table_hash): Renamed from `char_code_table_hash'.
3482 (make_char_id_table): Renamed from `make_char_code_table'.
3483 (copy_char_id_table): Renamed from `copy_char_code_table'.
3484 (get_char_id_table): Renamed from `get_char_code_table'.
3485 (put_char_id_table): Renamed from `put_char_code_table'.
3486 (to_char_id): Renamed from `to_char_code'.
3488 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
3489 `Lisp_Char_Code_Table'.
3490 (char_id_table): Renamed from `char_code_table'.
3491 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
3492 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
3493 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
3494 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
3495 (get_char_id_table): Renamed from `get_char_code_table'.
3497 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3499 * lrecord.h (enum lrecord_type): Rename
3500 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
3502 * mule-charset.c (mark_byte_table): Renamed from
3503 `mark_char_byte_table'.
3504 (byte_table_equal): Renamed from `char_byte_table_equal'.
3505 (byte_table_hash): Renamed from `byte_table_hash'.
3506 (make_byte_table): Renamed from `make_byte_table'.
3507 (copy_byte_table): Renamed from `copy_char_byte_table'.
3509 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
3510 `Lisp_Char_Byte_Table'.
3511 (byte_table): Renamed from `char_byte_table'.
3512 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
3513 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
3514 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
3515 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
3517 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3519 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
3520 (dfc_convert_to_internal_format): Likewise.
3522 * text-coding.c (Fcoding_system_canonical_name_p): New function.
3523 * text-coding.c (Fcoding_system_alias_p): New function.
3524 * text-coding.c (Fcoding_system_aliasee): New function.
3525 * text-coding.c (append_suffix_to_symbol): New function.
3526 * text-coding.c (dangling_coding_system_alias_p): New function.
3527 * text-coding.c (Ffind_coding_system):
3528 * text-coding.c (Fcopy_coding_system):
3529 * text-coding.c (encode_coding_no_conversion):
3530 * text-coding.c (syms_of_file_coding):
3531 * text-coding.c (vars_of_file_coding):
3532 Rewrite coding system alias code.
3533 Allow nested aliases, like symbolic links.
3534 Allow redefinition of coding system aliases.
3535 Prevent existence of dangling coding system aliases.
3536 Eliminate convert_to_external_format.
3537 Eliminate convert_to_internal_format.
3539 * text-coding.c: Change enum eol_type to eol_type_t.
3541 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3543 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
3544 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3546 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
3547 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3549 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3551 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
3552 `ideograph-daikanwa'.
3554 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
3555 (Vcharset_ucs_bmp): Likewise.
3556 (Vcharset_mojikyo): Add new extern variable definition.
3557 (Vcharset_latin_iso8859_2): Deleted because it is not used.
3558 (Vcharset_latin_iso8859_3): Likewise.
3559 (Vcharset_latin_iso8859_4): Likewise.
3560 (Vcharset_latin_iso8859_9): Likewise.
3561 (Vcharset_latin_viscii_lower): Likewise.
3562 (Vcharset_latin_viscii_upper): Likewise.
3563 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
3564 `mojikyo' code-point is used to decode.
3565 (encode_char_2): New function [to convert `mojikyo' code-point to
3566 Mojikyo font encoding].
3567 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
3568 (breakup_char_1): Likewise.
3569 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
3571 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3573 * text-coding.c (Fmake_coding_system): Add document about
3574 `disable-composition' property.
3576 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3578 * text-coding.c (Qdisable_composition): New variable; delete
3580 (Fmake_coding_system): Add new property `disable-composite';
3581 delete property `composite'.
3582 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
3583 instead of `!CODING_SYSTEM_COMPOSITE'.
3584 (syms_of_file_coding): Add new symbol `disable-composition';
3585 delete symbol `composite'.
3587 * file-coding.h (struct Lisp_Coding_System): Add
3588 `disable_composition'; delete `enable_composition'.
3589 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3590 `CODING_SYSTEM_COMPOSITE'.
3591 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3592 `XCODING_SYSTEM_COMPOSITE'.
3594 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3596 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3599 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3601 * text-coding.c (Qcomposite): New variable.
3602 (Fmake_coding_system): Add new property `composite'.
3603 (struct decoding_stream): Add `combined_char_count',
3604 `combined_chars' and `combining_table' in UTF-2000.
3605 (COMPOSE_FLUSH_CHARS): New macro.
3606 (COMPOSE_ADD_CHAR): New macro.
3607 (reset_decoding_stream): Reset `str->combined_char_count' and
3608 `str->combining_table' in UTF-2000.
3609 (decode_coding_iso2022): Modify for character-decomposition.
3610 (syms_of_file_coding): Add new symbol `composite'.
3612 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3614 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
3615 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
3616 of `Vcharacter_composition_table' if `->decomposition' property
3618 (Qlatin_tcvn5712): New variable.
3619 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
3620 (complex_vars_of_mule_charset): Add new coded-charset
3623 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
3625 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3627 * file-coding.h (struct Lisp_Coding_System): Add
3628 `enable_composition'.
3629 (CODING_SYSTEM_COMPOSITE): New macro.
3630 (XCODING_SYSTEM_COMPOSITE): New macro.
3632 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
3634 * mule-canna.c (c2mu): Fix problem with UTF-2000.
3636 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
3638 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
3639 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
3641 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
3643 * mule-charset.c (Vcharset_mojikyo): New variable.
3644 (Fdefine_char): Don't use coded-charset which does not have
3645 non-builtin character range to allocate character-id.
3646 (Qmojikyo): New variable.
3647 (syms_of_mule_charset): Add new symbol `mojikyo'.
3648 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
3650 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
3651 (LEADING_BYTE_MOJIKYO): New macro.
3652 (MIN_CHAR_MOJIKYO): New macro.
3653 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
3654 (MAX_CHAR_MOJIKYO): New macro.
3656 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
3658 * mule-charset.c (remove_char_attribute): Fixed.
3660 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
3662 * mule-charset.c (remove_char_attribute): New function.
3663 (Fremove_char_attribute): New function.
3664 (encode_builtin_char_1): Comment out builtin-support for
3665 greek-iso8859-7 and cyrillic-iso8859-5.
3666 (Fdecode_char): Check `code' is an integer.
3667 (syms_of_mule_charset): Add `remove-char-attribute'.
3668 (MIN_CHAR_GREEK): Deleted.
3669 (MAX_CHAR_GREEK): Likewise.
3670 (MIN_CHAR_CYRILLIC): Likewise.
3671 (MAX_CHAR_CYRILLIC): Likewise.
3672 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
3673 MAX_CHAR_GREEK for `greek-iso8859-7'.
3675 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
3676 (MAX_CHAR_GREEK): Likewise.
3677 (MIN_CHAR_CYRILLIC): Likewise.
3678 (MAX_CHAR_CYRILLIC): Likewise.
3680 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
3682 * mule-charset.c (Fdefine_char): Fix problem when new code-point
3683 format is used without `ucs' property.
3684 (Fdecode_char): Fix problem with GR representation.
3685 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
3686 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
3688 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3690 * mule-charset.c (make_builtin_char): New function.
3691 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
3692 (Fset_charset_mapping_table): Modify for new representation of
3694 (Fdecode_char): New function.
3695 (syms_of_mule_charset): Add new builtin function `decode-char' in
3698 * char-ucs.h (make_builtin_char): New prototype.
3699 (DECODE_CHAR): New inline function.
3700 (MAKE_CHAR): Use `DECODE_CHAR'.
3702 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
3704 * text-coding.c (parse_charset_conversion_specs): Use
3705 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
3707 (iso2022_designate): Likewise.
3709 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
3710 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
3712 * mule-charset.c (Vcharset_ucs): New variable.
3713 (print_charset): Change design; use `CHARSET_CHARS' and
3714 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
3715 (make_charset): Change signature to specify `chars' and
3716 `dimension' instead of `type'.
3717 (range_charset_code_point): Modify for 256^n-set.
3718 (encode_builtin_char_1): Encode as `ucs' in default.
3719 (Fmake_charset): Modify for `make_charset'.
3720 (Fmake_reverse_direction_charset): Likewise.
3721 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
3723 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
3726 * char-ucs.h (Vcharset_ucs): New variable.
3727 (LEADING_BYTE_UCS): New macro.
3728 (struct Lisp_Charset): Delete `type'; change type of `dimension'
3729 and `chars' to `unsigned short' from `unsigned int'.
3730 (CHARSET_TYPE): Deleted.
3731 (XCHARSET_TYPE): Deleted.
3733 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
3735 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
3737 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
3738 (ENCODE_CHAR): New macro.
3740 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3742 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3743 to 0.14 (Kawachi-Katakami).
3745 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3747 * text-coding.c (char_encode_shift_jis): Modify for
3748 `charset_code_point'.
3749 (char_encode_iso2022): Likewise.
3751 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
3752 (integer) instead of list of <Lisp_Object>s (integers) as the
3753 format of code-point of a coded-charset.
3754 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3755 (encode_builtin_char_1): New function; delete
3756 `split_builtin_char'.
3757 (charset_code_point): Return <int> instead of <Lisp_Object>.
3758 (Fsplit_char): Don't use `SPLIT_CHAR'.
3760 * char-ucs.h (encode_builtin_char_1): New prototype; delete
3761 prototype for `split_builtin_char'.
3762 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3763 (charset_code_point): Likewise.
3764 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
3765 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
3767 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
3769 * mule-charset.c (complex_vars_of_mule_charset): Don't define
3770 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
3772 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3774 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
3776 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
3777 (MAX_CHAR_OBS_94x94): Deleted.
3779 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3781 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
3783 * char-ucs.h (MAX_CHAR_BMP): New macro.
3785 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3787 * text-coding.c: Sync with r21-2-24.
3789 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3791 * file-coding.c: Modify for UTF-2000.
3793 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3795 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3798 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3800 * mule-charset.c (split_builtin_char): Delete builtin support for
3801 `katakana-jisx0201'.
3802 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
3803 BMP area in builtin representation.
3805 * char-ucs.h (MAKE_CHAR): Delete builtin support for
3806 `Vcharset_katakana_jisx0201'.
3808 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
3810 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
3811 (Qisolated): New variable.
3812 (Qinitial): New variable.
3813 (Qmedial): New variable.
3814 (Qfinal): New variable.
3815 (Qvertical): New variable.
3816 (Qsmall): New variable.
3817 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
3818 `Qvertical' and `Qsmall'.
3819 (Qmojikyo_pj_[1 .. 21]): New variable.
3820 (syms_of_mule_charset): Add new symbols `isolated', `initial',
3821 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
3822 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
3825 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3827 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
3828 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
3829 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
3831 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3833 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
3834 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
3836 (Qjapanese_jisx0208_1990): New variable.
3837 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
3838 (complex_vars_of_mule_charset): Add new coded-charset
3839 `japanese-jisx0208-1990'.
3841 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
3842 (MIN_CHAR_JIS_X0208_1990): New macro.
3843 (MAX_CHAR_JIS_X0208_1990): New macro.
3845 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3847 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
3848 coded-charset is not found.
3850 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3852 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
3853 (Fdefine_char): Use `Fmake_char'.
3855 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3857 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
3858 (Vcharset_hiragana_jisx0208): Deleted.
3859 (Vcharset_katakana_jisx0208): Deleted.
3860 (Qideograph_daikanwa): New variable.
3861 (Qhiragana_jisx0208): Deleted.
3862 (Qkatakana_jisx0208): Deleted.
3863 (split_builtin_char): Split `ideograph-daikanwa'.
3864 (Fsplit_char): New implementation for UTF-2000.
3865 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
3866 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
3867 (complex_vars_of_mule_charset): Add new coded-charset
3868 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
3869 `katakana-jisx0208'.
3871 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
3872 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
3873 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
3874 (MIN_CHAR_DAIKANWA): New macro.
3875 (MAX_CHAR_DAIKANWA): New macro.
3877 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3879 * data.c (Fstring_to_number): Don't recognize floating point if
3882 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3884 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
3886 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3888 * mule-charset.c (Qsquare): New variable.
3889 (to_char_code): Add `Qsquare'.
3890 (syms_of_mule_charset): Add new symbol `square'.
3892 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3894 * mule-charset.c (Qcircle): New variable.
3895 (to_char_code): Add `Qcircle'.
3896 (syms_of_mule_charset): Add new symbol `circle'.
3898 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3900 * mule-charset.c (Qfont): New variable.
3901 (to_char_code): Add `Qfont'.
3902 (syms_of_mule_charset): Add new symbol `font'.
3904 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3906 * mule-charset.c (Qsub): New variable.
3907 (to_char_code): Add `Qsub'.
3908 (syms_of_mule_charset): Add new symbol `sub'.
3910 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3912 * mule-charset.c (Fput_char_attribute): Convert each element of
3913 VALUE to GL position if ATTRIBUTE is a GR-set,
3915 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3917 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
3918 coded-charset is a GR-set.
3920 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3922 * mule-charset.c (Fput_char_attribute): Check each element of
3923 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
3925 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3927 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
3929 (Qethiopic_ucs): New variable in UTF-2000.
3930 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
3931 (complex_vars_of_mule_charset): Add new coded-charset
3932 `ethiopic-ucs' in UTF-2000.
3934 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
3935 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
3937 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
3939 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
3941 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3943 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
3946 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3948 * mule-charset.c (Vcharacter_variant_table): New variable.
3949 (Q_ucs): New variable.
3950 (Fchar_variants): New function.
3951 (Fput_char_attribute): Register `->ucs' value to
3952 `Vcharacter_variant_table'.
3953 (syms_of_mule_charset): Add new function `char-variants' and new
3955 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
3957 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3959 * mule-charset.c (get_char_code_table): Allow negative character
3961 (put_char_code_table): Likewise.
3962 (Vcharacter_composition_table): New variable.
3963 (Q_decomposition): New variable.
3964 (Qwide): New variable.
3965 (Qnarrow): New variable.
3966 (Qcompat): New variable.
3967 (QnoBreak): New variable.
3968 (Qsuper): New variable.
3969 (Qfraction): New variable.
3970 (to_char_code): New function.
3971 (Fget_composite_char): New function.
3972 (Fput_char_attribute): Register `->decomposition' value to
3973 `Vcharacter_composition_table'.
3974 (syms_of_mule_charset): Add new function `get-composite-char', new
3975 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
3976 `super' and `fraction'.
3977 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
3979 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3981 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
3982 character; copy the return value.
3984 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3986 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
3988 * mule-charset.c (range_charset_code_point): Must use make_int.
3989 (split_builtin_char): New function.
3991 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3993 * mule-charset.c (char_byte_table): Change name from
3994 "char-code-table" to "char-byte-table".
3995 (mark_char_code_table): New function.
3996 (char_code_table_equal): New function.
3997 (char_code_table_hash): New function.
3998 (char_code_table_description): New constant.
3999 (char_code_table): New type.
4000 (make_char_code_table): New function.
4001 (copy_char_code_table): New function.
4002 (get_char_code_table): Modify for `char_code_table' type.
4003 (put_char_code_table): Likewise.
4004 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
4007 * char-ucs.h (char_code_table): New type.
4008 (XCHAR_CODE_TABLE): New macro.
4009 (XSETCHAR_CODE_TABLE): New macro.
4010 (CHAR_CODE_TABLE_P): New macro.
4011 (GC_CHAR_CODE_TABLE_P): New macro.
4012 (struct Lisp_Char_Code_Table): New structure.
4014 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4016 * mule-charset.c (Fmake_charset): Setup byte_offset for
4019 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
4021 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
4024 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4026 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
4029 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4031 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
4032 charset, it is regarded as a charset.
4033 (put_char_attribute): New function in UTF-2000.
4034 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
4035 charset, mapping-table of the charset is modified.
4036 (Fdefine_char): New function in UTF-2000.
4037 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
4038 `Fput_char_attribute'.
4039 (syms_of_mule_charset): Add new function `define-char' and new
4040 symbol `ucs' in UTF-2000.
4041 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
4043 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4045 * mule-charset.c (Fcharset_name): Define `byte_offset' in
4046 non-UTF-2000 configuration.
4048 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4050 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
4051 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
4053 * mule-charset.c (mark_charset): `cs->encoding_table' has been
4055 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
4056 (Fset_charset_mapping_table): Likewise.
4058 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
4059 (CHARSET_ENCODING_TABLE): Delete.
4060 (XCHARSET_ENCODING_TABLE): Delete.
4061 (charset_code_point): New interface.
4063 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4065 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
4066 instead of `charset_get_byte1' and `charset_get_byte2'.
4068 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
4069 (charset_get_byte2): Deleted.
4071 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4073 * char-ucs.h (SPLIT_CHAR): New inline function.
4074 (breakup_char_1): Use `SPLIT_CHAR'.
4076 * mule-charset.c (range_charset_code_point): New function.
4077 (charset_code_point): New function.
4079 * char-ucs.h (range_charset_code_point): New interface.
4080 (breakup_char_1): Use `range_charset_code_point'.
4082 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4084 * mule-charset.c (Fmake_charset): Delete unused local variable
4087 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
4088 (breakup_char_1): Find a charset and code-point in
4089 `Vcharacter_attribute_table'.
4091 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4093 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4096 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4098 * mule-charset.c (Vcharacter_attribute_table): New variable.
4099 (Fchar_attribute_alist): New function.
4100 (Fget_char_attribute): New function.
4101 (Fput_char_attribute): New function.
4102 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
4104 (syms_of_mule_charset): Add new function `char-attribute-alist',
4105 `get-char-attribute' and `put-char-attribute'.
4106 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
4108 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
4110 * mule-charset.c (Fmake_charset): Just use
4111 `get_unallocated_leading_byte'.
4113 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
4114 sets; don't use final-byte based number for private sets.
4116 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4118 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
4121 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4123 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4126 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4128 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
4129 of `CHAR_LEADING_BYTE' in UTF-2000.
4131 * insdel.c (find_charsets_in_bufbyte_string): Use
4132 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4133 (find_charsets_in_emchar_string): Likewise.
4135 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
4136 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4138 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
4139 (CHAR_CHARSET_ID): New macro.
4141 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4143 * chartab.c (get_char_table): Don't use type `Charset_ID' for
4144 charset-id - MIN_LEADING_BYTE.
4145 (put_char_table): Likewise.
4147 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4149 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
4150 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
4151 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
4152 (CHARSET_ID_OFFSET): New macro.
4153 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
4154 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
4155 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
4156 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4158 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4160 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
4161 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
4162 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
4163 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
4164 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
4166 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4168 * mule-charset.c (next_allocated_leading_byte): New variable in
4170 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
4171 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
4172 (get_unallocated_leading_byte): Simply use
4173 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
4174 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
4177 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
4178 (MAX_LEADING_BYTE_PRIVATE): New macro.
4179 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
4180 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
4182 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4184 * mule-charset.c (Fmake_charset): Allocate final-byte based
4185 charset-id for 94-set, 96-set and 94x94-set.
4187 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4189 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
4191 (Fmake_charset): Likewise.
4192 (complex_vars_of_mule_charset): Modify the font registry of
4193 `ucs-bmp' not to match `Ethiopic-Unicode'.
4195 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4197 * mule-charset.c (complex_vars_of_mule_charset): Add font
4198 registory of `ucs-bmp'.
4200 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4202 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
4203 coded-charsets in `default-coded-charset-priority-list' when
4204 breaking up a character.
4206 * mule-charset.c (Vcharset_latin_viscii): New variable.
4207 (Qlatin_viscii): New variable.
4208 (make_charset): Don't use `decoding_table'.
4209 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
4211 (Fset_charset_mapping_table): New implementation.
4212 (syms_of_mule_charset): Add new symbol `latin-viscii'.
4213 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
4214 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
4215 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
4216 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
4217 charset `latin_viscii'.
4219 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
4220 (CHARSET_TYPE_94X94): Change to 1 from 2.
4221 (CHARSET_TYPE_96): Change to 2 from 1.
4222 (CHARSET_TYPE_128): New macro.
4223 (CHARSET_TYPE_128X128): Change to 5 from 4.
4224 (CHARSET_TYPE_256): New macro.
4225 (CHARSET_TYPE_256X256): Change to 7 from 5.
4226 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
4228 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4230 * text-coding.c (char_encode_shift_jis): Refer
4231 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
4232 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
4234 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
4235 (char_byte_table_equal): New function in UTF-2000.
4236 (char_byte_table_hash): New function in UTF-2000.
4237 (char_byte_table_description): New constant in UTF-2000.
4238 (char_byte_table): New type in UTF-2000.
4239 (make_char_byte_table): New function in UTF-2000.
4240 (copy_char_byte_table): New function in UTF-2000.
4241 (make_char_code_table): New macro in UTF-2000.
4242 (get_char_code_table): New function in UTF-2000.
4243 (put_char_code_table): New function in UTF-2000.
4244 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
4245 (charset_description): Add setting in UTF-2000.
4246 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
4247 `CHARSET_TO_BYTE1_TABLE(cs)'.
4248 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
4249 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
4250 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
4251 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
4252 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
4253 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
4254 `CHARSET_TO_BYTE2_TABLE(cs)'.
4256 * char-ucs.h (char_byte_table): New type.
4257 (XCHAR_BYTE_TABLE): New macro.
4258 (XSETCHAR_BYTE_TABLE): New macro.
4259 (CHAR_BYTE_TABLE_P): New macro.
4260 (GC_CHAR_BYTE_TABLE_P): New macro.
4261 (struct Lisp_Char_Byte_Table): New structure.
4262 (get_char_code_table): New interface.
4263 (Emchar_to_byte_table): Deleted.
4264 (get_byte_from_character_table): Deleted.
4265 (struct Lisp_Charset): Add `encoding_table'; delete
4266 `to_byte1_table' and `to_byte2_table'.
4267 (CHARSET_ENCODING_TABLE): New macro.
4268 (CHARSET_TO_BYTE1_TABLE): Deleted.
4269 (CHARSET_TO_BYTE2_TABLE): Deleted.
4270 (XCHARSET_ENCODING_TABLE): New macro.
4271 (XCHARSET_TO_BYTE1_TABLE): Deleted.
4272 (XCHARSET_TO_BYTE2_TABLE): Deleted.
4274 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4276 * mule-charset.c (syms_of_mule_charset): Delete charset alias
4277 `vietnamese-viscii-*'.
4279 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4281 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
4282 (Qvietnamese_viscii_upper): New variable.
4283 (Fdefine_charset_alias): New function.
4284 (syms_of_mule_charset): Add new function `define-charset-alias'.
4285 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
4286 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
4289 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
4291 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
4292 (MAX_CHAR_OBS_94x94): New macro.
4293 (breakup_char_1): Support obsolete XEmacs-UCS private code space
4296 * mule-charset.c (put_byte_from_character_table): Change unit size
4298 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
4300 (Fmake_reverse_direction_charset): Modify dummy argument of
4301 `make_charset' for non-UTF-2000 environment.
4303 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4305 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
4307 * mule-charset.c (destroy_byte_from_character_table): New macro.
4308 (latin_jisx0201_to_ucs): Deleted.
4309 (latin_iso8859_2_to_ucs): Deleted.
4310 (latin_iso8859_3_to_ucs): Deleted.
4311 (latin_iso8859_4_to_ucs): Deleted.
4312 (latin_iso8859_9_to_ucs): Deleted.
4313 (latin_viscii_lower_to_ucs): Deleted.
4314 (latin_viscii_upper_to_ucs): Deleted.
4315 (mark_charset): Mark `cs->decoding_table'.
4316 (Fcharset_mapping_table): Fix DOC-string.
4317 (Fset_charset_mapping_table): New function.
4318 (syms_of_mule_charset): Add nwe function
4319 `set-charset-mapping-table'.
4320 (complex_vars_of_mule_charset): Don't setup and use
4323 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
4325 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
4328 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
4330 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
4331 (Vcharset_katakana_jisx0208): New variable.
4332 (Qhiragana_jisx0208): New variable.
4333 (Qkatakana_jisx0208): New variable.
4334 (make_charset): Add new argument `byte_offset'.
4335 (charset_get_byte1): Modify for new coded-charset definition; use
4336 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4337 `XCHARSET_BYTE_OFFSET'.
4338 (Fmake_charset): Modify for `make_charset'.
4339 (Fmake_reverse_direction_charset): Likewise.
4340 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
4341 `katakana-jisx0208'.
4342 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
4343 `.' in font registry of charset `katakana-jisx0201',
4344 `latin-jisx0201', `vietnamese-viscii-lower' and
4345 `vietnamese-viscii-upper'; modify DOC-string of charset
4346 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
4347 registry of charset `japanese-jisx0208' not to use font for JIS
4348 X0208:1990; add new charset `hiragana-jisx0208' and
4349 `katakana-jisx0208'.
4351 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
4352 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
4353 (struct Lisp_Charset): Add `byte_offset'.
4354 (CHARSET_BYTE_OFFSET): New macro.
4355 (XCHARSET_UCS_MIN): New macro.
4356 (XCHARSET_UCS_MAX): New macro.
4357 (XCHARSET_CODE_OFFSET): New macro.
4358 (XCHARSET_BYTE_OFFSET): New macro.
4359 (MIN_CHAR_HIRAGANA): New macro.
4360 (MAX_CHAR_HIRAGANA): New macro.
4361 (MIN_CHAR_KATAKANA): New macro.
4362 (MAX_CHAR_KATAKANA): New macro.
4363 (MAKE_CHAR): Modify for new coded-charset definition; use
4364 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4365 `XCHARSET_BYTE_OFFSET'.
4367 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4369 * mule-charset.c (CHAR96): Deleted.
4370 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
4372 (latin_iso8859_2_to_ucs): Likewise.
4373 (latin_iso8859_3_to_ucs): Likewise.
4374 (latin_iso8859_4_to_ucs): Likewise.
4375 (latin_iso8859_9_to_ucs): Likewise.
4376 (latin_viscii_lower_to_ucs): Likewise.
4377 (latin_viscii_upper_to_ucs): Likewise.
4378 (latin_tcvn5712_to_ucs): Commented out.
4379 (make_charset): Change type of argument `decoding_table' from
4380 <Emchar*> to <Lisp_Object> [vector of characters].
4381 (Fmake_charset): Modify for `make_charset'.
4382 (Fmake_reverse_direction_charset): Likewise.
4383 (Fcharset_mapping_table): New function in UTF-2000.
4384 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
4386 (complex_vars_of_mule_charset): Modify for type change of
4387 `*_to_ucs'; modify for `make_charset'.
4389 * char-ucs.h (struct Lisp_Charset): Change type of
4390 `decoding_table' from <Emchar*> to <Lisp_Object>.
4391 (MAKE_CHAR): Modify for new specification of `decoding_table'.
4393 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4395 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
4396 error with non-UTF-2000-Mule.
4398 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
4400 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
4402 (Vcharset_chinese_cns11643_4): Likewise.
4403 (Vcharset_chinese_cns11643_5): Likewise.
4404 (Vcharset_chinese_cns11643_6): Likewise.
4405 (Vcharset_chinese_cns11643_7): Likewise.
4406 (Qchinese_cns11643_3): Likewise.
4407 (Qchinese_cns11643_4): Likewise.
4408 (Qchinese_cns11643_5): Likewise.
4409 (Qchinese_cns11643_6): Likewise.
4410 (Qchinese_cns11643_7): Likewise.
4411 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
4412 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4413 and `chinese-cns11643-7' to lisp/mule/chinese.el.
4414 (complex_vars_of_mule_charset): Likewise.
4416 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4418 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
4420 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
4421 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
4423 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4425 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
4427 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
4428 (breakup_char_1): Likewise.
4430 * text-coding.c (char_encode_iso2022): Keep designated charsets if
4431 one of them includes the specified character.
4433 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4435 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
4437 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4439 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
4441 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4443 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
4444 definition for non-UTF-2000 Mule.
4445 (latin_iso8859_3_to_ucs): Likewise.
4446 (latin_iso8859_4_to_ucs): Likewise.
4447 (latin_iso8859_9_to_ucs): Likewise.
4448 (latin_jisx0201_to_ucs): Likewise.
4449 (MIN_CHAR_THAI): Likewise.
4450 (MAX_CHAR_THAI): Likewise.
4451 (MIN_CHAR_GREEK): Likewise.
4452 (MAX_CHAR_GREEK): Likewise.
4453 (MIN_CHAR_HEBREW): Likewise.
4454 (MAX_CHAR_HEBREW): Likewise.
4455 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
4456 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
4457 (MIN_CHAR_CYRILLIC): Likewise.
4458 (MAX_CHAR_CYRILLIC): Likewise.
4460 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4462 * char-ucs.h (breakup_char_1): Use
4463 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
4464 thai-tis620 and katakana-jisx0201 area.
4466 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4468 * char-ucs.h (breakup_char_1): Use
4469 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
4472 * text-coding.c (reset_encoding_stream): Fixed.
4473 (char_encode_ucs4): Delete `& 255'.
4475 * char-ucs.h (breakup_char_1): Use
4476 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
4478 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4480 * file-coding.c (Fmake_coding_system): Don't set up
4481 `codesys->fixed.size'.
4482 (encode_coding_no_conversion): Don't refer
4483 `str->codesys->fixed.size'.
4485 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4487 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
4488 (latin_a_char_to_byte1): Deleted.
4489 (latin_a_char_to_byte2): Deleted.
4491 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4493 * mule-charset.c (make_charset): Add new argument `ucs_min',
4494 `ucs_max' and `code_offset'.
4495 (charset_get_byte1): New implementation [delete specific charset
4496 depended implementations].
4497 (Fmake_charset): Modify for `make_charset'.
4498 (Fmake_reverse_direction_charset): Likewise.
4499 (complex_vars_of_mule_charset): Likewise.
4501 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
4503 (CHARSET_UCS_MIN): New macro.
4504 (CHARSET_UCS_MAX): New macro.
4505 (CHARSET_CODE_OFFSET): New macro.
4506 (MAKE_CHAR): Delete charset depended definitions [except
4509 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4511 * char-ucs.h (breakup_char_1): Use
4512 `Vdefault_coded_charset_priority_list' for C0-Controls,
4513 Basic-Latin, C1-Controls and Latin-1-Supplement area.
4515 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4517 * char-ucs.h (charset_get_byte1): New function.
4518 (XCHARSET_GET_BYTE1): Deleted.
4519 (charset_get_byte2): New function.
4520 (XCHARSET_GET_BYTE2): Deleted.
4521 (Vdefault_coded_charset_priority_list): New external variable.
4522 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
4523 `Vdefault_preferred_coded_charset_list'.
4525 * mule-charset.c (charset_get_byte1): New function.
4526 (charset_get_byte2): New function.
4527 (Vdefault_coded_charset_priority_list): New variable.
4528 (vars_of_mule_charset): Add new variable
4529 `default-coded-charset-priority-list'.
4531 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4533 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
4534 (XCHARSET_GET_BYTE2): New inline function.
4535 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
4536 `XCHARSET_GET_BYTE2'.
4538 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4540 * mule-charset.c (make_charset): Initialize
4541 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
4542 NULL if table is not defined.
4544 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4546 * text-coding.c (char_encode_shift_jis): Use
4547 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
4548 `ucs_to_latin_jisx0201'.
4550 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
4551 (ucs_to_latin_iso8859_2): Deleted.
4552 (ucs_to_latin_iso8859_3): Deleted.
4553 (ucs_to_latin_iso8859_4): Deleted.
4554 (ucs_to_latin_iso8859_9): Deleted.
4555 (ucs_to_latin_viscii_lower): Deleted.
4556 (ucs_to_latin_viscii_upper): Deleted.
4557 (ucs_to_latin_tcvn5712): Deleted.
4558 (make_charset): Add new argument `decoding_table'; set up
4559 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
4560 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
4561 `decoding_table' is defined in UTF-2000.
4562 (Fmake_charset): Modify for `make_charset'.
4563 (Fmake_reverse_direction_charset): Likewise.
4564 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
4565 and `GENERATE_96_SET'.
4567 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
4568 (ucs_to_latin_jisx0201): Deleted.
4569 (latin_iso8859_2_to_ucs): Deleted.
4570 (ucs_to_latin_iso8859_2): Deleted.
4571 (latin_iso8859_3_to_ucs): Deleted.
4572 (ucs_to_latin_iso8859_3): Deleted.
4573 (latin_iso8859_4_to_ucs): Deleted.
4574 (ucs_to_latin_iso8859_4): Deleted.
4575 (latin_iso8859_9_to_ucs): Deleted.
4576 (ucs_to_latin_iso8859_9): Deleted.
4577 (latin_viscii_lower_to_ucs): Deleted.
4578 (ucs_to_latin_viscii_lower): Deleted.
4579 (latin_viscii_upper_to_ucs): Deleted.
4580 (ucs_to_latin_viscii_upper): Deleted.
4581 (struct Lisp_Charset): Renamed `encoding_table' to
4582 `to_byte1_table'; add `to_byte2_table'.
4583 (CHARSET_DECODING_TABLE): New macro.
4584 (CHARSET_TO_BYTE1_TABLE): New macro.
4585 (CHARSET_TO_BYTE2_TABLE): New macro.
4586 (XCHARSET_DECODING_TABLE): New macro.
4587 (XCHARSET_TO_BYTE1_TABLE): New macro.
4588 (XCHARSET_TO_BYTE2_TABLE): New macro.
4589 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
4591 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
4592 don't use `ucs_to_*' tables.
4594 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4596 * text-coding.c (Fmake_coding_system): Don't set up
4597 `codesys->fixed.size'.
4598 (encode_coding_no_conversion): Use `if' instead of `switch'.
4600 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
4602 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4604 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
4605 (Fmake_charset): Modify for `make_charset'.
4606 (Fmake_reverse_direction_charset): Likewise.
4607 (complex_vars_of_mule_charset): Likewise.
4609 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4611 * text-coding.c (char_encode_shift_jis): Use table
4612 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
4614 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4616 * text-coding.c (text_encode_generic): Use `if' instead of
4618 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
4621 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4623 * text-coding.c (encode_coding_sjis): Deleted.
4624 (char_encode_shift_jis): New function.
4625 (char_finish_shift_jis): New function.
4626 (reset_encoding_stream): Set up `encode_char' and `finish' for
4627 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
4628 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
4629 (char_encode_utf8): Treat `eol_type'.
4631 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4633 * file-coding.c (decode_coding_iso2022): Use
4634 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
4636 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4638 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4641 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4643 * char-lb.h (CHAR_COLUMNS): New macro.
4645 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4647 * text-coding.c (char_encode_ucs4): New function.
4648 (char_finish_ucs4): New function.
4649 (encode_coding_ucs4): Deleted.
4650 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
4651 (text_encode_generic): Delete local variable `charset' and `half'.
4652 (ucs_to_mule_table): Deleted.
4653 (mule_to_ucs_table): Deleted.
4654 (Fset_ucs_char): Deleted.
4655 (ucs_to_char): Deleted.
4656 (Fucs_char): Deleted.
4657 (Fset_char_ucs): Deleted.
4658 (Fchar_ucs): Deleted.
4659 (decode_ucs4): Deleted.
4660 (mule_char_to_ucs4): Deleted.
4661 (encode_ucs4): Deleted.
4662 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
4663 (decode_coding_utf8): Likewise.
4664 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
4665 (char_encode_iso2022): Fixed.
4666 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
4667 `Fset_char_ucs' and `Fchar_ucs'.
4668 (complex_vars_of_file_coding): Don't initialize
4669 `ucs_to_mule_table'.
4671 * objects-tty.c (tty_initialize_font_instance): Don't use
4674 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
4677 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
4678 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4680 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
4681 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4682 (emchar_string_displayed_columns): Likewise.
4684 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
4685 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4686 (string_column_at_point): Likewise.
4687 (Fmove_to_column): Likewise.
4689 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
4690 `encoding_table' and `decoding_table'.
4691 (CHARSET_REP_BYTES): Deleted.
4692 (XCHARSET_REP_BYTES): Deleted.
4693 (XCHARSET_COLUMNS): Deleted.
4694 (CHAR_COLUMNS): New macro.
4695 (lookup_composite_char): Deleted unconditionally.
4696 (composite_char_string): Likewise.
4698 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4700 * char-ucs.h (Emchar_to_byte_table): New type.
4701 (get_byte_from_character_table): New function interface.
4702 (Vcharset_latin_jisx0201): New variable.
4703 (latin_jisx0201_to_ucs): New variable.
4704 (ucs_to_latin_jisx0201): New variable.
4705 (Vcharset_latin_iso8859_2): New variable.
4706 (latin_iso8859_2_to_ucs): New variable.
4707 (ucs_to_latin_iso8859_2): New variable.
4708 (Vcharset_latin_iso8859_3): New variable.
4709 (latin_iso8859_3_to_ucs): New variable.
4710 (ucs_to_latin_iso8859_3): New variable.
4711 (Vcharset_latin_iso8859_4): New variable.
4712 (latin_iso8859_4_to_ucs): New variable.
4713 (ucs_to_latin_iso8859_4): New variable.
4714 (Vcharset_latin_iso8859_9): New variable.
4715 (latin_iso8859_9_to_ucs): New variable.
4716 (ucs_to_latin_iso8859_9): New variable.
4717 (Vcharset_latin_viscii_lower): New variable.
4718 (latin_viscii_lower_to_ucs): New variable.
4719 (ucs_to_latin_viscii_lower): New variable.
4720 (Vcharset_latin_viscii_upper): New variable.
4721 (latin_viscii_upper_to_ucs): New variable.
4722 (ucs_to_latin_viscii_upper): New variable.
4723 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
4724 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
4725 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
4726 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
4727 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
4728 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
4729 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
4730 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
4731 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
4732 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
4734 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
4735 (Vcharset_latin_viscii_upper): New variable.
4736 (make_byte_from_character_table): New function.
4737 (put_byte_from_character_table): New function.
4738 (get_byte_from_character_table): New function.
4739 (CHAR96): New macro.
4740 (ucs_to_latin_jisx0201): New variable.
4741 (latin_jisx0201_to_ucs): New variable.
4742 (ucs_to_latin_iso8859_2): New variable.
4743 (latin_iso8859_2_to_ucs): New variable.
4744 (ucs_to_latin_iso8859_3): New variable.
4745 (latin_iso8859_3_to_ucs): New variable.
4746 (ucs_to_latin_iso8859_4): New variable.
4747 (latin_iso8859_4_to_ucs): New variable.
4748 (ucs_to_latin_iso8859_9): New variable.
4749 (latin_iso8859_9_to_ucs): New variable.
4750 (ucs_to_latin_viscii_lower): New variable.
4751 (latin_viscii_lower_to_ucs): New variable.
4752 (ucs_to_latin_viscii_upper): New variable.
4753 (latin_viscii_upper_to_ucs): New variable.
4754 (ucs_to_latin_tcvn5712): New variable.
4755 (latin_tcvn5712_to_ucs): New variable.
4756 (Qlatin_viscii_lower): New variable.
4757 (Qlatin_viscii_upper): New variable.
4758 (syms_of_mule_charset): Set up new symbol
4759 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
4760 (complex_vars_of_mule_charset): Set up new charset
4761 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
4762 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
4763 `ucs_to_<CHARSET>' tables.
4765 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4767 * text-coding.c: New file.
4769 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4771 * mule-charset.c (Fmake_char): Fix problem of 256-set.
4773 * char-ucs.h (Vcharset_ucs_bmp): New variable.
4774 (MAKE_CHAR): Modify for `ucs-bmp'.
4775 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
4776 non-MULE characters of BMP.
4778 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
4780 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4783 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
4786 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
4787 - Include character.h for `CHAR_ASCII_P'.
4789 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
4791 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
4792 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
4794 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
4795 (BYTE_C0_P): Likewise.
4796 (BYTE_C1_P): Likewise.
4797 (Lstream_get_emchar_1): Likewise.
4798 (Lstream_fput_emchar): Likewise.
4799 (Lstream_funget_emchar): Likewise.
4800 (copy_internal_to_external): Likewise.
4801 (copy_external_to_internal): Likewise.
4803 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
4804 (BYTE_C0_P): Likewise.
4805 (BYTE_C1_P): Likewise.
4806 (Lstream_get_emchar_1): Likewise.
4807 (Lstream_fput_emchar): Likewise.
4808 (Lstream_funget_emchar): Likewise.
4809 (copy_internal_to_external): Likewise.
4810 (copy_external_to_internal): Likewise.
4812 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
4813 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4815 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
4816 (BYTE_ASCII_P): Moved to mb-1byte.h.
4818 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
4820 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
4822 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
4823 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
4824 (VALID_CHARPTR_P): Moved to mb-*byte.h.
4825 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4826 (VALIDATE_CHARPTR_FORWARD): Likewise.
4827 (simple_charptr_emchar): Moved to mb-multibyte.h.
4828 (simple_set_charptr_emchar): Likewise.
4829 (simple_charptr_copy_char): Likewise.
4830 (non_ascii_charptr_emchar): Likewise.
4831 (non_ascii_set_charptr_emchar): Likewise.
4832 (non_ascii_charptr_copy_char): Likewise.
4833 (charptr_emchar): Moved to mb-*byte.h.
4834 (set_charptr_emchar): Likewise.
4835 (charptr_copy_char): Likewise.
4837 * mb-1byte.h, mb-multibyte.h: New files.
4839 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4841 * mb-utf-8.h (MULTIBYTE): New macro.
4842 (MAX_EMCHAR_LEN): Moved from buffer.h.
4843 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
4845 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
4847 * mb-lb.h, multibyte.h: New files.
4849 * char-1byte.h (Charset_ID): Moved from buffer.h.
4850 (MIN_LEADING_BYTE): Likewise.
4851 (LEADING_BYTE_ASCII): Likewise.
4852 (NUM_LEADING_BYTES): Likewise.
4853 (CHARSETP): Likewise.
4854 (CHARSET_BY_LEADING_BYTE): Likewise.
4855 (XCHARSET_LEADING_BYTE): Likewise.
4856 (XCHARSET_GRAPHIC): Likewise.
4857 (XCHARSET_COLUMNS): Likewise.
4858 (XCHARSET_DIMENSION): Likewise.
4859 (CHAR_CHARSET): Likewise.
4860 (CHAR_LEADING_BYTE): Likewise.
4861 (BREAKUP_CHAR): Likewise.
4862 (Vcharset_ascii): Likewise.
4864 * buffer.h: Include multibyte.h unconditionally.
4865 (VALID_CHARPTR_P): Moved to multibyte.h.
4866 (ASSERT_VALID_CHARPTR): Likewise.
4867 (REAL_INC_CHARPTR): Likewise.
4868 (REAL_INC_CHARBYTIND): Likewise.
4869 (REAL_DEC_CHARPTR): Likewise.
4870 (INC_CHARPTR): Likewise.
4871 (INC_CHARBYTIND): Likewise.
4872 (DEC_CHARPTR): Likewise.
4873 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4874 (VALIDATE_CHARPTR_FORWARD): Likewise.
4875 (charptr_n_addr): Likewise.
4876 (MAX_EMCHAR_LEN): Moved to mb-*.h.
4877 (simple_charptr_emchar): Moved to multibyte.h.
4878 (simple_set_charptr_emchar): Likewise.
4879 (simple_charptr_copy_char): Likewise.
4880 (non_ascii_charptr_emchar): Likewise.
4881 (non_ascii_set_charptr_emchar): Likewise.
4882 (non_ascii_charptr_copy_char): Likewise.
4883 (charptr_emchar): Likewise.
4884 (set_charptr_emchar): Likewise.
4885 (charptr_copy_char): Likewise.
4886 (charptr_emchar_n): Likewise.
4887 (Charset_ID): Moved to char-1byte.h.
4888 (Vcharset_ascii): Likewise.
4889 (CHAR_CHARSET): Likewise.
4890 (CHAR_LEADING_BYTE): Likewise.
4891 (LEADING_BYTE_ASCII): Likewise.
4892 (NUM_LEADING_BYTES): Likewise.
4893 (MIN_LEADING_BYTE): Likewise.
4894 (CHARSETP): Likewise.
4895 (CHARSET_BY_LEADING_BYTE): Likewise.
4896 (XCHARSET_LEADING_BYTE): Likewise.
4897 (XCHARSET_GRAPHIC): Likewise.
4898 (XCHARSET_COLUMNS): Likewise.
4899 (XCHARSET_DIMENSION): Likewise.
4900 (BREAKUP_CHAR): Likewise.
4902 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4904 * character.h: Add document about interface for characters.
4906 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
4907 (MAKE_CHAR): Delete comment about
4908 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
4909 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
4910 (BREAKUP_CHAR): Modify name of arguments.
4911 (CHAR_CHARSET): Modify name of argument.
4913 * buffer.h: Delete document about Emchar accessors.
4915 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4917 * character.h (CHAR_INTP): Moved from buffer.h
4918 (CHAR_OR_CHAR_INTP): Likewise.
4919 (XCHAR_OR_CHAR_INT): Likewise.
4920 (CHECK_CHAR_COERCE_INT): Likewise.
4922 * buffer.h (CHAR_INTP): Moved to character.h
4923 (CHAR_OR_CHAR_INTP): Likewise.
4924 (XCHAR_OR_CHAR_INT): Likewise.
4925 (CHECK_CHAR_COERCE_INT): Likewise.
4927 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4930 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
4931 - Include char-1byte.h, char-lb.h or char-ucs.h.
4933 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
4935 * buffer.h: Include character unconditionally.
4936 (valid_char_p): Moved to char-*.h.
4937 (non_ascii_valid_char_p): Moved to char-lb.h.
4939 * char-1byte.h, char-lb.h, char-ucs.h: New files.
4941 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4943 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
4944 in UTF-2000 because it is not ported yet and not to use
4945 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
4946 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
4947 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
4949 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
4950 (CHAR_ASCII_P): Moved from character.h.
4952 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
4953 (CHAR_ASCII_P): Likewise.
4954 (CHAR_FIELD1_MASK): Deleted.
4955 (CHAR_FIELD2_MASK): Deleted.
4956 (CHAR_FIELD3_MASK): Deleted.
4957 (MAX_CHAR_BASIC_LATIN): New macro.
4958 (CHAR_FIELD1): Deleted.
4959 (CHAR_FIELD2_INTERNAL): Deleted.
4960 (CHAR_FIELD3_INTERNAL): Deleted.
4961 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
4962 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
4963 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
4964 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
4965 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
4966 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
4967 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
4968 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
4969 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
4970 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
4971 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
4972 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
4973 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
4974 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
4975 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
4976 (MIN_CHAR_COMPOSITION): Deleted.
4977 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
4978 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
4980 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
4982 * buffer.h: Include mb-utf-8.h in UTF-2000.
4984 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
4986 * mb-utf-8.h: New file.
4988 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
4990 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
4993 * mule-charset.h, buffer.h (Charset_ID): New type.
4995 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
4997 * mule-canna.c (c2mu): Use `MAKE_CHAR',
4998 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
4999 instead of `MULE_CHAR_PRIVATE_OFFSET',
5000 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
5001 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
5002 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
5004 * character.h (Vcharset_japanese_jisx0212): New variable
5007 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5009 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
5010 (charset_by_attributes): Delete array about direction.
5011 (latin_a_char_to_charset): New variable in UTF-2000.
5012 (latin_a_char_to_byte1): New variable in UTF-2000.
5013 (latin_a_char_to_byte2): New variable in UTF-2000.
5014 (Qucs_bmp): New variable.
5015 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
5017 (next_allocated_2_byte_leading_byte): Likewise.
5018 (non_ascii_set_charptr_emchar): Likewise.
5019 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
5020 `CHARSET_TYPE_256X256' in UTF-2000; modify for
5021 `charset_by_attributes'.
5022 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
5023 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
5024 and `CHARSET_BY_LEADING_BYTE'.
5025 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
5026 `utf-2000-version' to `vars_of_mule_charset'.
5027 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
5028 define `leading-code-private-11' in UTF-2000; move setting of
5029 `utf-2000-version' from `syms_of_mule_charset'.
5030 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
5033 * character.h (Charset_ID): New type.
5034 (LEADING_BYTE_UCS_BMP): New macro.
5035 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
5036 (CHARSET_ID_OFFSET_94): New macro.
5037 (MIN_CHARSET_ID_PRIVATE_94): New macro.
5038 (MAX_CHARSET_ID_PRIVATE_94): New macro.
5039 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
5041 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
5042 (LEADING_BYTE_LATIN_JISX0201): Likewise.
5043 (CHARSET_ID_OFFSET_96): New macro.
5044 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
5045 CHARSET_ID_OFFSET_96 and final-byte.
5046 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
5047 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
5048 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
5049 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
5050 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
5051 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
5052 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
5053 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
5054 (LEADING_BYTE_THAI_TIS620): Likewise.
5055 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
5056 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
5057 (CHARSET_ID_OFFSET_94x94): New macro.
5058 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
5059 CHARSET_ID_OFFSET_94x94 and final-byte.
5060 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
5061 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
5062 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
5063 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
5064 (LEADING_BYTE_CHINESE_GB2312): Likewise.
5065 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
5066 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
5067 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
5068 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
5069 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
5070 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
5071 (CHARSET_TYPE_128X128): New macro.
5072 (CHARSET_TYPE_256X256): New macro.
5073 (XCHARSET_PRIVATE_P): Delete unconditionally.
5074 (charset_by_attributes): Delete array about direction.
5075 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
5076 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
5077 (MIN_CHAR_94): New macro.
5078 (MAX_CHAR_94): New macro.
5079 (MIN_CHAR_96): New macro.
5080 (MAX_CHAR_96): New macro.
5081 (MIN_CHAR_94x94): New macro.
5082 (MAX_CHAR_94x94): New macro.
5083 (MIN_CHAR_96x96): New macro.
5084 (MAX_CHAR_96x96): New macro.
5085 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
5086 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5087 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
5089 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
5090 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
5091 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
5092 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
5093 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
5094 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
5095 `XCHARSET_LEADING_BYTE' to make code-point.
5096 (latin_a_char_to_charset): New variable.
5097 (latin_a_char_to_byte1): New variable.
5098 (latin_a_char_to_byte2): New variable.
5099 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
5100 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
5101 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
5103 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
5104 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
5105 (find_charsets_in_emchar_string): Likewise.
5106 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
5108 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
5110 (decode_coding_iso2022): Likewise.
5112 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
5115 * redisplay.c (redisplay_text_width_emchar_string): Use
5116 `Charset_ID' instead of `unsigned char'.
5117 (redisplay_frame_text_width_string): Likewise.
5119 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
5122 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
5123 instead of `unsigned char'.
5124 (face_cachel_charset_font_metric_info): Likewise.
5126 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
5127 (get_non_ascii_char_table_value): Likewise.
5128 (get_char_table): Likewise.
5129 (put_char_table): Likewise.
5130 (map_over_other_charset): Likewise.
5131 (map_char_table): Likewise.
5133 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
5134 instead of `unsigned char'.
5136 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
5138 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
5139 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
5141 * mule-charset.c (leading_code_private_11): Don't define in
5144 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
5145 in UTF-2000 because it is not ported yet and not to use
5146 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
5148 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
5150 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
5152 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5154 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
5157 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
5158 of unsigned char to store leading-byte.
5160 * chartab.c (get_non_ascii_char_table_value): Don't use
5161 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
5163 * file-coding.c (encode_coding_big5): Delete bogus implementation
5166 * character.h (LEADING_BYTE_*): Delete definition for
5168 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
5169 (LEADING_BYTE_PREFIX_P): Deleted.
5170 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
5171 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
5172 (BUFBYTE_LEADING_BYTE_P): Deleted.
5173 (CHARSET_PRIVATE_P): Deleted unconditionally.
5174 (rep_bytes_by_first_byte): Deleted unconditionally.
5175 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
5176 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
5177 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5178 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
5179 (CHAR_FIELD2): Deleted.
5180 (CHAR_FIELD3): Deleted.
5181 (MAKE_CHAR): Delete definition for non-UTF-2000.
5182 (BREAKUP_CHAR_1_UNSAFE): Deleted.
5183 (breakup_char_1): New implementation.
5184 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
5185 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
5187 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5189 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
5192 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5194 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
5195 (CHARSET_PRIVATE_P): Likewise.
5196 (XCHARSET_PRIVATE_P): Likewise.
5197 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
5199 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
5201 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
5203 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5205 * character.h (LEADING_BYTE_*): Changed in UTF2000.
5206 (NUM_LEADING_BYTES): Changed from 128 to 256.
5207 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5208 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
5210 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5212 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
5214 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
5215 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
5216 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
5217 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
5218 (Qchinese_cns11643_3): New variable in UTF2000.
5219 (Qchinese_cns11643_4): New variable in UTF2000.
5220 (Qchinese_cns11643_5): New variable in UTF2000.
5221 (Qchinese_cns11643_6): New variable in UTF2000.
5222 (Qchinese_cns11643_7): New variable in UTF2000.
5223 (syms_of_mule_charset): Define `chinese-cns11643-3',
5224 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
5225 and `chinese-cns11643-7' in UTF2000.
5226 (vars_of_mule_charset): Initialize
5227 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
5229 (complex_vars_of_mule_charset): Setup charset
5230 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
5231 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
5233 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5235 * mule-charset.c: Move setting for `leading-code-private-11' from
5236 `syms_of_mule_charset' to `vars_of_mule_charset'.
5238 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5240 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
5241 and `NUM_LEADING_BYTES' in assert.
5243 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5245 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
5247 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
5248 `NUM_LEADING_BYTES' instead of 128.
5250 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
5252 * mule-charset.h (charset_by_leading_byte): Use
5253 `NUM_LEADING_BYTES' instead of 128.
5254 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
5256 * mule-charset.c (charset_by_leading_byte): Use
5257 `NUM_LEADING_BYTES' instead of 128.
5258 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
5260 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
5263 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
5265 * mule-charset.c (syms_of_mule_charset): Update to
5268 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
5270 * file-coding.c (encode_coding_sjis): New implementation for
5271 UTF2000. (decode_coding_sjis): Ditto.
5273 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5275 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
5276 Don't define in UTF2000.
5278 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
5281 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5282 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
5285 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5287 * config.h.in (CHAR_IS_UCS4): New macro.
5289 * mule-charset.c (rep_bytes_by_first_byte): Modify for
5290 conventional MULE representation.
5291 (syms_of_mule_charset): Update to 0.3 (Imamiya).
5293 * mule-charset.h: Reverted to original.
5295 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5296 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
5297 "mule-charset.h" if CHAR_IS_UCS4 is defined.
5299 * character.h: New file.
5301 * file-coding.c (Fmake_coding_system): Set 1 to
5302 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
5304 (encode_coding_no_conversion): New implementation for UTF2000.
5306 * file-coding.h (struct Lisp_Coding_System): Add new member
5309 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
5311 * file-coding.c (decode_coding_iso2022): Code-point arguments of
5312 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
5313 (encode_coding_iso2022): New implementation for UTF2000.
5315 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5317 * mule-canna.c (c2mu): New implementation for UTF2000.
5320 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5322 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
5324 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5326 * file-coding.c (reset_encoding_stream): Set 0 to
5327 `str->iso2022.current_char_boundary' in UTF2000.
5328 (encode_utf8): Don't define in UTF2000.
5329 (encode_coding_utf8): New implementation for UTF-8 representation
5331 (complex_vars_of_file_coding): Define coding-system `utf-8'.
5333 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5335 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
5337 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
5339 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5341 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
5343 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
5344 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
5345 as UTF-8 in UTF2000.
5346 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
5347 (non_ascii_valid_char_p): Don't define in UTF2000.
5348 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
5349 (Lstream_get_emchar_1): Likewise.
5350 (utf-2000-version): New variable in UTF2000.
5352 * lread.c (read_escape): Add new reader `u'.
5354 * insdel.c (three_to_one_table): Don't define in UTF2000.
5355 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
5356 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5358 (bytind_to_bufpos_func): Likewise.
5359 (buffer_mule_signal_inserted_region): Likewise.
5360 (vars_of_insdel): Don't initialize `three_to_one_table'.
5361 (init_buffer_text): Use `buf->text->mule_size' instead of
5362 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5365 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
5366 UTF-8 representation in UTF2000.
5367 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
5368 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
5369 (decode_coding_iso2022): Don't define local variable `lb' in
5370 UTF2000; don't use LEADING_BYTE in UTF2000; use
5371 `DECODE_ADD_UCS_CHAR' in UTF2000.
5372 (convert_to_external_format): Decode as UTF-8 in UTF2000.
5374 * config.h.in (UTF2000): New macro.
5376 * buffer.h (struct buffer_text): Add new member `mule_size' and
5377 don't add `mule_shifter' and `mule_three_p' in UTF2000.
5378 (valid_char_p): Return always 1 in UTF2000.
5379 (MAX_EMCHAR_LEN): 6 in UTF2000.
5380 (three_to_one_table): Don't define in UTF2000.
5381 (real_bufpos_to_bytind): Modify for UTF-8 representation in
5383 (real_bytind_to_bufpos): Likewise.
5385 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
5387 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5389 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
5390 representation change.
5391 (Vutf_2000_version): New variable.
5392 (leading_code_private_11): New variable.
5393 (syms_of_mule_charset): Add new variables `utf-2000-version' and
5394 `leading-code-private-11'.
5396 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
5397 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
5398 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
5399 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
5400 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
5401 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
5402 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
5403 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
5404 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
5405 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
5406 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
5407 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
5408 (MIN_CHAR_GREEK): New macro.
5409 (MAX_CHAR_GREEK): New macro.
5410 (MIN_CHAR_CYRILLIC): New macro.
5411 (MAX_CHAR_CYRILLIC): New macro.
5412 (MIN_CHAR_HEBREW): New macro.
5413 (MAX_CHAR_HEBREW): New macro.
5414 (MIN_CHAR_THAI): New macro.
5415 (MAX_CHAR_THAI): New macro.
5416 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
5417 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
5418 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
5419 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
5420 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
5421 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
5422 (CHAR_FIELD2): New inline function.
5423 (CHAR_FIELD3): New inline function.
5424 (MULE_CHAR_PRIVATE_OFFSET): New macro.
5425 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
5426 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
5427 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
5428 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
5429 (MIN_CHAR_COMPOSITION): Likewise.
5430 (CHAR_LEADING_BYTE): Modified for character representation change.
5431 (MAKE_CHAR): Likewise.
5433 * lisp.h (Vcharset_latin_iso8859_1): New variable.
5434 (Vcharset_greek_iso8859_7): Likewise.
5435 (Vcharset_cyrillic_iso8859_5): Likewise.
5436 (Vcharset_hebrew_iso8859_8): Likewise.
5437 (Vcharset_thai_tis620): Likewise.
5438 (Vcharset_katakana_jisx0201): Likewise.
5440 2004-02-02 Vin Shelton <acs@xemacs.org>
5442 * XEmacs 21.4.15 is released
5444 2004-01-30 Glynn Clements <glynn.clements@virgin.net>
5446 * device-x.c (x_error_handler): Don't call stderr_out
5448 2003-11-07 Katsumi Yamaoka <yamaoka@jpl.org>
5450 * buffer.c (other-buffer): Clarify documentation of order of
5451 arguments for FSF Emacs.
5453 2003-10-11 Olivier Galibert <galibert@pobox.com>
5455 * window.c (Fdelete_window): Dirty the mirror structure _before_
5456 marking the window deleted.
5458 2003-09-15 Jerry James <james@xemacs.org>
5460 * event-msw.c (debug_mswin_messages): Conditionally compile
5461 messages missing from the Cygwin headers.
5463 2003-06-16 Stephen J. Turnbull <stephen@xemacs.org>
5465 * data.c (eq_with_ebola_notice): Fix typo in comment.
5466 (Ftrue_list_p): Improve docstring.
5468 2003-10-13 Stephen J. Turnbull <stephen@xemacs.org>
5470 * frame-x.c (x_update_frame_external_traits): Fix XtSetArg idiom.
5472 2003-09-27 Stephen J. Turnbull <stephen@xemacs.org>
5474 * search.c (trivial_regexp_p): Regexps containing "\{" are
5475 nontrivial. Thanks to Manfred Bartz for reporting the bug and
5476 Stefan Monnier for suggesting a diagnosis.
5478 2003-09-25 Stephen J. Turnbull <stephen@xemacs.org>
5480 * elhash.c (make-hash-table): Clarify use of :test #'equal.
5482 2003-09-12 Stephen J. Turnbull <stephen@xemacs.org>
5484 * search.c (Fsearch_forward):
5486 Document negative count.
5488 2003-09-13 Stephen J. Turnbull <stephen@xemacs.org>
5490 * regex.c (re_max_failures): Bump to 20000 for REGEX_MALLOC, too.
5492 2003-09-13 Martin Buchholz <martin@xemacs.org>
5494 * s/sol2.h: Use OS_RELEASE=os_release_major*100+os_release_minor
5496 2003-09-15 Vin Shelton <acs@xemacs.org>
5498 * .gdbinit (pobj): Remove Ilya's fix that was only intended for
5501 2003-09-12 Yoshiki Hayashi <yoshiki@xemacs.org>
5503 * regex.c (TRANSLATE_EXTENDED_UNSAFE): Remove.
5504 (re_search_2): Match the first byte of Bufbyte, not Emchar.
5505 (re_match_2_internal): Use TRANSLATE instead of
5506 TRANSLATE_EXTENDED_UNSAFE. The latter was a hack to bypass
5507 non-ASCII char case conversion.
5509 2003-09-08 Mike Sperber <mike@xemacs.org>
5511 * symbols.c (Fvariable_binding_locus): Add, as per suggestion from
5512 RMS at: http://article.gmane.org/gmane.emacs.pretest.bugs/1010
5514 2003-06-14 Ilya N. Golubev <gin@mo.msk.ru>
5516 * .gdbinit (pobj): fix printing of symbol name.
5518 2003-08-01 Ilya N. Golubev <gin@mo.msk.ru>
5520 * frame-x.c (x_layout_widgets): When resizing is about to cause
5521 frame size slip, mark it for redisplay.
5523 2003-08-18 Jerry James <james@xemacs.org>
5525 * opaque.h: Remove unused (X)OPAQUE_MARKFUN definitions.
5527 2003-09-03 Vin Shelton <acs@xemacs.org>
5529 * XEmacs 21.4.14 is released
5531 2003-08-15 Stephen J. Turnbull <stephen@xemacs.org>
5533 * config.h.in (REGEX_MALLOC): Make it configure'able.
5535 2003-08-14 Andrew Begel <abegel@CS.Berkeley.EDU>
5537 * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic
5539 * sysdll.c (dll_init):
5540 * sysdll.c (dll_open):
5541 * sysdll.c (dll_close):
5542 * sysdll.c (dll_function):
5543 * sysdll.c (dll_variable):
5544 * sysdll.c (dll_error):
5545 Add support for loading bundles using Darwin/MacOSX
5548 2003-08-12 Stephen J. Turnbull <stephen@xemacs.org>
5550 * process.c (start-process-internal): Document coding systems.
5552 2003-07-30 Jerry James <james@xemacs.org>
5554 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
5556 2003-07-31 René Kyllingstad <listmailxemacs@kyllingstad.com>
5558 * event-msw.c (mswindows_enqueue_mouse_button_event):
5559 * event-msw.c (mswindows_wnd_proc):
5560 enqueue button event when scrollwheel event isn't handled by
5561 mswindows_handle_mousewheel_event, such as when the scrollbars
5564 2003-07-29 Stephen J. Turnbull <stephen@xemacs.org>
5566 * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*.
5568 2003-03-24 Stephen J. Turnbull <stephen@xemacs.org>
5570 * database.c (Fopen_database): Don't use DB_AUTO_COMMIT.
5572 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org>
5574 * regex.c (re_match_2_internal): Fix matching degenerate word
5577 2003-05-25 XEmacs Build Bot <builds@cvs.xemacs.org>
5579 * XEmacs 21.4.13 is released
5581 2003-03-20 Stephen J. Turnbull <stephen@xemacs.org>
5583 * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H):
5584 * lisp.h (<inttypes.h>):
5585 Cygwin defines these types in <cygwin/types.h>. Don't duplicate
5588 2003-03-15 Martin Buchholz <martin@xemacs.org>
5590 * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file.
5591 Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs'
5592 Result: "temacs can only be run in -batch mode."
5593 Fix: Check xemacs executable candidate for directory-ness.
5595 2003-03-03 Robert Pluim <rpluim@bigfoot.com>
5597 * database.c: Don't use the u_int8_t etc typedefs on FreeBSD,
5598 they conflict with <sys/types.h>.
5600 2003-02-14 Martin Buchholz <martin@xemacs.org>
5602 * database.c: Berkeley DB wants __STDC__ to be defined.
5604 2003-02-13 Martin Buchholz <martin@xemacs.org>
5606 * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'.
5608 2003-02-01 Martin Buchholz <martin@xemacs.org>
5610 * process-unix.c (unix_send_process): Fix C++ compile error.
5612 2003-02-25 Andrew Begel <abegel@cs.berkeley.edu>
5614 * Added .dylib as an acceptable shared library file extension
5615 * to support MacOSX.
5617 2003-02-01 Martin Buchholz <martin@xemacs.org>
5619 * EmacsFrameP.h (EmacsFramePart):
5620 Kludge to allow compiling with Motif1, but linking with Motif2.
5622 2003-01-28 Martin Buchholz <martin@xemacs.org>
5624 * config.h.in (_ALL_SOURCE): Guard against multiple definition.
5627 2003-02-23 Stephen J. Turnbull <stephen@xemacs.org>
5629 * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin.
5631 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
5633 * sysdll.c: Included lisp.h to define needed alloca_array.
5635 2003-02-13 Martin Buchholz <martin@xemacs.org>
5637 Make XEmacs redisplay 10 times faster.
5638 If, that is, you're using a slow X connection and MoveOpaque.
5639 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
5640 Use compress_motion = TRUE.
5641 * EmacsFrame.c (emacsFrameClassRec):
5642 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
5643 * EmacsManager.c (emacsManagerClassRec):
5644 * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
5646 2003-01-30 Vin Shelton <acs@xemacs.org>
5648 * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux.
5650 2003-01-17 Stephen J. Turnbull <stephen@xemacs.org>
5652 * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef.
5653 Patch by Martin Buchholz.
5655 2003-01-16 Stephen J. Turnbull <stephen@xemacs.org>
5657 * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison.
5658 Thanks to icc for warning and Martin Buchholz for reporting.
5660 2003-01-29 Vin Shelton <acs@xemacs.org>
5662 Patch courtesy of Andrew Begel <abegel@cs.berkeley.edu>
5664 * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so
5665 remember to multiply by the element size.
5667 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
5669 * XEmacs 21.4.12 "Portable Code" is released.
5671 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
5673 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
5674 * s/cygwin.sc: new linker file.
5676 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
5678 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
5680 * redisplay-x.c (x_output_string): Use X11-specified types.
5681 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
5682 * emacs.c (__free_hook): Use typeof with Intel compiler.
5683 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
5685 2003-01-08 Andy Piper <andy@xemacs.org>
5687 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
5688 reserve size during unexec().
5690 2003-01-07 Daiki Ueno <daiki@xemacs.org>
5692 * process-unix.c (unix_create_process): Don't let outchannel block.
5694 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
5696 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
5697 Needed for IsBadReadPtr().
5699 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
5701 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
5703 2002-12-14 Ben Wing <ben@xemacs.org>
5705 * callint.c: Declaration error.
5707 * dumper.c (pdump_load): Warning fix.
5708 * process.c: GCPRO error.
5709 * glyphs.c (unmap_subwindow):
5710 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
5711 * event-stream.c (maybe_kbd_translate): Wrong argument to
5712 character_to_event().
5714 * alloc.c (garbage_collect_1):
5716 * emacs.c (debug_can_access_memory):
5717 * emacs.c (fatal_error_signal):
5718 * emacs.c (mswindows_handle_hardware_exceptions):
5721 * emacs.c (assert_failed):
5722 * emacs.c (syms_of_emacs):
5725 * print.c (std_handle_out_va):
5726 * print.c (write_string_to_stdio_stream):
5727 * print.c (write_fmt_string):
5728 * print.c (printing_badness):
5729 * print.c (printing_major_badness):
5730 * print.c (print_internal):
5731 * print.c (debug_print_no_newline):
5732 * print.c (debug_backtrace):
5733 Be more defensive in handling bad values when printing. Add code
5734 from trunk involving inhibit_non_essential_printing_operations.
5735 When going down or in debug_print(), don't do external conversion
5736 and such and try really, really hard when printing to avoid core
5737 dumping. Add force-debugging-signal, debug_break().
5739 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
5741 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
5742 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
5744 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
5746 * database.c: Fix open_database. Berkeley DB API has changed in
5747 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
5749 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
5751 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
5753 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
5755 * event-Xt.c (Xt_timeout):
5756 (Xt_timeout_callback):
5757 (emacs_Xt_add_timeout):
5758 (emacs_Xt_remove_timeout):
5759 (Xt_timeout_to_emacs_event):
5760 Turn completed_timeouts from a stack into a queue. Fixes
5761 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
5763 2002-11-07 Wolfram Gloger <wg@malloc.de>
5765 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
5766 * emacs.c (main): Assert that mmap'd allocation is disabled.
5768 2002-10-14 Andy Piper <andy@xemacs.org>
5770 * glyphs-widget.c (layout_query_geometry): add in fiddle
5771 factor. Include border text in width layout calculation.
5772 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
5774 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
5776 * XEmacs 21.4.10 "Military Intelligence" is released.
5778 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
5780 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
5781 using the NAS private array SoundFileInfo that no longer exists in
5782 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
5783 and earlier. This is broken for some versions between 1.5a and
5786 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
5788 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
5790 * emacs.c (shut_down_emacs): Improve crash message.
5792 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
5794 * file-coding.c (determine_real_coding_system): Check for coding
5795 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
5796 shebangs and Python PEP 263.
5798 2002-10-08 Andy Piper <andy@xemacs.org>
5800 * glyphs-widget.c (layout_query_geometry): only resize dynamically
5801 if static sizes haven't been set.
5803 2002-08-30 Mike Alexander <mta@arbortext.com>
5805 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
5808 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
5810 * callproc.c (child_setup): 21.4 doesn't have retry_close.
5812 2002-09-20 Mike Sperber <mike@xemacs.org>
5814 (This partially gets back my patch from 2002-07-20 without the
5816 * callproc.c (child_setup): Remove Ben's comment noting confusion
5817 over the file descriptors >= 3: close_process_descs() doesn't
5818 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
5819 * process-unix.c (unix_create_process): Call
5820 begin_dont_check_for_quit to inhibit unwanted interaction (and
5821 thus breaking of X event synchronicity) in the child.
5823 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
5825 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
5828 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
5830 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
5831 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
5832 the xemacs process did not exit, but looped infinitely here. This
5835 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
5837 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
5838 (find_context): Improve comments.
5840 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
5841 (re_match_2): An XCHAR_TABLE operation was missing.
5843 Many of the following changes were inspired by Andy Piper's (now
5844 obsolete) patch to make syntax-table text property lookup optional.
5848 * syntax.h (top level): Document semantics of syntax flags.
5849 * syntax.c (comstr_start, Fforward_comment): Improve comments.
5850 * syntax.c, syntax.h (top level): Document syntax cache better in
5853 [Instrument syntax caching (temporary change)]
5855 * syntax.h (enum syntax_cache_statistics_functions, struct
5856 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
5857 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
5858 * syntax.c (scan_words, Fforward_comment, scan_lists,
5859 Fbackward_prefix_characters):
5860 * font-lock.c (find_context):
5861 Use them to instrument syntax caching.
5862 * syntax.c (struct syntax_cache_statistics, scs_statistics,
5863 syntax_cache_statistics_function_names): New type and variables.
5864 * syntax.c (update_syntax_cache): Update and report statistics.
5866 [Major syntax cache optimizations]
5868 syntax.c (lookup_syntax_properties): Default off.
5870 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
5871 * syntax.c (update_syntax_cache):
5872 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
5874 [Minor syntax cache optimizations and code clarifications]
5876 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
5877 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
5878 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
5879 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
5880 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
5881 (Code clarification.)
5883 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
5884 scan_lists): Compute code from syncode, use Boolean macros instead
5885 of redundant masking operations. (Code clarification; any decent
5886 compiler can do this optimization.)
5888 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
5891 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
5892 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
5893 use F*_single_property_change instead of F*_extent_change.
5894 Currently F*_single_property_change is _much_ less efficient.
5896 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
5897 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
5898 syntax_cache.object properly, don't leave Qt or Qnil.
5899 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
5900 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
5901 tests for Qt or Qnil.
5903 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
5905 * redisplay.c (point_in_line_start_cache):
5906 * extents.c (print_extent_1):
5909 * extents.c (Fset_extent_property): Document `syntax-table' property.
5911 * extents.h (Fnext_single_property_change): EXFUN it.
5913 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
5915 * search.c (clear_unused_search_regs): New static function.
5919 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
5920 Minor clarifications in comments.
5922 * regex.c (re_match_2_internal): Ensure no stale submatches.
5924 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
5926 * event-Xt.c (enqueue_focus_event): Add missing prototype.
5928 2002-08-29 Jerry James <james@xemacs.org>
5930 * lisp.h: structrures -> structures.
5932 2002-06-03 Andy Piper <andy@xemacs.org>
5934 * frame.c (frame_conversion_internal): add conversion appropriate
5935 for setting frame dimensions in pixels.
5937 * console.h (struct console_methods): add device-specific widget
5940 * emacs.c (main_1): initialize glyph vars.
5942 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
5943 (handle_focus_event_2): new function. Allow focus to
5944 be set to a particular window and widget.
5945 (enqueue_focus_event): new function. Create a
5946 synthetic focus event.
5947 (emacs_Xt_handle_magic_event): call
5948 handle_focus_event_2.
5950 * frame.c (Fset_frame_pixel_height): new function. Allow
5951 pixel-based sizing. Does the right thing on character-oriented
5953 (Fset_frame_pixel_width): ditto.
5954 (Fset_frame_pixel_size): ditto.
5955 (syms_of_frame): declare.
5957 * general-slots.h: add :vertically-justify and
5958 :horizontally-justify.
5960 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
5961 (mswindows_widget_border_width): new function.
5962 (mswindows_combo_box_instantiate): set border widths.
5963 (console_type_create_glyphs_mswindows): declare.
5966 (check_valid_justification): allow vertical and horizontal
5968 (widget_border_width): new function. Call device methods.
5969 (widget_instance_border_width): ditto.
5970 (logical_unit_height): new function. Determine the height of a
5971 logical-unit. Logical units are intended to provide grid-like
5972 layout for subcontrols in a layout. If the layout is
5973 :vertically-justify top then subcontrols will be positioned on
5974 logical-unit boundaries, thus allowing adjacent subcontrols to
5976 (widget_logical_unit_height): ditto for widgets.
5977 (redisplay_widget): misc cleanup.
5978 (widget_spacing): new function. Call device specific
5979 methods. Intended to be the default gap between adjacent widgets.
5980 (widget_query_geometry): use new spacing functions to determine
5981 appropriate geometry.
5982 (initialize_widget_image_instance): initialize horizontal and
5983 vertical justification.
5984 (widget_instantiate): use logica-units where appropriate for
5985 sizing large widgets.
5986 (button_query_geometry): use widget_instance_border_width.
5987 (tree_view_query_geometry): ditto.
5988 (tab_control_query_geometry): ditto.
5989 (edit_field_query_geometry): new function.
5990 (layout_update): pick up :justify, :horizontally-justify and
5991 :vertically-justify none of which worked previously. :justify is
5992 used as a fallback for both horizontal and vertical justification.
5993 (layout_query_geometry): use logical units to size appropriately.
5994 (layout_layout): ditto.
5995 (Fwidget_logical_to_character_width): new function. Allow users to
5996 convert from logical units to characters so that frame sizes can
5997 be set appropriately.
5998 (Fwidget_logical_to_character_height): ditto.
5999 (syms_of_glyphs_widget): declare.
6000 (image_instantiator_edit_fields): add edit_field_query_geometry.
6001 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
6002 :horizontally-justify.
6003 (specifier_vars_of_glyphs_widget): new function. Declare
6004 Vwidget_border_width which is not yet used.
6006 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
6007 (x_widget_border_width): new function.
6008 (x_widget_instantiate): create a sensible name for widgets.
6009 (console_type_create_glyphs_x): declare x_widget_border_width.
6011 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
6012 (struct Lisp_Image_Instance): add :vertically-justify and
6013 :horizontally-justify.
6014 (LAYOUT_JUSTIFY_TOP): new.
6015 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
6016 (ROUND_UP): new macro. Round argument up to next integral
6019 * redisplay-output.c (redisplay_output_layout): misc formatting.
6021 * symsinit.h: declare specifier_vars_of_glyphs_widget.
6023 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
6025 * XEmacs 21.4.9 "Informed Management" is released.
6027 2002-08-19 Andy Piper <andy@xemacs.org>
6029 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
6032 * realpath.c (xrealpath): normalize drive spec also so that dir
6033 sep chars are not mixed on cygwin.
6035 2002-08-06 Jerry James <james@xemacs.org>
6037 * window.c (Fsplit_window): Count only half of the divider width
6038 against the left window when splitting horizontally.
6040 2002-06-24 Andy Piper <andy@xemacs.org>
6042 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
6043 toolbar was cleared.
6045 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
6046 function. Split out from mswindows_output_frame_toolbars.
6047 (mswindows_output_frame_toolbars): move clear pieces to
6048 mswindows_output_frame_toolbars.
6050 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
6051 out from gtk_output_frame_toolbars.
6052 (gtk_output_frame_toolbars): move clear pieces to
6053 gtk_clear_frame_toolbars.
6055 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
6056 the frame is cleared. How this ever worked before is a mystery.
6057 (x_output_frame_toolbars): Only output toolbars.
6058 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
6060 * gutter.c (update_gutter_geometry):
6061 Mark frame layout changed.
6062 (update_frame_gutter_geometry, update_frame_gutters):
6063 Respect frame_layout_changed.
6065 * console.h (struct console_methods): add
6066 clear_frame_toolbars_method.
6068 * redisplay.c (redisplay_frame): call
6069 update_frame_toolbars_geometry and re-order update_frame_toolbars.
6071 * toolbar.h: declare update_frame_toolbars_geometry.
6073 * toolbar.c (update_frame_toolbars_geometry): new function. Split
6074 out from update_frame_toolbars. Call clear_frame_toolbars.
6075 (update_frame_toolbars): only output, do not change geometry.
6077 * redisplay.c: add frame_layout_changed.
6079 * redisplay.h: add frame_layout_changed.
6080 (CLASS_RESET_CHANGED_FLAGS): set it.
6081 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
6082 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
6083 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
6085 * device.h (struct device): add frame_layout_changed.
6086 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
6088 * frame.h (struct frame): add frame_layout_changed.
6089 (MARK_FRAME_LAYOUT_CHANGED): new.
6091 2002-06-30 Mike Alexander <mta@arbortext.com>
6093 * event-msw.c (mswindows_need_event): Don't wait for a new message
6094 if the queue is not empty. Suggested by Paul Moore.
6096 2002-06-12 Andy Piper <andy@xemacs.org>
6098 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
6099 for printing on accurately.
6101 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
6103 * event-msw.c (mswindows_wnd_proc): Add a handler for the
6104 WM_ACTIVATE message. Make sure that the frame is visible if the
6105 window is visible. This seemss to fix the problem where XEmacs
6106 appears to freeze after switching desktops with certain virtual
6108 (debug_output_mswin_message): Added code to output message
6109 parameters for WM_WINDOWPOSCHANGED,
6110 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
6112 2002-05-25 Andy Piper <andy@xemacs.org>
6114 * select-x.c (vars_of_select_x): Fix docstring of
6115 x-selection-strict-motif-ownership
6117 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6119 * keymap.c (get_keymap):
6120 Add comment about do_autoload GCPROs own args.
6122 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6124 * bytecode.c (execute_optimized_program): check_opcode ifdef
6125 ERROR_CHECK_BYTE_CODE.
6127 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6129 Thanks to Ben Wing and Michael Sperber.
6131 * eval.c (Fcommand_execute):
6134 (Fmacroexpand_internal):
6135 (function_argcount):
6136 callint.c (Fcall_interactively):
6137 Add comment about do_autoload GCPROs own args.
6139 * (do_autoload): GCPRO both args as well as local Lisp_Object.
6141 * eval.c (Ffuncall): Extra braces to placate GCC.
6143 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
6145 * backtrace.h (grow_specpdl):
6147 * EmacsFrame.c (EmacsFrameSetValues):
6148 * eval.c (grow_specpdl):
6149 * ExternalShell.c (hack_event_masks_1):
6150 * glyphs-x.c (convert_EImage_to_XImage):
6151 (x_finalize_image_instance):
6152 * ralloc.c (page_size):
6154 * xgccache.c (gc_cache_hash):
6155 Fix unsigned comparison warnings.
6157 2002-07-29 Jerry James <james@xemacs.org>
6159 * lread.c (locate_file): Any nonnegative return value indicates
6160 success if MODE is nonnegative.
6162 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
6164 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
6167 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
6169 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
6171 * dumper.c (pdump_get_indirect_count):
6172 (pdump_scan_by_alignment):
6173 (pdump_dump_root_struct_ptrs):
6174 (pdump_dump_rtables):
6175 (pdump_dump_root_objects):
6177 * nas.c (WaveOpenDataForReading):
6178 * fns.c (print_bit_vector):
6179 * font-lock.c (SINGLE_SYNTAX_STYLE):
6180 * glyphs.c (check_for_ignored_expose):
6181 (find_matching_subwindow):
6183 * imgproc.c (get_histogram):
6184 * redisplay.c (point_in_line_start_cache):
6185 * redisplay-output.c (redisplay_unmap_subwindows):
6186 * symbols.c (defsymbol_massage_name_1):
6187 (defkeyword_massage_name):
6188 (deferror_massage_name_and_message):
6189 * redisplay-x.c (x_output_string):
6190 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
6191 * frame.h (struct frame):
6192 * filelock.c (current_lock_owner):
6193 * doprnt.c (emacs_doprnt_1):
6194 * lisp.h (struct Lisp_Bit_Vector):
6198 2002-02-13 Ben Wing <ben@xemacs.org>
6200 * event-stream.c (reset_key_echo):
6201 * event-stream.c (reset_this_command_keys):
6202 * event-stream.c (execute_command_event):
6203 If console is dead as a result of C-x 5 0, then post-command stuff
6204 needs to be careful and do only non-console-specific stuff.
6206 2002-07-01 Mike Sperber <mike@xemacs.org>
6208 * process-unix.c (unix_send_process): Mark coding_outstream as
6209 non-open upon SIGPIPE.
6211 * event-stream.c (Fnext_event): Reorder switch cases to something
6214 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
6216 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
6217 Don't bogusly reinitialize ascii_character property.
6219 2002-07-08 Mike Sperber <mike@xemacs.org>
6221 * process.c (Fstart_process_internal): Do error checking before we
6222 fork off the child, so the child can't muck with the state of the
6225 2002-07-08 Mike Sperber <mike@xemacs.org>
6227 * ralloc.c (init_ralloc): Allocate properly for pdump.
6229 2002-06-12 Andy Piper <andy@xemacs.org>
6231 * glyphs.c (query_string_geometry): check the string.
6233 * glyphs-widget.c (widget_logical_unit_height): cope with nil
6236 2002-06-17 Jerry James <james@xemacs.org>
6238 * sysdll.c: Remove RTLD_GLOBAL initialization.
6239 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
6241 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
6243 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
6245 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
6247 * sysdep.c (sys_rename): Make sys_rename work for the case where
6248 Windows rename sets errno to EACCES if target file exists.
6250 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
6252 * device-msw.c (mswindows_handle_page_setup_dialog_box):
6253 Fix detection of metric units to work on Win95
6255 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
6257 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
6259 2002-04-25 Andy Piper <andy@xemacs.org>
6261 * redisplay.c (create_text_block): Remove extra comment trailer.
6263 2002-04-24 Andy Piper <andy@xemacs.org>
6265 * redisplay.c (create_text_block): Don't actually add propagation
6266 data if the line ends after we have added a glyph.
6268 2002-04-22 Andy Piper <andy@xemacs.org>
6270 * extents.c (extent_fragment_update): check for glyphs we have
6271 previously displayed.
6272 * extents.c (print_extent_1): warning removal.
6273 * extents.h: change prototype.
6274 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
6275 widths correctly for wide glyphs.
6276 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
6277 * redisplay.c (prop_type): add PROP_GLYPH.
6278 * redisplay.c (struct prop_block): add glyph type
6279 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
6280 to the propagation data.
6281 * redisplay.c (create_text_block): if there is a glyph in the
6282 propagation data use it to salt extent_fragment_update.
6283 * redisplay.c (create_string_text_block): ditto.
6285 2002-04-13 Nix <nix@esperi.demon.co.uk>
6287 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
6288 * redisplay-output.c (compare_runes): Compare them.
6289 * redisplay.c: Update copyright date.
6290 * redisplay.c (pos_data): Add need_baseline_computation field.
6291 * redisplay.c (add_glyph_rune): Update ascent, descent, and
6292 need_baseline_computation; zero yoffset. Set max_pixmap_height
6293 for all pixmaps, not just automatically positioned ones.
6294 * redisplay.c (calculate_yoffset): New, compute yoffset values.
6295 * redisplay.c (calculate_baseline): New, compute textual baseline.
6296 * redisplay.c (add_glyph_rune): Call them.
6297 * redisplay.c (create_text_block): Likewise.
6298 * redisplay.c (create_overlay_glyph_block): Likewise.
6299 * redisplay.c (add_margin_runes): Likewise.
6300 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
6302 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
6303 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
6304 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
6305 * redisplay-msw.c (mswindows_output_string): Likewise.
6306 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
6307 * redisplay-gtk.c (gtk_output_display_block): Likewise.
6308 * redisplay-x.c (x_output_display_block): Likewise.
6310 2002-03-28 Ben Wing <ben@xemacs.org>
6312 * redisplay.c: Fixed bug in redisplay
6313 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
6314 and down of the lines, since they're bigger than the line
6315 size. (It was seen most obviously when there's a horizontal scroll
6316 bar, e.g. do C-h a glyph or something like that.) The problem was
6317 that the glyph-contrib-p setting on glyphs was ignored even if it
6318 was set properly, which it wasn't until now.
6320 2002-04-24 Andy Piper <andy@xemacs.org>
6322 * lisp.h (Dynarr_end): Fix definition.
6324 2002-02-06 Adrian Aichner <adrian@xemacs.org>
6326 * redisplay.c (mark_redisplay): Remove call to
6327 update_frame_window_mirror.
6329 2001-11-15 Andy Piper <andy@xemacs.org>
6331 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
6334 2002-02-13 Andy Piper <andy@xemacs.org>
6336 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
6337 we did in fact enqueue the XM_MAPFRAME event.
6339 2002-01-15 Adrian Aichner <adrian@xemacs.org>
6341 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
6342 to fix problem switching between virtual desktops under virtuawin
6343 virtual window manager.
6345 2001-07-30 Adrian Aichner <adrian@xemacs.org>
6347 * event-msw.c: Typo fix.
6348 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
6349 magic XM_MAPFRAME event has been sent.
6351 2001-11-23 Andy Piper <andy@xemacs.org>
6353 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
6355 2001-11-21 Andy Piper <andy@xemacs.org>
6357 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
6358 mouse events outside the frame.
6360 2002-03-20 Andy Piper <andy@xemacs.org>
6362 * menubar-msw.c (mswindows_popup_menu): warning removal.
6363 * dialog-msw.c (dialog_popped_down): ditto.
6365 2001-12-11 Andy Piper <andy@xemacs.org>
6367 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
6368 * dialog-msw.c (mswindows_make_dialog_box_internal): set
6370 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
6371 * menubar-msw.c (mswindows_handle_wm_command): ditto.
6372 * menubar-msw.c (mswindows_popup_menu): ditto.
6374 2001-10-29 Andy Piper <andy@xemacs.org>
6376 * dialog-msw.c (handle_directory_dialog_box): quit if the user
6379 2002-01-03 Andy Piper <andy@xemacs.org>
6381 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
6385 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
6387 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
6388 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
6389 * device-msw.c (mswindows_handle_page_setup_dialog_box):
6390 Detect and handle case where machine is set up for metric units
6392 2002-04-02 Andy Piper <andy@xemacs.org>
6394 * dired-msw.c (mswindows_get_files):
6395 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
6396 completely handled by XEmacs. Suggested by Thomas Vogler
6397 <mail@thomas-vogler.de>.
6399 2001-11-14 Andy Piper <andy@xemacs.org>
6401 * nt.c (REG_ROOT): change registry key to XEmacs.
6403 2002-04-27 Andy Piper <andy@xemacs.org>
6405 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
6407 2002-04-26 Andy Piper <andy@xemacs.org>
6409 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
6412 2002-03-14 Mike Alexander <mta@arbortext.com>
6414 * event-msw.c (mswindows_unwait_process): New, remove process from
6416 * process-nt.c (nt_finalize_process_data): Call
6417 mswindows_unwait_process
6418 * console-msw.h: Declare mswindows_unwait_process
6420 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
6422 * editfns.c (Fdecode_time):
6423 (Fformat_time_string):
6424 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
6425 (make_time): Warning elimination (change arg name).
6427 2001-11-24 Andy Piper <andy@xemacs.org>
6429 * window.c (Fsplit_window): Doc return type.
6431 2002-04-01 Andy Piper <andy@xemacs.org>
6433 * emacs.c (Fkill_emacs): Only output message box in interactive
6436 2002-04-26 Andy Piper <andy@xemacs.org>
6438 * config.h.in: pull in 21.5.x change to stop alloca warnings under
6441 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
6443 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
6446 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
6448 * XEmacs 21.4.8 "Honest Recruiter" is released.
6450 2002-05-07 Nix <nix@esperi.demon.co.uk>
6452 Supersedes 2002-04-17 patch.
6454 * process.h (PROCESS_LIVE_P): Use the process status as
6455 evidence of health, not the state of the input stream.
6456 (PROCESS_READABLE_P): Say if the process is readable
6457 from. (It may be dead nonetheless.)
6458 (CHECK_READABLE_PROCESS): Test for that condition.
6460 * process.c (create_process): Use PROCESS_READABLE_P.
6461 (read_process_output, set_process_filter): Likewise.
6463 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
6464 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
6466 This code is #if 0'd, this is not the time to add new functions:
6468 * process.c (Fprocess_readable_p): Report readability status.
6469 * process.c (Qprocess_readable_p): New, associated symbol...
6470 * process.c (syms_of_process): ... initialize it.
6472 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
6474 * XEmacs 21.4.7 "Economic Science" is released.
6476 2002-04-17 Nix <nix@esperi.demon.co.uk>
6478 * process.h (PROCESS_LIVE_P): Use the process status as
6479 evidence of health, not the state of the input stream.
6481 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
6483 * sysdep.c (sys_siglist): change "signum" to "signal"
6485 2001-04-21 Martin Buchholz <martin@xemacs.org>
6487 * s/darwin.h: New file.
6488 Thanks to Greg Parker <gparker@cs.stanford.edu>.
6490 2002-04-23 Andreas Jaeger <aj@suse.de>
6492 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
6493 which use lib64 for 64-bit libs.
6494 (START_FILES): Likewise.
6496 2002-02-11 Mike Sperber <mike@xemacs.org>
6499 (x_IO_error_handler):
6500 (x_init_device): Temporarily keep device in static variable
6501 `device_being_initialized' so we can recover gracefully from
6502 internal XOpenDevice failure. (XOpenDevice is documented to
6503 return NULL on failure, but sometimes calls the IO error handler
6506 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
6508 * dired.c (Ffile_name_all_completions): Change documentation --
6509 remove reference to completion-ignored-extensions.
6510 * dired.c (vars_of_dired): Change documentation for
6511 completion-ignored-extensions -- remove reference to
6512 file-name-all-completions.
6514 2002-03-06 Jerry James <james@xemacs.org>
6516 * emodules.c (emodules_load): Fix multiple loading of same module.
6518 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
6519 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
6520 RTLD_LAZY to avoid incorrect symbol binding when using nested
6521 shared libraries on Solaris.
6523 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
6525 * fileio.c (Ffind_file_name_handler): Improve docstring.
6527 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
6529 * fns.c (Fmapconcat): Improve docstring.
6531 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
6533 * device-gtk.c: Add prototype for
6534 emacs_gtk_selection_clear_event_handle.
6535 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
6536 selection. Setup signal handler for "selection_clear_event"
6537 (emacs_gtk_selection_clear_event_handle).
6539 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
6540 other applications owning the clipboard (based on
6541 x_handle_selection_clear).
6543 2001-12-23 William M. Perry <wmperry@gnu.org>
6545 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
6547 2002-01-04 Martin Buchholz <martin@xemacs.org>
6549 * keymap.c (define_key_alternate_name): Parenthesize EQ.
6551 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
6553 * XEmacs 21.4.6 "Common Lisp" is released.
6555 2001-12-16 Torsten Duwe <duwe@caldera.de>
6557 * search.c (Freplace_match): Add missing sub-expression functionality.
6559 * buffer.c (decode_buffer): Add a check for pointer type to
6560 decode_buffer, before gcc's CSE optimization reorders a
6561 dereference in front of the allow_string test.
6563 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
6565 * window.c (window_loop): Fix bug that sometimes prevented
6566 window_loop() from iterating across multiple devices. Also, at
6567 Ben's request, changed infloop-detecting code to abort() instead
6568 of silently terminating window_loop().
6570 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
6572 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
6573 * editfns.c (make_time): New function.
6574 (Fencode_time): Use it instead of wasteful_word_to_lisp.
6575 * lisp.h (make_time): Prototype and comment it.
6576 * dired.c (wasteful_word_to_lisp): Deprecate.
6577 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
6579 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
6581 * fileio.c (auto_save_1): Use current coding system, not
6584 2001-11-13 Ben Wing <ben@xemacs.org>
6587 * window.c (window_truncation_on):
6588 * window.c (syms_of_window):
6589 truncate-partial-width-windows should respect the buffer being
6590 displayed, like other redisplay vars.
6592 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
6594 * event-stream.c (Fread_key_sequence): save current buffer.
6596 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
6598 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
6600 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
6602 * alloc.c (lcrecord_stats): Add space for types defined in modules.
6604 2001-10-26 Mike Alexander <mta@arbortext.com>
6606 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
6608 2001-10-25 Andy Piper <andy@xemacs.org>
6611 * dialog-msw.c (handle_directory_proc): new function.
6612 (handle_directory_dialog_box): new fucntion.
6613 (handle_file_dialog_box): use new directory dialog support.
6614 (mswindows_make_dialog_box_internal): ditto.
6615 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
6617 (mswindows_find_frame): make global.
6618 * fileio.c (Fexpand_file_name): build fix.
6619 * general-slots.h: add Qdirectory.
6620 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
6622 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
6623 cygwin not leaving win32 paths unchanged.
6624 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
6625 cygwin runtime to do path conversion.
6626 (Fmswindows_shell_execute): fix cygwin handling of URLs.
6627 (syms_of_win32): add new function.
6628 * window.c (window_loop): build fix.
6630 2001-10-15 Andy Piper <andy@xemacs.org>
6632 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
6634 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
6636 * XEmacs 21.4.5 "Civil Service" is released.
6638 2001-04-08 Danny Colascione <qtmstr@optonline.net>
6640 * glyphs-x.c: Force buffer-tab highlight update when moving the
6641 buffer, avoiding an ugly black border, used for keyboard focus
6642 indication, on a widget that can never have keyboard focus, the
6645 2001-08-30 Daiki Ueno <ueno@unixuser.org>
6647 * process-unix.c (unix_open_multicast_group): Remove too much
6648 conversion between host and network byte order.
6650 2001-09-10 Nix <nix@esperi.demon.co.uk>
6652 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
6653 before replacing them.
6655 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
6658 * src/window.c (undedicate_windows): Use it.
6659 * src/window.h: Add prototype.
6661 2001-09-17 Ben Wing <ben@xemacs.org>
6663 * fileio.c (normalize_filename):
6664 * fileio.c (Fexpand_file_name):
6665 Fix various C++ compile errors in Andy's recent code.
6667 * callint.c (Fcall_interactively):
6668 * editfns.c (Ftemp_directory):
6669 * editfns.c (Fuser_full_name):
6670 * emacs.c (argmatch):
6671 * lread.c (locate_file_map_suffixes):
6672 * redisplay-x.c (x_ring_bell):
6673 Fix sign-compare warnings.
6675 2001-09-08 Andy Piper <andy@xemacs.org>
6677 * fileio.c (normalize_filename): copied from nt.c
6678 * (Ffile_name_directory): enable win32 paths under cygwin.
6679 * (Ffile_name_nondirectory): ditto.
6680 * (directory_file_name): ditto.
6681 * (Fexpand_file_name): ditto.
6682 * (Ffile_truename): ditto.
6683 * (Fsubstitute_in_file_name): ditto.
6684 * (Ffile_name_absolute_p): ditto.
6685 * (Ffile_readable_p): ditto.
6687 2001-09-08 Andy Piper <andy@xemacs.org>
6689 * device-msw.c (mswindows_finish_init_device): remove dde
6691 * device-msw.c (mswindows_init_dde): factor out from
6692 mswindows_finish_init_device()
6693 * device-msw.c (init_mswindows_very_early): new function
6694 initialize but don't enable dde.
6695 * emacs.c (main_1): call init_mswindows_very_early.
6697 * event-msw.c (mswindows_dde_callback): only execute when we are
6699 * symsinit.h: declare init_mswindows_very_early.
6701 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6703 [sjt: This has been in 21.5 for months with no complaints.]
6705 * console.h (struct console_methods): Added flags member.
6706 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
6707 (CONMETH_IMPL_FLAG):
6708 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
6709 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
6711 * device.c (window_system_pixelated_geometry): Use the above macros.
6713 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
6714 implememntation flag.
6715 * device.h (DEVICE_DISPLAY_P): Use it.
6717 * frame.c (delete_frame_internal): Use the above macro.
6719 * redisplay.c (redisplay_device): Use it.
6720 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
6721 (redisplay_frame): Ditto.
6723 * device-msw.c (mswindows_device_implementation_flags): Removed.
6724 (msprinter_device_implementation_flags): Removed.
6725 (console_type_create_device_mswindows): Removed references to
6726 implementation_flags methods, set implementation flags here.
6727 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
6729 * device-gtk.c (gtk_device_implementation_flags): Removed method.
6730 (console_type_create_device_gtk): Removed method declaration.
6731 Added commented out statement which semantically matches the
6732 commented out statement in the above removed method.
6734 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
6736 The attached patch fixes a few warnings.
6738 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
6739 * src/frame-gtk.c: guard against GNOME calls in GTK only
6740 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
6741 * src/select-gtk.c: prototype lisp_to_time
6743 2001-06-08 Ben Wing <ben@xemacs.org>
6745 ------ gc-in-window-procedure fixes ------
6748 * alloc.c (struct post_gc_action):
6749 * alloc.c (register_post_gc_action):
6750 * alloc.c (run_post_gc_actions):
6751 * alloc.c (garbage_collect_1):
6752 Create "post-gc actions", to avoid those dreaded "GC during window
6753 procedure" problems.
6756 Abort, clean and simple, when GC in window procedure. We want
6757 to flush these puppies out.
6760 * glyphs-msw.c (finalize_destroy_window):
6761 * glyphs-msw.c (mswindows_finalize_image_instance):
6762 Use a post-gc action when destroying subwindows.
6765 Declare register_post_gc_action().
6768 * scrollbar-msw.c (unshow_that_mofo):
6769 Use a post-gc action when unshowing scrollbar windows, if in gc.
6771 * redisplay.c (mark_redisplay):
6772 Add comment about the utter evilness of what's going down here.
6774 ------ cygwin setitimer fixes ------
6776 * Makefile.in.in (sheap_objs):
6777 * Makefile.in.in (profile_objs):
6778 * Makefile.in.in (objs):
6779 Compile profile.c only when HAVE_SETITIMER.
6781 * nt.c (mswindows_sigset):
6782 * nt.c (mswindows_sighold):
6783 * nt.c (mswindows_sigrelse):
6784 * nt.c (mswindows_sigpause):
6785 * nt.c (mswindows_raise):
6786 * nt.c (close_file_data):
6790 Move setitimer() emulation to win32.c, because Cygwin needs it too.
6793 * profile.c (Fstart_profiling):
6794 * profile.c (Fstop_profiling):
6795 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
6796 instead of just plain setitimer().
6799 * signal.c (set_one_shot_timer):
6801 Define qxe_setitimer() as an encapsulation around setitimer() --
6802 call setitimer() directly unless Cygwin or MS Win, in which case
6803 we use our simulated version in win32.c.
6806 * systime.h (struct itimerval):
6807 * systime.h (ITIMER_REAL):
6808 Prototype mswindows_setitimer() and qxe_setitimer(). Long
6809 comment about "qxe" and the policy regarding encapsulation.
6812 * win32.c (setitimer_helper_proc):
6813 * win32.c (setitimer_helper_period):
6814 * win32.c (setitimer_helper):
6815 * win32.c (mswindows_setitimer):
6816 Move setitimer() emulation here, so Cygwin can use it.
6817 Rename a couple of functions and variables to be longer and more
6818 descriptive. In setitimer_helper_proc(), send the signal
6819 using either mswindows_raise() or (on Cygwin) kill(). If for
6820 some reason we are still getting lockups, we'll change the kill()
6821 to directly invoke the signal handlers.
6823 ------ windows shell fixes ------
6827 Comments about how these two files must die.
6829 * callproc.c (init_callproc):
6830 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
6831 not just COMSPEC. (more correct and closer to FSF.) Don't
6832 force a value for SHELL into the environment. (Comments added
6833 to explain why not.)
6835 * nt.c (init_user_info):
6836 Don't shove a fabricated SHELL into the environment. See above.
6838 2001-06-01 Ben Wing <ben@xemacs.org>
6840 * Makefile.in.in (ldflags):
6841 eliminate that pesky "defaulting to 00401000" warning.
6845 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
6847 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
6848 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
6850 2001-04-24 Jerry James <james@xemacs.org>
6852 * faces.h: pass parameters to Fadd_spec_to_specifier in the
6855 2001-06-01 Ben Wing <ben@xemacs.org>
6857 * event-msw.c (debug_mswin_messages):
6858 conditionalize the messages that were causing compile errors.
6859 (if only macros could generate #ifdef statements ...)
6861 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
6863 * XEmacs 21.4.4 "Artificial Intelligence" is released.
6865 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
6867 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
6869 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
6871 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
6872 * process-unix.c (unix_canonicalize_host_name):
6873 sysdep.c (init_system_name):
6874 Use it to conditionally support IPv6 canonicalization.
6876 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
6879 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
6881 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
6883 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
6884 attempt is made to scroll when no scroll bar is available.
6886 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
6888 * input-method-motif.c (XIM_delete_frame): New callback.
6889 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
6890 got deleted from 21.4.3.)
6892 2001-06-01 Ben Wing <ben@xemacs.org>
6894 * nt.c (mswindows_utime):
6895 * nt.c (close_file_data):
6896 fix off-by-one-indirection error.
6898 2001-05-29 Adrian Aichner <adrian@xemacs.org>
6900 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
6901 because set_file_times() now takes Lisp_Object path, instead of
6903 * nt.c: Include buffer.h.
6904 * nt.c (convert_from_time_t): New.
6905 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
6906 not set mtime correctly.
6907 * nt.h: Declare mswindows_utime().
6908 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
6909 path, instead of char*.
6910 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
6912 2001-05-30 Ben Wing <ben@xemacs.org>
6916 (Stephen, just take all event-msw.c patches. This includes
6917 the "iconify" fix below.)
6920 * event-msw.c (mswindows_dequeue_dispatch_event):
6921 * event-msw.c (assert):
6922 * event-msw.c (emacs_mswindows_quit_p):
6923 * event-msw.c (debug_mswin_messages):
6924 * event-msw.c (debug_output_mswin_message):
6925 * event-msw.c (vars_of_event_mswindows):
6926 Fix yet more problems with C-g handling.
6927 Implement debug-mswindows-events.
6929 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6931 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
6933 2001-05-23 Ben Wing <ben@xemacs.org>
6935 * event-msw.c (winsock_writer):
6936 * event-msw.c (winsock_closer):
6937 prior kludgy code was clobbering the buffer, thinking it was
6938 "unused" space to store an unneeded return value; instead, use
6939 the variable we've already got staring us in the face.
6941 2001-05-17 Andy Piper <andy@xemacs.org>
6943 * sysfile.h: don't assume that file attributes are boolean
6945 2001-05-23 Ben Wing <ben@xemacs.org>
6947 * device-msw.c (msprinter_init_device):
6948 signal an error rather than crash with an unavailable network
6949 printer (from Mike Alexander).
6952 * event-msw.c (struct winsock_stream):
6953 * event-msw.c (winsock_writer):
6954 * event-msw.c (winsock_closer):
6955 * event-msw.c (make_winsock_stream_1):
6956 cleanup headers. fix (hopefully) an error with data corruption
6957 when sending to a network connection.
6959 * fileio.c (Fexpand_file_name): Fix evil code that attempts
6960 to handle the ~user prefix by (a) always assuming we're referencing
6961 ourselves and not even verifying the user -- hence any file with
6962 a tilde as its first char is invalid! (b) if there wasn't a slash
6963 following the filename, the pointer was set *past* the end of
6964 file and we started reading from uninitialized memory. Now we
6965 simply treat these as files, always.
6967 * buffer.c (common_init_complex_vars_of_buffer): comment change.
6969 2001-05-19 Ben Wing <ben@xemacs.org>
6971 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
6974 * process-nt.c (vars_of_process_nt):
6975 remove unused mswindows-quote-process-args. rec for 21.4.
6977 2001-05-12 Ben Wing <ben@xemacs.org>
6979 * event-msw.c (mswindows_dde_callback):
6980 * event-msw.c (mswindows_wnd_proc):
6981 eliminate cygwin warnings.
6983 2001-05-06 Ben Wing <ben@xemacs.org>
6987 * device-msw.c (print_dialog_worker):
6988 * device-msw.c (mswindows_handle_print_dialog_box):
6989 * device-msw.c (syms_of_device_mswindows):
6990 * dialog-msw.c (mswindows_make_dialog_box_internal):
6992 implement printing the selection when it's selected.
6994 2001-05-20 Drazen Kacar <dave@arsdigita.com>
6996 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
6998 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
7000 * lisp.h (EMACS_INT_MAX): This should be one bit less since
7001 EMACS_INT is signed.
7003 2001-04-15 Michael Lausch <mla@1012surf.net>
7005 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
7006 gtk_widget_request_size() to give scrollbar >0 width for
7009 2001-05-30 William M. Perry <wmperry@gnu.org>
7011 * event-gtk.c: Check for buttons as modifier keys.
7013 2001-05-25 Craig Lanning <CraigL@Knology.net>
7016 Properly find MinGW's <process.h> inside Cygwin's restructured
7017 include directories. Don't try to include <cygwin/version.h>
7018 since we are dropping support for MinGW in versions of Cygwin
7021 Drop support for MinGW in versions of Cygwin before b21.
7023 Properly find MinGW's <process.h> inside Cygwin's restructured
7024 include directories.
7026 Drop support for MinGW in versions of Cygwin before b21.
7028 Even though a.out.h is no longer detected by configure, allow
7029 MinGW to use it until we figure out how to do the job with Win32.
7031 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
7033 * syntax.c (find_start_of_comment):
7034 Fix `unbalanced parentheses' bug when dealing with mixed comment
7035 styles in c++/java/etc. mode
7037 2001-05-29 Mike Alexander <mta@arbortext.com>
7039 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
7040 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
7042 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
7044 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
7046 2001-03-31 Mike Sperber <mike@xemacs.org>
7048 * search.c (Freplace_match): Support FSF-style specification of
7049 match subexpression when applied to a buffer.
7051 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
7053 * event-stream.c (is_scrollbar_event): add missing semicolon
7055 2001-05-22 Isaac Hollander <ysh@mindspring.com>
7057 * Makefile.in.in: Use TAR macro instead of hardcoding
7058 tar. Allows use of GNU tar instead of system tar
7060 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
7062 * event-stream.c (is_scrollbar_event): add missing semicolon
7064 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
7066 * XEmacs 21.4.3 "Academic Rigor" is released.
7068 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
7070 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
7072 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
7074 * buffer.c (Vcase_fold_search): Remove obsolete
7075 comment about non ASCII case-fold-search. This
7076 bug has been fixed by case-table changes.
7078 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
7080 * event-msw.c: Restore include of events-mod.h.
7082 2001-04-22 zhaoway <zw@debian.org>
7084 * event-stream.c (is_scrollbar_event): Noop returning 0 if
7087 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
7089 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
7091 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
7093 * mule-charset.c (Fmake_charset): Add missing else.
7095 2001-04-23 Ben Wing <ben@xemacs.org>
7097 * event-msw.c (FAKE_MOD_QUIT):
7098 * event-msw.c (mswindows_dequeue_dispatch_event):
7099 * event-msw.c (mswindows_wnd_proc):
7100 * event-msw.c (emacs_mswindows_quit_p):
7101 Get critical quit working.
7103 2001-05-05 Ben Wing <ben@xemacs.org>
7107 * device-msw.c (mswindows_get_default_margin):
7108 * frame-msw.c (mswindows_size_frame_internal):
7109 * frame-msw.c (msprinter_init_frame_1):
7110 * frame-msw.c (vars_of_frame_mswindows):
7111 Change top/bottom margin defaults to 0.5 inches.
7113 2001-05-01 Martin Buchholz <martin@xemacs.org>
7115 Fix link error with gcc 3.0 on Linux.
7116 * terminfo.c (UP): Remove.
7117 * terminfo.c (BC): Remove.
7118 * terminfo.c (PC): Remove.
7119 They weren't used, and in any case, these symbols should be
7120 defined in the *library*.
7122 2001-05-03 Martin Buchholz <martin@xemacs.org>
7124 * s/aix4.h: Fix crash with xlc -O3.
7125 Improve comment explaining how -O3 works.
7127 2001-04-15 Ben Wing <ben@xemacs.org>
7130 * event-stream.c (Fnext_event):
7131 * event-stream.c (is_scrollbar_event):
7132 * event-stream.c (execute_command_event):
7133 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
7134 crash' problem. His fix introduces other problems. We filter
7135 out scrollbar events specifically, making them somewhat invisible
7136 to command-building, and not appearing in `this-command-keys'.
7137 More work is still needed (see comments in event-stream.c), but
7138 this fixes all the major problems.
7140 2001-04-20 Ben Wing <ben@xemacs.org>
7142 * .cvsignore: Added stuff for Windows.
7144 2001-04-28 Ben Wing <ben@xemacs.org>
7146 * buffer.c (Ferase_buffer):
7147 * editfns.c (buffer_insert1):
7148 * editfns.c (Finsert_before_markers):
7149 * editfns.c (Finsert_string):
7150 * editfns.c (Finsert_char):
7151 * editfns.c (Fdelete_region):
7152 * editfns.c (Fwiden):
7153 * editfns.c (Fnarrow_to_region):
7154 remove bogus lines setting zmacs_region_stays to 0.
7156 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
7158 * process-unix.c (unix_open_network_stream): If connect() fails
7159 invalidate file descriptor after closing it.
7161 2001-03-08 Mike Alexander <mta@arbortext.com>
7163 * event-msw.c (mswindows_need_event_in_modal_loop):
7164 Don't dispatch a message if we didn't get one.
7165 (mswindows_need_event):
7166 Terminate the correct process when one exits instead of the first
7167 one on Vprocess_list and look for process termination when in
7168 mswindows_protect_modal_loop.
7170 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
7172 * XEmacs 21.4.1 "Copyleft" is released.
7174 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
7176 * input-method-motif.c (XIM_delete_frame): New callback.
7177 (XIM_init_frame): Register it.
7179 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
7181 * XEmacs 21.4.0 "Solid Vapor" is released.
7183 2001-04-15 Ben Wing <ben@xemacs.org>
7185 * cmdloop.c (call_command_loop):
7186 Fix braino in bit-rotting code.
7188 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
7190 * extents.c (Fset_extent_endpoints): Force creation of extent info
7191 in buffer_or_string.
7193 * extents.c (process_extents_for_insertion_mapper): Correctly
7194 check for open-open zero-length extents.
7196 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
7198 * lisp.h: New typedefs Memory_count, Element_count.
7201 Sign-compare warning elimination: several unsigned -> signed.
7202 Based on work by Ben Wing <ben@xemacs.org>.
7204 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
7206 * XEmacs 21.2.47 "Zephir" is released.
7208 2001-04-02 Jan Vroonhof <jan@xemacs.org>
7210 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
7212 2001-04-03 Mike Sperber <mike@xemacs.org>
7214 * search.c: Revert previous patch due because of release.
7216 2001-03-30 Ben Wing <ben@xemacs.org>
7219 Add missing killpg prototype.
7222 Add a comment about fixing problems when a new entry is added
7225 * frame-msw.c (mswindows_init_frame_1):
7226 Fix compile warnings.
7228 * menubar.c (vars_of_menubar):
7229 Provide `menu-accelerator-support' to indicate that we properly
7230 support %_ in menu specifications, so that package code can
7231 conditionalize on this (and remove %_ from menu specifications
7236 * scrollbar-msw.c (can_scroll):
7238 Fix handling of mouse wheel under Windows to follow standards --
7239 now scrolls window under pointer, not selected window.
7241 2001-03-31 Mike Sperber <mike@xemacs.org>
7243 * search.c (Freplace_match): Support FSF-style specification of
7244 match subexpression when applied to a buffer.
7246 2001-03-15 Martin Buchholz <martin@xemacs.org>
7248 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
7249 function to modify KEYMAP, so map over a copy of the hash table.
7251 2001-03-21 Martin Buchholz <martin@xemacs.org>
7253 * XEmacs 21.2.46 "Urania" is released.
7255 2001-03-20 Dan Holmsand <dan@eyebee.com>
7257 * realpath.c (xrealpath): Make file-truename work with symlinks to
7258 /cygdrive paths on cygwin. Always lowercase drive-letters on
7260 (cygwin_readlink): Don't try to find canonical filename unless
7263 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
7265 * ChangeLog: Log GTK merge.
7271 Revert gratuitous whitespace changes from GTK merge.
7273 * emacs.c: Document end of complex #ifdef @ l. 1495.
7276 2001-03-12 Andy Piper <andy@xemacs.org>
7278 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
7279 have to do likewise.
7281 2001-03-12 Andy Piper <andy@xemacs.org>
7283 * sysdep.c: we only support mingw now.
7285 2001-03-09 Andy Piper <andy@xemacs.org>
7287 * unexcw.c (copy_executable_and_dump_data_section): making approx
7288 overrun a warning only.
7290 2001-03-10 William M. Perry <wmperry@aventail.com>
7292 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
7293 satisfy Stephen's identical-after-cpp plea.
7295 2001-03-02 Ben Wing <ben@xemacs.org>
7298 * cmds.c (Fforward_char):
7302 Augment documentation of the most common motion commands to make
7303 note of the shifted-motion support.
7305 2001-03-02 Ben Wing <ben@xemacs.org>
7307 * nt.c (mswindows_fstat):
7308 * nt.c (mswindows_stat):
7309 * search.c (boyer_moore):
7310 Fix compile warnings under Windows.
7312 * sysdep.c (sys_readdir):
7313 Fix buggy filename-conversion code under Mule.
7315 2001-03-09 William M. Perry <wmperry@aventail.com>
7337 * redisplay-output.c:
7343 The Great GTK Merge.
7350 * emacs-widget-accessors.c:
7364 * native-gtk-toolbar.c:
7375 The Great GTK Merge: new files.
7377 2001-02-26 Ben Wing <ben@xemacs.org>
7379 Reapplied Lstream change.
7381 2001-02-26 Ben Wing <ben@xemacs.org>
7383 Undid the last change, since it is more controversial than I
7384 thought. It should be back in at some point soon.
7386 2001-02-25 Ben Wing <ben@xemacs.org>
7389 * callproc.c (Fold_call_process_internal):
7390 * event-msw.c (ntpipe_slurp_reader):
7391 * event-msw.c (ntpipe_shove_writer):
7392 * event-msw.c (winsock_reader):
7393 * event-msw.c (winsock_writer):
7395 * file-coding.c (detect_eol_type):
7396 * file-coding.c (detect_coding_type):
7397 * file-coding.c (determine_real_coding_system):
7398 * file-coding.c (Fdetect_coding_region):
7399 * file-coding.c (decoding_reader):
7400 * file-coding.c (decoding_writer):
7401 * file-coding.c (mule_decode):
7402 * file-coding.c (Fdecode_coding_region):
7403 * file-coding.c (encoding_reader):
7404 * file-coding.c (encoding_writer):
7405 * file-coding.c (mule_encode):
7406 * file-coding.c (Fencode_coding_region):
7407 * file-coding.c (detect_coding_sjis):
7408 * file-coding.c (decode_coding_sjis):
7409 * file-coding.c (encode_coding_sjis):
7410 * file-coding.c (detect_coding_big5):
7411 * file-coding.c (decode_coding_big5):
7412 * file-coding.c (encode_coding_big5):
7413 * file-coding.c (detect_coding_ucs4):
7414 * file-coding.c (decode_coding_ucs4):
7415 * file-coding.c (encode_coding_ucs4):
7416 * file-coding.c (detect_coding_utf8):
7417 * file-coding.c (decode_coding_utf8):
7418 * file-coding.c (encode_coding_utf8):
7419 * file-coding.c (detect_coding_iso2022):
7420 * file-coding.c (decode_coding_iso2022):
7421 * file-coding.c (encode_coding_iso2022):
7422 * file-coding.c (decode_coding_no_conversion):
7423 * file-coding.c (encode_coding_no_conversion):
7424 * glyphs-x.c (write_lisp_string_to_temp_file):
7425 * gpmevent.c (tty_get_foreign_selection):
7428 * lstream.c (Lstream_flush_out):
7429 * lstream.c (Lstream_adding):
7430 * lstream.c (Lstream_write_1):
7431 * lstream.c (Lstream_write):
7432 * lstream.c (Lstream_raw_read):
7433 * lstream.c (Lstream_read_more):
7434 * lstream.c (Lstream_read):
7435 * lstream.c (Lstream_unread):
7436 * lstream.c (Lstream_fputc):
7437 * lstream.c (stdio_reader):
7438 * lstream.c (stdio_writer):
7439 * lstream.c (filedesc_reader):
7440 * lstream.c (filedesc_writer):
7441 * lstream.c (lisp_string_reader):
7442 * lstream.c (struct fixed_buffer_stream):
7443 * lstream.c (make_fixed_buffer_input_stream):
7444 * lstream.c (make_fixed_buffer_output_stream):
7445 * lstream.c (fixed_buffer_reader):
7446 * lstream.c (fixed_buffer_writer):
7447 * lstream.c (struct resizing_buffer_stream):
7448 * lstream.c (resizing_buffer_writer):
7449 * lstream.c (dynarr_writer):
7450 * lstream.c (lisp_buffer_reader):
7451 * lstream.c (lisp_buffer_writer):
7453 * lstream.h (lstream_implementation):
7454 * lstream.h (struct lstream):
7456 * process-nt.c (nt_send_process):
7457 * process-unix.c (unix_send_process):
7459 Correct Lstream lossage due to mixing of signed and unsigned
7460 quantities. All Lstream uses of size_t and ssize_t are now a
7461 single signed data type Lstream_data_count. This fixes problems
7462 under Windows with sending large quantities of data to a process,
7463 and may well fix other subtle bugs.
7465 2001-02-23 Martin Buchholz <martin@xemacs.org>
7467 * XEmacs 21.2.45 "Thelxepeia" is released.
7469 2001-02-21 Martin Buchholz <martin@xemacs.org>
7471 * lisp-union.h (XSETINT):
7474 Reverse previous change of 2001-02-06.
7476 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
7478 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
7480 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
7481 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
7482 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
7483 * regex.c (POS_AS_IN_BUFFER): removed
7484 * regex.c (re_search_2):
7485 * regex.c (re_match_2):
7486 Don't use an offset of 1 when calculating buffer positions, since
7487 `BI_BUF_BEGV' does it already.
7489 2001-02-18 Wim Dumon <wim@easics.be>
7491 * insdel.c (prepare_to_modify_buffer): Also check for
7492 supersession when clash-detection is enabled.
7494 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
7496 * regex.c (re_match_2_internal):
7497 Convert temp characters from 'const unsigned char' to 're_char'.
7498 Fix crashing bug with extended characters under mule.
7499 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
7500 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
7501 font-lock, pdump, and new syntax-table code.
7502 * syntax.c (find_start_of_comment):
7503 (find_end_of_comment):
7505 Fix crashing bugs involving moving beyond end of buffer.
7506 * syntax.c (find_start_of_comment):
7507 Fixed logic to allow proper detection of cases where the same
7508 character is used to end both a two-char comment start and a
7509 two-char comment end sequence. Fixes `(forward-comment -1)'.
7510 * syntax.c (find_start_of_comment):
7511 Return position just past last comment-end character for all cases
7512 (previously was only done for two-char comment-end sequences).
7513 * syntax.c (forward-comment):
7514 Take value returned from `find_end_of_comment', rather than
7516 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
7517 Properly deal with BUFFERP (syntax_cache.object)
7519 2001-02-17 Martin Buchholz <martin@xemacs.org>
7521 * alloc.c (Fgarbage_collect):
7522 * alloc.c (make_bit_vector_from_byte_vector):
7523 -Wsign-compare-correctness.
7525 2001-02-16 Martin Buchholz <martin@xemacs.org>
7527 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
7528 (XSETCHAR): Likewise.
7529 (XSETOBJ): Likewise.
7531 2001-02-15 Martin Buchholz <martin@xemacs.org>
7533 * mule-canna.c (canna-func-delete_previous):
7534 Rename to canna-func-delete-previous.
7536 2001-02-14 Martin Buchholz <martin@xemacs.org>
7538 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
7540 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
7542 * font-lock.c (find_context): Fix C++ compile errors introduced by
7545 2001-02-13 Martin Buchholz <martin@xemacs.org>
7547 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
7548 pragma, but earlier ones barf on the same pragma.
7550 2001-02-06 Mike Sperber <mike@xemacs.org>
7552 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
7553 `configure-mule-lisp-directory'.
7555 2001-02-12 Martin Buchholz <martin@xemacs.org>
7557 Make sure dump-id.c is compiled in the same way as other .c's.
7558 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
7559 * dump-id.h: Remove.
7560 * emacs.c: Move dump-id.h into dumper.h.
7561 * dumper.h: Move dump-id.h into dumper.h.
7563 Use standard .c.o rule for building dump-id.o.
7564 Remove preprocessor flags from link command.
7565 Add dump-id.o to ${otherobjs} if PDUMP.
7567 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
7569 Port FSF 20.7 syntax table improvements.
7573 Fixups for new syntax table stuff.
7574 * dired.c: Include syntax.c.
7575 (Fdirectory_files): Initialize regex_match_object and
7577 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
7578 and Fget_char_property.
7580 Use ported FSF 20.7 syntax table improvements.
7585 2001-02-09 Martin Buchholz <martin@xemacs.org>
7587 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
7588 Unixware's enum boolean from sys/types.h.
7590 2001-02-10 Martin Buchholz <martin@xemacs.org>
7592 Fix support for building with latest Purify.
7593 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
7594 (PURIFY_FLAGS): Likewise.
7596 2001-02-09 Martin Buchholz <martin@xemacs.org>
7598 * fileio.c (lisp_string_set_file_times): New.
7599 * fileio.c (Fcopy_file): Use it.
7601 (copy-file filename non-ascii-filename t t)
7602 ==> No such file or directory, non-ascii-filename
7604 2001-02-10 Martin Buchholz <martin@xemacs.org>
7606 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
7607 USHRT_MAX seems clearer than ~0 anyways.
7609 2001-02-09 Martin Buchholz <martin@xemacs.org>
7611 dumper improvements. Inspired by Olivier.
7612 * dumper.c (pdump_max_align): New.
7613 * dumper.c (pdump_add_entry): Use pdump_max_align.
7614 * dumper.c (pdump_get_entry_list): Likewise.
7615 * dumper.c (pdump_scan_by_alignment): Likewise.
7616 Don't iterate through unnecessary alignments.
7617 * dumper.c (pdump_file_get): No need to align result of malloc().
7618 * dumper.c (pdump_mallocadr): Remove.
7619 The result of malloc() is guaranteed to be maximally aligned.
7620 * dumper.c: s/elmt/elt/g;
7621 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
7622 * dumper.c (pdump_alert_undump_object): Likewise.
7623 * dumper.c (pdump_align_table):
7624 Don't support alignments > 64.
7625 Store ALIGNOF's, not shift counts, in table.
7627 2001-02-09 Martin Buchholz <martin@xemacs.org>
7629 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
7630 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
7631 * systime.h: Use HAVE_UTIME.
7632 * sysdep.c (struct utimbuf): Remove.
7633 * sysdep.c (set_file_times): Prefer utime() to utimes().
7634 * config.h.in (HAVE_UTIME): New.
7635 * config.h.in (HAVE_UTIME_H): Remove.
7636 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
7638 2001-02-09 Martin Buchholz <martin@xemacs.org>
7640 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
7642 2001-02-08 Martin Buchholz <martin@xemacs.org>
7644 * s/irix6-0.h: Use the standard system memmove, not bcopy.
7646 2001-02-08 Martin Buchholz <martin@xemacs.org>
7648 * XEmacs 21.2.44 "Thalia" is released.
7650 2001-02-06 Martin Buchholz <martin@xemacs.org>
7652 Fixes crashes in kill-emacs on some systems.
7653 * process-unix.c (unix_kill_child_process):
7654 It's OK for kill() to fail with ESRCH.
7656 2001-02-07 Martin Buchholz <martin@xemacs.org>
7658 Contortions to make .gdbinit tricks work on most systems.
7659 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
7660 * alloc.c (dbg_valmask): Make non-const.
7661 * alloc.c (dbg_typemask): Make non-const.
7662 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
7663 * alloc.c (dbg_valbits): Make non-const.
7664 * alloc.c (dbg_gctypebits): Make non-const.
7665 * .gdbinit (decode_object): Make it work with AIX cc.
7667 2001-02-06 Martin Buchholz <martin@xemacs.org>
7669 * elhash.c (make_general_lisp_hash_table):
7670 Use simpler and more efficient calloc to clear entries.
7672 2001-02-07 Martin Buchholz <martin@xemacs.org>
7674 * window.c (window_scroll): Work around an AIX C compiler bug.
7675 Fixes 'scroll-up' does nothing problem with xlC.
7677 2001-02-05 Martin Buchholz <martin@xemacs.org>
7679 * .gdbinit: Remove obsolete comment.
7681 2001-01-31 Mike Alexander <mta@arbortext.com>
7683 * select.c (Fown_selection_internal): Set owned_p for device
7686 2001-02-01 Martin Buchholz <martin@xemacs.org>
7689 "not" cannot be used as a macro name as it is an operator in C++
7690 * config.h.in: Stop #defining `not'.
7691 * chartab.c (check_category_char): not ==> not_p
7692 * chartab.h: Likewise.
7693 * regex.c (re_match_2_internal): Likewise.
7695 2001-02-02 Martin Buchholz <martin@xemacs.org>
7697 * lisp-disunion.h: Fix up comments.
7699 2001-01-31 Martin Buchholz <martin@xemacs.org>
7701 * keymap.c (define_key_check_and_coerce_keysym):
7703 Support mouse-6 and mouse-7 bindings in the obvious way.
7705 2001-02-01 Martin Buchholz <martin@xemacs.org>
7707 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
7709 2001-01-30 Martin Buchholz <martin@xemacs.org>
7711 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
7712 Previous patch missed DEFVAR_INT_MAGIC.
7713 Make sure future DEFVAR_foo use correct types.
7714 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
7715 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
7716 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
7717 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
7718 * (DEFVAR_INT): Likewise.
7719 * redisplay.c (vertical_clip): Should be of type Fixnum.
7720 * redisplay.c (horizontal_clip): Likewise.
7721 * lisp.h (dump_add_opaque_int): New.
7722 (dump_add_opaque_fixnum): New.
7724 2001-01-29 Andy Piper <andy@xemacs.org>
7726 * glyphs-widget.c (check_valid_int_or_function): allow symbols
7727 since they can be eval'ed
7729 2001-01-29 Martin Buchholz <martin@xemacs.org>
7731 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
7732 Oops, XEmacs redefines `class'. Use `typename' instead.
7734 2001-01-28 Martin Buchholz <martin@xemacs.org>
7736 * dumper.c: Fix C++ compile errors.
7738 2001-01-29 Martin Buchholz <martin@xemacs.org>
7740 * tparam.c: Use correct prototypes.
7742 2001-01-28 Martin Buchholz <martin@xemacs.org>
7744 * sysproc.h: #include util.h for NetBSD's openpty.
7746 2001-01-27 Martin Buchholz <martin@xemacs.org>
7748 More 64-bit correctness.
7749 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
7750 Use a typedef `fixnum' for the type used for DEFVAR_INT.
7752 This finally finishes the 64-bit SGI port.
7753 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
7754 * symbols.c: Fix up comments and type casts.
7755 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
7756 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
7757 * symeval.h (Fixnum): New type.
7758 * symeval.h (symbol_value_type): Fix up comment.
7774 * mule-canna.c: A million DEFVAR_INTs here...
7775 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
7788 s/int/Fixnum/g in DEFVAR_INT declarations.
7790 2001-01-26 Martin Buchholz <martin@xemacs.org>
7792 Port pdump to SGI alignment-sensitive environment.
7793 Lisp Object sizeof methods now return aligned sizes. Rely on that.
7794 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
7796 Define and use aligned reading and writing macros.
7797 Use buffered stdio instead of posix i/o for faster dumping.
7798 Eliminate kludgy 256 byte space for header.
7799 Read and write from dump file using structs for alignment safety.
7800 * dumper.c (pdump_align_stream): New.
7801 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
7802 * dumper.c (PDUMP_READ_ALIGNED): New.
7803 * dumper.c (PDUMP_WRITE_ALIGNED): New.
7804 * dumper.c (pdump_static_Lisp_Object): New struct.
7805 * dumper.c (pdump_static_pointer): New struct.
7806 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
7807 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
7808 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
7809 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
7811 * dumper.c (pdump_backtrace):
7812 * dumper.c (pdump_get_indirect_count):
7813 * dumper.c (pdump_register_object):
7814 * dumper.c (pdump_register_struct):
7815 * dumper.c (pdump_reloc_one):
7816 * dumper.c (pdump_scan_by_alignment):
7817 * dumper.c (pdump_dump_from_root_struct_ptrs):
7818 * dumper.c (pdump_dump_opaques):
7819 * dumper.c (pdump_dump_rtables):
7820 * dumper.c (pdump_dump_from_root_objects):
7822 * dumper.c (pdump_load_finish):
7823 Use aligned reading and writing.
7825 * dumper.c (pdump_free): Make static.
7826 * dumper.c (pdump_hFile): Likewise.
7827 * dumper.c (pdump_hMap): Likewise.
7829 2001-01-26 Martin Buchholz <martin@xemacs.org>
7831 * XEmacs 21.2.43 "Terspichore" is released.
7833 2001-01-25 Martin Buchholz <martin@xemacs.org>
7835 Type fiddling for window_config.saved_windows_count
7836 * window.c (struct window_config):
7837 Make saved_windows_count member unsigned.
7838 * window.c (sizeof_window_config_for_n_windows):
7839 Make parameter unsigned.
7840 * window.c (mark_window_config):
7841 * window.c (window_config_equal):
7842 * window.c (free_window_configuration):
7843 * window.c (Fset_window_configuration):
7844 * window.c (count_windows):
7845 * window.c (Fcurrent_window_configuration):
7846 * window.c (reinit_vars_of_window):
7847 Update all callers and users.
7849 2001-01-25 Martin Buchholz <martin@xemacs.org>
7851 Alignment correctness for flexible arrays.
7852 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
7853 Make alignment-correct. Add interesting comments.
7854 * alloc.c (size_vector):
7855 * alloc.c (make_vector_internal):
7856 * alloc.c (make_bit_vector_internal):
7857 * alloc.c (sweep_bit_vectors_1):
7858 * fns.c (size_bit_vector):
7859 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
7860 * window.c (sizeof_window_config_for_n_windows):
7861 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
7863 2001-01-24 Martin Buchholz <martin@xemacs.org>
7865 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
7867 2001-01-23 Andy Piper <andy@xemacs.org>
7869 * select.c (Fown_selection_internal): pass owned_p
7871 * select-msw.c (mswindows_own_selection): New Signature.
7873 * console.h (struct console_methods): add owned_p to
7876 * select-x.c (x_own_selection): pass owned_p
7877 (hack_motif_clipboard_selection): use owned_p
7878 (vars_of_select_x): new variable -
7879 x_selection_strict_motif_ownership.
7881 2001-01-23 Martin Buchholz <martin@xemacs.org>
7883 * specifier.h (specifier_data_offset): Remove pointless parens.
7884 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
7886 2001-01-24 Martin Buchholz <martin@xemacs.org>
7888 Make Lisp_Object sizeof methods be alignment-correct.
7889 pdump must restore objects to the same alignment as the C compiler
7890 assumes. It really matters on SGIs.
7891 * lstream.c (aligned_sizeof_lstream): New.
7892 (sizeof_lstream): Use aligned_sizeof_lstream.
7893 (Lstream_new): Likewise.
7894 * opaque.c (aligned_sizeof_opaque): New.
7895 (sizeof_opaque): Use aligned_sizeof_opaque.
7896 (make_opaque): Likewise.
7897 * specifier.c (aligned_sizeof_specifier): New.
7898 (sizeof_specifier): Use aligned_sizeof_specifier.
7899 (make_specifier_internal): Likewise.
7901 2001-01-23 Martin Buchholz <martin@xemacs.org>
7903 * lstream.h (struct lstream): Use max_align_t for trailing data.
7904 * specifier.h (struct Lisp_Specifier): Likewise.
7906 2001-01-22 Martin Buchholz <martin@xemacs.org>
7908 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
7909 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
7910 (CCL_SUSPEND): Likewise.
7911 (CCL_INVALID_CMD): Likewise.
7912 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
7913 (ccl_driver): Likewise.
7914 (CCL_WRITE_CHAR): Macro hygiene.
7915 (CCL_WRITE_STRING): Macro hygiene.
7917 2001-01-22 Martin Buchholz <martin@xemacs.org>
7919 Port "portable" dumper to SunOS 4 and HP-UX.
7920 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
7921 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
7922 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
7924 2001-01-22 Martin Buchholz <martin@xemacs.org>
7926 * lisp.h (ALIGNOF): A better definition for C++.
7928 2001-01-20 Martin Buchholz <martin@xemacs.org>
7931 Fix printf warnings: int format, long int arg.
7932 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
7933 (PUSH_FAILURE_POINT): Use correct printf formats.
7934 (POP_FAILURE_POINT): Use correct printf formats.
7935 Use do {...} while (0)
7937 2001-01-20 Martin Buchholz <martin@xemacs.org>
7939 * XEmacs 21.2.42 "Poseidon" is released.
7941 2001-01-20 Martin Buchholz <martin@xemacs.org>
7943 * console-x.h: typo fix du jour. Remove #if 0'ed code.
7945 2001-01-19 Martin Buchholz <martin@xemacs.org>
7947 De-kludgify FIXED_TYPE free list frobbing.
7948 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
7949 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
7950 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
7951 * alloc.c (Lisp_Free): New pseudo lisp object definition.
7952 * alloc.c (LRECORD_FREE_P): New.
7953 * alloc.c (MARK_LRECORD_AS_FREE): New.
7954 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
7955 * alloc.c (STRUCT_FREE_P): Deleted.
7956 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
7957 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
7958 * alloc.c (STRING_CHARS_FREE_P): New.
7959 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
7960 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
7961 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
7962 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
7963 * alloc.c (resize_string): Use new definitions.
7964 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
7965 * alloc.c (verify_string_chars_integrity): Use new definitions.
7966 * alloc.c (compact_string_chars): Use new definitions.
7967 * alloc.c: Update monster comments.
7968 * lrecord.h (lrecord_type): Add some new lrecord types for
7971 2001-01-18 Martin Buchholz <martin@xemacs.org>
7973 Improve alignment hackery.
7974 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
7975 (max_align_t): Moved from opaque.h - general purpose.
7976 (ALIGN_PTR): Use size_t, not long.
7977 * opaque.h (max_align_t): Move to lisp.h.
7979 2001-01-18 Norbert Koch <nk@LF.net>
7981 * gui.h: Fix and add prototypes to fix build problems.
7983 2001-01-18 Martin Buchholz <martin@xemacs.org>
7985 temacs is going away, so `dump-temacs' is now a bad name.
7986 * .dbxrc (dump-temacs): Rename to `dmp'.
7987 * .gdbinit (dump-temacs): Rename to `dmp'.
7989 2001-01-17 Andy Piper <andy@xemacs.org>
7991 * glyphs.c (print_image_instance): comment to make martin happy.
7993 * glyphs-x.c (x_redisplay_widget): update faces after a frame
7996 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
7998 (mswindows_tab_control_redisplay): warning suppression.
8000 * glyphs-widget.c (widget_update): re-write to cope with updated
8002 (widget_instantiate): use new gui_item functions.
8003 (tab_control_update): deleted.
8004 (progress_gauge_update): deleted.
8005 (image_instantiator_progress_guage): take out update reference.
8006 (image_instantiator_tree_view): ditto.
8007 (image_instantiator_tab_control): ditto.
8009 * gui.c (widget_gui_parse_item_keywords): new function. Do things
8011 (gui_item_add_keyval_pair): re-write to cope with descriptors and
8012 return whether anything was changed.
8013 (update_gui_item_keywords): as it sounds.
8015 * gui.h: declare widget_gui_parse_item_keywords.
8017 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
8018 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
8020 2001-01-17 Martin Buchholz <martin@xemacs.org>
8022 * XEmacs 21.2.41 "Polyhymnia" is released.
8024 2001-01-16 Didier Verna <didier@xemacs.org>
8026 * glyphs.c (image_instantiate): don't use fallbacks when
8027 instantiating a face's background pixmap by inheritance.
8029 2001-01-14 Mike Sperber <mike@xemacs.org>
8031 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
8032 Conditionalize accordingly.
8034 2001-01-16 Martin Buchholz <martin@xemacs.org>
8036 * dumper.c (pdump_file_get): Fix a compiler warning.
8038 2001-01-15 Martin Buchholz <martin@xemacs.org>
8040 Make Purify happy when pdumping.
8041 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
8042 iniitalizing all bits of new lisp object memory.
8043 * symbols.c (Fmake_local_variable): Likewise.
8044 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
8045 * symbols.c (Fdefvaralias): Likewise.
8046 * mule-charset.c (vars_of_mule_charset): Likewise.
8048 2001-01-15 Martin Buchholz <martin@xemacs.org>
8049 Add the `-nd' flag when running pre-dump operations under the debugger.
8050 * .dbxrc (run-temacs): Add `-nd'.
8051 * .dbxrc (update-elc): Likewise.
8052 * .dbxrc (dump-temacs): Likewise.
8053 * .gdbinit (run-temacs): Likewise.
8054 * .gdbinit (check-temacs): Likewise.
8055 * .gdbinit (update-elc): Likewise.
8056 * .gdbinit (dump-temacs): Likewise.
8058 2001-01-14 Martin Buchholz <martin@xemacs.org>
8060 Allow building 64-bit executables on AIX with GNU malloc, e.g.
8061 export OBJECT_MODE=64
8062 configure --pdump --use-union-type=no
8063 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
8064 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
8066 * miscplay.c (sndcnv8U_2mono):
8067 Avoid two uses of `++' in the same expression.
8068 Suppresses a GCC warning.
8070 2001-01-13 Martin Buchholz <martin@xemacs.org>
8072 Make sure future compilers don't miscompile alloc.c.
8074 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
8075 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
8077 2001-01-12 Martin Buchholz <martin@xemacs.org>
8079 * dumper.c: A little post-pdump-rename comment fixup.
8081 2001-01-09 Jerry James <james@eecs.ku.edu>
8083 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
8085 2001-01-13 Martin Buchholz <martin@xemacs.org>
8087 * *.[ch]: Globally rename symbols using the following `pdump-rename'
8091 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
8094 replace_symbol pdump_wire_lists pdump_weak_object_chains
8095 replace_symbol pdump_wire_list dump_add_weak_object_chain
8097 replace_symbol pdump_wires pdump_root_objects
8098 replace_symbol pdump_wire dump_add_root_object
8100 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
8101 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
8103 replace_symbol dumpstructinfos pdump_root_struct_ptrs
8104 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
8105 replace_symbol dumpstructinfo pdump_root_struct_ptr
8106 replace_symbol dumpstruct dump_add_root_struct_ptr
8108 replace_symbol dumpopaque dump_add_opaque
8109 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
8110 replace_symbol dumpopaqueinfos pdump_opaques
8111 replace_symbol dumpopaqueinfo pdump_opaque
8113 replace_symbol nb_structdump nb_root_struct_ptrs
8114 replace_symbol nb_opaquedump nb_opaques
8116 replace_symbol align_table pdump_align_table
8117 replace_symbol dump_header pdump_header
8119 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
8120 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
8123 2001-01-12 Martin Buchholz <martin@xemacs.org>
8125 * s/aix4.h: Keep the C for AIX compiler from overaggressively
8126 optimizing bytecount_to_charcount().
8128 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
8131 (HAVE_DLFCN_H): Removed.
8132 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
8134 2001-01-06 Martin Buchholz <martin@xemacs.org>
8136 Portable dumper maintainability improvements.
8137 * alloc.c (staticpro):
8138 * alloc.c (staticpro_nodump):
8139 * alloc.c (garbage_collect_1):
8140 * alloc.c (reinit_alloc_once_early):
8141 * alloc.c (init_alloc_once_early):
8142 * alloc.c: Move dumper functions to alloc.c.
8143 * dumper.c (pdump_backtrace):
8144 * dumper.c (pdump_dump_structs):
8145 * dumper.c (pdump_dump_opaques):
8146 * dumper.c (pdump_dump_rtables):
8147 * dumper.c (pdump_dump_wired):
8149 * dumper.c (pdump_load_check):
8150 * dumper.c (pdump_load_finish):
8151 * dumper.c (pdump_file_unmap):
8152 * dumper.c (pdump_file_get):
8153 * dumper.c (pdump_resource_free):
8154 * dumper.c (pdump_resource_get):
8155 * dumper.c (pdump_file_free):
8156 * dumper.c (pdump_file_try):
8157 * dumper.c (pdump_load):
8158 Remove fixed size limits on staticpro(), staticpro_nodump(),
8159 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
8160 Remove custom code for dumping lrecord_implementations_table - use
8162 Remove (most of the) custom code for dumping staticpros - dump it
8163 like any other dynarr.
8165 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
8166 * dumper.c: Moved functions from alloc.c.
8167 * alloc.c (dumpstruct): Moved to dumper.c.
8168 * alloc.c (dumpopaque): Likewise.
8169 * alloc.c (pdump_wire): Likewise.
8170 * alloc.c (pdump_wire_list): Likewise.
8172 * lisp.h (Dynarr_sizeof): New.
8173 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
8174 * lisp.h (Dynarr_end): New. Very slightly C++oid.
8175 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
8177 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
8178 * lisp.h (dumpopaque): ditto.
8179 * lisp.h (pdump_wire): ditto.
8180 * lisp.h (pdump_wire_list): ditto.
8182 2001-01-09 Martin Buchholz <martin@xemacs.org>
8184 * make-src-depend (PrintPatternDeps):
8185 Use `sort' to make output independent of perl version.
8187 2001-01-08 Martin Buchholz <martin@xemacs.org>
8190 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
8191 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
8193 2001-01-03 Didier Verna <didier@xemacs.org>
8195 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
8196 that `focus_frame' is alive before thinking of calling
8197 `redisplay_redraw_cursor' on it.
8199 2001-01-08 Martin Buchholz <martin@xemacs.org>
8201 * XEmacs 21.2.40 is released.
8203 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
8205 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
8207 2001-01-06 Martin Buchholz <martin@xemacs.org>
8209 * alloc.c (dbg_valmask): Make const.
8210 * alloc.c (dbg_typemask): Make const.
8211 * alloc.c (dbg_USE_UNION_TYPE): Make const.
8212 * alloc.c (dbg_valbits): Make const.
8213 * alloc.c (dbg_gctypebits): Make const.
8215 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
8217 * redisplay-x.c (x_bevel_area):
8218 redisplay.h (struct rune):
8219 Typo fixes in comments.
8221 2001-01-05 Andy Piper <andy@xemacs.org>
8223 * glyphs-x.c (x_redisplay_widget): use size changed for offset
8226 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
8228 2001-01-05 Martin Buchholz <martin@xemacs.org>
8230 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
8232 * mule-ccl.c (stack_idx_of_map_multiple):
8233 Non const global data must not be initialized!
8234 Found by MIYASHITA Hisashi.
8236 2001-01-02 Andy Piper <andy@xemacs.org>
8238 * frame.c (change_frame_size): make sure frame size is always
8241 * glyphs.c (image_instance_layout): minor code reuse.
8243 * window.c (Fcurrent_window_configuration): revert previous
8246 2001-01-02 Martin Buchholz <martin@xemacs.org>
8249 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
8251 2000-12-31 Andy Piper <andy@xemacs.org>
8253 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
8254 when widget gets unmapped.
8256 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
8257 function. Make sure widgets losing focus don't just drop it.
8258 (handle_focus_event_1): record the widget with focus.
8260 2000-12-31 Andy Piper <andy@xemacs.org>
8262 * window.c (allocate_window): use
8263 make_image_instance_cache_hash_table.
8264 (make_dummy_parent): ditto.
8265 (Fset_window_configuration): ditto.
8267 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
8269 * glyphs.c (process_image_string_instantiator): use
8271 (get_image_instantiator_governing_domain): ditto.
8272 (normalize_image_instantiator): ditto.
8273 (instantiate_image_instantiator): ditto.
8274 (make_image_instance_1): ditto.
8275 (image_instantiate): ditto. Key on glyph *and* instantiator type.
8276 (instantiator_eq_equal): new function for use with instance hash
8278 (instantiator_eq_hash): ditto.
8279 (make_image_instance_cache_hash_table): create a suitable hash
8280 table for storing image instances.
8282 * elhash.h (hash_table_weakness): new internal weakness type
8283 HASH_TABLE_KEY_CAR_VALUE_WEAK.
8284 declare new functions.
8286 * elhash.c (finish_marking_weak_hash_tables): introduce yet
8287 another weakness type for glyphs.
8288 (make_standard_lisp_hash_table): new function split out from
8289 make_general_lisp_hash_table.
8290 (make_lisp_hash_table): call make_standard_lisp_hash_table.
8291 (hash_table_instantiate): ditto.
8292 (Fmake_hash_table): ditto.
8294 2000-12-31 Martin Buchholz <martin@xemacs.org>
8296 * XEmacs 21.2.39 is released.
8298 2000-12-29 Andy Piper <andy@xemacs.org>
8300 * menubar.c (menubar_visible_p_changed): signal the frame changed.
8302 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
8303 the frame has changed so that we pick up geometry changes such as
8306 2000-12-28 Andy Piper <andy@xemacs.org>
8308 * lastfile.c (my_ebss): make a char array so we can pad the
8309 bss. Fixes cygwin unexec.
8311 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
8313 2000-12-26 Andy Piper <andy@xemacs.org>
8315 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
8316 comments and try and be more precise about a non-/SIGIO world.
8317 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
8320 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
8321 we don't normalize to zero width or height.
8323 2000-12-24 Andy Piper <andy@xemacs.org>
8325 * Makefile.in.in (ldflags): add -mwindows when appropriate.
8327 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
8329 * s/sco5.h: SCO 5 has pty support.
8331 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
8333 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
8334 input-method-xlib.c contains whole contents of input-method-xfs.c,
8335 so we can use input-method-xlib.c's code for USE_XFONTSET
8337 * input-method-xfs.c: removed.
8339 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
8341 * file-coding.h (enum coding_category_type): reorder enumerators to
8342 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
8343 (now one greater than largest real coding_category_type enumerator).
8344 * file-coding.c (coding_category_symbol, coding_category_by_priority,
8345 coding_category_system, fcd_descriptihon_1, decode_coding_category,
8346 Fcoding_category_list, Fset_coding_priority_list,
8347 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
8348 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
8350 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
8352 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
8353 * redisplay-output.c (redisplay_output_window): Clear top of window
8354 when face is changed.
8355 * redisplay-x.c (x_redraw_exposed_window): Call
8356 redisplay_clear_top_of_window.
8357 * redisplay.h: Publish redisplay_clear_top_of_window.
8359 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
8361 * buffer.c (Fkill_buffer): Map over all devices.
8362 * window.c (window_loop): Remove UNSHOW_BUFFER code.
8363 (list_windows): New function.
8364 (list_all_windows): Ditto.
8365 (Freplace_buffer_in_windows): Use them.
8367 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
8369 * database.c (berkdb_subtype): Recognize new subtype `queue'.
8370 (Fopen_database): Use `db_create' instead of `db_open'.
8371 (syms_of_database): Initialize Qqueue.
8373 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
8375 * buffer.c (common_init_complex_vars_of_buffer): Initialize
8376 buffer_local_face_property.
8377 * buffer.h (struct buffer): New member buffer_local_face_property.
8378 * window.c (Fset_window_buffer): Mark window's face as changed
8379 when buffer has buffer local face.
8380 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
8381 * objects.c (color_after_change): Set buffer_local_face_property
8382 when locale of face specifier is buffer.
8383 * objects.c (font_after_change): Ditto.
8384 * objects.c (face_boolean_after_change): Ditto.
8385 * glyphs.c (image_after_change): Ditto.
8387 2000-12-09 Dan Holmsand <dan@eyebee.com>
8389 * nt.c (mswindows_fstat): Report file permissions, volume serial
8390 number, etc. Code adapted from FSF Emacs 20.7.
8392 2000-12-09 Dan Holmsand <dan@eyebee.com>
8394 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
8395 of stat when we don't have symbolic links, to make sure
8396 mswindows_stat is called on mswindows.
8398 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
8400 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
8402 2000-12-12 Martin Buchholz <martin@xemacs.org>
8404 * doprnt.c (emacs_doprnt_1): More printing fixes.
8405 Make printing of numbers compatible with libc and FSF Emacs.
8406 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
8407 Use the system printf to do most of the hard work of formatting,
8408 instead of doprnt_1().
8409 Calculate memory to allocate for format string.
8410 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
8411 (doprnt_1): Cleaner code and documentation.
8413 2000-12-01 Jerry James <james@eecs.ukans.edu>
8415 * Makefile.in.in: Use the loop variable to install headers.
8417 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8419 * window.c (Fsplit_window): Don't invalidate face cache.
8421 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8423 * minibuf.c (Fall_completions): Undo the previous change
8424 which removed checking elements start with space.
8426 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
8428 * mule-canna.c: Didier suppression.
8430 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
8432 * mule-canna.c: rename static unsigned char buf[] to key_buffer
8433 (warning suppression). Add English comment translations.
8435 2000-12-05 Martin Buchholz <martin@xemacs.org>
8437 * unexelfsgi.c (unexec): Better test for mmap failure.
8439 2000-12-05 Martin Buchholz <martin@xemacs.org>
8441 * XEmacs 21.2.38 is released.
8443 2000-12-05 Martin Buchholz <martin@xemacs.org>
8445 * redisplay.c (bar-cursor): Make a user variable.
8447 * symsinit.h: Add init_postgresql_from_environment.
8449 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8451 * regex.c: Convert to clean C.
8453 2000-12-05 Dan Holmsand <dan@eyebee.com>
8456 Don't #include sysfile.h. Revert to duplicating PATH_MAX
8458 (sys_readlink): renamed to system_readlink to avoid conflict with
8459 the other sys_readlink.
8461 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
8463 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
8465 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
8467 * postgresql.c (init_postgresql_from_environment): new function.
8468 (vars_of_postgresql): Move code initializing Lisp variables out and
8469 into init_postgresql_from_environment.
8470 emacs.c (main_1): Call init_postgresql_from_environment if and only
8471 if running a dumped XEmacs.
8473 2000-08-31 Dan Holmsand <dan@eyebee.com>
8475 * buffer.c: Make find-file-compare-truenames default to true on
8478 * realpath.c (win32_abs_start):
8480 (win32_readlink): New functions.
8481 (xrealpath): Return really real filenames on windows.
8483 * fileio.c (Ffile_truename): Make file-truename work on windows.
8485 2000-11-29 Didier Verna <didier@xemacs.org>
8487 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
8488 * faces.c (update_face_cachel_data): use it.
8489 * faces.c (add_face_cachel): use it. Complete background pixmap
8490 frobbing in face cache if `update_face_cachel_data' has not done so.
8492 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
8494 * search.c (string_match_1): Don't set last_thing_searched
8497 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
8499 * buffer.c: Include casetab.h
8500 (common_init_complex_vars_of_buffer): Use new case-table object.
8501 * buffer.h: Include casetab.h
8502 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
8503 (DOWNCASE_TABLE_OF): Ditto.
8504 * bufslots.h: Remove char-tables and add case-table.
8505 * casetab.c: Include casetab.h
8506 (CASE_TABLE_P): Removed.
8507 (mark_case_table): New function.
8508 (allocate_case_table): New function.
8509 (Fcase_table_p): Use new case-table.
8510 (case_table_char): New function.
8511 (Fget_case_table): Ditto.
8512 (Fput_case_table): Ditto.
8513 (Fput_case_table_pair): Ditto.
8514 (Fcopy_case_table): Ditto.
8515 (Fcurrent_case_table): Return case-table.
8516 (Fstandard_case_table): Return case-table.
8517 (Fset_case_table): Fix doc-string.
8518 (set_case_table): Use case-table
8519 (syms_of_casetab): DEFSUBR new functions.
8520 (complex_vars_of_casetab): Set up standard case-table.
8521 * casetab.h: New file.
8522 * editfns.c: Include casetab.h
8523 (Fcompare_buffer_substrings): Use case-table.
8524 * inline.c: Include casetab.h
8525 * lisp.h: Remove bogus extern.
8526 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
8527 * search.c: Include casetab.h
8528 (TRANSLATE_ASCII): Removed.
8529 (TRANSLATE): Unconditionally translate character.
8530 (looking_at_1): Use case-table.
8531 (string_match_1): Ditto.
8532 (fast_string_match): Ditto.
8533 (search_command): Ditto.
8534 (search_buffer): Separate boyer_moore. Check whether
8535 boyer_moore is possible.
8536 (simple_search): New function.
8537 (boyer_moore): Separated from search_buffer. Translate char.
8539 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
8541 * regex.c (RE_TR_ASCII): Removed.
8542 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
8543 (PATFETCH): Call PATFETCH_RAW.
8544 (PATFETCH_RAW): Fetch Emchar.
8545 (PATUNFETCH): Decrement charptr.
8546 (GET_BUFFER_SPACE): Rename b to buf_end.
8548 (BUF_PUSH_2): Ditto.
8549 (BUF_PUSH_3): Ditto.
8550 (EXTEND_BUFFER): Ditto.
8551 (SET_LIST_BIT): Ditto.
8552 (regex_compile): Ditto. Translate non ASCII char.
8553 (compile_range): Ditto.
8554 (re_search_2): Ditto.
8555 (re_match_2_internal): Compare Emchar.
8556 (bcmp_translate): Ditto.
8558 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
8560 * lisp.h (basic char/int typedefs): comment improvement.
8562 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
8564 * emacs.c (main_1): unconditional pdump unstomping; don't save and
8565 unstomp inhibit_site_lisp. Improve comments.
8567 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
8569 * mule-charset.c (Fcharset_property): improve type checking, comments.
8571 2000-11-28 Andy Piper <andy@xemacs.org>
8573 * redisplay-output.c (redisplay_output_subwindow): make sure we do
8574 clipped display for windows in the gutter also.
8575 (redisplay_display_boxes_in_window_p): change semantics of return
8576 codes to be more intuitive.
8578 * gutter.h: declare display_boxes_in_gutter_p.
8580 * gutter.c (display_boxes_in_gutter_p): new function for
8583 2000-11-22 Andy Piper <andy@xemacs.org>
8585 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
8588 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
8590 * callproc.c (Fold_call_process_internal):
8591 * gpm.c (Freceive_gpm_event):
8592 (tty_get_foreign_selection): Might be just warning supression.
8593 * fileio.c (Fwrite_region_internal):
8594 (Fset_visited_file_modtime):
8595 * keymap.c (event_matches_key_specifier_p):
8596 Initialize GCPROed variable.
8598 * menubar-x.c (command_builder_find_menu_accelerator):
8599 Initialize before use.
8601 2000-11-23 Andy Piper <andy@xemacs.org>
8603 * unexcw.c (unexec): make the resulting executable executable.
8605 2000-11-21 Martin Buchholz <martin@xemacs.org>
8607 * doc.c (get_doc_string):
8608 Use size_t, not int, for result of XSTRING_LENGTH.
8610 * cmds.c (Fdelete_char):
8611 * cmds.c (Fpoint_at_eol):
8612 * cmds.c (Fself_insert_command):
8613 Use EMACS_INT, not int, for result of XINT.
8614 Someday, someone will want to insert more than 2**31 identical characters.
8616 * cmds.c (Fdelete_char):
8617 * cmds.c (Fdelete_backward_char):
8618 * syntax.c (Fforward_word):
8619 * syntax.c (Fforward_comment):
8620 Make COUNT argument optional, for consistency with forward-char et al.
8622 2000-11-22 Martin Buchholz <martin@xemacs.org>
8625 * print.c (long_to_string):
8626 Return a useful value: the pointer at end of data written.
8629 Use `static const char * const' for constant strings.
8630 (union printf_arg): Delete `i', `ui' members.
8633 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
8634 Do all printf-ing via the `l' specifier.
8635 Use EMACS_INT instead of int.
8638 2000-11-20 Didier Verna <didier@xemacs.org>
8640 * faces.c (update_face_cachel_data): don't frob the background
8641 pixmap when the window is being created. The face is needed but
8644 2000-11-20 Andy Piper <andy@xemacs.org>
8646 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
8647 messing with a debug environment.
8649 2000-11-20 Martin Buchholz <martin@xemacs.org>
8651 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
8653 2000-11-20 Martin Buchholz <martin@xemacs.org>
8655 * casetab.c (Fcase_table_p): Fix compile error and crash.
8657 2000-11-18 Philip Aston <philipa@mail.com>
8659 * s/cygwin32.h: Cygwin has SVR4-like pty support.
8661 2000-11-18 Martin Buchholz <martin@xemacs.org>
8663 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
8664 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
8666 2000-11-17 Martin Buchholz <martin@xemacs.org>
8668 * config.h.in: Define HAVE_ELF_H if elf.h exists.
8669 * unexelf.c: Use HAVE_ELF_H.
8670 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
8671 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
8672 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
8673 Greg Harrington <greg_harrington@hotmail.com> provided a machine
8675 So this is an unexelfsgi.c from a different line of development.
8677 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
8679 * regex.c (RE_TR_ASCII): New function.
8680 (RE_TRANSLATE): Call it.
8682 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
8684 * buffer.h (TRT_TABLE_OF): Remove assert.
8685 (IN_TRT_TABLE_DOMAIN): Removed.
8687 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
8689 * free-hook.c (log_gcpro):
8690 (show_gcprohist): Add support for GCPRO5.
8692 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
8694 * emacs.c (main_1): Improve -sd error message when --pdump=no.
8696 2000-11-16 Olivier Galibert <galibert@xemacs.org>
8698 * symeval.h: Declare flush_all_buffer_local_cache.
8700 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
8701 (flush_buffer_local_cache): Added.
8702 (flush_all_buffer_local_cache): Added.
8704 * lrecord.h: Remove unused XD_LO_RESET_NIL.
8706 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
8707 (pdump_dump_data): Ditto.
8708 (pdump_reloc_one): Ditto.
8709 (pdump): Remove unused pdump_qnil. Flush buffer local caches
8713 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
8715 * buffer.c: Remove if 0'ed entry.
8716 * buffer.h: Rewrite TRT to use char-table.
8717 * bufslots.h: Remove mirror tables.
8718 * casetab.c: Remove mirror tables.
8719 (CASE_TABLE_P): New macro.
8720 (Fcase_table_p): Element of a case table is string or char-table.
8721 (make_mirror_trt_table): Removed.
8722 (set_case_table): Setup char-table from strings for backward
8724 * dired.c (Fdirectory_files):
8725 * dired-msw.c: (mswindows_get_files):
8726 * lisp.h: Change prototype of re_pattern_buffer.
8727 * regex.c: (RE_TRANSLATE): New macro.
8728 (TRANSLATE_P): Ditto.
8729 Change translate to type RE_TRANSLATE_TYPE.
8730 * regex.h: Define RE_TRANSLATE_TYPE
8731 * search.c (TRANSLATE): New macro.
8732 (TRANSLATE_ASCII): New macro.
8733 Translate table is changed to Lisp_Object.
8734 (signal_failure): Inhibit return.
8736 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
8743 Do UNGCPRO before return.
8745 2000-11-14 Martin Buchholz <martin@xemacs.org>
8747 * XEmacs 21.2.37 is released.
8749 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
8751 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
8752 Add comments about discarded return value.
8754 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
8757 * event-stream.c: Fix comments. Remove some #if 0'ed part.
8759 2000-10-27 Andy Piper <andy@xemacs.org>
8761 * gutter.c (Fset_default_gutter_position): default left and right
8763 (calculate_gutter_size): calculate resonable heuristic for left
8764 and right gutter sizes.
8765 (specifier_vars_of_gutter): change left and right gutter sizes to
8767 (calculate_gutter_size_from_display_lines): new function.
8768 (output_gutter): check for resizing on left and right gutters.
8769 (clear_gutter): don't special case top and left gutters.
8770 (specifier_vars_of_gutter): use new signature for
8771 set_specifier_caching.
8773 * glyphs-x.c (x_redisplay_widget): spelling fix.
8774 * glyphs.c (specifier_vars_of_glyphs):
8775 * menubar.c (specifier_vars_of_menubar):
8776 * redisplay.c (specifier_vars_of_redisplay):
8777 * toolbar.c (specifier_vars_of_toolbar):
8778 * window.c (specifier_vars_of_window):
8779 * scrollbar.c (specifier_vars_of_scrollbar):
8780 (complex_vars_of_scrollbar): use new signature for
8781 set_specifier_caching.
8783 * specifier.c (set_specifier_caching): include recompute flag.
8784 (recompute_one_cached_specifier_in_window): always recompute if
8786 (recompute_one_cached_specifier_in_frame): ditto.
8788 * specifier.h (struct specifier_caching): add recompute flag.
8790 2000-10-24 Andy Piper <andy@xemacs.org>
8792 * unexcw.c (copy_executable_and_dump_data_section): add new
8793 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
8796 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8798 * console-x.h (x_device): New member modifier_release_time.
8799 * event-Xt.c (x_handle_sticky_modifiers):
8800 Bound interval modifier keys are sticky.
8801 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
8802 * events.h: extern it.
8804 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8806 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
8808 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8810 * event-stream.c (execute_command_event): Preserve current_events
8811 and the like when event is misc-user-event.
8812 Inhibit quit during the call to maybe_echo_keys.
8814 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
8816 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
8817 symlink when buffer is killed.
8818 (inhibit_clash_detection): New variable.
8820 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8822 * console.c (Fset_input_method): Trigger redisplay on tty.
8824 2000-11-07 Martin Buchholz <martin@xemacs.org>
8826 * process.c (Fprocess_status): Revert to previous behavior:
8827 (process-status "nosuchprocess") ==> nil
8829 2000-11-06 Martin Buchholz <martin@xemacs.org>
8831 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
8832 Work around another GCC 2.95.2 optimizer bug.
8834 2000-11-02 Martin Buchholz <martin@xemacs.org>
8836 * process.c (Fget_process): Use LIST_LOOP_2.
8837 (kill_buffer_processes): Use LIST_LOOP_2.
8839 * minibuf.c (Fall_completions):
8840 Delete old non-functional code for FSF fourth argument.
8842 * frame.c (frame_matches_frame_spec):
8843 Renamed from `frame_matches_frametype'. Update all callers.
8844 (device_matches_device_spec):
8845 Renamed from 'device_matches_console_spec'. Update all callers.
8847 * doc.c (Fsubstitute_command_keys):
8848 Remove buffer overflow crash. Small code cleanups.
8850 * casetab.c (check_case_table): Simpler code.
8852 * window.c (Freplace_buffer_in_windows):
8853 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
8854 (and similar implementation) as Fdelete_windows_on.
8857 * alloc.c (Fmake_list):
8858 * alloc.c (make_vector):
8859 * alloc.c (Fmake_vector):
8860 * alloc.c (make_bit_vector):
8861 * alloc.c (Fmake_bit_vector):
8862 * alloc.c (Fbit_vector):
8863 * alloc.c (Fmake_string):
8864 * alloc.c (Fpurecopy):
8865 * alloc.c (Fmemory_limit):
8867 * buffer.c (Fget_buffer):
8868 * buffer.c (Fkill_buffer):
8869 * buffer.c (complex_vars_of_buffer):
8870 * bytecode.c (Fcompiled_function_stack_depth):
8871 * callint.c (Fprefix_numeric_value):
8873 * event-stream.c (Fread_key_sequence):
8875 * casetab.c (Fcase_table_p):
8876 * casetab.c (check_case_table):
8877 * casetab.c (Fset_case_table):
8878 * casetab.c (Fset_standard_case_table):
8880 * chartab.c (Fchar_table_type):
8881 * chartab.c (Freset_char_table):
8882 * chartab.c (Fget_char_table):
8883 * chartab.c (Fget_range_char_table):
8884 * chartab.c (Fput_char_table):
8885 * chartab.c (Fmap_char_table):
8886 * chartab.c (Fcategory_table_p):
8887 * chartab.c (Fcheck_category_at):
8888 * chartab.c (Fchar_in_category_p):
8889 * chartab.c (Fcategory_table):
8890 * chartab.c (Fcopy_category_table):
8891 * chartab.c (Fset_category_table):
8892 * chartab.c (Fcategory_designator_p):
8893 * chartab.c (Fcategory_table_value_p):
8894 * cmds.c (Fdelete_char):
8895 * cmds.c (Fdelete_backward_char):
8896 * cmds.c (Fself_insert_command):
8897 * cmds.c (Fself_insert_internal):
8898 * console.c (Fvalid_console_type_p):
8899 * console.c (Fcdfw_console):
8900 * console.c (Fconsole_type):
8901 * console.c (Fconsole_name):
8902 * console.c (Fconsole_device_list):
8903 * console.c (Fconsole_on_window_system_p):
8907 * data.c (Fsubr_interactive):
8908 * data.c (Fchar_to_int):
8909 * data.c (Fint_to_char):
8912 * data.c (Fnumber_to_string):
8913 * data.c (Fstring_to_number):
8915 * database.c (mark_database):
8916 * database.c (finalize_database):
8917 * database.c (Fdatabase_live_p):
8918 * database.c (Fdatabasep):
8919 * device-x.c (Fx_get_resource):
8920 * device.c (Fdfw_device):
8922 * dired.c (Ffile_name_completion):
8923 * dired.c (Ffile_name_all_completions):
8924 * dired.c (Fuser_name_completion):
8925 * dired.c (Fuser_name_completion_1):
8926 * dired.c (Fuser_name_all_completions):
8927 * doc.c (Fdocumentation):
8928 * doc.c (Fdocumentation_property):
8929 * doc.c (Fsubstitute_command_keys):
8931 * editfns.c (Fchar_to_string):
8932 * editfns.c (Fstring_to_char):
8933 * editfns.c (Ftemp_directory):
8934 * editfns.c (Finsert_char):
8935 * editfns.c (Fbuffer_substring_no_properties):
8936 * editfns.c (Fnarrow_to_region):
8937 * editfns.c (Fchar_equal):
8938 * editfns.c (Fchar_Equal):
8939 * editfns.c (Ftranspose_regions):
8940 * emacs.c (Fdump_emacs):
8942 * eval.c (Fcommand_execute):
8943 * eval.c (Fautoload):
8944 * eval.c (Fbacktrace):
8945 * eval.c (Fbacktrace_frame):
8947 * events.c (Fcopy_event):
8948 * events.c (Fcharacter_to_event):
8949 * events.c (Fevent_button):
8950 * events.c (Fevent_process):
8952 * extents.c (Fnext_extent_change):
8953 * extents.c (Fextent_property):
8955 * faces.c (Fmake_face):
8957 * file-coding.c (Fencode_shift_jis_char):
8958 * file-coding.c (Fencode_big5_char):
8959 * fileio.c (Ffile_name_directory):
8960 * fileio.c (Ffile_name_nondirectory):
8961 * fileio.c (Ffile_name_as_directory):
8962 * fileio.c (Fdirectory_file_name):
8963 * fileio.c (Ffile_truename):
8964 * fileio.c (Fsubstitute_in_file_name):
8965 * fileio.c (Ffile_modes):
8966 * fileio.c (Fset_file_modes):
8967 * fileio.c (Fset_default_file_modes):
8968 * fileio.c (Fverify_visited_file_modtime):
8969 * floatfns.c (Facos):
8970 * floatfns.c (Fasin):
8971 * floatfns.c (Fatan):
8972 * floatfns.c (Fcos):
8973 * floatfns.c (Fsin):
8974 * floatfns.c (Ftan):
8975 * floatfns.c (Fbessel_j0):
8976 * floatfns.c (Fbessel_j1):
8977 * floatfns.c (Fbessel_jn):
8978 * floatfns.c (Fbessel_y0):
8979 * floatfns.c (Fbessel_y1):
8980 * floatfns.c (Fbessel_yn):
8981 * floatfns.c (Ferf):
8982 * floatfns.c (Ferfc):
8983 * floatfns.c (Flog_gamma):
8984 * floatfns.c (Fexp):
8985 * floatfns.c (Fexpt):
8986 * floatfns.c (Flog):
8987 * floatfns.c (Flog10):
8988 * floatfns.c (Fsqrt):
8989 * floatfns.c (Fcube_root):
8990 * floatfns.c (Facosh):
8991 * floatfns.c (Fasinh):
8992 * floatfns.c (Fatanh):
8993 * floatfns.c (Fcosh):
8994 * floatfns.c (Fsinh):
8995 * floatfns.c (Ftanh):
8996 * floatfns.c (Fabs):
8997 * floatfns.c (Ffloat):
8998 * floatfns.c (Flogb):
8999 * floatfns.c (Fceiling):
9000 * floatfns.c (Ffloor):
9001 * floatfns.c (Fround):
9002 * floatfns.c (Ftruncate):
9003 * floatfns.c (Ffceiling):
9004 * floatfns.c (Fffloor):
9005 * floatfns.c (Ffround):
9006 * floatfns.c (Fftruncate):
9007 * fns.c (Fstring_equal):
9008 * fns.c (Fstring_lessp):
9013 * fns.c (Fsubstring):
9015 * fns.c (Fold_assoc):
9016 * fns.c (assoc_no_quit):
9018 * fns.c (Fold_assq):
9019 * fns.c (assq_no_quit):
9021 * fns.c (Fold_rassoc):
9023 * fns.c (Fold_rassq):
9024 * fns.c (rassq_no_quit):
9025 * fns.c (Fremassoc):
9026 * fns.c (remassoc_no_quit):
9028 * fns.c (remassq_no_quit):
9029 * fns.c (Fremrassoc):
9030 * fns.c (Fremrassq):
9031 * fns.c (remrassq_no_quit):
9033 * fns.c (Fplist_get):
9034 * fns.c (Fplist_put):
9035 * fns.c (Fplist_remprop):
9036 * fns.c (Fplist_member):
9037 * fns.c (Flax_plist_get):
9038 * fns.c (Flax_plist_put):
9039 * fns.c (Flax_plist_remprop):
9040 * fns.c (Flax_plist_member):
9042 * fns.c (Fold_equal):
9044 * fns.c (Fbase64_encode_region):
9045 * fns.c (Fbase64_encode_string):
9046 * fns.c (Fbase64_decode_region):
9048 * frame.c (frame_matches_frame_spec):
9049 * frame.c (device_matches_device_spec):
9050 * frame.c (next_frame):
9051 * frame.c (previous_frame):
9052 * frame.c (Fnext_frame):
9053 * frame.c (Fprevious_frame):
9054 * frame.c (Fframe_property):
9055 * frame.c (Fset_frame_height):
9056 * frame.c (Fset_frame_size):
9060 * glyphs.c (decode_error_behavior_flag):
9061 * glyphs.c (Fmake_image_instance):
9062 * indent.c (Findent_to):
9063 * intl.c (Fignore_defer_gettext):
9064 * keymap.c (Fkeymapp):
9065 * keymap.c (Flookup_key):
9067 * lread.c (Fload_internal):
9068 * lread.c (Feval_buffer):
9069 * lread.c (Feval_region):
9070 * macros.c (Fexecute_kbd_macro):
9071 * marker.c (set_marker_internal):
9072 * marker.c (Fset_marker):
9073 * marker.c (set_marker_restricted):
9074 * marker.c (Fcopy_marker):
9075 * marker.c (noseeum_copy_marker):
9077 * menubar.c (Fpopup_menu):
9079 * mule-charset.c (Fcharset_name):
9080 * mule-charset.c (Fchar_charset):
9081 * mule-charset.c (Fchar_octet):
9082 * mule-charset.c (Fsplit_char):
9083 * mule-wnnfns.c (Fwnn_open):
9084 * mule-wnnfns.c (Fwnn_dict_comment):
9085 * mule-wnnfns.c (Fwnn_quit_henkan):
9086 * mule-wnnfns.c (Fwnn_word_toroku):
9087 * mule-wnnfns.c (Fwnn_word_sakujo):
9088 * mule-wnnfns.c (Fwnn_word_use):
9089 * mule-wnnfns.c (Fwnn_hindo_set):
9091 * objects.c (Fmake_color_instance):
9092 * objects.c (Fmake_font_instance):
9093 * print.c (Fwrite_char):
9095 * process.c (mark_process):
9096 * process.c (print_process):
9097 * process.c (get_process_from_usid):
9098 * process.c (Fprocessp):
9099 * process.c (Fprocess_live_p):
9100 * process.c (Fget_process):
9101 * process.c (Fget_buffer_process):
9102 * process.c (get_process):
9103 * process.c (Fprocess_id):
9104 * process.c (Fprocess_name):
9105 * process.c (Fprocess_command):
9106 * process.c (init_process_io_handles):
9107 * process.c (start_process_unwind):
9108 * process.c (Fstart_process_internal):
9109 * process.c (Fopen_multicast_group_internal):
9110 * process.c (Fset_process_window_size):
9111 * process.c (read_process_output):
9112 * process.c (send_process):
9113 * process.c (Fprocess_tty_name):
9114 * process.c (Fset_process_buffer):
9115 * process.c (Fprocess_buffer):
9116 * process.c (Fprocess_mark):
9117 * process.c (set_process_filter):
9118 * process.c (Fset_process_filter):
9119 * process.c (Fprocess_filter):
9120 * process.c (Fprocess_send_region):
9121 * process.c (Fprocess_send_string):
9122 * process.c (exec_sentinel):
9123 * process.c (Fset_process_sentinel):
9124 * process.c (Fprocess_sentinel):
9125 * process.c (status_notify):
9126 * process.c (Fprocess_status):
9127 * process.c (Fprocess_exit_status):
9128 * process.c (process_send_signal):
9129 * process.c (Fprocess_send_eof):
9130 * process.c (deactivate_process):
9131 * process.c (remove_process):
9132 * process.c (Fdelete_process):
9133 * process.c (kill_buffer_processes):
9134 * process.c (Fprocess_kill_without_query):
9135 * process.c (Fprocess_kill_without_query_p):
9137 * rangetab.c (Fget_range_table):
9138 * rangetab.c (Fput_range_table):
9139 * rangetab.c (Fremove_range_table):
9140 * rangetab.c (Fclear_range_table):
9142 * search.c (Fskip_chars_forward):
9143 * search.c (Fskip_chars_backward):
9144 * search.c (Fskip_syntax_forward):
9145 * search.c (Fskip_syntax_backward):
9146 * search.c (search_command):
9147 * search.c (Freplace_match):
9148 * search.c (Fregexp_quote):
9149 * select.c (Fown_selection_internal):
9150 * select.c (Fselection_owner_p):
9151 * select.c (Fselection_exists_p):
9152 * select.c (Fget_selection_internal):
9155 * symbols.c (Fintern):
9156 * symbols.c (Fintern_soft):
9157 * symbols.c (Funintern):
9158 * symbols.c (Fapropos_internal):
9159 * symbols.c (Fset_default):
9161 * syntax.c (Fsyntax_table_p):
9162 * syntax.c (Fcopy_syntax_table):
9163 * syntax.c (Fset_syntax_table):
9164 * syntax.c (Fchar_syntax):
9165 * syntax.c (syntax_match):
9166 * syntax.c (Fmatching_paren):
9167 * syntax.c (Fforward_word):
9168 * syntax.c (scan_lists):
9169 * syntax.c (Fscan_lists):
9170 * syntax.c (Fscan_sexps):
9171 * syntax.c (Fparse_partial_sexp):
9172 * toolbar.c (Fcheck_toolbar_button_syntax):
9175 * window.c (Fwindowp):
9176 * window.c (Fwindow_live_p):
9177 * window.c (Fwindow_point):
9178 * window.c (Fdelete_window):
9179 * window.c (Fnext_window):
9180 * window.c (Fprevious_window):
9181 * window.c (Fother_window):
9182 * window.c (window_loop):
9183 * window.c (Fget_lru_window):
9184 * window.c (Fsplit_window):
9185 * window.c (Fenlarge_window):
9186 * window.c (Fenlarge_window_pixels):
9187 * window.c (Fshrink_window):
9188 * window.c (Fshrink_window_pixels):
9189 * window.c (change_window_height):
9190 * window.c (Fwindow_configuration_p):
9191 * window.c (Fcurrent_window_configuration):
9193 * casefiddle.c (casify_object):
9194 * casefiddle.c (Fupcase):
9195 * casefiddle.c (Fdowncase):
9196 * casefiddle.c (Fcapitalize):
9197 * casefiddle.c (Fupcase_initials):
9198 * casefiddle.c (casify_region_internal):
9199 * casefiddle.c (casify_region):
9200 * casefiddle.c (Fupcase_region):
9201 * casefiddle.c (Fdowncase_region):
9202 * casefiddle.c (Fcapitalize_region):
9203 * casefiddle.c (Fupcase_initials_region):
9204 * casefiddle.c (Fupcase_word):
9205 * casefiddle.c (Fdowncase_word):
9206 * casefiddle.c (Fcapitalize_word):
9207 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
9208 Replace 0 with '\0' when working with bytes.
9209 Replace initial "(" with "\(" in docstrings.
9211 2000-11-01 Martin Buchholz <martin@xemacs.org>
9213 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
9215 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
9217 2000-10-31 Martin Buchholz <martin@xemacs.org>
9219 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
9221 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
9223 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
9226 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
9228 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
9229 (inhibit_auto_save_session): New variable.
9230 (vars_of_fileio): Declare and initialize them.
9231 * fileio.c (Fdo_auto_save): Don't create session file if
9232 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
9234 2000-10-31 Martin Buchholz <martin@xemacs.org>
9236 * sgiplay.c (play_internal): C++ compilability.
9237 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
9238 * callproc.c (Fold_call_process_internal):
9239 Remove unused vars `env', `first'.
9240 * scrollbar.c (update_scrollbar_instance):
9241 #### unused var `current_window'.
9242 * redisplay-tty.c: Put currently unused vars insert_mode_on,
9243 etc. within #ifdef NOT_YET.
9244 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
9245 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
9246 * specifier.c (specifier_instance):
9247 #### unused var `tag'.
9248 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
9250 2000-10-27 Martin Buchholz <martin@xemacs.org>
9253 * fns.c (list_sort):
9254 * fns.c (Ffillarray):
9255 * fns.c (bytecode_nconc2):
9258 * fns.c (Fmapconcat):
9259 Be pedantically 64-bit correct. For the time when someone will
9260 want to have a list with length > 2**32.
9262 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
9263 Work around MIPSpro compiler bug.
9265 * process-unix.c (unix_kill_child_process): Add snarky comment.
9266 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
9268 * config.h.in: Oops, _getpt ==> _getpty
9270 2000-10-26 Martin Buchholz <martin@xemacs.org>
9274 Use void*, not char*, as return type of alloca().
9276 * alloc.c (free_marker): Side effect inside assert expression!
9278 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
9280 * mule-charset.c (Fset_charset_ccl_program): To check
9281 if the given ccl program is valid, use setup_ccl_program()
9282 instead of CHECK_VECTOR().
9283 (Fmake_charset): Likewise.
9285 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
9287 * faces.c (get_extent_fragment_face_cache_index):
9288 Fix cachel.merged_faces memory leak.
9290 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
9292 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
9293 Reset MSB of octets obtained by DECODE_SJIS
9294 because of the incompatibility with Emacs.
9295 (ccl_driver)<CCL_ENCODE_SJIS>:
9296 Set MSB of octets before passing them to
9297 ENCODE_SJIS because of the incompatibility
9300 2000-10-18 Daiki Ueno <ueno@unixuser.org>
9302 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
9303 (DECLARE_LRECORD): Undo the last change.
9304 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
9306 2000-10-17 Daiki Ueno <ueno@unixuser.org>
9308 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
9309 the implementation to lrecord_implementations_table.
9311 2000-10-14 Daiki Ueno <ueno@unixuser.org>
9313 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
9314 initial value of `lrecord_type_##c_name' and
9315 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
9316 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
9317 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
9318 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
9319 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
9321 2000-10-17 Martin Buchholz <martin@xemacs.org>
9323 * miscplay.c (sndcnv8S_2mono):
9324 (sndcnv2monounsigned):
9325 (sndcnvULaw_2linear):
9327 Remove implementation-defined behavior.
9329 2000-10-12 Martin Buchholz <martin@xemacs.org>
9331 * input-method-xlib.c: Warning suppression.
9333 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
9335 * mule-ccl.c: Sync up with Emacs 21.0.90.
9336 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
9338 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
9340 (ccl_driver[WriteMultibyteChar2]): Bug fix.
9341 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
9342 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
9343 leading char belongs to official 2-dimensional charset.
9344 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
9345 write the given character as is. Otherwise,
9346 if it is a multibyte char, convert it by
9347 non_ascii_set_charptr_emchar, then write it.
9348 (CCL_WRITE_STRING): Likewise.
9349 (ccl_get_compiled_code): New function.
9350 (setup_ccl_program): When ccl_prog is invalid,
9352 (Fregister_code_conversion_map): New function.
9353 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
9355 * mule-ccl.h: Sync up with Emacs 21.0.90.
9356 (Fregister_ccl_program): export it.
9358 * redisplay-msw.c (separate_textual_runs):
9359 If ccl program is not valid, don't do ccl conversion.
9361 * redisplay-x.c (separate_textual_runs): Ditto.
9363 * file-coding.c (Fmake_coding_system):
9364 When type is ccl and value is vector, register it
9365 with a proper symbol. And checks whether the
9366 given ccl program is valid.
9367 (mule_decode): When calling ccl_driver, if src indicates
9368 NULL pointer, set an empty string instead.
9369 (mule_encode): Likewise.
9371 2000-10-11 Martin Buchholz <martin@xemacs.org>
9373 The following large batch of changes gets us back to a state of
9374 C++ compilability. Extbyte is now a char, which means that
9375 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
9377 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
9379 * sound.c (Fplay_sound): Type correctness.
9381 * select-x.c (hack_motif_clipboard_selection): Type correctness.
9382 (x_get_window_property): Type correctness.
9383 (receive_incremental_selection): unsigned char ==> Extbyte
9384 (selection_data_to_lisp_data): unsigned char ==> Extbyte
9385 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
9386 (Fx_store_cutbuffer_internal): Type correctness.
9388 * process-unix.c (try_to_initialize_subtty): Type correctness.
9390 * objects-x.c (x_print_color_instance): Type correctness.
9391 (x_print_font_instance): Type correctness.
9392 (x_list_fonts): SExtbyte ==> Extbyte.
9393 (valid_x_font_name_p): SExtbyte ==> Extbyte.
9394 (x_find_charset_font): SExtbyte ==> Extbyte.
9395 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
9396 (truename_via_XListFonts): SExtbyte ==> Extbyte.
9397 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
9400 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
9401 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
9402 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
9403 (BYTE_C0_P): Use bit ops for char-signedness safety.
9404 (BYTE_C1_P): Use bit ops for char-signedness safety.
9405 (CHARSET_BY_LEADING_BYTE):
9406 (CHARSET_BY_ATTRIBUTES):
9407 Always use inline function.
9408 Use type_checking_assert.
9411 * mule-charset.c (non_ascii_charptr_copy_char):
9412 Modify to work with both ASCII and non-ASCII characters.
9413 Improve docs and variable names.
9414 Replace over-clever fall-through switch with a simple loop.
9415 (Lstream_get_emchar_1):
9416 Replace over-clever fall-through switch with a simple loop.
9418 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9419 Warning suppression.
9421 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
9422 the return value of Lstream_getc, which could be EOF as well.
9424 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
9426 * lisp.h: Make Extbyte a char, not unsigned char, so that external
9427 APIs can be used on Extbytes without casts. Risky!
9431 * input-method-xlib.c (XIM_init_device):
9432 Use Xlib.h instead of IntrinsicP.h.
9433 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
9434 which will break in X11R7.
9435 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
9436 to call XRegisterIMInstantiateCallback with correct types.
9438 * gui-x.c (button_item_to_widget_value): Type correctness.
9440 * glyphs.c (bitmap_to_lisp_data): Type correctness.
9442 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
9443 (xbm_instantiate_1): Type correctness.
9444 (BUILD_GLYPH_INST): Type correctness.
9446 * fileio.c (Fsubstitute_in_file_name): Type correctness.
9449 (decode_coding_sjis):
9450 (decode_coding_big5):
9451 (decode_coding_ucs4):
9452 (decode_coding_utf8):
9453 (decode_coding_iso2022):
9454 (decode_coding_no_conversion):
9455 Make all decoding functions take an Extbyte * arg.
9456 (encode_coding_sjis):
9457 (encode_coding_big5):
9458 (encode_coding_ucs4):
9459 (encode_coding_utf8):
9460 (encode_coding_iso2022):
9461 (encode_coding_no_conversion):
9462 Make all encoding functions take a Bufbyte * arg.
9463 Use size_t instead of unsigned int for memory sizes.
9464 Only cast to unsigned char whenever dereferencing Extbyte *.
9466 * doc.c (unparesseuxify_doc_string): Type correctness.
9468 * console-x.c (split_up_display_spec):
9469 Rewrite without using details of internal string representation.
9470 (x_semi_canonicalize_device_connection): Type correctness.
9473 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
9474 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
9475 (HAVE_XFREE386): Removed.
9477 * buffer.h (DEC_CHARPTR): `const' correctness.
9478 (bufbyte_strcmp): New.
9479 (bufbyte_memcmp): New.
9481 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
9483 * buffer.h (XCHAR_OR_CHAR_INT):
9484 Always use inline function.
9485 Remove redundant type checking assert() - XINT will abort quite nicely.
9487 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9489 * search.c (Freplace_match): Set newtext to an empty string.
9491 2000-10-10 Martin Buchholz <martin@xemacs.org>
9493 * s/decosf1-3.h: Remove #include of stropts.h
9494 * s/ptx.h: Remove #include of stropts.h
9495 * s/usg5-4.h: Remove #include of stropts.h
9498 Use stropts.h, not sys/stropts.h.
9499 Use strtio.h, not sys/strtio.h.
9501 2000-10-04 Martin Buchholz <martin@xemacs.org>
9503 * XEmacs 21.2.36 is released.
9505 2000-09-21 Andy Piper <andy@xemacs.org>
9507 * glyphs-x.c (x_redisplay_widget): make sure non-structural
9508 changes still involve copying the widget tree.
9509 (update_widget_face): make sure a change is register in the widget
9510 tree. Call update_tab_widget_face appropriately.
9511 (update_tab_widget_face): ditto.
9512 (x_tab_control_redisplay): make sure non-structural changes still
9513 involve copying the widget tree.
9515 2000-08-31 Daiki Ueno <ueno@unixuser.org>
9517 * lread.c (locate_file): Check the path element is non-nil.
9519 2000-10-02 Martin Buchholz <martin@xemacs.org>
9521 * lisp.h: Warning suppression for SCO compilers.
9523 * redisplay-tty.c (reset_tty_modes): Fix crash.
9524 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
9526 2000-09-27 Martin Buchholz <martin@xemacs.org>
9528 Big signal/process handling overhaul. Bugs fixed:
9529 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
9530 M-x comint-kill-subjob should work for both values nil and t of
9531 process-connection-type. It was broken on most platforms.
9532 Testing on Irix and Cygwin still needed. Other plaforms tested.
9533 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
9534 * process-unix.c: Signal/Process handling overhaul.
9535 (pty_name): make 64 bytes, as `expect' does, for paranoia.
9536 (allocate_pty): Use all available modern methods of allocating
9537 ptys, falling back to old style BSD allocation as a last resort.
9538 Use allegedly more secure Unix98 pty allocation by default.
9539 (allocate_pty_the_old_fashioned_way): New. the last resort.
9540 (unix_create_process): Push ptem, ldterm, ttcompat where
9541 available. Autoconfiscate.
9542 (try_to_initialize_subtty): New.
9543 (unix_kill_child_process): Proper signal handling for ptys on most
9544 platforms, using special knowledge of AIX, BSD, etc...
9545 (unix_create_process): Always disconnect_controlling_terminal() for
9546 subprocesses, whether using ptys or not.
9547 * process.h: Remove old getpt-dependent PTY code.
9548 * process.c (Fprocess_send_signal): New, obvious generic function.
9549 (decode_signal): New.
9550 (Finterrupt_process):
9554 (Fcontinue_process):
9555 (Fsignal_process): Use decode_signal.
9556 (process_send_signal):
9557 Many docstring corrections.
9558 Allow any signal to be sent to a process object.
9559 * config.h.in: Add symbols for big signal/process overhaul.
9560 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
9561 * sysproc.h: Include process-related headers, where available:
9562 sys/stropts.h sys/strtio.h pty.h libutil.h
9570 Remove old S&M pty stuff.
9571 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
9572 * systty.h: Simplify cpp hackery, improve comments.
9573 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
9575 * editfns.c (Fformat_time_string):
9576 Be a little more paranoid with the return value of ctime.
9578 * fileio.c (check_executable):
9580 Use symbolic constants X_OK, W_OK.
9582 * console-x.c (split_up_display_spec): Fix a warning.
9584 2000-10-02 Martin Buchholz <martin@xemacs.org>
9586 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
9587 * ntproc.c (sys_spawnve): make_string ==> build_string
9588 Small clarity improvements.
9590 2000-09-30 Martin Buchholz <martin@xemacs.org>
9592 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
9594 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
9596 * config.h.in (HAVE_STRCASECMP): Remove.
9598 2000-09-29 Martin Buchholz <martin@xemacs.org>
9600 * redisplay-output.c (redisplay_output_pixmap):
9601 Cleaner and possibly more 64-bit correct code.
9603 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
9605 * dumper.c (pdump_load_finish): move restoration of
9606 `noninteractive1' to emacs.c (main_1).
9607 * emacs.c (main_1): protect LISP-visible command-line flags
9610 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
9612 * Makefile.in.in (versionclean): Use EXE_TARGET and
9613 DUMP_TARGET instead of literal program names.
9615 2000-09-20 Martin Buchholz <martin@xemacs.org>
9617 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
9619 2000-09-19 Martin Buchholz <martin@xemacs.org>
9621 * *: Spelling mega-patch
9623 2000-09-19 Martin Buchholz <martin@xemacs.org>
9625 * fns.c (bad_bad_turtle):
9626 Delete "Eek!" comment, since we fixed the bug to which it refers.
9628 2000-09-16 Martin Buchholz <martin@xemacs.org>
9630 * alloca.c: Replace REGISTER with register.
9632 2000-09-16 Daiki Ueno <ueno@unixuser.org>
9634 * file-coding.c (ucs_to_char): Use countof.
9636 2000-09-16 Martin Buchholz <martin@xemacs.org>
9638 * file-coding.c: (ucs_to_char):
9639 (complex_vars_of_file_coding):
9640 Use countof instead of sizeof.
9641 Use CHECK_NATNUM instead of CHECK_INT.
9643 * sysdep.c (strcasecmp): Remove.
9644 * device-x.c (ascii_strcasecmp): New.
9645 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
9646 Avoid using non-standard non-portable strcasecmp.
9648 2000-09-16 Martin Buchholz <martin@xemacs.org>
9650 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
9651 * font-lock.c: remove reference to emacsfns.h.
9652 * search.c: small doc improvement.
9653 * event-Xt.c: correct file names in comments.
9654 * console-x.h Correct file names in comments.
9655 * frame.c: Correct file names in comments.
9656 * event-stream.c: remove Energize from comments.
9658 2000-09-15 Martin Buchholz <martin@xemacs.org>
9660 * symeval.h (DEFERROR_STANDARD):
9663 (DEFSYMBOL_NO_DUMP):
9664 (DEFSYMBOL_MULTIWORD_PREDICATE):
9665 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
9667 The construct &##name is not sensible C.
9668 Fixes compilation errors with Unixware native compiler.
9670 2000-09-14 Martin Buchholz <martin@xemacs.org>
9672 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
9673 (next_frame_internal): Removed. We now just have next_frame.
9675 Write a simpler and cleaner one-pass algorithm.
9676 Remove called_from_delete_device arg and #ifdefed-out code.
9678 Renamed from prev_frame. Update callers.
9679 Cleaned up to have an analogous implementation to next_frame.
9680 (other_visible_frames_internal): Remove the
9681 called_from_delete_device bogus arg, and hence, remove this
9682 function. Just use other_visible_frames().
9684 * window.c (Fnext_window):
9686 Since next_frame() is guaranteed to return a frame, remove check
9687 for nil inserted in previous patch.
9690 Make code look more like Fnext_window.
9692 Respect the `console' arg when iterating through windows.
9693 Fixes bug: (get-buffer-window buffer t device) not respecting
9695 This function needs more work, as others have pointed out.
9697 * frame.h: Rename prev_frame to previous_frame.
9698 device_matches_console_spec no longer takes a `frame' arg.
9703 Use EMACS_BLOCK_SIGNAL instead of sigblock.
9704 From "Golubev I. N." <gin@mo.msk.ru>.
9706 * make-src-depend: Fix typo.
9708 2000-09-13 Martin Buchholz <martin@xemacs.org>
9710 * window.c (Fnext_window):
9711 next_frame() might return nil, not a frame.
9713 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
9715 * frame.c (next_frame_internal):
9716 We've passed a frame if we've passed its device.
9718 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
9719 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
9721 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
9723 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
9724 Allow option to suppress accelerators in menu/dialog items.
9725 (populate_or_checksum_helper): Pass dialog title through above.
9727 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
9729 * event-msw.c (mswindows_key_to_emacs_keysym):
9730 Add "pause" key, fix "menu" key.
9732 2000-09-09 Martin Buchholz <martin@xemacs.org>
9734 * eval.c (reinit_vars_of_eval):
9735 Increase max_lisp_eval_depth to 1000,
9736 required for thai-xtis.el to byte-compile under some circumstances.
9738 2000-09-04 Martin Buchholz <martin@xemacs.org>
9740 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
9743 2000-09-01 Martin Buchholz <martin@xemacs.org>
9745 * make-src-depend: Make the generated Makefiles smaller.
9747 * s/hpux.h (SETUP_SLAVE_PTY):
9748 Provide a %d in the format string for the errno argument.
9750 * editfns.c (Ftemp_directory):
9752 Avoid buffer overrun on very long file name.
9754 * input-method-xlib.c (XIM_init_device):
9755 6th parameter of XRegisterIMInstantiateCallback has different
9756 pointer types on different OSes, so simply cast to (void *).
9758 * unexhp9k800.c: Warning fixes. Fiddly changes.
9760 * sysdll.c (dll_open):
9761 shl_load will hang hard if passed a NULL filename.
9762 Simply return NULL for compatibility with dlopen.
9763 * sysdll.c: Conform to XEmacs coding standards.
9765 * sysdep.c (get_pty_max_bytes):
9766 Support pty input lines longer than 512 bytes on HP-UX 10.20.
9768 2000-08-31 Martin Buchholz <martin@xemacs.org>
9770 * tooltalk.c: Add #include <syssignal.h>
9772 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
9774 * s/hpux.h: Don't use undefined function sigunblock().
9776 2000-08-31 Martin Buchholz <martin@xemacs.org>
9778 * config.h.in: Add HAVE_BALLOON_HELP.
9779 * emacs.c: Use HAVE_BALLOON_HELP.
9780 * Makefile.in.in (x_objs):
9781 Make Balloon Help conditional on finding shape.h.
9783 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
9785 * syntax.c (regex_emacs_buffer_p): New variable.
9786 * syntax.h (regex_emacs_buffer_p): extern.
9787 * search.c (looking_at_1):
9789 (fast_string_match):
9790 (search_buffer): Set regex_emacs_buffer_p.
9791 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
9792 when before_dot, at_dot, after_dot.
9794 2000-08-23 Andy Piper <andy@xemacs.org>
9796 * gui-x.c (popup_selection_callback): Only set action_occurred
9797 when we really have an image instance.
9798 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
9800 2000-08-23 Andy Piper <andy@xemacs.org>
9802 * gui-msw.c (mswindows_handle_gui_wm_command): set
9804 * gui-x.c (popup_selection_callback): ditto.
9806 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
9807 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
9808 (struct Lisp_Image_Instance): add action_occurred flag.
9810 * glyphs.c (redisplay_subwindow): use action_occurred flag.
9811 (image_instance_changed): ditto.
9812 (reset_frame_subwindow_instance_cache): only unmap windows - do
9813 not remove them from the cache also.
9815 * glyphs-widget.c (tab_control_update): better debug.
9816 (progress_gauge_update): ditto.
9817 (layout_update): ditto.
9818 (layout_instantiate): ditto.
9819 (tab_control_order_only_changed): cope with null pending items.
9821 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
9822 debug. Force selection of an item when an action occurred. Cope
9823 with null pending_items.
9824 (mswindows_progress_gauge_redisplay): better debug.
9825 * glyphs-x.c (x_tab_control_redisplay): ditto.
9827 * redisplay.c (redisplay_frame): reset the frame cache if the
9830 * window.c (Fset_window_configuration): potentially re-enable
9832 (window_unmap_subwindows): need to finalize instances here since
9833 it is only used in mark_window_as_deleted.
9835 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
9837 * nas.c (SndOpenDataForReading):
9838 nas.c (WaveOpenDataForReading):
9839 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
9840 Somehow escaped from the 2000-08-14 patch.
9842 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
9844 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
9845 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
9847 2000-08-21 Andy Piper <andy@xemacs.org>
9849 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
9850 window if it is not already displayed.
9852 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
9853 it is not already displayed.
9855 * window.c (Fset_window_configuration): don't reset the frame
9858 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
9859 instances from the frame cache if we are actually finalizing them.
9860 (reset_frame_subwindow_instance_cache): reset frame cache only
9861 after unmapping everything.
9862 (map_subwindow): set displayed flag after mapping.
9864 2000-08-21 Martin Buchholz <martin@xemacs.org>
9866 * data.c (indirect_function):
9867 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
9869 * eval.c (function_argcount):
9870 Use original function when signaling errors.
9872 2000-08-18 Andy Piper <andy@xemacs.org>
9874 * frame.c (delete_frame_internal): use new
9875 free_frame_subwindow_instances name.
9877 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
9878 (add_tab_item): make return type correct.
9879 (mswindows_tab_control_instantiate): assert index of tab.
9880 (mswindows_tab_control_redisplay): Re-code to use
9881 gui_item_equal_sans_selected and gui_item_list_find_selected.
9883 * glyphs-widget.c (tab_control_update): Correct comment.
9885 * window.c (window_unmap_subwindows): use new
9886 unmap_subwindow_instance_cache_mapper.
9887 (window_unmap_subwindows_cache_mapper): deleted.
9888 (Fset_window_configuration): comparisons should now be with
9889 EQ. Preserve the subwindow instance cache across configuration
9891 (allocate_window): ditto.
9892 (make_dummy_parent): ditto.
9894 * glyphs.c (free_frame_subwindow_instances): rename from
9895 free_frame_subwindow_instance_cache. finalize all instances rather
9896 than just those in the display cache.
9897 (finalize_all_subwindow_instances): walk windows unmapping and
9898 finalizing subwindows.
9899 (unmap_subwindow_instance_cache_mapper): moved from
9900 window.c. Allow finalization as well as unmapping.
9902 * gui.c (gui_item_list_find_selected): new function.
9904 * gui.h (gui_item_list_find_selected): declare.
9906 * glyphs-x.c (x_tab_control_redisplay): pick tab
9907 explicitly. Re-code to use gui_item_equal_sans_selected and
9908 gui_item_list_find_selected.
9910 * glyphs-x.h: add lwlib-utils.h
9912 * buffer.c (Frecord_buffer): undo previous change.
9914 2000-08-09 Vin Shelton <acs@xemacs.org>
9916 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
9917 possible. Create temporary files more securely. The patch was
9918 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
9919 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
9920 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
9923 2000-08-07 Ben Wing <ben@xemacs.org>
9925 * getloadavg.c: remove duplicate (and windows-breaking)
9926 includes of fcntl.h and sys/file.h.
9928 * nt.c: remove duplicate getloadavg() definition.
9930 * sysdll.h (Qdll_filename_encoding): add missing stand-in
9933 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
9935 * eval.c (function_argcount): If function needs to be autoloaded
9936 actually use the loaded definition.
9939 2000-08-05 Ben Wing <ben@xemacs.org>
9941 * getloadavg.c: add prototype for getloadavg(). remove
9942 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
9943 of the code). remove duplicate header includes.
9945 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
9947 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
9948 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
9949 useful load average.
9951 * alloc.c (reinit_alloc_once_early): removed references to
9952 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
9953 the lisp vars are the only things referencing the malloc_sbrk_*
9954 vars, and they were already if 0'd out. these vars only exist
9955 in the older malloc.c, which is basically unused, and they're
9956 only for informational purposes.
9958 * m\*.h: removed useless VIRT_ADDR_VARIES.
9960 * m\powerpc.h: removed stray NO_ARG_ARRAY.
9962 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
9964 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
9965 color if the image is a mono pixmap.
9967 2000-07-30 Ben Wing <ben@xemacs.org>
9969 * Makefile.in.in (release):
9972 * buffer.c (directory_is_current_directory):
9973 * dired-msw.c (mswindows_get_files):
9975 * dired.c (Fdirectory_files):
9976 * dired.c (file_name_completion_stat):
9977 * dired.c (Ffile_attributes):
9978 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
9979 preprocessor tricks, to avoid problems on some machines
9982 * callproc.c (egetenv): GC docs.
9985 * console-msw.h (struct mswindows_dialog_id):
9986 * lrecord.h (lrecord_type):
9987 New object for use with MSW dialogs.
9989 * console.h (struct console_methods):
9990 New enable/disable frame methods, for proper modal dialogs.
9992 * device-msw.c (msprinter_default_printer): Fix to follow
9993 proper Mule conventions.
9996 * device-msw.c (signal_open_printer_error):
9997 * device-msw.c (msprinter_init_device):
9998 * device-msw.c (ensure_not_printing):
9999 * device-msw.c (plist_get_margin):
10000 * device-msw.c (Fmsprinter_select_settings):
10001 * device-msw.c (finalize_devmode):
10002 * device-msw.c (Fmsprinter_settings_despecialize):
10003 * device-msw.c (signal_enum_priner_error):
10004 * extents.c (decode_extent):
10005 * extents.c (decode_map_extents_flags):
10006 * extents.c (decode_extent_at_flag):
10007 * extents.c (Fextent_at):
10008 * extents.c (Fextents_at):
10009 * extents.c (symbol_to_glyph_layout):
10010 [[[[2]]]] Use structured errors.
10013 * dialog-msw.c (mswindows_is_dialog_msg):
10014 * dialog-msw.c (mark_mswindows_dialog_id):
10015 * dialog-msw.c (dialog_proc):
10016 * dialog-msw.c (handle_question_dialog_box):
10017 * dialog-msw.c (syms_of_dialog_mswindows):
10018 Define new object to clean up marking; use it as a dialog identifier.
10019 Call new delete-dialog-box-hook.
10021 * dialog-x.c (dbox_selection_callback):
10022 * dialog-x.c (dbox_descriptor_to_widget_value):
10023 * dialog-x.c (x_make_dialog_box_internal):
10024 Call new delete-dialog-box-hook.
10028 * dialog.c (syms_of_dialog):
10029 * dialog.c (vars_of_dialog):
10030 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
10033 * eval.c (signal_call_debugger):
10034 when noninteractive, output stack traces on the console instead
10035 of in a (never-seen) buffer.
10037 * eval.c (signal_type_error):
10038 * eval.c (invalid_argument_2):
10040 new funs for use w/structured errors.
10043 * event-Xt.c (x_to_emacs_keysym):
10044 * event-Xt.c (describe_event):
10045 * event-Xt.c (emacs_Xt_event_handler):
10046 * event-Xt.c (vars_of_event_Xt):
10048 * event-msw.c (mswindows_wnd_proc):
10049 * event-msw.c (vars_of_event_mswindows):
10050 rename {x,mswindows}-debug-events to debug-{}-events for
10051 consistency with other debug-foo variables.
10054 document next-event more clearly.
10056 * fileio.c (Ffile_name_directory):
10057 * fileio.c (Ffile_name_nondirectory):
10058 * fileio.c (Funhandled_file_name_directory):
10059 * fileio.c (file_name_as_directory):
10060 * fileio.c (Ffile_name_as_directory):
10061 * fileio.c (directory_file_name):
10062 * fileio.c (Fdirectory_file_name):
10063 * fileio.c (Fmake_temp_name):
10064 * fileio.c (Ffile_truename):
10065 * fileio.c (Fsubstitute_in_file_name):
10066 * fileio.c (expand_and_dir_to_file):
10067 * fileio.c (barf_or_query_if_file_exists):
10068 * fileio.c (check_executable):
10069 * fileio.c (Ffile_exists_p):
10070 * fileio.c (Ffile_writable_p):
10071 * fileio.c (Ffile_directory_p):
10072 * fileio.c (Ffile_regular_p):
10073 * fileio.c (Ffile_modes):
10074 * fileio.c (Ffile_newer_than_file_p):
10075 * fileio.c (Fverify_visited_file_modtime):
10076 * fileio.c (Fset_visited_file_modtime):
10077 * fileio.c (auto_save_1):
10082 * frame-msw.c (mswindows_init_frame_1):
10083 * frame-msw.c (mswindows_enable_frame):
10084 * frame-msw.c (error_frame_unsizable):
10085 * frame-msw.c (msprinter_init_frame_1):
10086 * frame-msw.c (msprinter_init_frame_3):
10087 * frame-msw.c (console_type_create_frame_mswindows):
10089 implement new enable/disable frame methods.
10092 * frame-x.c (x_enable_frame):
10093 * frame-x.c (console_type_create_frame_x):
10094 implement new enable/disable frame methods.
10097 * frame.c (Fdisable_frame):
10098 * frame.c (syms_of_frame):
10099 * frame.h (struct frame):
10100 implement new enable/disable frame methods/functions.
10105 * glyphs-msw.c (mswindows_widget_instantiate):
10106 comment that initial-focus should be implemented.
10109 * glyphs-widget.c (check_valid_instantiator):
10110 * glyphs-widget.c (check_valid_orientation):
10111 * glyphs-widget.c (check_valid_tab_orientation):
10112 * glyphs-widget.c (check_valid_justification):
10113 * glyphs-widget.c (check_valid_border):
10114 * glyphs-widget.c (check_valid_callback):
10115 * glyphs-widget.c (check_valid_int_or_function):
10116 * glyphs-widget.c (check_valid_string_or_vector):
10117 * glyphs-widget.c (check_valid_item_list_1):
10118 * glyphs-widget.c (widget_validate):
10119 * glyphs-widget.c (combo_box_validate):
10120 * glyphs-widget.c (widget_instantiate):
10121 * glyphs-widget.c (syms_of_glyphs_widget):
10122 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
10123 * glyphs-widget.c (image_instantiator_combo_box):
10124 * glyphs-widget.c (image_instantiator_scrollbar):
10125 * glyphs-widget.c (image_instantiator_tab_control):
10126 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
10128 support (unimplemented) keyword initial-focus.
10129 reindent long macros.
10131 * glyphs-x.c (x_redisplay_widget):
10132 * glyphs-x.c (x_button_instantiate):
10133 * glyphs-x.c (x_button_redisplay):
10134 * glyphs-x.c (x_progress_gauge_instantiate):
10135 * glyphs-x.c (x_edit_field_instantiate):
10136 * glyphs-x.c (x_combo_box_instantiate):
10137 * glyphs-x.c (x_tab_control_instantiate):
10138 * glyphs-x.c (x_label_instantiate):
10140 * gui-x.c (button_item_to_widget_value):
10141 * gui-x.c (gui_items_to_widget_values_1):
10142 * gui-x.c (gui_item_children_to_widget_values):
10143 * gui-x.c (gui_items_to_widget_values):
10145 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10146 add new flag to gui-parsing routines to indicate whether
10147 accelerator specs should be supported.
10149 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
10151 * glyphs.h (struct Lisp_Image_Instance):
10152 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
10153 add initial-focus flag.
10156 * gui.c (syms_of_gui):
10157 * gui.c (vars_of_gui):
10158 clean up menu-no-selection-hook.
10161 support delete-dialog-box-hook.
10163 * lread.c (Fload_internal):
10164 * lread.c (locate_file_in_directory_mapper):
10168 * lrecord.h (struct toolbar_button):
10169 * lrecord.h (syms_of_toolbar):
10170 document how to create a new object.
10172 * menubar-msw.c (mswindows_char_is_accelerator):
10173 may be called on frames w/o menus.
10175 * menubar.c (vars_of_menubar):
10176 clean up :filter docs.
10183 * process-nt.c (validate_signal_number):
10184 * process-nt.c (signal_cannot_launch):
10185 * process-nt.c (nt_create_process):
10186 * process-nt.c (nt_send_process):
10187 * process-nt.c (nt_kill_child_process):
10188 * process-nt.c (nt_open_network_stream):
10189 * process-nt.c (syms_of_process_nt):
10191 delete quote-handling. call new lisp code that does it better.
10193 * process-unix.c (connect_to_file_descriptor):
10194 * process-unix.c (allocate_pty):
10195 * process-unix.c (unix_send_process):
10196 * process-unix.c (unix_kill_child_process):
10197 * process-unix.c (unix_open_network_stream):
10198 * process-unix.c (unix_open_multicast_group):
10202 * process.c (Fstart_process_internal):
10203 (2). need to canonicalize process path even if absolute.
10205 * select-msw.c (symbol_to_ms_cf):
10206 * select-msw.c (ms_cf_to_symbol):
10207 * select-msw.c (cf_is_autofreed):
10208 * select-msw.c (mswindows_destroy_selection):
10210 * select.c (syms_of_select):
10212 support dibv5, fix bugs. (from Mike Alexander)
10214 * select.c (Fget_selection_internal):
10215 * select.c (select_convert_out):
10218 * sysdep.c (xemacs_stat):
10221 * sysdep.c (mkdir):
10222 * sysdep.c (rmdir):
10223 but keep original stat() here because we provide encapsulation
10227 * sysfile.h (fstat):
10228 remove stat garbage.
10231 fix X/MSW conflict.
10232 don't include tchar.h. it's inappropriate because it makes
10233 compile-time distinctions when we want runtime distinctions.
10234 (we provide our own tchar replacements)
10237 use default object printer for toolbar-button.
10240 make sure we don't encapsulate.
10242 * window.c (vars_of_window):
10243 emphasize that temp-buffer-show-hook is obsolete.
10245 2000-08-05 Martin Buchholz <martin@xemacs.org>
10247 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
10248 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
10250 * events.c (Fevent_timestamp_lessp):
10251 Not 64-bit clean. Use EMACS_INT, not int.
10253 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
10255 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
10256 unsigned int and changed the last enum to
10257 lrecord_type_last_built_in_type.
10258 (lrecord_implementations_table): changed prototype to know how
10259 long the array is supposed to be.
10260 (lrecord_type_count): new unsigned int to keep track of the
10261 current number of lisp lrecord types.
10262 (DEFINE_EXTERNAL_LRECORD):
10263 (DECLARE_EXTERNAL_LRECORD): Added these two for external
10264 dynamic-modules to declare new lisp types. They are the same
10265 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
10266 int for each new type, and increment lrecord_type_count by 1.
10268 * alloc.c (lrecord_implementations_table): Changed to reference
10269 lrecord_type_last_built_in_type for the size of the array.
10270 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
10272 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
10274 * glyphs.h (check_valid_item_list): Renamed from
10275 check_valid_item_list_1.
10277 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
10279 * select.c (Qselect_coerce): New.
10280 * select.c (Vselection_coercion_alist): New.
10281 * select.c (syms_of_select): Declare.
10282 * select.c (get-selection-internal): Use it.
10283 Use the new select-coerce functionality.
10285 * select.c (select_coerce): New.
10286 * select.h (select_coerce): Declare.
10287 New function to coerce one type of data into another.
10289 2000-08-03 Martin Buchholz <martin@xemacs.org>
10291 * callproc.c (Fcall_process_internal):
10292 (Fcall_process_internal):
10293 * process-unix.c (unix_create_process):
10294 Save and restore the value of errno, so that error messages are accurate.
10296 2000-08-01 Martin Buchholz <martin@xemacs.org>
10298 * elhash.c (print_hash_table):
10299 Fix printing of hash tables to also use `key-and-value' instead of `t'.
10300 Prettify docstrings and indentation.
10302 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
10304 * window.c (Fwindow_pixel_edges): Subtract frame border and
10307 2000-07-31 Andy Piper <andy@xemacs.org>
10309 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
10310 will acknowledge the change.
10312 * glyphs.h: declare tab_control_order_only_changed.
10314 * glyphs-x.c (x_tab_control_redisplay): use
10315 tab_control_order_only_changed.
10317 * glyphs-widget.c (tab_control_order_only_changed): new function.
10319 * glyphs-msw.c (mswindows_tab_control_redisplay): use
10320 tab_control_order_only_changed.
10322 * gui.c (gui_item_equal_sans_selected): new function.
10323 (gui_item_equal): use it.
10325 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
10326 :properties in favor of :items..
10328 * glyphs-widget.c (check_valid_item_list): rename from
10329 check_valid_item_list_1.
10330 (check_valid_item_list_1): renamed.
10331 (combo_box_validate): deprecate :properties in favor of :items.
10332 (widget_instantiate): ditto.
10333 (tab_control_update): ditto.
10334 (image_instantiator_combo_box): ditto.
10335 (image_instantiator_tree_view): ditto.
10336 (image_instantiator_tab_control): ditto.
10337 (layout_post_instantiate): remove dead code.
10339 * print.c (debug_print_no_newline): only write to debugger if in
10342 * elhash.c (Fmake_hash_table): update doc string.
10344 * event-msw.c (mswindows_wnd_proc): don't allow processing of
10345 messages whilst in GC. This at least stops XEmacs crashing but has
10346 the potential for wierd behaviour.
10348 2000-07-31 Martin Buchholz <martin@xemacs.org>
10351 Make existence of s&m files optional.
10353 * s/bsd386.h: Remove HAVE_GETLOADAVG.
10354 * s/freebsd.h: Remove HAVE_GETLOADAVG.
10355 * s/gnu.h: Remove HAVE_GETLOADAVG.
10356 * s/netbsd.h: Remove HAVE_GETLOADAVG.
10357 * s/sol2.h: Remove HAVE_GETLOADAVG.
10358 * lisp.h: Remove getloadavg() declaration.
10360 Include <sys/loadavg.h> if available.
10361 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
10362 * config.h.in: Group together getloadavg()-related macros.
10363 Use only configure-time tests to detect getloadavg().
10365 2000-07-30 Martin Buchholz <martin@xemacs.org>
10367 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
10369 2000-07-25 Andy Piper <andy@xemacs.org>
10371 * syswindows.h: add tchar.h for native builds.
10373 * frame.c (syms_of_frame): remove set-glyph-image.
10375 * general-slots.h: add Qset_glyph_image.
10377 * glyphs-widget.c (layout_update): add domain arg to
10379 (syms_of_glyphs_widget): remove set-glyph-image.
10381 2000-07-23 Ben Wing <ben@xemacs.org>
10383 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
10386 2000-07-22 Andy Piper <andy@xemacs.org>
10388 * symsinit.h: add syms_of_win32().
10390 * gui-msw.c (syms_of_gui_mswindows): remove
10391 Fmswindows_shell_execute.
10392 (Fmswindows_shell_execute): moved to win32.c.
10394 * emacs.c (main_1): add syms_of_win32 ().
10396 * win32.c (init_potentially_nonexistent_functions): rewrite in
10397 compiler-friendly terms.
10398 (Fmswindows_shell_execute): move here from gui-msw.c.
10399 (syms_of_win32): new.
10401 * device-msw.c (Fmswindows_printer_list): clean up args to
10403 Don't include tchar under cygwin or mingw.
10404 (msprinter_default_printer): make cygwin-friendly.
10406 2000-07-21 Andy Piper <andy@xemacs.org>
10408 * glyphs-widget.c (image_instantiator_tree_view): use tab
10409 control's update function.
10410 (layout_property): new function. Retrieve items.
10412 * glyphs-msw.c (mswindows_tree_view_redisplay): new
10413 function. Re-populate the tree view from the pending items.
10415 * glyphs.c (instantiate_image_instantiator): Make sure the domain
10416 is designated the parent if the domain is an image instance. This
10417 is needed so that dirtiness can be cascade up the hierarchy and
10418 thus for layout children to be redisplayed correctly.
10419 (allocate_image_instance): rename glyph -> parent.
10421 * redisplay.h: change redisplay_output_layout signature.
10423 * redisplay-msw.c (mswindows_output_display_block): use domain
10426 * redisplay-x.c (x_output_display_block): use domain arg.
10428 2000-07-10 Andy Piper <andy@xemacs.org>
10430 * window.c (Fset_window_configuration): add comment.
10432 * redisplay-output.c (compare_runes):
10433 (redisplay_output_subwindow): redisplay rather than update subwindow.
10434 (redisplay_output_layout): ditto.
10436 * redisplay-msw.c (mswindows_frame_output_end):
10437 (mswindows_frame_output_end): make defer window pos optional.
10439 * lisp.h: add Flast.
10441 * glyphs.h (struct image_instantiator_methods): add dest_mask top
10442 normalize method. Change update method to be for changed
10443 instantiators. Add redisplay method. Change signature of layout
10445 (struct Lisp_Image_Instance): add instantiator.
10446 (IMAGE_INSTANCE_INSTANTIATOR): new.
10447 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
10448 (XIMAGE_INSTANCE_INSTANTIATOR): new.
10449 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
10452 (find_instantiator_differences): new function.
10453 (Fset_instantiator_property): new convenience function.
10454 (check_image_instance_structure): strictly check for vector
10456 (normalize_image_instantiator): make non-static.
10457 (instantiate_image_instantiator): pass on dest_mask and use new
10458 signatures for image_instance_layout and friends.
10459 (mark_image_instance): mark the instantiator. Mark the subwindow
10460 face not the widget face.
10461 (image_instance_equal): add instantiator.
10462 (image_instance_hash): ditto.
10463 (allocate_image_instance): ditto.
10464 (Fset_image_instance_property): removed.
10465 (Fimage_instance_file_name): ditto.
10466 (Fcolorize_image_instance): ditto.
10467 (image_instance_layout): add offsets to be set.
10468 (update_image_instance): new function. update an image instance
10469 from its changed instantiator.
10470 (inherit_normalize): add dest_mask.
10471 (xbm_normalize): ditto.
10472 (xface_normalize): ditto.
10473 (xpm_normalize): ditto.
10474 (text_update): set_property -> update.
10475 (image_instantiate): use the glyph identity as a hash key, not the
10477 (glyph_width): use new image_instance_layout signature.
10478 (glyph_ascent): ditto.
10479 (glyph_descent): ditto.
10480 (glyph_height): ditto.
10481 (glyph_query_geometry): ressurrect.
10482 (glyph_layout): ditto.
10483 (redisplay_subwindow): update -> redisplay.
10484 (syms_of_glyphs): add Fset_instantiator_property.
10485 (image_instantiator_format_create): set_property -> update.
10488 (autodetect_normalize): add dest_maks to signature.
10489 (x_redisplay_subwindow): update -> redisplay.
10490 (x_redisplay_widget): ditto.
10491 (x_button_redisplay): ditto.
10492 (x_progress_gauge_redisplay): ditto.
10493 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
10495 (console_type_create_glyphs_x): update -> redisplay.
10496 (image_instantiator_format_create_glyphs_x): ditto.
10499 (check_valid_instantiator): disallow glyphs in the instantiator,
10500 they must now be vectors.
10501 (check_valid_instantiator_list): ditto.
10502 (glyph_instantiator_to_glyph): use internal symbol rather than
10504 (widget_update): renamed from widget_set_property. Call cascaded
10506 (redisplay_widget): renamed from update_widget.
10507 (widget_layout): image_instance_layout now takes position as well
10509 (widget_normalize): ditto.
10510 (widget_instantiate): ditto.
10511 (tab_control_query_geometry) ditto.:
10512 (tab_control_update): renamed from tab_control_set_property.
10513 (progress_gauge_update): set_property -> update.
10514 (layout_normalize): rewrite so that child instantiators are
10516 (layout_update): new function. Create glyphs from the normalized
10517 children and cope with any other layout keywords. We do not
10518 instantiate children here that will be take care of by
10519 redisplay_output_layout.
10520 (layout_instantiate): call layout_update and not much else.
10521 (layout_post_instantiate): not sure whether this is needed
10523 (layout_query_geometry): query glyph geometry rather than
10524 image_instance geometry.
10525 (layout_layout): set offsets from pass in parameters. Use glyph
10526 geometry and layout functions rather than image instance ones.
10527 (native_layout_layout): ditto.
10528 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
10529 (image_instantiator_widget): set_property -> update.
10530 (image_instantiator_buttons): ditto.
10531 (image_instantiator_progress_guage): ditto.
10532 (image_instantiator_tab_control): ditto.
10533 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
10534 (image_instantiator_layout): add update method.
10536 * glyphs-msw.c (bmp_normalize):
10537 (mswindows_resource_normalize): add dest_mask so that it can be
10538 proprogated by layout_normalize.
10539 (begin_defer_window_pos): make optional because it may not be the
10540 right thing to do and it introduces differences with X.
10541 (mswindows_unmap_subwindow): ditto.
10542 (mswindows_map_subwindow): ditto.
10543 (mswindows_redisplay_subwindow): renamed from
10544 mswindows_update_subwindow.
10545 (mswindows_redisplay_widget): ditto.
10546 (mswindows_button_redisplay): renamed from
10547 mswindows_button_update. Update is now what the instantiation
10548 function does for a changed instantiator.
10549 (mswindows_progress_gauge_instantiate): set the progress value
10550 here if appropriate.
10551 (mswindows_tab_control_redisplay): cope with re-ordering of the
10552 members of the tab widget by simply selecting the new top
10553 widget. This makes things appear ok if you click on a tab.
10554 (mswindows_combo_box_instantiate): image_instance_layout now takes
10555 position as well as size.
10556 (mswindows_progress_gauge_redisplay): renamed from
10557 mswindows_progress_gauge_update.
10558 (console_type_create_glyphs_mswindows): fix update -> redisplay.
10559 (image_instantiator_format_create_glyphs_mswindows): ditto.
10561 * glyphs-eimage.c (jpeg_normalize):
10564 (tiff_normalize): add dest_mask so that it can be proprogated by
10568 (print_hash_table):
10569 (hash_table_weakness_validate):
10570 (decode_hash_table_weakness):
10571 (Fhash_table_weakness):
10572 (Fhash_table_type):
10573 (syms_of_elhash): use Ben's naming scheme for hashtable types..
10575 * console.h (struct console_methods): move update_* to
10578 2000-07-20 Ben Wing <ben@xemacs.org>
10580 * *.[ch] (XSETOBJ): remove unused middle argument.
10581 lisp-disunion.h: correct wrap_object() to one argument.
10583 2000-07-15 Ben Wing <ben@xemacs.org>
10586 * s/cygwin32.h (CYGWIN_CONV_PATH):
10587 Add missing logb prototype for v1.1.
10588 Use post-b20 names and alias to pre-b20 names when pre-b20.
10590 * s/windowsnt.h: [5].
10592 2000-07-15 Ben Wing <ben@xemacs.org>
10594 * Makefile.in.in (x_objs):
10595 * Makefile.in.in (sheap_objs):
10596 * Makefile.in.in (objs):
10597 added win32.o, cosmetic cleanups.
10599 * alloc.c (Fmake_byte_code):
10600 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
10601 etc. macros which declare their own args now.
10603 * alloc.c (syms_of_alloc):
10604 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
10607 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
10609 * buffer.c (Fget_file_buffer):
10610 Fixed GCPRO problem.
10612 * buffer.c (get_truename_buffer):
10613 Fixed comment about GC checking.
10615 * buffer.c (syms_of_buffer):
10616 Undeclared those dedicated frame funs.
10620 Define convenience macros for internal/external conversions.
10621 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
10622 and Qenvironment_variable_encoding for cleaner code.
10625 Remove dedicated-frame; in lisp.
10627 * bytecode.c (funcall_compiled_function):
10630 * bytecode.c (syms_of_bytecode):
10634 * console-msw.c (mswindows_show_console): Rewrote.
10636 * console-msw.c (Fmswindows_debugging_output): New.
10637 Sends to OutputDebugString (special MSWin debugger interface).
10639 * console-msw.c (Fmswindows_message_box):
10640 Fixed stupid bugs so it works when called from kill-emacs.
10642 * console-msw.c (syms_of_console_mswindows):
10643 Declare Fmswindows_debugging_output.
10646 New MSWin prototypes.
10648 * console-msw.h (struct mswindows_frame):
10649 New entry last-click-mods for improved button-modifier support.
10651 * console-msw.h (FRAME_MSWINDOWS_POPUP):
10652 New struct entry `popup' with corresponding accessor.
10655 * console-x.c (split_up_display_spec):
10656 * console-x.c (get_display_arg_connection):
10657 * console-x.c (x_semi_canonicalize_console_connection):
10658 * console-x.c (x_canonicalize_device_connection):
10659 [[[6]]]: Change char to more specific type.
10660 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
10662 * console-x.c (x_semi_canonicalize_console_connection):
10663 * console-x.c (x_canonicalize_device_connection):
10664 [[[9]]]: Fix up error signalling to use new structured error system.
10667 [[[4]]]: Define codesys aliases:
10668 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
10669 Qx_color_name_encoding, Qx_display_name_encoding.
10671 * console.h (struct console_methods):
10672 New method make_dialog_box_internal supersedes older
10673 popup_dialog_box method.
10676 Define many new errors, part of new structured errors.
10678 * data.c (init_errors_once_early):
10679 * data.c (syms_of_data):
10682 * device-msw.c (mswindows_init_device):
10683 [[[5]]]: Cleanup to support NT 3.51.
10685 * device-msw.c (decode_devmode): Cleanup.
10687 * device-msw.c (mswindows_handle_print_setup_dialog_box):
10688 * device-msw.c (mswindows_handle_print_dialog_box):
10689 * device-msw.c (mswindows_handle_page_setup_dialog_box):
10690 * device-msw.c (syms_of_device_mswindows):
10691 Delete the dialog box primitives recently introduced by Kirill and
10692 instead interface to general dialog box interface.
10695 * device-x.c (compute_x_app_name):
10696 * device-x.c (x_init_device):
10697 * device-x.c (Fx_valid_keysym_name_p):
10698 * device-x.c (Fx_set_font_path):
10702 * device.h (wrap_device): New.
10703 First of its kind; meant to replace XSETDEVICE.
10705 * dialog-msw.c: Many file-dialog symbols.
10707 * dialog-msw.c (mswindows_register_popup_frame): New.
10708 * dialog-msw.c (mswindows_is_dialog_msg): New.
10709 For supporting kbd traversal in dialog boxes.
10711 * dialog-msw.c (dialog_proc):
10712 Support hitting ESC in dialogs.
10714 * dialog-msw.c (struct):
10715 Common dialog box errors.
10717 * dialog-msw.c (handle_file_dialog_box): New.
10718 Add file dialog code.
10720 * dialog-msw.c (handle_question_dialog_box):
10721 Redo existing code to support new question dialog syntax.
10723 * dialog-msw.c (console_type_create_dialog_mswindows):
10724 We support new dialog console method.
10726 * dialog-msw.c (syms_of_dialog_mswindows):
10727 * dialog-msw.c (vars_of_dialog_mswindows):
10728 New file dialog symbols, vars.
10731 * dialog-x.c (maybe_run_dbox_text_callback):
10732 * dialog-x.c (dbox_descriptor_to_widget_value):
10733 * dialog-x.c (x_make_dialog_box_internal):
10734 * dialog-x.c (console_type_create_dialog_x):
10735 Mule-ize entire file.
10736 Redo to support question dialog syntax.
10740 * dialog.c (Fmake_dialog_box_internal):
10741 * dialog.c (syms_of_dialog):
10742 Kill old popup-dialog-box, replace with new primitive.
10743 Just call device method or signal error.
10745 * eldap.c (Fldap_open):
10746 * eldap.c (Fldap_search_basic):
10747 * eldap.c (Fldap_add):
10748 * eldap.c (Fldap_modify):
10753 * emacs.c (make_arg_list_1):
10754 * emacs.c (make_arg_list):
10755 Mule-ize call to dll_init().
10759 * emacs.c (make_argc_argv):
10760 * emacs.c (free_argc_argv):
10761 * emacs.c (init_cmdargs):
10762 * emacs.c (main_1):
10763 * emacs.c (Fkill_emacs):
10764 * emacs.c (Fdump_emacs):
10765 Update comments about what can be used in syms_* etc.
10766 Call init_win32() when necessary.
10767 Fix up MS Win dialog box in kill-buffer to actually work right.
10778 * eval.c (condition_case_3):
10780 * eval.c (function_argcount):
10781 * eval.c (funcall_lambda):
10784 * eval.c (type_error): New.
10785 * eval.c (maybe_type_error): New.
10786 * eval.c (continuable_type_error): New.
10787 * eval.c (maybe_continuable_type_error): New.
10788 * eval.c (type_error_with_frob): New.
10789 * eval.c (maybe_type_error_with_frob): New.
10790 * eval.c (continuable_type_error_with_frob): New.
10791 * eval.c (maybe_continuable_type_error_with_frob): New.
10792 New functions for use with structured errors.
10795 * event-Xt.c (x_event_to_emacs_event):
10796 Buttons are now modifiers too.
10798 * event-Xt.c (emacs_Xt_current_event_timestamp):
10799 Implement new event method.
10800 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
10803 * event-msw.c (ntpipe_shove_writer): [5].
10804 * event-msw.c (mswindows_enqueue_mouse_button_event):
10805 * event-msw.c (mswindows_drain_windows_queue):
10806 * event-msw.c (mswindows_wnd_proc): [7].
10807 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
10808 * event-msw.c (mswindows_modifier_state):
10809 Throughout: support new button modifiers.
10811 * event-msw.c (emacs_mswindows_current_event_timestamp):
10812 Implement new event method.
10813 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
10816 * event-stream.c (event_stream_current_event_timestamp): New.
10817 * event-stream.c (maybe_kbd_translate): New functionality.
10818 * event-stream.c (vars_of_event_stream):
10819 Document new kbd-translate-table functionality.
10821 * event-stream.c (Fcurrent_event_timestamp): New.
10822 New primitive for use in fabricated events.
10823 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
10825 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
10828 * events.c (Fmake_event):
10829 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
10833 * events.c (format_event_object): fix gcc warnings.
10835 * events.c (Fevent_timestamp): Document new primitives.
10837 * events.c (TIMESTAMP_HALFSPACE): New.
10839 * events.c (Fevent_timestamp_lessp): New. New primitive for
10840 comparing timestamps correctly (half-space algorithm).
10842 * events.c (Fevent_modifier_bits): Doc fix.
10844 * events.c (Fevent_modifiers): Major doc addition.
10845 * events.c (event_x_y_pixel_internal): Typo fix.
10846 * events.c (syms_of_events): Declare new primitives.
10849 Update long comment for button modifiers, timestamps.
10851 * events.h (struct event_stream):
10852 New current_event_timestamp method.
10855 * extents.c (extent_in_region_p):
10856 * extents.c (decode_extent):
10857 * extents.c (Fset_extent_parent):
10858 * extents.c (decode_map_extents_flags):
10862 * extents.c (struct extent_at_arg):
10863 * extents.c (decode_extent_at_flag):
10864 * extents.c (extent_at_mapper):
10865 * extents.c (extent_at_bytind):
10866 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
10867 * extents.c (Fextents_at): New primitive. [9].
10868 * extents.c (symbol_to_glyph_layout): [9].
10869 Support new primitive `extents-at'.
10872 * extents.c (get_text_property_bytind):
10873 extent_at_bytind has another arg.
10876 * extents.c (syms_of_extents): New primitive.
10878 * file-coding.c (Fmake_coding_system): [1].
10879 * file-coding.c (subsidiary_coding_system): fix gcc warning
10880 * file-coding.c (syms_of_file_coding): [2].
10882 * fileio.c (Fexpand_file_name):
10883 * fileio.c (Fsysnetunam):
10884 * fileio.c (Ffile_exists_p):
10885 * fileio.c (Ffile_executable_p):
10886 * fileio.c (Fverify_visited_file_modtime):
10889 * fileio.c (syms_of_fileio): [2].
10891 * filelock.c (lock_file_1):
10892 * filelock.c (current_lock_owner):
10893 * filelock.c (lock_if_free):
10894 * filelock.c (lock_file):
10895 * filelock.c (unlock_file):
10898 * fns.c (concat): Fix gcc warning.
10901 * fns.c (Fold_member):
10903 * fns.c (Fold_memq):
10904 * fns.c (memq_no_quit):
10906 * fns.c (Fold_assoc):
10908 * fns.c (Fold_assq):
10909 * fns.c (assq_no_quit):
10911 * fns.c (Fold_rassoc):
10913 * fns.c (Fold_rassq):
10914 * fns.c (rassq_no_quit):
10916 * fns.c (Fold_delete):
10918 * fns.c (Fold_delq):
10919 * fns.c (delq_no_quit):
10920 * fns.c (Fremassoc):
10921 * fns.c (Fremassq):
10922 * fns.c (remassq_no_quit):
10923 * fns.c (Fremrassoc):
10924 * fns.c (Fremrassq):
10925 * fns.c (remrassq_no_quit):
10926 * fns.c (Freverse):
10930 * frame-msw.c (mswindows_init_frame_1):
10931 * frame-msw.c (mswindows_delete_frame):
10932 Register popups with dialog code so keyboard traversing works.
10934 * frame-tty.c (tty_raise_frame_no_select): [1].
10937 * frame-x.c (x_set_frame_text_value):
10938 * frame-x.c (x_set_frame_properties):
10939 * frame-x.c (x_create_widgets):
10943 * frame.c (Fmouse_pixel_position): Minor doc fixes.
10945 * frame.h (wrap_frame): New.
10946 Macro like wrap_device.
10949 * general.c (SYMBOL):
10950 * general.c (syms_of_general):
10951 Major reorg. This is now just a wrapper and symbols themselves
10952 are listed in general-slots.h.
10954 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
10955 * glyphs-msw.c (mswindows_resource_instantiate): [5].
10957 * glyphs-msw.c (mswindows_native_layout_instantiate):
10958 Add DS_CONTROL so keyboard traversal will work.
10961 * glyphs-widget.c (syms_of_glyphs_widget):
10962 Move some symbols to general-slots.h.
10965 * glyphs-x.c (xbm_instantiate_1):
10966 * glyphs-x.c (x_xbm_instantiate):
10967 * glyphs-x.c (x_xface_instantiate):
10968 * glyphs-x.c (autodetect_instantiate):
10969 * glyphs-x.c (cursor_font_instantiate):
10970 * glyphs-x.c (x_update_widget):
10971 * glyphs-x.c (x_widget_instantiate):
10972 * glyphs.c (bitmap_to_lisp_data):
10973 * glyphs.c (pixmap_to_lisp_data):
10976 * glyphs.c (syms_of_glyphs):
10980 * gui-x.c (print_widget_value):
10981 * gui-x.c (menu_separator_style_and_to_external):
10982 * gui-x.c (add_accel_and_to_external):
10983 * gui-x.c (button_item_to_widget_value):
10984 * gui-x.c (gui_items_to_widget_values_1):
10985 * gui-x.c (gui_items_to_widget_values):
10986 * gui-x.c (syms_of_gui_x):
10987 * gui-x.c (vars_of_gui_x):
10988 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
10992 Muleize, prototype changes matching gui-x.c.
10995 * gui.c (separator_string_p):
10996 * gui.c (gui_item_add_keyval_pair):
10997 * gui.c (make_gui_item_from_keywords_internal):
10998 * gui.c (signal_too_long_error):
10999 * gui.c (parse_gui_item_tree_item):
11000 * gui.c (syms_of_gui):
11001 * gui.c (vars_of_gui):
11003 menu-no-selection-hook moved here (used by MSWin).
11004 Move some symbols to general-slots.h.
11008 * insdel.c (get_buffer_pos_char):
11009 * insdel.c (get_buffer_range_char):
11012 * keymap.c (keymap_lookup_directly):
11013 * keymap.c (keymap_store):
11014 * keymap.c (ensure_meta_prefix_char_keymapp):
11015 * keymap.c (describe_map):
11017 Support new button modifiers.
11019 * lisp-disunion.h (wrap_object):
11020 * lisp-disunion.h (XSETOBJ):
11021 Rename make_obj to wrap_object.
11024 * lisp-union.h (make_int):
11025 * lisp-union.h (make_char):
11026 Support wrap_object.
11029 * lisp.h (LIST_LOOP):
11030 * lisp.h (EXTERNAL_LIST_LOOP):
11031 * lisp.h (LIST_LOOP_2):
11032 * lisp.h (EXTERNAL_LIST_LOOP_1):
11033 * lisp.h (EXTERNAL_LIST_LOOP_2):
11034 * lisp.h (EXTERNAL_LIST_LOOP_3):
11035 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
11036 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
11037 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
11038 * lisp.h (EXTERNAL_ALIST_LOOP_5):
11039 * lisp.h (EXTERNAL_ALIST_LOOP_6):
11040 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
11041 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
11042 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
11043 * lisp.h (struct Lisp_Symbol):
11044 * lisp.h (maybe_continuable_error_with_frob):
11045 Fix up section comments.
11046 Add new types for char to indicate usage.
11047 Delete symbols auto-generated from general-slots.h.
11048 Add prototypes for structured error functions.
11049 Add long comments describing looping macros and change interface
11050 so that lvalues are automatically declared.
11051 Add NO_DECLARE macro in case callers want to declare lvalues
11054 * lread.c (read_syntax_error):
11055 * lread.c (continuable_read_syntax_error):
11056 * lread.c (read_structure):
11057 * lread.c (sequence_reader):
11058 * lread.c (read_list_conser):
11059 * lread.c (read_compiled_function):
11060 Rename syntax_error and continuable_syntax_error to avoid clash
11061 with same-named structured error functions.
11063 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11064 * menubar-msw.c (populate_menu_add_item):
11065 * menubar-msw.c (populate_or_checksum_helper):
11070 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11071 Mule-ize whole file.
11073 * menubar.c (Fnormalize_menu_item_name): Add optimization.
11075 * mule-charset.c (Fmake_charset):
11076 * mule-wnnfns.c (Fwnn_set_param):
11079 * ntproc.c (create_child):
11080 * ntproc.c (Fwin32_set_current_locale):
11081 Add comments portending doom.
11084 * objects-msw.c (old_font_enum_callback_2):
11085 * objects-msw.c (font_enum_callback_1):
11086 * objects-msw.c (mswindows_enumerate_fonts):
11090 * objects-x.c (allocate_nearest_color):
11091 * objects-x.c (x_parse_nearest_color):
11092 * objects-x.c (x_initialize_color_instance):
11093 * objects-x.c (x_print_color_instance):
11094 * objects-x.c (x_finalize_color_instance):
11095 * objects-x.c (x_valid_color_name_p):
11096 * objects-x.c (x_initialize_font_instance):
11097 * objects-x.c (x_print_font_instance):
11098 * objects-x.c (valid_x_font_name_p):
11099 * objects-x.c (truename_via_FONT_prop):
11100 * objects-x.c (truename_via_random_props):
11101 * objects-x.c (truename_via_XListFonts):
11102 * objects-x.c (x_font_truename):
11103 * objects-x.c (x_font_instance_truename):
11104 * objects-x.c (x_font_instance_properties):
11105 * objects-x.c (x_list_fonts):
11106 * objects-x.c (x_find_charset_font):
11107 Mule-ize entire file.
11114 * print.c (std_handle_out_external):
11115 * print.c (debug_print_no_newline):
11116 * print.c (syms_of_print):
11117 Output to all debugger kinds in debug-print.
11118 Fix console-output code under MSWin to actually work.
11120 * process-nt.c (send_signal):
11121 * process-nt.c (nt_create_process):
11122 Use newer Unicode macros.
11124 * process-unix.c (unix_create_process):
11125 * process-unix.c (unix_canonicalize_host_name):
11126 * process-unix.c (unix_open_network_stream):
11132 * search.c (syms_of_search):
11135 * select-msw.c (mswindows_destroy_selection):
11138 * select-x.c (symbol_to_x_atom):
11141 * select.c (syms_of_select):
11144 * sound.c (Fplay_sound_file):
11148 * specifier.c (decode_specifier_type):
11149 * specifier.c (Fvalid_specifier_locale_type_p):
11150 * specifier.c (check_valid_locale_or_locale_type):
11151 * specifier.c (decode_locale):
11152 * specifier.c (decode_locale_type):
11153 * specifier.c (decode_locale_list):
11154 * specifier.c (check_valid_domain):
11155 * specifier.c (decode_specifier_tag_set):
11156 * specifier.c (Fcanonicalize_tag_set):
11157 * specifier.c (Fdefine_specifier_tag):
11158 * specifier.c (Fspecifier_tag_predicate):
11159 * specifier.c (check_valid_inst_list):
11160 * specifier.c (check_valid_spec_list):
11161 * specifier.c (decode_how_to_add_specification):
11162 * specifier.c (check_modifiable_specifier):
11163 * specifier.c (specifier_add_spec):
11164 * specifier.c (boolean_validate):
11165 * specifier.c (display_table_validate):
11168 * specifier.c (syms_of_specifier):
11169 Move some symbols to general-slots.h.
11173 * symbols.c (Fmapatoms):
11174 * symbols.c (Fapropos_internal):
11177 * symbols.c (set_default_buffer_slot_variable):
11178 * symbols.c (set_default_console_slot_variable):
11181 * symbols.c (defsymbol_massage_name_1):
11182 * symbols.c (defkeyword_massage_name):
11183 * symbols.c (deferror_1):
11184 * symbols.c (deferror):
11185 * symbols.c (deferror_massage_name_and_message):
11187 * symeval.h (DEFSYMBOL):
11188 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
11190 * symbols.c (syms_of_symbols):
11194 * symsinit.h (init_win32): New.
11195 Also new is syms_of_dialog_mswindows.
11198 Add new Unicode macros, missing Cygwin wide-char functions,
11199 convenience conversion macros for Qmswindows_tstr, macros for
11200 encapsulating required MSWin <-> Cygwin filename conversions,
11201 prototype for dynamically-extracted (not in NT 3.51) functions.
11206 * tooltalk.c (Fadd_tooltalk_message_arg):
11207 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
11208 * tooltalk.c (Fadd_tooltalk_pattern_arg):
11211 * tooltalk.c (syms_of_tooltalk):
11215 * unexnt.c (unexec):
11216 Fix up headers, declaration of unexec() to be more standard.
11218 2000-07-20 Martin Buchholz <martin@xemacs.org>
11220 * offix.h: Revert change to guard macros - they're used in offix.c!
11222 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11224 * lisp.h: Defsubred Fdelete.
11226 * console-msw.h: (msprinter_default_printer): Added.
11228 * console-msw.c (msprinter_canonicalize_console_connection):
11229 (msprinter_canonicalize_device_connection): Added.
11231 * device-msw.c (msprinter_default_printer):
11232 (Fmswingows_get_default_printer):
11233 (signal_enum_priner_error):
11234 (Fmswingows_printer_list): Added.
11236 2000-07-19 Martin Buchholz <martin@xemacs.org>
11238 * XEmacs 21.2.35 is released.
11240 2000-07-19 Martin Buchholz <martin@xemacs.org>
11242 * select-x.c (x_handle_selection_request):
11243 Text selected in xemacs and pasted into xterm failed to appear.
11244 Spelling fixes and cosmetic changes.
11246 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11248 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
11249 XEmacs frame (fix for doubling chars in dialog boxes).
11251 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
11253 * select.c (select_convert_in, select_convert_out):
11254 Don't call intern() every time.
11256 * select.c (Qselect_convert_in, Qselect_convert_out): New.
11257 * select.c (vars_of_select): Initialise them.
11259 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
11261 * select.c (selection-coercible-types): New.
11263 * select.c (own-selection-internal):
11264 * select.c (get-selection-internal):
11265 MULE bug fix - these should default to COMPOUND_TEXT and not
11266 STRING for MULE. I think.
11268 * select.c (select_convert_out): Use selection-coercible-types
11269 to find types that we can attempt to perform coercions on.
11271 2000-07-18 Martin Buchholz <martin@xemacs.org>
11275 Add coding: cookie to identify encoding.
11277 * mule-canna.c (CANNA_mode_keys): make static.
11278 Use proper prototypes, even for functions of no arguments.
11279 Remove external prototype for Fding().
11281 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
11283 * select.c (syms_of_select): Add missing DEFSUBR.
11285 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
11287 * select.c (get_selection_internal, own_selection_internal):
11288 Make the type default to STRING, rather than placing a nil type
11289 into Vselection_alist.
11291 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
11293 * gpmevent.c (tty_selection_exists_p):
11294 * gpmevent.c (tty_own_selection):
11295 Updated parameter lists.
11297 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
11299 * select.h (selection-alist): Removed declaration.
11301 * select.h (get_local_selection):
11302 * select.c (get_local_selection):
11305 * select.h (convert_selection): Removed declaration.
11306 * select.c (convert_selection): Removed.
11307 This function belongs in Lisp.
11309 * select.h (select_convert_in): Declare.
11310 * select.h (select_convert_out): Declare.
11311 * select.c (select_convert_in): New.
11312 * select.c (select_convert_out): New.
11313 New conversion functions for other files to call.
11315 * select.h (select_notify_buffer_kill): Declare.
11316 * select.c (select_notify_buffer_kill): New.
11317 New functions that get called from kill-buffer.
11319 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
11320 X-specific lisp code.
11322 * select.h: Declare some of the lisp-visible functions for
11325 * select.c (clean_local_selection_data): Removed. This was
11326 a disgusting function, and previously should have been in
11327 select-x.c in any case. The functionality is now provided
11328 in select-convert-from-integer (select.el).
11330 * select.c (available-selection-types): Fixed stupidity where
11331 INTEGER and ATOM got added twice. Also add STRING when we see an
11334 * select.c (get-selection-internal): Removed symbol stripping. No
11335 longer causes conversion when data comes from the internal cache.
11337 * select.c (syms_of_select): Added new functions.
11339 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
11340 error checking - previously this called abort!
11342 * select-x.c (x_own_selection): Changed comment.
11344 * select-x.c (x_handle_selection_request): Use select_convert_out.
11345 Don't mess with selection-alist; it's an internal variable of select.c.
11347 * select-x.c (x_get_foreign_selection): Use select_convert_in.
11349 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
11350 rather than messing with selection-alist.
11352 * select-msw.c (mswindows_get_foreign_selection):
11353 Use TO_INTERNAL_FORMAT rather than hacking.
11355 2000-07-14 Martin Buchholz <martin@xemacs.org>
11357 * process-unix.c (unix_open_multicast_group):
11358 (unix_open_multicast_group): Remove useless casts.
11360 2000-07-13 Martin Buchholz <martin@xemacs.org>
11362 * sound.c (Fplay_sound): Fix `unused variable' warning.
11364 * emacs.c (main): Use correct type for _environ on SCO5.
11366 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
11368 * console.h (own_selection_method):
11369 * console.h (selection_exists_p_method):
11370 * console.h (available_selection_types_method): New.
11371 * console.h (register_selection_data_type_method): New.
11372 * console.h (selection_data_type_name): New.
11374 * console-msw.h (mswindows_destroy_selection): Declare it. New
11375 function & alist to track GlobalAlloc()'d handles that need
11376 releasing when the clipboard data gets replaced or emptied.
11378 * event-msw.c (mswindows_wnd_proc): Call it.
11380 * lisp.h, general.c (Qappend): New symbol representing a
11383 * select.c (own-selection-internal):
11384 * select.c (selection-exists-p):
11385 * select.c (available-selection-types): New.
11386 * select.c (register-selection-data-type): New.
11387 * select.c (selection-data-type-name): New. New functions to deal
11388 with device-specific selection data formats.
11389 * select.c (selection-converter-out-alist): Renamed.
11390 * select.c (selection-converter-in-alist): New.
11391 * select.c (selection-appender-alist): New. Added new alists.
11392 * select.c (syms_of_select, vars_of_select): Added new symbols &
11394 * select.c (get_local_selection): Split.
11395 * select.c: Removed spurious type checking - selections may now be
11396 of any type, not just strings.
11397 * select.c (own-selection-internal):
11399 * select.h, select.c (convert_selection): New. Created
11400 convert_selection() function based on get_local_selection().
11401 * select.h, select.c (QCF_*): New symbols representing mswindows
11403 * select.h, select.c (Qreplace_all, Qreplace_existing): New
11404 symbols representing `how-to-add' modes.
11406 * select-msw.c (x_sym_p): New.
11407 * select-msw.c (symbol_to_ms_cf): New.
11408 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
11409 symbols & clipboard formats. Can also handle string names.
11410 * select-msw.c (mswindows_own_selection):
11411 * select-msw.c (mswindows_selection_exists_p):
11412 Added `data-type' parameter. Use it.
11413 * select-msw.c (mswindows_available_selection_types): New.
11414 * select-msw.c (mswindows_register_selection_data_type): New.
11415 * select-msw.c (mswindows_selection_data_type_name): New.
11416 * select-msw.c (mswindows_own_selection):
11417 * select-msw.c (mswindows_get_foreign_selection):
11418 * select-msw.c (mswindows_selection_exists_p): Rewrote.
11419 * select-msw.c (console_create_select_mswindows): Added new methods.
11420 * select-msw.c (mswindows_destroy_selection): New.
11421 * select-msw.c (Vhandle_alist): New list.
11422 * select-msw.c (mswindows_own_selection):
11424 * select-x.c (x_own_selection):
11425 * select-x.c (x_selection_exists_p):
11426 * select-x.c: Added some comments about maybe using new
11428 * select-x.c (x_own_selection):
11430 * specifier.c: Remove definition of Qappend (now in general.c)
11431 * specifier.c (syms_of_specifier): Remove Qappend.
11433 2000-07-12 Martin Buchholz <martin@xemacs.org>
11435 * config.h.in: Add socklen_t.
11437 * s/decosf4-0.h: No special compiler flags needed or desired.
11438 In particular, undefine _BSD for DEC OSF 4.0.
11440 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11442 * redisplay-msw.c (msprinter_frame_output_end): Added.
11443 (console_type_create_redisplay_mswindows): Referred the above.
11445 * frame.c (setup_frame_without_minibuffer): Do not create a
11446 default minibuffer frame on a printer device.
11448 * frame-msw.c (apply_dc_geometry): Added.
11449 (msprinter_start_page):
11450 (msprinter_init_frame_3):
11451 (msprinter_eject_page): Use it.
11453 * console-msw.h (struct msprinter_frame): Added pix_left and top,
11454 and removed residual duplex and orientation properties.
11456 2000-07-11 Martin Buchholz <martin@xemacs.org>
11458 * eval.c (function_argcount): Work around a DEC CC compiler bug.
11460 * unexalpha.c: Remove system prototypes from C sources!
11462 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
11464 * eval.c: Remove references to M-x edit-options in DEFUNs for
11465 `defvar' and `defconst'.
11467 2000-07-09 Martin Buchholz <martin@xemacs.org>
11469 * config.h.in: Remove SMART_INCLUDE hackery.
11471 PostgreSQL hacking:
11472 * config.h.in: Don't use SMART_INCLUDE.
11474 * postgresql.h: Include libpq-fe.h here. Fix typo.
11475 * inline.c: Simply #include "postgresql.h"
11477 - Don't use SMART_INCLUDE
11478 - Use simply "const".
11479 - Use standard doc string conventions.
11480 - Use correct type for result of PQstatus.
11482 2000-07-09 Martin Buchholz <martin@xemacs.org>
11484 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
11486 C++ compilation changes.
11487 * config.h.in (EXTERN_C): Define.
11488 * config.h.in (not): This is also a C++ keyword.
11489 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
11490 * cm.c: Use EXTERN_C.
11491 * redisplay-tty.c: Use EXTERN_C.
11492 * sysdep.c: Use EXTERN_C. Remove Gould support.
11494 2000-07-09 Martin Buchholz <martin@xemacs.org>
11496 * general.c: Remove duplicate definition for Qfunction.
11498 2000-07-08 Ben Wing <ben@xemacs.org>
11500 * device-msw.c (msprinter_init_device):
11501 * device-msw.c (sync_printer_with_devmode):
11502 * device-msw.c (handle_devmode_changes):
11503 * device-msw.c (print_dialog_worker):
11504 * device-msw.c (Fmsprinter_apply_settings):
11505 * device-msw.c (hash_devmode):
11506 * device-msw.c (Fmsprinter_settings_despecialize):
11507 use Qmswindows_tstr, not Qctext.
11509 * vm-limit.c (check_memory_limits):
11510 avoid infinite loop printing warning messages.
11512 2000-07-05 Craig Lanning <lanning@scra.org>
11514 * Makefile.in.in: Add support for including the Windows resources
11515 when building with the cygwin and mingw targets.
11517 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
11518 not set or not correct.
11519 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
11520 (init_initial_directory): Don't try to use $PWD on the
11521 WIN32_NATIVE target.
11524 [[Add -mwindows to eliminate console window.]] not required --ben
11525 (HAVE_NATIVE_SOUND): removed; now handled by configure.
11526 (MAIL_USE_POP): removed; now handled by configure.
11528 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
11529 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
11530 (HAVE_NATIVE_SOUND): removed; now handled by configure.
11531 (MAIL_USE_POP): removed; now handled by configure.
11532 (ENCAPSULATE_STAT): from Dan Holmsand, added.
11533 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
11534 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
11536 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
11537 up from <winsock.h> via systime.h.
11538 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
11539 (getpagesize): from Dan Holmsand, added.
11540 Added #endif which was left dangling by Ben's mega patch; added
11541 comment to help prevent this in the future.
11543 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
11545 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11547 * console-msw.h (struct mswindows_device): Removed unnecessary
11548 cached device geometry values.
11549 Added update_tick and an accessor macro.
11550 (Lisp_Devmode): Added lrecord declaration.
11551 (struct msprinter_device): Contain devmode as a Lisp object.
11552 Added mswindows_get_selected_frame_hwnd();
11554 * console.h (struct console_methods): Indentation nitpicking.
11556 * device-msw.c (mswindows_init_device): Do not initialize geometry
11557 cache. Initialize update tick.
11558 (mswindows_device_system_metrics): Ask the device for its geometry.
11559 (global_free_2_maybe):
11560 (devmode_to_hglobal):
11561 (handle_printer_changes):
11562 (ensure_not_printing):
11563 (print_dialog_worker):
11564 (Fmsprinter_print_setup_dialog):
11565 (Fmsprinter_print_dialog):
11566 (plist_get_margin):
11567 (plist_set_margin):
11568 (Fmsprinter_page_setup_dialog): Added functions.
11569 (sync_printer_with_devmode):
11570 (handle_devmode_changes):
11571 (Fmsprinter_get_settings):
11572 (Fmsprinter_select_settings):
11573 (Fmsprinter_apply_settings):
11574 (allocate_devmode):
11575 (Fmsprinter_settings_copy):
11576 (Fmsprinter_settings_despecialize):
11578 (finalize_devmode):
11580 (hash_devmode): Added functions
11581 (syms_of_device_mswindows): Init devmode lrecord class.
11583 * device.h: Added an exfun for find-device.
11585 * event-msw.c (mswindows_wnd_proc): Do not update the cached
11586 geometry; although, recreate the device compatible DC.
11588 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
11589 (msprinter_init_frame_3):
11590 (msprinter_frame_property):
11591 (msprinter_internal_frame_property_p):
11592 (msprinter_frame_properties):
11593 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
11594 print job properties (will move to device settings).
11596 * lisp.h: Added symbols.
11598 * general.c (syms_of_general): Declared them.
11600 * hash.c (string_hash): Added.
11602 * lrecord.h (lrecord_type): Added devmode lrecord type.
11604 2000-07-02 Mike Sperber <mike@xemacs.org>
11606 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
11609 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
11611 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
11614 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
11616 * data.c (Fstring_to_number): Don't recognize floating point if
11619 2000-06-22 Martin Buchholz <martin@xemacs.org>
11621 * glyphs-widget.c (tab_control_query_geometry):
11622 (widget_query_geometry):
11623 (button_query_geometry):
11624 * glyphs.c (text_query_geometry):
11625 Enforce type correctness.
11627 2000-06-18 Martin Buchholz <martin@xemacs.org>
11629 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
11630 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
11632 2000-06-17 Martin Buchholz <martin@xemacs.org>
11634 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
11635 conflicts with gcc's fixincluded version of FOO.h.
11637 * glyphs.h (image_instance_geometry): Remove trailing `,'
11639 2000-06-08 Mike Alexander <mta@arbortext.com>
11641 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
11642 (shove_thread): Don't write the same output twice
11643 (make_ntpipe_output_stream): Increase priority of shove thread
11644 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
11646 (ntpipe_shove_closer): Don't delete the pipe until we're done with
11649 2000-06-12 Ben Wing <ben@xemacs.org>
11651 * s\mingw32.h (sigset):
11652 * s\windowsnt.h (sigset):
11653 rename msw_ to mswindows_ for consistency with general convention.
11655 2000-06-12 Ben Wing <ben@xemacs.org>
11658 * console-msw.c (mswindows_get_console_hwnd):
11659 * console-msw.c (mswindows_ensure_console_allocated):
11660 * console-msw.c (mswindows_hide_console):
11661 * console-msw.c (mswindows_show_console):
11662 * console-msw.c (mswindows_ensure_console_buffered):
11663 * console-msw.c (mswindows_output_console_string):
11664 * console-msw.c (mswindows_windows9x_p):
11666 * device-msw.c (mswindows_get_workspace_coords):
11667 * device-msw.c (mswindows_device_system_metrics):
11668 * dialog-msw.c (mswindows_popup_dialog_box):
11669 * event-msw.c (mswindows_wnd_proc):
11670 * frame-msw.c (mswindows_size_frame_internal):
11671 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11672 * menubar-msw.c (displayable_menu_item):
11673 * menubar-msw.c (mswindows_char_is_accelerator):
11675 * nt.c (mswindows_sigset):
11676 * nt.c (mswindows_sigrelse):
11677 * nt.c (mswindows_sigpause):
11678 * nt.c (mswindows_raise):
11679 * nt.c (timer_proc):
11681 * ntproc.c (find_child_console):
11682 * ntproc.c (sys_kill):
11684 * print.c (std_handle_out_external):
11685 * process-nt.c (find_child_console):
11686 * process-nt.c (send_signal_the_95_way):
11687 * process-nt.c (ensure_console_window_exists):
11688 * process-nt.c (nt_create_process):
11690 rename msw_ to mswindows_ for consistency with general convention.
11694 include nt.h, not syswindows.h.
11696 * nt.c (mswindows_fstat):
11697 * nt.c (mswindows_stat):
11698 prefix mswindows_ instead of attempting to directly override the
11699 library functions. fix declarations.
11702 include syswindows.h. move some sysdep.h stuff here.
11705 include syswindows.h, not <windows.h>.
11713 * sysdep.c (sys_fstat):
11714 * sysdep.c (sys_stat):
11715 call mswindows versions when appropriate.
11718 move mswin decls to nt.h.
11721 add long comment describing appropriate use of the various windows
11724 2000-06-11 Ben Wing <ben@xemacs.org>
11726 * device-x.c: Correct doc string for sixth arg of x-get-resource.
11728 2000-06-10 Ben Wing <ben@xemacs.org>
11730 * Makefile.in.in (release):
11731 Correction to make sure xemacs.exe always dumped when correct.
11735 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
11737 * buffer.c (set_buffer_internal):
11738 [[[[2]]]]: Remove HAVE_FEP code.
11740 * buffer.c (init_initial_directory):
11744 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
11748 * callproc.c (call_process_cleanup):
11749 * callproc.c (Fold_call_process_internal):
11750 * callproc.c (child_setup):
11751 * callproc.c (getenv_internal):
11752 * callproc.c (init_callproc):
11753 * callproc.c (vars_of_callproc):
11754 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
11755 __CYGWIN32__ -> CYGWIN.
11756 DOS_NT -> WIN32_NATIVE.
11757 Remove MSDOS support/references, converting to WIN32_NATIVE
11759 __MINGW32__ -> MINGW.
11760 Fix windows.h includes.
11761 Remove bogus HAVE_NTGUI.
11767 mswindows_message_outputted added for use in allowing startup
11768 errors on the console to be seen.
11770 * console-msw.c (msw_ensure_console_allocated):
11771 * console-msw.c (msw_output_console_string):
11772 * console-msw.c (DHEADER):
11773 * console-msw.c (DOPAQUE_DATA):
11774 * console-msw.c (DEVENT):
11775 * console-msw.c (DCONS):
11776 * console-msw.c (DCONSCDR):
11777 * console-msw.c (DSTRING):
11778 * console-msw.c (DVECTOR):
11779 * console-msw.c (DSYMBOL):
11780 * console-msw.c (DSYMNAME):
11783 * console-stream.c (stream_init_console):
11784 Fix text/binary problems.
11787 * device-msw.c (mswindows_finish_init_device):
11788 * device-msw.c (mswindows_delete_device):
11791 * device.c (handle_asynch_device_change):
11795 * dgif_lib.c (DGifOpenFileName):
11796 * dgif_lib.c (DGifOpenFileHandle):
11797 * dgif_lib.c (DGifGetLine):
11798 * dgif_lib.c (DGifGetPixel):
11799 Added config.h/lisp.h, fix up includes.
11806 * dired.c (file_name_completion):
11807 * dired.c (Ffile_attributes):
11808 * dired.c (syms_of_dired):
11812 * dumper.c (pdump_file_unmap):
11813 * dumper.c (pdump_load):
11817 * editfns.c (Ftemp_directory):
11818 * editfns.c (user_login_name):
11819 * editfns.c (Fuser_real_login_name):
11820 * editfns.c (get_home_directory):
11823 * elhash.c (finish_marking_weak_hash_tables):
11824 [[[[5]]]]: Fix GCC warnings.
11827 * emacs.c (mswindows_handle_hardware_exceptions):
11828 * emacs.c (make_arg_list_1):
11829 * emacs.c (main_1):
11830 * emacs.c (Fkill_emacs):
11831 * emacs.c (Fdump_emacs):
11833 Fix problems with nested crashes, add long comment.
11835 * event-Xt.c (init_event_Xt_late):
11839 * event-msw.c (mswindows_dde_callback):
11840 * event-msw.c (mswindows_handle_sticky_modifiers):
11841 * event-msw.c (mswindows_wnd_proc):
11845 * events.c (character_to_event):
11849 * fileio.c (Ffile_name_directory):
11850 * fileio.c (Ffile_name_nondirectory):
11851 * fileio.c (directory_file_name):
11852 * fileio.c (Fexpand_file_name):
11853 * fileio.c (Fsubstitute_in_file_name):
11854 * fileio.c (Ffile_name_absolute_p):
11855 * fileio.c (check_executable):
11856 * fileio.c (Ffile_readable_p):
11857 * fileio.c (Ffile_accessible_directory_p):
11858 * fileio.c (Ffile_modes):
11859 * fileio.c (Funix_sync):
11860 * fileio.c (vars_of_fileio):
11863 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
11865 Expand getdefdir defn.
11866 Fix bogus rename() comment.
11868 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
11869 to use standard XEmacs include files, e.g. sysfile.h, rather
11870 than system-specific includes.
11876 * frame.c (vars_of_frame):
11880 * getloadavg.c (getloadavg):
11882 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
11883 (We don't use it elsewhere in the code; just add a comment.)
11890 * glyphs-msw.c (mswindows_resource_instantiate):
11893 * glyphs-x.c (x_native_layout_instantiate):
11896 * gui-msw.c (Fmswindows_shell_execute):
11905 * lread.c (locate_file_in_directory_mapper):
11912 * mem-limits.h (get_lim_data):
11924 * nt.c (rva_to_section):
11925 * nt.c (mswindows_executable_type):
11927 Fix closedir() defn.
11930 [[[[8]]]]: *_OK defs moved to sysfile.h.
11939 * print.c (std_handle_out_external):
11943 * process-nt.c (nt_create_process):
11945 try to fix process quoting somewhat.
11947 * process-unix.c (unix_create_process):
11951 * process.c (vars_of_process):
11958 * realpath.c (xrealpath):
11961 * redisplay-tty.c (init_tty_for_redisplay):
11971 * sheap.c (more_static_core):
11972 * sheap.c (report_sheap_usage):
11976 * signal.c (alarm_signal):
11983 * strftime.c (zone_name):
11986 * symsinit.h (init_sunpro):
11990 commctrl.h not in Cygwin b20.1.
11993 * sysdep.c (endif):
11994 * sysdep.c (sys_subshell):
11995 * sysdep.c (init_baud_rate):
11996 * sysdep.c (emacs_get_tty):
11997 * sysdep.c (emacs_set_tty):
11998 * sysdep.c (tty_init_sys_modes_on_device):
11999 * sysdep.c (init_system_name):
12000 * sysdep.c (sys_open):
12001 * sysdep.c (interruptible_open):
12002 * sysdep.c (sys_fopen):
12003 * sysdep.c (sys_mkdir):
12004 * sysdep.c (sys_rename):
12005 * sysdep.c (get_process_times_1):
12012 * sysdir.h (DIRENTRY_NONEMPTY):
12015 * sysdll.c (dll_init):
12021 added text/binary defs.
12027 * sysproc.h (EDESTADDRREQ):
12028 * sysproc.h (poll_fds_for_input):
12045 Always define WIN32_LEAN_AND_MEAN.
12047 * unexcw.c (unexec):
12051 * unexec.c (copy_text_and_data):
12052 * unexec.c (adjust_lnnoptrs):
12056 * unexnt.c (_start):
12059 2000-06-07 Ben Wing <ben@xemacs.org>
12061 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
12062 was used only as a model. We've long since extracted any useful
12063 logic or code out of this. (I just did an exhaustive search.)
12065 * s\msdos.h: Removed.
12067 * s\windows95.h: Removed.
12069 2000-06-10 Ben Wing <ben@xemacs.org>
12073 Don't use extern with fun defs.
12077 Remove nt\inc include.
12078 Remove getdisk, getdefdir. (The former is unused, the latter
12079 expanded in fileio.h.)
12082 * s\windowsnt.h (WIN32_NATIVE):
12083 * s\windowsnt.h (HAVE_STRCASECMP):
12085 Add long comment about preprocessor changes.
12086 Remove getdisk, getdefdir. (The former is unused, the latter
12087 expanded in fileio.h.)
12089 2000-06-10 Ben Wing <ben@xemacs.org>
12098 Remove bogus/unused NO_SOCK_SIGIO.
12100 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
12102 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
12105 2000-06-04 Mike Sperber <mike@xemacs.org>
12107 * casetab.c (set_case_table): For `set-standard-case-table',
12108 actually deposit the new case tables where the rest of XEmacs can
12111 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
12113 * data.c (Faset): Don't cast XCHAR() to unsigned char.
12115 2000-06-05 Ben Wing <ben@xemacs.org>
12117 * callproc.c (child_setup): Don't do close_load_descs() under
12118 MS Windows. Put in a comment explaining why.
12120 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
12122 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
12123 Toolkit shell" which breaks `kill-compilation' on Windows NT
12124 native, retaining STDERR handling improvements.
12126 2000-06-01 Andreas Jaeger <aj@suse.de>
12128 * s/s390.h: Support for S390, based on a patch by Martin
12129 Schwidefsky <schwidefsky@de.ibm.com>.
12131 2000-05-30 Andy Piper <andy@xemacs.org>
12133 * window.c (allocate_window):
12134 (make_dummy_parent):
12135 (Fset_window_configuration): use new hashtable type.
12137 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
12138 (struct image_instantiator_methods):
12139 (struct Lisp_Image_Instance): make instance geometry signed.
12141 * glyphs.c (instantiate_image_instantiator):
12142 (image_instance_query_geometry):
12143 (image_instance_layout):
12144 (image_instance_layout):
12145 (query_string_geometry):
12146 (text_query_geometry):
12147 (image_instantiate):
12148 (image_instantiate):
12149 (cache_subwindow_instance_in_frame_maybe):
12150 (subwindow_query_geometry): make instance geometry signed.
12152 * glyphs-widget.c (widget_query_geometry):
12154 (button_query_geometry):
12155 (tree_view_query_geometry):
12156 (tab_control_query_geometry):
12157 (layout_query_geometry):
12159 (native_layout_layout): make instance geometry signed.
12161 2000-05-29 Olivier Galibert <galibert@pobox.com>
12163 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
12166 * general.c (syms_of_general): Add Qfull_assoc symbol.
12168 * data.c (finish_marking_weak_lists): Mark full-assoc lists
12170 (decode_weak_list_type): Decode full-assoc type.
12171 (encode_weak_list_type): Encode full-assoc type.
12172 (Fmake_weak_list): Update doc string.
12174 2000-05-30 Andy Piper <andy@xemacs.org>
12176 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
12178 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
12179 (decode_hash_table_weakness): ditto.
12180 (Fhash_table_weakness): ditto.
12181 (Fhash_table_type): ditto.
12182 (finish_marking_weak_hash_tables): ditto.
12183 (hash_table_weakness_validate): ditto.
12184 (syms_of_elhash): ditto.
12186 2000-05-28 Martin Buchholz <martin@xemacs.org>
12188 * XEmacs 21.2.34 is released.
12190 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
12192 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
12194 (updating_line_start_cache): Gone.
12195 (regenerate_window): Replace resetting of VERTICAL_CLIP by
12196 generic code to force a minimum of 1 line laid out in the
12199 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
12201 * glyphs.c (instantiate_image_instantiator): Check for initialized
12202 height & width no longer special cases IMAGE_NOTHING.
12203 (nothing_instantiate): Set height and width of instance.
12205 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
12207 * unexelf.c (unexec): Search for ".data" section.
12208 Initialize new_data2_offset from old_data_index.
12209 Remove redundant check for ElfW.
12211 2000-05-23 Andy Piper <andy@xemacs.org>
12213 * glyphs.c (get_image_instantiator_governing_domain): allow more
12214 specific domains as the governing domain rather than expecting an
12215 exact match. This fixes problems with layouts.
12217 2000-05-22 Andy Piper <andy@xemacs.org>
12219 * redisplay-output.c (compare_runes): check for non-images
12221 * glyphs.c (set_glyph_dirty_p): ditto.
12222 (update_glyph_cachel_data): ditto.
12224 * glyphs-widget.c (layout_post_instantiate): ditto.
12225 (layout_post_instantiate): ditto.
12227 * event-msw.c (mswindows_wnd_proc): warning removal.
12229 2000-05-12 Craig Lanning <CraigL@DyCon.com>
12231 * s\mingw32.h: Added #undef for CLASH_DETECTION.
12233 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
12235 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
12237 * nt.c (rva_to_section): mingw32 needs rva_to_section.
12238 (mswindows_executable_type): mingw32 now has enough headers for
12241 2000-05-20 Andy Piper <andy@xemacs.org>
12243 * console-msw.c (mswindows_output_last_error): ; -> ,
12245 2000-05-12 Andy Piper <andy@xemacs.org>
12247 * console-msw.c (FROB): compare ints with ints.
12249 2000-05-11 Andy Piper <andy@xemacs.org>
12251 * glyphs-x.c (x_finalize_image_instance): make minimal build
12254 2000-05-20 Ben Wing <ben@xemacs.org>
12257 * event-Xt.c (vars_of_event_Xt):
12258 move modifier-keys-are-sticky to event-stream.c.
12261 * event-msw.c (mswindows_enqueue_mouse_button_event):
12262 * event-msw.c (key_needs_default_processing_p):
12263 * event-msw.c (XEMSW_LCONTROL):
12264 * event-msw.c (mswindows_handle_sticky_modifiers):
12265 * event-msw.c (FROB):
12266 * event-msw.c (clear_sticky_modifiers):
12267 * event-msw.c (output_modifier_keyboard_state):
12268 * event-msw.c (output_alt_keyboard_state):
12269 * event-msw.c (mswindows_wnd_proc):
12270 * event-msw.c (mswindows_modifier_state):
12271 * event-msw.c (emacs_mswindows_handle_magic_event):
12272 implement sticky modifiers.
12275 * event-stream.c (vars_of_event_stream):
12276 move modifier-keys-are-sticky here.
12279 add CHECK_FUNCTION.
12282 implement map-range-table.
12285 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
12287 * redisplay-tty.c (reset_tty_modes):
12288 (tty_redisplay_shutdown): Adjust argument type to
12289 tty_frame_output_end.
12291 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
12293 * eval.c (Fbacktrace): Don't output a line with only right
12296 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
12298 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
12299 (Fpq_reset_poll): Ditto.
12301 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
12303 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
12305 2000-05-16 Ben Wing <ben@xemacs.org>
12308 * buffer.c (dfc_convert_to/from_internal_format):
12309 * buffer.c (reinit_vars_of_buffer):
12310 Fix conversion functions to allow reentrancy.
12313 * console-msw.c (mswindows_output_last_error):
12314 New fun, generally useful -- output a human-readable
12315 version of GetLastError() on the console.
12318 * console-msw.h (struct mswindows_frame):
12319 Changes for DeferWindowPos. Declare mswindows_output_last_error().
12321 * console-stream.c (stream_output_begin):
12322 * console-stream.c (stream_output_end):
12323 * console-stream.c (stream_output_vertical_divider):
12324 * console-stream.c (stream_clear_region):
12325 * console-stream.c (stream_flash):
12326 * console-stream.c (console_type_create_stream):
12327 Delete blank stream methods, not needed.
12329 * console.h (struct console_methods):
12330 Split begin/end methods into window and frame.
12333 * event-msw.c (mswindows_handle_paint):
12334 * event-msw.c (output_alt_keyboard_state):
12335 * event-msw.c (mswindows_wnd_proc):
12336 * event-msw.c (vars_of_event_mswindows):
12337 Comment about problems with ignored-expose.
12338 Define mswindows-debug-events; not really implemented.
12340 * frame-msw.c (mswindows_init_frame_1):
12344 * glyphs-msw.c (begin_defer_window_pos):
12345 * glyphs-msw.c (mswindows_unmap_subwindow):
12346 * glyphs-msw.c (mswindows_map_subwindow):
12347 * glyphs-msw.c (mswindows_resize_subwindow):
12348 Use DeferWindowPos to reduce flashing when mapping/unmapping.
12350 * glyphs.c (make_image_instance_1):
12353 * gutter.c (Fredisplay_gutter_area):
12354 Use new begin/end methods.
12356 * lisp.h (Dynarr_new2):
12360 * redisplay-msw.c (mswindows_frame_output_begin):
12361 * redisplay-msw.c (mswindows_frame_output_end):
12362 * redisplay-msw.c (console_type_create_redisplay_mswindows):
12363 New begin/end methods -- handle DeferWindowPos.
12365 * redisplay-output.c (redisplay_move_cursor):
12366 * redisplay-output.c (redraw_cursor_in_window):
12367 * redisplay-output.c (redisplay_update_line):
12368 * redisplay-output.c (redisplay_output_window):
12369 New begin/end methods.
12372 * redisplay-tty.c (tty_frame_output_begin):
12373 * redisplay-tty.c (tty_frame_output_end):
12374 * redisplay-tty.c (console_type_create_redisplay_tty):
12375 New begin/end methods.
12378 * redisplay-x.c (x_window_output_begin):
12379 * redisplay-x.c (x_window_output_end):
12380 * redisplay-x.c (console_type_create_redisplay_x):
12381 New begin/end methods.
12383 * redisplay.c (redisplay_frame):
12384 * redisplay.c (Fredisplay_echo_area):
12385 New begin/end methods.
12386 use MAYBE_DEVMETH for clear_frame; it may not exist.
12388 * window.h (WINDOW_XFRAME):
12389 WINDOW_XFOO macros -- get locale and decode struct pointer.
12392 2000-05-12 Ben Wing <ben@xemacs.org>
12395 * emacs.c (ensure_no_quitting_from_now_on):
12396 * emacs.c (fatal_error_signal):
12397 * emacs.c (mswindows_handle_hardware_exceptions):
12399 * emacs.c (Fkill_emacs):
12400 * emacs.c (shut_down_emacs):
12401 * emacs.c (assert_failed):
12402 various improvements in fatal error handling.
12405 move preparing_for_armageddon to emacs.c.
12408 declare fatal_error_in_progress.
12411 * print.c (std_handle_out_external):
12412 * print.c (std_handle_out_va):
12413 * print.c (stderr_out):
12414 * print.c (stdout_out):
12415 use console under mswin when no standard output.
12416 don't do code conversion during fatal error.
12418 * scrollbar.c (Fscrollbar_page_up):
12419 * scrollbar.c (Fscrollbar_page_down):
12420 fix missing else. reindent.
12422 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
12426 * glyphs.h (GLYPH_CACHEL_DESCENT):
12427 (GLYPH_CACHEL_DESCENT):
12428 (GLYPH_CACHEL_DESCENT):
12429 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
12430 used in case these are inline functions.
12431 Use more absurd values to error check.
12433 include window.h for error check functions.
12435 2000-05-11 Ben Wing <ben@xemacs.org>
12437 * cmdloop.c (Freally_early_error_handler):
12438 Display message box under windows; otherwise, message will disappear
12439 before it can be viewed.
12442 * console-msw.c (Fmswindows_message_box):
12443 * console-msw.c (FROB):
12444 * console-msw.c (syms_of_console_mswindows):
12445 Define new fun `mswindows-message-box'.
12446 #### I will merge this into `popup-dialog-box'; just give me
12450 * general.c (syms_of_general):
12451 Some new symbols used in `mswindows-message-box'.
12454 * glyphs.c (Fset_image_instance_property):
12455 put warning in this fun.
12458 * glyphs.h (GLYPH_CACHEL_WIDTH):
12459 * glyphs.h (GLYPH_CACHEL_ASCENT):
12460 * glyphs.h (GLYPH_CACHEL):
12461 * glyphs.h (GLYPH_CACHEL_GLYPH):
12462 define error-checking versions to try to catch a bug i've seen --
12463 redisplay gets in an infinite loop because the glyph width of the
12464 continuation glyph is 65535.
12467 Extern message-box stuff.
12469 * window.c (allocate_window):
12470 * window.c (make_dummy_parent):
12471 * window.c (Fset_window_configuration):
12472 Use EQUAL not EQ for subwindow caches to make them work a bit
12473 better. (Something is still very broken.)
12476 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
12478 * glyphs.c (image_instantiate): Suppress gcc warnings.
12479 (Fmake_image_instance): Fix doc string.
12480 * specifier.c (Fmake_specifier): Ditto.
12482 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
12484 * paths.h.in (PATH_LOCK): Removed.
12485 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
12486 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
12488 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
12490 * fns.c (Ffeaturep): Update e-mail address in doc-string.
12491 Document (featurep '(and xemacs 21.02)).
12493 2000-05-09 Ben Wing <ben@xemacs.org>
12495 * buffer.c (complex_vars_of_buffer):
12496 update modeline-format doc.
12499 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
12502 timeline of all released versions of Emacs, for use in creating
12503 authorship comments and in synching up.
12505 * glyphs-widget.c (image_instantiator_buttons):
12506 * glyphs-widget.c (image_instantiator_edit_fields):
12507 * glyphs-widget.c (image_instantiator_combo_box):
12508 * glyphs-widget.c (image_instantiator_scrollbar):
12509 * glyphs-widget.c (image_instantiator_progress_guage):
12510 * glyphs-widget.c (image_instantiator_tree_view):
12511 * glyphs-widget.c (image_instantiator_tab_control):
12512 * glyphs-widget.c (image_instantiator_labels):
12513 * glyphs-widget.c (image_instantiator_layout):
12514 * glyphs-widget.c (image_instantiator_native_layout):
12515 rename decode_domain method to governing_domain.
12518 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
12519 * glyphs.c (add_entry_to_device_ii_format_list):
12520 make sure we don't put an entry more than once into the list.
12521 * glyphs.c (check_instance_cache_mapper):
12522 *************************************************************
12523 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
12525 *************************************************************
12526 * glyphs.c (get_image_instantiator_governing_domain):
12527 clean up, expand on new concept of governing domain.
12528 * glyphs.c (instantiate_image_instantiator):
12529 * glyphs.c (allocate_image_instance):
12530 use governing_domain instead of cache_domain in naming.
12531 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
12532 * glyphs.c (make_image_instance_1):
12533 * glyphs.c (Fmake_image_instance):
12534 allow for any domain (not just device), and process the
12535 governing domain correctly. very big doc fix.
12536 * glyphs.c (Fimage_instance_domain):
12537 new primitive, to retrieve the governing domain of an image instance.
12538 * glyphs.c (image_instantiate):
12539 use new governing_domain stuff. this fixes a crash you could get
12540 by instantiating certain widget glyphs in frame locales. (should
12541 signal an error instead of crashing.)
12542 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
12543 * glyphs.c (Fglyphp): clean up doc.
12544 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
12545 * glyphs.c (syms_of_glyphs):
12546 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
12547 * glyphs.c (image_instantiator_format_create): add some comments about
12549 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
12550 for current-display-table. (Apparently Hrjove implemented in 1998 a
12551 design I wrote up in 1996, but didn't update the doc string.)
12553 * glyphs.h: clean up a doc string.
12554 * glyphs.h (governing_domain):
12555 * glyphs.h (struct image_instantiator_methods):
12556 changes for governing_domain stuff.
12559 * gutter.c (Fgutter_specifier_p):
12560 * gutter.c (Fgutter_size_specifier_p):
12561 * gutter.c (Fgutter_visible_specifier_p):
12563 * objects.c (Fcolor_specifier_p):
12564 * objects.c (Ffont_specifier_p):
12565 * objects.c (Fface_boolean_specifier_p):
12566 doc strings moved to make-*-specifier.
12568 * redisplay.c (add_disp_table_entry_runes_1):
12569 * redisplay.c (generate_fstring_runes):
12570 * redisplay.c (screen):
12571 add random comments and doc strings.
12574 * specifier.c (Fmake_specifier):
12575 major overhaul of this doc string.
12577 * specifier.c (Fvalid_specifier_domain_p):
12578 comment about the bogosity of image instances being domains.
12579 * specifier.c (decode_domain):
12580 now non-static, used in glyphs.c.
12581 * specifier.c (specifier_instance):
12582 comment about the bogosity of image instances being domains.
12583 * specifier.c (Fgeneric_specifier_p):
12584 move doc string to make-generic-specifier.
12585 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
12589 * specifier.h (DOMAIN_FRAME):
12590 * specifier.h (DOMAIN_LIVE_P):
12591 * specifier.h (DOMAIN_XDEVICE):
12593 add comments about problems with these macros.
12594 prototype for decode_domain.
12597 * toolbar.c (Ftoolbar_specifier_p):
12598 move doc string to `make-toolbar-specifier'.
12600 * window.c (window_unmap_subwindows_cache_mapper):
12601 *************************************************************
12602 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
12604 *************************************************************
12606 2000-05-09 Andy Piper <andy@xemacs.org>
12608 * glyphs.h: declare reset_frame_subwindow_instance_cache.
12610 * window.c (Fset_window_configuration): reset the frame subwindow
12611 cache and re-initialize the window subwindow caches.
12613 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
12615 2000-05-09 Ben Wing <ben@xemacs.org>
12617 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
12620 2000-04-26 Mike Woolley <mike@bulsara.com>
12622 * ntheap.c: Changed recreate_heap to limit the amount reserved
12623 for the heap to that which is actually available. Also now
12624 displays a message box (with some dignostics) in the event that
12625 it still can't start.
12627 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
12629 * callproc.c (Fold_call_process_internal): GCPRO path
12631 2000-05-08 Jan Vroonhof <jan@xemacs.org>
12633 Patch by Bill Perry.
12635 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
12636 back data instead of #ifdef.
12637 (Fscrollbar_page_down): ditto.
12639 2000-05-07 Ben Wing <ben@xemacs.org>
12642 Kludge for defining Qmswindows_tstr.
12645 * nt.c (open_input_file):
12646 * nt.c (open_output_file):
12647 * nt.c (rva_to_section):
12648 * nt.c (mswindows_executable_type):
12649 Move all memory-mapped-file routines here (some were in unexnt.c,
12650 which is bad because they are used by process-nt.c, and unexnt
12651 won't be around when portable dumping). Synched the above routines
12655 Removed ifdef'd out bogus code.
12656 Fixed some prototypes.
12658 * nt.h (file_data):
12659 * nt.h (OFFSET_TO_RVA):
12660 * nt.h (RVA_TO_OFFSET):
12661 * nt.h (RVA_TO_PTR):
12662 Moved the memory-mapped-file structures, macros and prototypes
12663 here, to parallel nt.c. ntheap.h should really be removed
12664 entirely, and it's a non-portable-dumper specific file.
12666 * ntheap.h (round_to_next):
12667 Moved the memory-mapped-file structures, macros and prototypes
12670 * ntproc.c (compare_env):
12671 Moved rva_to_section and mswindows_executable_type to nt.c.
12672 Moved compare_env to process-nt.c.
12673 ntproc.c will die, one day.
12675 * ntproc.c (sys_spawnve):
12676 Account for win32_ -> mswindows_.
12679 * process-nt.c (struct nt_process_data):
12680 * process-nt.c (ensure_console_window_exists):
12681 * process-nt.c (compare_env):
12682 * process-nt.c (nt_create_process):
12683 * process-nt.c (nt_kill_process_by_pid):
12684 * process-nt.c (syms_of_process_nt):
12685 * process-nt.c (vars_of_process_nt):
12686 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
12687 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
12688 changes). Eliminate our old `nt-quote-process-args' mechanism.
12689 Synch up nt_create_process with FSF 20.6 sys_spawnve.
12690 Move compare_env here from ntproc.c.
12692 * process.c (Fprocess_send_region):
12693 Takes an optional fourth argument, BUFFER, which should fix some
12694 problems with call-process.
12697 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
12700 Move ICC_BAR_CLASSES to syscommctrl.h.
12701 Add preliminary macros for MSWindows/Mule. More to come.
12704 * unexnt.c (unexec):
12705 open_output_file moved to nt.c.
12708 2000-05-05 Andy Piper <andy@xemacs.org>
12710 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
12711 instance from the frame cache also since GC may catch up too late
12712 to make frame deletion sane.
12714 2000-05-04 Andy Piper <andy@xemacs.org>
12716 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
12717 (x_finalize_image_instance): ungcpro on deletion.
12719 * glyphs.c (image_instantiator_format_create): give pointers a
12720 query geometry method so that the geometry is at least set.
12722 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
12723 initialize layouts if using widgets.
12725 2000-05-03 Andy Piper <andy@xemacs.org>
12727 * nt.c: remove bogus reference to sysmmsystem.h
12729 * gui-x.c (popup_selection_callback): fix no selection abort.
12731 2000-05-02 Andy Piper <andy@xemacs.org>
12733 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
12734 (mswindows_widget_instantiate): ditto.
12736 * glyphs-widget.c (initialize_widget_image_instance): initialize
12737 children correctly.
12738 (widget_instantiate): cope with children and items in the same
12741 * glyphs.c (mark_image_instance): cope with children as a first
12743 (image_instance_equal): ditto.
12744 (image_instance_hash): ditto.
12745 (image_instance_changed): ditto.
12747 2000-04-30 Andy Piper <andy@xemacs.org>
12749 * glyphs.c (subwindow_query_geometry): new function. Return some
12751 (subwindow_instantiate): don't assign dimensions if none have been
12753 (image_instantiator_format_create): add subwindow_query_geometry.
12754 (print_image_instance): cope with layouts as widgets.
12756 2000-04-29 Andy Piper <andy@xemacs.org>
12758 * frame.c (delete_frame_internal): call
12759 free_frame_subwindow_instance_cache so that all subwindows are
12760 finalized before their parent.
12761 (mark_frame): remove subwindow_cachels.
12762 (Fmake_frame): remove subwindow_cachel manipulation.
12763 (allocate_frame_core): subwindow_instance_cache is a weak list.
12764 (delete_frame_internal): set subwindow_instance_cache to nil.
12766 * glyphs-msw.c (mswindows_finalize_image_instance): make double
12768 (mswindows_finalize_image_instance): use the device
12769 not the domain as the domain may have died already.
12771 * glyphs-x.c (x_finalize_image_instance): ditto.
12772 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
12775 * redisplay-output.c (redisplay_unmap_subwindows): update for
12776 subwindow instance cache as a weak list.
12777 (redisplay_unmap_subwindows_maybe): ditto.
12778 (redisplay_unmap_subwindows_except_us): ditto.
12780 * glyphs.c (unmap_subwindow): error checking will check the domain
12781 so don't deal with it here. Don't use cachels anymore.
12782 (map_subwindow): ditto.
12783 (update_subwindow_cachel_data): remove old accessor names.
12784 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
12785 (Fresize_subwindow): don't update cachel.
12786 (mark_subwindow_cachels):
12787 (update_subwindow_cachel_data):
12788 (add_subwindow_cachel):
12789 (get_subwindow_cachel_index):
12790 (update_subwindow_cachel):
12791 (reset_subwindow_cachels):
12792 (mark_subwindow_cachels_as_not_updated): deleted.
12793 (cache_subwindow_instance_in_frame_maybe): new function. Add a
12794 subwindow instance to the frame cache.
12795 (find_matching_subwindow): update for subwindow instance cache as
12797 (update_widget_instances): ditto.
12798 (image_instance_type_to_mask):inlined.
12799 (free_frame_subwindow_instance_cache): new function. finalize all
12800 subwindows that are instantiated.
12802 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
12803 of cachel information.
12804 (IMAGE_INSTANCE_DISPLAY_X):
12805 (IMAGE_INSTANCE_DISPLAY_Y):
12806 (IMAGE_INSTANCE_DISPLAY_WIDTH):
12807 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
12808 (XIMAGE_INSTANCE_DISPLAY_X):
12809 (XIMAGE_INSTANCE_DISPLAY_Y):
12810 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
12811 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
12812 remove subwindow_cachel structure and function references.
12813 (image_instance_type_to_mask): inline from glyphs.c
12815 * redisplay.c (redisplay_frame): remove subwindow_cachel
12818 * frame.h (struct frame): remove subwindow_cachels.
12819 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
12821 * frameslots.h: add subwindow_instance_cache.
12823 * window.c (replace_window): check subwindow cache of replacement.
12824 (window_unmap_subwindows_cache_mapper):
12825 (window_unmap_subwindows): new functions. Unmap all subwindows
12826 cached on this window.
12827 (mark_window_as_deleted): unmap all subwindows.
12829 2000-04-27 Andy Piper <andy@xemacs.org>
12831 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
12833 * glyphs-widget.c (widget_layout): return something.
12834 (layout_layout): return something. Fail if not initialized.
12835 (layout_query_geometry): ditto.
12836 (image_instantiator_native_layout): new function. Initialized the
12837 native layout type.
12838 (widget_instantiate): don't do layout stuff here.
12840 * glyphs.c (instantiate_image_instantiator): reorded calling or
12841 instantiate and post_instantiate with layout in between.
12842 (image_instance_layout): be more selective about deciding whether
12843 the layout has been done or not.
12845 * glyphs.h (struct image_instantiator_methods): return a value
12846 from layout_method.
12848 2000-04-26 Andy Piper <andy@xemacs.org>
12850 * glyphs.c (allocate_image_instance): make initial width and
12851 height unspecified. Set initialized to 0.
12853 * syscommctrl.h new file. Encapsulates commctrl.h.
12855 * syswindows.h new file. Encapsulates windows.h.
12857 * ntplay.c: use new syswindows.h and syscommctrl.h header.
12859 * console-msw.h: ditto.
12861 * redisplay-tty.c (tty_output_display_block): remove layout references.
12863 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
12864 window handle rather than just the frame.
12866 * glyphs.c (mark_image_instance): remove layout references.
12867 (print_image_instance): ditto.
12868 (image_instance_equal): ditto.
12869 (image_instance_hash): ditto.
12870 (decode_image_instance_type): ditto.
12871 (encode_image_instance_type): ditto.
12872 (image_instantiate): ditto.
12873 (allocate_glyph): ditto.
12874 (Fimage_instance_height): ditto.
12875 (Fimage_instance_width): ditto.
12876 (update_subwindow): ditto.
12878 * redisplay-x.c (x_output_display_block): recode for layouts as
12881 * redisplay-output.c (redisplay_output_layout): recode for layouts
12883 (compare_runes): remove layout references.
12885 * redisplay-msw.c (mswindows_output_display_block): recode for
12886 layouts as widgets.
12888 * glyphs-widget.c (image_instantiator_layout): remove
12889 layout_possible_dest_types.
12890 (layout_possible_dest_types): deleted.
12892 * glyphs.h (image_instance_type): remove layout references.
12893 (struct Lisp_Image_Instance): ditto. Add initialized flag.
12894 (IMAGE_INSTANCE_INITIALIZED): new accessor.
12895 (XIMAGE_INSTANCE_INITIALIZED): ditto.
12897 2000-04-25 Andy Piper <andy@xemacs.org>
12899 * glyphs-widget.c (image_instantiator_buttons):
12900 (image_instantiator_edit_fields):
12901 (image_instantiator_combo_box):
12902 (image_instantiator_scrollbar):
12903 (image_instantiator_progress_guage):
12904 (image_instantiator_tree_view):
12905 (image_instantiator_tab_control):
12906 (image_instantiator_labels):
12907 (image_instantiator_layout): call default post_instantiate method.
12908 (widget_post_instantiate): new function. Simply lays out the
12911 * glyphs.h (struct image_instantiator_methods): add
12912 post_instantiate method.
12914 * glyphs.c (instantiate_image_instantiator): add post_instantiate
12917 2000-04-23 Andy Piper <andy@xemacs.org>
12919 * glyphs.h (struct image_instantiator_methods): add
12920 decode_domain_method.
12921 (struct Lisp_Image_Instance): remove subwindow frame - it can be
12922 derived from the domain.
12923 (IMAGE_INSTANCE_FRAME): new accessor.
12924 (XIMAGE_INSTANCE_FRAME): ditto.
12926 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
12927 instead of _SUBWINDOW_FRAME.
12928 (finalize_image_instance): ditto.
12929 (Fimage_instance_foreground): ditto.
12930 (Fimage_instance_background): ditto.
12931 (image_instantiate): ditto.
12932 (update_subwindow_cachel): ditto.
12933 (update_subwindow): ditto.
12934 (unmap_subwindow): ditto.
12935 (map_subwindow): ditto
12936 (subwindow_instantiate): ditto.
12937 * glyphs-msw.c (mswindows_update_widget): ditto.
12938 (mswindows_progress_gauge_instantiate): ditto.
12939 (mswindows_tab_control_update): ditto.
12940 * glyphs-x.c (x_update_widget): ditto.
12941 (x_widget_instantiate): ditto.
12942 (x_tab_control_instantiate): ditto.
12943 (x_tab_control_update): ditto.
12944 * event-msw.c (mswindows_wnd_proc): ditto
12946 * glyphs-widget.c (image_instantiator_layout): use
12947 subwindow_decode_domain.
12948 (image_instantiator_buttons): ditto.
12949 (image_instantiator_edit_fields): ditto.
12950 (image_instantiator_combo_box): ditto.
12951 (image_instantiator_scrollbar): ditto.
12952 (image_instantiator_progress_guage): ditto.
12953 (image_instantiator_tree_view): ditto.
12954 (image_instantiator_tab_control): ditto.
12955 (image_instantiator_labels): ditto.
12956 (image_instantiator_layout): ditto.
12958 * glyphs.c: add instance error checking to many functions.
12959 (instantiate_image_instantiator): decode device from cache_domain.
12960 (image_instantiate): partially rewrite by using
12961 decode_image_instantiator_domain to determine what domain the
12962 instance needs to be cached in.
12963 (decode_image_instantiator_domain): new function. Determine what
12964 domain the image needs to be cached in.
12965 (check_window_subwindow_cache): new error checking function.
12966 (check_instance_cache_mapper): ditto.
12967 (check_image_instance_structure): ditto.
12968 (subwindow_decode_domain): new function. Encodes a window as a
12969 subwindow's cache domain.
12970 (image_instantiator_format_create): use it for text and
12973 2000-04-21 Andy Piper <andy@xemacs.org>
12975 * glyphs.c (image_instance_device): new function.
12976 (image_instance_frame): new function.
12977 (image_instance_window): new function.
12978 (image_instance_live_p): new function.
12980 * window.c (mark_window_as_deleted): reset the subwindow_instance_
12983 * glyphs.h (struct Lisp_Image_Instance): device->domain.
12984 (IMAGE_INSTANCE_DOMAIN): new accessor.
12985 (XIMAGE_INSTANCE_DOMAIN): ditto.
12987 * glyphs-x.c (x_finalize_image_instance): device->domain.
12989 * glyphs-msw.c (init_image_instance_geometry): device->domain.
12990 (mswindows_finalize_image_instance): ditto.
12992 * glyphs-eimage.c (jpeg_instantiate): device->domain.
12993 (gif_instantiate): ditto.
12994 (png_instantiate): ditto.
12995 (tiff_instantiate): ditto.
12997 * glyphs.c (instantiate_image_instantiator): use domain rather
12999 (mark_image_instance): device -> domain.
13000 (print_image_instance): ditto.
13001 (finalize_image_instance): ditto.
13002 (image_instance_equal): ditto.
13003 (allocate_image_instance): ditto.
13004 (Fcolorize_image_instance): ditto.
13005 (query_string_geometry): ditto.
13006 (image_instantiate): ditto
13007 (query_string_font): ditto.
13008 (image_instantiate): ditto.
13009 (update_subwindow): ditto.
13010 (unmap_subwindow): ditto.
13011 (map_subwindow): ditto.
13012 (subwindow_instantiate): ditto.
13014 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
13015 (DOMAIN_FRAME): ditto.
13016 (DOMAIN_WINDOW): ditto.
13017 (DOMAIN_LIVE_P): ditto.
13018 (XDOMAIN_DEVICE): ditto.
13019 (XDOMAIN_FRAME): ditto.
13020 (XDOMAIN_WINDOW): ditto.
13022 * specifier.c (Fvalid_specifier_domain_p): add image instances as
13023 a valid specifier domain.
13025 2000-04-19 Andy Piper <andy@xemacs.org>
13027 * glyphs-widget.c (syms_of_glyphs_widget): remove
13028 widget-callback-current-channel.
13029 (vars_of_glyphs_widget): ditto.
13032 * gui.c (get_gui_callback): revert to previous behaviour.
13034 2000-04-18 Andy Piper <andy@xemacs.org>
13036 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
13037 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
13038 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
13040 * glyphs.c (image_instance_equal): add margin_width.
13041 (image_instance_hash): ditto.
13043 * glyphs-widget.c (widget_instantiate): deal with margin-width.
13044 (layout_query_geometry): ditto.
13045 (layout_layout): ditto.
13046 (syms_of_glyphs_widget): add margin-width.
13047 (image_instantiator_layout): allow margin-width.
13049 * glyphs.c (update_widget_instances): make a normal function.
13050 (syms_of_glyphs): remove Qupdate_widget_instances.
13053 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
13054 so that we don't corrupt ideas about the last event or
13055 command. Remove widget-callback-current-channel fiddling.
13056 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
13058 2000-05-01 Martin Buchholz <martin@xemacs.org>
13060 * XEmacs 21.2.33 is released.
13062 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
13064 * make-src-depend: Allow dots in header file name.
13066 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
13068 * mule-charset.h (struct charset_lookup): Add
13069 next_allocated_1_byte_leading_byte and
13070 next_allocated_2_byte_leading_byte.
13071 * mule-charset.c: Move above two variables so that those values
13074 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
13076 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
13077 when string length is zero.
13078 (find_charsets_in_emchar_string): Ditto.
13080 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
13082 * lisp.h: extern Qdialog and Qmenubar.
13084 * gui-x.c: added events.h.
13085 also fixed typo which made the file uncompilable.
13087 * general.c: Added Qmenubar and Qdialog
13089 2000-04-28 Ben Wing <ben@xemacs.org>
13091 * frame-msw.c (mswindows_init_frame_1):
13092 * frame-msw.c (mswindows_mark_frame):
13093 * event-msw.c (mswindows_enqueue_dispatch_event):
13095 * console-msw.h (struct mswindows_frame):
13096 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
13097 there are now three hash tables for callbacks.
13098 mswindows_enqueue_dispatch_event is no longer static.
13100 * dialog-x.c (maybe_run_dbox_text_callback):
13101 * dialog-x.c (dbox_descriptor_to_widget_value):
13102 switch to new cons3 form for callbacks.
13104 * glyphs-msw.c (mswindows_register_gui_item):
13105 * glyphs-msw.c (mswindows_widget_instantiate):
13106 * glyphs-msw.c (add_tree_item):
13107 * glyphs-msw.c (add_tab_item):
13108 new image instance parameter, so it can be passed to callback-ex.
13109 respect :callback-ex as well as :callback.
13111 * glyphs-widget.c (VALID_GUI_KEYWORDS):
13114 * glyphs.c (print_image_instance):
13115 prettify, e.g. now prints widget type.
13118 certain funs have new image instance parameter.
13121 * gui.c (get_gui_callback):
13122 * gui.c (gui_item_add_keyval_pair):
13123 * gui.c (gui_item_init):
13124 * gui.c (gui_add_item_keywords_to_plist):
13125 * gui.c (mark_gui_item):
13126 * gui.c (gui_item_hash):
13127 * gui.c (gui_item_equal):
13128 * gui.c (copy_gui_item):
13129 * gui.c (syms_of_gui):
13130 recognize callback-ex in a number of places.
13131 also, fix the annoying "can't get out of yes-no dialog" bug.
13134 * gui.h (struct Lisp_Gui_Item):
13135 recognize callback-ex in a number of places.
13137 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
13138 new parameter in button_item_to_widget_value.
13140 * glyphs-x.c (x_update_widget):
13141 * glyphs-x.c (x_button_instantiate):
13142 * glyphs-x.c (x_button_update):
13143 * glyphs-x.c (x_progress_gauge_instantiate):
13144 * glyphs-x.c (x_edit_field_instantiate):
13145 * glyphs-x.c (x_combo_box_instantiate):
13146 * glyphs-x.c (x_tab_control_instantiate):
13147 * glyphs-x.c (x_label_instantiate):
13148 new image instance parameter in various places.
13151 * event-Xt.c (enqueue_Xt_dispatch_event):
13152 this fun gets exported.
13155 * gui-msw.c (mswindows_handle_gui_wm_command):
13156 handle both :callback and :callback-ex, and generate our own
13157 event because it's one of the callback-ex arguments.
13160 * gui-x.c (popup_selection_callback):
13161 handle both :callback and :callback-ex, and generate our own
13162 event because it's one of the callback-ex arguments.
13163 * gui-x.c (button_item_to_widget_value):
13164 * gui-x.c (gui_items_to_widget_values_1):
13165 * gui-x.c (gui_item_children_to_widget_values):
13166 * gui-x.c (gui_items_to_widget_values):
13167 new image instance parameter in various places.
13169 * fns.c (Freplace_list):
13170 fix small typo in doc string.
13173 declare enqueue_Xt_dispatch_event.
13175 2000-04-28 Ben Wing <ben@xemacs.org>
13178 * buffer.c (Frecord_buffer):
13179 * buffer.c (syms_of_buffer):
13180 delete record-buffer-hook.
13183 * fns.c (Freplace_list):
13184 * fns.c (syms_of_fns):
13185 new primitive replace-list.
13188 slot for old buffer-alist.
13191 exfun replace-list.
13194 * redisplay.c (redisplay_frame):
13195 * redisplay.c (syms_of_redisplay):
13196 * redisplay.c (vars_of_redisplay):
13197 new hook buffer-list-changed-hook.
13200 2000-04-27 Ben Wing <ben@xemacs.org>
13202 * extents.h: extern in_modeline_generation.
13204 * redisplay.c (generate_formatted_string_db): set
13205 in_modeline_generation.
13207 * extents.c (extent_changed_for_redisplay): don't mark redisplay
13208 flags if in modeline generation. otherwise frame-modified-tick
13209 is ticked far too often.
13210 Declare in_modeline_generation.
13212 2000-04-26 Ben Wing <ben@xemacs.org>
13214 * emacs.c (vars_of_emacs): document quick-build "error-checking"
13216 (vars_of_emacs): add quick-build as an error-checking option.
13217 A bit kludgy, but there doesn't seem much point in creating
13218 a real var for this.
13220 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
13222 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
13224 * redisplay.h (struct display_line): Add a new variable,
13227 * redisplay.c (create_text_block): Set dl->line_continuation if
13228 the line continues.
13229 (create_string_text_block): Ditto.
13230 (regenerate_window_incrementally): Use line_continuation instead
13231 of searching continuation glyph.
13232 (add_margin_runes): Call add_glyph_rune.
13233 (add_glyph_rune): Handle margin glyph.
13235 2000-04-20 Martin Buchholz <martin@xemacs.org>
13237 * filelock.c (fill_in_lock_file_name):
13239 Check for IS_ANY_SEP instead of '/'.
13241 Avoid generating gratuitous garbage. Call user_login_name() directly.
13242 Never check errno without first seeing that system call failed.
13243 (unlock_file): Add GCPRO.
13244 (Flock_buffer): Fix docstring.
13245 (Ffile_locked_p): Fix docstring. Add GCPRO.
13247 2000-04-19 Martin Buchholz <martin@xemacs.org>
13249 * sysdep.c (get_pty_max_bytes):
13250 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
13251 strings longer than 252 bytes.
13253 * md5.c: Unconditionally include ANSI header <limits.h>
13255 * glyphs-x.c (convert_EImage_to_XImage):
13256 * lisp-union.h (union Lisp_Object):
13257 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
13259 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
13261 * filelock.c (current_lock_owner): Remove unused variable o, p.
13263 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
13265 * callint.c: Remove multiply defined symbol Qlet
13266 (syms_of_callint): ditto.
13268 2000-04-14 Andy Piper <andy@xemacs.org>
13270 * general.c (syms_of_general): add last-command, this-command, let
13273 * lisp.h: declare various symbols.
13275 * glyphs.h: declare Qwidget_callback_current_channel;
13277 * glyphs-widget.c (syms_of_glyphs_widget): add
13278 Qgui_callback_current_channel.
13279 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
13281 * gui-msw.c (mswindows_handle_gui_wm_command): bind
13282 widget-callback-current-channel when invoking the interactive
13283 arg. Also bind last-command and next-command when invoking the
13285 * gui-x.c (popup_selection_callback): ditto.
13287 * gui.c (get_gui_callback): massage args so that we are always
13288 calling eval. This allows us to add our own variable bindings
13291 * glyphs-x.c (x_button_instantiate): use
13292 gui_items_to_widget_values since this is GC safe.
13293 (x_progress_gauge_instantiate): ditto.
13294 (x_edit_field_instantiate): ditto.
13295 (x_label_instantiate): ditto.
13297 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
13298 (emacs_Xt_event_widget_focus_out): new function
13299 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
13301 (emacs_Xt_event_add_widget_actions): new function. add focus
13302 functions as actions.
13303 (init_event_Xt_late): use it.
13305 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
13307 * event-stream.c (Fdispatch_event): Doc fix.
13309 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
13311 * postgresql.c: Remove all references to PQsetenv*.
13313 * postgresql.h: Remove references to PGsetenvHandler object.
13314 * lrecord.h (lrecord_type): Ditto.
13316 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13318 * glyphs-msw.h (struct mswindows_image_instance_data): Added
13319 real_heigh and real_width members, and accessor macros for these.
13321 * glyphs-msw.c (init_image_instance_geometry): New function.
13322 (init_image_instance_from_dibitmap): Use it.
13323 (mswindows_resource_instantiate): Use it.
13324 (init_image_instance_from_xbm_inline): Use it.
13325 (mswindows_initialize_image_instance_mask): Use real bitmap
13327 (mswindows_create_resized_bitmap): Ditto.
13328 (mswindows_create_resized_mask): Ditto.
13330 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
13331 and bitmap to their surface size.
13333 2000-04-11 Jan Vroonhof <jan@xemacs.org>
13335 * process-unix.c (unix_send_process): Guard against process MIA
13336 after Faccept_process_output.
13338 2000-04-11 Ben Wing <ben@xemacs.org>
13340 * eval.c (unbind_to_hairy): fix brokenness introduced by
13341 nanosecond speed improvements.
13343 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
13345 * sunplay.c (init_device): To play sounds correctly, the device
13346 apparently needs to be initialized at least once by XEmacs. Make
13349 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
13351 * redisplay.c (add_margin_runes): Add text image glyph
13354 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
13356 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
13357 gcc is newer than 2.5.
13359 2000-04-06 Colin Rafferty <colin@xemacs.org>
13361 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
13363 * fns.c (size_bit_vector):
13364 * alloc.c (size_vector):
13365 (make_vector_internal):
13366 (make_bit_vector_internal):
13367 (sweep_bit_vectors_1):
13368 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
13370 2000-04-06 Andy Piper <andy@xemacs.org>
13372 * gmalloc.c (malloc): undo previous change.
13377 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
13379 * line-number.c (buffer_line_number): Revert to former version.
13381 2000-04-06 Andy Piper <andy@xemacs.org>
13383 * gmalloc.c (malloc): add error checking.
13388 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
13389 button_item_to_widget_value arg.
13391 * glyphs-x.c (x_button_instantiate): add extra
13392 button_item_to_widget_value arg.
13393 (x_progress_gauge_instantiate): ditto.
13394 (x_edit_field_instantiate): ditto.
13395 (x_label_instantiate): ditto.
13397 * gui-x.c (gui_items_to_widget_values_1): add extra
13398 button_item_to_widget_value arg.
13399 (button_item_to_widget_value): add extra menu_item_p arg.
13401 * gui-x.h: change signature of button_item_to_widget_value.
13403 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
13404 button_item_to_widget_value arg.
13406 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
13408 * buffer.h (struct buffer): auto_save_modified should be long.
13410 2000-04-05 Andy Piper <andy@xemacs.org>
13412 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
13414 (button_query_geometry): give a little more room so that athena
13417 2000-04-05 Andy Piper <andy@xemacs.org>
13419 * faces.c (complex_vars_of_faces): The widget face should inherit
13420 the font of the gui-element face.
13422 2000-04-04 Andy Piper <andy@xemacs.org>
13424 * glyphs-x.c (x_button_update): new function. unconditionally
13425 update a button's state when the instance is dirty.
13426 (image_instantiator_format_create_glyphs_x): add x_button_update.
13427 (x_widget_instantiate): remove old resize cruft.
13429 2000-04-02 Andy Piper <andy@xemacs.org>
13431 * frame.c (change_frame_size_1): The introduction of gutters means
13432 that we need to allow 0 as a potential frame dimension.
13434 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
13436 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
13437 image glyph if allow_cursor.
13438 (add_hscroll_rune): Don't allow cursor to border glyph.
13439 (create_text_block): Ditto.
13441 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
13442 text not in buffer.
13443 (redisplay_output_layout): Call ensure_face_cachel_complete for
13447 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
13449 * redisplay.c (add_glyph_rune): Adding text image as text runes.
13451 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
13454 * redisplay-tty.c (tty_output_display_block): Delete the routine
13455 for text image glyph
13456 * redisplay-x.c (x_output_display_block): ditto
13457 * redisplay-msw.c (mswindows_output_display_block): ditto
13459 2000-02-02 Mike Alexander <mta@arbortext.com>
13461 Note: Some of these were committed by accident as part of other
13464 * regex.c (regex_compile): Avoid compiler warnings.
13466 * ntproc.c (sys_spawnve): Avoid compiler warnings.
13468 * nt.h: Declare term_ntproc correctly.
13470 * nt.c: Remove incorrect declaration of get_home_directory which
13471 is declared correctly in lisp.h.
13473 * keymap.c (get_keyelt): Avoid compiler warnings.
13474 (raw_lookup_key_mapper): Avoid compiler warnings.
13476 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
13478 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
13480 * filemode.c (mode_string): Avoid compiler warnings.
13482 * file-coding.c (Fcoding_system_aliasee): Add return statement to
13485 * events-mod.h: Undef some things that winuser.h defines differently.
13487 * data.c (Faset): Avoid compiler warnings.
13489 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
13491 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
13493 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
13494 Fall through to simple beep on error.
13495 Replace "extern" by real header file.
13497 * linuxplay.c: Use nativesound.h
13498 (play_sound_data): Return error code. Be less verbose on error.
13500 * sunplay.c: Use nativesound.h
13501 (play_sound_data): Return error code. Be less verbose on error.
13503 * ntplay.c: Use nativesound.h
13504 (play_sound_data): Return fake error code
13506 * sgiplay.c: Use nativesound.h
13507 (play_sound_data): Return error code
13509 * hpplay.c: Use nativesound.h, partially implement
13510 new error code. Break compilation until finished.
13511 (play_sound_data): error code.
13513 * nativesound.h (play_sound_file):
13514 (play_sound_data): Prototype in new header.
13516 2000-03-31 Andy Piper <andy@xemacs.org>
13518 * glyphs-widget.c: (button_query_geometry): new function. Adjust
13519 for toggle and radio buttons.
13520 (image_instantiator_buttons): use it.
13522 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
13524 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
13525 (x_update_horizontal_scrollbar_callback): Return if no mirror was
13526 found. Scrollbar event probably belonged to some old config.
13528 2000-03-31 Andy Piper <andy@xemacs.org>
13530 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
13532 (initialize_widget_image_instance): default layout to
13533 LAYOUT_HORIZONTAL rather than 0.
13534 (widget_instantiate): reverse the item list at the end rather than
13536 (layout_layout): re-code for the border text at the front of the
13537 item list rather than at the end.
13538 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
13539 provided by the user.
13540 (widget_query_geometry): comment.
13542 2000-03-30 Andy Piper <andy@xemacs.org>
13544 * glyphs-widget.c (image_instantiator_layout): allow standard
13545 widget keywords in layouts.
13547 * gutter.c (output_gutter): cope with nil gutter contents.
13549 * frame.c (Fset_frame_properties): add gutter docs.
13551 2000-03-29 Andy Piper <andy@xemacs.org>
13553 * toolbar-msw.c (TBSTYLE_FLAT): add.
13554 (mswindows_output_toolbar): minor fiddling.
13556 2000-03-29 Andy Piper <andy@xemacs.org>
13558 * gutter.c (output_gutter): force gutter size recalculation if
13559 what we are trying to display won't fit.
13560 (update_gutter_geometry): new function. A per-gutter version of
13561 update_frame_gutter_geometry.
13562 (update_frame_gutter_geometry): use it.
13563 (redraw_exposed_gutter): add extra debugging output.
13565 2000-03-28 Mike Alexander <mta@arbortext.com>
13567 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
13568 (pdump_file_unmap): Implement it on Windows
13569 (pdump_file_get): Save alocated handles for pdump_file_unmap
13571 2000-03-28 Andy Piper <andy@xemacs.org>
13573 * gui.c (get_gui_callback): treat Quit specially.
13575 2000-03-27 Andy Piper <andy@xemacs.org>
13577 * glyphs.c (image_instantiate): be careful to check in the same
13580 2000-03-27 Didier Verna <didier@xemacs.org>
13582 * config.h.in: define the proper SMART_INCLUDE macro.
13583 handle renaming of `foo_h_path' to `foo_h_file'.
13585 * database.c: ditto.
13589 * linuxplay.c: ditto.
13591 * terminfo.c: ditto.
13593 * tooltalk.h: ditto.
13595 2000-03-27 Andy Piper <andy@xemacs.org>
13597 * glyphs-msw.c (mswindows_update_widget): make sure the widget
13598 gets updated whenever the face might have changed.
13600 2000-03-26 Mike Alexander <mta@arbortext.com>
13602 * dumper.c (pdump_resource_free): Fix the comment.
13604 2000-03-21 Olivier Galibert <galibert@pobox.com>
13606 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
13608 2000-03-22 Mike Alexander <mta@arbortext.com>
13610 * dumper.c: Include Windows headers on Windows
13611 (pdump_resource_free): Add a body to the function
13612 (pdump_load): exe_name -> exe_path and add some comments.
13614 2000-03-25 Mike Alexander <mta@arbortext.com>
13616 * gui.c (copy_gui_item_tree): Return a value in all cases
13618 2000-03-21 Didier Verna <didier@xemacs.org>
13620 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
13622 (SMART_INCLUDE): new macro.
13623 (POSTGRES_INCLUDE): new macro to include postgresql headers from
13624 the proper location.
13626 * postgresql.c: use it.
13630 2000-03-24 Andy Piper <andy@xemacs.org>
13632 * gutter.c (redraw_exposed_gutters): must be "in display" when we
13635 2000-03-24 Andy Piper <andy@xemacs.org>
13637 * redisplay-output.c (compare_runes): use image_instance_changed
13638 to detect changes. Do not depend on glyphs_changed, only depend on
13640 (redisplay_output_layout): add debug messages.
13641 (compare_runes): ditto.
13643 * glyphs.h: declare new functions.
13644 (struct Lisp_Image_Instance): remove percent and associated
13647 * gui.h: declare new copying functions.
13649 * gui.c (copy_gui_item_tree): new function.
13650 (copy_gui_item): new function.
13651 (gui_item_id_hash): revert to standard hash.
13652 (gui_item_hash): ditto.
13653 (gui_item_hash_internal): deleted.
13654 (mark_gui_item): mark value.
13655 (gui_item_add_keyval_pair): add value.
13656 (gui_item_init): ditto.
13657 (gui_add_item_keywords_to_plist): ditto.
13658 (gui_item_equal): ditto.
13659 (syms_of_gui): add Q_value.
13661 * glyphs-x.c (x_progress_gauge_update): use pending items and
13662 value for setting the state.
13663 (x_update_widget): don't set items from pending here.
13665 * glyphs-widget.c (update_widget): update items here.
13666 (progress_gauge_set_property): use items for storing value. Put
13667 new value in pending items.
13669 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
13670 items for new value. Convert percent -> value.
13671 (mswindows_tab_control_update): don't update items here.
13673 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
13674 (update_subwindow): ditto.
13675 (image_instance_changed): new function. Compare hash values and
13676 past and present widget items.
13677 (image_instantiate): We more careful about where we instantiate
13679 (image_instantiate): add error checking.
13681 * gutter.c (syms_of_gutter): use -hook.
13683 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
13685 * console-tty.c (Fset_console_tty_input_coding_system): Use
13687 (Fset_console_tty_output_coding_system): Use Qterminal.
13688 (tty_init_console): Use Qkeyboard and Qterminal.
13690 2000-03-21 Ben Wing <ben@xemacs.org>
13692 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
13693 From Mike Alexander <mta@arbortext.com>.
13695 2000-03-21 Ben Wing <ben@xemacs.org>
13697 * event-msw.c (mswindows_need_event): Horrible kludge to fix
13698 process brokenness. Proper implementation to come.
13700 Rename call-process-internal to old-call-process-internal.
13701 New impl. in process.el.
13703 2000-03-21 Martin Buchholz <martin@xemacs.org>
13705 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
13707 2000-03-20 Andy Piper <andy@xemacs.org>
13709 * glyphs.c (full_list_hash): make hashes of the same elements in
13710 different orders return different values.
13712 2000-03-20 Martin Buchholz <martin@xemacs.org>
13714 * XEmacs 21.2.32 is released.
13716 2000-03-20 Martin Buchholz <martin@xemacs.org>
13718 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
13719 (DFC_MALLOC_USE_CONVERTED_DATA):
13720 Add aliasing-safe casts to allow use with char* or unsigned char*
13723 * eldap.c (Fldap_open):
13724 (Fldap_search_basic):
13727 Make C++-compilable.
13728 Make sure GCPRO'ed variables are initialized.
13729 Use temp variables to avoid repeated calls to Flength.
13731 2000-03-16 Martin Buchholz <martin@xemacs.org>
13734 Make sure PATH_MAX is always defined.
13735 Include limits.h for PATH_MAX.
13736 Deprecate use of MAXPATHLEN.
13738 2000-03-10 Martin Buchholz <martin@xemacs.org>
13740 * emacs.c: Add reinit_vars_of_fileio.
13741 * symsinit.h: Add reinit_vars_of_fileio.
13742 * fileio.c (reinit_vars_of_fileio): New.
13743 * fileio.c (Fmake_temp_name):
13744 Initialize temp_name random number from microseconds to make
13745 collisions even less likely. Initialize always at process startup
13746 time. (make-temp-name) used to return the same file name twice in
13748 Random stylistic fiddling.
13751 2000-03-20 Andy Piper <andy@xemacs.org>
13753 * glyphs.c (image_instantiate): allow text glyphs to be
13754 instantiated in the minibuffer window.
13756 2000-03-19 Andy Piper <andy@xemacs.org>
13758 * glyphs.c (image_instance_hash): be careful about which items we
13761 * glyphs-widget.c (tab_control_set_property): record into pending
13762 items rather than the actual items.
13764 * glyphs-x.c (x_update_widget): use pending items to update with.
13766 * glyphs-msw.c (mswindows_tab_control_update): use pending items
13769 * glyphs.c (mark_image_instance): mark pending items.
13771 * window.c (Fset_window_configuration): record the buffer.
13772 (Fselect_window): totally revert previous change which breaks many
13775 2000-03-18 Andy Piper <andy@xemacs.org>
13777 * glyphs-msw.c (mswindows_tab_control_update): force selected
13780 * glyphs.c (image_instantiate): don't allow the minibuffer as a
13781 window domain cache, otherwise we get inconsistencies at
13782 startup. There is something fishy at startup which can lead to the
13783 minibuffer being the selected window when the gutter content is
13786 * gui.c (parse_gui_item_tree_list): add probably unnecessary
13788 (parse_gui_item_tree_children): ditto.
13789 (parse_gui_item_tree_item): ditto.
13791 * glyphs.c (Fupdate_widget_instances): return something.
13793 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
13795 * window.c (Fselect_window): Undo 2000-03-17 change.
13797 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
13799 * postgresql.c (Fpq_setenv): Remove this turkey when linking
13800 against v7.0 libraries. Insta-coredump city until the postgres
13803 2000-03-17 Andy Piper <andy@xemacs.org>
13805 * faces.c (complex_vars_of_faces): don't give the widget face an
13806 inherited background pixmap.
13808 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
13811 * event-stream.c (Fdispatch_non_command_events): return something.
13813 * gutter.c (output_gutter): use widget face.
13814 (clear_gutter): ditto.
13816 * NEWS: adjust again.
13818 * window.c (Fselect_window): make sure this runs to completion to
13819 avoid oddities with Fset_window_configuration.
13820 (Fcurrent_window_configuration): in general do not save the
13821 minibuffer as the selected window.
13823 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
13825 2000-03-16 Olivier Galibert <galibert@pobox.com>
13827 * emacs.c (Frunning_temacs_p): Revert previous patch.
13828 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
13830 2000-03-16 Andy Piper <andy@xemacs.org>
13832 * glyphs-x.c (x_tab_control_update): if no widget values then
13835 * NEWS: update for new features.
13837 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
13838 synthetic event to the native system.
13839 (reinit_vars_of_event_Xt): set force_event_pending to
13840 emacs_Xt_force_event_pending.
13842 * events.h (struct event_stream): add force_event_pending.
13844 * specifier.c (recompute_one_cached_specifier_in_window): add
13847 * redisplay.c (redisplay_frame): don't call
13848 update_frame_subwindows. Reset subwindow cachels when
13849 subwindows_changed, removing this was an optimization too far.
13851 * redisplay-output.c (compare_runes): reorganize so that we catch
13852 glyph changes when we want them. Set optimize_output when this
13853 would help layouts.
13854 (redisplay_output_layout): remove frame_really_changed, use
13855 optimize_output instead.
13857 * redisplay-msw.c (mswindows_output_display_block): reset
13858 optimize_output after outputting a glyph.
13859 * redisplay-x.c (x_output_display_block): ditto.
13860 * redisplay-tty.c (tty_output_display_block): ditto.
13862 * gutter.c: (specifier_vars_of_gutter): use new spec changed
13864 (gutter_specs_changed): do specific gutter positions.
13865 (top_gutter_specs_changed): new function. Only update the
13866 specified gutter specs.
13867 (bottom_gutter_specs_changed): ditto.
13868 (left_gutter_specs_changed): ditto.
13869 (right_gutter_specs_changed): ditto.
13871 * gui.c (gui_item_hash_internal): new function, does a real hash.
13872 (gui_item_id_hash): use it.
13873 (gui_item_hash): hash the eval'ed gui_item.
13875 * gui-x.c (popup_selection_callback): send an eval event to call
13876 Fupdate_widget_instances.
13878 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
13879 to call Fupdate_widget_instances.
13881 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
13882 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
13884 * glyphs.c: (update_frame_subwindows): deleted.
13885 (Fupdate_widget_instances): new function for updating the dirty
13886 state of widgets that might have changed.
13887 (syms_of_glyphs): add Qupdate_widget_instances.
13888 (full_list_hash): hash a list completely.
13889 (image_instance_hash): use it for items and properties.
13891 * frame-msw.c (mswindows_size_frame_internal): remove unused
13894 * faces.h (struct face_cachel): fix comment.
13896 * event-stream.c (Fdispatch_non_command_events): new
13897 function. Process non-command events, forcing an event cycle
13899 (syms_of_event_stream): declare.
13900 (event_stream_force_event_pending): new function. Force an event
13901 on the native event queue so that an event cycle will occur next
13905 (struct ntpipe_shove_stream):
13906 (mswindows_enqueue_dispatch_event):
13907 (mswindows_dequeue_dispatch_event):
13908 (mswindows_cancel_dispatch_event):
13909 (mswindows_pump_outstanding_events):
13910 (mswindows_drain_windows_queue):
13911 (mswindows_handle_paint):
13912 (mswindows_wnd_proc):
13913 (mswindows_key_to_emacs_keysym):
13914 (get_process_input_waitable):
13915 (emacs_mswindows_delete_stream_pair): re-indent file.
13916 (mswindows_need_event): do not process further fds if the windows
13917 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
13918 fixes the 100% cpu problem.
13919 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
13921 2000-03-15 Olivier Galibert <galibert@pobox.com>
13927 * emacs.c: Moved dump file searching to dumper.c.
13928 (Frunning_temacs_p): Fixed.
13930 * alloc.c: Moved everything pdump-related to dumper.c. Removed
13931 last_lrecord_type_index_assigned.
13933 2000-02-20 Olivier Galibert <galibert@pobox.com>
13935 * symsinit.h: Added reinit parameter to init_console_stream
13938 * lisp.h: Added file parameter to pdump_load declaration.
13940 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
13941 support. Added dump file searching.
13943 * config.h.in: Added EMACS_PROGNAME.
13945 * console-stream.c (init_console_stream): Fix reinitialisation
13946 when running from temacs.
13948 * alloc.c (pdump): Add id support.
13949 (pdump_load): Add file parameter and signature/id support.
13951 * Makefile.in.in: Add full pdump support.
13953 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
13955 * postgresql.c: Update documentation to reflect latest code
13957 (print_result): Show tuple counts in printed representation when
13959 (Fpq_put_nbytes): MULE-ize.
13960 (Fpq_get_line_async): Ditto.
13962 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
13964 * postgresql.c (Fpq_lo_import): Fix return value.
13965 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
13967 2000-03-13 Ben Wing <ben@xemacs.org>
13969 * alloc.c (pdump_load):
13970 Fix compile warning under mswin.
13972 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
13974 * postgresql.c: Mule-ization, bug fixes.
13975 Use PG_CODING to encapsulate coding system name changes.
13976 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
13977 (pg-coding-system): Create.
13979 (Fpq_conn_defaults): Mule-ize.
13980 (Fpq_connectdb): Mule-ize & bug fix.
13981 (Fpq_connect_start): Mule-ize.
13982 (Fpq_set_client_encoding): Mule-ize.
13983 (Fpq_finish): Document `DEAD' connection status.
13984 (Fpq_clear): Ditto.
13985 (Fpq_pgconn): Mule-ize.
13986 (Fpq_exec): Mule-ize & bug fix.
13987 (Fpq_send_query): Ditto.
13988 (Fpq_get_result): Ditto.
13989 (Fpq_res_status): Mule-ize.
13990 (Fpq_result_error_message): Mule-ize.
13991 (Fpq_ntuples): fix comments.
13992 (Fpq_fname): Mule-ize.
13993 (Fpq_fnumber): Mule-ize.
13994 (Fpq_ftype): fix comments.
13995 (Fpq_get_value): Mule-ize.
13996 (Fpq_cmd_status): Ditto.
13997 (Fpq_cmd_tuples): Ditto.
13998 (Fpq_oid_value): Ditto.
13999 (Fpq_notifies): Ditto.
14000 (Fpq_lo_import): Ditto.
14001 (Fpq_lo_export): Ditto.
14002 (Fpq_get_line): Ditto.
14003 (Fpq_put_line): Mule-ize and bug fix.
14004 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
14006 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
14008 * postgresql.c (vars_of_postgresql): Mule-ize.
14009 (Fpq_conn_defaults): Ditto.
14011 2000-03-12 Ben Wing <ben@xemacs.org>
14013 * alloc.c (Fmake_byte_code):
14014 * alloc.c (debug_string_purity_print):
14015 * alloc.c (pdump_backtrace):
14016 * alloc.c (pdump_get_indirect_count):
14017 * alloc.c (pdump_register_sub):
14018 * alloc.c (pdump_register_object):
14019 * alloc.c (pdump_register_struct):
14020 * alloc.c (pdump_dump_data):
14021 * alloc.c (pdump_reloc_one):
14025 * console-msw.c (GetConsoleHwnd):
14026 * console-msw.c (msw_hide_console):
14027 * console-msw.c (msw_show_console):
14028 * console-msw.c (msw_ensure_console_buffered):
14029 * console-msw.c (msw_output_console_string):
14030 * console-msw.c (console_type_create_mswindows):
14032 a) Added functions to manipulate the console window for use with
14035 b) Added support for writing text to the console, which is now
14036 used under Windows when xemacs is not being run non-interactively,
14037 to write text that would otherwise be destined for stdout because
14038 under these circumstances, text written to stdout tends to
14039 disappear and not be seen.
14043 * event-Xt.c (x_event_to_emacs_event):
14044 * event-Xt.c (describe_event_window):
14045 * events-mod.h (XEMACS_MOD_CONTROL):
14047 * events.c (Fmake_event):
14048 * events.c (character_to_event):
14049 * events.c (event_to_character):
14050 * events.c (format_event_object):
14051 * events.c (Fevent_modifiers):
14053 * events.h (struct key_data):
14054 * events.h (struct button_data):
14055 * events.h (struct misc_user_data):
14056 * frame-x.c (Fcde_start_drag_internal):
14057 * frame-x.c (Foffix_start_drag_internal):
14058 * gpmevent.c (Freceive_gpm_event):
14060 * keymap.c (bucky_sym_to_bucky_bit):
14061 * keymap.c (control_meta_superify):
14062 * keymap.c (make_key_description):
14063 * keymap.c (keymap_lookup_directly):
14064 * keymap.c (create_bucky_submap):
14065 * keymap.c (keymap_store):
14066 * keymap.c (define_key_check_and_coerce_keysym):
14067 * keymap.c (define_key_parser):
14068 * keymap.c (define_key_alternate_name):
14069 * keymap.c (Fdefine_key):
14070 * keymap.c (raw_lookup_key_mapper):
14071 * keymap.c (struct map_keymap_unsorted_closure):
14072 * keymap.c (map_keymap_unsorted_mapper):
14073 * keymap.c (map_keymap_sort_predicate):
14074 * keymap.c (map_keymap_sorted):
14075 * keymap.c (accessible_keymaps_mapper_1):
14076 * keymap.c (where_is_recursive_mapper):
14077 * keymap.c (describe_map_mapper):
14078 * keymap.c (describe_map_sort_predicate):
14079 * keymap.c (describe_map):
14080 * keymap.c (complex_vars_of_keymap):
14081 And a number of other files, the key modifier preprocessor
14082 constants that xemacs uses have names that conflict with constants
14083 defined under MS Windows for other purposes, so they were renamed
14084 to begin with the prefix XEMACS_. The variables that hold such
14085 modifiers were changed to consistently be of type int to fix
14086 various compile warnings.
14088 * console.c (complex_vars_of_console):
14091 * device-msw.c (mswindows_finish_init_device):
14092 * device-msw.c (msw_get_workspace_coords):
14093 * device-msw.c (mswindows_device_system_metrics):
14094 and various other files, added support for a new
14095 device property called offset-workspace which returns the position
14096 of the upper left corner of the workspace area and goes along with
14097 the existing size-workspace property.
14100 * dialog-msw.c (push_bufbyte_string_as_unicode):
14101 * dialog-msw.c (mswindows_popup_dialog_box):
14102 Added support for XEmacs-style accelerator specifications in
14103 button text. Note: I didn't add support for this under X Windows,
14104 and somebody needs to do this.
14107 * dialog.c (Fpopup_dialog_box):
14108 Documented the support for accelerators that was just mentioned.
14110 editfns.c (get_home_directory): Changed behavior under Windows
14111 when HOME not defined; former behavior was irretrievably broken.
14114 * emacs.c (main_1):
14116 * minibuf.c (clear_echo_area_internal):
14117 * minibuf.c (echo_area_append):
14119 * print.c (std_handle_out_external):
14120 * print.c (std_handle_out_va):
14122 * print.c (write_string_to_stdio_stream):
14123 * print.c (output_string):
14124 * print.c (debug_print):
14125 * print.c (debug_backtrace):
14126 * print.c (debug_short_backtrace):
14127 Cleaned up the code that prints text to stdout so that this can be
14128 changed to output into a console window instead under MS Windows,
14129 as described above.
14132 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
14133 * eval.c (internal_catch):
14134 * eval.c (unwind_to_catch):
14135 * eval.c (throw_or_bomb_out):
14136 * eval.c (condition_case_1):
14137 * eval.c (signal_1):
14138 * eval.c (check_error_state_sanity):
14139 * eval.c (call_with_suspended_errors_1):
14140 * eval.c (call_with_suspended_errors):
14141 * eval.c (reinit_vars_of_eval):
14142 Added code to catch throw loops and check for a pesky bug that may
14146 * event-msw.c (key_needs_default_processing_p):
14147 * event-msw.c (mswindows_wnd_proc):
14148 * event-msw.c (mswindows_modifier_state):
14149 * event-msw.c (emacs_mswindows_quit_p):
14150 * event-msw.c (vars_of_event_mswindows):
14151 a) Added support for using the alt key to select menu items as is
14152 standard under MS Windows. This is controlled using the variable
14153 menu-accelerator-enabled, just like under X Windows. There is an
14154 option on the options menu to turn this support on. I really
14155 think that it should be on by default under Windows, but I'm not
14156 going to make this change yet.
14158 b) Added support for dynamic display size changes under Windows.
14161 * event-stream.c (maybe_echo_keys):
14162 * event-stream.c (Fnext_event):
14163 * event-stream.c (command_builder_find_leaf):
14164 * event-stream.c (lookup_command_event):
14165 * event-stream.c (execute_command_event):
14166 * event-stream.c (pre_command_hook):
14167 * event-stream.c (post_command_hook):
14168 * event-stream.c (syms_of_event_stream):
14169 * event-stream.c (vars_of_event_stream):
14170 * event-stream.c (complex_vars_of_event_stream):
14171 * events.h (struct command_builder):
14173 a) Tried to clean up a little bit the horribly written x-specific
14174 accelerator code that crept into this file. I moved this code
14175 into menubar-x.c where it belongs. I also needed to move the
14176 command builder structure into the file events.h because it is
14177 accessed directly by this accelerator code. What I didn't do, but
14178 which should be done at some point, is to properly abstract this
14179 code using device methods instead of the kludgy way that it
14180 currently hooks into the event code.
14182 b) Added the lisp variables this-command-properties and
14183 last-command- properties, which should be used to synchronize two
14184 adjacent commands in preference to playing games with the variable
14185 this-command, which is typically what happens.
14187 c) Added some slightly nasty code to hook into the lisp support
14188 for shifted- motion-key selection. This is actually necessary for
14189 somewhat complicated reasons, which are described in
14190 simple.el. (NB: I think the proper thing would be to have the code
14191 that calls the pre and post command hooks also call out to generic
14192 lisp functions in simple.el, where all built-in stuff could be
14193 added. I will think about this more.)
14195 * event-unixoid.c (poll_fds_for_input):
14196 * lread.c (readchar):
14197 * redisplay-tty.c (tty_clear_frame):
14198 * redisplay-x.c (x_get_gc):
14199 * signal.c (interrupt_signal):
14200 And a whole bunch of other files: fixed up places that printed
14201 directly to stderr to instead call the function stderr_out so that
14202 the changes I made under Windows work correctly.
14204 * filemode.c (mode_string):
14208 * frame-msw.c (mswindows_size_frame_internal):
14209 Fixed the computation of frame size and position to keep the frame
14210 within the workspace area, rather than within the physical
14211 dimensions of the screen, so that the frame doesn't overlap window
14212 manager decorations, such as the start menu and toolbar, typically
14213 at the bottom of the screen.
14215 * frame.c (vars_of_frame):
14216 Changed the default frame title format under MS Windows to consist
14217 of buffername-XEmacs, which is standard under MS Windows. I think
14218 it might be a good idea to change this everywhere because I think
14219 it is superior to the current frame title format, but this is the
14220 kind of change that is likely to cause some people to get annoyed,
14221 so I'm not making it.
14223 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
14225 * gui-msw.c (mswindows_handle_gui_wm_command):
14226 Fixed compile warnings.
14229 * gui-x.c (strdup_and_add_accel):
14230 * gui-x.c (button_item_to_widget_value):
14232 Added code to automatically put an accelerator onto the beginning
14233 of menu items that don't have one as is now the standard, and is
14234 described more later. Also fixed things so that the menu item
14235 name can be an evaluated expression, again a new standard.
14238 * gui.c (gui_item_add_keyval_pair):
14239 * gui.c (make_gui_item_from_keywords_internal):
14240 * gui.c (gui_add_item_keywords_to_plist):
14241 * gui.c (gui_item_accelerator):
14242 * gui.c (gui_name_accelerator):
14243 * gui.c (gui_item_included_p):
14244 * gui.c (gui_item_display_flush_left):
14245 * gui.c (gui_item_display_flush_right):
14246 * gui.c (parse_gui_item_tree_item):
14247 * gui.c (parse_gui_item_tree_children):
14248 * gui.c (parse_gui_item_tree_list):
14249 Mule-ized. Cleanup. GCPRO addition.
14251 * line-number.c (buffer_line_number):
14253 * lisp.h (EMACS_INT_MAX):
14254 Added the manifest constant EMACS_INT_MIN corresponding to the
14255 existing constant EMACS_INT_MAX. This is partially to fix compile
14256 warnings under Windows, and partly for cleanliness.
14259 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
14260 * menubar-msw.c (msw_translate_menu_or_dialog_item):
14261 * menubar-msw.c (displayable_menu_item):
14262 * menubar-msw.c (populate_menu_add_item):
14263 * menubar-msw.c (populate_or_checksum_helper):
14264 * menubar-msw.c (populate_menu):
14265 * menubar-msw.c (update_frame_menubar_maybe):
14266 * menubar-msw.c (prune_menubar):
14267 * menubar-msw.c (msw_char_is_accelerator):
14268 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
14269 * menubar-msw.c (mswindows_handle_wm_command):
14270 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
14271 * menubar-msw.c (mswindows_handle_wm_initmenu):
14272 * menubar-msw.c (mswindows_update_frame_menubars):
14273 * menubar-msw.c (mswindows_free_frame_menubars):
14274 * menubar-msw.c (mswindows_popup_menu):
14275 Fixed a bug in handling accelerators where an extra character
14276 would be displayed in the menu item. Also generalized the
14277 function displayable_menu_item because it is now used by the
14278 dialog box code as well. And finally, added code in the functions
14279 that create the menubar to extract a list of accelerators for the
14280 top level menubar, which is used in the event code to determine
14281 whether a particular alt-key combination should be used to invoke
14282 a menu item, or should be passed through to access the standard
14283 XEmacs keymap binding for this key combination.
14285 Much needed GCPROing.
14288 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
14289 * menubar-x.c (menu_item_descriptor_to_widget_value):
14290 * menubar-x.c (restore_in_menu_callback):
14291 * menubar-x.c (x_popup_menu):
14292 * menubar-x.c (menu_move_up):
14293 * menubar-x.c (menu_move_down):
14294 * menubar-x.c (menu_move_left):
14295 * menubar-x.c (menu_move_right):
14296 * menubar-x.c (menu_select_item):
14297 * menubar-x.c (command_builder_operate_menu_accelerator):
14298 * menubar-x.c (menu_accelerator_junk_on_error):
14299 * menubar-x.c (command_builder_find_menu_accelerator):
14300 * menubar-x.c (Faccelerate_menu):
14302 Moved a whole bunch of code here that was previously in
14303 event-stream.c as described above. There is also code connected
14304 to the new standard of adding an accelerator to the beginning of
14305 menu items that don't have one as described above and below.
14308 * menubar.c (menu_parse_submenu_keywords):
14309 * menubar.c (Fmenu_find_real_submenu):
14310 * menubar.c (Fnormalize_menu_item_name):
14311 * menubar.c (syms_of_menubar):
14312 * menubar.c (vars_of_menubar):
14313 * menubar.c (complex_vars_of_menubar):
14315 a) Cleaned up a bunch of documentation and improved it.
14317 b) XEmacs now automatically adds an accelerator onto the beginning
14318 of any menu items that don't have one. I did this because there
14319 will inevitably be some menu items on the main menubar that don't
14320 have accelerators on them because the package that adds that
14321 particular menu item hasn't yet been fixed up to have accelerators
14322 in them and it looked rather strange to have some items with and
14323 some items without accelerators, especially since even in items
14324 without accelerators, you can, at least under windows, still
14325 access the item through an accelerator corresponding to the first
14326 character in the item's name. If people don't like this behavior,
14327 I can add a variable to turn it off optionally, but I'm not sure
14328 this is a good idea because we really do need to have accelerators
14329 on all of the menu items, and if a package doesn't like the
14330 accelerators being put on the first character, then it should put
14331 the accelerators where they belong.
14333 c) I made a behavior change, which is that the descriptor that
14334 specifies the text of the menu item, which formerly was just a
14335 string, can now also be an evaluated expression. This makes this
14336 descriptor parallel with all of the others, which could also be
14337 evaluated expressions. This also obviates the need for the
14338 keyword :label, which was previously listed in the documentation
14339 as unimplemented, and which was for the same purpose.
14344 * ntproc.c (new_child):
14345 * ntproc.c (sys_spawnve):
14346 * ntproc.c (find_child_console):
14347 * ntproc.c (sys_kill):
14348 Fixed compile warnings. By the way, this file should really go
14349 away entirely, and this will happen as soon as Kirill makes his
14350 final round of process cleanups, which affect the function
14354 * process-nt.c (struct nt_process_data):
14355 * process-nt.c (find_process_from_pid):
14356 * process-nt.c (send_signal_the_nt_way):
14357 * process-nt.c (enable_child_signals):
14358 * process-nt.c (find_child_console):
14359 * process-nt.c (send_signal_the_95_way):
14360 * process-nt.c (nt_finalize_process_data):
14361 * process-nt.c (ensure_console_window_exists):
14362 * process-nt.c (nt_create_process):
14363 * process-nt.c (nt_kill_child_process):
14364 * process-nt.c (nt_kill_process_by_pid):
14365 * process-nt.c (nt_open_network_stream):
14366 * process-nt.c (vars_of_process_nt):
14367 Copied over code from Emacs 20.5 to correctly send signals to sub-
14368 processes under Windows 95. Also added code to automatically
14369 create and hide console window when a sub-process is created under
14370 Windows 95, which obviates the need for the separate runemacs.exe
14371 executable, and finally implemented some variables that were
14372 implemented in Emacs 20.5, but previously not in XEmacs. These
14373 include mswindows- start-process-share-console and
14374 mswindows-start-process-inherit-error-mode. (Both of these only
14375 apply to Windows 95.)
14377 * regex.c (regex_compile): Fixed a compile warning.
14380 * select-msw.c (mswindows_own_selection):
14381 * select-msw.c (mswindows_get_foreign_selection):
14382 * select-msw.c (mswindows_disown_selection):
14383 * select-msw.c (console_type_create_select_mswindows):
14384 * select-msw.c (syms_of_select_mswindows):
14385 Cleaned up the file and implemented the device method
14386 selection_exists_p, which had accidentally been left out. Also
14387 removed four lisp functions that were remnants from before the
14388 time when the selection code was properly device abstracted.
14389 These functions are no longer needed because there are generic
14390 equivalents, and because they were added recently and don't exist
14391 in FSF Emacs, I don't think there's any problem with just deleting
14395 * sysdep.c (sys_subshell):
14396 Fixed a compile warning, although in this case there's probably
14397 something wrong with this code, and it ought to be looked into
14398 more thoroughly by somebody who understands it.
14401 * window.c (Fwindow_text_area_height):
14402 * window.c (Fwindow_width):
14403 * window.c (Fwindow_full_width):
14404 * window.c (Fwindow_pixel_width):
14405 * window.c (debug_print_window):
14406 * window.c (syms_of_window):
14407 Added functions window-text-area-height and window-full-width,
14408 which are functions for returning various width and height
14409 characteristics of a window. (One of these functions is necessary
14410 for making the file dialog box work correctly, and the other one
14411 was added for completeness.) Also added a table to the
14412 documentation for window-height which describes the entire scheme
14413 for accessing width and height characteristics of a window.
14415 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14417 * nt.c (fstat): Added a comment for another problem with
14418 non-encapsulated [f]stat(), reported by Adrian Aichner
14419 <aichner@ecf.teradyne.com>.
14421 2000-03-11 Andy Piper <andy@xemacs.org>
14423 * window.c (make_dummy_parent): initialize subwindow instance
14425 (Fset_window_configuration): zero extent_modiff.
14427 2000-03-10 Andy Piper <andy@xemacs.org>
14429 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
14430 more changes can be triggered.
14431 (Fredisplay_frame): ditto.
14432 (Fredraw_device): ditto.
14433 (Fredisplay_device): ditto.
14434 (redisplay_frame): make non-static.
14435 (redisplay_frame): call update_frame_gutter_geometry outside of
14438 * gutter.h: declare update_frame_gutter_geometry.
14440 * redisplay.h: declare redisplay_frame.
14442 * gutter.c (update_frame_gutter_geometry): move geometry changes
14443 in update_frame_gutters here. Geometry changes can only occur
14444 outside of redisplay.
14445 (update_frame_gutters): remove geometry change code.
14446 (Fredisplay_gutter_area): make sure that we are in display when we
14447 update and that we have flushed any size changes.
14449 2000-03-11 Andy Piper <andy@xemacs.org>
14451 * alloc.c (pdump_dump_data): remove i & count shadows.
14453 2000-02-27 Mike Alexander <mta@arbortext.com>
14455 * sysdep.h: Declare pdump_read_file
14457 * sysdep.c (pdump_read_file): New function
14459 * alloc.c (pdump_load): Call pdump_read_file to get the portable
14462 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
14464 * lrecord.h: add `lrecord_type_pgsetenv'.
14466 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
14468 * symsinit.h: declare (vars|syms)_of* functions.
14469 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
14471 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
14473 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
14475 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
14478 * emacs.c (main_1): Call postgres initialization code.
14480 * postgresql.h: New file. PostgreSQL RDBMS support.
14481 * postgresql.c: New file.
14483 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
14485 * redisplay-output.c (redisplay_output_display_block): Disable
14488 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14490 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
14491 (Fcanna_henkan_next): Ditto.
14492 (Fcanna_bunsetu_henkou): Ditto.
14493 (Fcanna_henkan_kakutei): Ditto.
14494 (Fcanna_henkan_end): Ditto.
14495 (Fcanna_henkan_quit): Ditto.
14496 (Fcanna_henkan_next): Set retun value correctly.
14497 (c2mu): Use unsigned char instead of signed char.
14499 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14501 * emacs.c (main_1): Always call syms_of_gui.
14502 * inline.c: include gui.h
14504 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14506 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
14507 converted to Lisp_Object.
14508 (Qtop_bottom): New variable.
14509 (syms_of_redisplay): Initialize it.
14510 * redisplay.h (Vvisible_bell): Ditto.
14511 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
14512 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
14513 only flash top and bottom.
14515 2000-03-08 Andy Piper <andy@xemacs.org>
14517 * buffer.c (Frename_buffer): record new buffer name the right way.
14519 2000-03-08 Andy Piper <andy@xemacs.org>
14521 * glyphs.c (update_subwindow): increase hash depth so that widget
14522 items get picked up properly.
14524 * redisplay-output.c (compare_runes): increase hash depth so that
14525 widget items get picked up properly.
14527 2000-03-08 Andy Piper <andy@xemacs.org>
14529 * gutter.c (output_gutter): add some debug.
14531 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
14532 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
14533 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
14535 * redisplay-output.c (compare_runes): use display_hash to
14536 determine if glyphs really are not the same.
14538 * glyphs.c (update_subwindow): check display_hash to see if
14539 anything really needs to be updated. If not then do
14540 nothing. Record the display_hash after updating.
14541 (image_instance_equal): compare the image_instance face also.
14543 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
14545 * redisplay.h: Fix comment style.
14547 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
14549 * consle-msw.h (struct mswindows_frame):
14550 Added new member paint_pending to indicate whether a WM_PAINT
14551 magic event has been queued for this frame.
14553 * event-msw.c (mswindows_drain_windows_queue):
14554 Don't queue a WM_PAINT magic event if one is already queued.
14555 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
14557 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
14559 2000-03-07 Didier Verna <didier@xemacs.org>
14561 * dired.c: #include `regex.h' after `sysfile.h'.
14563 2000-03-06 Martin Buchholz <martin@xemacs.org>
14565 * sound.c (init_nas_sound): Fix compiler warning.
14567 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
14569 (MARK_STRUCT_AS_FREE):
14570 (MARK_STRUCT_AS_NOT_FREE):
14571 Make `gcc -fstrict-aliasing' work properly.
14573 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
14575 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
14576 (mswindows_delete_device): Call CoUnnitialize().
14578 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
14580 2000-02-25 <CraigL@DyCon.com>
14582 * process-nt.c: MinGW now has <shellapi.h>, but still needs
14585 * sysdep.c: This extern declaration for environ prevents MinGW
14586 from finding the variable in CRTDLL.DLL.
14588 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
14590 (SHGFI_EXETYPE): ..
14591 (WM_MOUSEWHEEL): ..
14592 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
14594 (MMRESULT): Removed, now defined in cygwin's windows headers.
14596 (uid_t,gid_t,pid_t,ssize_t): ..
14597 (_timeb): Removed, MinGW defines both _timeb and timeb.
14598 (HAVE_H_ERRNO): Added.
14599 (HAVE_TZNAME): Added, configure is not detecting this.
14601 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
14603 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
14604 * syntax.c (syntax_match): Use it.
14606 * cmds.c: Import auto-fill-chars from FSF Emacs.
14607 (Vauto_fill_chars): New variables.
14608 (internal_self_insert): Check Vauto_fill_chars.
14610 Declare auto-fill-chars as a Lisp variable and initialize it.
14612 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
14614 * fileio.c (Fmake_symbolic_link):
14616 Run handlers even if local machine doesn't have symlinks.
14618 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
14620 * event-msw.c (mswindows_drain_windows_queue):
14621 Don't generate paint magic events for non-XEmacs frames.
14623 2000-03-05 Andy Piper <andy@xemacs.org>
14625 * redisplay.c (redisplay_frame): generate_displayable_area and
14626 friends assumes that we are not in GC, we therefore have to make
14627 sure that this doesn't happen.
14629 * gutter.c (calculate_gutter_size): generate_displayable_area
14630 assumes that we are not in GC, we therefore have to make sure that
14631 this doesn't happen.
14633 2000-03-05 Martin Buchholz <martin@xemacs.org>
14635 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
14637 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14639 * redisplay.c (regenerate_window): Make sure we set a sane value
14640 for end_pos even if we jump out of the loop.
14641 (regenerate_window): Answer Ben's question :-).
14642 (start_end_of_last_line): Add may_error argument.
14643 (start_of_last_line):
14644 (end_of_last_line): Pass may_error = 0.
14645 (end_of_last_line_may_error): New function.
14646 (pixel_to_glyph_translation): Use it, so we don't crash in
14649 2000-03-04 Andy Piper <andy@xemacs.org>
14651 * window.h (struct window): add gutter_extent_modiff.
14653 * window.c (allocate_window): zero out gutter_extent_modiff.
14655 * redisplay.h: declare sync_display_line_structs.
14657 * redisplay.c (add_glyph_rune): add a better comment.
14659 * redisplay-output.c (sync_display_line_structs): made non-static.
14660 (compare_runes): remove unneccesary glyph cachel access.
14662 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
14664 * gutter.c (output_gutter): don't output the gutter if extent
14665 changes only involve extents in buffers. use 4 sets of display
14667 (gutter_extent_signal_changed_region_maybe): new function. Mark
14668 extents in gutters as changed.
14669 (update_frame_gutters): use 4 sets of display lines.
14670 (reset_gutter_display_lines): ditto.
14671 (free_frame_gutters): ditto.
14672 (redraw_exposed_gutter): force output of gutters.
14674 * frame.h (struct frame): add 4 sets of gutter display lines.
14676 * extents.c: (extent_changed_for_redisplay): signal changes to
14677 extents in strings in the gutter as well as extents in buffers.
14679 2000-03-02 Andy Piper <andy@xemacs.org>
14681 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
14683 * frame.c (Fmake_frame): make sure the gutters get initialized
14684 after the frame is visible.
14685 (set_frame_selected_window): re-arrange compilation macros a
14687 (change_frame_size_1): mark gutters changed.
14689 * device.c (Fset_device_class): mark gutters changed.
14691 2000-03-01 Andy Piper <andy@xemacs.org>
14693 * window.c (window_top_frame_gutter_height): deleted.
14694 (window_bottom_frame_gutter_height): ditto.
14695 (window_left_frame_gutter_height): ditto.
14696 (window_right_frame_gutter_height): ditto.
14697 (window_top_gutter_height): don't use them.
14698 (window_bottom_gutter_height): ditto.
14699 (window_left_gutter_width): ditto.
14700 (window_right_gutter_width): ditto.
14701 (Fsplit_window): ditto.
14702 (Fwindow_pixel_edges): don't use border dimensions here.
14704 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
14705 (update_scrollbar_instance): ditto.
14707 * redisplay.c (generate_modeline): don't take gutters into account.
14708 (generate_modeline): ditto.
14709 (redisplay_frame): small gutter display optimization.
14711 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
14713 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
14714 gutters into account.
14716 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
14717 for window position and type.
14719 * gutter.c (get_gutter_coords): fix for frame gutters.
14720 (update_frame_gutters): update frame geometry if the gutters have
14722 (init_frame_gutters): record current gutter geometries.
14724 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
14726 (mswindows_widget_instantiate): ditto.
14728 * frame.h (struct frame): add current_gutter_bounds.
14730 * frame.c (change_frame_size_1): position window and minibuffer
14731 appropriately taking into account the frame gutters.
14733 * frame-x.c: (x_initialize_frame_size): take into account the
14736 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
14738 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
14740 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
14742 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
14744 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14746 * file-coding.c (reset_decoding_stream): Clear previous
14747 detection state when autodetect.
14749 2000-02-29 Didier Verna <didier@xemacs.org>
14751 * extents.c (set_extent_glyph_1): don't require extents to be
14754 2000-02-27 Andy Piper <andy@xemacs.org>
14756 * gutter.c (Fset_default_gutter_position): don't default left and
14757 right gutter visibility to t.
14758 (Fset_default_gutter_position): run
14759 default-gutter-position-changed-hook.
14760 (syms_of_gutter): add default-gutter-position-changed-hook.
14762 2000-02-26 Andy Piper <andy@xemacs.org>
14764 * specifier.c (Fmake_specifier): add gutter references.
14766 * gutter.h (RAW_WINDOW_GUTTER): new macro.
14768 * lisp.h: declare Fvalid_plist_p.
14770 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
14772 (default_gutter_visible_p_changed_in_window): invalidate gutter as
14773 well as its visibility so that it gets reconstructed.
14774 (construct_window_gutter_spec): new function. Construct a string
14775 to be displayed in the gutter from a plist of strings. Take care
14776 to only use elements that are declared as visible.
14777 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
14779 (gutter_validate): allow plists of strings in the specifier.
14780 (gutter_specs_changed): construct the real_gutter from the gutter
14781 specs using construct_window_gutter_spec.
14782 (gutter_visible_validate): gutter-visible is a new specifier type.
14783 (Fgutter_visible_specifier_p): new function for the new specifier.
14784 (syms_of_gutter): declare gutter-visible and
14785 Fgutter_visible_specifier_p.
14786 (specifier_type_create_gutter): intitalize new gutter-visible
14788 (reinit_specifier_type_create_gutter): ditto.
14789 (specifier_vars_of_gutter): use new specifier type for gutter
14791 (init_frame_gutters): construct real_gutter correctly.
14792 (Fgutter_specifier_p): beef up documentation.
14793 (Fgutter_size_specifier_p): ditto.
14795 * winslots.h: add real_gutter slots.
14797 2000-02-25 Andy Piper <andy@xemacs.org>
14799 * device-msw.c: Be kind to older cygwin versions. From Raymond
14800 Toy <toy@rtp.ericsson.se>.
14802 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
14803 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
14805 2000-02-25 Martin Buchholz <martin@xemacs.org>
14807 * elhash.c (MARK_OBJ): Practice macro hygiene.
14809 2000-02-24 Martin Buchholz <martin@xemacs.org>
14811 * miscplay.c: s/__inline__/inline/g;
14812 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
14813 (get_device_compdc): INLINE ==> static inline
14814 * *.[ch]: Change INLINE to INLINE_HEADER globally.
14815 find -name '*.h' | \
14816 xargs global-replace \
14817 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
14819 2000-02-25 Andy Piper <andy@xemacs.org>
14821 * window.c (window_top_frame_gutter_height): new function.
14822 (window_top_window_gutter_height): ditto.
14823 (window_top_gutter_height): use them.
14824 (window_bottom_frame_gutter_height): new function.
14825 (window_bottom_window_gutter_height): ditto.
14826 (window_bottom_gutter_height): use them.
14827 (window_left_window_gutter_width): new function.
14828 (window_left_frame_gutter_width): ditto.
14829 (window_left_gutter_width): use them.
14830 (window_right_window_gutter_width): new function.
14831 (window_right_frame_gutter_width): ditto.
14832 (window_right_gutter_width): use them.
14833 (window_pixel_height): new function. calulate window pixel height
14834 with frame gutter involvement.
14835 (Fsplit_window): calculate new sizes taking frame gutters into
14837 (window_char_height_to_pixel_height): don't include frame gutters.
14838 (window_char_height): use window_pixel_height.
14839 (window_pixheight): rename from window_pixel_height.
14840 (change_window_height): use it.
14841 (window_pixel_height_to_char_height): don't include frame gutters.
14842 (window_char_width_to_pixel_width): ditto.
14844 2000-02-25 Andy Piper <andy@xemacs.org>
14846 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
14849 2000-02-24 Martin Buchholz <martin@xemacs.org>
14851 * alloc.c (staticpro):
14852 (staticpro_nodump):
14857 (compact_string_chars):
14858 (pdump_dump_wired):
14859 Convert: if (foo) abort(); ==> assert (! foo);
14861 * eldap.c (Fldap_search_basic):
14865 Fix compiler warnings, and possible crashes if (random) return
14866 value were to be used.
14868 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14870 * device-msw.c: Workaround ResetDC failure.
14872 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
14873 applying a devmode.
14875 * redisplay-msw.c (get_frame_dc): Added start_page_p.
14876 (mswindows_text_width): Do not start printer page.
14878 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
14880 * glyphs-msw.c: Added image methods to msprinter console and
14881 msprinter-specific image instantiation.
14883 2000-02-20 Mike Alexander <mta@arbortext.com>
14885 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
14886 to avoid crashes when selection-sets-clipboard is on
14887 (mswindows_own_selection): ditto
14889 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14892 * redisplay-msw.c (get_frame_dc):
14893 (get_frame_compdc):
14895 * device-msw.c (mswindows_init_device):
14896 (mswindows_delete_device):
14897 (msprinter_init_device):
14898 (msprinter_delete_device):
14899 * frame-msw.c (mswindows_init_frame_1):
14900 (mswindows_delete_frame):
14901 (msprinter_init_frame_3):
14902 (msprinter_delete_frame): Move compatible DC to device object from
14903 frame object, for both mswindows and msprinter. Only one at a time
14904 is needed, it is a real waste to have one per frame!
14906 2000-02-23 Andy Piper <andy@xemacs.org>
14908 * glyphs.c: add dynamic width and height elements.
14909 (image_instance_equal): ditto.
14911 * glyphs-widget.c (widget_query_geometry): calculate width and
14912 height dynamically if required.
14913 (initialize_widget_image_instance): initialize dynamic dimensions.
14914 (widget_instantiate): pick-up dynamic dimensions.
14916 * glyphs.h (struct Lisp_Image_Instance): add width and height for
14917 dynamic determination. Add appropriate macros.
14919 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
14921 (WINDOW_GUTTER_SIZE): ditto.
14922 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
14924 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
14926 (get_frame_dc): ditto.
14928 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
14931 2000-02-23 Martin Buchholz <martin@xemacs.org>
14933 * XEmacs 21.2.31 is released.
14935 2000-02-22 Ben Wing <ben@xemacs.org>
14937 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
14939 2000-02-22 Andy Piper <andy@xemacs.org>
14941 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
14943 2000-02-21 Mike Sperber <mike@xemacs.org>
14947 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
14950 2000-02-21 Mike Sperber <mike@xemacs.org>
14952 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
14954 2000-02-21 Martin Buchholz <martin@xemacs.org>
14956 * XEmacs 21.2.30 is released.
14958 2000-02-20 Martin Buchholz <martin@xemacs.org>
14960 Performance hacking.
14962 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
14963 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
14964 * emacs.c (main_1):
14966 * console.c (DEFVAR_CONSOLE_LOCAL_1):
14967 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
14968 * symeval.h (DEFVAR_SYMVAL_FWD):
14969 * symbols.c (guts_of_unbound_marker):
14970 Make all c_readonly objects also lisp_readonly and marked for life.
14971 * lrecord.h (struct lrecord_implementation):
14972 Document flags better.
14973 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
14974 * lrecord.h (DECLARE_LRECORD):
14975 * lrecord.h (XSETRECORD):
14976 * lrecord.h (RECORDP):
14977 * lrecord.h (RECORD_TYPEP):
14978 * lrecord.h (RECORD_MARKER): New.
14979 * lrecord.h (error_check_*):
14980 * lrecord.h (CONCHECK_NONRECORD):
14981 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
14982 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
14983 * lrecord.h (set_lheader_implementation):
14984 * lrecord.h (enum lrecord_type): New.
14985 * symeval.h (SYMBOL_VALUE_MAGIC_P):
14986 * alloc.c (disksave_object_finalization_1):
14987 * alloc.c (mark_object):
14988 * alloc.c (lrecord_type_index):
14989 * alloc.c (tick_lcrecord_stats):
14990 * alloc.c (Fgarbage_collect):
14991 * alloc.c (init_alloc_once_early):
14992 * alloc.c (pdump_load):
14993 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
14994 * alloc.c (lrecord_type_index): Delete.
14995 Make lisp object type indexes be constant.
14996 Makes (byte-compile) 5% faster.
14997 Put all marker functions into their own array.
14998 Makes (garbage-collect) 5% faster.
14999 Optimize SYMBOL_VALUE_MAGIC_P.
15000 Makes (byte-compile) 2-3% faster.
15001 * config.h.in (gc_checking_assert): New.
15002 * alloc.c: Use gc_checking_assert().
15003 * .dbxrc: Make compatible with new object type implementation.
15004 * .gdbinit: Make compatible with new object type implementation.
15005 * alloc.c: Delete all symbols defined only for debugging, such as
15006 Lisp_Type_Vector and lrecord_charset.
15008 2000-02-21 Andy Piper <andy@xemacs.org>
15010 * gui-msw.c (Fmswindows_shell_execute): fix file location
15013 * buffer.c (Fkill_buffer): remove buffer from alist buffer
15014 unshowing so that set_window_buffer doesn't undo
15015 kill_buffer_hook's hard work.
15017 * glyphs-widget.c (tab_control_query_geometry): don't count the
15018 first item when calculating geometry.
15020 * glyphs.c (map_subwindow): remove redundant code.
15021 (update_frame_subwindows): be more circumspect about when to
15024 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
15025 when items haven't changed. Update faces if faces have changed as
15026 well as just the widget face.
15027 (x_tab_control_update): Update faces if faces have changed as well
15028 as just the widget face.
15030 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
15032 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
15034 (build_syscolor_string): Use mswindows_color_to_string to try to
15036 (mswindows_device_system_metrics): Reverse the foreground and
15037 background colors so that they match the documentation.
15039 * objects-msw.c: (mswindows_X_color_map): tweak some values so
15040 they match the default Windows palette.
15041 (mswindows_color_to_string): New function.
15043 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
15045 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
15047 2000-02-18 Olivier Galibert <galibert@pobox.com>
15049 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
15050 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
15052 * symbols.c (init_symbols_once_early): Removed obsolete
15053 DATA_SEG_BITS related kludge.
15054 (defvar_magic): Ditto.
15056 * malloc.c: Removed obsolete DATA_SEG_BITS
15058 * mem-limits.h: Ditto.
15060 * Makefile.in.in: Removed obsolete HAVE_SHM
15063 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
15065 * device-msw.c (mswindows_delete_device): Free DDE string
15068 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15070 * keymap.c (get_keyelt):
15071 * unexnt.c (unexec):
15072 * vm-limit.c (memory_warnings):
15073 * ntheap.c (recreate_heap):
15074 * ntheap.h (UNINIT_PTR):
15075 * select-msw.c (Fmswindows_get_clipboard):
15076 (Fmswindows_set_clipboard):
15077 * objects-msw.h (MSWINDOWS_BAD_HFONT):
15079 * menubar-msw.c (displayable_menu_item):
15081 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
15082 * sysdep.c (sys_subshell):
15083 * process-nt.c (nt_create_process):
15084 * nt.c (normalize_filename):
15085 (dostounix_filename):
15086 (unixtodos_filename):
15087 * ntproc.c (win32_executable_type):
15088 * ntplay.c (play_sound_data_1):
15090 * editfns.c (get_home_directory):
15091 * event-msw.c (struct winsock_stream):
15092 (mswindows_dde_callback):
15093 * device-msw.c (msprinter_init_device):
15094 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
15096 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
15097 mswindows_clear_toolbar were swapped!
15099 * objects-msw.c:(colormap_t):
15101 * emacs.c (struct standard_args): Fixed const jumble.
15103 * glyphs-widget.c (update_widget): Fixed comparison notation.
15105 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
15107 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
15108 __declspec(noreturn) syntax.
15110 2000-02-19 Martin Buchholz <martin@xemacs.org>
15112 * eldap.c (Fldap_open):
15113 (Fldap_search_basic):
15116 Use new coding system conversion macros.
15118 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15120 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
15122 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
15124 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
15125 (Fldap_add, Fldap_modify, Fldap_delete): New functions
15127 * eldap.c (Qadd, Qreplace): New constant symbols
15128 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
15129 interruptions by XEmacs signals
15130 Remove unnecessary calls to slow_down_interrupts and
15131 speed_up_interrupts
15132 (Fldap_search_basic): Renamed from Fldap_search_internal
15133 Added new optional parameter VERBOSE that triggers the
15134 display of progress messages
15135 Remove unnecessary calls to slow_down_interrupts and
15136 speed_up_interrupts
15137 LDAP result code analysis rewritten
15138 (Fldap_add, Fldap_modify, Fldap_delete): New functions
15139 (syms_of_eldap): Define the new symbols and functions
15142 2000-02-17 Martin Buchholz <martin@xemacs.org>
15144 * realpath.c: Determine PATH_MAX maximally portably.
15146 * insdel.c (bytecount_to_charcount): Optimize.
15147 The function used to be optimized for entirely ASCII sequences.
15148 Now it is optimized for successive characters from the same
15149 charset. This also wins big for _mostly_ ASCII sequences.
15151 * fileio.c (Ffile_truename): convert return from realpath() using
15152 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
15153 - Rewrite GCPROing slightly.
15155 * sysdep.c (sys_open): Do filename conversion, like all other
15156 sys_* functions. Fixes bug:
15157 (let ((file-name-coding-system 'iso-8859-2))
15158 (write-region x y latin2-name))
15159 ==> writes filename using internal encoding.
15161 2000-02-18 Martin Buchholz <martin@xemacs.org>
15163 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
15164 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
15165 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
15166 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
15167 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
15168 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
15169 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
15170 (CONST_IF_NOT_DEBUG): Delete.
15171 * alloc.c (this_one_is_unmarkable): Delete.
15172 (mark_object): Don't check for this_one_is_unmarkable. Use the
15173 c_readonly flag instead.
15174 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
15176 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
15178 * event-msw.c (mswindows_drain_windows_queue):
15179 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
15180 away redundant repaint events.
15182 2000-02-17 Andy Piper <andy@xemacs.org>
15184 * redisplay.h: declare mark_redisplay_structs.
15186 * redisplay.c (redisplay_window):
15187 (redisplay_frame): don't check subwindows_state_changed.
15188 (mark_redisplay): mark gutters here.
15190 * glyphs.c: (instantiate_image_instantiator): always layout if we
15191 haven't done so already.
15192 (allocate_image_instance): don't mark as dirty.
15193 (update_subwindow): bind inhibit_quit.
15195 * gutter.c (mark_gutters): new function.
15197 * glyphs-x.c (x_update_widget): Always resize to get round a
15200 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
15201 breaking absolutely everything.
15203 * gutter.h: declare mark_gutters.
15205 2000-02-16 Martin Buchholz <martin@xemacs.org>
15207 * XEmacs 21.2.29 is released.
15209 2000-02-15 Olivier Galibert <galibert@pobox.com>
15211 * fns.c (size_bit_vector): Fix computation of the size.
15213 2000-02-15 Martin Buchholz <martin@xemacs.org>
15215 * *.[ch]: Change CONST to const globally.
15216 find -name '*.[ch]' | \
15217 xargs global-replace \
15218 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
15219 - Remove vestigial references to CONST_IS_LOSING
15221 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
15223 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
15224 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
15225 events instead of dispatching them directly.
15226 (mswindows_handle_paint): New function to do repainting.
15227 (mswindows_wnd_proc):
15228 (emacs_mswindows_handle_magic_event): Call above function.
15230 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
15232 * objects-msw.c (mswindows_create_font_variant): Return the new
15234 (initialize_font_instance): Get font metrics from the underlined
15235 variant of the font to cope with the case where the underlined
15236 font has a bigger descent.
15238 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
15240 * gui.c (gui_item_accelerator): Return the first underlined
15241 character in item name.
15243 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15245 * lisp.h: Added Qprinter.
15247 * general.c (syms_of_general): Initialized it.
15249 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
15251 (get_frame_compdc): Made inline.
15253 * console.h (struct console_methods): Added eject_page method.
15255 * frame.h: Added FRAME_DISPLAY_P and friends.
15256 Aligned backslahes in many macros in more readable fashion.
15257 Added page_number to struct frame, and an accessor macro
15260 * defice.h: Added DEVICE_DISPLAY_P and friends.
15262 * device.c (Fdevice_printer_p): Used these.
15264 * frame.c (allocate_frame_core): Initialize page number.
15265 (Fprint_job_page_number):
15266 (Fprint_job_eject_page): Implemented.
15268 * frame-msw.c (msprinter_eject_page): Added method.
15269 (msprinter_start_page): Added.
15271 * window.c (Fwindow_truncated_p): Fixed docstring.
15272 (Fwindow_last_line_visible_height): Implemented.
15274 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15276 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
15278 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15280 * syntax.c (scan_words): Always advance at least one character.
15282 2000-02-13 Andy Piper <andy@xemacs.org>
15284 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
15285 to make sure the glyph is in the cachels.
15287 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
15288 global image instance flag.
15289 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
15290 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
15292 * glyphs.c (allocate_image_instance): set dirty bits correctly.
15293 (Fset_image_instance_property): mark layout as changed.
15294 (invalidate_glyph_geometry_maybe): mark layout as changed.
15295 (glyph_width): use new NEEDS_LAYOUT macro.
15296 (glyph_ascent): ditto.
15297 (glyph_descent): ditto.
15298 (glyph_height): ditto.
15299 (image_instance_layout): mark layout as clean after laying out.
15300 (update_subwindow): don't mark layout as clean here.
15302 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
15303 should no longer be needed.
15305 * glyphs-x.c (x_update_widget): sanitize asserts.
15306 (x_finalize_image_instance): sanitize assignment to widgets.
15308 * glyphs-widget.c (widget_instantiate): don't need to clear the
15311 2000-02-13 Martin Buchholz <martin@xemacs.org>
15313 * sysdep.c (getcwd): Use standard prototype.
15314 * sysdep.h (getcwd): Use standard prototype.
15316 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
15317 (sequence, start, end).
15318 Remove redundant type checking.
15319 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
15320 view of `caller-protects') to avoid a crash where the real fix was
15323 2000-02-12 Martin Buchholz <martin@xemacs.org>
15325 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
15327 * s/sol2.h: Remove feature macro initialization.
15329 * alloc.c (alloc_lcrecord): Add more type checking assertions.
15330 (vector_hash): New. Code from internal_hash.
15332 Fix up allocation subsystem comments.
15334 * config.h.in: Add __EXTENSIONS__ for Solaris.
15336 * systime.h (EMACS_GETTIMEOFDAY): New.
15337 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
15338 Remove Solaris-specific code.
15339 Use void* for the (ignored) second arg for gettimeofday().
15341 * elhash.c (hash_table_hash): Implement it, finally.
15342 * elhash.c: Use hashcode_t.
15344 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
15345 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
15347 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
15348 * fns.c (size_bit_vector):
15349 * alloc.c (size_vector):
15350 (make_vector_internal):
15351 (make_bit_vector_internal):
15352 (sweep_bit_vectors_1):
15353 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
15355 2000-02-10 Martin Buchholz <martin@xemacs.org>
15357 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
15358 Include strings.h to avoid warnings for bzero and strcasecmp.
15360 2000-02-10 Olivier Galibert <galibert@pobox.com>
15362 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
15363 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
15365 * fns.c (size_bit_vector): New. Declare bit vectors as a
15368 2000-02-10 Olivier Galibert <galibert@pobox.com>
15370 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
15371 use a value field instead.
15372 (symbol_value_forward_forward): Use value field.
15373 (DEFVAR_SYMVAL_FWD): Use value field.
15374 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
15375 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
15376 (DEFVAR_CONST_INT): Ditto.
15377 (DEFVAR_BOOL): Ditto.
15378 (DEFVAR_CONST_BOOL): Ditto.
15379 (DEFVAR_INT_MAGIC): Ditto.
15380 (DEFVAR_BOOL_MAGIC): Ditto.
15382 * symbols.c (guts_of_unbound_marker): Use value field.
15383 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
15384 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
15386 * lisp.h: Declare dumpopaque and noninteractive1.
15388 * alloc.c (dumpopaque): Added.
15389 (pdump_dump_opaquevec): Added.
15390 (pdump): Call pdump_dump_opaquevec to dump opaque data.
15391 (pdump_load): Reload opaque data. Sync noninteractive1 with
15394 2000-02-10 Andy Piper <andy@xemacs.org>
15396 * glyphs.c (image_instance_layout): if the size changes, mark it
15399 * redisplay-output.c (redisplay_output_layout): Update the
15401 (redisplay_output_subwindow): ditto.
15403 * glyphs.c (update_subwindow): make sure we reset flags for
15404 layouts as well as everything else.
15406 * glyphs-widget.c (layout_layout): don't need to set the instances
15409 2000-02-09 Martin Buchholz <martin@xemacs.org>
15411 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
15412 not HAVE_DLOPEN, which is a lower-level thing.
15414 * .cvsignore: Ignore gmon.out
15416 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
15418 * .cvsignore: Ignore portable dumper xemacs.dmp file
15420 2000-02-09 Andy Piper <andy@xemacs.org>
15422 * redisplay-output.c (redisplay_output_layout): be more clever
15423 about when we output based on the changed flags.
15425 * glyphs.h (struct image_instantiator_methods): add update_method.
15426 (struct Lisp_Image_Instance): add changed flags. Declare new
15427 macros for manipulating them.
15429 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
15430 (image_instance_parent_glyph): find an image_instance's parent
15431 glyph or image_instance.
15432 (image_instance_layout): mark the size as changed.
15433 (set_image_instance_dirty_p): new function. mark an image
15434 instance, plus all of its parents, as dirty.
15435 (Fset_image_instance_property): use it.
15436 (Fglyph_animated_timeout_handler): use it.
15437 (update_subwindow): call update_widget and device methods for
15438 update_subwindow. Mark all changed flags as clean.
15439 (Fresize_subwindow): mark size as changed.
15441 * glyphs-x.c (x_finalize_image_instance): try and detect gc
15443 (x_update_subwindow): only resize subwindows here.
15444 (x_update_widget): new function. Update all changed properties of
15446 (x_resize_subwindow): deleted.
15447 (x_widget_set_property): deleted.
15448 (x_progress_gauge_set_property): deleted.
15449 (x_progress_gauge_update): new function. Implement recorded
15451 (x_tab_control_update): ditto.
15452 (x_tab_control_set_property): deleted.
15453 (console_type_create_glyphs_x): declare new functions.
15454 (image_instantiator_format_create_glyphs_x): ditto.
15456 * glyphs-widget.c (widget_set_property): mark text changed.
15457 (update_widget): new function. Update properties of a widget.
15458 (widget_instantiate): for layouts make sure we set their
15459 children's parent correctly.
15460 (tab_control_set_property): new function. Record changes that will
15461 take place under redisplay's control.
15462 (progress_gauge_set_property): ditto.
15463 (image_instantiator_progress_guage): declare new functions.
15464 (image_instantiator_tab_control): ditto.
15466 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
15468 (mswindows_update_widget): new function. Update all properties on
15469 a widget that have changed.
15470 (mswindows_button_update): new function. Update a button's set
15472 (mswindows_tab_control_update): new function. Update the items in
15474 (mswindows_tab_control_set_property): deleted.
15475 (mswindows_progress_gauge_update): new function. Update the
15476 progress gauge's progress.
15477 (mswindows_widget_set_property): deleted. This is all done
15478 asynchronously now.
15479 (mswindows_progress_gauge_set_property): ditto.
15480 (console_type_create_glyphs_mswindows): declare new methods.
15481 (image_instantiator_format_create_glyphs_mswindows): ditto.
15483 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
15484 (msprinter_set_frame_properties): ditto.
15486 * console.h (struct console_methods): Add update_widget_method.
15488 2000-02-09 Andy Piper <andy@xemacs.org>
15490 * gui-msw.c (Fmswindows_shell_execute): Make
15491 mswindows-shell-execute industrial strength.
15493 2000-02-08 Martin Buchholz <martin@xemacs.org>
15495 * lrecord.h: Make macro argument `props' match member function `plist'.
15498 * fns.c (Fremprop):
15499 * fns.c (Fobject_plist):
15502 Object property list frobbing cleanup.
15503 - Allow any lisp object (compared with `eq'), not just symbols, as
15504 keys in object plists.
15505 - Move symbol plist frobbing into symbols.c, where it belongs.
15506 - Move string plist frobbing into alloc.c, where it belongs.
15507 - Everything's an lrecord now, so no need to test for symbolp, etc.
15508 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
15510 * extents.c: Reorder code to remove declarations.
15512 * frame.h (store_in_alist): Remove useless declaration.
15514 2000-02-07 Martin Buchholz <martin@xemacs.org>
15516 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
15517 * config.h.in: Add HAVE_XCONVERTCASE.
15519 2000-02-07 Andy Piper <andy@xemacs.org>
15521 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
15522 it breaks many things.
15524 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
15526 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
15527 actually can start a common comment type.
15528 * src/syntax.h (SYNTAX_END_P): ditto for end.
15530 2000-02-07 Martin Buchholz <martin@xemacs.org>
15532 * XEmacs 21.2.28 is released.
15534 2000-02-06 Martin Buchholz <martin@xemacs.org>
15536 * event-Xt.c (x_keysym_to_character): New.
15537 (maybe_define_x_key_as_self_inserting_character): New.
15538 (x_has_keysym): New.
15539 Auto-define all keys on the keyboard as self-insert-key.
15541 2000-02-02 Martin Buchholz <martin@xemacs.org>
15543 * menubar.c (vars_of_menubar): A small code simplification.
15545 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
15548 * ExternalClient.c:
15549 * EmacsShell-sub.c:
15552 Use consistent style for specifying X resources.
15554 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
15555 This makes (dontusethis-set-symbol-value-handler) actually usable.
15557 * lrecord.h (lrecord_decription_type):
15558 * alloc.c (pdump_register_sub):
15561 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
15562 Comply with XEmacs coding style.
15563 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
15564 args, and XD_LISP_OBJECT_ARRAY with 3 args.
15566 * keymap.c (Faccessible_keymaps):
15567 Make (accessible-keymaps map "\C-h") do the Right Thing.
15568 Make (accessible-keymaps map []) do the Right Thing.
15569 Make (accessible-keymaps map "") do the Right Thing.
15570 (check_keymap_definition_loop): New function.
15571 (keymap_store_internal): Keep luser from shooting self in foot,
15572 via (define-key ctl-x-4-map "p" global-map).
15573 Remove fullness slot from struct Lisp_Keymap, since hash tables
15575 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
15577 2000-01-30 Martin Buchholz <martin@xemacs.org>
15579 * redisplay.c (init_redisplay): Fix small memory leak.
15581 * elhash.c (pdump_reorganize_hash_table):
15582 Rename from reorganize_hash_table. Change prototype.
15583 Reuse the original memory for hentries. Save 100k.
15584 * alloc.c (PDUMP_READ): new macro.
15585 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
15586 * alloc.c: No need to #ifndef before #undef.
15588 * print.c: Allow debug_print() to print readably by modifying
15589 debug_print_readably. Use consistent variable names.
15591 * .dbxrc: Try to get things to work even if stopped in a function
15592 without source available by explicitly specifying source files.
15593 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15595 * unexnt.c (_start): Removed bogus code which caused loading heap
15596 from differrent executable file.
15597 Removed bogus assignment to _fmode, which caused inconsistencies.
15599 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15601 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
15602 Have spawnve encapsulation regard DONT_ENCAPSULATE.
15603 Do not preliminary `#define signal sigset'.
15605 * systime.h: Do not prototype environ on windows nt and cygwin,
15606 this conflicts with system header.
15608 * syssignal.h: Use correct define for WINDOWSNT
15610 * sysdep.h: Do not prototype environ on windows nt, this conflicts
15611 with system header.
15613 * sysdep.c (near start of file): Fixed commentary and rearranged
15614 ifdefs in readable order.
15615 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
15618 (end_of_data): Do not compile in if using PDUMP.
15620 * symsinit.h: Prototyped vars_of_nt().
15622 * ntproc.c (windows9x_p): Added, instead of os_subtype.
15623 (find_child_console): Use it.
15624 (sys_kill): Use it.
15626 * ntheap.h: Do not extern os_subtype.
15628 * ntheap.c (cache_system_info): Do not cache unneeded:
15629 nt_major_version, nt_minor_version and os_subtype.
15630 (recreate_heap): Do not compile in when PDUMPing.
15632 * nt.c (geteuid and friends): Use the new varibale
15633 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
15634 (init_user_info): Removed the above mentioned hackery.
15635 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
15636 stat has been fixed in the C runtime.
15637 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
15639 * file-coding.c (struct file_coding_dump): Do not define
15640 ucs_to_mule_table in the struct if not MULE.
15641 (struct struct lrecord_description fcd_description_1): Do not dump
15644 * emacs.c (main_1): Call vars_of_nt().
15645 (right before Fdump_emacs_data): Don't need lastfile if using both
15646 portabe dumper and system malloc.
15648 * alloc.c (Fmemory_limit): Conditionalized out.
15649 (pdump): Use OPEN_BINARY for the portable dump file.
15650 (pdump_load): Ditto.
15652 2000-02-02 Mike Alexander <mta@arbortext.com>
15654 * nt.c (convert_time): Set tm_isdst before calling mktime and
15655 avoid calling it at all if the compiler supports 64 bit integers.
15656 Also initialize utc_base_ft before using it.
15658 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
15660 * frame.c (change_frame_size_1): Take f->internal_border_width
15661 into consideration when calculating the width of the frame.
15663 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15665 * window.c (frame_min_height):
15666 (frame_size_valid_p):
15667 (frame_pixsize_valid_p): Added.
15668 (check_frame_size): Generalized.
15670 * window.h: Prototyped the above.
15673 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
15674 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
15675 Deleted Vwin32_* and Vbinary_process_* unused variables.
15677 * device-msw.c (msprinter_init_device): Do not get printer font
15678 list; Added DEVMODE functions.
15680 * frame-msw.c: Added lots of printer code.
15682 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
15685 * console-msw.h: Added more msprinter device private slots.
15687 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15689 * event-msw.c (key_needs_default_processing_p): Added.
15690 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
15692 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15694 * glyphs.c (image_instance_layout): Mark image instance as clean
15696 (glyph_dirty_p): Removed redundant function.
15697 (invalidate_glyph_geometry_maybe): Added.
15698 (update_glyph_cachel_data): Call it.
15700 * glyphs.h: Prototyped it.
15702 * redisplay.c (add_glyph_rune): Call it.
15703 (redisplay_window): Reset glyphs cachels when frame faces have
15704 changed, thus forcing recomputation of built-in border glyphs.
15706 2000-01-30 Martin Buchholz <martin@xemacs.org>
15708 * Makefile.in.in: Make portable dumper and purify play well together.
15709 Add imperfect, but better than nothing, support for pdump.
15710 Remove xemacs.dmp when temacs is re-generated.
15711 Don't ignore errors when dumping xemacs.
15713 * symbols.c (maybe_call_magic_handler): Remove one magic number.
15715 2000-01-28 Andy Piper <andy@xemacs.org>
15717 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
15718 (setup_normal_frame): ditto.
15719 (setup_frame_without_minibuffer): ditto.
15720 (setup_minibuffer_frame): ditto.
15721 (delete_frame_internal): ditto.
15722 (Fmake_frame_invisible): ditto.
15723 (Ficonify_frame): ditto.
15725 * window.h: change Fset_window_buffer signature.
15727 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
15728 (Fset_window_buffer): allow recording of buffer if the window is
15729 the selected window.
15730 (window_loop): Use new Fset_window signature.
15732 2000-01-23 Daniel Pittman <daniel@danann.net>
15734 * config.h.in: Added template for `HAVE_ATHENA_3D'
15736 2000-01-29 Andy Piper <andy@xemacs.org>
15738 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
15740 * gutter.c (output_gutter): Don't output if the window isn't live.
15742 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15744 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
15745 of 01/12/00: Moved SetFocus back here where it belongs.
15747 2000-01-23 Andy Piper <andy@xemacs.org>
15749 * s/cygwin32.h: declare printer things.
15751 2000-01-26 Andy Piper <andy@xemacs.org>
15753 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
15756 2000-01-24 Andy Piper <andy@xemacs.org>
15758 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
15759 (mswindows_button_instantiate): Make sure glyph is a pixmap.
15761 * glyphs-widget.c (widget_instantiate): Avoid shadows.
15763 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
15765 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
15767 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
15768 (mswindows_output_display_block): Avoid local shadows.
15770 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
15771 (mswindows_enqueue_mouse_button_event): ditto.
15772 (mswindows_handle_gui_wm_command): remove declaration.
15774 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
15777 * console-msw.h: Avoid shadows.
15778 (mswindows_get_toolbar_button_text):
15779 (emacs_mswindows_create_stream_pair):
15780 (emacs_mswindows_delete_stream_pair):
15781 (mswindows_handle_toolbar_wm_command): declare.
15783 * device-msw.c (build_syscolor_string): Avoid shadows.
15785 2000-01-23 Andy Piper <andy@xemacs.org>
15787 * glyphs-widget.c (widget_instantiate): reverse the items for
15788 layouts so that children are in the expected order.
15790 2000-01-28 Martin Buchholz <martin@xemacs.org>
15792 * ralloc.c: safe_bcopy ==> memmove
15793 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
15794 * s/msdos.h: Remove BCOPY macros.
15795 * insdel.c (gap_right): Remove BCOPY conditional code.
15796 * insdel.c (gap_left): Remove BCOPY conditional code.
15797 XEmacs demands a working ANSI C compiler - hence memmove.
15799 * regex.c (regex_compile): Remove accidental use of trigraphs.
15801 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15803 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
15806 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15808 * event-msw.c (mswindows_drain_windows_queue): Added the
15810 (mswindows_need_event): Commented the call to
15811 mswindows_drain_windows_queue().
15812 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
15815 * console-msw.h: Moved a few function prototypes here from
15818 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
15819 parameter from unsigned short to unsigned long.
15820 (Fmswindows_shell_execute): Added return value.
15822 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
15824 * sysdep.c (init_system_name):
15825 process-unix.c (unix_canonicalized_host_name):
15826 Don't call freeaddrinfo() if getaddrinfo() fails.
15828 * process-unix.c (unix_open_unix_network_stream):
15829 Moved the code to get a port # into address loop.
15831 2000-01-27 Martin Buchholz <martin@xemacs.org>
15833 * buffer.c (reinit_vars_of_buffer):
15834 The right place to initialize conversion_in_dynarr and
15835 conversion_out_dynarr.
15837 * alloc.c (pdump): Use the real open() till sys_open() is functional.
15839 * process-unix.c (unix_canonicalize_host_name): Muleize.
15840 (unix_open_network_stream): Muleize.
15842 * buffer.h: Fix up prototypes for ralloc.c functions.
15844 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
15845 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
15846 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
15847 instead of gethostbyname()
15848 * process-unix.c: In unix_canonicalize_host_name() and
15849 unix_open_network_stream(), add code to use getaddrinfo()
15850 instead of gethostbyname().
15852 2000-01-27 Daniel Pittman <daniel@danann.net>
15854 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
15855 libs when built with flat Athena.
15857 2000-01-27 Martin Buchholz <martin@xemacs.org>
15859 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
15860 Use coding standards for function prototypes.
15862 2000-01-25 Martin Buchholz <martin@xemacs.org>
15864 * dialog-msw.c (push_lisp_string_as_unicode):
15865 * doc.c (unparesseuxify_doc_string):
15866 * dired.c (Fuser_name_completion_1):
15867 * dired.c (Fuser_name_all_completions):
15868 * dired.c (free_user_cache):
15869 * dired.c (user_name_completion):
15870 * console-x.c (get_display_arg_connection):
15871 * minibuf.c (clear_echo_area_internal):
15872 * minibuf.c (echo_area_append):
15873 * eldap.c (Fldap_open):
15874 * eldap.c (Fldap_search_internal):
15875 * frame-x.c (x_set_frame_text_value):
15876 * frame-x.c (x_set_frame_properties):
15877 * frame-x.c (x_create_widgets):
15878 * redisplay-tty.c (term_get_fkeys_1):
15879 * objects-x.c (x_parse_nearest_color):
15880 * objects-x.c (x_valid_color_name_p):
15881 * objects-x.c (x_initialize_font_instance):
15882 * objects-x.c (x_list_fonts):
15883 * objects-x.c (x_find_charset_font):
15884 * tooltalk.c (Fadd_tooltalk_message_arg):
15885 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
15886 * tooltalk.c (Fadd_tooltalk_pattern_arg):
15887 * process-unix.c (unix_create_process):
15888 * ntproc.c (sys_spawnve):
15889 * sound.c (Fplay_sound_file):
15890 * sound.c (Fplay_sound):
15891 * buffer.c (init_initial_directory):
15892 * buffer.c (init_buffer):
15893 * editfns.c (init_editfns):
15894 * editfns.c (Ftemp_directory):
15895 * editfns.c (Fuser_full_name):
15896 * editfns.c (uncache_home_directory):
15897 * editfns.c (get_home_directory):
15898 * editfns.c (Fuser_home_directory):
15899 * editfns.c (Fformat_time_string):
15900 * editfns.c (Fcurrent_time_string):
15901 * gui-x.c (button_item_to_widget_value):
15902 * database.c (Fopen_database):
15903 * event-Xt.c (x_to_emacs_keysym):
15904 * event-Xt.c (x_event_to_emacs_event):
15905 * event-Xt.c (describe_event_window):
15906 * event-msw.c (mswindows_wnd_proc):
15907 * glyphs-eimage.c (jpeg_instantiate):
15908 * glyphs-eimage.c (gif_instantiate):
15909 * glyphs-eimage.c (png_instantiate):
15910 * glyphs-eimage.c (tiff_instantiate):
15911 * glyphs-x.c (xbm_instantiate_1):
15912 * glyphs-x.c (x_xbm_instantiate):
15913 * glyphs-x.c (x_xface_instantiate):
15914 * glyphs-x.c (autodetect_instantiate):
15915 * glyphs-x.c (cursor_font_instantiate):
15916 * glyphs-x.c (x_widget_instantiate):
15917 * glyphs-x.c (x_widget_set_property):
15918 * glyphs-x.c (x_widget_property):
15919 * glyphs-x.c (BUILD_GLYPH_INST):
15920 * print.c (write_string_to_stdio_stream):
15921 * print.c (output_string):
15922 * print.c (Falternate_debugging_output):
15923 * print.c (Fexternal_debugging_output):
15924 * glyphs-msw.c (extract_xpm_color_names):
15925 * glyphs-msw.c (mswindows_xpm_instantiate):
15926 * glyphs-msw.c (bmp_instantiate):
15927 * glyphs-msw.c (resource_name_to_resource):
15928 * glyphs-msw.c (mswindows_resource_instantiate):
15929 * glyphs-msw.c (xbm_instantiate_1):
15930 * glyphs-msw.c (mswindows_xbm_instantiate):
15931 * glyphs-msw.c (mswindows_xface_instantiate):
15932 * glyphs-msw.c (mswindows_widget_instantiate):
15933 * glyphs-msw.c (add_tree_item):
15934 * glyphs-msw.c (add_tab_item):
15935 * glyphs-msw.c (mswindows_combo_box_instantiate):
15936 * glyphs-msw.c (mswindows_widget_property):
15937 * glyphs-msw.c (mswindows_combo_box_property):
15938 * glyphs-msw.c (mswindows_widget_set_property):
15939 * console.c (stuff_buffered_input):
15940 * objects-msw.c (mswindows_initialize_color_instance):
15941 * objects-msw.c (mswindows_valid_color_name_p):
15942 * objects-msw.c (mswindows_list_fonts):
15943 * objects-msw.c (mswindows_font_instance_truename):
15944 * bytecode.c (optimize_compiled_function):
15945 * select-x.c (symbol_to_x_atom):
15946 * select-x.c (x_atom_to_symbol):
15947 * select-x.c (hack_motif_clipboard_selection):
15948 * select-x.c (selection_data_to_lisp_data):
15949 * select-x.c (lisp_data_to_selection_data):
15950 * select-x.c (Fx_get_cutbuffer_internal):
15951 * select-x.c (Fx_store_cutbuffer_internal):
15952 * buffer.h (TO_EXTERNAL_FORMAT): New function.
15953 * buffer.h (TO_INTERNAL_FORMAT): New function.
15954 * emacs.c (make_arg_list_1):
15955 * emacs.c (make_argc_argv):
15956 * emacs.c (main_1):
15957 * emacs.c (Fdump_emacs):
15958 * emacs.c (split_string_by_emchar_1):
15963 * device-x.c (x_init_device):
15964 * device-x.c (Fx_valid_keysym_name_p):
15965 * device-x.c (Fx_get_font_path):
15966 * device-x.c (Fx_set_font_path):
15967 * glyphs.c (bitmap_to_lisp_data):
15968 * glyphs.c (pixmap_to_lisp_data):
15969 * alloc.c (make_ext_string): Use coding system arguments. Update
15971 * alloc.c (build_string):
15972 * callproc.c (child_setup):
15973 * callproc.c (init_callproc):
15974 * fileio.c (lisp_strerror):
15975 * fileio.c (directory_file_name):
15976 * fileio.c (Fexpand_file_name):
15977 * fileio.c (Ffile_truename):
15978 * fileio.c (Fsysnetunam):
15979 * fileio.c (Fdo_auto_save):
15980 * sysdep.c (sys_readdir):
15981 * tests.c: New file. Allow adding C tests.
15982 Replace GET_* macros with a more comprehensible and flexible
15983 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
15985 Any coding system can be used to do format conversion.
15986 Eliminate enum external_data_format.
15987 Eliminate convert_to_external_format.
15988 Eliminate convert_to_internal_format.
15989 Make sure file-name, keyboard, terminal, and ctext are always
15990 defined as coding systems or aliases. Make
15991 file-name-coding-system, terminal-coding-system, and
15992 keyboard-coding-system magical variables that are equivalent to
15993 defining the corresponding coding system aliases.
15995 * file-coding.c (Fcoding_system_canonical_name_p): New function.
15996 * file-coding.c (Fcoding_system_alias_p): New function.
15997 * file-coding.c (Fcoding_system_aliasee): New function.
15998 * file-coding.c (append_suffix_to_symbol): New function.
15999 * file-coding.c (dangling_coding_system_alias_p): New function.
16000 * file-coding.c (Ffind_coding_system):
16001 * file-coding.c (Fcopy_coding_system):
16002 * file-coding.c (encode_coding_no_conversion):
16003 * file-coding.c (syms_of_file_coding):
16004 * file-coding.c (vars_of_file_coding):
16005 Rewrite coding system alias code.
16006 Allow nested aliases, like symbolic links.
16007 Allow redefinition of coding system aliases.
16008 Prevent existence of dangling coding system aliases.
16010 * dired.c (Fuser_name_completion_1):
16011 * dired.c (Fuser_name_all_completions):
16012 A crash would happen if user did QUIT in the middle of building
16013 user_name_cache. Remove redundant code in mainline and unwind_protect.
16016 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
16018 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
16019 an unsigned char *. Update all callers.
16021 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16023 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
16025 2000-01-25 Martin Buchholz <martin@xemacs.org>
16027 * elhash.c (hentry_description): Use more portable definition.
16028 (resize_hash_table): Initialize new hentries using
16029 xnew_array_and_zero, thereby simplifying the code.
16031 * mule-charset.c (make_charset): Make sure entire object is
16032 initialized, to avoid Purify warnings.
16034 * alloc.c (resize_string): Fix unlikely crash with big strings.
16036 2000-01-24 Martin Buchholz <martin@xemacs.org>
16038 * realpath.c (xrealpath):
16039 Don't call getwd().
16041 2000-01-25 Martin Buchholz <martin@xemacs.org>
16043 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
16045 1999-12-28 Max Matveev <max@melbourne.sgi.com>
16047 * unexelfsgi.c (unexec): Change the way we decide which segment
16048 should be extended.
16050 Assumption that .bss section should be outside the PT_LOADable
16051 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
16052 it's present) is inside the 'data' segment. This would fail the
16053 test which was used to find a segment to grow and cover new
16054 heap. Instead of this assumption, I created another one - on IRIX
16055 the segment to grow should start below .bss and it's address
16056 should extent above the end of .bss. Once this segment is
16057 identified, it's grown to accommodate the new heap and new
16058 zero-length .bss section is added at the end of .data2.
16060 2000-01-25 Martin Buchholz <martin@xemacs.org>
16062 * eval.c (Feval): Wrong number of arguments should use original
16063 function, not the indirect_function version of it.
16065 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
16067 * glyphs-x.c (x_button_instantiate): Don't add image if
16068 it is not a pixmap.
16069 (x_locate_pixmap_file): Call Fexpand_file_name when file name
16072 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
16074 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
16076 (DEFVAR_INT_MAGIC): Ditto.
16077 (DEFVAR_BOOL_MAGIC): Ditto.
16078 * glyphs.h: Reindent backslash.
16080 2000-01-24 Martin Buchholz <martin@xemacs.org>
16082 * glyphs-widget.c (layout_query_geometry):
16083 (layout_layout): Use correct types for gheight, gwidth.
16085 2000-01-24 Martin Buchholz <martin@xemacs.org>
16087 * EmacsManager.c (QueryGeometry): Purified.
16089 2000-01-23 Martin Buchholz <martin@xemacs.org>
16091 * alloc.c (make_float): Make sure entire object is initialized, to
16092 avoid Purify warnings.
16093 (pdump_register_sub): Remove useless assignment.
16094 (pdump): Use xmalloc, not malloc.
16095 (pdump_load): Use xmalloc, not malloc.
16097 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16104 * sysdep.c: Removed redundant #include <windows.h>
16106 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16108 * frame.c (delete_frame_internal): Do not delete device when its
16109 implementation so declares.
16110 (delete_frame_internal): Set device selected frame to nil when
16111 last frame goes away.
16113 * device-msw.c (msprinter_device_system_metrics): Implemented.
16114 (mswindows_device_system_metrics): Added 'device-dpi property.
16116 * device.c: (Fdevice_printer_p): Added.
16117 Added 'offset-workspace device metric.
16119 * console.h (device_metrics): Declared DM_offset_workspace.
16121 2000-01-23 Martin Buchholz <martin@xemacs.org>
16123 * fileio.c (Ffile_truename): Remove pointless and confusing
16124 initialization of elen.
16126 * glyphs-widget.c: Compiler warning fixes.
16128 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
16130 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
16131 instead of a Lisp_Object as argument to make it consistent with
16132 the other LIVE_P macros.
16133 (CHECK_LIVE_PROCESS): New macro.
16135 * process.c: Declare Qprocess_live_p.
16136 (Fprocess_live_p): New function.
16137 (create_process): Use PROCESS_LIVE_P.
16138 (read_process_output): Ditto.
16139 (set_process_filter): Ditto.
16140 (Fdelete_process): Ditto.
16141 (kill_buffer_processes): Ditto
16142 (process_send_signal): Use CHECK_LIVE_PROCESS.
16143 (Fprocess_input_coding_system): Check whether process is still
16144 alive (fix PR#1061).
16145 (Fprocess_output_coding_system): Ditto.
16146 (Fprocess_coding_system): Ditto.
16147 (Fset_process_input_coding_system): Ditto.
16148 (Fset_process_output_coding_system): Ditto.
16150 2000-01-23 Andy Piper <andy@xemacs.org>
16152 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
16155 * glyphs.c (mark_image_instance): take into account changed
16156 image_instance format.
16157 (image_instance_equal): ditto.
16158 (image_instance_hash): ditto.
16160 * glyphs-widget.c (widget_instantiate): Incorporate layout
16161 instantiation here. Delay layout of the layout until later.
16162 (layout_instantiate): deleted.
16163 (layout_query_geometry): new function. get the geometry of a
16165 (layout_layout): layout a layout dynamically.
16166 (image_instantiator_widget): New function - splitting up
16167 image_instantiator_format_create_glyphs_widget for netwinder
16169 (image_instantiator_buttons):
16170 (image_instantiator_edit_fields):
16171 (image_instantiator_combo_box):
16172 (image_instantiator_scrollbar):
16173 (image_instantiator_progress_guage):
16174 (image_instantiator_tree_view):
16175 (image_instantiator_tab_control):
16176 (image_instantiator_labels):
16177 (image_instantiator_layout): ditto.
16178 (image_instantiator_format_create_glyphs_widget): Call preceding
16181 2000-01-22 Martin Buchholz <martin@xemacs.org>
16183 * process.c (Fset_process_coding_system):
16184 * device-x.c (Fx_keysym_hash_table):
16187 * lstream.c (Lstream_write): Return documented value, not 0.
16189 * fileio.c (directory_file_name):
16190 (Fsubstitute_in_file_name):
16191 (Fsubstitute_insert_file_contents_internal):
16192 (Fwrite_region_internal):
16197 Remove vestigial APOLLO-conditional code.
16199 2000-01-21 Martin Buchholz <martin@xemacs.org>
16201 * getpagesize.h: Add guard macros.
16202 * libsst.h: Add guard macros.
16203 * libst.h: Add guard macros.
16204 * line-number.h: Add guard macros.
16205 * ndir.h: Add guard macros.
16206 * sysfloat.h: Add guard macros.
16207 * sysfile.h: Add guard macros.
16208 * sysproc.h: Add guard macros.
16209 * syswait.h: Add guard macros.
16210 * xintrinsic.h: Add guard macros.
16211 * xintrinsicp.h: Add guard macros.
16212 * xmmanager.h: Add guard macros.
16213 * xmmanagerp.h: Add guard macros.
16214 * xmprimitive.h: Add guard macros.
16215 * xmu.h: Add guard macros.
16216 * gpmevent.h: Add copyright statement. Add guard macros.
16217 * miscplay.h: Add guard macros.
16218 * *.h: Use consistent C-standards-approved guard macro names.
16220 * opaque.c (make_opaque): Switch parameter order.
16221 * opaque.h (make_opaque): Switch parameter order.
16222 Update all callers.
16223 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
16225 * config.h.in (type_checking_assert): Added.
16226 (bufpos_checking_assert): Added.
16228 2000-01-21 Martin Buchholz <martin@xemacs.org>
16230 * alloc.c: Harmless pdump changes.
16232 - spell alignment correctly.
16233 * sysdep.c: Use countof()
16235 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16237 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
16238 initially_selected_for_input() console method, default to 0.
16239 (semi_canonicalize_console_connection): Try to delegate to
16240 canonicalize_console_connection if no such console method.
16241 (canonicalize_console_connection): Vice versa.
16242 (print_console): Do not print nil connection.
16244 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
16245 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
16246 (XDEVIMPF_FRAMELESS_OK): Added.
16247 (CONSOLE_INHERITS_METHOD): Added.
16249 * console-msw.c (mswindows_canonicalize_console_connection):
16251 (mswindows_canonicalize_device_connection): Added.
16253 * console-msw.h (struct msprinter_device): Added this struct and
16255 (mswindows_device): Made fontlist a lisp object.
16257 * device.c (semi_canonicalize_device_connection): Try to delegate
16258 to canonicalize_device_connection if no such console method.
16259 (canonicalize_device_connection): Vice versa.
16260 (print_device): Do not print nil connection.
16262 * device-msw.c (mswindows_init_device): Call InitCommonControls
16264 (mswindows_delete_device): Removed fontlist deallocation.
16265 (mswindows_mark_device): Added.
16267 * events.c (event_equal): Added abort() at unreached code.
16268 (event_hash): Ditto.
16270 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
16271 fallback tags of Windows devices.
16273 * general.c (syms_of_general): Initialized Qmsprinter.
16275 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
16276 of fallback tags of Windows devices.
16278 * lisp.h: Declared Qmsprinter.
16280 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
16282 (mswindows_list_fonts): Ditto.
16283 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
16284 that it can be used by both mswindows and msprinter devices.
16285 (initialize_font_instance): Added.
16286 (mswindows_initialize_font_instance): Use it.
16287 (msprinter_initialize_font_instance): Added.
16289 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
16290 and implementation flags check.
16291 (redisplay_without_hooks): Changed the call to the above.
16292 (Fredraw_device): Ditto.
16293 (Fredisplay_device): Ditto.
16295 * redisplay-msw.c (get_frame_dc): Implemented.
16296 (get_frame_compdc): Implemented.
16297 (many functions): Use the two functions above to get device
16298 contexts, ether for a window or a printer.
16300 2000-01-21 Olivier Galibert <galibert@pobox.com>
16302 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
16303 initialization here.
16304 (init_symbols_once_early): Call it.
16305 * emacs.c (main_1): Call it.
16306 * symsinit.h: Declare it.
16308 2000-01-19 Olivier Galibert <galibert@pobox.com>
16310 * alloc.c: Use a lrecord_header * in the backtrace instead of a
16312 (pdump_backtrace): Ditto.
16313 (pdump_register_object): Ditto. Cleanup use of the pointers.
16314 (pdump_get_entry): Abort if trying to register a null pointer.
16315 (pdump_dump_data): Cleanup types when relocating.
16316 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
16317 (pdump_dump_rtables): Remove bad casts.
16318 (pdump_load): Cleanup relocation w.r.t union type. Use a
16319 Lisp_Object instead of a EMACS_INT for the hashtable
16322 2000-01-20 Martin Buchholz <martin@xemacs.org>
16324 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
16326 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
16328 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
16330 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
16332 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16334 * faces.h (FACE_STRIKETHRU_P): Added.
16336 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
16339 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
16340 (mswindows_set_dc_font): New function, aware of font variants,
16341 separated from mswindows_update_dc.
16343 * objects-msw.h (struct mswindows_font_instance_data): Added
16346 * objects-msw.c (mswindows_finalize_font_instance): Delete all
16347 cached fonts and the data structure.
16348 (mswindows_initialize_font_instance): Added creation of font data
16350 (mswindows_print_font_instance): Print at least something.
16351 (mswindows_create_font_variant): Implemented.
16352 (mswindows_get_hfont): Implemented.
16354 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
16356 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
16357 prototyping problem with msvc.
16359 * emacs.c (main_1): added syms_of_gui_mswindows() call
16361 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
16362 syms_of_gui_mswindows() function
16364 * symsinit.h: added the prototype for syms_of_gui_mswindows()
16366 2000-01-18 Martin Buchholz <martin@xemacs.org>
16368 * XEmacs 21.2.27 is released.
16370 2000-01-18 Martin Buchholz <martin@xemacs.org>
16372 * glyphs-eimage.c (struct tiff_error_struct):
16374 (tiff_warning_func):
16375 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
16380 * unexec.c: Remove vestigial Lucid C code.
16384 * libsst.c: Ansify.
16385 Remove declarations of errno and strerror().
16387 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
16389 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
16391 2000-01-16 Martin Buchholz <martin@xemacs.org>
16393 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
16396 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16401 Change enum eol_type to eol_type_t.
16403 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16405 * gui.c (get_gui_callback): Check cons before accessing car.
16407 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16409 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
16410 (XSETSPECIFIER_TYPE): Ditto.
16412 2000-01-17 Didier Verna <didier@xemacs.org>
16414 * redisplay.c (generate_fstring_runes): compute string size in
16415 characters, not bytes.
16417 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
16419 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
16421 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
16423 * print.c (print_error_message): Call print_prepare().
16425 2000-01-14 Martin Buchholz <martin@xemacs.org>
16427 * .dbxrc: Renamed from dbxrc.
16429 * events.c (event_to_character):
16430 Use `assert (foo)' instead of `if (!foo) abort()'
16432 * .gdbinit (xtype): Add documentation.
16433 * .gdbinit (check-temacs): New function.
16434 * .gdbinit (check-xemacs): New function.
16435 * dbxrc (check-xemacs): New function.
16436 * dbxrc (check-xemacs): New function.
16438 2000-01-14 Andy Piper <andy@xemacs.org>
16440 * glyphs-widget.c (widget_query_geometry): Make sure that we
16441 calculate default dimensions correctly.
16443 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16445 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
16447 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
16448 pdump_wire'd variable.
16450 * emacs.c: (main_1): Conditionalized calls to
16451 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
16453 2000-01-13 Martin Buchholz <martin@xemacs.org>
16455 * window.c (Fset_window_configuration):
16456 * sysdep.c (_start):
16457 * input-method-motif.c (res):
16458 * event-Xt.c (Xt_process_to_emacs_event):
16459 Simple compiler warning fixes.
16461 * bytecode.c (funcall_compiled_function): Use the original
16462 function symbol on the backtrace list in preference to the
16463 compiled_function object in error messages.
16465 2000-01-13 Andy Piper <andy@xemacs.org>
16467 * glyphs-x.c (update_widget_face): Make sure we update the widget
16468 background as well as foreground.
16470 2000-01-13 Andy Piper <andy@xemacs.org>
16472 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
16473 fields to subwindow.
16474 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
16475 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
16476 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
16477 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
16479 * glyphs-widget.c (check_valid_tab_orientation): new function.
16480 (initialize_widget_image_instance): zero orientation and
16482 (widget_instantiate): pick up orientation.
16483 (tab_control_query_geometry): return appropriate values for
16486 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
16487 appropriate creation flags for left, right and bottom tabs.
16489 * s/cygwin32.h: add tab definitions.
16491 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16493 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
16494 frame upon hiding a subwindow.
16495 (mswindows_button_instantiate): Changed the push button style to
16497 (mswindows_button_instantiate): Removed button BS_NOTIFY
16499 (mswindows_button_instantiate): Removed redundant check for
16500 a disabled gui item.
16501 (mswindows_button_instantiate): Made use of WS_TABSTOP
16502 consistent: "operable" controls (edit, button, tree, scroll) have
16503 this style, "display-only" ones (static, progress gauge) do
16504 not. This style is currently ignored by XEmacs though. Also,
16505 removed the WS_EX_CONTROLPARENT style - it is not for children,
16506 it is for their parents!
16507 (mswindows_edit_field_instantiate): Ditto.
16508 (mswindows_progress_gauge_instantiate): Ditto.
16509 (mswindows_tree_view_instantiate): Ditto.
16510 (mswindows_tab_control_instantiate): Ditto.
16511 (mswindows_scrollbar_instantiate): Ditto.
16512 (mswindows_combo_box_instantiate): Ditto.
16513 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
16514 style to the "clip" window.
16515 (mswindows_button_instantiate): Removed compilation warning by
16516 equally typing terms of the ?: operator.
16518 2000-01-12 Didier Verna <didier@xemacs.org>
16520 * redisplay.c (generate_fstring_runes): new parameter holding the
16521 last modeline-format extent.
16522 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
16523 extent, fill the glyph block with it.
16524 (generate_fstring_runes): handle these parameters.
16525 (generate_formatted_string_db): ditto.
16527 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
16528 glyphs'extents in the modeline.
16530 1999-01-11 Mike Woolley <mike@bulsara.com>
16532 * ntheap.c: Reduced the reserved heap space from 1Gb down to
16533 256Mb, as a workaround for the non-starting problem many people
16536 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16538 * console-tty.c (Fset_console_tty_output_coding_system):
16539 Force redrawing tty frame.
16541 2000-01-10 Didier Verna <didier@xemacs.org>
16543 * redisplay.c (generate_fstring_runes): fix size computation bug.
16545 2000-01-09 William M. Perry <wmperry@aventail.com>
16547 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
16549 2000-01-09 Andy Piper <andy@xemacs.org>
16551 * glyphs-msw.c: index -> i to avoid shadows.
16552 (xbm_create_bitmap_from_data): make static.
16553 (check_valid_string_or_int): deleted.
16554 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
16556 * glyphs-x.c (x_update_subwindow): remove unused args.
16558 * glyphs.c (glyph_image_instance): return the thing. Don't set the
16559 back pointer - this is done in allocate_image_instance.
16560 (query_string_font): return Qnil to make the compiler happy.
16561 (unmap_subwindow): set to ~0 to make the compiler happy.
16562 (glyph_query_geometry): comment out until used.
16563 (glyph_layout): ditto.
16565 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
16567 * insdel.c (signal_after_change): Remove extraneous unbind_to().