1 2004-09-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * mule-charset.c (syms_of_mule_charset): Rename
4 `=jis-x0208-{1978|1983|1990}' to `=jis-x0208@{1978|1983|1990}'.
6 2004-08-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
8 * fns.c (simplify_char_spec): Don't allocate new character-object
9 if specified char_spec does not have any CCS-features.
11 * chartab.h: Add EXFUN for Fdefine_char.
13 * chartab.c: Delete EXFUN for Fdefine_char.
15 2004-08-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
17 * fns.c (simplify_char_spec): Use Fdefine_char instead of
18 Ffind_char for char-spec.
20 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
22 * lisp-disunion.h (XCHARVAL): Fix condition about
25 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
27 * mule-charset.c (decode_builtin_char): Use <EMACS_INT> instead of
29 (Fdecode_builtin_char): Use <EMACS_INT> instead of <int> for code
30 point; use <Emchar> instead of <int> for character-id.
32 2004-07-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
34 * lisp-disunion.h (make_int): Cast the argument into <EMACS_INT>.
35 (make_char): Likewise.
36 (XCHARVAL): Don't use the inline function for UTF-2000 in 64 bit
38 (XCHARVAL[for UTF-2000 in 32 bit environment]): Use <Emchar>
39 instead of <int> as the type of return value; use <Lisp_Object>
40 instead of <Emchar> as the type of argument.
41 (XCHARVAL[macro version]): Cast the result into <Emchar>.
43 * syntax.h (SYNTAX_CODE_UNSAFE): Use <Lisp_Object> and <enum
44 syntaxcode> instead of <int>.
46 2004-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
48 * chartab.c (put_char_composition): Use DECODE_CHAR to get
49 character corresponding with UCS code point.
50 (Fput_char_attribute): Likewise.
52 * mule-charset.c (put_char_ccs_code_point): Don't omit a UCS
53 character in the UCS decoding-table if the char-id is not equal to
56 2004-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
58 * mule-charset.c (Fsave_charset_properties): Use `true-name' only
59 for aliases; write `description'; write
60 `mother-code-{min|max|offset|conversion}' if CHARSET_MAX_CODE is
63 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
65 * chartab.c (Fsave_char_attribute_table): Don't use
66 `save_charset_properties'.
68 * mule-charset.c (Fsave_charset_properties): Renamed from
69 `save_charset_properties' and changed to Lisp function again;
70 write property `type' as `CCS'; write properties `final-byte' and
71 `mother' if they exists.
72 (syms_of_mule_charset): Revive builtin function
73 `save-charset-properties' when HAVE_LIBCHISE is defined.
75 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
77 * chartab.c (open_chise_data_source_maybe): Use Vdata_directory
78 instead of Vexec_directory.
79 (char_attribute_system_db_file): Likewise.
81 2004-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
83 * chartab.c (Fsave_char_attribute_table): Use
84 `save_charset_properties' for CCS features when HAVE_LIBCHISE is
87 * mule-charset.c (save_charset_properties): Renamed from
88 `Fsave_charset_properties'; changed to non-Lisp function.
89 (syms_of_mule_charset): Abolish builtin function
90 `save-charset-properties'.
92 2004-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
94 * mule-charset.c (Fsave_charset_properties): New function when
95 HAVE_LIBCHISE is defined.
96 (syms_of_mule_charset): Add new builtin function
97 `save-charset-properties' when HAVE_LIBCHISE is defined.
99 2004-06-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
101 * chartab.c (Fput_char_attribute): Convert char-specs in value of
102 `{<-|->}ancient[^*]*' to characters and put reverse links.
103 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
104 for `{<-|->}ancient[^*]*'.
106 2004-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
108 * chartab.c (Fput_char_attribute): Convert char-specs in value of
109 `{<-|->}original[^*]*' to characters and put reverse links.
110 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
111 for `{<-|->}original[^*]*'.
113 2004-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
115 * mule-canna.c (m2c): Fix problem with XEmacs CHISE.
117 2004-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
119 * mule-charset.c (Qsystem_char_id): New variable.
121 * chartab.c (Qsystem_char_id): Deleted even if HAVE_CHISE is
122 defined and HAVE_LIBCHISE_LIBCHISE is not defined.
124 2004-05-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
126 * chartab.c (Fput_char_attribute): When processing a reference of
127 a character, put into the end of the reversed reference of each
130 2004-05-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
132 * chartab.c (Q_same): Deleted.
133 (Q_same_of): Deleted.
134 (Fput_char_attribute): Use Fstring_match to find `{<-|->}same'.
135 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
137 (syms_of_chartab): Delete builtin symbol `{<-|->}same'.
139 2004-05-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
141 * chartab.c (Q_vulgar): Deleted.
142 (Q_vulgar_of): Deleted.
143 (Fput_char_attribute): Use Fstring_match to find `{<-|->}vulgar'.
144 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
146 (syms_of_chartab): Don't define `{<-|->}vulgar'.
148 2004-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
150 * chartab.c (Fput_char_attribute): Convert char-specs in value of
151 `{<-|->}wrong[^*]*' to characters and put reverse links.
152 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
153 for `{<-|->}wrong[^*]*'.
155 2004-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
157 * chartab.c (Q_vulgar): New variable.
158 (Q_vulgar_of): New variable.
159 (Fput_char_attribute): Convert char-specs in value of
160 `{->|<-}vulgar' to characters and put reverse links.
161 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
163 (syms_of_chartab): Add new symbols `{->|<-}vulgar'.
165 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
167 * text-coding.c (decode_add_er_char): Must to quote prefix string
170 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
172 * mule-charset.c (put_char_ccs_code_point): Store characters of
173 =ucs whose code_points >= 0xF0000.
175 2004-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
177 * mule-charset.c (Vcharset_system_char_id): New variable in XEmacs
179 (syms_of_mule_charset): Add new symbol `system-char-id' in XEmacs
181 (complex_vars_of_mule_charset): Add new coded-charset
182 `system-char-id' in XEmacs CHISE; modify `=ucs' to eliminate
183 builtin characters over 0xEFFFF.
185 * chartab.c (syms_of_chartab): Don't define symbol
186 `system-char-id' in every case.
188 * char-ucs.h (Qsystem_char_id): New extern variable.
189 (LEADING_BYTE_SYSTEM_CHAR_ID): New macro.
191 2004-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
193 * text-coding.c (char_encode_utf8): Try to use entity-references
194 for U-000F0000 ... U-0010FFFF.
196 2004-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
198 * text-coding.c (ER_BUF_SIZE): New macro.
199 (struct decoding_stream): Use `ER_BUF_SIZE' to specify size of
201 (decode_add_er_char): Use `ER_BUF_SIZE' instead of 16.
202 (char_encode_as_entity_reference): Use `ER_BUF_SIZE'.
204 2004-03-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
206 * chartab.c (find_char_feature_in_family): New function.
207 (Fchar_feature): Use `find_char_feature_in_family' with
208 `->identical', `<-subsumptive' and `<-denotational'.
210 2004-03-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
212 * text-coding.c (char_encode_as_entity_reference): Allow prefix
213 within 8 characters; fix infinite loop.
215 2004-03-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
217 * chartab.c (Q_same): New variable.
218 (Q_same_of): New variable.
219 (Fput_char_attribute): Convert char-specs in value of
220 `{->|<-}same' to characters and put reverse links.
221 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
223 (syms_of_chartab): Add new symbols `{->|<-}same'.
225 2004-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
227 * chartab.c (Q_component): New variable.
228 (Q_component_of): Likewise.
229 (Fput_char_attribute): Convert char-specs in value of
230 `{->|<-}ideographic-component-forms' to characters and put reverse
232 (syms_of_chartab): Add new symbols
233 `{->|<-}ideographic-component-forms'.
235 2004-02-24 MORIOKA Tomohiko <tomo@m17n.org>
237 * chartab.c (Q_identical): New variable.
238 (Q_identical_from): New variable.
239 (Fchar_feature): Regard `->identical' as a feature to find
241 (Fput_char_attribute): Add reversed link for `{->|<-}identical'.
242 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
243 for `{->|<-}identical'.
244 (syms_of_chartab): Add new symbols `{->|<-}identical'.
246 2004-02-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
248 * char-ucs.h (encode_char_2): New inline function.
249 (CHAR_TO_CHARC): Use `encode_char_2' instead of `encode_char_1'.
251 2004-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
253 * chartab.c (Fput_char_attribute): Convert char-specs to
254 characters in value of `ideographic-structure'.
255 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
256 for `{<-|->}simplified(@...)'.
257 (Fdefine_char): bTry to use predefined character's id.
259 2004-02-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
261 * fns.c (simplify_char_spec): Try to convert builtin chars to
264 2004-02-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
266 * chartab.c (Fput_char_attribute): Convert char-specs in value of
267 `<-simplified[^*]*' to characters and put reverse links.
269 2004-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
271 * chartab.c (Q_subsumptive): Renamed from Q_unified.
272 (Q_subsumptive_from): Renamed from Q_unified_from.
273 (Fchar_feature): Use `Q_subsumptive_from' instead of
275 (Fput_char_attribute): Likewise; Use `Q_subsumptive' instead of
277 (syms_of_chartab): Rename `->unified' to `->subsumptive' and
278 `<-unified' to `<-subsumptive'.
280 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
282 * chartab.c (Fchar_feature): Check `<-denotational' to avoid
283 inheritance itself; fix typo; stop recursive search if cyclic
284 inheritance is found.
286 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
288 * chartab.c (Q_denotational): New variable.
289 (Q_denotational_from): New variable.
290 (Fchar_feature): Refer `<-denotational' as same as `<-unified'.
291 (put_char_attribute): New function.
292 (Fput_char_attribute): Use `put_char_attribute'; regard
293 `->denotational' and `<-denotational' as same as `->unified' and
295 (syms_of_chartab): Add new symbols `->denotational' and
298 2004-02-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
300 * chartab.c (Fget_composite_char): Use `Fchar_feature' instead of
301 `Fget_char_attribute'.
302 (Fchar_variants): Likewise.
303 (get_char_table): Likewise.
304 (Fchar_feature): New function.
305 (put_char_composition): Use `Fchar_feature' instead of
306 `Fget_char_attribute'.
307 (Fput_char_attribute): Likewise; don't put the target character
308 into its `->unified' value.
309 (syms_of_chartab): Add new builtin function `char-feature'.
311 2004-01-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
313 * text-coding.c (COMPOSE_ADD_CHAR): Use `Fchar_feature' instead of
314 `Fget_char_attribute'.
315 (char_encode_utf8): Likewise.
317 * chartab.h: Add an EXFUN for `Fchar_feature'.
319 2004-01-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
321 * chartab.c (Vnext_defined_char_id): New variable.
322 (Fput_char_attribute): Accept characters in `->unified'.
323 (Fdefine_char): Refer and update Vnext_defined_char_id to allocate
324 new characters which are not related with builtin char-id ranges.
325 (vars_of_chartab): Add new variable `next-defined-char-id'.
327 2004-01-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
329 * chartab.c (Q_unified): New variable.
330 (Q_unified_from): New variable.
331 (Fput_char_attribute): Add code for `->unified'.
332 (syms_of_chartab): Add new symbols `->unified' and `<-unified' in
335 2003-11-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
337 * mule-charset.c (decode_ccs_conversion): New function.
338 (decode_defined_char): Use `decode_ccs_conversion'.
339 (decode_builtin_char): Likewise.
341 2003-11-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
343 * char-ucs.h: Change some charset-ids of private coded-charsets.
345 2003-11-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
347 * text-coding.c (decode_add_er_char): Modify for `DECODE_CHAR'.
348 (char_encode_as_entity_reference): Likewise.
349 (decode_coding_big5): Modify for `decode_defined_char' and
351 (decode_coding_utf8): Modify for `decode_defined_char'; modify to
352 avoid compiler warning.
353 (decode_coding_iso2022): Modify for `DECODE_CHAR'.
355 * mule-charset.c (decode_defined_char): Add new argument
356 `without_inheritance'.
357 (Fdecode_char): Add new optional argument `without_inheritance'.
358 (Fdecode_builtin_char): Modify for `Fdecode_char'.
360 * fns.c (ids_format_unit): Modify for `Fdecode_char'.
361 (simplify_char_spec): Likewise.
363 * chartab.h (Fdecode_char): Modify number of arguments of EXFUN
366 * chartab.c (put_char_table): Modify for `DECODE_CHAR'.
367 (map_char_table): Likewise.
368 (Fdefine_char): Use `Fdecode_char' without inheritance.
369 (Ffind_char): Modify for `Fdecode_char'.
371 * character.h (CHARC_TO_CHAR): Modify for `DECODE_CHAR'.
373 * char-ucs.h (decode_defined_char): Add new argument
374 `without_inheritance'.
375 (DECODE_CHAR): Likewise.
376 (MAKE_CHAR): Modify for `DECODE_CHAR'.
378 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
380 * chartab.c (Vchise_system_db_directory): New variable.
381 (vars_of_chartab): Add new variable `chise-system-db-directory'.
383 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
385 * chartab.c: EXFUN `Fmount_char_attribute_table'.
386 (print_chartab_range): Don't define when `UTF2000' is defined.
387 (open_chise_data_source_maybe): Specify 0 instead of DB_HASH for
390 2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
392 * chartab.c (Fchar_attribute_list): When HAVE_LIBCHISE is defined
393 and optional argument `rehash' is specified, call
394 `open_chise_data_source_maybe' before
395 `chise_ds_foreach_char_feature_name' is called.
397 2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
399 * chartab.c (char_attribute_list_reset_map_func): New function
400 when HAVE_LIBCHISE is defined.
401 (Fchar_attribute_list): Add new optional argument `rehash' when
402 HAVE_LIBCHISE is defined.
403 (open_chise_data_source_maybe): Use "chise-db" instead of
405 (char_attribute_system_db_file): Likewise.
406 (Fload_char_attribute_table): Use
407 `chise_feature_foreach_char_with_value' instead of
408 `chise_char_feature_value_iterate'.
410 2003-10-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
412 * chartab.c (Vchise_db_directory): New variable.
413 (vars_of_chartab): Add new built-in variable `chise-db-directory'.
415 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
417 * mule-charset.c (Freset_charset_mapping_table): Use HAVE_LIBCHISE
418 instead of HAVE_CHISE to specify using with libchise.
420 * config.h.in (HAVE_CHISE_CLIENT): Deleted.
422 * chartab.h: Don't use HAVE_CHISE_CLIENT.
424 * chartab.c (Qsystem_char_id): Don't define when HAVE_CHISE is not
425 defined or HAVE_LIBCHISE_LIBCHISE is defined.
426 (char_attribute_system_db_file): Don't define when HAVE_LIBCHISE
428 (Freset_char_attribute_table): Use HAVE_LIBCHISE instead of
429 HAVE_CHISE to specify using with libchise.
430 (syms_of_chartab): Don't define symbol `system-char-id' when
431 HAVE_CHISE is not defined or HAVE_LIBCHISE_LIBCHISE is defined.
433 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
435 * mule-charset.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
436 specify CHISE DB support.
437 (Freset_charset_mapping_table): Use `chise_ccs_setup_db' instead
438 of `char_attribute_system_db_file' to check feature DB file.
440 * chartab.h, casetab.c, char-ucs.h: Use HAVE_CHISE instead of
441 HAVE_CHISE_CLIENT to specify CHISE DB support.
443 * chartab.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
444 specify CHISE DB support.
445 (open_chise_data_source_maybe): Don't define when HAVE_LIBCHISE is
447 (Freset_char_attribute_table): Use `chise_feature_setup_db'
448 instead of `char_attribute_system_db_file' to check feature DB
451 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
453 * mule.c (vars_of_mule): Use `HAVE_CHISE' instead of `CHISE' and
456 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
458 * mule-charset.c: Use HAVE_LIBCHISE instead of CHISE.
459 (Fsave_charset_mapping_table): Don't use
460 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
462 * config.h.in (HAVE_CHISE): Renamed from `CHISE'.
463 (HAVE_LIBCHISE): New macro.
465 * chartab.h: Use HAVE_LIBCHISE instead of CHISE.
467 * chartab.c: Use HAVE_LIBCHISE instead of CHISE.
468 (Fsave_char_attribute_table): Don't use
469 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
471 2003-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
473 * chartab.c (save_uint8_byte_table): Use libchise when CHISE is
475 (save_uint16_byte_table): Likewise.
476 (save_byte_table): Likewise.
477 (char_table_get_db): Use `chise_ds_load_char_feature_value'
478 instead of `chise_char_load_feature_value'.
479 (Fsave_char_attribute_table): Use libchise when CHISE is defined.
481 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
483 * chartab.h (struct Lisp_Char_Table): Delete member
484 `feature_table' if CHISE is defined.
486 * chartab.c (Fmake_char_table): Don't refer `ct->feature_table'.
487 (Fcopy_char_table): Likewise.
488 (char_table_open_db_maybe): Likewise.
489 (char_table_close_db_maybe): Likewise.
490 (char_table_get_db): Likewise.
491 (Fmount_char_attribute_table): Likewise.
492 (Fload_char_attribute_table): Likewise.
494 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
496 * mule-charset.c (load_char_decoding_entry_maybe): Use
497 `chise_ds_decode_char' instead of `chise_ds_get_ccs' and
500 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
502 * chartab.c (open_chise_data_source_maybe): Use `CHISE_DS_open'
503 instead of `chise_open_data_source'.
504 (Fclose_char_data_source): Use `CHISE_DS_close' instead of
507 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
509 * chartab.c (char_table_open_db_maybe): Use `chise_ds_get_feature'
510 instead of `chise_ds_open_feature_table'.
511 (char_table_close_db_maybe): Don't use `chise_ft_close'.
513 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
515 * mule-charset.c (Fsave_charset_mapping_table): Use
516 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
517 `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
518 `chise_ccs_sync' instead of `chise_ccst_close'.
519 (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
521 * chartab.c (open_chise_data_source_maybe): Modify for
522 `chise_open_data_source'.
523 (char_table_open_db_maybe): Modify for
524 `chise_ds_open_feature_table'.
526 2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
528 * mule-charset.c (load_char_decoding_entry_maybe): Use
529 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
532 2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
534 * mule-charset.c (Fsave_charset_mapping_table): Use
535 `chise_ds_open_ccs_table', `chise_ccst_put_char' and
536 `chise_ccst_close' instead of `chise_ds_open_decoding_table',
537 `chise_dt_put_char' and `chise_dt_close'.
538 (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
539 `chise_ccs_decode' and `chise_ccst_close' instead of
540 `chise_ds_open_decoding_table', `chise_dt_get_char' and
543 * chartab.c (char_table_get_db): Use
544 `chise_char_load_feature_value' instead of `chise_ft_get_value'.
545 (load_char_attribute_table_map_func): Modify for
546 `chise_char_feature_value_iterate'.
547 (Fload_char_attribute_table): Use
548 `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
550 2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
552 * text-coding.c (COMPOSE_ADD_CHAR): Fixed.
554 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
556 * chartab.c (put_char_table): Modify for inherited coded-charsets
559 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
561 * chartab.c (Fput_char_table_map_function): Fixed.
562 (word_boundary_p): Don't check charset in XEmacs CHISE.
564 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
566 * mule-charset.c (Fsave_charset_mapping_table): Use
567 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
568 instead of `chise_open_decoding_table'; refer
569 `default_chise_data_source'; use `chise_dt_close' instead of
570 `chise_close_decoding_table'.
571 (load_char_decoding_entry_maybe): Likewise.
573 * chartab.c (default_chise_data_source): New variable when `CHISE'
575 (Fcopy_char_table): `ct->ds' is deleted.
576 (open_chise_data_source_maybe): New function.
577 (Fclose_char_data_source): New function.
578 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
579 use `chise_ds_open_feature_table' instead of
580 `chise_open_feature_table'.
581 (char_table_close_db_maybe): Use `chise_ft_close' instead of
582 `chise_close_feature_table'; `cit->ds' is deleted.
583 (syms_of_chartab): Add new builtin function
584 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
586 * chartab.h (default_chise_data_source): New extern variable.
587 (open_chise_data_source_maybe): New prototype.
588 (struct Lisp_Char_Table): Delete `ds'.
590 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
592 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
595 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
597 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
598 not defined; add code for non-libchise setting.
599 (char_table_close_db_maybe): Likewise.
600 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
602 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
603 even if `CHISE' is not defined.
604 (Freset_char_attribute_table): Likewise.
605 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
606 `char_table_close_db_maybe' even if `CHISE' is not defined; use
608 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
609 `char_table_close_db_maybe' even if `CHISE' is not defined.
611 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
613 * chartab.c (char_table_open_db_maybe): New function.
614 (char_table_close_db_maybe): New function.
615 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
616 (Freset_char_attribute_table): Likewise.
617 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
618 `char_table_close_db_maybe'.
619 (Fload_char_attribute_table): Likewise.
621 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
623 * chartab.c: Don't include <chise.h> because it is included in
625 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
627 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
629 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
631 (Fclose_char_attribute_table): Close `ct->feature_table' and
632 `ct->ds' when `CHISE' is defined.
633 (Freset_char_attribute_table): Likewise.
634 (load_char_attribute_maybe): Use `cit->ds' and
635 `cit->feature_table' when `CHISE' is defined.
636 (Fload_char_attribute_table): Likewise.
638 * chartab.h: Include <chise.h> when `CHISE' is defined.
639 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
640 when `CHISE' is defined.
642 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
644 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
646 (char_table_description): Likewise.
647 (Fmake_char_table): Likewise.
648 (Fcopy_char_table): Likewise.
649 (Fmount_char_attribute_table): Likewise.
650 (Fclose_char_attribute_table): Likewise.
651 (Freset_char_attribute_table): Likewise.
652 (load_char_attribute_maybe): Likewise.
653 (Fload_char_attribute_table): Likewise.
655 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
658 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
660 * chartab.c (load_char_attribute_table_map_func): New function
661 when CHISE is defined.
662 (Qload_char_attribute_table_map_function): Don't define when CHISE
664 (Fload_char_attribute_table_map_function): Likewise.
665 (Fload_char_attribute_table): Use libchise when `CHISE' is
667 (syms_of_chartab): Don't define
668 `load-char-attribute-table-map-function' when CHISE is defined.
670 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
672 * chartab.c: Include <chise.h> when `CHISE' is defined.
673 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
675 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
677 * mule-charset.c (charset_code_point): Fix problem when searching
678 in mother CCS fails with `defined_only' mode.
680 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
682 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
683 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
684 (put_char_composition): Likewise.
685 (Fput_char_attribute): Likewise.
686 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
688 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
690 * chartab.c (Q_ucs): Deleted.
691 (Fput_char_attribute): Don't refer `->ucs'.
692 (Fdefine_char): Likewise.
693 (Ffind_char): Likewise.
694 (syms_of_chartab): Delete `->ucs'.
696 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
698 * mule-charset.c (Qmap_cns11643_2): Renamed from
699 `Qchinese_cns11643_2'.
700 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
701 `chinese-cns11643-2'.
702 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
705 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
707 * mule-charset.c (Qmap_cns11643_1): Renamed from
708 `Qchinese_cns11643_1'.
709 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
710 `chinese-cns11643-1'.
711 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
714 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
716 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
717 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
719 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
722 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
724 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
725 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
727 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
730 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
732 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
733 (syms_of_mule_charset): Add new symbol `=big5' instead of
735 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
737 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
739 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
740 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
742 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
745 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
747 * mule-charset.c (Qmap_jis_x0212): Renamed from
748 `Qjapanese_jisx0212'.
749 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
751 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
754 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
756 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
757 `Qjapanese_jisx0208'.
758 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
759 of `japanese-jisx0208'.
760 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
763 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
765 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
766 `Qjapanese_jisx0208_1978'.
767 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
768 of `japanese-jisx0208-1978'.
769 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
772 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
774 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
775 only for XEmacs CHISE.
777 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
779 * char-ucs.h: Compact non-ISO-IR charset-ids.
780 (LEADING_BYTE_UCS): Changed to -177.
781 (LEADING_BYTE_CONTROL_1): Changed to -77.
782 (LEADING_BYTE_UCS_BMP): Changed to -176.
783 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
785 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
787 * mule-charset.c (Qiso_ir): New variable.
788 (Fmake_charset): Recognise new property `iso-ir'.
789 (syms_of_mule_charset): Add new symbol `iso-ir'.
791 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
793 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
794 n to -n; charset-id of non ISO-IR sets are changed to positive
797 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
799 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
800 for &MCS-XXXXXXXX; values.
802 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
804 * mule.c (Vxemacs_chise_version): Renamed from
806 (vars_of_mule): Add new variable `xemacs-chise-version'; define
807 `utf-2000-version' as an alias for `xemacs-chise-version'.
809 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
811 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
812 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
815 * config.h.in (CHISE): New macro.
817 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
819 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
821 (Qmap_ucs): New variable.
822 (syms_of_mule_charset): Add new symbol `=ucs'.
823 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
825 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
826 (simplify_char_spec): Likewise.
828 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
830 * char-ucs.h (Qmap_ucs): New extern variable.
832 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
834 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
835 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
836 don't define it when UTF2000 is not defined.
837 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
838 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
839 when UTF2000 is not defined.
840 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
841 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
843 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
845 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
847 * mule-charset.c (Vcharset_ucs_gb): Deleted.
849 (syms_of_mule_charset): Delete `ucs-gb'.
850 (complex_vars_of_mule_charset): Likewise.
852 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
854 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
856 * mule-charset.c (Vcharset_ucs_cns): Deleted.
858 (syms_of_mule_charset): Delete `ucs-cns'.
859 (complex_vars_of_mule_charset): Likewise.
861 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
863 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
865 * mule-charset.c (Vcharset_ucs_jis): Deleted.
867 (syms_of_mule_charset): Delete `ucs-jis'.
868 (complex_vars_of_mule_charset): Likewise.
870 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
872 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
874 * mule-charset.c (Vcharset_ucs_ks): Deleted.
876 (syms_of_mule_charset): Delete `ucs-ks'.
877 (complex_vars_of_mule_charset): Likewise.
879 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
881 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
882 (Qideograph_daikanwa_2): Deleted.
883 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
884 (complex_vars_of_mule_charset): Likewise.
886 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
887 (LEADING_BYTE_DAIKANWA_1): Deleted.
888 (LEADING_BYTE_DAIKANWA_2): Deleted.
889 (MIN_CHAR_DAIKANWA): Deleted.
890 (MAX_CHAR_DAIKANWA): Deleted.
892 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
894 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
895 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
896 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
898 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
899 (Vcharset_ideograph_daikanwa): Deleted.
900 (Qideograph_hanziku_{1..12}): Deleted.
901 (Qideograph_daikanwa): Deleted.
902 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
903 Vcharset_ideograph_daikanwa.
904 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
905 `ideograph-hanziku-{1..12}'.
906 (complex_vars_of_mule_charset): Likewise.
908 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
910 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
912 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
913 (Qideograph_gt_pj_{1..11}): Deleted.
914 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
915 (complex_vars_of_mule_charset): Likewise.
917 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
919 * mule-charset.c (Vcharset_ucs_big5): Deleted.
920 (Vcharset_ideograph_gt): Deleted.
921 (Qucs_big5): Deleted.
922 (Qideograph_gt): Deleted.
923 (syms_of_mule_charset): Delete symbol `ucs-big5' and
925 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
928 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
929 (LEADING_BYTE_GT): Deleted.
930 (MIN_CHAR_GT): Deleted.
931 (MAX_CHAR_GT): Deleted.
933 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
935 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
937 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
939 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
940 (save_uint16_byte_table): Likewise.
941 (save_byte_table): Likewise; convert values by it.
942 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
943 for `ideographic-structure'.
944 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
945 as the filter for `ideographic-structure'.
947 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
949 * chartab.c (put_char_composition): New function.
950 (Fput_char_attribute): Use `put_char_composition'; use
951 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
953 * fns.c (simplify_char_spec): New function.
954 (char_ref_simplify_spec): New function.
955 (Fchar_refs_simplify_char_specs): New function.
956 (syms_of_fns): Add new builtin function
957 `char-refs-simplify-char-specs'.
959 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
961 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
962 (Qideograph_cbeta): Deleted.
963 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
964 (complex_vars_of_mule_charset): Likewise.
966 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
967 (MIN_CHAR_CBETA): Comment out.
968 (MAX_CHAR_CBETA): Likewise.
970 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
972 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
973 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
974 CHISE client feature.
976 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
978 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
980 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
982 * mule-charset.c (charset_lookup_description_1): Use
983 `NUM_LEADING_BYTES' in UTF-2000.
985 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
987 * char-ucs.h (GC_CHARSETP): Deleted.
989 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
991 * char-ucs.h (MAX_CHAR_GT): Updated.
993 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
995 * text-coding.c: Sync with XEmacs 21.4.10.
997 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
999 * mule-charset.c (Vcharset_china3_jef): Deleted.
1000 (Qchina3_jef): Deleted.
1001 (syms_of_mule_charset): Don't define `china3-jef'.
1002 (complex_vars_of_mule_charset): Likewise.
1004 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
1005 (MIN_CHAR_CHINA3_JEF): Comment out.
1006 (MAX_CHAR_CHINA3_JEF): Comment out.
1008 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1010 * mule-charset.c (Vcharset_ucs_gb): New variable.
1011 (Qucs_gb): New variable.
1012 (syms_of_mule_charset): Add new symbol `ucs-gb'.
1013 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
1015 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
1017 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1019 * mule-charset.c (charset_code_point): if a coded-charset has a
1020 final-byte, don't inherit the builtin range of the mother CCS.
1022 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1024 * mule-charset.c (charset_code_point): Fix problem about
1027 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1029 * mule-charset.c (decode_builtin_char): Reorganized.
1031 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1033 * text-coding.c (char_encode_as_entity_reference): Modify for
1034 `charset_code_point'.
1035 (char_encode_shift_jis): Likewise.
1036 (char_encode_big5): Likewise.
1037 (char_encode_utf8): Likewise.
1038 (char_encode_iso2022): Likewise.
1040 * mule-charset.c (charset_code_point): Add new argument
1042 (Fencode_char): Add new optional argument `defined_only'.
1044 * chartab.c (put_char_table): Modify for `charset_code_point'.
1046 * char-ucs.h (charset_code_point): Add new argument
1048 (encode_char_1): Modify for `charset_code_point'.
1050 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1052 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
1053 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
1055 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1057 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
1058 (Qjis_x0208): Likewise.
1059 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
1060 XCHARSET_FINAL(charset).
1061 (charset_code_point): Modify condition for final-byte based
1063 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
1064 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
1065 in UTF-2000; specify `=jis-x0208' as the mother of
1066 `japanese-jisx0208-1978', `japanese-jisx0208' and
1067 `japanese-jisx0208-1990' in UTF-2000.
1069 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1071 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
1073 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1075 * text-coding.c (decode_coding_utf16): Support UTF-16.
1076 (char_encode_utf16): Fixed.
1078 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1080 * text-coding.c (Qutf16): New variable in MULE.
1081 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
1082 (Fcoding_system_type): Add `utf-16' in MULE.
1083 (struct detection_state): Add a structure for utf16 in MULE.
1084 (detect_coding_type): Setup st->utf16.mask in MULE.
1085 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
1087 (reset_encoding_stream): Use `char_encode_utf16' and
1088 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
1089 (detect_coding_utf16): New function [incomplete].
1090 (decode_coding_utf16): New function [support only UCS-2].
1091 (char_encode_utf16): New function.
1092 (char_finish_utf16): New function.
1093 (syms_of_file_coding): Add new symbol `utf-16'; setup
1094 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
1096 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
1098 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
1099 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
1101 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1103 * chartab.c (put_char_table): When a charset is specified as a
1104 range in UTF-2000, don't support builtin characters.
1106 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1108 * mule-charset.c (decode_defined_char): Don't refer external
1109 database if Qunbound or Qnil are found.
1110 (Fsave_charset_mapping_table): Don't define it if
1111 HAVE_CHISE_CLIENT is not defined.
1112 (Freset_charset_mapping_table): New function.
1113 (load_char_decoding_entry_maybe): Store Qnil if a character is not
1114 found in external database.
1115 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
1116 if HAVE_CHISE_CLIENT is not defined; add new builtin function
1117 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
1119 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1121 * text-coding.c (decode_coding_utf8): Check CCS is specified or
1124 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1126 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
1127 Q_lowercase, Q_uppercase in UTF-2000.
1129 * chartab.c (get_char_table): Add special code for the standard
1130 case table to use character attribute `->downcase' and
1131 `->uppercase' for case operations in UTF-2000.
1133 * casetab.c (Qflippedcase): New variable in UTF-2000.
1134 (Q_lowercase): Likewise.
1135 (Q_uppercase): Likewise.
1136 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
1137 and `->uppercase' in UTF-2000.
1138 (complex_vars_of_casetab): Assign attribute name `downcase' to
1139 downcase and CANON table of Vstandard_case_table in UTF-2000;
1140 assign attribute name `flippedcase' to upcase and EQV table of
1141 Vstandard_case_table in UTF-2000.
1143 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1145 * text-coding.c (decode_add_er_char): Support isolated-chars.
1146 (char_encode_as_entity_reference): Likewise.
1148 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1150 * emacs.c (Vutf_2000_lisp_directory): New variable.
1151 (Vconfigure_utf_2000_lisp_directory): Likewise.
1152 (complex_vars_of_emacs): Add new variable
1153 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
1155 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1157 * char-ucs.h (DECODE_CHAR): Delete special code for
1158 `chinese-big5-1' and `chinese-big5-2'.
1160 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
1161 (Qbig5_2): Likewise.
1162 (decode_defined_char): Support CONVERSION_BIG5_1 and
1164 (decode_builtin_char): Likewise.
1165 (charset_code_point): Likewise.
1166 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
1167 'conversion in UTF-2000.
1168 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
1169 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
1170 `chinese-big5-2' as children of `chinese-big5'.
1172 * char-ucs.h (CONVERSION_BIG5_1): New macro.
1173 (CONVERSION_BIG5_2): New macro.
1175 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1177 * text-coding.c (char_encode_big5): Support entity-reference.
1179 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1181 * text-coding.c (char_encode_as_entity_reference): New function.
1182 (char_encode_utf8): Use `char_encode_as_entity_reference'.
1184 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1186 * text-coding.c (decode_coding_big5): Support entity-reference
1189 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1191 * text-coding.c (allocate_coding_system): Initialize initial
1192 charsets for CODESYS_UTF8.
1193 (Fmake_coding_system): Accept charset-g0, charset-g1 and
1194 charset-g2 for CODESYS_UTF8.
1195 (decode_coding_utf8): Use charset-g0.
1196 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
1197 to force variants to map to UCS.
1199 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1201 * text-coding.c (Qutf_8_mcs): New variable.
1202 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
1203 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
1204 instead of `utf-8' in UTF-2000.
1206 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1208 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
1209 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
1210 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
1211 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
1212 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
1213 CONVERSION_96x96x96x96 are introduced.
1214 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
1215 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
1216 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
1218 * char-ucs.h (CONVERSION_94): New macro.
1219 (CONVERSION_96): New macro.
1220 (CONVERSION_94x94): New macro.
1221 (CONVERSION_96x96): New macro.
1222 (CONVERSION_94x94x94): New macro.
1223 (CONVERSION_96x96x96): New macro.
1224 (CONVERSION_94x94x94x60): New macro.
1225 (CONVERSION_94x94x94x94): New macro.
1226 (CONVERSION_96x96x96x96): New macro.
1228 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1230 * chartab.c (Vcharacter_variant_table): Deleted.
1231 (Fchar_variants): Use character-attribute `->ucs-variants' instead
1232 of `Vcharacter_variant_table'.
1233 (Fput_char_attribute): Likewise.
1234 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
1235 (complex_vars_of_chartab): Likewise.
1237 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1239 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
1241 * fns.c (Qideographic_structure): New variable.
1242 (Qkeyword_char): New variable.
1243 (ids_format_unit): New function.
1244 (Fideographic_structure_to_ids): New function.
1245 (syms_of_fns): Add new symbols `ideographic-structure' and
1246 `:char'; add new builtin function `ideographic-structure-to-ids'.
1248 * data.c (Fchar_ref_p): New function.
1249 (syms_of_data): Add new builtin function `char-ref-p'.
1251 * chartab.h: Add an EXFUN for `Ffind_char'.
1253 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1255 * text-coding.c (Vcharacter_composition_table): Deleted.
1256 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
1259 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
1261 (Vcharacter_composition_table): Deleted.
1262 (Fget_composite_char): Use the implementation for external-DB
1263 support in every UTF-2000.
1264 (Fput_char_attribute): Likewise.
1265 (char_attribute_system_db_file): Don't define if external-DB
1266 feature is not available.
1267 (Fsave_char_attribute_table): Likewise.
1268 (Fmount_char_attribute_table): Likewise.
1269 (Fclose_char_attribute_table): Likewise.
1270 (Freset_char_attribute_table): Likewise.
1271 (Fload_char_attribute_table): Likewise.
1272 (syms_of_chartab): Don't define `save-char-attribute-table',
1273 `mount-char-attribute-table', `reset-char-attribute-table',
1274 `close-char-attribute-table' and `load-char-attribute-table' if
1275 external-DB feature is not available.
1276 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
1278 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1280 * text-coding.c (Qcomposition): Add extern if external-DB feature
1282 (Vcharacter_composition_table): Don't add extern if external-DB
1283 feature is supported.
1284 (COMPOSE_ADD_CHAR): Modify for new data-representation of
1285 character composition rule if external-DB feature is supported.
1287 * chartab.c (Vcharacter_composition_table): Don't define if
1288 external-DB feature is supported.
1289 (Qcomposition): New variable.
1290 (Fget_composite_char): New implementation for external-DB support.
1291 (Fput_char_attribute): Use `composition' property of each
1292 character instead of `Vcharacter_composition_table' to store
1293 character-composition rules if external-DB feature is supported.
1294 (syms_of_chartab): Add new symbol `composition'.
1295 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
1296 external-DB feature is supported.
1298 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1300 * chartab.c (Vchar_db_stingy_mode): New variable.
1301 (load_char_attribute_maybe): Close database if
1302 Vchar_db_stingy_mode is not NIL.
1303 (Fload_char_attribute_table_map_function): Use
1304 `get_char_id_table_0' instead of `get_char_id_table'.
1305 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
1307 * chartab.h (get_char_id_table_0): New inline function.
1308 (get_char_id_table): Use `get_char_id_table_0'.
1310 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1312 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
1313 and `COMPOSE_ADD_CHAR'.
1314 (decode_coding_iso2022): Use `decode_flush_er_chars'.
1316 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1318 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
1319 instead of `DECODE_ADD_UCS_CHAR'.
1320 (COMPOSE_ADD_CHAR): Likewise.
1322 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1324 * text-coding.c (decode_flush_er_chars): New inline function.
1325 (decode_add_er_char): New function.
1326 (decode_coding_utf8): Use `decode_flush_er_chars' and
1327 `decode_add_er_char'.
1329 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1331 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
1332 done before `decode_output_utf8_partial_char'.
1334 * mule-charset.c (complex_vars_of_mule_charset): Specify
1335 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
1336 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
1338 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1340 * mule-charset.c (decode_defined_char): New function; search
1342 (decode_builtin_char): Don't search mother if
1343 XCHARSET_MAX_CODE(charset) == 0.
1344 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
1345 == 0 even if code >= XCHARSET_MAX_CODE(charset).
1346 (Fdecode_char): Use `decode_defined_char' instead of
1347 `DECODE_DEFINED_CHAR'.
1348 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
1349 mother of `Vcharset_ucs_jis'.
1351 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
1352 instead of `DECODE_DEFINED_CHAR'.
1354 * char-ucs.h (decode_defined_char): Renamed from
1355 `DECODE_DEFINED_CHAR'; changed to normal function.
1356 (DECODE_CHAR): Use `decode_defined_char' instead of
1357 `DECODE_DEFINED_CHAR'.
1359 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
1361 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1363 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
1365 * text-coding.c (Vcoded_charset_entity_reference_alist): New
1367 (Quse_entity_reference): New variable.
1371 (coding_system_description): Add description for
1372 `ccs_priority_list'.
1373 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
1374 (allocate_coding_system): Initialize `ccs_priority_list' in
1376 (Fmake_coding_system): Add description about
1377 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
1379 (Fcoding_system_property): Accept `disable-composition' and
1380 `use-entity-reference' in UTF-2000.
1381 (struct decoding_stream): Add new member `er_counter' and `er_buf'
1383 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
1384 (decode_coding_utf8): Decode entity-reference if
1385 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
1386 (char_encode_utf8): Encode non-Unicode characters as
1387 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
1389 (syms_of_file_coding): Add new symbols `use-entity-reference',
1391 (vars_of_file_coding): Add new variable
1392 `coded-charset-entity-reference-alist'.
1393 (complex_vars_of_file_coding): Declare `disable-composition' and
1394 `use-entity-reference' to be coding-system-properties in UTF-2000.
1396 * file-coding.h (struct Lisp_Coding_System): Add new member
1397 `use_entity_reference' and `ccs_priority_list'.
1398 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1399 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
1400 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1402 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1404 * chartab.c (save_uint8_byte_table): Don't clear the table.
1405 (save_uint16_byte_table): Likewise.
1406 (save_byte_table): Likewise.
1407 (Fmount_char_attribute_table): New function.
1408 (syms_of_chartab): Add new builtin function
1409 `mount-char-attribute-table'.
1411 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1413 * mule-charset.c (Fsave_charset_mapping_table): Open database as
1415 (load_char_decoding_entry_maybe): Open database as read-only mode.
1417 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
1418 open database as "w+" mode.
1419 (load_char_attribute_maybe): Open database as read-only mode.
1420 (Fload_char_attribute_table): Likewise.
1422 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1424 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
1425 (char_table_description): Delete member `db_file'.
1426 (Fmake_char_table): Don't refer `ct->db_file'.
1427 (Fcopy_char_table): Likewise.
1428 (Fsave_char_attribute_table): Likewise.
1429 (Fclose_char_attribute_table): Likewise.
1430 (Freset_char_attribute_table): Likewise.
1431 (load_char_attribute_maybe): Likewise.
1432 (Fload_char_attribute_table): Likewise.
1434 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
1436 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1438 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
1439 (Fsave_char_attribute_table): Don't check `ct->db_file' if
1441 (load_char_attribute_maybe): Likewise.
1442 (Fload_char_attribute_table): Likewise.
1444 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1446 * chartab.c (Fclose_char_attribute_table): Set Qnil on
1447 `ct->db_file' unconditionally.
1449 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1451 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
1453 (char_table_description): Add description for `db_file' and `db'
1455 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
1457 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
1458 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
1459 (Fclose_char_attribute_table): New function.
1460 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
1461 (load_char_attribute_maybe): Change interface; use `cit->db_file'
1463 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
1464 (syms_of_chartab): Add new builtin function
1465 `Fclose_char_attribute_table'.
1467 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1469 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
1471 (load_char_attribute_maybe): Change interface.
1472 (get_char_id_table): Modify for `load_char_attribute_maybe'.
1474 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1476 * database.h: Add an EXFUN for `Fdatabase_live_p'.
1478 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1480 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
1481 instead of `DECODE_CHAR' for mother; don't use special code for
1482 chinese-big5 to use code space of chinese-big5-1 and
1484 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
1485 `MAX_CHAR_BIG5_CDP' for chinese-big5.
1487 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
1488 (MAX_CHAR_BIG5_CDP): Revival.
1490 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1492 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
1493 the XLFD registry-encoding name of `chinese-big5'.
1495 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1497 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
1498 (Qchinese_big5_cdp): Deleted.
1499 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
1500 (complex_vars_of_mule_charset): Delete coded-charset
1503 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
1504 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
1505 `CHARSET_ID_OFFSET - n' for private CCS.
1506 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
1507 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
1508 of `MIN_LEADING_BYTE'.
1509 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
1510 `(CHARSET_ID_OFFSET - 97)'.
1511 (MIN_CHAR_BIG5_CDP): Deleted.
1512 (MAX_CHAR_BIG5_CDP): Deleted.
1514 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1516 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
1518 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1520 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
1521 (vars_of_mule): Add new variable `utf-2000-version' [moved from
1524 * chartab.c (Vutf_2000_version): Moved to mule.c.
1525 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
1527 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1529 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
1530 when HAVE_CHISE_CLIENT is not defined.
1532 * mule.c (vars_of_mule): Provide feature `chise' when
1533 HAVE_CHISE_CLIENT is defined.
1535 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1537 * config.h.in (UTF2000): Add comment.
1538 (HAVE_CHISE_CLIENT): New macro.
1540 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1542 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
1544 (Fput_char_attribute): Likewise.
1545 (char_attribute_system_db_file): Encode file-name of attribute.
1546 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
1549 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1551 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
1552 (Fsave_charset_mapping_table): Use
1553 `char_attribute_system_db_file'.
1554 (load_char_decoding_entry_maybe): Likewise.
1556 * chartab.h (Qsystem_char_id): New external variable.
1557 (char_attribute_system_db_file): New prototype.
1559 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
1560 (char_attribute_system_db_file): New function.
1561 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
1562 (Freset_char_attribute_table): Likewise.
1563 (load_char_attribute_maybe): Likewise.
1564 (Fload_char_attribute_table): Likewise.
1565 (syms_of_chartab): Add new symbol `system-char-id'.
1567 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1569 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
1570 `XCHARSET_GRAPHIC(ccs)'.
1572 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1574 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
1576 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1578 * chartab.c (Q_ucs_variants): New variable.
1579 (syms_of_chartab): Add new symbol `->ucs-variants'.
1580 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
1581 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
1582 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
1584 * mule-charset.c (load_char_decoding_entry_maybe): New function.
1586 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
1587 `HAVE_DATABASE' is defined.
1588 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
1589 `HAVE_DATABASE' is defined.
1591 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1593 * chartab.c (Fsave_char_attribute_table): Don't clear internal
1595 (Freset_char_attribute_table): New function.
1596 (syms_of_chartab): Add new builtin function
1597 `reset-char-attribute-table'.
1599 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1601 * chartab.c (load_char_attribute_maybe): Don't make directories.
1603 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1605 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
1607 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
1610 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1612 * mule-charset.c (Fsave_charset_mapping_table): Use
1613 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
1615 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
1616 instead of `XCHARSET_CHARS'.
1618 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1620 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
1621 (XCHARSET_BYTE_SIZE): Likewise.
1623 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
1625 (XCHARSET_BYTE_SIZE): Likewise.
1627 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1629 * chartab.c (Fput_char_attribute): Use exec-directory instead of
1630 data-directory to store database.
1631 (Fsave_char_attribute_table): Likewise.
1632 (load_char_attribute_maybe): Likewise.
1633 (Fload_char_attribute_table): Likewise.
1635 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1637 * mule-charset.c (Fsave_charset_mapping_table): New function.
1638 (syms_of_mule_charset): Add new builtin function
1639 `save-charset-mapping-table'.
1641 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1643 * char-ucs.h (decoding_table_check_elements): Delete prototype.
1644 (get_ccs_octet_table): New inline function.
1645 (put_ccs_octet_table): Likewise.
1646 (decoding_table_put_char): Use `get_ccs_octet_table' and
1647 `put_ccs_octet_table'.
1648 (decoding_table_remove_char): Use `decoding_table_put_char'.
1649 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
1651 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
1652 into encoding_table.
1653 (make_charset): Use Qunbound instead Qnil as initial value of
1656 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1658 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
1659 element is Qunloaded.
1660 (map_over_uint16_byte_table): Likewise.
1661 (map_over_byte_table): Likewise.
1662 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
1663 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
1664 database support, load encoding-table of the specified
1665 coded-charset if it is not loaded yet.
1666 (save_uint8_byte_table): New function of UTF-2000 with external
1668 (save_uint16_byte_table): Likewise.
1669 (save_byte_table): Likewise.
1670 (Fput_char_attribute): Don't store value into external database
1671 even if the external database feature is supported in UTF-2000;
1672 set `attribute' as name of char-table if the external database
1673 feature is supported.
1674 (Fsave_char_attribute_table): New function in UTF-2000.
1675 (syms_of_chartab): Add new builtin function
1676 `save-char-attribute-table' in UTF-2000.
1678 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1680 * chartab.c (char_attribute_table_to_put): New variable in
1682 (Qput_char_table_map_function): Likewise.
1683 (value_to_put): Likewise.
1684 (Fput_char_table_map_function): New function in UTF-2000.
1685 (put_char_table): Use `Fmap_char_attribute' for
1686 CHARTAB_RANGE_CHARSET in UTF-2000.
1687 (Fput_char_attribute): Store symbol instead of string in
1688 `XCHAR_TABLE_NAME (table)'.
1689 (load_char_attribute_maybe): Likewise.
1690 (syms_of_chartab): Add new symbol/function
1691 `put-char-table-map-function'.
1693 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1695 * database.h: Add new EXFUN for `Fmap_database'.
1697 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
1698 (syms_of_database): Likewise.
1700 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
1702 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
1703 (XCHAR_TABLE_UNLOADED): Likewise.
1705 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
1706 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
1707 HAVE_DATABASE is defined.
1708 (char_attribute_table_to_load): New variable of UTF-2000 with
1709 external database support.
1710 (Qload_char_attribute_table_map_function): Likewise.
1711 (Fload_char_attribute_table_map_function): New function of
1712 UTF-2000 with external database support.
1713 (Fload_char_attribute_table): New function of UTF-2000.
1714 (Fmap_char_attribute): Call Fload_char_attribute_table if
1715 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
1716 (syms_of_chartab): Add new symbol and function
1717 `load-char-attribute-table-map-function' in UTF-2000 with external
1718 database support; add new function `load-char-attribute-table' in
1721 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1723 * chartab.h (load_char_attribute_maybe): New prototype for
1724 UTF-2000 with DATABASE support.
1725 (get_char_id_table): Use `load_char_attribute_maybe' if
1726 HAVE_DATABASE is defined.
1728 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
1729 with DATABASE support.
1731 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1733 * chartab.c (Fput_char_attribute): Use S-expression as key of
1736 * chartab.h (get_char_id_table): Use S-expression as key of
1739 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1741 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
1742 if an element is not loaded, load the corresponding attributes
1743 from an external database.
1744 (map_over_uint16_byte_table): Likewise.
1745 (map_over_byte_table): Likewise.
1746 (map_char_table): Modify for `map_over_uint8_byte_table',
1747 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
1748 element is not loaded, load the corresponding attributes from an
1750 (Fput_char_attribute): Change initial values to Qunloaded.
1752 * chartab.h (get_char_id_table): If a character attribute is not
1753 loaded and the attribute value is not found in an external
1754 database, store Qunbound as the attribute value.
1756 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1758 * chartab.c (BT_UINT8_unloaded): New macro.
1759 (UINT8_VALUE_P): Accept Qunloaded.
1760 (UINT8_ENCODE): Likewise.
1761 (UINT8_DECODE): Likewise.
1762 (BT_UINT16_unloaded): New macro.
1763 (UINT16_VALUE_P): Accept Qunloaded.
1764 (UINT16_ENCODE): Likewise.
1765 (UINT16_DECODE): Likewise.
1766 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
1768 (mark_char_table): Mark `ct->name' in UTF-2000.
1769 (char_table_description): Add `name' in UTF-2000.
1770 (Fmake_char_table): Initialize `ct->name'.
1771 (Fcopy_char_table): Copy `ct->name'.
1772 (Fput_char_attribute): Store value into an external database if
1773 HAVE_DATABASE is defined.
1775 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
1777 (CHAR_TABLE_NAME): New macro in UTF-2000.
1778 (XCHAR_TABLE_NAME): New macro in UTF-2000.
1779 (get_char_id_table): Try to read an external database if Qunloaded
1780 is stored in a table.
1782 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
1785 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1787 * database.h: Add EXFUN definitions for Fopen_database,
1788 Fput_database, Fget_database and Fclose_database.
1790 * data.c (Qunloaded): New variable in UTF-2000.
1792 * lisp.h (Qunloaded): New variable in UTF-2000.
1794 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1796 * mule-charset.c (put_char_ccs_code_point): Modify for
1797 `decoding_table_remove_char' and `decoding_table_put_char'.
1798 (remove_char_ccs): Modify for `decoding_table_remove_char'.
1800 * char-ucs.h (decoding_table_remove_char): Change arguments to
1801 hide decoding_table vector.
1802 (decoding_table_put_char): Likewise.
1804 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1806 * mule-charset.c (decoding_table_remove_char): Moved to
1808 (decoding_table_put_char): Likewise.
1810 * char-ucs.h (decoding_table_check_elements): New prototype [moved
1811 from mule-charset.c].
1812 (decoding_table_remove_char): New inline function [moved from
1814 (decoding_table_put_char): Likewise.
1816 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1818 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
1821 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1823 * mule-charset.c (decode_builtin_char): Support mother charsets.
1825 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1827 * mule-charset.c (Q94x94x60): New variable.
1828 (charset_code_point): Support conversion `94x94x60'.
1829 (Fmake_charset): Likewise.
1830 (syms_of_mule_charset): Add new symbol `94x94x60'.
1832 * char-ucs.h (CONVERSION_94x94x60): New macro.
1834 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1836 * mule-charset.c (charset_code_point): Unify code about
1839 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1841 * mule-charset.c (charset_code_point): Merge code about builtin
1842 characters into code about mother charsets; don't use
1843 `range_charset_code_point'.
1844 (range_charset_code_point): Deleted.
1846 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1848 * mule-charset.c (Qcode_offset): New variable.
1849 (Fmake_charset): Use `XUINT' to get value of `min-code' and
1850 `max-code'; accept new property `code-offset'.
1851 (syms_of_mule_charset): Add new symbol `code-offset'.
1853 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1855 * mule-charset.c (range_charset_code_point): Fixed.
1857 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1859 * mule-charset.c (decode_builtin_char): Change semantics of
1860 code-offset of coded-charset.
1861 (charset_code_point): Likewise.
1862 (range_charset_code_point): Likewise.
1863 (complex_vars_of_mule_charset): Modify for the change.
1865 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1867 * mule-charset.c (Fencode_char): Reverse arguments.
1869 * mule-charset.c (charset_code_point): Fixed.
1871 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1873 * mule-charset.c (Vcharset_mojikyo): Deleted.
1874 (Vcharset_mojikyo_2022_1): Deleted.
1875 (Vcharset_mojikyo_pj_{1..21}): Deleted.
1876 (Qmin_code): New variable in UTF-2000.
1877 (Qmax_code): Likewise.
1878 (Qmother): Likewise.
1879 (Qconversion): Likewise.
1881 (Qmojikyo): Deleted.
1882 (Qmojikyo_2022_1): Deleted.
1883 (Qmojikyo_pj_{1..22}): Deleted.
1884 (mark_charset): Mark `cs->mother'.
1885 (charset_description): Add description for `mother'.
1886 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
1887 new arguments `mother' and `conversion'; use
1888 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
1889 (charset_code_point): Moved from char-ucs.h; support `mother'
1891 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
1892 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
1893 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
1894 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
1895 allow 2 as the value of `graphic' in UTF-2000; add new properties
1896 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
1897 require `final' in UTF-2000; modify for `make_charset'.
1898 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
1899 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
1900 (Fcharset_property): Support `mother', `min-code' and `max-code'.
1901 (Fencode_char): New function.
1902 (syms_of_mule_charset): Add new builtin function `encode-char' in
1903 UTF-2000; add new symbols `min-code', `max-code', `mother',
1904 `conversion' and `94x60'; delete symbols `mojikyo',
1905 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
1906 (complex_vars_of_mule_charset): Modify for `make_charset' change;
1907 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
1908 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
1910 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
1911 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
1913 * char-ucs.h (Vcharset_mojikyo): Deleted.
1914 (Vcharset_mojikyo_2022_1): Deleted.
1915 (LEADING_BYTE_MOJIKYO): Deleted.
1916 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
1917 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
1918 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
1919 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
1920 add new member `mother'; add new member `conversion'.
1921 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
1922 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
1923 (CHARSET_MOTHER): New macro.
1924 (CHARSET_CONVERSION): New macro.
1925 (CONVERSION_IDENTICAL): New macro.
1926 (CONVERSION_94x60): New macro.
1927 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
1928 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
1929 (XCHARSET_MOTHER): New macro.
1930 (XCHARSET_CONVERSION): New macro.
1931 (MIN_CHAR_MOJIKYO): Deleted.
1932 (MAX_CHAR_MOJIKYO): Deleted.
1933 (DECODE_MOJIKYO_2022): Deleted.
1934 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
1935 (charset_code_point): Changed to non-inline function.
1936 (encode_char_1): Use `charset_code_point'.
1937 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
1939 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1941 * lread.c (read_compiled_function): Fix prototype.
1942 (read_vector): Likewise.
1944 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1946 * lrecord.h (struct lrecord_header): Delete `older'.
1947 (set_lheader_implementation): Delete code for `older'.
1948 (set_lheader_older_implementation): Deleted.
1949 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
1950 (OLDER_RECORD_P): Deleted.
1951 (OLDER_RECORD_HEADER_P): Deleted.
1952 (alloc_older_lcrecord): Deleted.
1953 (alloc_older_lcrecord_type): Deleted.
1955 * alloc.c (all_older_lcrecords): Deleted.
1956 (alloc_older_lcrecord): Deleted.
1957 (disksave_object_finalization_1): Delete code for older objects.
1958 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
1959 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
1961 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1963 * mule-charset.c (decoding_table_put_char): Use `make_vector'
1964 instead of `make_older_vector'.
1965 (put_char_ccs_code_point): Likewise.
1966 (mark_charset): Mark `cs->decoding_table'.
1967 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
1969 * lisp.h (make_older_vector): Deleted.
1970 (make_vector_newer): Deleted.
1972 * config.h.in (HAVE_GGC): Deleted.
1974 * alloc.c (make_older_vector): Deleted.
1975 (make_vector_newer_1): Deleted.
1976 (make_vector_newer): Deleted.
1978 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1980 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
1981 (Qideograph_daikanwa_2): New variable.
1982 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
1983 (complex_vars_of_mule_charset): Add new coded-charset
1984 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
1985 `LEADING_BYTE_DAIKANWA'.
1987 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
1988 (LEADING_BYTE_DAIKANWA_1): New macro.
1989 (LEADING_BYTE_DAIKANWA_2): New macro.
1990 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
1992 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1994 * mule-charset.c (complex_vars_of_mule_charset): Change
1995 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
1996 the second revised version.
1998 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2000 * mule-charset.c (Vcharset_ucs_smp): New variable.
2001 (Vcharset_ucs_sip): New variable.
2002 (Qucs_smp): New variable.
2003 (Qucs_sip): New variable.
2004 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
2005 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
2006 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
2007 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
2008 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
2009 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
2011 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
2012 (LEADING_BYTE_UCS_SIP): New macro.
2013 (MIN_CHAR_SMP): New macro.
2014 (MAX_CHAR_SMP): New macro.
2015 (MIN_CHAR_SIP): New macro.
2016 (MAX_CHAR_SIP): New macro.
2018 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
2020 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
2023 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2025 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
2026 value; don't store value into `encoding_table' of `Lisp_Charset'.
2027 (mark_charset): `encoding_table' was deleted.
2028 (charset_description): Likewise.
2029 (make_charset): Likewise.
2030 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
2031 `put_char_ccs_code_point'.
2033 * chartab.h (Fput_char_attribute): New EXFUN.
2035 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
2036 is unified with normal symbol space.
2037 (Fget_char_attribute): Likewise.
2038 (Fput_char_attribute): Likewise; behavior of
2039 `put_char_ccs_code_point' is changed.
2041 * char-ucs.h: Include "elhash.h".
2042 (Vchar_attribute_hash_table): New external variable.
2043 (struct Lisp_Charset): Delete `encoding_table'.
2044 (CHARSET_ENCODING_TABLE): New implementation; refer
2045 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
2048 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2050 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
2053 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2055 * text-coding.c (char_encode_big5): Prefer charset-g1 than
2058 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2060 * chartab.c (uint8_byte_table_description): New constant.
2061 (uint8-byte-table): Use `uint8_byte_table_description'.
2062 (uint16_byte_table_description): New constant.
2063 (uint16-byte-table): Use `uint16_byte_table_description'.
2065 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2067 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
2068 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
2070 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2072 * mule-charset.c (Vcharset_ucs_ks): New variable.
2073 (Qucs_ks): New variable.
2074 (syms_of_mule_charset): Add new symbol `ucs-ks'.
2075 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
2077 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
2079 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2081 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
2082 (Fdecode_char): Likewise.
2084 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
2086 (Fdefine_char): Modify for Fdecode_char.
2087 (Ffind_char): Likewise.
2089 * mule-charset.c (Fdecode_char): Add new optional argument
2091 (Fdecode_builtin_char): Modify for `Fdecode_char'.
2093 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2095 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
2096 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
2097 (allocate_coding_system): Initialize initial-charsets of
2098 CODESYS_BIG5 in XEmacs UTF-2000.
2099 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
2100 CODESYS_BIG5 in XEmacs UTF-2000.
2101 (decode_coding_big5): Use initial-charset-g0 and -g1 of
2102 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
2104 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
2106 (Qideograph_hanziku_{1 .. 12}): Likewise.
2107 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
2109 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
2110 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
2111 `ideograph-hanziku-{1 .. 12}'.
2113 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
2114 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
2115 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
2116 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
2117 (DECODE_DEFINED_CHAR): New inline function.
2118 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
2120 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2122 * mule-charset.c (Vcharset_china3_jef): Renamed from
2123 `Vcharset_japanese_jef_china3'.
2124 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
2125 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
2126 `{MIN|MAX}_CHAR_JEF_CHINA3'..
2127 (syms_of_mule_charset): Rename `china3-jef' from
2128 `japanese-jef-china3'.
2129 (complex_vars_of_mule_charset): Likewise; rename
2130 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
2132 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
2133 `LEADING_BYTE_JEF_CHINA3'.
2134 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
2135 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
2137 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2139 * mule-charset.c (encode_builtin_char_1): Comment out special code
2140 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
2142 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
2143 (MAX_CHAR_MOJIKYO_0): Comment out.
2144 (MIN_CHAR_CBETA): Changed to 0x00E20000.
2145 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
2146 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
2147 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
2149 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2151 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
2152 (Qideograph_cbeta): New variable.
2153 (encode_builtin_char_1): Comment out special code for
2154 coded-charset `mojikyo' and `japanese-jef-china3'.
2155 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
2156 (complex_vars_of_mule_charset): Add new coded-charset
2159 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
2160 (MIN_CHAR_CBETA): New macro.
2161 (MAX_CHAR_CBETA): New macro.
2163 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2165 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
2166 (LEADING_BYTE_JEF_CHINA3): New macro.
2167 (MIN_CHAR_JEF_CHINA3): New macro.
2168 (MAX_CHAR_JEF_CHINA3): Likewise.
2169 (DECODE_CHAR): Fixed.
2171 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2173 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
2174 (Qjapanese_jef_china3): New variable.
2175 (encode_builtin_char_1): Support `japanese-jef-china3'.
2176 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
2177 (complex_vars_of_mule_charset): Add new coded-charset
2178 `japanese-jef-china3'.
2180 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2182 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
2183 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
2184 94^4, 96^3, 96^4, 128^n and 256^n set.
2185 (put_char_table): Use `XCHARSET_CELL_RANGE'.
2186 (map_char_table): Likewise.
2188 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2190 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
2193 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2195 * chartab.h (get_char_id_table): New inline function.
2197 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
2200 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2202 * chartab.h (decode_char_table_range): New prototype in XEmacs
2204 (put_char_id_table): New inline function in XEmacs UTF-2000.
2206 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
2208 (decode_char_table_range): Delete static declaration in XEmacs
2211 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2213 * chartab.c (put_char_id_table): Use `put_char_table'.
2215 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2217 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
2218 (map_over_uint16_byte_table): Likewise.
2219 (map_over_byte_table): Likewise.
2220 (map_char_table): Modify for `map_over_uint8_byte_table',
2221 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
2224 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2226 * chartab.c (struct map_char_table_for_charset_arg): New
2228 (map_char_table_for_charset_fun): New function.
2229 (map_char_table): Use `map_char_table' for encoding_table of
2232 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2234 * chartab.c (map_char_table): Check a character is found in
2235 range->charset instead of non default value is defined in
2236 char-table when range is CHARTAB_RANGE_ROW.
2238 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2240 * chartab.c (map_char_id_table): Deleted.
2241 (Fmap_char_attribute): Use `map_char_table' instead of
2242 `map_char_id_table'.
2244 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2246 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
2248 (update_syntax_table): Deleted in XEmacs UTF-2000.
2250 * syntax.c (find_defun_start): Use `syntax_table' instead of
2251 `mirror_syntax_table' in XEmacs UTF-2000.
2252 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
2254 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
2256 (Fmatching_paren): Likewise.
2257 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
2259 (find_start_of_comment): Likewise.
2260 (find_end_of_comment): Likewise.
2261 (Fforward_comment): Likewise.
2262 (scan_lists): Likewise.
2263 (char_quoted): Likewise.
2264 (Fbackward_prefix_chars): Likewise.
2265 (scan_sexps_forward): Likewise.
2266 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
2267 (update_syntax_table): Likewise.
2269 * search.c (skip_chars): Use `syntax_table' instead of
2270 `mirror_syntax_table' in XEmacs UTF-2000.
2271 (wordify): Likewise.
2272 (Freplace_match): Likewise.
2274 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
2275 `mirror_syntax_table' in XEmacs UTF-2000.
2276 (WORDCHAR_P_UNSAFE): Likewise.
2277 (re_match_2_internal): Likewise.
2279 * font-lock.c (find_context): Use `buf->syntax_table' instead of
2280 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2282 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
2283 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
2285 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
2288 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
2290 (print_char_table): Print `default_value' in XEmacs UTF-2000.
2291 (char_table_description): Delete `mirror_table' in XEmacs
2293 (fill_char_table): Don't call `update_syntax_table' in XEmacs
2295 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
2296 (Fcopy_char_table): Likewise.
2297 (put_char_table): Don't call `update_syntax_table' in XEmacs
2300 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
2301 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2302 (casify_region_internal): Likewise.
2304 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
2306 * buffer.c (common_init_complex_vars_of_buffer): Don't use
2307 `mirror_syntax_table' in XEmacs UTF-2000.
2309 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
2310 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2311 (Fexpand_abbrev): Likewise.
2313 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2315 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
2317 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2319 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
2320 (map_over_uint16_byte_table): Likewise.
2321 (map_over_byte_table): Likewise.
2322 (get_char_id_table): Refer `cit->default_value'.
2323 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2324 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
2325 of character-id ranges.
2326 (mark_char_table): Mark `ct->default_value'.
2327 (char_table_description): Add `default_value'.
2328 (fill_char_table): Use `default_value'.
2329 (decode_char_table_range): Decode `nil' as
2330 `CHARTAB_RANGE_DEFAULT'.
2331 (get_char_id_table): Refer `cit->default_value'.
2332 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2333 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
2334 temporary hack; check value of char-table is bound or not.
2335 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
2337 * chartab.h (struct Lisp_Char_Table): Add new member
2338 `default_value' in XEmacs UTF-2000.
2339 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
2340 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
2343 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2345 * chartab.h (Lisp_Char_ID_Table): Deleted.
2347 * chartab.c (char_table_description): Fix typo.
2348 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
2349 `Lisp_Char_ID_Table'.
2351 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2353 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
2356 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
2359 * chartab.h (XCHAR_ID_TABLE): Deleted.
2360 (XSETCHAR_ID_TABLE): Deleted.
2361 (CHAR_ID_TABLE_P): Deleted.
2363 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
2365 (Fget_composite_char): Likewise.
2366 (put_char_table): Likewise.
2367 (add_char_attribute_alist_mapper): Fixed.
2368 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
2370 (Fget_char_attribute): Likewise.
2371 (Fget_char_attribute): Likewise.
2372 (Fmap_char_attribute): Likewise.
2374 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
2376 (encode_char_1): Likewise.
2378 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2380 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
2383 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
2384 instead of `XCHAR_ID_TABLE'.
2385 (remove_char_ccs): Likewise.
2387 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
2389 (Fget_composite_char): Likewise.
2390 (Fchar_variants): Likewise.
2391 (put_char_table): Likewise.
2392 (add_char_attribute_alist_mapper): Likewise.
2393 (Fchar_attribute_alist): Likewise.
2394 (Fget_char_attribute): Likewise.
2395 (Fput_char_attribute): Likewise.
2396 (Fmap_char_attribute): Likewise.
2397 (Fmap_char_attribute): Likewise.
2399 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
2401 (encode_char_1): Likewise.
2403 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2405 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
2406 `Lisp_Char_ID_Table'.
2407 (mark_char_id_table): Deleted.
2408 (print_char_id_table): Likewise.
2409 (char_id_table_equal): Likewise.
2410 (char_id_table_hash): Likewise.
2411 (char_id_table_description): Likewise.
2412 (char_id_table): Likewise.
2413 (make_char_id_table): Use `Fmake_char_table' and
2415 (get_char_id_table): Use `Lisp_Char_Table' instead of
2416 `Lisp_Char_ID_Table'.
2417 (put_char_id_table): Likewise.
2418 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
2420 (Fremove_char_attribute): Likewise.
2421 (syms_of_chartab): Don't define type `char-id-table'.
2423 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
2424 (char_id_table): Likewise.
2425 (GC_CHAR_ID_TABLE_P): Likewise.
2426 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
2427 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
2428 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
2429 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
2430 (get_char_id_table): Use `Lisp_Char_Table' instead of
2431 `Lisp_Char_ID_Table'.
2432 (put_char_id_table_0): Likewise.
2433 (put_char_id_table): Likewise.
2435 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2437 * chartab.h: Lisp_Byte_Table related codes are moved from
2440 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
2442 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2444 * chartab.h: Don't include "chartab.h".
2445 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
2446 (Lisp_Char_ID_Table): Likewise.
2447 (char_id_table): Likewise.
2448 (XCHAR_ID_TABLE): Likewise.
2449 (XSETCHAR_ID_TABLE): Likewise.
2450 (CHAR_ID_TABLE_P): Likewise.
2451 (GC_CHAR_ID_TABLE_P): Likewise.
2452 (get_char_id_table): Likewise.
2454 * char-ucs.h: Include "chartab.h".
2455 (struct Lisp_Char_ID_Table): Moved to chartab.h.
2456 (Lisp_Char_ID_Table): Likewise.
2457 (char_id_table): Likewise.
2458 (XCHAR_ID_TABLE): Likewise.
2459 (XSETCHAR_ID_TABLE): Likewise.
2460 (CHAR_ID_TABLE_P): Likewise.
2461 (GC_CHAR_ID_TABLE_P): Likewise.
2462 (get_char_id_table): Likewise.
2464 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2466 * chartab.c (copy_uint8_byte_table): New function.
2467 (copy_uint16_byte_table): New function.
2468 (copy_byte_table): New function.
2469 (map_over_uint8_byte_table): Modify to avoid huge numbers of
2471 (map_over_uint16_byte_table): Likewise.
2472 (map_over_byte_table): Likewise.
2473 (get_byte_table): Move prototype to chartab.h.
2474 (put_byte_table): Likewise.
2475 (put_char_id_table_0): Moved to chartab.h.
2476 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
2477 (char_table_entry_equal): Likewise.
2478 (char_table_entry_hash): Likewise.
2479 (char_table_entry_description): Likewise.
2480 (char_table_entry): Likewise.
2481 (make_char_table_entry): Likewise.
2482 (copy_char_table_entry): Likewise.
2483 (get_non_ascii_char_table_value): Likewise.
2484 (map_over_charset_ascii): Likewise.
2485 (map_over_charset_control_1): Likewise.
2486 (map_over_charset_row): Likewise.
2487 (map_over_other_charset): Likewise.
2488 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
2489 (print_char_table): Likewise.
2490 (char_table_equal): Likewise.
2491 (char_table_hash): Likewise.
2492 (char_table_description): Likewise.
2493 (fill_char_table): Likewise.
2494 (Fcopy_char_table): Likewise.
2495 (get_char_table): Likewise.
2496 (Fget_range_char_table): Likewise.
2497 (put_char_table): Likewise.
2498 (map_char_table): Likewise.
2499 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
2502 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2504 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
2505 `Vauto_fill_chars' in XEmacs UTF-2000.
2507 * chartab.h (get_byte_table): New prototype [moved from
2509 (put_byte_table): Likewise [moved from chartab.c].
2510 (put_char_id_table_0): New inline function [moved from chartab.c].
2511 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
2512 (Lisp_Char_Table_Entry): Likewise.
2513 (char_table_entry): Likewise.
2514 (XCHAR_TABLE_ENTRY): Likewise.
2515 (XSETCHAR_TABLE_ENTRY): Likewise.
2516 (CHAR_TABLE_ENTRYP): Likewise.
2517 (CHECK_CHAR_TABLE_ENTRY): Likewise.
2518 (NUM_ASCII_CHARS): Likewise.
2519 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
2520 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
2522 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2524 * chartab.c (get_char_id_table): Change interface.
2525 (put_char_id_table_0): New function.
2526 (put_char_id_table): Change interface; new implementation.
2527 (Fget_composite_char): Modify for interface change of
2528 `get_char_id_table'.
2529 (Fchar_variants): Likewise.
2530 (add_char_attribute_alist_mapper): Likewise.
2531 (Fchar_attribute_alist): Likewise.
2532 (Fget_char_attribute): Likewise.
2533 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
2534 as same as character as the first argument like `put-char-table';
2535 modify for interface change of `put_char_id_table'.
2536 (Fremove_char_attribute): Modify for interface change of
2537 `put_char_id_table'.
2539 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2541 * text-coding.c: Sync up with XEmacs 21.2.41.
2542 (COMPOSE_ADD_CHAR): Modify for interface change of
2543 `get_char_id_table'.
2545 * mule-charset.c (put_char_ccs_code_point): Modify for interface
2546 change of `put_char_id_table'.
2547 (remove_char_ccs): Likewise.
2549 * chartab.h (put_char_id_table): Change interface.
2551 * char-ucs.h (get_char_id_table): Change interface.
2552 (charset_code_point): Modify for interface change of
2553 `get_char_id_table'.
2554 (encode_char_1): Likewise.
2556 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2558 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
2560 (map_over_uint16_byte_table): Likewise.
2561 (map_over_byte_table): Likewise.
2562 (map_char_id_table): Add new argument `range' like
2564 (Fmap_char_attribute): Add new argument `range' like
2567 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2569 * chartab.c (map_over_uint8_byte_table): Change interface of
2570 mapping function to use struct chartab_range instead of Emchar.
2571 (map_over_uint16_byte_table): Likewise.
2572 (map_over_byte_table): Likewise.
2573 (map_char_id_table): Likewise.
2574 (struct slow_map_char_id_table_arg): Deleted.
2575 (slow_map_char_id_table_fun): Deleted.
2576 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
2577 function `slow_map_char_table_fun' instead of struct
2578 `slow_map_char_id_table_arg' and function
2579 `slow_map_char_id_table_fun'.
2581 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2583 * mule-charset.c: Move char-it-table related codes to chartab.c.
2584 (Vutf_2000_version): Moved to chartab.c.
2585 (Fdefine_char): Likewise.
2586 (Ffind_char): Likewise.
2587 (syms_of_mule_charset): Move types `uint8-byte-table',
2588 `uint16-byte-table', `byte-table' and `char-id-table' to
2589 chartab.c; move functions `char_attribute_list,
2590 `find_char_attribute_table, `char_attribute_alist,
2591 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
2592 `map_char_attribute, `define_char, `find_char, `char_variants and
2593 `get_composite_char to chartab.c; move symbols `=>ucs',
2594 `->decomposition', `compat', `isolated', `initial', `medial',
2595 `final', `vertical', `noBreak', `fraction', `super', `sub',
2596 `circle', `square', `wide', `narrow', `small' and `font' to
2598 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
2599 setting codes for `Vcharacter_composition_table' and
2600 `Vcharacter_variant_table' to chartab.c.
2601 (complex_vars_of_mule_charset): Move setting code for
2602 `Vchar_attribute_hash_table' to chartab.c.
2604 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
2605 (make_char_id_table): New prototype.
2606 (put_char_id_table): Likewise.
2607 (Fget_char_attribute): Likewise.
2609 * chartab.c: Move char-id-table related code from mule-charset.c.
2610 (Vutf_2000_version): Moved from mule-charset.c.
2612 * char-ucs.h (Qucs): New external variable.
2613 (put_char_ccs_code_point): New prototype.
2614 (remove_char_ccs): Likewise.
2616 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2618 * mule-charset.c (Vcharset_ucs_jis): New variable.
2619 (Qucs_jis): Likewise.
2620 (syms_of_mule_charset): Add new symbol `ucs-jis'.
2621 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
2623 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
2625 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2627 * mule-charset.c (map_over_uint8_byte_table): New function.
2628 (map_over_uint16_byte_table): Likewise.
2629 (map_over_byte_table): Likewise.
2630 (map_char_id_table): Likewise.
2631 (slow_map_char_id_table_fun): Likewise.
2632 (Fmap_char_attribute): Likewise.
2633 (syms_of_mule_charset): Add new function `map-char-attribute'.
2635 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2637 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
2638 (syms_of_mule_charset): Add new function `find-char'.
2640 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2642 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
2644 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
2645 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
2647 (complex_vars_of_mule_charset): Add new coded-charset
2648 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
2649 `ideograph-gt-pj-*'.
2651 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
2653 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2655 * mule-charset.c (encode_builtin_char_1): Purge codes about
2656 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
2657 {MIN|MAX}_CHAR_HEBREW.
2658 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
2659 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
2661 * char-ucs.h (MIN_CHAR_GREEK): Purged.
2662 (MAX_CHAR_GREEK): Purged.
2663 (MIN_CHAR_CYRILLIC): Purged.
2664 (MAX_CHAR_CYRILLIC): Purged.
2665 (MIN_CHAR_HEBREW): Commented out.
2666 (MAX_CHAR_HEBREW): Likewise.
2668 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2670 * mule-charset.c (Qto_ucs): New variable.
2671 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
2672 (Fdefine_char): Likewise.
2673 (syms_of_mule_charset): Add new symbol `=>ucs'.
2675 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2677 * mule-charset.c (Fdecode_char): Fixed.
2679 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2681 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
2682 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
2685 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2687 * mule-charset.c (Vcharset_ucs_big5): New variable.
2688 (Qucs_big5): Likewise.
2689 (syms_of_mule_charset): Add new symbol `ucs-big5'.
2690 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
2692 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
2694 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2696 * mule-charset.c (decode_builtin_char): Check Big5 code range
2697 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
2699 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2701 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
2702 (Qchinese_gb12345): Likewise.
2703 (Fdecode_builtin_char): Fixed.
2704 (syms_of_mule_charset): Add `chinese-gb12345'.
2705 (complex_vars_of_mule_charset): Add coded-charset
2708 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
2709 (LEADING_BYTE_CHINESE_GB12345): New macro.
2711 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2713 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
2714 and `latin-viscii-upper' for `latin-viscii'.
2716 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2718 * mule-charset.c (Fdecode_builtin_char): Comment out
2719 regularization code for ISO-IR GR representation.
2721 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2723 * mule-charset.c (decode_builtin_char): New function; renamed from
2724 `make_builtin_char'; return -1 instead of signal.
2725 (Fdecode_builtin_char): Use `decode_builtin_char'.
2727 * char-ucs.h (decode_builtin_char): New prototype; renamed from
2728 `make_builtin_char'.
2729 (DECODE_CHAR): Use `decode_builtin_char' instead of
2730 `make_builtin_char'; use mapping table of `chinese-big5' for
2731 `chinese-big5-{1,2}'.
2733 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2735 * text-coding.c (char_encode_big5): New function.
2736 (char_finish_big5): Likewise.
2737 (reset_encoding_stream): Use `char_encode_big5' and
2738 `char_finish_big5' for CODESYS_BIG5.
2739 (mule_encode): Don't use `encode_coding_big5'.
2740 (encode_coding_big5): Deleted.
2742 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2744 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
2745 0x81- in XEmacs UTF-2000.
2746 (detect_coding_big5): Likewise.
2748 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2750 * mule-charset.c (Fdefine_char): Don't use a CCS property to
2751 generate character-id if the CCS property does not have
2752 corresponding predefined character.
2753 (make_builtin_char): Return -1 if corresponding predefined
2754 character is not found.
2755 (Fdecode_char): Return nil if corresponding character is not
2757 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
2758 don't map to builtin ucs space.
2760 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2762 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
2763 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
2765 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2767 * mule-charset.c (Vcharset_ideograph_gt): New variable.
2768 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
2769 (Qideograph_gt): Likewise.
2770 (Qideograph_gt_pj_{1..11}): Likewise.
2771 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
2772 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
2773 `ideograph-gt-pj-11'.
2774 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
2775 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
2776 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
2778 * char-ucs.h (LEADING_BYTE_GT): New macro.
2779 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
2780 (MIN_CHAR_GT): Likewise.
2781 (MAX_CHAR_GT): Likewise.
2783 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2785 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
2786 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
2788 * doprnt.c (unsigned_int_converters): Add `c'.
2789 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
2791 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
2792 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
2794 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
2795 (MAX_CHAR_MOJIKYO_0): New macro.
2796 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
2798 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2800 * mule-charset.c (Fdefine_char): Delete cemented out code.
2801 (encode_builtin_char_1): Modify for new allocation of builtin
2804 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
2806 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2808 * mule-charset.c (Vcharset_ucs_cns): New variable.
2809 (Qucs_cns): New variable.
2810 (syms_of_mule_charset): Add new symbol `ucs-cns'.
2811 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
2813 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2815 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
2817 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2819 * search.c (search_buffer): Make `charset_base_code' as
2820 character-id >> 6 to eliminate the corresponding last byte in
2821 UTF-8 representation [I'm not sure it is right thing].
2822 (boyer_moore): Likewise.
2824 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2826 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
2827 representation in MULE.
2829 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2831 * text-coding.c (Fmake_coding_system): Use
2832 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
2833 `EXTERNAL_PROPERTY_LIST_LOOP'.
2835 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2837 * text-coding.c (decode_output_utf8_partial_char): New function.
2838 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
2840 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2842 * text-coding.c (decode_coding_utf8): Output original byte
2843 sequence if it is broken; change order of conditions.
2845 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
2848 * mb-multibyte.h (BYTE_ASCII_P):
2849 Use bit ops for char-signedness safety.
2850 (BYTE_C0_P): Use bit ops for char-signedness safety.
2851 (BYTE_C1_P): Use bit ops for char-signedness safety.
2853 * character.h: (XCHAR_OR_CHAR_INT):
2854 Always use inline function.
2855 Remove redundant type checking assert() - XINT will abort quite
2858 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2860 * text-coding.c: (Fencode_shift_jis_char):
2861 (Fencode_big5_char):
2862 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
2863 Replace 0 with '\0' when working with bytes.
2864 Replace initial "(" with "\(" in docstrings.
2866 (Fmake_coding_system):
2867 When type is ccl and value is vector, register it with a proper
2868 symbol. And checks whether the given ccl program is valid.
2869 (mule_decode): When calling ccl_driver, if src indicates
2870 NULL pointer, set an empty string instead.
2871 (mule_encode): Likewise.
2874 (detect_coding_sjis):
2875 (decode_coding_sjis):
2876 (detect_coding_big5):
2877 (decode_coding_big5):
2878 (detect_coding_ucs4):
2879 (decode_coding_ucs4):
2880 (detect_coding_utf8):
2881 (decode_coding_utf8):
2882 (detect_coding_iso2022):
2883 (decode_coding_iso2022):
2884 (decode_coding_no_conversion):
2886 Make all detecting and decoding functions take an Extbyte * arg.
2887 (text_encode_generic):
2888 (encode_coding_big5):
2889 (encode_coding_no_conversion):
2891 Make all encoding functions take a Bufbyte * arg.
2892 Use size_t instead of unsigned int for memory sizes.
2893 Only cast to unsigned char whenever dereferencing Extbyte *.
2895 (struct lrecord_description fcd_description_1): Use countof.
2896 (complex_vars_of_file_coding):
2897 Use countof instead of sizeof.
2898 Use CHECK_NATNUM instead of CHECK_INT.
2900 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2902 * mule-charset.c (Fget_char_attribute): Add new optional argument
2904 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
2905 (remove_char_ccs): Likewise.
2907 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2909 * text-coding.c (char_encode_shift_jis): New implementation in
2911 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
2914 * mule-charset.c (Vcharset_chinese_big5): New variable in
2916 (Qchinese_big5): New variable in UTF-2000.
2917 (BIG5_SAME_ROW): New macro in UTF-2000.
2918 (make_builtin_char): Use builtin characters of
2919 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
2920 characters of `Vcharset_chinese_big5'.
2921 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
2922 (complex_vars_of_mule_charset): Add new coded-charset
2923 `chinese-big5' in UTF-2000.
2925 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
2926 (Vcharset_chinese_big5): New external variable declaration.
2927 (Vcharset_japanese_jisx0208_1990): Likewise.
2929 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2931 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
2933 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
2935 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2937 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
2938 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
2939 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
2942 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2944 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
2946 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2948 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2951 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2953 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
2954 for `CHARSET_BY_ATTRIBUTES'.
2955 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2956 `CHARSET_BY_ATTRIBUTES'.
2958 * text-coding.c (struct decoding_stream): Rename member `CH' to
2960 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
2961 (decode_coding_sjis): Likewise.
2962 (decode_coding_big5): Likewise.
2963 (decode_coding_ucs4): Likewise.
2964 (decode_coding_utf8): Likewise.
2965 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2966 `CHARSET_BY_ATTRIBUTES'.
2967 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
2968 `str->counter'; decode 3, 4 bytes sets.
2969 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
2971 (decode_coding_no_conversion): Use `str->cpos' instead of
2974 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
2975 (Qmojikyo_2022_1): New variable.
2976 (make_charset): Don't use `CHARSET_TYPE_*'.
2977 (range_charset_code_point): Support coded-charset
2979 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
2980 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
2981 `CHARSET_BY_ATTRIBUTES'.
2982 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
2983 `CHARSET_BY_ATTRIBUTES'.
2984 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
2985 (complex_vars_of_mule_charset): Add new coded-charset
2988 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
2989 interface; changed to inline function.
2991 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
2992 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
2993 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
2994 (CHARSET_TYPE_94): Deleted.
2995 (CHARSET_TYPE_94X94): Deleted.
2996 (CHARSET_TYPE_96): Deleted.
2997 (CHARSET_TYPE_96X96): Deleted.
2998 (CHARSET_TYPE_128): Deleted.
2999 (CHARSET_TYPE_128X128): Deleted.
3000 (CHARSET_TYPE_256): Deleted.
3001 (CHARSET_TYPE_256X256): Deleted.
3002 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
3004 (DECODE_MOJIKYO_2022): New inline function.
3005 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
3006 `Vcharset_mojikyo_2022_1'.
3008 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3010 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
3012 (put_byte_table): Likewise.
3013 (char_id_table_equal): Use `get_byte_table' [new implementation].
3015 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3017 * mule-charset.c: Include <limits.h> in UTF-2000.
3018 (BT_UINT8_MIN): New macro in UTF-2000.
3019 (BT_UINT8_MAX): New macro in UTF-2000.
3020 (BT_UINT8_t): New macro in UTF-2000.
3021 (BT_UINT8_nil): New macro in UTF-2000.
3022 (BT_UINT8_unbound): New macro in UTF-2000.
3023 (INT_UINT8_P): New inline function in UTF-2000.
3024 (UINT8_VALUE_P): New inline function in UTF-2000.
3025 (UINT8_ENCODE): New inline function in UTF-2000.
3026 (UINT8_DECODE): New inline function in UTF-2000.
3027 (mark_uint8_byte_table): New function in UTF-2000.
3028 (print_uint8_byte_table): New function in UTF-2000.
3029 (uint8_byte_table_equal): New function in UTF-2000.
3030 (uint8_byte_table_hash): New function in UTF-2000.
3031 (make_uint8_byte_table): New function in UTF-2000.
3032 (uint8_byte_table_same_value_p): New function in UTF-2000.
3033 (BT_UINT16_MIN): New macro in UTF-2000.
3034 (BT_UINT16_MAX): New macro in UTF-2000.
3035 (BT_UINT16_t): New macro in UTF-2000.
3036 (BT_UINT16_nil): New macro in UTF-2000.
3037 (BT_UINT16_unbound): New macro in UTF-2000.
3038 (INT_UINT16_P): New inline function in UTF-2000.
3039 (UINT16_VALUE_P): New inline function in UTF-2000.
3040 (UINT16_ENCODE): New inline function in UTF-2000.
3041 (UINT16_DECODE): New inline function in UTF-2000.
3042 (UINT8_TO_UINT16): New inline function in UTF-2000.
3043 (mark_uint16_byte_table): New function in UTF-2000.
3044 (print_uint16_byte_table): New function in UTF-2000.
3045 (uint16_byte_table_equal): New function in UTF-2000.
3046 (uint16_byte_table_hash): New function in UTF-2000.
3047 (make_uint16_byte_table): New function in UTF-2000.
3048 (uint16_byte_table_same_value_p): New function in UTF-2000.
3049 (print_byte_table): New function in UTF-2000.
3050 (byte-table): Use `print_byte_table' as printer.
3051 (make_byte_table): Delete second argument `older'.
3052 (byte_table_same_value_p): New function in UTF-2000.
3053 (copy_byte_table): Deleted.
3054 (get_byte_table): New function in UTF-2000.
3055 (put_byte_table): New function in UTF-2000.
3056 (print_char_id_table): New function in UTF-2000.
3057 (char-id-table): Use `print_char_id_table' as printer.
3058 (make_char_id_table): Delete second argument `older'.
3059 (get_char_id_table): Use `get_byte_table [new implementation].
3060 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
3062 (Ffind_char_attribute_table): New function in UTF-2000.
3063 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3064 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
3065 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
3066 (syms_of_mule_charset): Add new function
3067 `find-char-attribute-table' in UTF-2000.
3069 * lrecord.h (enum lrecord_type): Add
3070 `lrecord_type_uint16_byte_table' and
3071 `lrecord_type_uint8_byte_table'.
3073 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
3074 (Lisp_Uint8_Byte_Table): New type.
3075 (XUINT8_BYTE_TABLE): New macro.
3076 (XSETUINT8_BYTE_TABLE): New macro.
3077 (UINT8_BYTE_TABLE_P): New macro.
3078 (GC_UINT8_BYTE_TABLE_P): New macro.
3079 (struct Lisp_Uint16_Byte_Table): New structure.
3080 (Lisp_Uint16_Byte_Table): New type.
3081 (XUINT16_BYTE_TABLE): New macro.
3082 (XSETUINT16_BYTE_TABLE): New macro.
3083 (UINT16_BYTE_TABLE_P): New macro.
3084 (GC_UINT16_BYTE_TABLE_P): New macro.
3086 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3088 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
3089 (Vcharacter_ideographic_strokes_table): Deleted.
3090 (Vcharacter_total_strokes_table): Deleted.
3091 (Vcharacter_morohashi_daikanwa_table): Deleted.
3092 (Vcharacter_decomposition_table): Deleted.
3093 (Qname): Deleted because it is duplicated.
3094 (Qideographic_radical): Deleted.
3095 (Qideographic_strokes): Deleted.
3096 (Qtotal_strokes): Deleted.
3097 (Qmorohashi_daikanwa): Deleted.
3098 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
3099 `ideographic-radical', `ideographic-strokes', `total-strokes',
3100 `morohashi-daikanwa' and `->decomposition'.
3101 (Fget_char_attribute): Likewise.
3102 (Fput_char_attribute): Likewise; use `make-vector' instead of
3103 `make_older_vector' for `->decomposition' value.
3104 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
3105 `ideograph-daikanwa'.
3106 (syms_of_mule_charset): Delete builtin symbols `name',
3107 `ideographic-radical', `ideographic-strokes', `total-strokes' and
3108 `morohashi-daikanwa'.
3109 (vars_of_mule_charset): Don't setup
3110 `Vcharacter_ideographic_radical_table',
3111 `Vcharacter_ideographic_strokes_table',
3112 `Vcharacter_total_strokes_table',
3113 `Vcharacter_morohashi_daikanwa_table' and
3114 `Vcharacter_decomposition_table'.
3116 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3118 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
3119 `make_older_vector', `make_vector_newer_1' and
3120 `make_vector_newer'.
3122 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
3123 `make_older_vector' and `make_vector_newer'.
3125 * config.h.in (HAVE_GGC): New macro.
3127 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3129 * mule-charset.c (struct char_attribute_list_closure): New
3130 structure in UTF-2000.
3131 (add_char_attribute_to_list_mapper): New function in UTF-2000.
3132 (Fchar_attribute_list): Likewise.
3133 (Fset_charset_mapping_table): Use `make_vector_newer'.
3134 (Fdecode_builtin_char): New function in UTF-2000.
3135 (syms_of_mule_charset): Add new function `char-attribute-list' and
3136 `decode-builtin-char' in UTF-2000.
3138 * lisp.h (make_vector_newer): New prototype.
3140 * alloc.c (make_vector_newer_1): New function.
3141 (make_vector_newer): New function.
3143 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3145 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
3148 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3150 * mule-charset.c (Vchar_attribute_hash_table): New variable.
3151 (Vcharacter_attribute_table): Deleted.
3152 (Vcharacter_name_table): Deleted.
3153 (put_char_attribute): Deleted.
3154 (remove_char_attribute): Deleted.
3155 (struct char_attribute_alist_closure): New structure.
3156 (add_char_attribute_alist_mapper): New function.
3157 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
3158 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
3159 (Fget_char_attribute): Likewise.
3160 (Fput_char_attribute): Likewise.
3161 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
3162 of `remove_char_attribute'.
3163 (Fdefine_char): Return character.
3164 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
3165 and `Vcharacter_name_table'.
3166 (complex_vars_of_mule_charset): Likewise
3167 `Vchar_attribute_hash_table'.
3169 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3171 * character.h (CHARC_CHARSET): New macro.
3172 (CHARC_CHARSET_ID): New macro.
3173 (CHARC_CODE_POINT): New macro.
3174 (CHARC_COLUMNS): New macro.
3175 (CHARC_TO_CHAR): New inline function.
3176 (CHARC_EQ): New inline function.
3177 (CHARC_ASCII_EQ): New inline function.
3178 (CHARC_IS_SPACE): New inline function.
3179 (ASCII_TO_CHARC): New inline function.
3181 * char-ucs.h (encode_char_2): Deleted.
3182 (ENCODE_CHAR): Use `encode_char_1' again.
3183 (breakup_char_1): Likewise.
3184 (CHAR_TO_CHARC): New inline function.
3186 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
3188 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3190 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
3191 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
3192 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
3193 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
3194 (create_string_text_block): Use `CHARC_ASCII_EQ' and
3196 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
3198 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
3200 (x_output_display_block): Use `CHARC_CHARSET' and
3203 * redisplay-tty.c (tty_output_display_block): Use
3205 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
3207 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
3209 * insdel.c (find_charsets_in_charc_string): Use
3211 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
3212 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
3213 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
3214 (convert_charc_string_into_malloced_string): Likewise.
3216 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3218 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
3219 instead of <Emchar_dynarr *> for buf; use
3220 `convert_bufbyte_string_into_charc_dynarr' instead of
3221 `convert_bufbyte_string_into_emchar_dynarr'; use
3222 `find_charsets_in_charc_string' instead of
3223 `find_charsets_in_emchar_string'.
3226 - Include "character.h".
3227 (struct rune): New member `cglyph'; delete member `chr'.
3229 * redisplay.c (redisplay_text_width_charc_string): New function;
3230 delete `redisplay_text_width_emchar_string'.
3231 (rtw_charc_dynarr): New variable; renamed from
3232 `rtw_emchar_dynarr'.
3233 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
3234 `rtw_emchar_dynarr'; use
3235 `convert_bufbyte_string_into_charc_dynarr' instead of
3236 `convert_bufbyte_string_into_emchar_dynarr'; use
3237 `redisplay_text_width_charc_string' instead of
3238 `redisplay_text_width_emchar_string'.
3239 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
3240 instead of `rtw_emchar_dynarr'; use
3241 `convert_bufbyte_string_into_charc_dynarr' instead of
3242 `convert_bufbyte_string_into_emchar_dynarr'.
3243 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
3244 `redisplay_text_width_charc_string' instead of
3245 `redisplay_text_width_emchar_string'.
3246 (create_text_block): Modify for <struct rune> change.
3247 (generate_formatted_string_db): Likewise.
3248 (create_string_text_block): Likewise.
3249 (pixel_to_glyph_translation): Likewise.
3251 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
3252 instead of <const Emchar *>.
3253 (x_text_width): Likewise.
3254 (x_output_display_block): Use <Charc_dynarr *> instead
3255 <Emchar_dynarr *>; modify for <structure rune> change.
3256 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
3259 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
3260 <const Emchar *>; use `charc_string_displayed_columns' instead of
3261 `emchar_string_displayed_columns'.
3262 (tty_output_display_block): Use <Charc_dynarr *> instead of
3263 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
3264 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
3265 (tty_output_charc_dynarr_dynarr): New variable; renamed from
3266 `tty_output_emchar_dynarr_dynarr'.
3267 (tty_output_charc_dynarr): New function; delete
3268 `tty_output_charc_dynarr'.
3270 * redisplay-output.c (compare_runes): Modify for `struct rune'.
3271 (redisplay_output_layout): Use <Charc_dynarr *> instead of
3272 <Emchar_dynarr *> for buf; use
3273 `convert_bufbyte_string_into_charc_dynarr' instead of
3274 `convert_bufbyte_string_into_emchar_dynarr'.
3276 * frame.c (title_string_charc_dynarr): New variable; renamed from
3277 `title_string_emchar_dynarr'.
3278 (generate_title_string): Use `title_string_charc_dynarr' instead
3279 of `title_string_emchar_dynarr'; use
3280 `convert_charc_string_into_malloced_string' instead of
3281 `convert_emchar_string_into_malloced_string'.
3282 (init_frame): Use `title_string_charc_dynarr' instead of
3283 `title_string_emchar_dynarr'.
3286 - Include "character.h".
3287 (struct console_methods): Use <const Charc *> instead of <const
3288 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
3289 <Emchar_dynarr *> in output_string_method.
3291 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
3294 * console-stream.c (stream_text_width): Use <const Charc *>
3295 instead of <const Emchar *>.
3297 * character.h (Charc_dynarr): New type.
3299 * char-ucs.h (structure Charc): New structure; define new type
3302 * char-lb.h (DECODE_CHAR): New inline function.
3303 (encode_char_1): New inline function.
3304 (ENCODE_CHAR): New macro.
3305 (structure Charc): New structure; define new type `Charc'.
3307 * char-1byte.h (Vcharset_control_1): New macro.
3308 (Vcharset_latin_iso8859_1): New macro.
3309 (DECODE_CHAR): New inline function.
3310 (encode_char_1): New inline function.
3311 (ENCODE_CHAR): New macro.
3312 (structure Charc): New structure; define new type `Charc'.
3314 * insdel.c (find_charsets_in_charc_string): New function; delete
3315 `find_charsets_in_emchar_string'.
3316 (charc_string_displayed_columns): New function; delete
3317 `emchar_string_displayed_columns'.
3318 (convert_bufbyte_string_into_charc_dynarr): New function; delete
3319 `convert_bufbyte_string_into_emchar_dynarr'.
3320 (convert_charc_string_into_bufbyte_dynarr): New function; delete
3321 `convert_charc_string_into_bufbyte_dynarr'.
3322 (convert_charc_string_into_malloced_string): New function; delete
3323 `convert_charc_string_into_malloced_string'.
3325 * buffer.h (find_charsets_in_charc_string): New prototype; delete
3326 `find_charsets_in_emchar_string'.
3327 (charc_string_displayed_columns): New prototype; delete
3328 `emchar_string_displayed_columns'.
3329 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
3330 `convert_charc_string_into_bufbyte_dynarr'.
3331 (convert_charc_string_into_malloced_string): New prototype; delete
3332 `convert_charc_string_into_malloced_string'.
3334 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3336 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
3338 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3340 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
3342 * char-ucs.h: Use <short> for <Charset_ID>.
3344 * mule-charset.h, char-1byte.h: Use <unsigned char> for
3347 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3349 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3352 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3354 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
3356 (Qmorohashi_daikanwa): New variable.
3357 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
3358 for `morohashi-daikanwa' attribute.
3359 (Fget_char_attribute): Likewise.
3360 (Fput_char_attribute): Likewise.
3361 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
3362 has the same value of `ideograph-daikanwa'.
3363 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
3364 (vars_of_mule_charset): Setup
3365 `Vcharacter_morohashi_daikanwa_table'.
3367 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3369 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
3371 (add_charset_to_list_mapper): Add `key' instead of
3372 `XCHARSET_NAME (value)' to return aliases.
3374 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3376 * mule-charset.c (Vcharacter_ideographic_radical_table): New
3378 (Vcharacter_ideographic_strokes_table): New variable.
3379 (Qideographic_radical): New variable.
3380 (Qideographic_strokes): New variable.
3381 (Fchar_attribute_alist): Use
3382 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
3383 attribute; use `Vcharacter_ideographic_strokes_table' for
3384 `ideographic-strokes' attribute.
3385 (Fget_char_attribute): Likewise.
3386 (Fput_char_attribute): Likewise.
3387 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
3388 `ideographic-strokes'.
3389 (vars_of_mule_charset): Setup
3390 `Vcharacter_ideographic_radical_table' and
3391 `Vcharacter_ideographic_strokes_table'.
3393 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3395 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
3396 (Qtotal_strokes): New variable.
3397 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
3398 `total-strokes' attribute.
3399 (Fget_char_attribute): Likewise.
3400 (Fput_char_attribute): Likewise.
3401 (syms_of_mule_charset): Add new symbol `total-strokes'.
3402 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
3404 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3406 * mule-charset.c (Vcharacter_decomposition_table): New variable.
3407 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
3409 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
3410 `->decomposition' attribute.
3411 (Fput_char_attribute): Likewise.
3412 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
3414 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3416 * mule-charset.c (decoding_table_check_elements): New function.
3417 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
3419 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3421 * mule-charset.c (Fset_charset_mapping_table): Use
3422 `put_char_ccs_code_point'.
3424 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3426 * mule-charset.c (decoding_table_put_char): New inline function.
3427 (put_char_ccs_code_point): Use `decoding_table_put_char'.
3429 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3431 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
3432 (XCHARSET_BYTE_SIZE): New macro.
3433 (decoding_table_remove_char): New inline function.
3434 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
3435 `decoding_table_remove_char'.
3436 (remove_char_ccs): Use `decoding_table_remove_char'.
3437 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
3439 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3441 * mule-charset.c (Vcharacter_name_table): New variable.
3442 (Qname): New variable.
3443 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
3445 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
3446 `Vcharacter_name_table' for `name' attribute.
3447 (Fremove_char_attribute): Use function `remove_char_ccs'.
3448 (put_char_ccs_code_point): New function.
3449 (remove_char_ccs): New function.
3450 (syms_of_mule_charset): Add new symbol `name'.
3451 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
3453 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3455 * mule-charset.c (make_byte_table): Add new argument `older'.
3456 (make_char_id_table): Likewise.
3457 (copy_char_id_table): Comment out because it is not used.
3458 (put_char_id_table): Modify for `make_byte_table'.
3459 (Fput_char_attribute): Make encoding_table as older object;
3460 inherit older bit of `Vcharacter_composition_table'.
3461 (mark_charset): Don't mark `cs->encoding_table'.
3462 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
3463 normal object; make `Vcharacter_composition_table' as an older
3464 object; delete staticpro for `Vcharacter_composition_table'; make
3465 `Vcharacter_variant_table' as a normal object.
3467 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
3468 (mark_object): Don't check older object in UTF-2000.
3470 * lrecord.h (struct lrecord_header): Add new member `older' in
3472 (set_lheader_implementation): Setup `SLI_header->older' in
3474 (set_lheader_older_implementation): New macro in UTF-2000.
3475 (OLDER_RECORD_P): New macro in UTF-2000.
3476 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
3477 (alloc_older_lcrecord): New prototype in UTF-2000.
3478 (alloc_older_lcrecord_type): New macro in UTF-2000.
3480 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3482 * mule-charset.c (byte_table_description): Use
3483 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
3484 (char_id_table_description): Delete bogus `, 1'.
3485 (Fget_char_attribute): Refer encoding_table of each coded-charset
3486 to get value of coded-charset attribute of a character.
3487 (Fput_char_attribute): Use `make_older_vector' instead of
3488 `make_vector'; use encoding_table of each coded-charset to store
3489 value of coded-charset attribute of a character.
3490 (Fremove_char_attribute): Use encoding_table of each coded-charset
3491 to store value of coded-charset attribute of a character.
3492 (mark_charset): Mark `cs->encoding_table'; don't mark
3493 `cs->decoding_table'.
3494 (charset_description): Add description of new member
3496 (make_charset): Initialize `encoding_table'.
3498 * char-ucs.h (struct Lisp_Charset): Add new member
3500 (CHARSET_ENCODING_TABLE): New macro.
3501 (XCHARSET_ENCODING_TABLE): New macro.
3502 (charset_code_point): New implementation.
3503 (encode_char_1): Likewise.
3505 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
3506 (disksave_object_finalization_1): Call finalizers of
3507 `all_older_lcrecords' in UTF-2000.
3508 (make_older_vector): New function in UTF-2000.
3509 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
3512 * lisp.h (make_older_vector): New prototype in UTF-2000.
3514 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3516 * lrecord.h (enum lrecord_type): Rename
3517 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
3519 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
3520 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
3521 `get_char_code_table'.
3523 * mule-charset.c (mark_char_id_table): Renamed from
3524 `mark_char_code_table'.
3525 (char_id_table_equal): Renamed from `char_code_table_equal'.
3526 (char_id_table_hash): Renamed from `char_code_table_hash'.
3527 (make_char_id_table): Renamed from `make_char_code_table'.
3528 (copy_char_id_table): Renamed from `copy_char_code_table'.
3529 (get_char_id_table): Renamed from `get_char_code_table'.
3530 (put_char_id_table): Renamed from `put_char_code_table'.
3531 (to_char_id): Renamed from `to_char_code'.
3533 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
3534 `Lisp_Char_Code_Table'.
3535 (char_id_table): Renamed from `char_code_table'.
3536 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
3537 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
3538 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
3539 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
3540 (get_char_id_table): Renamed from `get_char_code_table'.
3542 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3544 * lrecord.h (enum lrecord_type): Rename
3545 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
3547 * mule-charset.c (mark_byte_table): Renamed from
3548 `mark_char_byte_table'.
3549 (byte_table_equal): Renamed from `char_byte_table_equal'.
3550 (byte_table_hash): Renamed from `byte_table_hash'.
3551 (make_byte_table): Renamed from `make_byte_table'.
3552 (copy_byte_table): Renamed from `copy_char_byte_table'.
3554 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
3555 `Lisp_Char_Byte_Table'.
3556 (byte_table): Renamed from `char_byte_table'.
3557 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
3558 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
3559 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
3560 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
3562 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3564 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
3565 (dfc_convert_to_internal_format): Likewise.
3567 * text-coding.c (Fcoding_system_canonical_name_p): New function.
3568 * text-coding.c (Fcoding_system_alias_p): New function.
3569 * text-coding.c (Fcoding_system_aliasee): New function.
3570 * text-coding.c (append_suffix_to_symbol): New function.
3571 * text-coding.c (dangling_coding_system_alias_p): New function.
3572 * text-coding.c (Ffind_coding_system):
3573 * text-coding.c (Fcopy_coding_system):
3574 * text-coding.c (encode_coding_no_conversion):
3575 * text-coding.c (syms_of_file_coding):
3576 * text-coding.c (vars_of_file_coding):
3577 Rewrite coding system alias code.
3578 Allow nested aliases, like symbolic links.
3579 Allow redefinition of coding system aliases.
3580 Prevent existence of dangling coding system aliases.
3581 Eliminate convert_to_external_format.
3582 Eliminate convert_to_internal_format.
3584 * text-coding.c: Change enum eol_type to eol_type_t.
3586 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3588 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
3589 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3591 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
3592 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3594 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3596 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
3597 `ideograph-daikanwa'.
3599 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
3600 (Vcharset_ucs_bmp): Likewise.
3601 (Vcharset_mojikyo): Add new extern variable definition.
3602 (Vcharset_latin_iso8859_2): Deleted because it is not used.
3603 (Vcharset_latin_iso8859_3): Likewise.
3604 (Vcharset_latin_iso8859_4): Likewise.
3605 (Vcharset_latin_iso8859_9): Likewise.
3606 (Vcharset_latin_viscii_lower): Likewise.
3607 (Vcharset_latin_viscii_upper): Likewise.
3608 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
3609 `mojikyo' code-point is used to decode.
3610 (encode_char_2): New function [to convert `mojikyo' code-point to
3611 Mojikyo font encoding].
3612 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
3613 (breakup_char_1): Likewise.
3614 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
3616 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3618 * text-coding.c (Fmake_coding_system): Add document about
3619 `disable-composition' property.
3621 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3623 * text-coding.c (Qdisable_composition): New variable; delete
3625 (Fmake_coding_system): Add new property `disable-composite';
3626 delete property `composite'.
3627 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
3628 instead of `!CODING_SYSTEM_COMPOSITE'.
3629 (syms_of_file_coding): Add new symbol `disable-composition';
3630 delete symbol `composite'.
3632 * file-coding.h (struct Lisp_Coding_System): Add
3633 `disable_composition'; delete `enable_composition'.
3634 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3635 `CODING_SYSTEM_COMPOSITE'.
3636 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3637 `XCODING_SYSTEM_COMPOSITE'.
3639 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3641 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3644 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3646 * text-coding.c (Qcomposite): New variable.
3647 (Fmake_coding_system): Add new property `composite'.
3648 (struct decoding_stream): Add `combined_char_count',
3649 `combined_chars' and `combining_table' in UTF-2000.
3650 (COMPOSE_FLUSH_CHARS): New macro.
3651 (COMPOSE_ADD_CHAR): New macro.
3652 (reset_decoding_stream): Reset `str->combined_char_count' and
3653 `str->combining_table' in UTF-2000.
3654 (decode_coding_iso2022): Modify for character-decomposition.
3655 (syms_of_file_coding): Add new symbol `composite'.
3657 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3659 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
3660 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
3661 of `Vcharacter_composition_table' if `->decomposition' property
3663 (Qlatin_tcvn5712): New variable.
3664 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
3665 (complex_vars_of_mule_charset): Add new coded-charset
3668 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
3670 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3672 * file-coding.h (struct Lisp_Coding_System): Add
3673 `enable_composition'.
3674 (CODING_SYSTEM_COMPOSITE): New macro.
3675 (XCODING_SYSTEM_COMPOSITE): New macro.
3677 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
3679 * mule-canna.c (c2mu): Fix problem with UTF-2000.
3681 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
3683 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
3684 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
3686 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
3688 * mule-charset.c (Vcharset_mojikyo): New variable.
3689 (Fdefine_char): Don't use coded-charset which does not have
3690 non-builtin character range to allocate character-id.
3691 (Qmojikyo): New variable.
3692 (syms_of_mule_charset): Add new symbol `mojikyo'.
3693 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
3695 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
3696 (LEADING_BYTE_MOJIKYO): New macro.
3697 (MIN_CHAR_MOJIKYO): New macro.
3698 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
3699 (MAX_CHAR_MOJIKYO): New macro.
3701 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
3703 * mule-charset.c (remove_char_attribute): Fixed.
3705 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
3707 * mule-charset.c (remove_char_attribute): New function.
3708 (Fremove_char_attribute): New function.
3709 (encode_builtin_char_1): Comment out builtin-support for
3710 greek-iso8859-7 and cyrillic-iso8859-5.
3711 (Fdecode_char): Check `code' is an integer.
3712 (syms_of_mule_charset): Add `remove-char-attribute'.
3713 (MIN_CHAR_GREEK): Deleted.
3714 (MAX_CHAR_GREEK): Likewise.
3715 (MIN_CHAR_CYRILLIC): Likewise.
3716 (MAX_CHAR_CYRILLIC): Likewise.
3717 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
3718 MAX_CHAR_GREEK for `greek-iso8859-7'.
3720 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
3721 (MAX_CHAR_GREEK): Likewise.
3722 (MIN_CHAR_CYRILLIC): Likewise.
3723 (MAX_CHAR_CYRILLIC): Likewise.
3725 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
3727 * mule-charset.c (Fdefine_char): Fix problem when new code-point
3728 format is used without `ucs' property.
3729 (Fdecode_char): Fix problem with GR representation.
3730 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
3731 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
3733 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3735 * mule-charset.c (make_builtin_char): New function.
3736 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
3737 (Fset_charset_mapping_table): Modify for new representation of
3739 (Fdecode_char): New function.
3740 (syms_of_mule_charset): Add new builtin function `decode-char' in
3743 * char-ucs.h (make_builtin_char): New prototype.
3744 (DECODE_CHAR): New inline function.
3745 (MAKE_CHAR): Use `DECODE_CHAR'.
3747 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
3749 * text-coding.c (parse_charset_conversion_specs): Use
3750 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
3752 (iso2022_designate): Likewise.
3754 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
3755 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
3757 * mule-charset.c (Vcharset_ucs): New variable.
3758 (print_charset): Change design; use `CHARSET_CHARS' and
3759 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
3760 (make_charset): Change signature to specify `chars' and
3761 `dimension' instead of `type'.
3762 (range_charset_code_point): Modify for 256^n-set.
3763 (encode_builtin_char_1): Encode as `ucs' in default.
3764 (Fmake_charset): Modify for `make_charset'.
3765 (Fmake_reverse_direction_charset): Likewise.
3766 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
3768 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
3771 * char-ucs.h (Vcharset_ucs): New variable.
3772 (LEADING_BYTE_UCS): New macro.
3773 (struct Lisp_Charset): Delete `type'; change type of `dimension'
3774 and `chars' to `unsigned short' from `unsigned int'.
3775 (CHARSET_TYPE): Deleted.
3776 (XCHARSET_TYPE): Deleted.
3778 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
3780 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
3782 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
3783 (ENCODE_CHAR): New macro.
3785 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3787 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3788 to 0.14 (Kawachi-Katakami).
3790 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3792 * text-coding.c (char_encode_shift_jis): Modify for
3793 `charset_code_point'.
3794 (char_encode_iso2022): Likewise.
3796 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
3797 (integer) instead of list of <Lisp_Object>s (integers) as the
3798 format of code-point of a coded-charset.
3799 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3800 (encode_builtin_char_1): New function; delete
3801 `split_builtin_char'.
3802 (charset_code_point): Return <int> instead of <Lisp_Object>.
3803 (Fsplit_char): Don't use `SPLIT_CHAR'.
3805 * char-ucs.h (encode_builtin_char_1): New prototype; delete
3806 prototype for `split_builtin_char'.
3807 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3808 (charset_code_point): Likewise.
3809 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
3810 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
3812 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
3814 * mule-charset.c (complex_vars_of_mule_charset): Don't define
3815 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
3817 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3819 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
3821 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
3822 (MAX_CHAR_OBS_94x94): Deleted.
3824 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3826 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
3828 * char-ucs.h (MAX_CHAR_BMP): New macro.
3830 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3832 * text-coding.c: Sync with r21-2-24.
3834 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3836 * file-coding.c: Modify for UTF-2000.
3838 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3840 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3843 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3845 * mule-charset.c (split_builtin_char): Delete builtin support for
3846 `katakana-jisx0201'.
3847 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
3848 BMP area in builtin representation.
3850 * char-ucs.h (MAKE_CHAR): Delete builtin support for
3851 `Vcharset_katakana_jisx0201'.
3853 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
3855 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
3856 (Qisolated): New variable.
3857 (Qinitial): New variable.
3858 (Qmedial): New variable.
3859 (Qfinal): New variable.
3860 (Qvertical): New variable.
3861 (Qsmall): New variable.
3862 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
3863 `Qvertical' and `Qsmall'.
3864 (Qmojikyo_pj_[1 .. 21]): New variable.
3865 (syms_of_mule_charset): Add new symbols `isolated', `initial',
3866 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
3867 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
3870 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3872 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
3873 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
3874 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
3876 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3878 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
3879 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
3881 (Qjapanese_jisx0208_1990): New variable.
3882 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
3883 (complex_vars_of_mule_charset): Add new coded-charset
3884 `japanese-jisx0208-1990'.
3886 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
3887 (MIN_CHAR_JIS_X0208_1990): New macro.
3888 (MAX_CHAR_JIS_X0208_1990): New macro.
3890 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3892 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
3893 coded-charset is not found.
3895 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3897 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
3898 (Fdefine_char): Use `Fmake_char'.
3900 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3902 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
3903 (Vcharset_hiragana_jisx0208): Deleted.
3904 (Vcharset_katakana_jisx0208): Deleted.
3905 (Qideograph_daikanwa): New variable.
3906 (Qhiragana_jisx0208): Deleted.
3907 (Qkatakana_jisx0208): Deleted.
3908 (split_builtin_char): Split `ideograph-daikanwa'.
3909 (Fsplit_char): New implementation for UTF-2000.
3910 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
3911 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
3912 (complex_vars_of_mule_charset): Add new coded-charset
3913 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
3914 `katakana-jisx0208'.
3916 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
3917 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
3918 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
3919 (MIN_CHAR_DAIKANWA): New macro.
3920 (MAX_CHAR_DAIKANWA): New macro.
3922 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3924 * data.c (Fstring_to_number): Don't recognize floating point if
3927 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3929 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
3931 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3933 * mule-charset.c (Qsquare): New variable.
3934 (to_char_code): Add `Qsquare'.
3935 (syms_of_mule_charset): Add new symbol `square'.
3937 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3939 * mule-charset.c (Qcircle): New variable.
3940 (to_char_code): Add `Qcircle'.
3941 (syms_of_mule_charset): Add new symbol `circle'.
3943 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3945 * mule-charset.c (Qfont): New variable.
3946 (to_char_code): Add `Qfont'.
3947 (syms_of_mule_charset): Add new symbol `font'.
3949 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3951 * mule-charset.c (Qsub): New variable.
3952 (to_char_code): Add `Qsub'.
3953 (syms_of_mule_charset): Add new symbol `sub'.
3955 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3957 * mule-charset.c (Fput_char_attribute): Convert each element of
3958 VALUE to GL position if ATTRIBUTE is a GR-set,
3960 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3962 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
3963 coded-charset is a GR-set.
3965 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3967 * mule-charset.c (Fput_char_attribute): Check each element of
3968 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
3970 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3972 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
3974 (Qethiopic_ucs): New variable in UTF-2000.
3975 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
3976 (complex_vars_of_mule_charset): Add new coded-charset
3977 `ethiopic-ucs' in UTF-2000.
3979 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
3980 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
3982 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
3984 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
3986 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3988 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
3991 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3993 * mule-charset.c (Vcharacter_variant_table): New variable.
3994 (Q_ucs): New variable.
3995 (Fchar_variants): New function.
3996 (Fput_char_attribute): Register `->ucs' value to
3997 `Vcharacter_variant_table'.
3998 (syms_of_mule_charset): Add new function `char-variants' and new
4000 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
4002 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4004 * mule-charset.c (get_char_code_table): Allow negative character
4006 (put_char_code_table): Likewise.
4007 (Vcharacter_composition_table): New variable.
4008 (Q_decomposition): New variable.
4009 (Qwide): New variable.
4010 (Qnarrow): New variable.
4011 (Qcompat): New variable.
4012 (QnoBreak): New variable.
4013 (Qsuper): New variable.
4014 (Qfraction): New variable.
4015 (to_char_code): New function.
4016 (Fget_composite_char): New function.
4017 (Fput_char_attribute): Register `->decomposition' value to
4018 `Vcharacter_composition_table'.
4019 (syms_of_mule_charset): Add new function `get-composite-char', new
4020 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
4021 `super' and `fraction'.
4022 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
4024 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4026 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
4027 character; copy the return value.
4029 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4031 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
4033 * mule-charset.c (range_charset_code_point): Must use make_int.
4034 (split_builtin_char): New function.
4036 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4038 * mule-charset.c (char_byte_table): Change name from
4039 "char-code-table" to "char-byte-table".
4040 (mark_char_code_table): New function.
4041 (char_code_table_equal): New function.
4042 (char_code_table_hash): New function.
4043 (char_code_table_description): New constant.
4044 (char_code_table): New type.
4045 (make_char_code_table): New function.
4046 (copy_char_code_table): New function.
4047 (get_char_code_table): Modify for `char_code_table' type.
4048 (put_char_code_table): Likewise.
4049 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
4052 * char-ucs.h (char_code_table): New type.
4053 (XCHAR_CODE_TABLE): New macro.
4054 (XSETCHAR_CODE_TABLE): New macro.
4055 (CHAR_CODE_TABLE_P): New macro.
4056 (GC_CHAR_CODE_TABLE_P): New macro.
4057 (struct Lisp_Char_Code_Table): New structure.
4059 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4061 * mule-charset.c (Fmake_charset): Setup byte_offset for
4064 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
4066 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
4069 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4071 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
4074 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4076 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
4077 charset, it is regarded as a charset.
4078 (put_char_attribute): New function in UTF-2000.
4079 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
4080 charset, mapping-table of the charset is modified.
4081 (Fdefine_char): New function in UTF-2000.
4082 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
4083 `Fput_char_attribute'.
4084 (syms_of_mule_charset): Add new function `define-char' and new
4085 symbol `ucs' in UTF-2000.
4086 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
4088 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4090 * mule-charset.c (Fcharset_name): Define `byte_offset' in
4091 non-UTF-2000 configuration.
4093 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4095 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
4096 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
4098 * mule-charset.c (mark_charset): `cs->encoding_table' has been
4100 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
4101 (Fset_charset_mapping_table): Likewise.
4103 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
4104 (CHARSET_ENCODING_TABLE): Delete.
4105 (XCHARSET_ENCODING_TABLE): Delete.
4106 (charset_code_point): New interface.
4108 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4110 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
4111 instead of `charset_get_byte1' and `charset_get_byte2'.
4113 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
4114 (charset_get_byte2): Deleted.
4116 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4118 * char-ucs.h (SPLIT_CHAR): New inline function.
4119 (breakup_char_1): Use `SPLIT_CHAR'.
4121 * mule-charset.c (range_charset_code_point): New function.
4122 (charset_code_point): New function.
4124 * char-ucs.h (range_charset_code_point): New interface.
4125 (breakup_char_1): Use `range_charset_code_point'.
4127 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4129 * mule-charset.c (Fmake_charset): Delete unused local variable
4132 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
4133 (breakup_char_1): Find a charset and code-point in
4134 `Vcharacter_attribute_table'.
4136 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4138 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4141 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4143 * mule-charset.c (Vcharacter_attribute_table): New variable.
4144 (Fchar_attribute_alist): New function.
4145 (Fget_char_attribute): New function.
4146 (Fput_char_attribute): New function.
4147 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
4149 (syms_of_mule_charset): Add new function `char-attribute-alist',
4150 `get-char-attribute' and `put-char-attribute'.
4151 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
4153 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
4155 * mule-charset.c (Fmake_charset): Just use
4156 `get_unallocated_leading_byte'.
4158 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
4159 sets; don't use final-byte based number for private sets.
4161 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4163 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
4166 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4168 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4171 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4173 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
4174 of `CHAR_LEADING_BYTE' in UTF-2000.
4176 * insdel.c (find_charsets_in_bufbyte_string): Use
4177 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4178 (find_charsets_in_emchar_string): Likewise.
4180 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
4181 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4183 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
4184 (CHAR_CHARSET_ID): New macro.
4186 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4188 * chartab.c (get_char_table): Don't use type `Charset_ID' for
4189 charset-id - MIN_LEADING_BYTE.
4190 (put_char_table): Likewise.
4192 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4194 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
4195 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
4196 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
4197 (CHARSET_ID_OFFSET): New macro.
4198 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
4199 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
4200 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
4201 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4203 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4205 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
4206 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
4207 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
4208 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
4209 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
4211 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4213 * mule-charset.c (next_allocated_leading_byte): New variable in
4215 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
4216 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
4217 (get_unallocated_leading_byte): Simply use
4218 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
4219 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
4222 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
4223 (MAX_LEADING_BYTE_PRIVATE): New macro.
4224 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
4225 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
4227 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4229 * mule-charset.c (Fmake_charset): Allocate final-byte based
4230 charset-id for 94-set, 96-set and 94x94-set.
4232 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4234 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
4236 (Fmake_charset): Likewise.
4237 (complex_vars_of_mule_charset): Modify the font registry of
4238 `ucs-bmp' not to match `Ethiopic-Unicode'.
4240 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4242 * mule-charset.c (complex_vars_of_mule_charset): Add font
4243 registory of `ucs-bmp'.
4245 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4247 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
4248 coded-charsets in `default-coded-charset-priority-list' when
4249 breaking up a character.
4251 * mule-charset.c (Vcharset_latin_viscii): New variable.
4252 (Qlatin_viscii): New variable.
4253 (make_charset): Don't use `decoding_table'.
4254 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
4256 (Fset_charset_mapping_table): New implementation.
4257 (syms_of_mule_charset): Add new symbol `latin-viscii'.
4258 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
4259 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
4260 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
4261 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
4262 charset `latin_viscii'.
4264 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
4265 (CHARSET_TYPE_94X94): Change to 1 from 2.
4266 (CHARSET_TYPE_96): Change to 2 from 1.
4267 (CHARSET_TYPE_128): New macro.
4268 (CHARSET_TYPE_128X128): Change to 5 from 4.
4269 (CHARSET_TYPE_256): New macro.
4270 (CHARSET_TYPE_256X256): Change to 7 from 5.
4271 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
4273 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4275 * text-coding.c (char_encode_shift_jis): Refer
4276 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
4277 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
4279 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
4280 (char_byte_table_equal): New function in UTF-2000.
4281 (char_byte_table_hash): New function in UTF-2000.
4282 (char_byte_table_description): New constant in UTF-2000.
4283 (char_byte_table): New type in UTF-2000.
4284 (make_char_byte_table): New function in UTF-2000.
4285 (copy_char_byte_table): New function in UTF-2000.
4286 (make_char_code_table): New macro in UTF-2000.
4287 (get_char_code_table): New function in UTF-2000.
4288 (put_char_code_table): New function in UTF-2000.
4289 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
4290 (charset_description): Add setting in UTF-2000.
4291 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
4292 `CHARSET_TO_BYTE1_TABLE(cs)'.
4293 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
4294 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
4295 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
4296 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
4297 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
4298 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
4299 `CHARSET_TO_BYTE2_TABLE(cs)'.
4301 * char-ucs.h (char_byte_table): New type.
4302 (XCHAR_BYTE_TABLE): New macro.
4303 (XSETCHAR_BYTE_TABLE): New macro.
4304 (CHAR_BYTE_TABLE_P): New macro.
4305 (GC_CHAR_BYTE_TABLE_P): New macro.
4306 (struct Lisp_Char_Byte_Table): New structure.
4307 (get_char_code_table): New interface.
4308 (Emchar_to_byte_table): Deleted.
4309 (get_byte_from_character_table): Deleted.
4310 (struct Lisp_Charset): Add `encoding_table'; delete
4311 `to_byte1_table' and `to_byte2_table'.
4312 (CHARSET_ENCODING_TABLE): New macro.
4313 (CHARSET_TO_BYTE1_TABLE): Deleted.
4314 (CHARSET_TO_BYTE2_TABLE): Deleted.
4315 (XCHARSET_ENCODING_TABLE): New macro.
4316 (XCHARSET_TO_BYTE1_TABLE): Deleted.
4317 (XCHARSET_TO_BYTE2_TABLE): Deleted.
4319 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4321 * mule-charset.c (syms_of_mule_charset): Delete charset alias
4322 `vietnamese-viscii-*'.
4324 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4326 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
4327 (Qvietnamese_viscii_upper): New variable.
4328 (Fdefine_charset_alias): New function.
4329 (syms_of_mule_charset): Add new function `define-charset-alias'.
4330 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
4331 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
4334 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
4336 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
4337 (MAX_CHAR_OBS_94x94): New macro.
4338 (breakup_char_1): Support obsolete XEmacs-UCS private code space
4341 * mule-charset.c (put_byte_from_character_table): Change unit size
4343 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
4345 (Fmake_reverse_direction_charset): Modify dummy argument of
4346 `make_charset' for non-UTF-2000 environment.
4348 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4350 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
4352 * mule-charset.c (destroy_byte_from_character_table): New macro.
4353 (latin_jisx0201_to_ucs): Deleted.
4354 (latin_iso8859_2_to_ucs): Deleted.
4355 (latin_iso8859_3_to_ucs): Deleted.
4356 (latin_iso8859_4_to_ucs): Deleted.
4357 (latin_iso8859_9_to_ucs): Deleted.
4358 (latin_viscii_lower_to_ucs): Deleted.
4359 (latin_viscii_upper_to_ucs): Deleted.
4360 (mark_charset): Mark `cs->decoding_table'.
4361 (Fcharset_mapping_table): Fix DOC-string.
4362 (Fset_charset_mapping_table): New function.
4363 (syms_of_mule_charset): Add nwe function
4364 `set-charset-mapping-table'.
4365 (complex_vars_of_mule_charset): Don't setup and use
4368 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
4370 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
4373 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
4375 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
4376 (Vcharset_katakana_jisx0208): New variable.
4377 (Qhiragana_jisx0208): New variable.
4378 (Qkatakana_jisx0208): New variable.
4379 (make_charset): Add new argument `byte_offset'.
4380 (charset_get_byte1): Modify for new coded-charset definition; use
4381 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4382 `XCHARSET_BYTE_OFFSET'.
4383 (Fmake_charset): Modify for `make_charset'.
4384 (Fmake_reverse_direction_charset): Likewise.
4385 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
4386 `katakana-jisx0208'.
4387 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
4388 `.' in font registry of charset `katakana-jisx0201',
4389 `latin-jisx0201', `vietnamese-viscii-lower' and
4390 `vietnamese-viscii-upper'; modify DOC-string of charset
4391 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
4392 registry of charset `japanese-jisx0208' not to use font for JIS
4393 X0208:1990; add new charset `hiragana-jisx0208' and
4394 `katakana-jisx0208'.
4396 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
4397 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
4398 (struct Lisp_Charset): Add `byte_offset'.
4399 (CHARSET_BYTE_OFFSET): New macro.
4400 (XCHARSET_UCS_MIN): New macro.
4401 (XCHARSET_UCS_MAX): New macro.
4402 (XCHARSET_CODE_OFFSET): New macro.
4403 (XCHARSET_BYTE_OFFSET): New macro.
4404 (MIN_CHAR_HIRAGANA): New macro.
4405 (MAX_CHAR_HIRAGANA): New macro.
4406 (MIN_CHAR_KATAKANA): New macro.
4407 (MAX_CHAR_KATAKANA): New macro.
4408 (MAKE_CHAR): Modify for new coded-charset definition; use
4409 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4410 `XCHARSET_BYTE_OFFSET'.
4412 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4414 * mule-charset.c (CHAR96): Deleted.
4415 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
4417 (latin_iso8859_2_to_ucs): Likewise.
4418 (latin_iso8859_3_to_ucs): Likewise.
4419 (latin_iso8859_4_to_ucs): Likewise.
4420 (latin_iso8859_9_to_ucs): Likewise.
4421 (latin_viscii_lower_to_ucs): Likewise.
4422 (latin_viscii_upper_to_ucs): Likewise.
4423 (latin_tcvn5712_to_ucs): Commented out.
4424 (make_charset): Change type of argument `decoding_table' from
4425 <Emchar*> to <Lisp_Object> [vector of characters].
4426 (Fmake_charset): Modify for `make_charset'.
4427 (Fmake_reverse_direction_charset): Likewise.
4428 (Fcharset_mapping_table): New function in UTF-2000.
4429 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
4431 (complex_vars_of_mule_charset): Modify for type change of
4432 `*_to_ucs'; modify for `make_charset'.
4434 * char-ucs.h (struct Lisp_Charset): Change type of
4435 `decoding_table' from <Emchar*> to <Lisp_Object>.
4436 (MAKE_CHAR): Modify for new specification of `decoding_table'.
4438 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4440 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
4441 error with non-UTF-2000-Mule.
4443 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
4445 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
4447 (Vcharset_chinese_cns11643_4): Likewise.
4448 (Vcharset_chinese_cns11643_5): Likewise.
4449 (Vcharset_chinese_cns11643_6): Likewise.
4450 (Vcharset_chinese_cns11643_7): Likewise.
4451 (Qchinese_cns11643_3): Likewise.
4452 (Qchinese_cns11643_4): Likewise.
4453 (Qchinese_cns11643_5): Likewise.
4454 (Qchinese_cns11643_6): Likewise.
4455 (Qchinese_cns11643_7): Likewise.
4456 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
4457 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4458 and `chinese-cns11643-7' to lisp/mule/chinese.el.
4459 (complex_vars_of_mule_charset): Likewise.
4461 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4463 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
4465 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
4466 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
4468 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4470 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
4472 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
4473 (breakup_char_1): Likewise.
4475 * text-coding.c (char_encode_iso2022): Keep designated charsets if
4476 one of them includes the specified character.
4478 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4480 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
4482 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4484 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
4486 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4488 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
4489 definition for non-UTF-2000 Mule.
4490 (latin_iso8859_3_to_ucs): Likewise.
4491 (latin_iso8859_4_to_ucs): Likewise.
4492 (latin_iso8859_9_to_ucs): Likewise.
4493 (latin_jisx0201_to_ucs): Likewise.
4494 (MIN_CHAR_THAI): Likewise.
4495 (MAX_CHAR_THAI): Likewise.
4496 (MIN_CHAR_GREEK): Likewise.
4497 (MAX_CHAR_GREEK): Likewise.
4498 (MIN_CHAR_HEBREW): Likewise.
4499 (MAX_CHAR_HEBREW): Likewise.
4500 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
4501 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
4502 (MIN_CHAR_CYRILLIC): Likewise.
4503 (MAX_CHAR_CYRILLIC): Likewise.
4505 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4507 * char-ucs.h (breakup_char_1): Use
4508 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
4509 thai-tis620 and katakana-jisx0201 area.
4511 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4513 * char-ucs.h (breakup_char_1): Use
4514 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
4517 * text-coding.c (reset_encoding_stream): Fixed.
4518 (char_encode_ucs4): Delete `& 255'.
4520 * char-ucs.h (breakup_char_1): Use
4521 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
4523 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4525 * file-coding.c (Fmake_coding_system): Don't set up
4526 `codesys->fixed.size'.
4527 (encode_coding_no_conversion): Don't refer
4528 `str->codesys->fixed.size'.
4530 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4532 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
4533 (latin_a_char_to_byte1): Deleted.
4534 (latin_a_char_to_byte2): Deleted.
4536 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4538 * mule-charset.c (make_charset): Add new argument `ucs_min',
4539 `ucs_max' and `code_offset'.
4540 (charset_get_byte1): New implementation [delete specific charset
4541 depended implementations].
4542 (Fmake_charset): Modify for `make_charset'.
4543 (Fmake_reverse_direction_charset): Likewise.
4544 (complex_vars_of_mule_charset): Likewise.
4546 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
4548 (CHARSET_UCS_MIN): New macro.
4549 (CHARSET_UCS_MAX): New macro.
4550 (CHARSET_CODE_OFFSET): New macro.
4551 (MAKE_CHAR): Delete charset depended definitions [except
4554 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4556 * char-ucs.h (breakup_char_1): Use
4557 `Vdefault_coded_charset_priority_list' for C0-Controls,
4558 Basic-Latin, C1-Controls and Latin-1-Supplement area.
4560 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4562 * char-ucs.h (charset_get_byte1): New function.
4563 (XCHARSET_GET_BYTE1): Deleted.
4564 (charset_get_byte2): New function.
4565 (XCHARSET_GET_BYTE2): Deleted.
4566 (Vdefault_coded_charset_priority_list): New external variable.
4567 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
4568 `Vdefault_preferred_coded_charset_list'.
4570 * mule-charset.c (charset_get_byte1): New function.
4571 (charset_get_byte2): New function.
4572 (Vdefault_coded_charset_priority_list): New variable.
4573 (vars_of_mule_charset): Add new variable
4574 `default-coded-charset-priority-list'.
4576 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4578 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
4579 (XCHARSET_GET_BYTE2): New inline function.
4580 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
4581 `XCHARSET_GET_BYTE2'.
4583 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4585 * mule-charset.c (make_charset): Initialize
4586 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
4587 NULL if table is not defined.
4589 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4591 * text-coding.c (char_encode_shift_jis): Use
4592 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
4593 `ucs_to_latin_jisx0201'.
4595 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
4596 (ucs_to_latin_iso8859_2): Deleted.
4597 (ucs_to_latin_iso8859_3): Deleted.
4598 (ucs_to_latin_iso8859_4): Deleted.
4599 (ucs_to_latin_iso8859_9): Deleted.
4600 (ucs_to_latin_viscii_lower): Deleted.
4601 (ucs_to_latin_viscii_upper): Deleted.
4602 (ucs_to_latin_tcvn5712): Deleted.
4603 (make_charset): Add new argument `decoding_table'; set up
4604 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
4605 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
4606 `decoding_table' is defined in UTF-2000.
4607 (Fmake_charset): Modify for `make_charset'.
4608 (Fmake_reverse_direction_charset): Likewise.
4609 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
4610 and `GENERATE_96_SET'.
4612 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
4613 (ucs_to_latin_jisx0201): Deleted.
4614 (latin_iso8859_2_to_ucs): Deleted.
4615 (ucs_to_latin_iso8859_2): Deleted.
4616 (latin_iso8859_3_to_ucs): Deleted.
4617 (ucs_to_latin_iso8859_3): Deleted.
4618 (latin_iso8859_4_to_ucs): Deleted.
4619 (ucs_to_latin_iso8859_4): Deleted.
4620 (latin_iso8859_9_to_ucs): Deleted.
4621 (ucs_to_latin_iso8859_9): Deleted.
4622 (latin_viscii_lower_to_ucs): Deleted.
4623 (ucs_to_latin_viscii_lower): Deleted.
4624 (latin_viscii_upper_to_ucs): Deleted.
4625 (ucs_to_latin_viscii_upper): Deleted.
4626 (struct Lisp_Charset): Renamed `encoding_table' to
4627 `to_byte1_table'; add `to_byte2_table'.
4628 (CHARSET_DECODING_TABLE): New macro.
4629 (CHARSET_TO_BYTE1_TABLE): New macro.
4630 (CHARSET_TO_BYTE2_TABLE): New macro.
4631 (XCHARSET_DECODING_TABLE): New macro.
4632 (XCHARSET_TO_BYTE1_TABLE): New macro.
4633 (XCHARSET_TO_BYTE2_TABLE): New macro.
4634 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
4636 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
4637 don't use `ucs_to_*' tables.
4639 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4641 * text-coding.c (Fmake_coding_system): Don't set up
4642 `codesys->fixed.size'.
4643 (encode_coding_no_conversion): Use `if' instead of `switch'.
4645 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
4647 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4649 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
4650 (Fmake_charset): Modify for `make_charset'.
4651 (Fmake_reverse_direction_charset): Likewise.
4652 (complex_vars_of_mule_charset): Likewise.
4654 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4656 * text-coding.c (char_encode_shift_jis): Use table
4657 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
4659 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4661 * text-coding.c (text_encode_generic): Use `if' instead of
4663 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
4666 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4668 * text-coding.c (encode_coding_sjis): Deleted.
4669 (char_encode_shift_jis): New function.
4670 (char_finish_shift_jis): New function.
4671 (reset_encoding_stream): Set up `encode_char' and `finish' for
4672 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
4673 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
4674 (char_encode_utf8): Treat `eol_type'.
4676 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4678 * file-coding.c (decode_coding_iso2022): Use
4679 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
4681 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4683 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4686 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4688 * char-lb.h (CHAR_COLUMNS): New macro.
4690 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4692 * text-coding.c (char_encode_ucs4): New function.
4693 (char_finish_ucs4): New function.
4694 (encode_coding_ucs4): Deleted.
4695 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
4696 (text_encode_generic): Delete local variable `charset' and `half'.
4697 (ucs_to_mule_table): Deleted.
4698 (mule_to_ucs_table): Deleted.
4699 (Fset_ucs_char): Deleted.
4700 (ucs_to_char): Deleted.
4701 (Fucs_char): Deleted.
4702 (Fset_char_ucs): Deleted.
4703 (Fchar_ucs): Deleted.
4704 (decode_ucs4): Deleted.
4705 (mule_char_to_ucs4): Deleted.
4706 (encode_ucs4): Deleted.
4707 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
4708 (decode_coding_utf8): Likewise.
4709 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
4710 (char_encode_iso2022): Fixed.
4711 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
4712 `Fset_char_ucs' and `Fchar_ucs'.
4713 (complex_vars_of_file_coding): Don't initialize
4714 `ucs_to_mule_table'.
4716 * objects-tty.c (tty_initialize_font_instance): Don't use
4719 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
4722 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
4723 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4725 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
4726 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4727 (emchar_string_displayed_columns): Likewise.
4729 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
4730 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4731 (string_column_at_point): Likewise.
4732 (Fmove_to_column): Likewise.
4734 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
4735 `encoding_table' and `decoding_table'.
4736 (CHARSET_REP_BYTES): Deleted.
4737 (XCHARSET_REP_BYTES): Deleted.
4738 (XCHARSET_COLUMNS): Deleted.
4739 (CHAR_COLUMNS): New macro.
4740 (lookup_composite_char): Deleted unconditionally.
4741 (composite_char_string): Likewise.
4743 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4745 * char-ucs.h (Emchar_to_byte_table): New type.
4746 (get_byte_from_character_table): New function interface.
4747 (Vcharset_latin_jisx0201): New variable.
4748 (latin_jisx0201_to_ucs): New variable.
4749 (ucs_to_latin_jisx0201): New variable.
4750 (Vcharset_latin_iso8859_2): New variable.
4751 (latin_iso8859_2_to_ucs): New variable.
4752 (ucs_to_latin_iso8859_2): New variable.
4753 (Vcharset_latin_iso8859_3): New variable.
4754 (latin_iso8859_3_to_ucs): New variable.
4755 (ucs_to_latin_iso8859_3): New variable.
4756 (Vcharset_latin_iso8859_4): New variable.
4757 (latin_iso8859_4_to_ucs): New variable.
4758 (ucs_to_latin_iso8859_4): New variable.
4759 (Vcharset_latin_iso8859_9): New variable.
4760 (latin_iso8859_9_to_ucs): New variable.
4761 (ucs_to_latin_iso8859_9): New variable.
4762 (Vcharset_latin_viscii_lower): New variable.
4763 (latin_viscii_lower_to_ucs): New variable.
4764 (ucs_to_latin_viscii_lower): New variable.
4765 (Vcharset_latin_viscii_upper): New variable.
4766 (latin_viscii_upper_to_ucs): New variable.
4767 (ucs_to_latin_viscii_upper): New variable.
4768 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
4769 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
4770 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
4771 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
4772 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
4773 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
4774 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
4775 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
4776 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
4777 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
4779 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
4780 (Vcharset_latin_viscii_upper): New variable.
4781 (make_byte_from_character_table): New function.
4782 (put_byte_from_character_table): New function.
4783 (get_byte_from_character_table): New function.
4784 (CHAR96): New macro.
4785 (ucs_to_latin_jisx0201): New variable.
4786 (latin_jisx0201_to_ucs): New variable.
4787 (ucs_to_latin_iso8859_2): New variable.
4788 (latin_iso8859_2_to_ucs): New variable.
4789 (ucs_to_latin_iso8859_3): New variable.
4790 (latin_iso8859_3_to_ucs): New variable.
4791 (ucs_to_latin_iso8859_4): New variable.
4792 (latin_iso8859_4_to_ucs): New variable.
4793 (ucs_to_latin_iso8859_9): New variable.
4794 (latin_iso8859_9_to_ucs): New variable.
4795 (ucs_to_latin_viscii_lower): New variable.
4796 (latin_viscii_lower_to_ucs): New variable.
4797 (ucs_to_latin_viscii_upper): New variable.
4798 (latin_viscii_upper_to_ucs): New variable.
4799 (ucs_to_latin_tcvn5712): New variable.
4800 (latin_tcvn5712_to_ucs): New variable.
4801 (Qlatin_viscii_lower): New variable.
4802 (Qlatin_viscii_upper): New variable.
4803 (syms_of_mule_charset): Set up new symbol
4804 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
4805 (complex_vars_of_mule_charset): Set up new charset
4806 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
4807 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
4808 `ucs_to_<CHARSET>' tables.
4810 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4812 * text-coding.c: New file.
4814 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4816 * mule-charset.c (Fmake_char): Fix problem of 256-set.
4818 * char-ucs.h (Vcharset_ucs_bmp): New variable.
4819 (MAKE_CHAR): Modify for `ucs-bmp'.
4820 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
4821 non-MULE characters of BMP.
4823 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
4825 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4828 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
4831 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
4832 - Include character.h for `CHAR_ASCII_P'.
4834 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
4836 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
4837 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
4839 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
4840 (BYTE_C0_P): Likewise.
4841 (BYTE_C1_P): Likewise.
4842 (Lstream_get_emchar_1): Likewise.
4843 (Lstream_fput_emchar): Likewise.
4844 (Lstream_funget_emchar): Likewise.
4845 (copy_internal_to_external): Likewise.
4846 (copy_external_to_internal): Likewise.
4848 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
4849 (BYTE_C0_P): Likewise.
4850 (BYTE_C1_P): Likewise.
4851 (Lstream_get_emchar_1): Likewise.
4852 (Lstream_fput_emchar): Likewise.
4853 (Lstream_funget_emchar): Likewise.
4854 (copy_internal_to_external): Likewise.
4855 (copy_external_to_internal): Likewise.
4857 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
4858 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4860 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
4861 (BYTE_ASCII_P): Moved to mb-1byte.h.
4863 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
4865 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
4867 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
4868 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
4869 (VALID_CHARPTR_P): Moved to mb-*byte.h.
4870 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4871 (VALIDATE_CHARPTR_FORWARD): Likewise.
4872 (simple_charptr_emchar): Moved to mb-multibyte.h.
4873 (simple_set_charptr_emchar): Likewise.
4874 (simple_charptr_copy_char): Likewise.
4875 (non_ascii_charptr_emchar): Likewise.
4876 (non_ascii_set_charptr_emchar): Likewise.
4877 (non_ascii_charptr_copy_char): Likewise.
4878 (charptr_emchar): Moved to mb-*byte.h.
4879 (set_charptr_emchar): Likewise.
4880 (charptr_copy_char): Likewise.
4882 * mb-1byte.h, mb-multibyte.h: New files.
4884 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4886 * mb-utf-8.h (MULTIBYTE): New macro.
4887 (MAX_EMCHAR_LEN): Moved from buffer.h.
4888 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
4890 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
4892 * mb-lb.h, multibyte.h: New files.
4894 * char-1byte.h (Charset_ID): Moved from buffer.h.
4895 (MIN_LEADING_BYTE): Likewise.
4896 (LEADING_BYTE_ASCII): Likewise.
4897 (NUM_LEADING_BYTES): Likewise.
4898 (CHARSETP): Likewise.
4899 (CHARSET_BY_LEADING_BYTE): Likewise.
4900 (XCHARSET_LEADING_BYTE): Likewise.
4901 (XCHARSET_GRAPHIC): Likewise.
4902 (XCHARSET_COLUMNS): Likewise.
4903 (XCHARSET_DIMENSION): Likewise.
4904 (CHAR_CHARSET): Likewise.
4905 (CHAR_LEADING_BYTE): Likewise.
4906 (BREAKUP_CHAR): Likewise.
4907 (Vcharset_ascii): Likewise.
4909 * buffer.h: Include multibyte.h unconditionally.
4910 (VALID_CHARPTR_P): Moved to multibyte.h.
4911 (ASSERT_VALID_CHARPTR): Likewise.
4912 (REAL_INC_CHARPTR): Likewise.
4913 (REAL_INC_CHARBYTIND): Likewise.
4914 (REAL_DEC_CHARPTR): Likewise.
4915 (INC_CHARPTR): Likewise.
4916 (INC_CHARBYTIND): Likewise.
4917 (DEC_CHARPTR): Likewise.
4918 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4919 (VALIDATE_CHARPTR_FORWARD): Likewise.
4920 (charptr_n_addr): Likewise.
4921 (MAX_EMCHAR_LEN): Moved to mb-*.h.
4922 (simple_charptr_emchar): Moved to multibyte.h.
4923 (simple_set_charptr_emchar): Likewise.
4924 (simple_charptr_copy_char): Likewise.
4925 (non_ascii_charptr_emchar): Likewise.
4926 (non_ascii_set_charptr_emchar): Likewise.
4927 (non_ascii_charptr_copy_char): Likewise.
4928 (charptr_emchar): Likewise.
4929 (set_charptr_emchar): Likewise.
4930 (charptr_copy_char): Likewise.
4931 (charptr_emchar_n): Likewise.
4932 (Charset_ID): Moved to char-1byte.h.
4933 (Vcharset_ascii): Likewise.
4934 (CHAR_CHARSET): Likewise.
4935 (CHAR_LEADING_BYTE): Likewise.
4936 (LEADING_BYTE_ASCII): Likewise.
4937 (NUM_LEADING_BYTES): Likewise.
4938 (MIN_LEADING_BYTE): Likewise.
4939 (CHARSETP): Likewise.
4940 (CHARSET_BY_LEADING_BYTE): Likewise.
4941 (XCHARSET_LEADING_BYTE): Likewise.
4942 (XCHARSET_GRAPHIC): Likewise.
4943 (XCHARSET_COLUMNS): Likewise.
4944 (XCHARSET_DIMENSION): Likewise.
4945 (BREAKUP_CHAR): Likewise.
4947 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4949 * character.h: Add document about interface for characters.
4951 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
4952 (MAKE_CHAR): Delete comment about
4953 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
4954 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
4955 (BREAKUP_CHAR): Modify name of arguments.
4956 (CHAR_CHARSET): Modify name of argument.
4958 * buffer.h: Delete document about Emchar accessors.
4960 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4962 * character.h (CHAR_INTP): Moved from buffer.h
4963 (CHAR_OR_CHAR_INTP): Likewise.
4964 (XCHAR_OR_CHAR_INT): Likewise.
4965 (CHECK_CHAR_COERCE_INT): Likewise.
4967 * buffer.h (CHAR_INTP): Moved to character.h
4968 (CHAR_OR_CHAR_INTP): Likewise.
4969 (XCHAR_OR_CHAR_INT): Likewise.
4970 (CHECK_CHAR_COERCE_INT): Likewise.
4972 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4975 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
4976 - Include char-1byte.h, char-lb.h or char-ucs.h.
4978 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
4980 * buffer.h: Include character unconditionally.
4981 (valid_char_p): Moved to char-*.h.
4982 (non_ascii_valid_char_p): Moved to char-lb.h.
4984 * char-1byte.h, char-lb.h, char-ucs.h: New files.
4986 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4988 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
4989 in UTF-2000 because it is not ported yet and not to use
4990 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
4991 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
4992 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
4994 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
4995 (CHAR_ASCII_P): Moved from character.h.
4997 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
4998 (CHAR_ASCII_P): Likewise.
4999 (CHAR_FIELD1_MASK): Deleted.
5000 (CHAR_FIELD2_MASK): Deleted.
5001 (CHAR_FIELD3_MASK): Deleted.
5002 (MAX_CHAR_BASIC_LATIN): New macro.
5003 (CHAR_FIELD1): Deleted.
5004 (CHAR_FIELD2_INTERNAL): Deleted.
5005 (CHAR_FIELD3_INTERNAL): Deleted.
5006 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
5007 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
5008 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
5009 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
5010 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
5011 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
5012 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
5013 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
5014 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
5015 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
5016 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
5017 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
5018 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
5019 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
5020 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
5021 (MIN_CHAR_COMPOSITION): Deleted.
5022 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
5023 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
5025 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
5027 * buffer.h: Include mb-utf-8.h in UTF-2000.
5029 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
5031 * mb-utf-8.h: New file.
5033 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
5035 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
5038 * mule-charset.h, buffer.h (Charset_ID): New type.
5040 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5042 * mule-canna.c (c2mu): Use `MAKE_CHAR',
5043 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
5044 instead of `MULE_CHAR_PRIVATE_OFFSET',
5045 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
5046 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
5047 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
5049 * character.h (Vcharset_japanese_jisx0212): New variable
5052 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5054 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
5055 (charset_by_attributes): Delete array about direction.
5056 (latin_a_char_to_charset): New variable in UTF-2000.
5057 (latin_a_char_to_byte1): New variable in UTF-2000.
5058 (latin_a_char_to_byte2): New variable in UTF-2000.
5059 (Qucs_bmp): New variable.
5060 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
5062 (next_allocated_2_byte_leading_byte): Likewise.
5063 (non_ascii_set_charptr_emchar): Likewise.
5064 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
5065 `CHARSET_TYPE_256X256' in UTF-2000; modify for
5066 `charset_by_attributes'.
5067 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
5068 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
5069 and `CHARSET_BY_LEADING_BYTE'.
5070 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
5071 `utf-2000-version' to `vars_of_mule_charset'.
5072 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
5073 define `leading-code-private-11' in UTF-2000; move setting of
5074 `utf-2000-version' from `syms_of_mule_charset'.
5075 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
5078 * character.h (Charset_ID): New type.
5079 (LEADING_BYTE_UCS_BMP): New macro.
5080 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
5081 (CHARSET_ID_OFFSET_94): New macro.
5082 (MIN_CHARSET_ID_PRIVATE_94): New macro.
5083 (MAX_CHARSET_ID_PRIVATE_94): New macro.
5084 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
5086 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
5087 (LEADING_BYTE_LATIN_JISX0201): Likewise.
5088 (CHARSET_ID_OFFSET_96): New macro.
5089 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
5090 CHARSET_ID_OFFSET_96 and final-byte.
5091 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
5092 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
5093 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
5094 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
5095 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
5096 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
5097 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
5098 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
5099 (LEADING_BYTE_THAI_TIS620): Likewise.
5100 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
5101 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
5102 (CHARSET_ID_OFFSET_94x94): New macro.
5103 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
5104 CHARSET_ID_OFFSET_94x94 and final-byte.
5105 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
5106 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
5107 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
5108 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
5109 (LEADING_BYTE_CHINESE_GB2312): Likewise.
5110 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
5111 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
5112 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
5113 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
5114 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
5115 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
5116 (CHARSET_TYPE_128X128): New macro.
5117 (CHARSET_TYPE_256X256): New macro.
5118 (XCHARSET_PRIVATE_P): Delete unconditionally.
5119 (charset_by_attributes): Delete array about direction.
5120 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
5121 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
5122 (MIN_CHAR_94): New macro.
5123 (MAX_CHAR_94): New macro.
5124 (MIN_CHAR_96): New macro.
5125 (MAX_CHAR_96): New macro.
5126 (MIN_CHAR_94x94): New macro.
5127 (MAX_CHAR_94x94): New macro.
5128 (MIN_CHAR_96x96): New macro.
5129 (MAX_CHAR_96x96): New macro.
5130 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
5131 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5132 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
5134 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
5135 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
5136 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
5137 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
5138 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
5139 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
5140 `XCHARSET_LEADING_BYTE' to make code-point.
5141 (latin_a_char_to_charset): New variable.
5142 (latin_a_char_to_byte1): New variable.
5143 (latin_a_char_to_byte2): New variable.
5144 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
5145 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
5146 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
5148 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
5149 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
5150 (find_charsets_in_emchar_string): Likewise.
5151 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
5153 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
5155 (decode_coding_iso2022): Likewise.
5157 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
5160 * redisplay.c (redisplay_text_width_emchar_string): Use
5161 `Charset_ID' instead of `unsigned char'.
5162 (redisplay_frame_text_width_string): Likewise.
5164 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
5167 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
5168 instead of `unsigned char'.
5169 (face_cachel_charset_font_metric_info): Likewise.
5171 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
5172 (get_non_ascii_char_table_value): Likewise.
5173 (get_char_table): Likewise.
5174 (put_char_table): Likewise.
5175 (map_over_other_charset): Likewise.
5176 (map_char_table): Likewise.
5178 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
5179 instead of `unsigned char'.
5181 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
5183 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
5184 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
5186 * mule-charset.c (leading_code_private_11): Don't define in
5189 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
5190 in UTF-2000 because it is not ported yet and not to use
5191 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
5193 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
5195 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
5197 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5199 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
5202 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
5203 of unsigned char to store leading-byte.
5205 * chartab.c (get_non_ascii_char_table_value): Don't use
5206 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
5208 * file-coding.c (encode_coding_big5): Delete bogus implementation
5211 * character.h (LEADING_BYTE_*): Delete definition for
5213 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
5214 (LEADING_BYTE_PREFIX_P): Deleted.
5215 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
5216 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
5217 (BUFBYTE_LEADING_BYTE_P): Deleted.
5218 (CHARSET_PRIVATE_P): Deleted unconditionally.
5219 (rep_bytes_by_first_byte): Deleted unconditionally.
5220 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
5221 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
5222 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5223 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
5224 (CHAR_FIELD2): Deleted.
5225 (CHAR_FIELD3): Deleted.
5226 (MAKE_CHAR): Delete definition for non-UTF-2000.
5227 (BREAKUP_CHAR_1_UNSAFE): Deleted.
5228 (breakup_char_1): New implementation.
5229 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
5230 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
5232 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5234 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
5237 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5239 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
5240 (CHARSET_PRIVATE_P): Likewise.
5241 (XCHARSET_PRIVATE_P): Likewise.
5242 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
5244 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
5246 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
5248 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5250 * character.h (LEADING_BYTE_*): Changed in UTF2000.
5251 (NUM_LEADING_BYTES): Changed from 128 to 256.
5252 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5253 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
5255 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5257 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
5259 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
5260 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
5261 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
5262 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
5263 (Qchinese_cns11643_3): New variable in UTF2000.
5264 (Qchinese_cns11643_4): New variable in UTF2000.
5265 (Qchinese_cns11643_5): New variable in UTF2000.
5266 (Qchinese_cns11643_6): New variable in UTF2000.
5267 (Qchinese_cns11643_7): New variable in UTF2000.
5268 (syms_of_mule_charset): Define `chinese-cns11643-3',
5269 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
5270 and `chinese-cns11643-7' in UTF2000.
5271 (vars_of_mule_charset): Initialize
5272 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
5274 (complex_vars_of_mule_charset): Setup charset
5275 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
5276 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
5278 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5280 * mule-charset.c: Move setting for `leading-code-private-11' from
5281 `syms_of_mule_charset' to `vars_of_mule_charset'.
5283 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5285 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
5286 and `NUM_LEADING_BYTES' in assert.
5288 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5290 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
5292 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
5293 `NUM_LEADING_BYTES' instead of 128.
5295 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
5297 * mule-charset.h (charset_by_leading_byte): Use
5298 `NUM_LEADING_BYTES' instead of 128.
5299 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
5301 * mule-charset.c (charset_by_leading_byte): Use
5302 `NUM_LEADING_BYTES' instead of 128.
5303 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
5305 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
5308 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
5310 * mule-charset.c (syms_of_mule_charset): Update to
5313 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
5315 * file-coding.c (encode_coding_sjis): New implementation for
5316 UTF2000. (decode_coding_sjis): Ditto.
5318 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5320 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
5321 Don't define in UTF2000.
5323 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
5326 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5327 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
5330 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5332 * config.h.in (CHAR_IS_UCS4): New macro.
5334 * mule-charset.c (rep_bytes_by_first_byte): Modify for
5335 conventional MULE representation.
5336 (syms_of_mule_charset): Update to 0.3 (Imamiya).
5338 * mule-charset.h: Reverted to original.
5340 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5341 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
5342 "mule-charset.h" if CHAR_IS_UCS4 is defined.
5344 * character.h: New file.
5346 * file-coding.c (Fmake_coding_system): Set 1 to
5347 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
5349 (encode_coding_no_conversion): New implementation for UTF2000.
5351 * file-coding.h (struct Lisp_Coding_System): Add new member
5354 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
5356 * file-coding.c (decode_coding_iso2022): Code-point arguments of
5357 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
5358 (encode_coding_iso2022): New implementation for UTF2000.
5360 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5362 * mule-canna.c (c2mu): New implementation for UTF2000.
5365 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5367 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
5369 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5371 * file-coding.c (reset_encoding_stream): Set 0 to
5372 `str->iso2022.current_char_boundary' in UTF2000.
5373 (encode_utf8): Don't define in UTF2000.
5374 (encode_coding_utf8): New implementation for UTF-8 representation
5376 (complex_vars_of_file_coding): Define coding-system `utf-8'.
5378 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5380 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
5382 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
5384 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5386 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
5388 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
5389 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
5390 as UTF-8 in UTF2000.
5391 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
5392 (non_ascii_valid_char_p): Don't define in UTF2000.
5393 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
5394 (Lstream_get_emchar_1): Likewise.
5395 (utf-2000-version): New variable in UTF2000.
5397 * lread.c (read_escape): Add new reader `u'.
5399 * insdel.c (three_to_one_table): Don't define in UTF2000.
5400 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
5401 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5403 (bytind_to_bufpos_func): Likewise.
5404 (buffer_mule_signal_inserted_region): Likewise.
5405 (vars_of_insdel): Don't initialize `three_to_one_table'.
5406 (init_buffer_text): Use `buf->text->mule_size' instead of
5407 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5410 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
5411 UTF-8 representation in UTF2000.
5412 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
5413 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
5414 (decode_coding_iso2022): Don't define local variable `lb' in
5415 UTF2000; don't use LEADING_BYTE in UTF2000; use
5416 `DECODE_ADD_UCS_CHAR' in UTF2000.
5417 (convert_to_external_format): Decode as UTF-8 in UTF2000.
5419 * config.h.in (UTF2000): New macro.
5421 * buffer.h (struct buffer_text): Add new member `mule_size' and
5422 don't add `mule_shifter' and `mule_three_p' in UTF2000.
5423 (valid_char_p): Return always 1 in UTF2000.
5424 (MAX_EMCHAR_LEN): 6 in UTF2000.
5425 (three_to_one_table): Don't define in UTF2000.
5426 (real_bufpos_to_bytind): Modify for UTF-8 representation in
5428 (real_bytind_to_bufpos): Likewise.
5430 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
5432 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5434 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
5435 representation change.
5436 (Vutf_2000_version): New variable.
5437 (leading_code_private_11): New variable.
5438 (syms_of_mule_charset): Add new variables `utf-2000-version' and
5439 `leading-code-private-11'.
5441 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
5442 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
5443 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
5444 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
5445 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
5446 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
5447 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
5448 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
5449 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
5450 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
5451 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
5452 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
5453 (MIN_CHAR_GREEK): New macro.
5454 (MAX_CHAR_GREEK): New macro.
5455 (MIN_CHAR_CYRILLIC): New macro.
5456 (MAX_CHAR_CYRILLIC): New macro.
5457 (MIN_CHAR_HEBREW): New macro.
5458 (MAX_CHAR_HEBREW): New macro.
5459 (MIN_CHAR_THAI): New macro.
5460 (MAX_CHAR_THAI): New macro.
5461 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
5462 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
5463 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
5464 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
5465 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
5466 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
5467 (CHAR_FIELD2): New inline function.
5468 (CHAR_FIELD3): New inline function.
5469 (MULE_CHAR_PRIVATE_OFFSET): New macro.
5470 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
5471 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
5472 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
5473 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
5474 (MIN_CHAR_COMPOSITION): Likewise.
5475 (CHAR_LEADING_BYTE): Modified for character representation change.
5476 (MAKE_CHAR): Likewise.
5478 * lisp.h (Vcharset_latin_iso8859_1): New variable.
5479 (Vcharset_greek_iso8859_7): Likewise.
5480 (Vcharset_cyrillic_iso8859_5): Likewise.
5481 (Vcharset_hebrew_iso8859_8): Likewise.
5482 (Vcharset_thai_tis620): Likewise.
5483 (Vcharset_katakana_jisx0201): Likewise.
5485 2004-02-02 Vin Shelton <acs@xemacs.org>
5487 * XEmacs 21.4.15 is released
5489 2004-01-30 Glynn Clements <glynn.clements@virgin.net>
5491 * device-x.c (x_error_handler): Don't call stderr_out
5493 2003-11-07 Katsumi Yamaoka <yamaoka@jpl.org>
5495 * buffer.c (other-buffer): Clarify documentation of order of
5496 arguments for FSF Emacs.
5498 2003-10-11 Olivier Galibert <galibert@pobox.com>
5500 * window.c (Fdelete_window): Dirty the mirror structure _before_
5501 marking the window deleted.
5503 2003-09-15 Jerry James <james@xemacs.org>
5505 * event-msw.c (debug_mswin_messages): Conditionally compile
5506 messages missing from the Cygwin headers.
5508 2003-06-16 Stephen J. Turnbull <stephen@xemacs.org>
5510 * data.c (eq_with_ebola_notice): Fix typo in comment.
5511 (Ftrue_list_p): Improve docstring.
5513 2003-10-13 Stephen J. Turnbull <stephen@xemacs.org>
5515 * frame-x.c (x_update_frame_external_traits): Fix XtSetArg idiom.
5517 2003-09-27 Stephen J. Turnbull <stephen@xemacs.org>
5519 * search.c (trivial_regexp_p): Regexps containing "\{" are
5520 nontrivial. Thanks to Manfred Bartz for reporting the bug and
5521 Stefan Monnier for suggesting a diagnosis.
5523 2003-09-25 Stephen J. Turnbull <stephen@xemacs.org>
5525 * elhash.c (make-hash-table): Clarify use of :test #'equal.
5527 2003-09-12 Stephen J. Turnbull <stephen@xemacs.org>
5529 * search.c (Fsearch_forward):
5531 Document negative count.
5533 2003-09-13 Stephen J. Turnbull <stephen@xemacs.org>
5535 * regex.c (re_max_failures): Bump to 20000 for REGEX_MALLOC, too.
5537 2003-09-13 Martin Buchholz <martin@xemacs.org>
5539 * s/sol2.h: Use OS_RELEASE=os_release_major*100+os_release_minor
5541 2003-09-15 Vin Shelton <acs@xemacs.org>
5543 * .gdbinit (pobj): Remove Ilya's fix that was only intended for
5546 2003-09-12 Yoshiki Hayashi <yoshiki@xemacs.org>
5548 * regex.c (TRANSLATE_EXTENDED_UNSAFE): Remove.
5549 (re_search_2): Match the first byte of Bufbyte, not Emchar.
5550 (re_match_2_internal): Use TRANSLATE instead of
5551 TRANSLATE_EXTENDED_UNSAFE. The latter was a hack to bypass
5552 non-ASCII char case conversion.
5554 2003-09-08 Mike Sperber <mike@xemacs.org>
5556 * symbols.c (Fvariable_binding_locus): Add, as per suggestion from
5557 RMS at: http://article.gmane.org/gmane.emacs.pretest.bugs/1010
5559 2003-06-14 Ilya N. Golubev <gin@mo.msk.ru>
5561 * .gdbinit (pobj): fix printing of symbol name.
5563 2003-08-01 Ilya N. Golubev <gin@mo.msk.ru>
5565 * frame-x.c (x_layout_widgets): When resizing is about to cause
5566 frame size slip, mark it for redisplay.
5568 2003-08-18 Jerry James <james@xemacs.org>
5570 * opaque.h: Remove unused (X)OPAQUE_MARKFUN definitions.
5572 2003-09-03 Vin Shelton <acs@xemacs.org>
5574 * XEmacs 21.4.14 is released
5576 2003-08-15 Stephen J. Turnbull <stephen@xemacs.org>
5578 * config.h.in (REGEX_MALLOC): Make it configure'able.
5580 2003-08-14 Andrew Begel <abegel@CS.Berkeley.EDU>
5582 * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic
5584 * sysdll.c (dll_init):
5585 * sysdll.c (dll_open):
5586 * sysdll.c (dll_close):
5587 * sysdll.c (dll_function):
5588 * sysdll.c (dll_variable):
5589 * sysdll.c (dll_error):
5590 Add support for loading bundles using Darwin/MacOSX
5593 2003-08-12 Stephen J. Turnbull <stephen@xemacs.org>
5595 * process.c (start-process-internal): Document coding systems.
5597 2003-07-30 Jerry James <james@xemacs.org>
5599 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
5601 2003-07-31 René Kyllingstad <listmailxemacs@kyllingstad.com>
5603 * event-msw.c (mswindows_enqueue_mouse_button_event):
5604 * event-msw.c (mswindows_wnd_proc):
5605 enqueue button event when scrollwheel event isn't handled by
5606 mswindows_handle_mousewheel_event, such as when the scrollbars
5609 2003-07-29 Stephen J. Turnbull <stephen@xemacs.org>
5611 * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*.
5613 2003-03-24 Stephen J. Turnbull <stephen@xemacs.org>
5615 * database.c (Fopen_database): Don't use DB_AUTO_COMMIT.
5617 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org>
5619 * regex.c (re_match_2_internal): Fix matching degenerate word
5622 2003-05-25 XEmacs Build Bot <builds@cvs.xemacs.org>
5624 * XEmacs 21.4.13 is released
5626 2003-03-20 Stephen J. Turnbull <stephen@xemacs.org>
5628 * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H):
5629 * lisp.h (<inttypes.h>):
5630 Cygwin defines these types in <cygwin/types.h>. Don't duplicate
5633 2003-03-15 Martin Buchholz <martin@xemacs.org>
5635 * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file.
5636 Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs'
5637 Result: "temacs can only be run in -batch mode."
5638 Fix: Check xemacs executable candidate for directory-ness.
5640 2003-03-03 Robert Pluim <rpluim@bigfoot.com>
5642 * database.c: Don't use the u_int8_t etc typedefs on FreeBSD,
5643 they conflict with <sys/types.h>.
5645 2003-02-14 Martin Buchholz <martin@xemacs.org>
5647 * database.c: Berkeley DB wants __STDC__ to be defined.
5649 2003-02-13 Martin Buchholz <martin@xemacs.org>
5651 * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'.
5653 2003-02-01 Martin Buchholz <martin@xemacs.org>
5655 * process-unix.c (unix_send_process): Fix C++ compile error.
5657 2003-02-25 Andrew Begel <abegel@cs.berkeley.edu>
5659 * Added .dylib as an acceptable shared library file extension
5660 * to support MacOSX.
5662 2003-02-01 Martin Buchholz <martin@xemacs.org>
5664 * EmacsFrameP.h (EmacsFramePart):
5665 Kludge to allow compiling with Motif1, but linking with Motif2.
5667 2003-01-28 Martin Buchholz <martin@xemacs.org>
5669 * config.h.in (_ALL_SOURCE): Guard against multiple definition.
5672 2003-02-23 Stephen J. Turnbull <stephen@xemacs.org>
5674 * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin.
5676 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
5678 * sysdll.c: Included lisp.h to define needed alloca_array.
5680 2003-02-13 Martin Buchholz <martin@xemacs.org>
5682 Make XEmacs redisplay 10 times faster.
5683 If, that is, you're using a slow X connection and MoveOpaque.
5684 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
5685 Use compress_motion = TRUE.
5686 * EmacsFrame.c (emacsFrameClassRec):
5687 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
5688 * EmacsManager.c (emacsManagerClassRec):
5689 * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
5691 2003-01-30 Vin Shelton <acs@xemacs.org>
5693 * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux.
5695 2003-01-17 Stephen J. Turnbull <stephen@xemacs.org>
5697 * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef.
5698 Patch by Martin Buchholz.
5700 2003-01-16 Stephen J. Turnbull <stephen@xemacs.org>
5702 * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison.
5703 Thanks to icc for warning and Martin Buchholz for reporting.
5705 2003-01-29 Vin Shelton <acs@xemacs.org>
5707 Patch courtesy of Andrew Begel <abegel@cs.berkeley.edu>
5709 * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so
5710 remember to multiply by the element size.
5712 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
5714 * XEmacs 21.4.12 "Portable Code" is released.
5716 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
5718 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
5719 * s/cygwin.sc: new linker file.
5721 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
5723 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
5725 * redisplay-x.c (x_output_string): Use X11-specified types.
5726 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
5727 * emacs.c (__free_hook): Use typeof with Intel compiler.
5728 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
5730 2003-01-08 Andy Piper <andy@xemacs.org>
5732 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
5733 reserve size during unexec().
5735 2003-01-07 Daiki Ueno <daiki@xemacs.org>
5737 * process-unix.c (unix_create_process): Don't let outchannel block.
5739 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
5741 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
5742 Needed for IsBadReadPtr().
5744 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
5746 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
5748 2002-12-14 Ben Wing <ben@xemacs.org>
5750 * callint.c: Declaration error.
5752 * dumper.c (pdump_load): Warning fix.
5753 * process.c: GCPRO error.
5754 * glyphs.c (unmap_subwindow):
5755 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
5756 * event-stream.c (maybe_kbd_translate): Wrong argument to
5757 character_to_event().
5759 * alloc.c (garbage_collect_1):
5761 * emacs.c (debug_can_access_memory):
5762 * emacs.c (fatal_error_signal):
5763 * emacs.c (mswindows_handle_hardware_exceptions):
5766 * emacs.c (assert_failed):
5767 * emacs.c (syms_of_emacs):
5770 * print.c (std_handle_out_va):
5771 * print.c (write_string_to_stdio_stream):
5772 * print.c (write_fmt_string):
5773 * print.c (printing_badness):
5774 * print.c (printing_major_badness):
5775 * print.c (print_internal):
5776 * print.c (debug_print_no_newline):
5777 * print.c (debug_backtrace):
5778 Be more defensive in handling bad values when printing. Add code
5779 from trunk involving inhibit_non_essential_printing_operations.
5780 When going down or in debug_print(), don't do external conversion
5781 and such and try really, really hard when printing to avoid core
5782 dumping. Add force-debugging-signal, debug_break().
5784 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
5786 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
5787 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
5789 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
5791 * database.c: Fix open_database. Berkeley DB API has changed in
5792 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
5794 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
5796 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
5798 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
5800 * event-Xt.c (Xt_timeout):
5801 (Xt_timeout_callback):
5802 (emacs_Xt_add_timeout):
5803 (emacs_Xt_remove_timeout):
5804 (Xt_timeout_to_emacs_event):
5805 Turn completed_timeouts from a stack into a queue. Fixes
5806 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
5808 2002-11-07 Wolfram Gloger <wg@malloc.de>
5810 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
5811 * emacs.c (main): Assert that mmap'd allocation is disabled.
5813 2002-10-14 Andy Piper <andy@xemacs.org>
5815 * glyphs-widget.c (layout_query_geometry): add in fiddle
5816 factor. Include border text in width layout calculation.
5817 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
5819 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
5821 * XEmacs 21.4.10 "Military Intelligence" is released.
5823 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
5825 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
5826 using the NAS private array SoundFileInfo that no longer exists in
5827 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
5828 and earlier. This is broken for some versions between 1.5a and
5831 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
5833 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
5835 * emacs.c (shut_down_emacs): Improve crash message.
5837 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
5839 * file-coding.c (determine_real_coding_system): Check for coding
5840 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
5841 shebangs and Python PEP 263.
5843 2002-10-08 Andy Piper <andy@xemacs.org>
5845 * glyphs-widget.c (layout_query_geometry): only resize dynamically
5846 if static sizes haven't been set.
5848 2002-08-30 Mike Alexander <mta@arbortext.com>
5850 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
5853 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
5855 * callproc.c (child_setup): 21.4 doesn't have retry_close.
5857 2002-09-20 Mike Sperber <mike@xemacs.org>
5859 (This partially gets back my patch from 2002-07-20 without the
5861 * callproc.c (child_setup): Remove Ben's comment noting confusion
5862 over the file descriptors >= 3: close_process_descs() doesn't
5863 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
5864 * process-unix.c (unix_create_process): Call
5865 begin_dont_check_for_quit to inhibit unwanted interaction (and
5866 thus breaking of X event synchronicity) in the child.
5868 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
5870 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
5873 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
5875 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
5876 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
5877 the xemacs process did not exit, but looped infinitely here. This
5880 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
5882 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
5883 (find_context): Improve comments.
5885 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
5886 (re_match_2): An XCHAR_TABLE operation was missing.
5888 Many of the following changes were inspired by Andy Piper's (now
5889 obsolete) patch to make syntax-table text property lookup optional.
5893 * syntax.h (top level): Document semantics of syntax flags.
5894 * syntax.c (comstr_start, Fforward_comment): Improve comments.
5895 * syntax.c, syntax.h (top level): Document syntax cache better in
5898 [Instrument syntax caching (temporary change)]
5900 * syntax.h (enum syntax_cache_statistics_functions, struct
5901 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
5902 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
5903 * syntax.c (scan_words, Fforward_comment, scan_lists,
5904 Fbackward_prefix_characters):
5905 * font-lock.c (find_context):
5906 Use them to instrument syntax caching.
5907 * syntax.c (struct syntax_cache_statistics, scs_statistics,
5908 syntax_cache_statistics_function_names): New type and variables.
5909 * syntax.c (update_syntax_cache): Update and report statistics.
5911 [Major syntax cache optimizations]
5913 syntax.c (lookup_syntax_properties): Default off.
5915 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
5916 * syntax.c (update_syntax_cache):
5917 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
5919 [Minor syntax cache optimizations and code clarifications]
5921 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
5922 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
5923 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
5924 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
5925 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
5926 (Code clarification.)
5928 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
5929 scan_lists): Compute code from syncode, use Boolean macros instead
5930 of redundant masking operations. (Code clarification; any decent
5931 compiler can do this optimization.)
5933 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
5936 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
5937 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
5938 use F*_single_property_change instead of F*_extent_change.
5939 Currently F*_single_property_change is _much_ less efficient.
5941 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
5942 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
5943 syntax_cache.object properly, don't leave Qt or Qnil.
5944 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
5945 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
5946 tests for Qt or Qnil.
5948 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
5950 * redisplay.c (point_in_line_start_cache):
5951 * extents.c (print_extent_1):
5954 * extents.c (Fset_extent_property): Document `syntax-table' property.
5956 * extents.h (Fnext_single_property_change): EXFUN it.
5958 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
5960 * search.c (clear_unused_search_regs): New static function.
5964 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
5965 Minor clarifications in comments.
5967 * regex.c (re_match_2_internal): Ensure no stale submatches.
5969 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
5971 * event-Xt.c (enqueue_focus_event): Add missing prototype.
5973 2002-08-29 Jerry James <james@xemacs.org>
5975 * lisp.h: structrures -> structures.
5977 2002-06-03 Andy Piper <andy@xemacs.org>
5979 * frame.c (frame_conversion_internal): add conversion appropriate
5980 for setting frame dimensions in pixels.
5982 * console.h (struct console_methods): add device-specific widget
5985 * emacs.c (main_1): initialize glyph vars.
5987 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
5988 (handle_focus_event_2): new function. Allow focus to
5989 be set to a particular window and widget.
5990 (enqueue_focus_event): new function. Create a
5991 synthetic focus event.
5992 (emacs_Xt_handle_magic_event): call
5993 handle_focus_event_2.
5995 * frame.c (Fset_frame_pixel_height): new function. Allow
5996 pixel-based sizing. Does the right thing on character-oriented
5998 (Fset_frame_pixel_width): ditto.
5999 (Fset_frame_pixel_size): ditto.
6000 (syms_of_frame): declare.
6002 * general-slots.h: add :vertically-justify and
6003 :horizontally-justify.
6005 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
6006 (mswindows_widget_border_width): new function.
6007 (mswindows_combo_box_instantiate): set border widths.
6008 (console_type_create_glyphs_mswindows): declare.
6011 (check_valid_justification): allow vertical and horizontal
6013 (widget_border_width): new function. Call device methods.
6014 (widget_instance_border_width): ditto.
6015 (logical_unit_height): new function. Determine the height of a
6016 logical-unit. Logical units are intended to provide grid-like
6017 layout for subcontrols in a layout. If the layout is
6018 :vertically-justify top then subcontrols will be positioned on
6019 logical-unit boundaries, thus allowing adjacent subcontrols to
6021 (widget_logical_unit_height): ditto for widgets.
6022 (redisplay_widget): misc cleanup.
6023 (widget_spacing): new function. Call device specific
6024 methods. Intended to be the default gap between adjacent widgets.
6025 (widget_query_geometry): use new spacing functions to determine
6026 appropriate geometry.
6027 (initialize_widget_image_instance): initialize horizontal and
6028 vertical justification.
6029 (widget_instantiate): use logica-units where appropriate for
6030 sizing large widgets.
6031 (button_query_geometry): use widget_instance_border_width.
6032 (tree_view_query_geometry): ditto.
6033 (tab_control_query_geometry): ditto.
6034 (edit_field_query_geometry): new function.
6035 (layout_update): pick up :justify, :horizontally-justify and
6036 :vertically-justify none of which worked previously. :justify is
6037 used as a fallback for both horizontal and vertical justification.
6038 (layout_query_geometry): use logical units to size appropriately.
6039 (layout_layout): ditto.
6040 (Fwidget_logical_to_character_width): new function. Allow users to
6041 convert from logical units to characters so that frame sizes can
6042 be set appropriately.
6043 (Fwidget_logical_to_character_height): ditto.
6044 (syms_of_glyphs_widget): declare.
6045 (image_instantiator_edit_fields): add edit_field_query_geometry.
6046 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
6047 :horizontally-justify.
6048 (specifier_vars_of_glyphs_widget): new function. Declare
6049 Vwidget_border_width which is not yet used.
6051 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
6052 (x_widget_border_width): new function.
6053 (x_widget_instantiate): create a sensible name for widgets.
6054 (console_type_create_glyphs_x): declare x_widget_border_width.
6056 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
6057 (struct Lisp_Image_Instance): add :vertically-justify and
6058 :horizontally-justify.
6059 (LAYOUT_JUSTIFY_TOP): new.
6060 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
6061 (ROUND_UP): new macro. Round argument up to next integral
6064 * redisplay-output.c (redisplay_output_layout): misc formatting.
6066 * symsinit.h: declare specifier_vars_of_glyphs_widget.
6068 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
6070 * XEmacs 21.4.9 "Informed Management" is released.
6072 2002-08-19 Andy Piper <andy@xemacs.org>
6074 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
6077 * realpath.c (xrealpath): normalize drive spec also so that dir
6078 sep chars are not mixed on cygwin.
6080 2002-08-06 Jerry James <james@xemacs.org>
6082 * window.c (Fsplit_window): Count only half of the divider width
6083 against the left window when splitting horizontally.
6085 2002-06-24 Andy Piper <andy@xemacs.org>
6087 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
6088 toolbar was cleared.
6090 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
6091 function. Split out from mswindows_output_frame_toolbars.
6092 (mswindows_output_frame_toolbars): move clear pieces to
6093 mswindows_output_frame_toolbars.
6095 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
6096 out from gtk_output_frame_toolbars.
6097 (gtk_output_frame_toolbars): move clear pieces to
6098 gtk_clear_frame_toolbars.
6100 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
6101 the frame is cleared. How this ever worked before is a mystery.
6102 (x_output_frame_toolbars): Only output toolbars.
6103 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
6105 * gutter.c (update_gutter_geometry):
6106 Mark frame layout changed.
6107 (update_frame_gutter_geometry, update_frame_gutters):
6108 Respect frame_layout_changed.
6110 * console.h (struct console_methods): add
6111 clear_frame_toolbars_method.
6113 * redisplay.c (redisplay_frame): call
6114 update_frame_toolbars_geometry and re-order update_frame_toolbars.
6116 * toolbar.h: declare update_frame_toolbars_geometry.
6118 * toolbar.c (update_frame_toolbars_geometry): new function. Split
6119 out from update_frame_toolbars. Call clear_frame_toolbars.
6120 (update_frame_toolbars): only output, do not change geometry.
6122 * redisplay.c: add frame_layout_changed.
6124 * redisplay.h: add frame_layout_changed.
6125 (CLASS_RESET_CHANGED_FLAGS): set it.
6126 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
6127 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
6128 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
6130 * device.h (struct device): add frame_layout_changed.
6131 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
6133 * frame.h (struct frame): add frame_layout_changed.
6134 (MARK_FRAME_LAYOUT_CHANGED): new.
6136 2002-06-30 Mike Alexander <mta@arbortext.com>
6138 * event-msw.c (mswindows_need_event): Don't wait for a new message
6139 if the queue is not empty. Suggested by Paul Moore.
6141 2002-06-12 Andy Piper <andy@xemacs.org>
6143 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
6144 for printing on accurately.
6146 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
6148 * event-msw.c (mswindows_wnd_proc): Add a handler for the
6149 WM_ACTIVATE message. Make sure that the frame is visible if the
6150 window is visible. This seemss to fix the problem where XEmacs
6151 appears to freeze after switching desktops with certain virtual
6153 (debug_output_mswin_message): Added code to output message
6154 parameters for WM_WINDOWPOSCHANGED,
6155 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
6157 2002-05-25 Andy Piper <andy@xemacs.org>
6159 * select-x.c (vars_of_select_x): Fix docstring of
6160 x-selection-strict-motif-ownership
6162 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6164 * keymap.c (get_keymap):
6165 Add comment about do_autoload GCPROs own args.
6167 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6169 * bytecode.c (execute_optimized_program): check_opcode ifdef
6170 ERROR_CHECK_BYTE_CODE.
6172 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6174 Thanks to Ben Wing and Michael Sperber.
6176 * eval.c (Fcommand_execute):
6179 (Fmacroexpand_internal):
6180 (function_argcount):
6181 callint.c (Fcall_interactively):
6182 Add comment about do_autoload GCPROs own args.
6184 * (do_autoload): GCPRO both args as well as local Lisp_Object.
6186 * eval.c (Ffuncall): Extra braces to placate GCC.
6188 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
6190 * backtrace.h (grow_specpdl):
6192 * EmacsFrame.c (EmacsFrameSetValues):
6193 * eval.c (grow_specpdl):
6194 * ExternalShell.c (hack_event_masks_1):
6195 * glyphs-x.c (convert_EImage_to_XImage):
6196 (x_finalize_image_instance):
6197 * ralloc.c (page_size):
6199 * xgccache.c (gc_cache_hash):
6200 Fix unsigned comparison warnings.
6202 2002-07-29 Jerry James <james@xemacs.org>
6204 * lread.c (locate_file): Any nonnegative return value indicates
6205 success if MODE is nonnegative.
6207 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
6209 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
6212 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
6214 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
6216 * dumper.c (pdump_get_indirect_count):
6217 (pdump_scan_by_alignment):
6218 (pdump_dump_root_struct_ptrs):
6219 (pdump_dump_rtables):
6220 (pdump_dump_root_objects):
6222 * nas.c (WaveOpenDataForReading):
6223 * fns.c (print_bit_vector):
6224 * font-lock.c (SINGLE_SYNTAX_STYLE):
6225 * glyphs.c (check_for_ignored_expose):
6226 (find_matching_subwindow):
6228 * imgproc.c (get_histogram):
6229 * redisplay.c (point_in_line_start_cache):
6230 * redisplay-output.c (redisplay_unmap_subwindows):
6231 * symbols.c (defsymbol_massage_name_1):
6232 (defkeyword_massage_name):
6233 (deferror_massage_name_and_message):
6234 * redisplay-x.c (x_output_string):
6235 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
6236 * frame.h (struct frame):
6237 * filelock.c (current_lock_owner):
6238 * doprnt.c (emacs_doprnt_1):
6239 * lisp.h (struct Lisp_Bit_Vector):
6243 2002-02-13 Ben Wing <ben@xemacs.org>
6245 * event-stream.c (reset_key_echo):
6246 * event-stream.c (reset_this_command_keys):
6247 * event-stream.c (execute_command_event):
6248 If console is dead as a result of C-x 5 0, then post-command stuff
6249 needs to be careful and do only non-console-specific stuff.
6251 2002-07-01 Mike Sperber <mike@xemacs.org>
6253 * process-unix.c (unix_send_process): Mark coding_outstream as
6254 non-open upon SIGPIPE.
6256 * event-stream.c (Fnext_event): Reorder switch cases to something
6259 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
6261 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
6262 Don't bogusly reinitialize ascii_character property.
6264 2002-07-08 Mike Sperber <mike@xemacs.org>
6266 * process.c (Fstart_process_internal): Do error checking before we
6267 fork off the child, so the child can't muck with the state of the
6270 2002-07-08 Mike Sperber <mike@xemacs.org>
6272 * ralloc.c (init_ralloc): Allocate properly for pdump.
6274 2002-06-12 Andy Piper <andy@xemacs.org>
6276 * glyphs.c (query_string_geometry): check the string.
6278 * glyphs-widget.c (widget_logical_unit_height): cope with nil
6281 2002-06-17 Jerry James <james@xemacs.org>
6283 * sysdll.c: Remove RTLD_GLOBAL initialization.
6284 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
6286 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
6288 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
6290 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
6292 * sysdep.c (sys_rename): Make sys_rename work for the case where
6293 Windows rename sets errno to EACCES if target file exists.
6295 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
6297 * device-msw.c (mswindows_handle_page_setup_dialog_box):
6298 Fix detection of metric units to work on Win95
6300 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
6302 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
6304 2002-04-25 Andy Piper <andy@xemacs.org>
6306 * redisplay.c (create_text_block): Remove extra comment trailer.
6308 2002-04-24 Andy Piper <andy@xemacs.org>
6310 * redisplay.c (create_text_block): Don't actually add propagation
6311 data if the line ends after we have added a glyph.
6313 2002-04-22 Andy Piper <andy@xemacs.org>
6315 * extents.c (extent_fragment_update): check for glyphs we have
6316 previously displayed.
6317 * extents.c (print_extent_1): warning removal.
6318 * extents.h: change prototype.
6319 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
6320 widths correctly for wide glyphs.
6321 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
6322 * redisplay.c (prop_type): add PROP_GLYPH.
6323 * redisplay.c (struct prop_block): add glyph type
6324 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
6325 to the propagation data.
6326 * redisplay.c (create_text_block): if there is a glyph in the
6327 propagation data use it to salt extent_fragment_update.
6328 * redisplay.c (create_string_text_block): ditto.
6330 2002-04-13 Nix <nix@esperi.demon.co.uk>
6332 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
6333 * redisplay-output.c (compare_runes): Compare them.
6334 * redisplay.c: Update copyright date.
6335 * redisplay.c (pos_data): Add need_baseline_computation field.
6336 * redisplay.c (add_glyph_rune): Update ascent, descent, and
6337 need_baseline_computation; zero yoffset. Set max_pixmap_height
6338 for all pixmaps, not just automatically positioned ones.
6339 * redisplay.c (calculate_yoffset): New, compute yoffset values.
6340 * redisplay.c (calculate_baseline): New, compute textual baseline.
6341 * redisplay.c (add_glyph_rune): Call them.
6342 * redisplay.c (create_text_block): Likewise.
6343 * redisplay.c (create_overlay_glyph_block): Likewise.
6344 * redisplay.c (add_margin_runes): Likewise.
6345 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
6347 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
6348 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
6349 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
6350 * redisplay-msw.c (mswindows_output_string): Likewise.
6351 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
6352 * redisplay-gtk.c (gtk_output_display_block): Likewise.
6353 * redisplay-x.c (x_output_display_block): Likewise.
6355 2002-03-28 Ben Wing <ben@xemacs.org>
6357 * redisplay.c: Fixed bug in redisplay
6358 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
6359 and down of the lines, since they're bigger than the line
6360 size. (It was seen most obviously when there's a horizontal scroll
6361 bar, e.g. do C-h a glyph or something like that.) The problem was
6362 that the glyph-contrib-p setting on glyphs was ignored even if it
6363 was set properly, which it wasn't until now.
6365 2002-04-24 Andy Piper <andy@xemacs.org>
6367 * lisp.h (Dynarr_end): Fix definition.
6369 2002-02-06 Adrian Aichner <adrian@xemacs.org>
6371 * redisplay.c (mark_redisplay): Remove call to
6372 update_frame_window_mirror.
6374 2001-11-15 Andy Piper <andy@xemacs.org>
6376 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
6379 2002-02-13 Andy Piper <andy@xemacs.org>
6381 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
6382 we did in fact enqueue the XM_MAPFRAME event.
6384 2002-01-15 Adrian Aichner <adrian@xemacs.org>
6386 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
6387 to fix problem switching between virtual desktops under virtuawin
6388 virtual window manager.
6390 2001-07-30 Adrian Aichner <adrian@xemacs.org>
6392 * event-msw.c: Typo fix.
6393 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
6394 magic XM_MAPFRAME event has been sent.
6396 2001-11-23 Andy Piper <andy@xemacs.org>
6398 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
6400 2001-11-21 Andy Piper <andy@xemacs.org>
6402 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
6403 mouse events outside the frame.
6405 2002-03-20 Andy Piper <andy@xemacs.org>
6407 * menubar-msw.c (mswindows_popup_menu): warning removal.
6408 * dialog-msw.c (dialog_popped_down): ditto.
6410 2001-12-11 Andy Piper <andy@xemacs.org>
6412 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
6413 * dialog-msw.c (mswindows_make_dialog_box_internal): set
6415 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
6416 * menubar-msw.c (mswindows_handle_wm_command): ditto.
6417 * menubar-msw.c (mswindows_popup_menu): ditto.
6419 2001-10-29 Andy Piper <andy@xemacs.org>
6421 * dialog-msw.c (handle_directory_dialog_box): quit if the user
6424 2002-01-03 Andy Piper <andy@xemacs.org>
6426 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
6430 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
6432 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
6433 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
6434 * device-msw.c (mswindows_handle_page_setup_dialog_box):
6435 Detect and handle case where machine is set up for metric units
6437 2002-04-02 Andy Piper <andy@xemacs.org>
6439 * dired-msw.c (mswindows_get_files):
6440 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
6441 completely handled by XEmacs. Suggested by Thomas Vogler
6442 <mail@thomas-vogler.de>.
6444 2001-11-14 Andy Piper <andy@xemacs.org>
6446 * nt.c (REG_ROOT): change registry key to XEmacs.
6448 2002-04-27 Andy Piper <andy@xemacs.org>
6450 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
6452 2002-04-26 Andy Piper <andy@xemacs.org>
6454 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
6457 2002-03-14 Mike Alexander <mta@arbortext.com>
6459 * event-msw.c (mswindows_unwait_process): New, remove process from
6461 * process-nt.c (nt_finalize_process_data): Call
6462 mswindows_unwait_process
6463 * console-msw.h: Declare mswindows_unwait_process
6465 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
6467 * editfns.c (Fdecode_time):
6468 (Fformat_time_string):
6469 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
6470 (make_time): Warning elimination (change arg name).
6472 2001-11-24 Andy Piper <andy@xemacs.org>
6474 * window.c (Fsplit_window): Doc return type.
6476 2002-04-01 Andy Piper <andy@xemacs.org>
6478 * emacs.c (Fkill_emacs): Only output message box in interactive
6481 2002-04-26 Andy Piper <andy@xemacs.org>
6483 * config.h.in: pull in 21.5.x change to stop alloca warnings under
6486 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
6488 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
6491 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
6493 * XEmacs 21.4.8 "Honest Recruiter" is released.
6495 2002-05-07 Nix <nix@esperi.demon.co.uk>
6497 Supersedes 2002-04-17 patch.
6499 * process.h (PROCESS_LIVE_P): Use the process status as
6500 evidence of health, not the state of the input stream.
6501 (PROCESS_READABLE_P): Say if the process is readable
6502 from. (It may be dead nonetheless.)
6503 (CHECK_READABLE_PROCESS): Test for that condition.
6505 * process.c (create_process): Use PROCESS_READABLE_P.
6506 (read_process_output, set_process_filter): Likewise.
6508 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
6509 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
6511 This code is #if 0'd, this is not the time to add new functions:
6513 * process.c (Fprocess_readable_p): Report readability status.
6514 * process.c (Qprocess_readable_p): New, associated symbol...
6515 * process.c (syms_of_process): ... initialize it.
6517 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
6519 * XEmacs 21.4.7 "Economic Science" is released.
6521 2002-04-17 Nix <nix@esperi.demon.co.uk>
6523 * process.h (PROCESS_LIVE_P): Use the process status as
6524 evidence of health, not the state of the input stream.
6526 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
6528 * sysdep.c (sys_siglist): change "signum" to "signal"
6530 2001-04-21 Martin Buchholz <martin@xemacs.org>
6532 * s/darwin.h: New file.
6533 Thanks to Greg Parker <gparker@cs.stanford.edu>.
6535 2002-04-23 Andreas Jaeger <aj@suse.de>
6537 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
6538 which use lib64 for 64-bit libs.
6539 (START_FILES): Likewise.
6541 2002-02-11 Mike Sperber <mike@xemacs.org>
6544 (x_IO_error_handler):
6545 (x_init_device): Temporarily keep device in static variable
6546 `device_being_initialized' so we can recover gracefully from
6547 internal XOpenDevice failure. (XOpenDevice is documented to
6548 return NULL on failure, but sometimes calls the IO error handler
6551 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
6553 * dired.c (Ffile_name_all_completions): Change documentation --
6554 remove reference to completion-ignored-extensions.
6555 * dired.c (vars_of_dired): Change documentation for
6556 completion-ignored-extensions -- remove reference to
6557 file-name-all-completions.
6559 2002-03-06 Jerry James <james@xemacs.org>
6561 * emodules.c (emodules_load): Fix multiple loading of same module.
6563 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
6564 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
6565 RTLD_LAZY to avoid incorrect symbol binding when using nested
6566 shared libraries on Solaris.
6568 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
6570 * fileio.c (Ffind_file_name_handler): Improve docstring.
6572 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
6574 * fns.c (Fmapconcat): Improve docstring.
6576 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
6578 * device-gtk.c: Add prototype for
6579 emacs_gtk_selection_clear_event_handle.
6580 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
6581 selection. Setup signal handler for "selection_clear_event"
6582 (emacs_gtk_selection_clear_event_handle).
6584 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
6585 other applications owning the clipboard (based on
6586 x_handle_selection_clear).
6588 2001-12-23 William M. Perry <wmperry@gnu.org>
6590 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
6592 2002-01-04 Martin Buchholz <martin@xemacs.org>
6594 * keymap.c (define_key_alternate_name): Parenthesize EQ.
6596 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
6598 * XEmacs 21.4.6 "Common Lisp" is released.
6600 2001-12-16 Torsten Duwe <duwe@caldera.de>
6602 * search.c (Freplace_match): Add missing sub-expression functionality.
6604 * buffer.c (decode_buffer): Add a check for pointer type to
6605 decode_buffer, before gcc's CSE optimization reorders a
6606 dereference in front of the allow_string test.
6608 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
6610 * window.c (window_loop): Fix bug that sometimes prevented
6611 window_loop() from iterating across multiple devices. Also, at
6612 Ben's request, changed infloop-detecting code to abort() instead
6613 of silently terminating window_loop().
6615 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
6617 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
6618 * editfns.c (make_time): New function.
6619 (Fencode_time): Use it instead of wasteful_word_to_lisp.
6620 * lisp.h (make_time): Prototype and comment it.
6621 * dired.c (wasteful_word_to_lisp): Deprecate.
6622 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
6624 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
6626 * fileio.c (auto_save_1): Use current coding system, not
6629 2001-11-13 Ben Wing <ben@xemacs.org>
6632 * window.c (window_truncation_on):
6633 * window.c (syms_of_window):
6634 truncate-partial-width-windows should respect the buffer being
6635 displayed, like other redisplay vars.
6637 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
6639 * event-stream.c (Fread_key_sequence): save current buffer.
6641 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
6643 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
6645 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
6647 * alloc.c (lcrecord_stats): Add space for types defined in modules.
6649 2001-10-26 Mike Alexander <mta@arbortext.com>
6651 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
6653 2001-10-25 Andy Piper <andy@xemacs.org>
6656 * dialog-msw.c (handle_directory_proc): new function.
6657 (handle_directory_dialog_box): new fucntion.
6658 (handle_file_dialog_box): use new directory dialog support.
6659 (mswindows_make_dialog_box_internal): ditto.
6660 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
6662 (mswindows_find_frame): make global.
6663 * fileio.c (Fexpand_file_name): build fix.
6664 * general-slots.h: add Qdirectory.
6665 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
6667 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
6668 cygwin not leaving win32 paths unchanged.
6669 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
6670 cygwin runtime to do path conversion.
6671 (Fmswindows_shell_execute): fix cygwin handling of URLs.
6672 (syms_of_win32): add new function.
6673 * window.c (window_loop): build fix.
6675 2001-10-15 Andy Piper <andy@xemacs.org>
6677 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
6679 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
6681 * XEmacs 21.4.5 "Civil Service" is released.
6683 2001-04-08 Danny Colascione <qtmstr@optonline.net>
6685 * glyphs-x.c: Force buffer-tab highlight update when moving the
6686 buffer, avoiding an ugly black border, used for keyboard focus
6687 indication, on a widget that can never have keyboard focus, the
6690 2001-08-30 Daiki Ueno <ueno@unixuser.org>
6692 * process-unix.c (unix_open_multicast_group): Remove too much
6693 conversion between host and network byte order.
6695 2001-09-10 Nix <nix@esperi.demon.co.uk>
6697 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
6698 before replacing them.
6700 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
6703 * src/window.c (undedicate_windows): Use it.
6704 * src/window.h: Add prototype.
6706 2001-09-17 Ben Wing <ben@xemacs.org>
6708 * fileio.c (normalize_filename):
6709 * fileio.c (Fexpand_file_name):
6710 Fix various C++ compile errors in Andy's recent code.
6712 * callint.c (Fcall_interactively):
6713 * editfns.c (Ftemp_directory):
6714 * editfns.c (Fuser_full_name):
6715 * emacs.c (argmatch):
6716 * lread.c (locate_file_map_suffixes):
6717 * redisplay-x.c (x_ring_bell):
6718 Fix sign-compare warnings.
6720 2001-09-08 Andy Piper <andy@xemacs.org>
6722 * fileio.c (normalize_filename): copied from nt.c
6723 * (Ffile_name_directory): enable win32 paths under cygwin.
6724 * (Ffile_name_nondirectory): ditto.
6725 * (directory_file_name): ditto.
6726 * (Fexpand_file_name): ditto.
6727 * (Ffile_truename): ditto.
6728 * (Fsubstitute_in_file_name): ditto.
6729 * (Ffile_name_absolute_p): ditto.
6730 * (Ffile_readable_p): ditto.
6732 2001-09-08 Andy Piper <andy@xemacs.org>
6734 * device-msw.c (mswindows_finish_init_device): remove dde
6736 * device-msw.c (mswindows_init_dde): factor out from
6737 mswindows_finish_init_device()
6738 * device-msw.c (init_mswindows_very_early): new function
6739 initialize but don't enable dde.
6740 * emacs.c (main_1): call init_mswindows_very_early.
6742 * event-msw.c (mswindows_dde_callback): only execute when we are
6744 * symsinit.h: declare init_mswindows_very_early.
6746 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6748 [sjt: This has been in 21.5 for months with no complaints.]
6750 * console.h (struct console_methods): Added flags member.
6751 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
6752 (CONMETH_IMPL_FLAG):
6753 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
6754 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
6756 * device.c (window_system_pixelated_geometry): Use the above macros.
6758 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
6759 implememntation flag.
6760 * device.h (DEVICE_DISPLAY_P): Use it.
6762 * frame.c (delete_frame_internal): Use the above macro.
6764 * redisplay.c (redisplay_device): Use it.
6765 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
6766 (redisplay_frame): Ditto.
6768 * device-msw.c (mswindows_device_implementation_flags): Removed.
6769 (msprinter_device_implementation_flags): Removed.
6770 (console_type_create_device_mswindows): Removed references to
6771 implementation_flags methods, set implementation flags here.
6772 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
6774 * device-gtk.c (gtk_device_implementation_flags): Removed method.
6775 (console_type_create_device_gtk): Removed method declaration.
6776 Added commented out statement which semantically matches the
6777 commented out statement in the above removed method.
6779 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
6781 The attached patch fixes a few warnings.
6783 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
6784 * src/frame-gtk.c: guard against GNOME calls in GTK only
6785 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
6786 * src/select-gtk.c: prototype lisp_to_time
6788 2001-06-08 Ben Wing <ben@xemacs.org>
6790 ------ gc-in-window-procedure fixes ------
6793 * alloc.c (struct post_gc_action):
6794 * alloc.c (register_post_gc_action):
6795 * alloc.c (run_post_gc_actions):
6796 * alloc.c (garbage_collect_1):
6797 Create "post-gc actions", to avoid those dreaded "GC during window
6798 procedure" problems.
6801 Abort, clean and simple, when GC in window procedure. We want
6802 to flush these puppies out.
6805 * glyphs-msw.c (finalize_destroy_window):
6806 * glyphs-msw.c (mswindows_finalize_image_instance):
6807 Use a post-gc action when destroying subwindows.
6810 Declare register_post_gc_action().
6813 * scrollbar-msw.c (unshow_that_mofo):
6814 Use a post-gc action when unshowing scrollbar windows, if in gc.
6816 * redisplay.c (mark_redisplay):
6817 Add comment about the utter evilness of what's going down here.
6819 ------ cygwin setitimer fixes ------
6821 * Makefile.in.in (sheap_objs):
6822 * Makefile.in.in (profile_objs):
6823 * Makefile.in.in (objs):
6824 Compile profile.c only when HAVE_SETITIMER.
6826 * nt.c (mswindows_sigset):
6827 * nt.c (mswindows_sighold):
6828 * nt.c (mswindows_sigrelse):
6829 * nt.c (mswindows_sigpause):
6830 * nt.c (mswindows_raise):
6831 * nt.c (close_file_data):
6835 Move setitimer() emulation to win32.c, because Cygwin needs it too.
6838 * profile.c (Fstart_profiling):
6839 * profile.c (Fstop_profiling):
6840 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
6841 instead of just plain setitimer().
6844 * signal.c (set_one_shot_timer):
6846 Define qxe_setitimer() as an encapsulation around setitimer() --
6847 call setitimer() directly unless Cygwin or MS Win, in which case
6848 we use our simulated version in win32.c.
6851 * systime.h (struct itimerval):
6852 * systime.h (ITIMER_REAL):
6853 Prototype mswindows_setitimer() and qxe_setitimer(). Long
6854 comment about "qxe" and the policy regarding encapsulation.
6857 * win32.c (setitimer_helper_proc):
6858 * win32.c (setitimer_helper_period):
6859 * win32.c (setitimer_helper):
6860 * win32.c (mswindows_setitimer):
6861 Move setitimer() emulation here, so Cygwin can use it.
6862 Rename a couple of functions and variables to be longer and more
6863 descriptive. In setitimer_helper_proc(), send the signal
6864 using either mswindows_raise() or (on Cygwin) kill(). If for
6865 some reason we are still getting lockups, we'll change the kill()
6866 to directly invoke the signal handlers.
6868 ------ windows shell fixes ------
6872 Comments about how these two files must die.
6874 * callproc.c (init_callproc):
6875 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
6876 not just COMSPEC. (more correct and closer to FSF.) Don't
6877 force a value for SHELL into the environment. (Comments added
6878 to explain why not.)
6880 * nt.c (init_user_info):
6881 Don't shove a fabricated SHELL into the environment. See above.
6883 2001-06-01 Ben Wing <ben@xemacs.org>
6885 * Makefile.in.in (ldflags):
6886 eliminate that pesky "defaulting to 00401000" warning.
6890 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
6892 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
6893 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
6895 2001-04-24 Jerry James <james@xemacs.org>
6897 * faces.h: pass parameters to Fadd_spec_to_specifier in the
6900 2001-06-01 Ben Wing <ben@xemacs.org>
6902 * event-msw.c (debug_mswin_messages):
6903 conditionalize the messages that were causing compile errors.
6904 (if only macros could generate #ifdef statements ...)
6906 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
6908 * XEmacs 21.4.4 "Artificial Intelligence" is released.
6910 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
6912 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
6914 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
6916 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
6917 * process-unix.c (unix_canonicalize_host_name):
6918 sysdep.c (init_system_name):
6919 Use it to conditionally support IPv6 canonicalization.
6921 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
6924 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
6926 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
6928 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
6929 attempt is made to scroll when no scroll bar is available.
6931 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
6933 * input-method-motif.c (XIM_delete_frame): New callback.
6934 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
6935 got deleted from 21.4.3.)
6937 2001-06-01 Ben Wing <ben@xemacs.org>
6939 * nt.c (mswindows_utime):
6940 * nt.c (close_file_data):
6941 fix off-by-one-indirection error.
6943 2001-05-29 Adrian Aichner <adrian@xemacs.org>
6945 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
6946 because set_file_times() now takes Lisp_Object path, instead of
6948 * nt.c: Include buffer.h.
6949 * nt.c (convert_from_time_t): New.
6950 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
6951 not set mtime correctly.
6952 * nt.h: Declare mswindows_utime().
6953 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
6954 path, instead of char*.
6955 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
6957 2001-05-30 Ben Wing <ben@xemacs.org>
6961 (Stephen, just take all event-msw.c patches. This includes
6962 the "iconify" fix below.)
6965 * event-msw.c (mswindows_dequeue_dispatch_event):
6966 * event-msw.c (assert):
6967 * event-msw.c (emacs_mswindows_quit_p):
6968 * event-msw.c (debug_mswin_messages):
6969 * event-msw.c (debug_output_mswin_message):
6970 * event-msw.c (vars_of_event_mswindows):
6971 Fix yet more problems with C-g handling.
6972 Implement debug-mswindows-events.
6974 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6976 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
6978 2001-05-23 Ben Wing <ben@xemacs.org>
6980 * event-msw.c (winsock_writer):
6981 * event-msw.c (winsock_closer):
6982 prior kludgy code was clobbering the buffer, thinking it was
6983 "unused" space to store an unneeded return value; instead, use
6984 the variable we've already got staring us in the face.
6986 2001-05-17 Andy Piper <andy@xemacs.org>
6988 * sysfile.h: don't assume that file attributes are boolean
6990 2001-05-23 Ben Wing <ben@xemacs.org>
6992 * device-msw.c (msprinter_init_device):
6993 signal an error rather than crash with an unavailable network
6994 printer (from Mike Alexander).
6997 * event-msw.c (struct winsock_stream):
6998 * event-msw.c (winsock_writer):
6999 * event-msw.c (winsock_closer):
7000 * event-msw.c (make_winsock_stream_1):
7001 cleanup headers. fix (hopefully) an error with data corruption
7002 when sending to a network connection.
7004 * fileio.c (Fexpand_file_name): Fix evil code that attempts
7005 to handle the ~user prefix by (a) always assuming we're referencing
7006 ourselves and not even verifying the user -- hence any file with
7007 a tilde as its first char is invalid! (b) if there wasn't a slash
7008 following the filename, the pointer was set *past* the end of
7009 file and we started reading from uninitialized memory. Now we
7010 simply treat these as files, always.
7012 * buffer.c (common_init_complex_vars_of_buffer): comment change.
7014 2001-05-19 Ben Wing <ben@xemacs.org>
7016 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
7019 * process-nt.c (vars_of_process_nt):
7020 remove unused mswindows-quote-process-args. rec for 21.4.
7022 2001-05-12 Ben Wing <ben@xemacs.org>
7024 * event-msw.c (mswindows_dde_callback):
7025 * event-msw.c (mswindows_wnd_proc):
7026 eliminate cygwin warnings.
7028 2001-05-06 Ben Wing <ben@xemacs.org>
7032 * device-msw.c (print_dialog_worker):
7033 * device-msw.c (mswindows_handle_print_dialog_box):
7034 * device-msw.c (syms_of_device_mswindows):
7035 * dialog-msw.c (mswindows_make_dialog_box_internal):
7037 implement printing the selection when it's selected.
7039 2001-05-20 Drazen Kacar <dave@arsdigita.com>
7041 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
7043 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
7045 * lisp.h (EMACS_INT_MAX): This should be one bit less since
7046 EMACS_INT is signed.
7048 2001-04-15 Michael Lausch <mla@1012surf.net>
7050 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
7051 gtk_widget_request_size() to give scrollbar >0 width for
7054 2001-05-30 William M. Perry <wmperry@gnu.org>
7056 * event-gtk.c: Check for buttons as modifier keys.
7058 2001-05-25 Craig Lanning <CraigL@Knology.net>
7061 Properly find MinGW's <process.h> inside Cygwin's restructured
7062 include directories. Don't try to include <cygwin/version.h>
7063 since we are dropping support for MinGW in versions of Cygwin
7066 Drop support for MinGW in versions of Cygwin before b21.
7068 Properly find MinGW's <process.h> inside Cygwin's restructured
7069 include directories.
7071 Drop support for MinGW in versions of Cygwin before b21.
7073 Even though a.out.h is no longer detected by configure, allow
7074 MinGW to use it until we figure out how to do the job with Win32.
7076 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
7078 * syntax.c (find_start_of_comment):
7079 Fix `unbalanced parentheses' bug when dealing with mixed comment
7080 styles in c++/java/etc. mode
7082 2001-05-29 Mike Alexander <mta@arbortext.com>
7084 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
7085 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
7087 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
7089 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
7091 2001-03-31 Mike Sperber <mike@xemacs.org>
7093 * search.c (Freplace_match): Support FSF-style specification of
7094 match subexpression when applied to a buffer.
7096 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
7098 * event-stream.c (is_scrollbar_event): add missing semicolon
7100 2001-05-22 Isaac Hollander <ysh@mindspring.com>
7102 * Makefile.in.in: Use TAR macro instead of hardcoding
7103 tar. Allows use of GNU tar instead of system tar
7105 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
7107 * event-stream.c (is_scrollbar_event): add missing semicolon
7109 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
7111 * XEmacs 21.4.3 "Academic Rigor" is released.
7113 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
7115 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
7117 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
7119 * buffer.c (Vcase_fold_search): Remove obsolete
7120 comment about non ASCII case-fold-search. This
7121 bug has been fixed by case-table changes.
7123 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
7125 * event-msw.c: Restore include of events-mod.h.
7127 2001-04-22 zhaoway <zw@debian.org>
7129 * event-stream.c (is_scrollbar_event): Noop returning 0 if
7132 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
7134 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
7136 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
7138 * mule-charset.c (Fmake_charset): Add missing else.
7140 2001-04-23 Ben Wing <ben@xemacs.org>
7142 * event-msw.c (FAKE_MOD_QUIT):
7143 * event-msw.c (mswindows_dequeue_dispatch_event):
7144 * event-msw.c (mswindows_wnd_proc):
7145 * event-msw.c (emacs_mswindows_quit_p):
7146 Get critical quit working.
7148 2001-05-05 Ben Wing <ben@xemacs.org>
7152 * device-msw.c (mswindows_get_default_margin):
7153 * frame-msw.c (mswindows_size_frame_internal):
7154 * frame-msw.c (msprinter_init_frame_1):
7155 * frame-msw.c (vars_of_frame_mswindows):
7156 Change top/bottom margin defaults to 0.5 inches.
7158 2001-05-01 Martin Buchholz <martin@xemacs.org>
7160 Fix link error with gcc 3.0 on Linux.
7161 * terminfo.c (UP): Remove.
7162 * terminfo.c (BC): Remove.
7163 * terminfo.c (PC): Remove.
7164 They weren't used, and in any case, these symbols should be
7165 defined in the *library*.
7167 2001-05-03 Martin Buchholz <martin@xemacs.org>
7169 * s/aix4.h: Fix crash with xlc -O3.
7170 Improve comment explaining how -O3 works.
7172 2001-04-15 Ben Wing <ben@xemacs.org>
7175 * event-stream.c (Fnext_event):
7176 * event-stream.c (is_scrollbar_event):
7177 * event-stream.c (execute_command_event):
7178 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
7179 crash' problem. His fix introduces other problems. We filter
7180 out scrollbar events specifically, making them somewhat invisible
7181 to command-building, and not appearing in `this-command-keys'.
7182 More work is still needed (see comments in event-stream.c), but
7183 this fixes all the major problems.
7185 2001-04-20 Ben Wing <ben@xemacs.org>
7187 * .cvsignore: Added stuff for Windows.
7189 2001-04-28 Ben Wing <ben@xemacs.org>
7191 * buffer.c (Ferase_buffer):
7192 * editfns.c (buffer_insert1):
7193 * editfns.c (Finsert_before_markers):
7194 * editfns.c (Finsert_string):
7195 * editfns.c (Finsert_char):
7196 * editfns.c (Fdelete_region):
7197 * editfns.c (Fwiden):
7198 * editfns.c (Fnarrow_to_region):
7199 remove bogus lines setting zmacs_region_stays to 0.
7201 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
7203 * process-unix.c (unix_open_network_stream): If connect() fails
7204 invalidate file descriptor after closing it.
7206 2001-03-08 Mike Alexander <mta@arbortext.com>
7208 * event-msw.c (mswindows_need_event_in_modal_loop):
7209 Don't dispatch a message if we didn't get one.
7210 (mswindows_need_event):
7211 Terminate the correct process when one exits instead of the first
7212 one on Vprocess_list and look for process termination when in
7213 mswindows_protect_modal_loop.
7215 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
7217 * XEmacs 21.4.1 "Copyleft" is released.
7219 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
7221 * input-method-motif.c (XIM_delete_frame): New callback.
7222 (XIM_init_frame): Register it.
7224 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
7226 * XEmacs 21.4.0 "Solid Vapor" is released.
7228 2001-04-15 Ben Wing <ben@xemacs.org>
7230 * cmdloop.c (call_command_loop):
7231 Fix braino in bit-rotting code.
7233 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
7235 * extents.c (Fset_extent_endpoints): Force creation of extent info
7236 in buffer_or_string.
7238 * extents.c (process_extents_for_insertion_mapper): Correctly
7239 check for open-open zero-length extents.
7241 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
7243 * lisp.h: New typedefs Memory_count, Element_count.
7246 Sign-compare warning elimination: several unsigned -> signed.
7247 Based on work by Ben Wing <ben@xemacs.org>.
7249 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
7251 * XEmacs 21.2.47 "Zephir" is released.
7253 2001-04-02 Jan Vroonhof <jan@xemacs.org>
7255 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
7257 2001-04-03 Mike Sperber <mike@xemacs.org>
7259 * search.c: Revert previous patch due because of release.
7261 2001-03-30 Ben Wing <ben@xemacs.org>
7264 Add missing killpg prototype.
7267 Add a comment about fixing problems when a new entry is added
7270 * frame-msw.c (mswindows_init_frame_1):
7271 Fix compile warnings.
7273 * menubar.c (vars_of_menubar):
7274 Provide `menu-accelerator-support' to indicate that we properly
7275 support %_ in menu specifications, so that package code can
7276 conditionalize on this (and remove %_ from menu specifications
7281 * scrollbar-msw.c (can_scroll):
7283 Fix handling of mouse wheel under Windows to follow standards --
7284 now scrolls window under pointer, not selected window.
7286 2001-03-31 Mike Sperber <mike@xemacs.org>
7288 * search.c (Freplace_match): Support FSF-style specification of
7289 match subexpression when applied to a buffer.
7291 2001-03-15 Martin Buchholz <martin@xemacs.org>
7293 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
7294 function to modify KEYMAP, so map over a copy of the hash table.
7296 2001-03-21 Martin Buchholz <martin@xemacs.org>
7298 * XEmacs 21.2.46 "Urania" is released.
7300 2001-03-20 Dan Holmsand <dan@eyebee.com>
7302 * realpath.c (xrealpath): Make file-truename work with symlinks to
7303 /cygdrive paths on cygwin. Always lowercase drive-letters on
7305 (cygwin_readlink): Don't try to find canonical filename unless
7308 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
7310 * ChangeLog: Log GTK merge.
7316 Revert gratuitous whitespace changes from GTK merge.
7318 * emacs.c: Document end of complex #ifdef @ l. 1495.
7321 2001-03-12 Andy Piper <andy@xemacs.org>
7323 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
7324 have to do likewise.
7326 2001-03-12 Andy Piper <andy@xemacs.org>
7328 * sysdep.c: we only support mingw now.
7330 2001-03-09 Andy Piper <andy@xemacs.org>
7332 * unexcw.c (copy_executable_and_dump_data_section): making approx
7333 overrun a warning only.
7335 2001-03-10 William M. Perry <wmperry@aventail.com>
7337 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
7338 satisfy Stephen's identical-after-cpp plea.
7340 2001-03-02 Ben Wing <ben@xemacs.org>
7343 * cmds.c (Fforward_char):
7347 Augment documentation of the most common motion commands to make
7348 note of the shifted-motion support.
7350 2001-03-02 Ben Wing <ben@xemacs.org>
7352 * nt.c (mswindows_fstat):
7353 * nt.c (mswindows_stat):
7354 * search.c (boyer_moore):
7355 Fix compile warnings under Windows.
7357 * sysdep.c (sys_readdir):
7358 Fix buggy filename-conversion code under Mule.
7360 2001-03-09 William M. Perry <wmperry@aventail.com>
7382 * redisplay-output.c:
7388 The Great GTK Merge.
7395 * emacs-widget-accessors.c:
7409 * native-gtk-toolbar.c:
7420 The Great GTK Merge: new files.
7422 2001-02-26 Ben Wing <ben@xemacs.org>
7424 Reapplied Lstream change.
7426 2001-02-26 Ben Wing <ben@xemacs.org>
7428 Undid the last change, since it is more controversial than I
7429 thought. It should be back in at some point soon.
7431 2001-02-25 Ben Wing <ben@xemacs.org>
7434 * callproc.c (Fold_call_process_internal):
7435 * event-msw.c (ntpipe_slurp_reader):
7436 * event-msw.c (ntpipe_shove_writer):
7437 * event-msw.c (winsock_reader):
7438 * event-msw.c (winsock_writer):
7440 * file-coding.c (detect_eol_type):
7441 * file-coding.c (detect_coding_type):
7442 * file-coding.c (determine_real_coding_system):
7443 * file-coding.c (Fdetect_coding_region):
7444 * file-coding.c (decoding_reader):
7445 * file-coding.c (decoding_writer):
7446 * file-coding.c (mule_decode):
7447 * file-coding.c (Fdecode_coding_region):
7448 * file-coding.c (encoding_reader):
7449 * file-coding.c (encoding_writer):
7450 * file-coding.c (mule_encode):
7451 * file-coding.c (Fencode_coding_region):
7452 * file-coding.c (detect_coding_sjis):
7453 * file-coding.c (decode_coding_sjis):
7454 * file-coding.c (encode_coding_sjis):
7455 * file-coding.c (detect_coding_big5):
7456 * file-coding.c (decode_coding_big5):
7457 * file-coding.c (encode_coding_big5):
7458 * file-coding.c (detect_coding_ucs4):
7459 * file-coding.c (decode_coding_ucs4):
7460 * file-coding.c (encode_coding_ucs4):
7461 * file-coding.c (detect_coding_utf8):
7462 * file-coding.c (decode_coding_utf8):
7463 * file-coding.c (encode_coding_utf8):
7464 * file-coding.c (detect_coding_iso2022):
7465 * file-coding.c (decode_coding_iso2022):
7466 * file-coding.c (encode_coding_iso2022):
7467 * file-coding.c (decode_coding_no_conversion):
7468 * file-coding.c (encode_coding_no_conversion):
7469 * glyphs-x.c (write_lisp_string_to_temp_file):
7470 * gpmevent.c (tty_get_foreign_selection):
7473 * lstream.c (Lstream_flush_out):
7474 * lstream.c (Lstream_adding):
7475 * lstream.c (Lstream_write_1):
7476 * lstream.c (Lstream_write):
7477 * lstream.c (Lstream_raw_read):
7478 * lstream.c (Lstream_read_more):
7479 * lstream.c (Lstream_read):
7480 * lstream.c (Lstream_unread):
7481 * lstream.c (Lstream_fputc):
7482 * lstream.c (stdio_reader):
7483 * lstream.c (stdio_writer):
7484 * lstream.c (filedesc_reader):
7485 * lstream.c (filedesc_writer):
7486 * lstream.c (lisp_string_reader):
7487 * lstream.c (struct fixed_buffer_stream):
7488 * lstream.c (make_fixed_buffer_input_stream):
7489 * lstream.c (make_fixed_buffer_output_stream):
7490 * lstream.c (fixed_buffer_reader):
7491 * lstream.c (fixed_buffer_writer):
7492 * lstream.c (struct resizing_buffer_stream):
7493 * lstream.c (resizing_buffer_writer):
7494 * lstream.c (dynarr_writer):
7495 * lstream.c (lisp_buffer_reader):
7496 * lstream.c (lisp_buffer_writer):
7498 * lstream.h (lstream_implementation):
7499 * lstream.h (struct lstream):
7501 * process-nt.c (nt_send_process):
7502 * process-unix.c (unix_send_process):
7504 Correct Lstream lossage due to mixing of signed and unsigned
7505 quantities. All Lstream uses of size_t and ssize_t are now a
7506 single signed data type Lstream_data_count. This fixes problems
7507 under Windows with sending large quantities of data to a process,
7508 and may well fix other subtle bugs.
7510 2001-02-23 Martin Buchholz <martin@xemacs.org>
7512 * XEmacs 21.2.45 "Thelxepeia" is released.
7514 2001-02-21 Martin Buchholz <martin@xemacs.org>
7516 * lisp-union.h (XSETINT):
7519 Reverse previous change of 2001-02-06.
7521 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
7523 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
7525 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
7526 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
7527 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
7528 * regex.c (POS_AS_IN_BUFFER): removed
7529 * regex.c (re_search_2):
7530 * regex.c (re_match_2):
7531 Don't use an offset of 1 when calculating buffer positions, since
7532 `BI_BUF_BEGV' does it already.
7534 2001-02-18 Wim Dumon <wim@easics.be>
7536 * insdel.c (prepare_to_modify_buffer): Also check for
7537 supersession when clash-detection is enabled.
7539 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
7541 * regex.c (re_match_2_internal):
7542 Convert temp characters from 'const unsigned char' to 're_char'.
7543 Fix crashing bug with extended characters under mule.
7544 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
7545 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
7546 font-lock, pdump, and new syntax-table code.
7547 * syntax.c (find_start_of_comment):
7548 (find_end_of_comment):
7550 Fix crashing bugs involving moving beyond end of buffer.
7551 * syntax.c (find_start_of_comment):
7552 Fixed logic to allow proper detection of cases where the same
7553 character is used to end both a two-char comment start and a
7554 two-char comment end sequence. Fixes `(forward-comment -1)'.
7555 * syntax.c (find_start_of_comment):
7556 Return position just past last comment-end character for all cases
7557 (previously was only done for two-char comment-end sequences).
7558 * syntax.c (forward-comment):
7559 Take value returned from `find_end_of_comment', rather than
7561 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
7562 Properly deal with BUFFERP (syntax_cache.object)
7564 2001-02-17 Martin Buchholz <martin@xemacs.org>
7566 * alloc.c (Fgarbage_collect):
7567 * alloc.c (make_bit_vector_from_byte_vector):
7568 -Wsign-compare-correctness.
7570 2001-02-16 Martin Buchholz <martin@xemacs.org>
7572 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
7573 (XSETCHAR): Likewise.
7574 (XSETOBJ): Likewise.
7576 2001-02-15 Martin Buchholz <martin@xemacs.org>
7578 * mule-canna.c (canna-func-delete_previous):
7579 Rename to canna-func-delete-previous.
7581 2001-02-14 Martin Buchholz <martin@xemacs.org>
7583 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
7585 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
7587 * font-lock.c (find_context): Fix C++ compile errors introduced by
7590 2001-02-13 Martin Buchholz <martin@xemacs.org>
7592 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
7593 pragma, but earlier ones barf on the same pragma.
7595 2001-02-06 Mike Sperber <mike@xemacs.org>
7597 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
7598 `configure-mule-lisp-directory'.
7600 2001-02-12 Martin Buchholz <martin@xemacs.org>
7602 Make sure dump-id.c is compiled in the same way as other .c's.
7603 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
7604 * dump-id.h: Remove.
7605 * emacs.c: Move dump-id.h into dumper.h.
7606 * dumper.h: Move dump-id.h into dumper.h.
7608 Use standard .c.o rule for building dump-id.o.
7609 Remove preprocessor flags from link command.
7610 Add dump-id.o to ${otherobjs} if PDUMP.
7612 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
7614 Port FSF 20.7 syntax table improvements.
7618 Fixups for new syntax table stuff.
7619 * dired.c: Include syntax.c.
7620 (Fdirectory_files): Initialize regex_match_object and
7622 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
7623 and Fget_char_property.
7625 Use ported FSF 20.7 syntax table improvements.
7630 2001-02-09 Martin Buchholz <martin@xemacs.org>
7632 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
7633 Unixware's enum boolean from sys/types.h.
7635 2001-02-10 Martin Buchholz <martin@xemacs.org>
7637 Fix support for building with latest Purify.
7638 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
7639 (PURIFY_FLAGS): Likewise.
7641 2001-02-09 Martin Buchholz <martin@xemacs.org>
7643 * fileio.c (lisp_string_set_file_times): New.
7644 * fileio.c (Fcopy_file): Use it.
7646 (copy-file filename non-ascii-filename t t)
7647 ==> No such file or directory, non-ascii-filename
7649 2001-02-10 Martin Buchholz <martin@xemacs.org>
7651 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
7652 USHRT_MAX seems clearer than ~0 anyways.
7654 2001-02-09 Martin Buchholz <martin@xemacs.org>
7656 dumper improvements. Inspired by Olivier.
7657 * dumper.c (pdump_max_align): New.
7658 * dumper.c (pdump_add_entry): Use pdump_max_align.
7659 * dumper.c (pdump_get_entry_list): Likewise.
7660 * dumper.c (pdump_scan_by_alignment): Likewise.
7661 Don't iterate through unnecessary alignments.
7662 * dumper.c (pdump_file_get): No need to align result of malloc().
7663 * dumper.c (pdump_mallocadr): Remove.
7664 The result of malloc() is guaranteed to be maximally aligned.
7665 * dumper.c: s/elmt/elt/g;
7666 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
7667 * dumper.c (pdump_alert_undump_object): Likewise.
7668 * dumper.c (pdump_align_table):
7669 Don't support alignments > 64.
7670 Store ALIGNOF's, not shift counts, in table.
7672 2001-02-09 Martin Buchholz <martin@xemacs.org>
7674 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
7675 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
7676 * systime.h: Use HAVE_UTIME.
7677 * sysdep.c (struct utimbuf): Remove.
7678 * sysdep.c (set_file_times): Prefer utime() to utimes().
7679 * config.h.in (HAVE_UTIME): New.
7680 * config.h.in (HAVE_UTIME_H): Remove.
7681 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
7683 2001-02-09 Martin Buchholz <martin@xemacs.org>
7685 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
7687 2001-02-08 Martin Buchholz <martin@xemacs.org>
7689 * s/irix6-0.h: Use the standard system memmove, not bcopy.
7691 2001-02-08 Martin Buchholz <martin@xemacs.org>
7693 * XEmacs 21.2.44 "Thalia" is released.
7695 2001-02-06 Martin Buchholz <martin@xemacs.org>
7697 Fixes crashes in kill-emacs on some systems.
7698 * process-unix.c (unix_kill_child_process):
7699 It's OK for kill() to fail with ESRCH.
7701 2001-02-07 Martin Buchholz <martin@xemacs.org>
7703 Contortions to make .gdbinit tricks work on most systems.
7704 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
7705 * alloc.c (dbg_valmask): Make non-const.
7706 * alloc.c (dbg_typemask): Make non-const.
7707 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
7708 * alloc.c (dbg_valbits): Make non-const.
7709 * alloc.c (dbg_gctypebits): Make non-const.
7710 * .gdbinit (decode_object): Make it work with AIX cc.
7712 2001-02-06 Martin Buchholz <martin@xemacs.org>
7714 * elhash.c (make_general_lisp_hash_table):
7715 Use simpler and more efficient calloc to clear entries.
7717 2001-02-07 Martin Buchholz <martin@xemacs.org>
7719 * window.c (window_scroll): Work around an AIX C compiler bug.
7720 Fixes 'scroll-up' does nothing problem with xlC.
7722 2001-02-05 Martin Buchholz <martin@xemacs.org>
7724 * .gdbinit: Remove obsolete comment.
7726 2001-01-31 Mike Alexander <mta@arbortext.com>
7728 * select.c (Fown_selection_internal): Set owned_p for device
7731 2001-02-01 Martin Buchholz <martin@xemacs.org>
7734 "not" cannot be used as a macro name as it is an operator in C++
7735 * config.h.in: Stop #defining `not'.
7736 * chartab.c (check_category_char): not ==> not_p
7737 * chartab.h: Likewise.
7738 * regex.c (re_match_2_internal): Likewise.
7740 2001-02-02 Martin Buchholz <martin@xemacs.org>
7742 * lisp-disunion.h: Fix up comments.
7744 2001-01-31 Martin Buchholz <martin@xemacs.org>
7746 * keymap.c (define_key_check_and_coerce_keysym):
7748 Support mouse-6 and mouse-7 bindings in the obvious way.
7750 2001-02-01 Martin Buchholz <martin@xemacs.org>
7752 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
7754 2001-01-30 Martin Buchholz <martin@xemacs.org>
7756 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
7757 Previous patch missed DEFVAR_INT_MAGIC.
7758 Make sure future DEFVAR_foo use correct types.
7759 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
7760 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
7761 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
7762 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
7763 * (DEFVAR_INT): Likewise.
7764 * redisplay.c (vertical_clip): Should be of type Fixnum.
7765 * redisplay.c (horizontal_clip): Likewise.
7766 * lisp.h (dump_add_opaque_int): New.
7767 (dump_add_opaque_fixnum): New.
7769 2001-01-29 Andy Piper <andy@xemacs.org>
7771 * glyphs-widget.c (check_valid_int_or_function): allow symbols
7772 since they can be eval'ed
7774 2001-01-29 Martin Buchholz <martin@xemacs.org>
7776 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
7777 Oops, XEmacs redefines `class'. Use `typename' instead.
7779 2001-01-28 Martin Buchholz <martin@xemacs.org>
7781 * dumper.c: Fix C++ compile errors.
7783 2001-01-29 Martin Buchholz <martin@xemacs.org>
7785 * tparam.c: Use correct prototypes.
7787 2001-01-28 Martin Buchholz <martin@xemacs.org>
7789 * sysproc.h: #include util.h for NetBSD's openpty.
7791 2001-01-27 Martin Buchholz <martin@xemacs.org>
7793 More 64-bit correctness.
7794 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
7795 Use a typedef `fixnum' for the type used for DEFVAR_INT.
7797 This finally finishes the 64-bit SGI port.
7798 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
7799 * symbols.c: Fix up comments and type casts.
7800 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
7801 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
7802 * symeval.h (Fixnum): New type.
7803 * symeval.h (symbol_value_type): Fix up comment.
7819 * mule-canna.c: A million DEFVAR_INTs here...
7820 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
7833 s/int/Fixnum/g in DEFVAR_INT declarations.
7835 2001-01-26 Martin Buchholz <martin@xemacs.org>
7837 Port pdump to SGI alignment-sensitive environment.
7838 Lisp Object sizeof methods now return aligned sizes. Rely on that.
7839 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
7841 Define and use aligned reading and writing macros.
7842 Use buffered stdio instead of posix i/o for faster dumping.
7843 Eliminate kludgy 256 byte space for header.
7844 Read and write from dump file using structs for alignment safety.
7845 * dumper.c (pdump_align_stream): New.
7846 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
7847 * dumper.c (PDUMP_READ_ALIGNED): New.
7848 * dumper.c (PDUMP_WRITE_ALIGNED): New.
7849 * dumper.c (pdump_static_Lisp_Object): New struct.
7850 * dumper.c (pdump_static_pointer): New struct.
7851 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
7852 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
7853 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
7854 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
7856 * dumper.c (pdump_backtrace):
7857 * dumper.c (pdump_get_indirect_count):
7858 * dumper.c (pdump_register_object):
7859 * dumper.c (pdump_register_struct):
7860 * dumper.c (pdump_reloc_one):
7861 * dumper.c (pdump_scan_by_alignment):
7862 * dumper.c (pdump_dump_from_root_struct_ptrs):
7863 * dumper.c (pdump_dump_opaques):
7864 * dumper.c (pdump_dump_rtables):
7865 * dumper.c (pdump_dump_from_root_objects):
7867 * dumper.c (pdump_load_finish):
7868 Use aligned reading and writing.
7870 * dumper.c (pdump_free): Make static.
7871 * dumper.c (pdump_hFile): Likewise.
7872 * dumper.c (pdump_hMap): Likewise.
7874 2001-01-26 Martin Buchholz <martin@xemacs.org>
7876 * XEmacs 21.2.43 "Terspichore" is released.
7878 2001-01-25 Martin Buchholz <martin@xemacs.org>
7880 Type fiddling for window_config.saved_windows_count
7881 * window.c (struct window_config):
7882 Make saved_windows_count member unsigned.
7883 * window.c (sizeof_window_config_for_n_windows):
7884 Make parameter unsigned.
7885 * window.c (mark_window_config):
7886 * window.c (window_config_equal):
7887 * window.c (free_window_configuration):
7888 * window.c (Fset_window_configuration):
7889 * window.c (count_windows):
7890 * window.c (Fcurrent_window_configuration):
7891 * window.c (reinit_vars_of_window):
7892 Update all callers and users.
7894 2001-01-25 Martin Buchholz <martin@xemacs.org>
7896 Alignment correctness for flexible arrays.
7897 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
7898 Make alignment-correct. Add interesting comments.
7899 * alloc.c (size_vector):
7900 * alloc.c (make_vector_internal):
7901 * alloc.c (make_bit_vector_internal):
7902 * alloc.c (sweep_bit_vectors_1):
7903 * fns.c (size_bit_vector):
7904 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
7905 * window.c (sizeof_window_config_for_n_windows):
7906 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
7908 2001-01-24 Martin Buchholz <martin@xemacs.org>
7910 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
7912 2001-01-23 Andy Piper <andy@xemacs.org>
7914 * select.c (Fown_selection_internal): pass owned_p
7916 * select-msw.c (mswindows_own_selection): New Signature.
7918 * console.h (struct console_methods): add owned_p to
7921 * select-x.c (x_own_selection): pass owned_p
7922 (hack_motif_clipboard_selection): use owned_p
7923 (vars_of_select_x): new variable -
7924 x_selection_strict_motif_ownership.
7926 2001-01-23 Martin Buchholz <martin@xemacs.org>
7928 * specifier.h (specifier_data_offset): Remove pointless parens.
7929 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
7931 2001-01-24 Martin Buchholz <martin@xemacs.org>
7933 Make Lisp_Object sizeof methods be alignment-correct.
7934 pdump must restore objects to the same alignment as the C compiler
7935 assumes. It really matters on SGIs.
7936 * lstream.c (aligned_sizeof_lstream): New.
7937 (sizeof_lstream): Use aligned_sizeof_lstream.
7938 (Lstream_new): Likewise.
7939 * opaque.c (aligned_sizeof_opaque): New.
7940 (sizeof_opaque): Use aligned_sizeof_opaque.
7941 (make_opaque): Likewise.
7942 * specifier.c (aligned_sizeof_specifier): New.
7943 (sizeof_specifier): Use aligned_sizeof_specifier.
7944 (make_specifier_internal): Likewise.
7946 2001-01-23 Martin Buchholz <martin@xemacs.org>
7948 * lstream.h (struct lstream): Use max_align_t for trailing data.
7949 * specifier.h (struct Lisp_Specifier): Likewise.
7951 2001-01-22 Martin Buchholz <martin@xemacs.org>
7953 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
7954 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
7955 (CCL_SUSPEND): Likewise.
7956 (CCL_INVALID_CMD): Likewise.
7957 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
7958 (ccl_driver): Likewise.
7959 (CCL_WRITE_CHAR): Macro hygiene.
7960 (CCL_WRITE_STRING): Macro hygiene.
7962 2001-01-22 Martin Buchholz <martin@xemacs.org>
7964 Port "portable" dumper to SunOS 4 and HP-UX.
7965 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
7966 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
7967 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
7969 2001-01-22 Martin Buchholz <martin@xemacs.org>
7971 * lisp.h (ALIGNOF): A better definition for C++.
7973 2001-01-20 Martin Buchholz <martin@xemacs.org>
7976 Fix printf warnings: int format, long int arg.
7977 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
7978 (PUSH_FAILURE_POINT): Use correct printf formats.
7979 (POP_FAILURE_POINT): Use correct printf formats.
7980 Use do {...} while (0)
7982 2001-01-20 Martin Buchholz <martin@xemacs.org>
7984 * XEmacs 21.2.42 "Poseidon" is released.
7986 2001-01-20 Martin Buchholz <martin@xemacs.org>
7988 * console-x.h: typo fix du jour. Remove #if 0'ed code.
7990 2001-01-19 Martin Buchholz <martin@xemacs.org>
7992 De-kludgify FIXED_TYPE free list frobbing.
7993 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
7994 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
7995 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
7996 * alloc.c (Lisp_Free): New pseudo lisp object definition.
7997 * alloc.c (LRECORD_FREE_P): New.
7998 * alloc.c (MARK_LRECORD_AS_FREE): New.
7999 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
8000 * alloc.c (STRUCT_FREE_P): Deleted.
8001 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
8002 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
8003 * alloc.c (STRING_CHARS_FREE_P): New.
8004 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
8005 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
8006 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
8007 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
8008 * alloc.c (resize_string): Use new definitions.
8009 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
8010 * alloc.c (verify_string_chars_integrity): Use new definitions.
8011 * alloc.c (compact_string_chars): Use new definitions.
8012 * alloc.c: Update monster comments.
8013 * lrecord.h (lrecord_type): Add some new lrecord types for
8016 2001-01-18 Martin Buchholz <martin@xemacs.org>
8018 Improve alignment hackery.
8019 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
8020 (max_align_t): Moved from opaque.h - general purpose.
8021 (ALIGN_PTR): Use size_t, not long.
8022 * opaque.h (max_align_t): Move to lisp.h.
8024 2001-01-18 Norbert Koch <nk@LF.net>
8026 * gui.h: Fix and add prototypes to fix build problems.
8028 2001-01-18 Martin Buchholz <martin@xemacs.org>
8030 temacs is going away, so `dump-temacs' is now a bad name.
8031 * .dbxrc (dump-temacs): Rename to `dmp'.
8032 * .gdbinit (dump-temacs): Rename to `dmp'.
8034 2001-01-17 Andy Piper <andy@xemacs.org>
8036 * glyphs.c (print_image_instance): comment to make martin happy.
8038 * glyphs-x.c (x_redisplay_widget): update faces after a frame
8041 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
8043 (mswindows_tab_control_redisplay): warning suppression.
8045 * glyphs-widget.c (widget_update): re-write to cope with updated
8047 (widget_instantiate): use new gui_item functions.
8048 (tab_control_update): deleted.
8049 (progress_gauge_update): deleted.
8050 (image_instantiator_progress_guage): take out update reference.
8051 (image_instantiator_tree_view): ditto.
8052 (image_instantiator_tab_control): ditto.
8054 * gui.c (widget_gui_parse_item_keywords): new function. Do things
8056 (gui_item_add_keyval_pair): re-write to cope with descriptors and
8057 return whether anything was changed.
8058 (update_gui_item_keywords): as it sounds.
8060 * gui.h: declare widget_gui_parse_item_keywords.
8062 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
8063 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
8065 2001-01-17 Martin Buchholz <martin@xemacs.org>
8067 * XEmacs 21.2.41 "Polyhymnia" is released.
8069 2001-01-16 Didier Verna <didier@xemacs.org>
8071 * glyphs.c (image_instantiate): don't use fallbacks when
8072 instantiating a face's background pixmap by inheritance.
8074 2001-01-14 Mike Sperber <mike@xemacs.org>
8076 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
8077 Conditionalize accordingly.
8079 2001-01-16 Martin Buchholz <martin@xemacs.org>
8081 * dumper.c (pdump_file_get): Fix a compiler warning.
8083 2001-01-15 Martin Buchholz <martin@xemacs.org>
8085 Make Purify happy when pdumping.
8086 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
8087 iniitalizing all bits of new lisp object memory.
8088 * symbols.c (Fmake_local_variable): Likewise.
8089 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
8090 * symbols.c (Fdefvaralias): Likewise.
8091 * mule-charset.c (vars_of_mule_charset): Likewise.
8093 2001-01-15 Martin Buchholz <martin@xemacs.org>
8094 Add the `-nd' flag when running pre-dump operations under the debugger.
8095 * .dbxrc (run-temacs): Add `-nd'.
8096 * .dbxrc (update-elc): Likewise.
8097 * .dbxrc (dump-temacs): Likewise.
8098 * .gdbinit (run-temacs): Likewise.
8099 * .gdbinit (check-temacs): Likewise.
8100 * .gdbinit (update-elc): Likewise.
8101 * .gdbinit (dump-temacs): Likewise.
8103 2001-01-14 Martin Buchholz <martin@xemacs.org>
8105 Allow building 64-bit executables on AIX with GNU malloc, e.g.
8106 export OBJECT_MODE=64
8107 configure --pdump --use-union-type=no
8108 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
8109 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
8111 * miscplay.c (sndcnv8U_2mono):
8112 Avoid two uses of `++' in the same expression.
8113 Suppresses a GCC warning.
8115 2001-01-13 Martin Buchholz <martin@xemacs.org>
8117 Make sure future compilers don't miscompile alloc.c.
8119 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
8120 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
8122 2001-01-12 Martin Buchholz <martin@xemacs.org>
8124 * dumper.c: A little post-pdump-rename comment fixup.
8126 2001-01-09 Jerry James <james@eecs.ku.edu>
8128 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
8130 2001-01-13 Martin Buchholz <martin@xemacs.org>
8132 * *.[ch]: Globally rename symbols using the following `pdump-rename'
8136 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
8139 replace_symbol pdump_wire_lists pdump_weak_object_chains
8140 replace_symbol pdump_wire_list dump_add_weak_object_chain
8142 replace_symbol pdump_wires pdump_root_objects
8143 replace_symbol pdump_wire dump_add_root_object
8145 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
8146 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
8148 replace_symbol dumpstructinfos pdump_root_struct_ptrs
8149 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
8150 replace_symbol dumpstructinfo pdump_root_struct_ptr
8151 replace_symbol dumpstruct dump_add_root_struct_ptr
8153 replace_symbol dumpopaque dump_add_opaque
8154 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
8155 replace_symbol dumpopaqueinfos pdump_opaques
8156 replace_symbol dumpopaqueinfo pdump_opaque
8158 replace_symbol nb_structdump nb_root_struct_ptrs
8159 replace_symbol nb_opaquedump nb_opaques
8161 replace_symbol align_table pdump_align_table
8162 replace_symbol dump_header pdump_header
8164 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
8165 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
8168 2001-01-12 Martin Buchholz <martin@xemacs.org>
8170 * s/aix4.h: Keep the C for AIX compiler from overaggressively
8171 optimizing bytecount_to_charcount().
8173 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
8176 (HAVE_DLFCN_H): Removed.
8177 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
8179 2001-01-06 Martin Buchholz <martin@xemacs.org>
8181 Portable dumper maintainability improvements.
8182 * alloc.c (staticpro):
8183 * alloc.c (staticpro_nodump):
8184 * alloc.c (garbage_collect_1):
8185 * alloc.c (reinit_alloc_once_early):
8186 * alloc.c (init_alloc_once_early):
8187 * alloc.c: Move dumper functions to alloc.c.
8188 * dumper.c (pdump_backtrace):
8189 * dumper.c (pdump_dump_structs):
8190 * dumper.c (pdump_dump_opaques):
8191 * dumper.c (pdump_dump_rtables):
8192 * dumper.c (pdump_dump_wired):
8194 * dumper.c (pdump_load_check):
8195 * dumper.c (pdump_load_finish):
8196 * dumper.c (pdump_file_unmap):
8197 * dumper.c (pdump_file_get):
8198 * dumper.c (pdump_resource_free):
8199 * dumper.c (pdump_resource_get):
8200 * dumper.c (pdump_file_free):
8201 * dumper.c (pdump_file_try):
8202 * dumper.c (pdump_load):
8203 Remove fixed size limits on staticpro(), staticpro_nodump(),
8204 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
8205 Remove custom code for dumping lrecord_implementations_table - use
8207 Remove (most of the) custom code for dumping staticpros - dump it
8208 like any other dynarr.
8210 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
8211 * dumper.c: Moved functions from alloc.c.
8212 * alloc.c (dumpstruct): Moved to dumper.c.
8213 * alloc.c (dumpopaque): Likewise.
8214 * alloc.c (pdump_wire): Likewise.
8215 * alloc.c (pdump_wire_list): Likewise.
8217 * lisp.h (Dynarr_sizeof): New.
8218 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
8219 * lisp.h (Dynarr_end): New. Very slightly C++oid.
8220 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
8222 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
8223 * lisp.h (dumpopaque): ditto.
8224 * lisp.h (pdump_wire): ditto.
8225 * lisp.h (pdump_wire_list): ditto.
8227 2001-01-09 Martin Buchholz <martin@xemacs.org>
8229 * make-src-depend (PrintPatternDeps):
8230 Use `sort' to make output independent of perl version.
8232 2001-01-08 Martin Buchholz <martin@xemacs.org>
8235 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
8236 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
8238 2001-01-03 Didier Verna <didier@xemacs.org>
8240 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
8241 that `focus_frame' is alive before thinking of calling
8242 `redisplay_redraw_cursor' on it.
8244 2001-01-08 Martin Buchholz <martin@xemacs.org>
8246 * XEmacs 21.2.40 is released.
8248 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
8250 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
8252 2001-01-06 Martin Buchholz <martin@xemacs.org>
8254 * alloc.c (dbg_valmask): Make const.
8255 * alloc.c (dbg_typemask): Make const.
8256 * alloc.c (dbg_USE_UNION_TYPE): Make const.
8257 * alloc.c (dbg_valbits): Make const.
8258 * alloc.c (dbg_gctypebits): Make const.
8260 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
8262 * redisplay-x.c (x_bevel_area):
8263 redisplay.h (struct rune):
8264 Typo fixes in comments.
8266 2001-01-05 Andy Piper <andy@xemacs.org>
8268 * glyphs-x.c (x_redisplay_widget): use size changed for offset
8271 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
8273 2001-01-05 Martin Buchholz <martin@xemacs.org>
8275 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
8277 * mule-ccl.c (stack_idx_of_map_multiple):
8278 Non const global data must not be initialized!
8279 Found by MIYASHITA Hisashi.
8281 2001-01-02 Andy Piper <andy@xemacs.org>
8283 * frame.c (change_frame_size): make sure frame size is always
8286 * glyphs.c (image_instance_layout): minor code reuse.
8288 * window.c (Fcurrent_window_configuration): revert previous
8291 2001-01-02 Martin Buchholz <martin@xemacs.org>
8294 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
8296 2000-12-31 Andy Piper <andy@xemacs.org>
8298 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
8299 when widget gets unmapped.
8301 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
8302 function. Make sure widgets losing focus don't just drop it.
8303 (handle_focus_event_1): record the widget with focus.
8305 2000-12-31 Andy Piper <andy@xemacs.org>
8307 * window.c (allocate_window): use
8308 make_image_instance_cache_hash_table.
8309 (make_dummy_parent): ditto.
8310 (Fset_window_configuration): ditto.
8312 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
8314 * glyphs.c (process_image_string_instantiator): use
8316 (get_image_instantiator_governing_domain): ditto.
8317 (normalize_image_instantiator): ditto.
8318 (instantiate_image_instantiator): ditto.
8319 (make_image_instance_1): ditto.
8320 (image_instantiate): ditto. Key on glyph *and* instantiator type.
8321 (instantiator_eq_equal): new function for use with instance hash
8323 (instantiator_eq_hash): ditto.
8324 (make_image_instance_cache_hash_table): create a suitable hash
8325 table for storing image instances.
8327 * elhash.h (hash_table_weakness): new internal weakness type
8328 HASH_TABLE_KEY_CAR_VALUE_WEAK.
8329 declare new functions.
8331 * elhash.c (finish_marking_weak_hash_tables): introduce yet
8332 another weakness type for glyphs.
8333 (make_standard_lisp_hash_table): new function split out from
8334 make_general_lisp_hash_table.
8335 (make_lisp_hash_table): call make_standard_lisp_hash_table.
8336 (hash_table_instantiate): ditto.
8337 (Fmake_hash_table): ditto.
8339 2000-12-31 Martin Buchholz <martin@xemacs.org>
8341 * XEmacs 21.2.39 is released.
8343 2000-12-29 Andy Piper <andy@xemacs.org>
8345 * menubar.c (menubar_visible_p_changed): signal the frame changed.
8347 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
8348 the frame has changed so that we pick up geometry changes such as
8351 2000-12-28 Andy Piper <andy@xemacs.org>
8353 * lastfile.c (my_ebss): make a char array so we can pad the
8354 bss. Fixes cygwin unexec.
8356 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
8358 2000-12-26 Andy Piper <andy@xemacs.org>
8360 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
8361 comments and try and be more precise about a non-/SIGIO world.
8362 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
8365 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
8366 we don't normalize to zero width or height.
8368 2000-12-24 Andy Piper <andy@xemacs.org>
8370 * Makefile.in.in (ldflags): add -mwindows when appropriate.
8372 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
8374 * s/sco5.h: SCO 5 has pty support.
8376 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
8378 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
8379 input-method-xlib.c contains whole contents of input-method-xfs.c,
8380 so we can use input-method-xlib.c's code for USE_XFONTSET
8382 * input-method-xfs.c: removed.
8384 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
8386 * file-coding.h (enum coding_category_type): reorder enumerators to
8387 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
8388 (now one greater than largest real coding_category_type enumerator).
8389 * file-coding.c (coding_category_symbol, coding_category_by_priority,
8390 coding_category_system, fcd_descriptihon_1, decode_coding_category,
8391 Fcoding_category_list, Fset_coding_priority_list,
8392 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
8393 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
8395 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
8397 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
8398 * redisplay-output.c (redisplay_output_window): Clear top of window
8399 when face is changed.
8400 * redisplay-x.c (x_redraw_exposed_window): Call
8401 redisplay_clear_top_of_window.
8402 * redisplay.h: Publish redisplay_clear_top_of_window.
8404 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
8406 * buffer.c (Fkill_buffer): Map over all devices.
8407 * window.c (window_loop): Remove UNSHOW_BUFFER code.
8408 (list_windows): New function.
8409 (list_all_windows): Ditto.
8410 (Freplace_buffer_in_windows): Use them.
8412 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
8414 * database.c (berkdb_subtype): Recognize new subtype `queue'.
8415 (Fopen_database): Use `db_create' instead of `db_open'.
8416 (syms_of_database): Initialize Qqueue.
8418 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
8420 * buffer.c (common_init_complex_vars_of_buffer): Initialize
8421 buffer_local_face_property.
8422 * buffer.h (struct buffer): New member buffer_local_face_property.
8423 * window.c (Fset_window_buffer): Mark window's face as changed
8424 when buffer has buffer local face.
8425 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
8426 * objects.c (color_after_change): Set buffer_local_face_property
8427 when locale of face specifier is buffer.
8428 * objects.c (font_after_change): Ditto.
8429 * objects.c (face_boolean_after_change): Ditto.
8430 * glyphs.c (image_after_change): Ditto.
8432 2000-12-09 Dan Holmsand <dan@eyebee.com>
8434 * nt.c (mswindows_fstat): Report file permissions, volume serial
8435 number, etc. Code adapted from FSF Emacs 20.7.
8437 2000-12-09 Dan Holmsand <dan@eyebee.com>
8439 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
8440 of stat when we don't have symbolic links, to make sure
8441 mswindows_stat is called on mswindows.
8443 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
8445 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
8447 2000-12-12 Martin Buchholz <martin@xemacs.org>
8449 * doprnt.c (emacs_doprnt_1): More printing fixes.
8450 Make printing of numbers compatible with libc and FSF Emacs.
8451 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
8452 Use the system printf to do most of the hard work of formatting,
8453 instead of doprnt_1().
8454 Calculate memory to allocate for format string.
8455 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
8456 (doprnt_1): Cleaner code and documentation.
8458 2000-12-01 Jerry James <james@eecs.ukans.edu>
8460 * Makefile.in.in: Use the loop variable to install headers.
8462 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8464 * window.c (Fsplit_window): Don't invalidate face cache.
8466 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8468 * minibuf.c (Fall_completions): Undo the previous change
8469 which removed checking elements start with space.
8471 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
8473 * mule-canna.c: Didier suppression.
8475 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
8477 * mule-canna.c: rename static unsigned char buf[] to key_buffer
8478 (warning suppression). Add English comment translations.
8480 2000-12-05 Martin Buchholz <martin@xemacs.org>
8482 * unexelfsgi.c (unexec): Better test for mmap failure.
8484 2000-12-05 Martin Buchholz <martin@xemacs.org>
8486 * XEmacs 21.2.38 is released.
8488 2000-12-05 Martin Buchholz <martin@xemacs.org>
8490 * redisplay.c (bar-cursor): Make a user variable.
8492 * symsinit.h: Add init_postgresql_from_environment.
8494 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8496 * regex.c: Convert to clean C.
8498 2000-12-05 Dan Holmsand <dan@eyebee.com>
8501 Don't #include sysfile.h. Revert to duplicating PATH_MAX
8503 (sys_readlink): renamed to system_readlink to avoid conflict with
8504 the other sys_readlink.
8506 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
8508 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
8510 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
8512 * postgresql.c (init_postgresql_from_environment): new function.
8513 (vars_of_postgresql): Move code initializing Lisp variables out and
8514 into init_postgresql_from_environment.
8515 emacs.c (main_1): Call init_postgresql_from_environment if and only
8516 if running a dumped XEmacs.
8518 2000-08-31 Dan Holmsand <dan@eyebee.com>
8520 * buffer.c: Make find-file-compare-truenames default to true on
8523 * realpath.c (win32_abs_start):
8525 (win32_readlink): New functions.
8526 (xrealpath): Return really real filenames on windows.
8528 * fileio.c (Ffile_truename): Make file-truename work on windows.
8530 2000-11-29 Didier Verna <didier@xemacs.org>
8532 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
8533 * faces.c (update_face_cachel_data): use it.
8534 * faces.c (add_face_cachel): use it. Complete background pixmap
8535 frobbing in face cache if `update_face_cachel_data' has not done so.
8537 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
8539 * search.c (string_match_1): Don't set last_thing_searched
8542 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
8544 * buffer.c: Include casetab.h
8545 (common_init_complex_vars_of_buffer): Use new case-table object.
8546 * buffer.h: Include casetab.h
8547 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
8548 (DOWNCASE_TABLE_OF): Ditto.
8549 * bufslots.h: Remove char-tables and add case-table.
8550 * casetab.c: Include casetab.h
8551 (CASE_TABLE_P): Removed.
8552 (mark_case_table): New function.
8553 (allocate_case_table): New function.
8554 (Fcase_table_p): Use new case-table.
8555 (case_table_char): New function.
8556 (Fget_case_table): Ditto.
8557 (Fput_case_table): Ditto.
8558 (Fput_case_table_pair): Ditto.
8559 (Fcopy_case_table): Ditto.
8560 (Fcurrent_case_table): Return case-table.
8561 (Fstandard_case_table): Return case-table.
8562 (Fset_case_table): Fix doc-string.
8563 (set_case_table): Use case-table
8564 (syms_of_casetab): DEFSUBR new functions.
8565 (complex_vars_of_casetab): Set up standard case-table.
8566 * casetab.h: New file.
8567 * editfns.c: Include casetab.h
8568 (Fcompare_buffer_substrings): Use case-table.
8569 * inline.c: Include casetab.h
8570 * lisp.h: Remove bogus extern.
8571 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
8572 * search.c: Include casetab.h
8573 (TRANSLATE_ASCII): Removed.
8574 (TRANSLATE): Unconditionally translate character.
8575 (looking_at_1): Use case-table.
8576 (string_match_1): Ditto.
8577 (fast_string_match): Ditto.
8578 (search_command): Ditto.
8579 (search_buffer): Separate boyer_moore. Check whether
8580 boyer_moore is possible.
8581 (simple_search): New function.
8582 (boyer_moore): Separated from search_buffer. Translate char.
8584 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
8586 * regex.c (RE_TR_ASCII): Removed.
8587 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
8588 (PATFETCH): Call PATFETCH_RAW.
8589 (PATFETCH_RAW): Fetch Emchar.
8590 (PATUNFETCH): Decrement charptr.
8591 (GET_BUFFER_SPACE): Rename b to buf_end.
8593 (BUF_PUSH_2): Ditto.
8594 (BUF_PUSH_3): Ditto.
8595 (EXTEND_BUFFER): Ditto.
8596 (SET_LIST_BIT): Ditto.
8597 (regex_compile): Ditto. Translate non ASCII char.
8598 (compile_range): Ditto.
8599 (re_search_2): Ditto.
8600 (re_match_2_internal): Compare Emchar.
8601 (bcmp_translate): Ditto.
8603 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
8605 * lisp.h (basic char/int typedefs): comment improvement.
8607 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
8609 * emacs.c (main_1): unconditional pdump unstomping; don't save and
8610 unstomp inhibit_site_lisp. Improve comments.
8612 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
8614 * mule-charset.c (Fcharset_property): improve type checking, comments.
8616 2000-11-28 Andy Piper <andy@xemacs.org>
8618 * redisplay-output.c (redisplay_output_subwindow): make sure we do
8619 clipped display for windows in the gutter also.
8620 (redisplay_display_boxes_in_window_p): change semantics of return
8621 codes to be more intuitive.
8623 * gutter.h: declare display_boxes_in_gutter_p.
8625 * gutter.c (display_boxes_in_gutter_p): new function for
8628 2000-11-22 Andy Piper <andy@xemacs.org>
8630 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
8633 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
8635 * callproc.c (Fold_call_process_internal):
8636 * gpm.c (Freceive_gpm_event):
8637 (tty_get_foreign_selection): Might be just warning supression.
8638 * fileio.c (Fwrite_region_internal):
8639 (Fset_visited_file_modtime):
8640 * keymap.c (event_matches_key_specifier_p):
8641 Initialize GCPROed variable.
8643 * menubar-x.c (command_builder_find_menu_accelerator):
8644 Initialize before use.
8646 2000-11-23 Andy Piper <andy@xemacs.org>
8648 * unexcw.c (unexec): make the resulting executable executable.
8650 2000-11-21 Martin Buchholz <martin@xemacs.org>
8652 * doc.c (get_doc_string):
8653 Use size_t, not int, for result of XSTRING_LENGTH.
8655 * cmds.c (Fdelete_char):
8656 * cmds.c (Fpoint_at_eol):
8657 * cmds.c (Fself_insert_command):
8658 Use EMACS_INT, not int, for result of XINT.
8659 Someday, someone will want to insert more than 2**31 identical characters.
8661 * cmds.c (Fdelete_char):
8662 * cmds.c (Fdelete_backward_char):
8663 * syntax.c (Fforward_word):
8664 * syntax.c (Fforward_comment):
8665 Make COUNT argument optional, for consistency with forward-char et al.
8667 2000-11-22 Martin Buchholz <martin@xemacs.org>
8670 * print.c (long_to_string):
8671 Return a useful value: the pointer at end of data written.
8674 Use `static const char * const' for constant strings.
8675 (union printf_arg): Delete `i', `ui' members.
8678 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
8679 Do all printf-ing via the `l' specifier.
8680 Use EMACS_INT instead of int.
8683 2000-11-20 Didier Verna <didier@xemacs.org>
8685 * faces.c (update_face_cachel_data): don't frob the background
8686 pixmap when the window is being created. The face is needed but
8689 2000-11-20 Andy Piper <andy@xemacs.org>
8691 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
8692 messing with a debug environment.
8694 2000-11-20 Martin Buchholz <martin@xemacs.org>
8696 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
8698 2000-11-20 Martin Buchholz <martin@xemacs.org>
8700 * casetab.c (Fcase_table_p): Fix compile error and crash.
8702 2000-11-18 Philip Aston <philipa@mail.com>
8704 * s/cygwin32.h: Cygwin has SVR4-like pty support.
8706 2000-11-18 Martin Buchholz <martin@xemacs.org>
8708 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
8709 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
8711 2000-11-17 Martin Buchholz <martin@xemacs.org>
8713 * config.h.in: Define HAVE_ELF_H if elf.h exists.
8714 * unexelf.c: Use HAVE_ELF_H.
8715 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
8716 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
8717 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
8718 Greg Harrington <greg_harrington@hotmail.com> provided a machine
8720 So this is an unexelfsgi.c from a different line of development.
8722 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
8724 * regex.c (RE_TR_ASCII): New function.
8725 (RE_TRANSLATE): Call it.
8727 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
8729 * buffer.h (TRT_TABLE_OF): Remove assert.
8730 (IN_TRT_TABLE_DOMAIN): Removed.
8732 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
8734 * free-hook.c (log_gcpro):
8735 (show_gcprohist): Add support for GCPRO5.
8737 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
8739 * emacs.c (main_1): Improve -sd error message when --pdump=no.
8741 2000-11-16 Olivier Galibert <galibert@xemacs.org>
8743 * symeval.h: Declare flush_all_buffer_local_cache.
8745 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
8746 (flush_buffer_local_cache): Added.
8747 (flush_all_buffer_local_cache): Added.
8749 * lrecord.h: Remove unused XD_LO_RESET_NIL.
8751 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
8752 (pdump_dump_data): Ditto.
8753 (pdump_reloc_one): Ditto.
8754 (pdump): Remove unused pdump_qnil. Flush buffer local caches
8758 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
8760 * buffer.c: Remove if 0'ed entry.
8761 * buffer.h: Rewrite TRT to use char-table.
8762 * bufslots.h: Remove mirror tables.
8763 * casetab.c: Remove mirror tables.
8764 (CASE_TABLE_P): New macro.
8765 (Fcase_table_p): Element of a case table is string or char-table.
8766 (make_mirror_trt_table): Removed.
8767 (set_case_table): Setup char-table from strings for backward
8769 * dired.c (Fdirectory_files):
8770 * dired-msw.c: (mswindows_get_files):
8771 * lisp.h: Change prototype of re_pattern_buffer.
8772 * regex.c: (RE_TRANSLATE): New macro.
8773 (TRANSLATE_P): Ditto.
8774 Change translate to type RE_TRANSLATE_TYPE.
8775 * regex.h: Define RE_TRANSLATE_TYPE
8776 * search.c (TRANSLATE): New macro.
8777 (TRANSLATE_ASCII): New macro.
8778 Translate table is changed to Lisp_Object.
8779 (signal_failure): Inhibit return.
8781 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
8788 Do UNGCPRO before return.
8790 2000-11-14 Martin Buchholz <martin@xemacs.org>
8792 * XEmacs 21.2.37 is released.
8794 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
8796 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
8797 Add comments about discarded return value.
8799 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
8802 * event-stream.c: Fix comments. Remove some #if 0'ed part.
8804 2000-10-27 Andy Piper <andy@xemacs.org>
8806 * gutter.c (Fset_default_gutter_position): default left and right
8808 (calculate_gutter_size): calculate resonable heuristic for left
8809 and right gutter sizes.
8810 (specifier_vars_of_gutter): change left and right gutter sizes to
8812 (calculate_gutter_size_from_display_lines): new function.
8813 (output_gutter): check for resizing on left and right gutters.
8814 (clear_gutter): don't special case top and left gutters.
8815 (specifier_vars_of_gutter): use new signature for
8816 set_specifier_caching.
8818 * glyphs-x.c (x_redisplay_widget): spelling fix.
8819 * glyphs.c (specifier_vars_of_glyphs):
8820 * menubar.c (specifier_vars_of_menubar):
8821 * redisplay.c (specifier_vars_of_redisplay):
8822 * toolbar.c (specifier_vars_of_toolbar):
8823 * window.c (specifier_vars_of_window):
8824 * scrollbar.c (specifier_vars_of_scrollbar):
8825 (complex_vars_of_scrollbar): use new signature for
8826 set_specifier_caching.
8828 * specifier.c (set_specifier_caching): include recompute flag.
8829 (recompute_one_cached_specifier_in_window): always recompute if
8831 (recompute_one_cached_specifier_in_frame): ditto.
8833 * specifier.h (struct specifier_caching): add recompute flag.
8835 2000-10-24 Andy Piper <andy@xemacs.org>
8837 * unexcw.c (copy_executable_and_dump_data_section): add new
8838 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
8841 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8843 * console-x.h (x_device): New member modifier_release_time.
8844 * event-Xt.c (x_handle_sticky_modifiers):
8845 Bound interval modifier keys are sticky.
8846 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
8847 * events.h: extern it.
8849 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8851 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
8853 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8855 * event-stream.c (execute_command_event): Preserve current_events
8856 and the like when event is misc-user-event.
8857 Inhibit quit during the call to maybe_echo_keys.
8859 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
8861 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
8862 symlink when buffer is killed.
8863 (inhibit_clash_detection): New variable.
8865 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8867 * console.c (Fset_input_method): Trigger redisplay on tty.
8869 2000-11-07 Martin Buchholz <martin@xemacs.org>
8871 * process.c (Fprocess_status): Revert to previous behavior:
8872 (process-status "nosuchprocess") ==> nil
8874 2000-11-06 Martin Buchholz <martin@xemacs.org>
8876 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
8877 Work around another GCC 2.95.2 optimizer bug.
8879 2000-11-02 Martin Buchholz <martin@xemacs.org>
8881 * process.c (Fget_process): Use LIST_LOOP_2.
8882 (kill_buffer_processes): Use LIST_LOOP_2.
8884 * minibuf.c (Fall_completions):
8885 Delete old non-functional code for FSF fourth argument.
8887 * frame.c (frame_matches_frame_spec):
8888 Renamed from `frame_matches_frametype'. Update all callers.
8889 (device_matches_device_spec):
8890 Renamed from 'device_matches_console_spec'. Update all callers.
8892 * doc.c (Fsubstitute_command_keys):
8893 Remove buffer overflow crash. Small code cleanups.
8895 * casetab.c (check_case_table): Simpler code.
8897 * window.c (Freplace_buffer_in_windows):
8898 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
8899 (and similar implementation) as Fdelete_windows_on.
8902 * alloc.c (Fmake_list):
8903 * alloc.c (make_vector):
8904 * alloc.c (Fmake_vector):
8905 * alloc.c (make_bit_vector):
8906 * alloc.c (Fmake_bit_vector):
8907 * alloc.c (Fbit_vector):
8908 * alloc.c (Fmake_string):
8909 * alloc.c (Fpurecopy):
8910 * alloc.c (Fmemory_limit):
8912 * buffer.c (Fget_buffer):
8913 * buffer.c (Fkill_buffer):
8914 * buffer.c (complex_vars_of_buffer):
8915 * bytecode.c (Fcompiled_function_stack_depth):
8916 * callint.c (Fprefix_numeric_value):
8918 * event-stream.c (Fread_key_sequence):
8920 * casetab.c (Fcase_table_p):
8921 * casetab.c (check_case_table):
8922 * casetab.c (Fset_case_table):
8923 * casetab.c (Fset_standard_case_table):
8925 * chartab.c (Fchar_table_type):
8926 * chartab.c (Freset_char_table):
8927 * chartab.c (Fget_char_table):
8928 * chartab.c (Fget_range_char_table):
8929 * chartab.c (Fput_char_table):
8930 * chartab.c (Fmap_char_table):
8931 * chartab.c (Fcategory_table_p):
8932 * chartab.c (Fcheck_category_at):
8933 * chartab.c (Fchar_in_category_p):
8934 * chartab.c (Fcategory_table):
8935 * chartab.c (Fcopy_category_table):
8936 * chartab.c (Fset_category_table):
8937 * chartab.c (Fcategory_designator_p):
8938 * chartab.c (Fcategory_table_value_p):
8939 * cmds.c (Fdelete_char):
8940 * cmds.c (Fdelete_backward_char):
8941 * cmds.c (Fself_insert_command):
8942 * cmds.c (Fself_insert_internal):
8943 * console.c (Fvalid_console_type_p):
8944 * console.c (Fcdfw_console):
8945 * console.c (Fconsole_type):
8946 * console.c (Fconsole_name):
8947 * console.c (Fconsole_device_list):
8948 * console.c (Fconsole_on_window_system_p):
8952 * data.c (Fsubr_interactive):
8953 * data.c (Fchar_to_int):
8954 * data.c (Fint_to_char):
8957 * data.c (Fnumber_to_string):
8958 * data.c (Fstring_to_number):
8960 * database.c (mark_database):
8961 * database.c (finalize_database):
8962 * database.c (Fdatabase_live_p):
8963 * database.c (Fdatabasep):
8964 * device-x.c (Fx_get_resource):
8965 * device.c (Fdfw_device):
8967 * dired.c (Ffile_name_completion):
8968 * dired.c (Ffile_name_all_completions):
8969 * dired.c (Fuser_name_completion):
8970 * dired.c (Fuser_name_completion_1):
8971 * dired.c (Fuser_name_all_completions):
8972 * doc.c (Fdocumentation):
8973 * doc.c (Fdocumentation_property):
8974 * doc.c (Fsubstitute_command_keys):
8976 * editfns.c (Fchar_to_string):
8977 * editfns.c (Fstring_to_char):
8978 * editfns.c (Ftemp_directory):
8979 * editfns.c (Finsert_char):
8980 * editfns.c (Fbuffer_substring_no_properties):
8981 * editfns.c (Fnarrow_to_region):
8982 * editfns.c (Fchar_equal):
8983 * editfns.c (Fchar_Equal):
8984 * editfns.c (Ftranspose_regions):
8985 * emacs.c (Fdump_emacs):
8987 * eval.c (Fcommand_execute):
8988 * eval.c (Fautoload):
8989 * eval.c (Fbacktrace):
8990 * eval.c (Fbacktrace_frame):
8992 * events.c (Fcopy_event):
8993 * events.c (Fcharacter_to_event):
8994 * events.c (Fevent_button):
8995 * events.c (Fevent_process):
8997 * extents.c (Fnext_extent_change):
8998 * extents.c (Fextent_property):
9000 * faces.c (Fmake_face):
9002 * file-coding.c (Fencode_shift_jis_char):
9003 * file-coding.c (Fencode_big5_char):
9004 * fileio.c (Ffile_name_directory):
9005 * fileio.c (Ffile_name_nondirectory):
9006 * fileio.c (Ffile_name_as_directory):
9007 * fileio.c (Fdirectory_file_name):
9008 * fileio.c (Ffile_truename):
9009 * fileio.c (Fsubstitute_in_file_name):
9010 * fileio.c (Ffile_modes):
9011 * fileio.c (Fset_file_modes):
9012 * fileio.c (Fset_default_file_modes):
9013 * fileio.c (Fverify_visited_file_modtime):
9014 * floatfns.c (Facos):
9015 * floatfns.c (Fasin):
9016 * floatfns.c (Fatan):
9017 * floatfns.c (Fcos):
9018 * floatfns.c (Fsin):
9019 * floatfns.c (Ftan):
9020 * floatfns.c (Fbessel_j0):
9021 * floatfns.c (Fbessel_j1):
9022 * floatfns.c (Fbessel_jn):
9023 * floatfns.c (Fbessel_y0):
9024 * floatfns.c (Fbessel_y1):
9025 * floatfns.c (Fbessel_yn):
9026 * floatfns.c (Ferf):
9027 * floatfns.c (Ferfc):
9028 * floatfns.c (Flog_gamma):
9029 * floatfns.c (Fexp):
9030 * floatfns.c (Fexpt):
9031 * floatfns.c (Flog):
9032 * floatfns.c (Flog10):
9033 * floatfns.c (Fsqrt):
9034 * floatfns.c (Fcube_root):
9035 * floatfns.c (Facosh):
9036 * floatfns.c (Fasinh):
9037 * floatfns.c (Fatanh):
9038 * floatfns.c (Fcosh):
9039 * floatfns.c (Fsinh):
9040 * floatfns.c (Ftanh):
9041 * floatfns.c (Fabs):
9042 * floatfns.c (Ffloat):
9043 * floatfns.c (Flogb):
9044 * floatfns.c (Fceiling):
9045 * floatfns.c (Ffloor):
9046 * floatfns.c (Fround):
9047 * floatfns.c (Ftruncate):
9048 * floatfns.c (Ffceiling):
9049 * floatfns.c (Fffloor):
9050 * floatfns.c (Ffround):
9051 * floatfns.c (Fftruncate):
9052 * fns.c (Fstring_equal):
9053 * fns.c (Fstring_lessp):
9058 * fns.c (Fsubstring):
9060 * fns.c (Fold_assoc):
9061 * fns.c (assoc_no_quit):
9063 * fns.c (Fold_assq):
9064 * fns.c (assq_no_quit):
9066 * fns.c (Fold_rassoc):
9068 * fns.c (Fold_rassq):
9069 * fns.c (rassq_no_quit):
9070 * fns.c (Fremassoc):
9071 * fns.c (remassoc_no_quit):
9073 * fns.c (remassq_no_quit):
9074 * fns.c (Fremrassoc):
9075 * fns.c (Fremrassq):
9076 * fns.c (remrassq_no_quit):
9078 * fns.c (Fplist_get):
9079 * fns.c (Fplist_put):
9080 * fns.c (Fplist_remprop):
9081 * fns.c (Fplist_member):
9082 * fns.c (Flax_plist_get):
9083 * fns.c (Flax_plist_put):
9084 * fns.c (Flax_plist_remprop):
9085 * fns.c (Flax_plist_member):
9087 * fns.c (Fold_equal):
9089 * fns.c (Fbase64_encode_region):
9090 * fns.c (Fbase64_encode_string):
9091 * fns.c (Fbase64_decode_region):
9093 * frame.c (frame_matches_frame_spec):
9094 * frame.c (device_matches_device_spec):
9095 * frame.c (next_frame):
9096 * frame.c (previous_frame):
9097 * frame.c (Fnext_frame):
9098 * frame.c (Fprevious_frame):
9099 * frame.c (Fframe_property):
9100 * frame.c (Fset_frame_height):
9101 * frame.c (Fset_frame_size):
9105 * glyphs.c (decode_error_behavior_flag):
9106 * glyphs.c (Fmake_image_instance):
9107 * indent.c (Findent_to):
9108 * intl.c (Fignore_defer_gettext):
9109 * keymap.c (Fkeymapp):
9110 * keymap.c (Flookup_key):
9112 * lread.c (Fload_internal):
9113 * lread.c (Feval_buffer):
9114 * lread.c (Feval_region):
9115 * macros.c (Fexecute_kbd_macro):
9116 * marker.c (set_marker_internal):
9117 * marker.c (Fset_marker):
9118 * marker.c (set_marker_restricted):
9119 * marker.c (Fcopy_marker):
9120 * marker.c (noseeum_copy_marker):
9122 * menubar.c (Fpopup_menu):
9124 * mule-charset.c (Fcharset_name):
9125 * mule-charset.c (Fchar_charset):
9126 * mule-charset.c (Fchar_octet):
9127 * mule-charset.c (Fsplit_char):
9128 * mule-wnnfns.c (Fwnn_open):
9129 * mule-wnnfns.c (Fwnn_dict_comment):
9130 * mule-wnnfns.c (Fwnn_quit_henkan):
9131 * mule-wnnfns.c (Fwnn_word_toroku):
9132 * mule-wnnfns.c (Fwnn_word_sakujo):
9133 * mule-wnnfns.c (Fwnn_word_use):
9134 * mule-wnnfns.c (Fwnn_hindo_set):
9136 * objects.c (Fmake_color_instance):
9137 * objects.c (Fmake_font_instance):
9138 * print.c (Fwrite_char):
9140 * process.c (mark_process):
9141 * process.c (print_process):
9142 * process.c (get_process_from_usid):
9143 * process.c (Fprocessp):
9144 * process.c (Fprocess_live_p):
9145 * process.c (Fget_process):
9146 * process.c (Fget_buffer_process):
9147 * process.c (get_process):
9148 * process.c (Fprocess_id):
9149 * process.c (Fprocess_name):
9150 * process.c (Fprocess_command):
9151 * process.c (init_process_io_handles):
9152 * process.c (start_process_unwind):
9153 * process.c (Fstart_process_internal):
9154 * process.c (Fopen_multicast_group_internal):
9155 * process.c (Fset_process_window_size):
9156 * process.c (read_process_output):
9157 * process.c (send_process):
9158 * process.c (Fprocess_tty_name):
9159 * process.c (Fset_process_buffer):
9160 * process.c (Fprocess_buffer):
9161 * process.c (Fprocess_mark):
9162 * process.c (set_process_filter):
9163 * process.c (Fset_process_filter):
9164 * process.c (Fprocess_filter):
9165 * process.c (Fprocess_send_region):
9166 * process.c (Fprocess_send_string):
9167 * process.c (exec_sentinel):
9168 * process.c (Fset_process_sentinel):
9169 * process.c (Fprocess_sentinel):
9170 * process.c (status_notify):
9171 * process.c (Fprocess_status):
9172 * process.c (Fprocess_exit_status):
9173 * process.c (process_send_signal):
9174 * process.c (Fprocess_send_eof):
9175 * process.c (deactivate_process):
9176 * process.c (remove_process):
9177 * process.c (Fdelete_process):
9178 * process.c (kill_buffer_processes):
9179 * process.c (Fprocess_kill_without_query):
9180 * process.c (Fprocess_kill_without_query_p):
9182 * rangetab.c (Fget_range_table):
9183 * rangetab.c (Fput_range_table):
9184 * rangetab.c (Fremove_range_table):
9185 * rangetab.c (Fclear_range_table):
9187 * search.c (Fskip_chars_forward):
9188 * search.c (Fskip_chars_backward):
9189 * search.c (Fskip_syntax_forward):
9190 * search.c (Fskip_syntax_backward):
9191 * search.c (search_command):
9192 * search.c (Freplace_match):
9193 * search.c (Fregexp_quote):
9194 * select.c (Fown_selection_internal):
9195 * select.c (Fselection_owner_p):
9196 * select.c (Fselection_exists_p):
9197 * select.c (Fget_selection_internal):
9200 * symbols.c (Fintern):
9201 * symbols.c (Fintern_soft):
9202 * symbols.c (Funintern):
9203 * symbols.c (Fapropos_internal):
9204 * symbols.c (Fset_default):
9206 * syntax.c (Fsyntax_table_p):
9207 * syntax.c (Fcopy_syntax_table):
9208 * syntax.c (Fset_syntax_table):
9209 * syntax.c (Fchar_syntax):
9210 * syntax.c (syntax_match):
9211 * syntax.c (Fmatching_paren):
9212 * syntax.c (Fforward_word):
9213 * syntax.c (scan_lists):
9214 * syntax.c (Fscan_lists):
9215 * syntax.c (Fscan_sexps):
9216 * syntax.c (Fparse_partial_sexp):
9217 * toolbar.c (Fcheck_toolbar_button_syntax):
9220 * window.c (Fwindowp):
9221 * window.c (Fwindow_live_p):
9222 * window.c (Fwindow_point):
9223 * window.c (Fdelete_window):
9224 * window.c (Fnext_window):
9225 * window.c (Fprevious_window):
9226 * window.c (Fother_window):
9227 * window.c (window_loop):
9228 * window.c (Fget_lru_window):
9229 * window.c (Fsplit_window):
9230 * window.c (Fenlarge_window):
9231 * window.c (Fenlarge_window_pixels):
9232 * window.c (Fshrink_window):
9233 * window.c (Fshrink_window_pixels):
9234 * window.c (change_window_height):
9235 * window.c (Fwindow_configuration_p):
9236 * window.c (Fcurrent_window_configuration):
9238 * casefiddle.c (casify_object):
9239 * casefiddle.c (Fupcase):
9240 * casefiddle.c (Fdowncase):
9241 * casefiddle.c (Fcapitalize):
9242 * casefiddle.c (Fupcase_initials):
9243 * casefiddle.c (casify_region_internal):
9244 * casefiddle.c (casify_region):
9245 * casefiddle.c (Fupcase_region):
9246 * casefiddle.c (Fdowncase_region):
9247 * casefiddle.c (Fcapitalize_region):
9248 * casefiddle.c (Fupcase_initials_region):
9249 * casefiddle.c (Fupcase_word):
9250 * casefiddle.c (Fdowncase_word):
9251 * casefiddle.c (Fcapitalize_word):
9252 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
9253 Replace 0 with '\0' when working with bytes.
9254 Replace initial "(" with "\(" in docstrings.
9256 2000-11-01 Martin Buchholz <martin@xemacs.org>
9258 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
9260 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
9262 2000-10-31 Martin Buchholz <martin@xemacs.org>
9264 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
9266 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
9268 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
9271 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
9273 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
9274 (inhibit_auto_save_session): New variable.
9275 (vars_of_fileio): Declare and initialize them.
9276 * fileio.c (Fdo_auto_save): Don't create session file if
9277 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
9279 2000-10-31 Martin Buchholz <martin@xemacs.org>
9281 * sgiplay.c (play_internal): C++ compilability.
9282 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
9283 * callproc.c (Fold_call_process_internal):
9284 Remove unused vars `env', `first'.
9285 * scrollbar.c (update_scrollbar_instance):
9286 #### unused var `current_window'.
9287 * redisplay-tty.c: Put currently unused vars insert_mode_on,
9288 etc. within #ifdef NOT_YET.
9289 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
9290 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
9291 * specifier.c (specifier_instance):
9292 #### unused var `tag'.
9293 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
9295 2000-10-27 Martin Buchholz <martin@xemacs.org>
9298 * fns.c (list_sort):
9299 * fns.c (Ffillarray):
9300 * fns.c (bytecode_nconc2):
9303 * fns.c (Fmapconcat):
9304 Be pedantically 64-bit correct. For the time when someone will
9305 want to have a list with length > 2**32.
9307 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
9308 Work around MIPSpro compiler bug.
9310 * process-unix.c (unix_kill_child_process): Add snarky comment.
9311 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
9313 * config.h.in: Oops, _getpt ==> _getpty
9315 2000-10-26 Martin Buchholz <martin@xemacs.org>
9319 Use void*, not char*, as return type of alloca().
9321 * alloc.c (free_marker): Side effect inside assert expression!
9323 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
9325 * mule-charset.c (Fset_charset_ccl_program): To check
9326 if the given ccl program is valid, use setup_ccl_program()
9327 instead of CHECK_VECTOR().
9328 (Fmake_charset): Likewise.
9330 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
9332 * faces.c (get_extent_fragment_face_cache_index):
9333 Fix cachel.merged_faces memory leak.
9335 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
9337 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
9338 Reset MSB of octets obtained by DECODE_SJIS
9339 because of the incompatibility with Emacs.
9340 (ccl_driver)<CCL_ENCODE_SJIS>:
9341 Set MSB of octets before passing them to
9342 ENCODE_SJIS because of the incompatibility
9345 2000-10-18 Daiki Ueno <ueno@unixuser.org>
9347 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
9348 (DECLARE_LRECORD): Undo the last change.
9349 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
9351 2000-10-17 Daiki Ueno <ueno@unixuser.org>
9353 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
9354 the implementation to lrecord_implementations_table.
9356 2000-10-14 Daiki Ueno <ueno@unixuser.org>
9358 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
9359 initial value of `lrecord_type_##c_name' and
9360 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
9361 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
9362 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
9363 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
9364 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
9366 2000-10-17 Martin Buchholz <martin@xemacs.org>
9368 * miscplay.c (sndcnv8S_2mono):
9369 (sndcnv2monounsigned):
9370 (sndcnvULaw_2linear):
9372 Remove implementation-defined behavior.
9374 2000-10-12 Martin Buchholz <martin@xemacs.org>
9376 * input-method-xlib.c: Warning suppression.
9378 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
9380 * mule-ccl.c: Sync up with Emacs 21.0.90.
9381 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
9383 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
9385 (ccl_driver[WriteMultibyteChar2]): Bug fix.
9386 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
9387 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
9388 leading char belongs to official 2-dimensional charset.
9389 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
9390 write the given character as is. Otherwise,
9391 if it is a multibyte char, convert it by
9392 non_ascii_set_charptr_emchar, then write it.
9393 (CCL_WRITE_STRING): Likewise.
9394 (ccl_get_compiled_code): New function.
9395 (setup_ccl_program): When ccl_prog is invalid,
9397 (Fregister_code_conversion_map): New function.
9398 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
9400 * mule-ccl.h: Sync up with Emacs 21.0.90.
9401 (Fregister_ccl_program): export it.
9403 * redisplay-msw.c (separate_textual_runs):
9404 If ccl program is not valid, don't do ccl conversion.
9406 * redisplay-x.c (separate_textual_runs): Ditto.
9408 * file-coding.c (Fmake_coding_system):
9409 When type is ccl and value is vector, register it
9410 with a proper symbol. And checks whether the
9411 given ccl program is valid.
9412 (mule_decode): When calling ccl_driver, if src indicates
9413 NULL pointer, set an empty string instead.
9414 (mule_encode): Likewise.
9416 2000-10-11 Martin Buchholz <martin@xemacs.org>
9418 The following large batch of changes gets us back to a state of
9419 C++ compilability. Extbyte is now a char, which means that
9420 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
9422 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
9424 * sound.c (Fplay_sound): Type correctness.
9426 * select-x.c (hack_motif_clipboard_selection): Type correctness.
9427 (x_get_window_property): Type correctness.
9428 (receive_incremental_selection): unsigned char ==> Extbyte
9429 (selection_data_to_lisp_data): unsigned char ==> Extbyte
9430 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
9431 (Fx_store_cutbuffer_internal): Type correctness.
9433 * process-unix.c (try_to_initialize_subtty): Type correctness.
9435 * objects-x.c (x_print_color_instance): Type correctness.
9436 (x_print_font_instance): Type correctness.
9437 (x_list_fonts): SExtbyte ==> Extbyte.
9438 (valid_x_font_name_p): SExtbyte ==> Extbyte.
9439 (x_find_charset_font): SExtbyte ==> Extbyte.
9440 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
9441 (truename_via_XListFonts): SExtbyte ==> Extbyte.
9442 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
9445 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
9446 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
9447 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
9448 (BYTE_C0_P): Use bit ops for char-signedness safety.
9449 (BYTE_C1_P): Use bit ops for char-signedness safety.
9450 (CHARSET_BY_LEADING_BYTE):
9451 (CHARSET_BY_ATTRIBUTES):
9452 Always use inline function.
9453 Use type_checking_assert.
9456 * mule-charset.c (non_ascii_charptr_copy_char):
9457 Modify to work with both ASCII and non-ASCII characters.
9458 Improve docs and variable names.
9459 Replace over-clever fall-through switch with a simple loop.
9460 (Lstream_get_emchar_1):
9461 Replace over-clever fall-through switch with a simple loop.
9463 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9464 Warning suppression.
9466 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
9467 the return value of Lstream_getc, which could be EOF as well.
9469 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
9471 * lisp.h: Make Extbyte a char, not unsigned char, so that external
9472 APIs can be used on Extbytes without casts. Risky!
9476 * input-method-xlib.c (XIM_init_device):
9477 Use Xlib.h instead of IntrinsicP.h.
9478 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
9479 which will break in X11R7.
9480 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
9481 to call XRegisterIMInstantiateCallback with correct types.
9483 * gui-x.c (button_item_to_widget_value): Type correctness.
9485 * glyphs.c (bitmap_to_lisp_data): Type correctness.
9487 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
9488 (xbm_instantiate_1): Type correctness.
9489 (BUILD_GLYPH_INST): Type correctness.
9491 * fileio.c (Fsubstitute_in_file_name): Type correctness.
9494 (decode_coding_sjis):
9495 (decode_coding_big5):
9496 (decode_coding_ucs4):
9497 (decode_coding_utf8):
9498 (decode_coding_iso2022):
9499 (decode_coding_no_conversion):
9500 Make all decoding functions take an Extbyte * arg.
9501 (encode_coding_sjis):
9502 (encode_coding_big5):
9503 (encode_coding_ucs4):
9504 (encode_coding_utf8):
9505 (encode_coding_iso2022):
9506 (encode_coding_no_conversion):
9507 Make all encoding functions take a Bufbyte * arg.
9508 Use size_t instead of unsigned int for memory sizes.
9509 Only cast to unsigned char whenever dereferencing Extbyte *.
9511 * doc.c (unparesseuxify_doc_string): Type correctness.
9513 * console-x.c (split_up_display_spec):
9514 Rewrite without using details of internal string representation.
9515 (x_semi_canonicalize_device_connection): Type correctness.
9518 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
9519 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
9520 (HAVE_XFREE386): Removed.
9522 * buffer.h (DEC_CHARPTR): `const' correctness.
9523 (bufbyte_strcmp): New.
9524 (bufbyte_memcmp): New.
9526 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
9528 * buffer.h (XCHAR_OR_CHAR_INT):
9529 Always use inline function.
9530 Remove redundant type checking assert() - XINT will abort quite nicely.
9532 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9534 * search.c (Freplace_match): Set newtext to an empty string.
9536 2000-10-10 Martin Buchholz <martin@xemacs.org>
9538 * s/decosf1-3.h: Remove #include of stropts.h
9539 * s/ptx.h: Remove #include of stropts.h
9540 * s/usg5-4.h: Remove #include of stropts.h
9543 Use stropts.h, not sys/stropts.h.
9544 Use strtio.h, not sys/strtio.h.
9546 2000-10-04 Martin Buchholz <martin@xemacs.org>
9548 * XEmacs 21.2.36 is released.
9550 2000-09-21 Andy Piper <andy@xemacs.org>
9552 * glyphs-x.c (x_redisplay_widget): make sure non-structural
9553 changes still involve copying the widget tree.
9554 (update_widget_face): make sure a change is register in the widget
9555 tree. Call update_tab_widget_face appropriately.
9556 (update_tab_widget_face): ditto.
9557 (x_tab_control_redisplay): make sure non-structural changes still
9558 involve copying the widget tree.
9560 2000-08-31 Daiki Ueno <ueno@unixuser.org>
9562 * lread.c (locate_file): Check the path element is non-nil.
9564 2000-10-02 Martin Buchholz <martin@xemacs.org>
9566 * lisp.h: Warning suppression for SCO compilers.
9568 * redisplay-tty.c (reset_tty_modes): Fix crash.
9569 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
9571 2000-09-27 Martin Buchholz <martin@xemacs.org>
9573 Big signal/process handling overhaul. Bugs fixed:
9574 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
9575 M-x comint-kill-subjob should work for both values nil and t of
9576 process-connection-type. It was broken on most platforms.
9577 Testing on Irix and Cygwin still needed. Other plaforms tested.
9578 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
9579 * process-unix.c: Signal/Process handling overhaul.
9580 (pty_name): make 64 bytes, as `expect' does, for paranoia.
9581 (allocate_pty): Use all available modern methods of allocating
9582 ptys, falling back to old style BSD allocation as a last resort.
9583 Use allegedly more secure Unix98 pty allocation by default.
9584 (allocate_pty_the_old_fashioned_way): New. the last resort.
9585 (unix_create_process): Push ptem, ldterm, ttcompat where
9586 available. Autoconfiscate.
9587 (try_to_initialize_subtty): New.
9588 (unix_kill_child_process): Proper signal handling for ptys on most
9589 platforms, using special knowledge of AIX, BSD, etc...
9590 (unix_create_process): Always disconnect_controlling_terminal() for
9591 subprocesses, whether using ptys or not.
9592 * process.h: Remove old getpt-dependent PTY code.
9593 * process.c (Fprocess_send_signal): New, obvious generic function.
9594 (decode_signal): New.
9595 (Finterrupt_process):
9599 (Fcontinue_process):
9600 (Fsignal_process): Use decode_signal.
9601 (process_send_signal):
9602 Many docstring corrections.
9603 Allow any signal to be sent to a process object.
9604 * config.h.in: Add symbols for big signal/process overhaul.
9605 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
9606 * sysproc.h: Include process-related headers, where available:
9607 sys/stropts.h sys/strtio.h pty.h libutil.h
9615 Remove old S&M pty stuff.
9616 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
9617 * systty.h: Simplify cpp hackery, improve comments.
9618 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
9620 * editfns.c (Fformat_time_string):
9621 Be a little more paranoid with the return value of ctime.
9623 * fileio.c (check_executable):
9625 Use symbolic constants X_OK, W_OK.
9627 * console-x.c (split_up_display_spec): Fix a warning.
9629 2000-10-02 Martin Buchholz <martin@xemacs.org>
9631 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
9632 * ntproc.c (sys_spawnve): make_string ==> build_string
9633 Small clarity improvements.
9635 2000-09-30 Martin Buchholz <martin@xemacs.org>
9637 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
9639 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
9641 * config.h.in (HAVE_STRCASECMP): Remove.
9643 2000-09-29 Martin Buchholz <martin@xemacs.org>
9645 * redisplay-output.c (redisplay_output_pixmap):
9646 Cleaner and possibly more 64-bit correct code.
9648 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
9650 * dumper.c (pdump_load_finish): move restoration of
9651 `noninteractive1' to emacs.c (main_1).
9652 * emacs.c (main_1): protect LISP-visible command-line flags
9655 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
9657 * Makefile.in.in (versionclean): Use EXE_TARGET and
9658 DUMP_TARGET instead of literal program names.
9660 2000-09-20 Martin Buchholz <martin@xemacs.org>
9662 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
9664 2000-09-19 Martin Buchholz <martin@xemacs.org>
9666 * *: Spelling mega-patch
9668 2000-09-19 Martin Buchholz <martin@xemacs.org>
9670 * fns.c (bad_bad_turtle):
9671 Delete "Eek!" comment, since we fixed the bug to which it refers.
9673 2000-09-16 Martin Buchholz <martin@xemacs.org>
9675 * alloca.c: Replace REGISTER with register.
9677 2000-09-16 Daiki Ueno <ueno@unixuser.org>
9679 * file-coding.c (ucs_to_char): Use countof.
9681 2000-09-16 Martin Buchholz <martin@xemacs.org>
9683 * file-coding.c: (ucs_to_char):
9684 (complex_vars_of_file_coding):
9685 Use countof instead of sizeof.
9686 Use CHECK_NATNUM instead of CHECK_INT.
9688 * sysdep.c (strcasecmp): Remove.
9689 * device-x.c (ascii_strcasecmp): New.
9690 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
9691 Avoid using non-standard non-portable strcasecmp.
9693 2000-09-16 Martin Buchholz <martin@xemacs.org>
9695 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
9696 * font-lock.c: remove reference to emacsfns.h.
9697 * search.c: small doc improvement.
9698 * event-Xt.c: correct file names in comments.
9699 * console-x.h Correct file names in comments.
9700 * frame.c: Correct file names in comments.
9701 * event-stream.c: remove Energize from comments.
9703 2000-09-15 Martin Buchholz <martin@xemacs.org>
9705 * symeval.h (DEFERROR_STANDARD):
9708 (DEFSYMBOL_NO_DUMP):
9709 (DEFSYMBOL_MULTIWORD_PREDICATE):
9710 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
9712 The construct &##name is not sensible C.
9713 Fixes compilation errors with Unixware native compiler.
9715 2000-09-14 Martin Buchholz <martin@xemacs.org>
9717 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
9718 (next_frame_internal): Removed. We now just have next_frame.
9720 Write a simpler and cleaner one-pass algorithm.
9721 Remove called_from_delete_device arg and #ifdefed-out code.
9723 Renamed from prev_frame. Update callers.
9724 Cleaned up to have an analogous implementation to next_frame.
9725 (other_visible_frames_internal): Remove the
9726 called_from_delete_device bogus arg, and hence, remove this
9727 function. Just use other_visible_frames().
9729 * window.c (Fnext_window):
9731 Since next_frame() is guaranteed to return a frame, remove check
9732 for nil inserted in previous patch.
9735 Make code look more like Fnext_window.
9737 Respect the `console' arg when iterating through windows.
9738 Fixes bug: (get-buffer-window buffer t device) not respecting
9740 This function needs more work, as others have pointed out.
9742 * frame.h: Rename prev_frame to previous_frame.
9743 device_matches_console_spec no longer takes a `frame' arg.
9748 Use EMACS_BLOCK_SIGNAL instead of sigblock.
9749 From "Golubev I. N." <gin@mo.msk.ru>.
9751 * make-src-depend: Fix typo.
9753 2000-09-13 Martin Buchholz <martin@xemacs.org>
9755 * window.c (Fnext_window):
9756 next_frame() might return nil, not a frame.
9758 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
9760 * frame.c (next_frame_internal):
9761 We've passed a frame if we've passed its device.
9763 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
9764 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
9766 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
9768 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
9769 Allow option to suppress accelerators in menu/dialog items.
9770 (populate_or_checksum_helper): Pass dialog title through above.
9772 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
9774 * event-msw.c (mswindows_key_to_emacs_keysym):
9775 Add "pause" key, fix "menu" key.
9777 2000-09-09 Martin Buchholz <martin@xemacs.org>
9779 * eval.c (reinit_vars_of_eval):
9780 Increase max_lisp_eval_depth to 1000,
9781 required for thai-xtis.el to byte-compile under some circumstances.
9783 2000-09-04 Martin Buchholz <martin@xemacs.org>
9785 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
9788 2000-09-01 Martin Buchholz <martin@xemacs.org>
9790 * make-src-depend: Make the generated Makefiles smaller.
9792 * s/hpux.h (SETUP_SLAVE_PTY):
9793 Provide a %d in the format string for the errno argument.
9795 * editfns.c (Ftemp_directory):
9797 Avoid buffer overrun on very long file name.
9799 * input-method-xlib.c (XIM_init_device):
9800 6th parameter of XRegisterIMInstantiateCallback has different
9801 pointer types on different OSes, so simply cast to (void *).
9803 * unexhp9k800.c: Warning fixes. Fiddly changes.
9805 * sysdll.c (dll_open):
9806 shl_load will hang hard if passed a NULL filename.
9807 Simply return NULL for compatibility with dlopen.
9808 * sysdll.c: Conform to XEmacs coding standards.
9810 * sysdep.c (get_pty_max_bytes):
9811 Support pty input lines longer than 512 bytes on HP-UX 10.20.
9813 2000-08-31 Martin Buchholz <martin@xemacs.org>
9815 * tooltalk.c: Add #include <syssignal.h>
9817 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
9819 * s/hpux.h: Don't use undefined function sigunblock().
9821 2000-08-31 Martin Buchholz <martin@xemacs.org>
9823 * config.h.in: Add HAVE_BALLOON_HELP.
9824 * emacs.c: Use HAVE_BALLOON_HELP.
9825 * Makefile.in.in (x_objs):
9826 Make Balloon Help conditional on finding shape.h.
9828 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
9830 * syntax.c (regex_emacs_buffer_p): New variable.
9831 * syntax.h (regex_emacs_buffer_p): extern.
9832 * search.c (looking_at_1):
9834 (fast_string_match):
9835 (search_buffer): Set regex_emacs_buffer_p.
9836 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
9837 when before_dot, at_dot, after_dot.
9839 2000-08-23 Andy Piper <andy@xemacs.org>
9841 * gui-x.c (popup_selection_callback): Only set action_occurred
9842 when we really have an image instance.
9843 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
9845 2000-08-23 Andy Piper <andy@xemacs.org>
9847 * gui-msw.c (mswindows_handle_gui_wm_command): set
9849 * gui-x.c (popup_selection_callback): ditto.
9851 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
9852 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
9853 (struct Lisp_Image_Instance): add action_occurred flag.
9855 * glyphs.c (redisplay_subwindow): use action_occurred flag.
9856 (image_instance_changed): ditto.
9857 (reset_frame_subwindow_instance_cache): only unmap windows - do
9858 not remove them from the cache also.
9860 * glyphs-widget.c (tab_control_update): better debug.
9861 (progress_gauge_update): ditto.
9862 (layout_update): ditto.
9863 (layout_instantiate): ditto.
9864 (tab_control_order_only_changed): cope with null pending items.
9866 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
9867 debug. Force selection of an item when an action occurred. Cope
9868 with null pending_items.
9869 (mswindows_progress_gauge_redisplay): better debug.
9870 * glyphs-x.c (x_tab_control_redisplay): ditto.
9872 * redisplay.c (redisplay_frame): reset the frame cache if the
9875 * window.c (Fset_window_configuration): potentially re-enable
9877 (window_unmap_subwindows): need to finalize instances here since
9878 it is only used in mark_window_as_deleted.
9880 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
9882 * nas.c (SndOpenDataForReading):
9883 nas.c (WaveOpenDataForReading):
9884 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
9885 Somehow escaped from the 2000-08-14 patch.
9887 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
9889 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
9890 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
9892 2000-08-21 Andy Piper <andy@xemacs.org>
9894 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
9895 window if it is not already displayed.
9897 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
9898 it is not already displayed.
9900 * window.c (Fset_window_configuration): don't reset the frame
9903 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
9904 instances from the frame cache if we are actually finalizing them.
9905 (reset_frame_subwindow_instance_cache): reset frame cache only
9906 after unmapping everything.
9907 (map_subwindow): set displayed flag after mapping.
9909 2000-08-21 Martin Buchholz <martin@xemacs.org>
9911 * data.c (indirect_function):
9912 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
9914 * eval.c (function_argcount):
9915 Use original function when signaling errors.
9917 2000-08-18 Andy Piper <andy@xemacs.org>
9919 * frame.c (delete_frame_internal): use new
9920 free_frame_subwindow_instances name.
9922 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
9923 (add_tab_item): make return type correct.
9924 (mswindows_tab_control_instantiate): assert index of tab.
9925 (mswindows_tab_control_redisplay): Re-code to use
9926 gui_item_equal_sans_selected and gui_item_list_find_selected.
9928 * glyphs-widget.c (tab_control_update): Correct comment.
9930 * window.c (window_unmap_subwindows): use new
9931 unmap_subwindow_instance_cache_mapper.
9932 (window_unmap_subwindows_cache_mapper): deleted.
9933 (Fset_window_configuration): comparisons should now be with
9934 EQ. Preserve the subwindow instance cache across configuration
9936 (allocate_window): ditto.
9937 (make_dummy_parent): ditto.
9939 * glyphs.c (free_frame_subwindow_instances): rename from
9940 free_frame_subwindow_instance_cache. finalize all instances rather
9941 than just those in the display cache.
9942 (finalize_all_subwindow_instances): walk windows unmapping and
9943 finalizing subwindows.
9944 (unmap_subwindow_instance_cache_mapper): moved from
9945 window.c. Allow finalization as well as unmapping.
9947 * gui.c (gui_item_list_find_selected): new function.
9949 * gui.h (gui_item_list_find_selected): declare.
9951 * glyphs-x.c (x_tab_control_redisplay): pick tab
9952 explicitly. Re-code to use gui_item_equal_sans_selected and
9953 gui_item_list_find_selected.
9955 * glyphs-x.h: add lwlib-utils.h
9957 * buffer.c (Frecord_buffer): undo previous change.
9959 2000-08-09 Vin Shelton <acs@xemacs.org>
9961 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
9962 possible. Create temporary files more securely. The patch was
9963 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
9964 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
9965 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
9968 2000-08-07 Ben Wing <ben@xemacs.org>
9970 * getloadavg.c: remove duplicate (and windows-breaking)
9971 includes of fcntl.h and sys/file.h.
9973 * nt.c: remove duplicate getloadavg() definition.
9975 * sysdll.h (Qdll_filename_encoding): add missing stand-in
9978 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
9980 * eval.c (function_argcount): If function needs to be autoloaded
9981 actually use the loaded definition.
9984 2000-08-05 Ben Wing <ben@xemacs.org>
9986 * getloadavg.c: add prototype for getloadavg(). remove
9987 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
9988 of the code). remove duplicate header includes.
9990 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
9992 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
9993 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
9994 useful load average.
9996 * alloc.c (reinit_alloc_once_early): removed references to
9997 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
9998 the lisp vars are the only things referencing the malloc_sbrk_*
9999 vars, and they were already if 0'd out. these vars only exist
10000 in the older malloc.c, which is basically unused, and they're
10001 only for informational purposes.
10003 * m\*.h: removed useless VIRT_ADDR_VARIES.
10005 * m\powerpc.h: removed stray NO_ARG_ARRAY.
10007 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
10009 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
10010 color if the image is a mono pixmap.
10012 2000-07-30 Ben Wing <ben@xemacs.org>
10014 * Makefile.in.in (release):
10017 * buffer.c (directory_is_current_directory):
10018 * dired-msw.c (mswindows_get_files):
10020 * dired.c (Fdirectory_files):
10021 * dired.c (file_name_completion_stat):
10022 * dired.c (Ffile_attributes):
10023 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
10024 preprocessor tricks, to avoid problems on some machines
10027 * callproc.c (egetenv): GC docs.
10030 * console-msw.h (struct mswindows_dialog_id):
10031 * lrecord.h (lrecord_type):
10032 New object for use with MSW dialogs.
10034 * console.h (struct console_methods):
10035 New enable/disable frame methods, for proper modal dialogs.
10037 * device-msw.c (msprinter_default_printer): Fix to follow
10038 proper Mule conventions.
10041 * device-msw.c (signal_open_printer_error):
10042 * device-msw.c (msprinter_init_device):
10043 * device-msw.c (ensure_not_printing):
10044 * device-msw.c (plist_get_margin):
10045 * device-msw.c (Fmsprinter_select_settings):
10046 * device-msw.c (finalize_devmode):
10047 * device-msw.c (Fmsprinter_settings_despecialize):
10048 * device-msw.c (signal_enum_priner_error):
10049 * extents.c (decode_extent):
10050 * extents.c (decode_map_extents_flags):
10051 * extents.c (decode_extent_at_flag):
10052 * extents.c (Fextent_at):
10053 * extents.c (Fextents_at):
10054 * extents.c (symbol_to_glyph_layout):
10055 [[[[2]]]] Use structured errors.
10058 * dialog-msw.c (mswindows_is_dialog_msg):
10059 * dialog-msw.c (mark_mswindows_dialog_id):
10060 * dialog-msw.c (dialog_proc):
10061 * dialog-msw.c (handle_question_dialog_box):
10062 * dialog-msw.c (syms_of_dialog_mswindows):
10063 Define new object to clean up marking; use it as a dialog identifier.
10064 Call new delete-dialog-box-hook.
10066 * dialog-x.c (dbox_selection_callback):
10067 * dialog-x.c (dbox_descriptor_to_widget_value):
10068 * dialog-x.c (x_make_dialog_box_internal):
10069 Call new delete-dialog-box-hook.
10073 * dialog.c (syms_of_dialog):
10074 * dialog.c (vars_of_dialog):
10075 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
10078 * eval.c (signal_call_debugger):
10079 when noninteractive, output stack traces on the console instead
10080 of in a (never-seen) buffer.
10082 * eval.c (signal_type_error):
10083 * eval.c (invalid_argument_2):
10085 new funs for use w/structured errors.
10088 * event-Xt.c (x_to_emacs_keysym):
10089 * event-Xt.c (describe_event):
10090 * event-Xt.c (emacs_Xt_event_handler):
10091 * event-Xt.c (vars_of_event_Xt):
10093 * event-msw.c (mswindows_wnd_proc):
10094 * event-msw.c (vars_of_event_mswindows):
10095 rename {x,mswindows}-debug-events to debug-{}-events for
10096 consistency with other debug-foo variables.
10099 document next-event more clearly.
10101 * fileio.c (Ffile_name_directory):
10102 * fileio.c (Ffile_name_nondirectory):
10103 * fileio.c (Funhandled_file_name_directory):
10104 * fileio.c (file_name_as_directory):
10105 * fileio.c (Ffile_name_as_directory):
10106 * fileio.c (directory_file_name):
10107 * fileio.c (Fdirectory_file_name):
10108 * fileio.c (Fmake_temp_name):
10109 * fileio.c (Ffile_truename):
10110 * fileio.c (Fsubstitute_in_file_name):
10111 * fileio.c (expand_and_dir_to_file):
10112 * fileio.c (barf_or_query_if_file_exists):
10113 * fileio.c (check_executable):
10114 * fileio.c (Ffile_exists_p):
10115 * fileio.c (Ffile_writable_p):
10116 * fileio.c (Ffile_directory_p):
10117 * fileio.c (Ffile_regular_p):
10118 * fileio.c (Ffile_modes):
10119 * fileio.c (Ffile_newer_than_file_p):
10120 * fileio.c (Fverify_visited_file_modtime):
10121 * fileio.c (Fset_visited_file_modtime):
10122 * fileio.c (auto_save_1):
10127 * frame-msw.c (mswindows_init_frame_1):
10128 * frame-msw.c (mswindows_enable_frame):
10129 * frame-msw.c (error_frame_unsizable):
10130 * frame-msw.c (msprinter_init_frame_1):
10131 * frame-msw.c (msprinter_init_frame_3):
10132 * frame-msw.c (console_type_create_frame_mswindows):
10134 implement new enable/disable frame methods.
10137 * frame-x.c (x_enable_frame):
10138 * frame-x.c (console_type_create_frame_x):
10139 implement new enable/disable frame methods.
10142 * frame.c (Fdisable_frame):
10143 * frame.c (syms_of_frame):
10144 * frame.h (struct frame):
10145 implement new enable/disable frame methods/functions.
10150 * glyphs-msw.c (mswindows_widget_instantiate):
10151 comment that initial-focus should be implemented.
10154 * glyphs-widget.c (check_valid_instantiator):
10155 * glyphs-widget.c (check_valid_orientation):
10156 * glyphs-widget.c (check_valid_tab_orientation):
10157 * glyphs-widget.c (check_valid_justification):
10158 * glyphs-widget.c (check_valid_border):
10159 * glyphs-widget.c (check_valid_callback):
10160 * glyphs-widget.c (check_valid_int_or_function):
10161 * glyphs-widget.c (check_valid_string_or_vector):
10162 * glyphs-widget.c (check_valid_item_list_1):
10163 * glyphs-widget.c (widget_validate):
10164 * glyphs-widget.c (combo_box_validate):
10165 * glyphs-widget.c (widget_instantiate):
10166 * glyphs-widget.c (syms_of_glyphs_widget):
10167 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
10168 * glyphs-widget.c (image_instantiator_combo_box):
10169 * glyphs-widget.c (image_instantiator_scrollbar):
10170 * glyphs-widget.c (image_instantiator_tab_control):
10171 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
10173 support (unimplemented) keyword initial-focus.
10174 reindent long macros.
10176 * glyphs-x.c (x_redisplay_widget):
10177 * glyphs-x.c (x_button_instantiate):
10178 * glyphs-x.c (x_button_redisplay):
10179 * glyphs-x.c (x_progress_gauge_instantiate):
10180 * glyphs-x.c (x_edit_field_instantiate):
10181 * glyphs-x.c (x_combo_box_instantiate):
10182 * glyphs-x.c (x_tab_control_instantiate):
10183 * glyphs-x.c (x_label_instantiate):
10185 * gui-x.c (button_item_to_widget_value):
10186 * gui-x.c (gui_items_to_widget_values_1):
10187 * gui-x.c (gui_item_children_to_widget_values):
10188 * gui-x.c (gui_items_to_widget_values):
10190 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10191 add new flag to gui-parsing routines to indicate whether
10192 accelerator specs should be supported.
10194 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
10196 * glyphs.h (struct Lisp_Image_Instance):
10197 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
10198 add initial-focus flag.
10201 * gui.c (syms_of_gui):
10202 * gui.c (vars_of_gui):
10203 clean up menu-no-selection-hook.
10206 support delete-dialog-box-hook.
10208 * lread.c (Fload_internal):
10209 * lread.c (locate_file_in_directory_mapper):
10213 * lrecord.h (struct toolbar_button):
10214 * lrecord.h (syms_of_toolbar):
10215 document how to create a new object.
10217 * menubar-msw.c (mswindows_char_is_accelerator):
10218 may be called on frames w/o menus.
10220 * menubar.c (vars_of_menubar):
10221 clean up :filter docs.
10228 * process-nt.c (validate_signal_number):
10229 * process-nt.c (signal_cannot_launch):
10230 * process-nt.c (nt_create_process):
10231 * process-nt.c (nt_send_process):
10232 * process-nt.c (nt_kill_child_process):
10233 * process-nt.c (nt_open_network_stream):
10234 * process-nt.c (syms_of_process_nt):
10236 delete quote-handling. call new lisp code that does it better.
10238 * process-unix.c (connect_to_file_descriptor):
10239 * process-unix.c (allocate_pty):
10240 * process-unix.c (unix_send_process):
10241 * process-unix.c (unix_kill_child_process):
10242 * process-unix.c (unix_open_network_stream):
10243 * process-unix.c (unix_open_multicast_group):
10247 * process.c (Fstart_process_internal):
10248 (2). need to canonicalize process path even if absolute.
10250 * select-msw.c (symbol_to_ms_cf):
10251 * select-msw.c (ms_cf_to_symbol):
10252 * select-msw.c (cf_is_autofreed):
10253 * select-msw.c (mswindows_destroy_selection):
10255 * select.c (syms_of_select):
10257 support dibv5, fix bugs. (from Mike Alexander)
10259 * select.c (Fget_selection_internal):
10260 * select.c (select_convert_out):
10263 * sysdep.c (xemacs_stat):
10266 * sysdep.c (mkdir):
10267 * sysdep.c (rmdir):
10268 but keep original stat() here because we provide encapsulation
10272 * sysfile.h (fstat):
10273 remove stat garbage.
10276 fix X/MSW conflict.
10277 don't include tchar.h. it's inappropriate because it makes
10278 compile-time distinctions when we want runtime distinctions.
10279 (we provide our own tchar replacements)
10282 use default object printer for toolbar-button.
10285 make sure we don't encapsulate.
10287 * window.c (vars_of_window):
10288 emphasize that temp-buffer-show-hook is obsolete.
10290 2000-08-05 Martin Buchholz <martin@xemacs.org>
10292 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
10293 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
10295 * events.c (Fevent_timestamp_lessp):
10296 Not 64-bit clean. Use EMACS_INT, not int.
10298 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
10300 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
10301 unsigned int and changed the last enum to
10302 lrecord_type_last_built_in_type.
10303 (lrecord_implementations_table): changed prototype to know how
10304 long the array is supposed to be.
10305 (lrecord_type_count): new unsigned int to keep track of the
10306 current number of lisp lrecord types.
10307 (DEFINE_EXTERNAL_LRECORD):
10308 (DECLARE_EXTERNAL_LRECORD): Added these two for external
10309 dynamic-modules to declare new lisp types. They are the same
10310 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
10311 int for each new type, and increment lrecord_type_count by 1.
10313 * alloc.c (lrecord_implementations_table): Changed to reference
10314 lrecord_type_last_built_in_type for the size of the array.
10315 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
10317 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
10319 * glyphs.h (check_valid_item_list): Renamed from
10320 check_valid_item_list_1.
10322 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
10324 * select.c (Qselect_coerce): New.
10325 * select.c (Vselection_coercion_alist): New.
10326 * select.c (syms_of_select): Declare.
10327 * select.c (get-selection-internal): Use it.
10328 Use the new select-coerce functionality.
10330 * select.c (select_coerce): New.
10331 * select.h (select_coerce): Declare.
10332 New function to coerce one type of data into another.
10334 2000-08-03 Martin Buchholz <martin@xemacs.org>
10336 * callproc.c (Fcall_process_internal):
10337 (Fcall_process_internal):
10338 * process-unix.c (unix_create_process):
10339 Save and restore the value of errno, so that error messages are accurate.
10341 2000-08-01 Martin Buchholz <martin@xemacs.org>
10343 * elhash.c (print_hash_table):
10344 Fix printing of hash tables to also use `key-and-value' instead of `t'.
10345 Prettify docstrings and indentation.
10347 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
10349 * window.c (Fwindow_pixel_edges): Subtract frame border and
10352 2000-07-31 Andy Piper <andy@xemacs.org>
10354 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
10355 will acknowledge the change.
10357 * glyphs.h: declare tab_control_order_only_changed.
10359 * glyphs-x.c (x_tab_control_redisplay): use
10360 tab_control_order_only_changed.
10362 * glyphs-widget.c (tab_control_order_only_changed): new function.
10364 * glyphs-msw.c (mswindows_tab_control_redisplay): use
10365 tab_control_order_only_changed.
10367 * gui.c (gui_item_equal_sans_selected): new function.
10368 (gui_item_equal): use it.
10370 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
10371 :properties in favor of :items..
10373 * glyphs-widget.c (check_valid_item_list): rename from
10374 check_valid_item_list_1.
10375 (check_valid_item_list_1): renamed.
10376 (combo_box_validate): deprecate :properties in favor of :items.
10377 (widget_instantiate): ditto.
10378 (tab_control_update): ditto.
10379 (image_instantiator_combo_box): ditto.
10380 (image_instantiator_tree_view): ditto.
10381 (image_instantiator_tab_control): ditto.
10382 (layout_post_instantiate): remove dead code.
10384 * print.c (debug_print_no_newline): only write to debugger if in
10387 * elhash.c (Fmake_hash_table): update doc string.
10389 * event-msw.c (mswindows_wnd_proc): don't allow processing of
10390 messages whilst in GC. This at least stops XEmacs crashing but has
10391 the potential for wierd behaviour.
10393 2000-07-31 Martin Buchholz <martin@xemacs.org>
10396 Make existence of s&m files optional.
10398 * s/bsd386.h: Remove HAVE_GETLOADAVG.
10399 * s/freebsd.h: Remove HAVE_GETLOADAVG.
10400 * s/gnu.h: Remove HAVE_GETLOADAVG.
10401 * s/netbsd.h: Remove HAVE_GETLOADAVG.
10402 * s/sol2.h: Remove HAVE_GETLOADAVG.
10403 * lisp.h: Remove getloadavg() declaration.
10405 Include <sys/loadavg.h> if available.
10406 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
10407 * config.h.in: Group together getloadavg()-related macros.
10408 Use only configure-time tests to detect getloadavg().
10410 2000-07-30 Martin Buchholz <martin@xemacs.org>
10412 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
10414 2000-07-25 Andy Piper <andy@xemacs.org>
10416 * syswindows.h: add tchar.h for native builds.
10418 * frame.c (syms_of_frame): remove set-glyph-image.
10420 * general-slots.h: add Qset_glyph_image.
10422 * glyphs-widget.c (layout_update): add domain arg to
10424 (syms_of_glyphs_widget): remove set-glyph-image.
10426 2000-07-23 Ben Wing <ben@xemacs.org>
10428 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
10431 2000-07-22 Andy Piper <andy@xemacs.org>
10433 * symsinit.h: add syms_of_win32().
10435 * gui-msw.c (syms_of_gui_mswindows): remove
10436 Fmswindows_shell_execute.
10437 (Fmswindows_shell_execute): moved to win32.c.
10439 * emacs.c (main_1): add syms_of_win32 ().
10441 * win32.c (init_potentially_nonexistent_functions): rewrite in
10442 compiler-friendly terms.
10443 (Fmswindows_shell_execute): move here from gui-msw.c.
10444 (syms_of_win32): new.
10446 * device-msw.c (Fmswindows_printer_list): clean up args to
10448 Don't include tchar under cygwin or mingw.
10449 (msprinter_default_printer): make cygwin-friendly.
10451 2000-07-21 Andy Piper <andy@xemacs.org>
10453 * glyphs-widget.c (image_instantiator_tree_view): use tab
10454 control's update function.
10455 (layout_property): new function. Retrieve items.
10457 * glyphs-msw.c (mswindows_tree_view_redisplay): new
10458 function. Re-populate the tree view from the pending items.
10460 * glyphs.c (instantiate_image_instantiator): Make sure the domain
10461 is designated the parent if the domain is an image instance. This
10462 is needed so that dirtiness can be cascade up the hierarchy and
10463 thus for layout children to be redisplayed correctly.
10464 (allocate_image_instance): rename glyph -> parent.
10466 * redisplay.h: change redisplay_output_layout signature.
10468 * redisplay-msw.c (mswindows_output_display_block): use domain
10471 * redisplay-x.c (x_output_display_block): use domain arg.
10473 2000-07-10 Andy Piper <andy@xemacs.org>
10475 * window.c (Fset_window_configuration): add comment.
10477 * redisplay-output.c (compare_runes):
10478 (redisplay_output_subwindow): redisplay rather than update subwindow.
10479 (redisplay_output_layout): ditto.
10481 * redisplay-msw.c (mswindows_frame_output_end):
10482 (mswindows_frame_output_end): make defer window pos optional.
10484 * lisp.h: add Flast.
10486 * glyphs.h (struct image_instantiator_methods): add dest_mask top
10487 normalize method. Change update method to be for changed
10488 instantiators. Add redisplay method. Change signature of layout
10490 (struct Lisp_Image_Instance): add instantiator.
10491 (IMAGE_INSTANCE_INSTANTIATOR): new.
10492 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
10493 (XIMAGE_INSTANCE_INSTANTIATOR): new.
10494 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
10497 (find_instantiator_differences): new function.
10498 (Fset_instantiator_property): new convenience function.
10499 (check_image_instance_structure): strictly check for vector
10501 (normalize_image_instantiator): make non-static.
10502 (instantiate_image_instantiator): pass on dest_mask and use new
10503 signatures for image_instance_layout and friends.
10504 (mark_image_instance): mark the instantiator. Mark the subwindow
10505 face not the widget face.
10506 (image_instance_equal): add instantiator.
10507 (image_instance_hash): ditto.
10508 (allocate_image_instance): ditto.
10509 (Fset_image_instance_property): removed.
10510 (Fimage_instance_file_name): ditto.
10511 (Fcolorize_image_instance): ditto.
10512 (image_instance_layout): add offsets to be set.
10513 (update_image_instance): new function. update an image instance
10514 from its changed instantiator.
10515 (inherit_normalize): add dest_mask.
10516 (xbm_normalize): ditto.
10517 (xface_normalize): ditto.
10518 (xpm_normalize): ditto.
10519 (text_update): set_property -> update.
10520 (image_instantiate): use the glyph identity as a hash key, not the
10522 (glyph_width): use new image_instance_layout signature.
10523 (glyph_ascent): ditto.
10524 (glyph_descent): ditto.
10525 (glyph_height): ditto.
10526 (glyph_query_geometry): ressurrect.
10527 (glyph_layout): ditto.
10528 (redisplay_subwindow): update -> redisplay.
10529 (syms_of_glyphs): add Fset_instantiator_property.
10530 (image_instantiator_format_create): set_property -> update.
10533 (autodetect_normalize): add dest_maks to signature.
10534 (x_redisplay_subwindow): update -> redisplay.
10535 (x_redisplay_widget): ditto.
10536 (x_button_redisplay): ditto.
10537 (x_progress_gauge_redisplay): ditto.
10538 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
10540 (console_type_create_glyphs_x): update -> redisplay.
10541 (image_instantiator_format_create_glyphs_x): ditto.
10544 (check_valid_instantiator): disallow glyphs in the instantiator,
10545 they must now be vectors.
10546 (check_valid_instantiator_list): ditto.
10547 (glyph_instantiator_to_glyph): use internal symbol rather than
10549 (widget_update): renamed from widget_set_property. Call cascaded
10551 (redisplay_widget): renamed from update_widget.
10552 (widget_layout): image_instance_layout now takes position as well
10554 (widget_normalize): ditto.
10555 (widget_instantiate): ditto.
10556 (tab_control_query_geometry) ditto.:
10557 (tab_control_update): renamed from tab_control_set_property.
10558 (progress_gauge_update): set_property -> update.
10559 (layout_normalize): rewrite so that child instantiators are
10561 (layout_update): new function. Create glyphs from the normalized
10562 children and cope with any other layout keywords. We do not
10563 instantiate children here that will be take care of by
10564 redisplay_output_layout.
10565 (layout_instantiate): call layout_update and not much else.
10566 (layout_post_instantiate): not sure whether this is needed
10568 (layout_query_geometry): query glyph geometry rather than
10569 image_instance geometry.
10570 (layout_layout): set offsets from pass in parameters. Use glyph
10571 geometry and layout functions rather than image instance ones.
10572 (native_layout_layout): ditto.
10573 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
10574 (image_instantiator_widget): set_property -> update.
10575 (image_instantiator_buttons): ditto.
10576 (image_instantiator_progress_guage): ditto.
10577 (image_instantiator_tab_control): ditto.
10578 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
10579 (image_instantiator_layout): add update method.
10581 * glyphs-msw.c (bmp_normalize):
10582 (mswindows_resource_normalize): add dest_mask so that it can be
10583 proprogated by layout_normalize.
10584 (begin_defer_window_pos): make optional because it may not be the
10585 right thing to do and it introduces differences with X.
10586 (mswindows_unmap_subwindow): ditto.
10587 (mswindows_map_subwindow): ditto.
10588 (mswindows_redisplay_subwindow): renamed from
10589 mswindows_update_subwindow.
10590 (mswindows_redisplay_widget): ditto.
10591 (mswindows_button_redisplay): renamed from
10592 mswindows_button_update. Update is now what the instantiation
10593 function does for a changed instantiator.
10594 (mswindows_progress_gauge_instantiate): set the progress value
10595 here if appropriate.
10596 (mswindows_tab_control_redisplay): cope with re-ordering of the
10597 members of the tab widget by simply selecting the new top
10598 widget. This makes things appear ok if you click on a tab.
10599 (mswindows_combo_box_instantiate): image_instance_layout now takes
10600 position as well as size.
10601 (mswindows_progress_gauge_redisplay): renamed from
10602 mswindows_progress_gauge_update.
10603 (console_type_create_glyphs_mswindows): fix update -> redisplay.
10604 (image_instantiator_format_create_glyphs_mswindows): ditto.
10606 * glyphs-eimage.c (jpeg_normalize):
10609 (tiff_normalize): add dest_mask so that it can be proprogated by
10613 (print_hash_table):
10614 (hash_table_weakness_validate):
10615 (decode_hash_table_weakness):
10616 (Fhash_table_weakness):
10617 (Fhash_table_type):
10618 (syms_of_elhash): use Ben's naming scheme for hashtable types..
10620 * console.h (struct console_methods): move update_* to
10623 2000-07-20 Ben Wing <ben@xemacs.org>
10625 * *.[ch] (XSETOBJ): remove unused middle argument.
10626 lisp-disunion.h: correct wrap_object() to one argument.
10628 2000-07-15 Ben Wing <ben@xemacs.org>
10631 * s/cygwin32.h (CYGWIN_CONV_PATH):
10632 Add missing logb prototype for v1.1.
10633 Use post-b20 names and alias to pre-b20 names when pre-b20.
10635 * s/windowsnt.h: [5].
10637 2000-07-15 Ben Wing <ben@xemacs.org>
10639 * Makefile.in.in (x_objs):
10640 * Makefile.in.in (sheap_objs):
10641 * Makefile.in.in (objs):
10642 added win32.o, cosmetic cleanups.
10644 * alloc.c (Fmake_byte_code):
10645 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
10646 etc. macros which declare their own args now.
10648 * alloc.c (syms_of_alloc):
10649 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
10652 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
10654 * buffer.c (Fget_file_buffer):
10655 Fixed GCPRO problem.
10657 * buffer.c (get_truename_buffer):
10658 Fixed comment about GC checking.
10660 * buffer.c (syms_of_buffer):
10661 Undeclared those dedicated frame funs.
10665 Define convenience macros for internal/external conversions.
10666 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
10667 and Qenvironment_variable_encoding for cleaner code.
10670 Remove dedicated-frame; in lisp.
10672 * bytecode.c (funcall_compiled_function):
10675 * bytecode.c (syms_of_bytecode):
10679 * console-msw.c (mswindows_show_console): Rewrote.
10681 * console-msw.c (Fmswindows_debugging_output): New.
10682 Sends to OutputDebugString (special MSWin debugger interface).
10684 * console-msw.c (Fmswindows_message_box):
10685 Fixed stupid bugs so it works when called from kill-emacs.
10687 * console-msw.c (syms_of_console_mswindows):
10688 Declare Fmswindows_debugging_output.
10691 New MSWin prototypes.
10693 * console-msw.h (struct mswindows_frame):
10694 New entry last-click-mods for improved button-modifier support.
10696 * console-msw.h (FRAME_MSWINDOWS_POPUP):
10697 New struct entry `popup' with corresponding accessor.
10700 * console-x.c (split_up_display_spec):
10701 * console-x.c (get_display_arg_connection):
10702 * console-x.c (x_semi_canonicalize_console_connection):
10703 * console-x.c (x_canonicalize_device_connection):
10704 [[[6]]]: Change char to more specific type.
10705 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
10707 * console-x.c (x_semi_canonicalize_console_connection):
10708 * console-x.c (x_canonicalize_device_connection):
10709 [[[9]]]: Fix up error signalling to use new structured error system.
10712 [[[4]]]: Define codesys aliases:
10713 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
10714 Qx_color_name_encoding, Qx_display_name_encoding.
10716 * console.h (struct console_methods):
10717 New method make_dialog_box_internal supersedes older
10718 popup_dialog_box method.
10721 Define many new errors, part of new structured errors.
10723 * data.c (init_errors_once_early):
10724 * data.c (syms_of_data):
10727 * device-msw.c (mswindows_init_device):
10728 [[[5]]]: Cleanup to support NT 3.51.
10730 * device-msw.c (decode_devmode): Cleanup.
10732 * device-msw.c (mswindows_handle_print_setup_dialog_box):
10733 * device-msw.c (mswindows_handle_print_dialog_box):
10734 * device-msw.c (mswindows_handle_page_setup_dialog_box):
10735 * device-msw.c (syms_of_device_mswindows):
10736 Delete the dialog box primitives recently introduced by Kirill and
10737 instead interface to general dialog box interface.
10740 * device-x.c (compute_x_app_name):
10741 * device-x.c (x_init_device):
10742 * device-x.c (Fx_valid_keysym_name_p):
10743 * device-x.c (Fx_set_font_path):
10747 * device.h (wrap_device): New.
10748 First of its kind; meant to replace XSETDEVICE.
10750 * dialog-msw.c: Many file-dialog symbols.
10752 * dialog-msw.c (mswindows_register_popup_frame): New.
10753 * dialog-msw.c (mswindows_is_dialog_msg): New.
10754 For supporting kbd traversal in dialog boxes.
10756 * dialog-msw.c (dialog_proc):
10757 Support hitting ESC in dialogs.
10759 * dialog-msw.c (struct):
10760 Common dialog box errors.
10762 * dialog-msw.c (handle_file_dialog_box): New.
10763 Add file dialog code.
10765 * dialog-msw.c (handle_question_dialog_box):
10766 Redo existing code to support new question dialog syntax.
10768 * dialog-msw.c (console_type_create_dialog_mswindows):
10769 We support new dialog console method.
10771 * dialog-msw.c (syms_of_dialog_mswindows):
10772 * dialog-msw.c (vars_of_dialog_mswindows):
10773 New file dialog symbols, vars.
10776 * dialog-x.c (maybe_run_dbox_text_callback):
10777 * dialog-x.c (dbox_descriptor_to_widget_value):
10778 * dialog-x.c (x_make_dialog_box_internal):
10779 * dialog-x.c (console_type_create_dialog_x):
10780 Mule-ize entire file.
10781 Redo to support question dialog syntax.
10785 * dialog.c (Fmake_dialog_box_internal):
10786 * dialog.c (syms_of_dialog):
10787 Kill old popup-dialog-box, replace with new primitive.
10788 Just call device method or signal error.
10790 * eldap.c (Fldap_open):
10791 * eldap.c (Fldap_search_basic):
10792 * eldap.c (Fldap_add):
10793 * eldap.c (Fldap_modify):
10798 * emacs.c (make_arg_list_1):
10799 * emacs.c (make_arg_list):
10800 Mule-ize call to dll_init().
10804 * emacs.c (make_argc_argv):
10805 * emacs.c (free_argc_argv):
10806 * emacs.c (init_cmdargs):
10807 * emacs.c (main_1):
10808 * emacs.c (Fkill_emacs):
10809 * emacs.c (Fdump_emacs):
10810 Update comments about what can be used in syms_* etc.
10811 Call init_win32() when necessary.
10812 Fix up MS Win dialog box in kill-buffer to actually work right.
10823 * eval.c (condition_case_3):
10825 * eval.c (function_argcount):
10826 * eval.c (funcall_lambda):
10829 * eval.c (type_error): New.
10830 * eval.c (maybe_type_error): New.
10831 * eval.c (continuable_type_error): New.
10832 * eval.c (maybe_continuable_type_error): New.
10833 * eval.c (type_error_with_frob): New.
10834 * eval.c (maybe_type_error_with_frob): New.
10835 * eval.c (continuable_type_error_with_frob): New.
10836 * eval.c (maybe_continuable_type_error_with_frob): New.
10837 New functions for use with structured errors.
10840 * event-Xt.c (x_event_to_emacs_event):
10841 Buttons are now modifiers too.
10843 * event-Xt.c (emacs_Xt_current_event_timestamp):
10844 Implement new event method.
10845 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
10848 * event-msw.c (ntpipe_shove_writer): [5].
10849 * event-msw.c (mswindows_enqueue_mouse_button_event):
10850 * event-msw.c (mswindows_drain_windows_queue):
10851 * event-msw.c (mswindows_wnd_proc): [7].
10852 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
10853 * event-msw.c (mswindows_modifier_state):
10854 Throughout: support new button modifiers.
10856 * event-msw.c (emacs_mswindows_current_event_timestamp):
10857 Implement new event method.
10858 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
10861 * event-stream.c (event_stream_current_event_timestamp): New.
10862 * event-stream.c (maybe_kbd_translate): New functionality.
10863 * event-stream.c (vars_of_event_stream):
10864 Document new kbd-translate-table functionality.
10866 * event-stream.c (Fcurrent_event_timestamp): New.
10867 New primitive for use in fabricated events.
10868 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
10870 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
10873 * events.c (Fmake_event):
10874 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
10878 * events.c (format_event_object): fix gcc warnings.
10880 * events.c (Fevent_timestamp): Document new primitives.
10882 * events.c (TIMESTAMP_HALFSPACE): New.
10884 * events.c (Fevent_timestamp_lessp): New. New primitive for
10885 comparing timestamps correctly (half-space algorithm).
10887 * events.c (Fevent_modifier_bits): Doc fix.
10889 * events.c (Fevent_modifiers): Major doc addition.
10890 * events.c (event_x_y_pixel_internal): Typo fix.
10891 * events.c (syms_of_events): Declare new primitives.
10894 Update long comment for button modifiers, timestamps.
10896 * events.h (struct event_stream):
10897 New current_event_timestamp method.
10900 * extents.c (extent_in_region_p):
10901 * extents.c (decode_extent):
10902 * extents.c (Fset_extent_parent):
10903 * extents.c (decode_map_extents_flags):
10907 * extents.c (struct extent_at_arg):
10908 * extents.c (decode_extent_at_flag):
10909 * extents.c (extent_at_mapper):
10910 * extents.c (extent_at_bytind):
10911 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
10912 * extents.c (Fextents_at): New primitive. [9].
10913 * extents.c (symbol_to_glyph_layout): [9].
10914 Support new primitive `extents-at'.
10917 * extents.c (get_text_property_bytind):
10918 extent_at_bytind has another arg.
10921 * extents.c (syms_of_extents): New primitive.
10923 * file-coding.c (Fmake_coding_system): [1].
10924 * file-coding.c (subsidiary_coding_system): fix gcc warning
10925 * file-coding.c (syms_of_file_coding): [2].
10927 * fileio.c (Fexpand_file_name):
10928 * fileio.c (Fsysnetunam):
10929 * fileio.c (Ffile_exists_p):
10930 * fileio.c (Ffile_executable_p):
10931 * fileio.c (Fverify_visited_file_modtime):
10934 * fileio.c (syms_of_fileio): [2].
10936 * filelock.c (lock_file_1):
10937 * filelock.c (current_lock_owner):
10938 * filelock.c (lock_if_free):
10939 * filelock.c (lock_file):
10940 * filelock.c (unlock_file):
10943 * fns.c (concat): Fix gcc warning.
10946 * fns.c (Fold_member):
10948 * fns.c (Fold_memq):
10949 * fns.c (memq_no_quit):
10951 * fns.c (Fold_assoc):
10953 * fns.c (Fold_assq):
10954 * fns.c (assq_no_quit):
10956 * fns.c (Fold_rassoc):
10958 * fns.c (Fold_rassq):
10959 * fns.c (rassq_no_quit):
10961 * fns.c (Fold_delete):
10963 * fns.c (Fold_delq):
10964 * fns.c (delq_no_quit):
10965 * fns.c (Fremassoc):
10966 * fns.c (Fremassq):
10967 * fns.c (remassq_no_quit):
10968 * fns.c (Fremrassoc):
10969 * fns.c (Fremrassq):
10970 * fns.c (remrassq_no_quit):
10971 * fns.c (Freverse):
10975 * frame-msw.c (mswindows_init_frame_1):
10976 * frame-msw.c (mswindows_delete_frame):
10977 Register popups with dialog code so keyboard traversing works.
10979 * frame-tty.c (tty_raise_frame_no_select): [1].
10982 * frame-x.c (x_set_frame_text_value):
10983 * frame-x.c (x_set_frame_properties):
10984 * frame-x.c (x_create_widgets):
10988 * frame.c (Fmouse_pixel_position): Minor doc fixes.
10990 * frame.h (wrap_frame): New.
10991 Macro like wrap_device.
10994 * general.c (SYMBOL):
10995 * general.c (syms_of_general):
10996 Major reorg. This is now just a wrapper and symbols themselves
10997 are listed in general-slots.h.
10999 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
11000 * glyphs-msw.c (mswindows_resource_instantiate): [5].
11002 * glyphs-msw.c (mswindows_native_layout_instantiate):
11003 Add DS_CONTROL so keyboard traversal will work.
11006 * glyphs-widget.c (syms_of_glyphs_widget):
11007 Move some symbols to general-slots.h.
11010 * glyphs-x.c (xbm_instantiate_1):
11011 * glyphs-x.c (x_xbm_instantiate):
11012 * glyphs-x.c (x_xface_instantiate):
11013 * glyphs-x.c (autodetect_instantiate):
11014 * glyphs-x.c (cursor_font_instantiate):
11015 * glyphs-x.c (x_update_widget):
11016 * glyphs-x.c (x_widget_instantiate):
11017 * glyphs.c (bitmap_to_lisp_data):
11018 * glyphs.c (pixmap_to_lisp_data):
11021 * glyphs.c (syms_of_glyphs):
11025 * gui-x.c (print_widget_value):
11026 * gui-x.c (menu_separator_style_and_to_external):
11027 * gui-x.c (add_accel_and_to_external):
11028 * gui-x.c (button_item_to_widget_value):
11029 * gui-x.c (gui_items_to_widget_values_1):
11030 * gui-x.c (gui_items_to_widget_values):
11031 * gui-x.c (syms_of_gui_x):
11032 * gui-x.c (vars_of_gui_x):
11033 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
11037 Muleize, prototype changes matching gui-x.c.
11040 * gui.c (separator_string_p):
11041 * gui.c (gui_item_add_keyval_pair):
11042 * gui.c (make_gui_item_from_keywords_internal):
11043 * gui.c (signal_too_long_error):
11044 * gui.c (parse_gui_item_tree_item):
11045 * gui.c (syms_of_gui):
11046 * gui.c (vars_of_gui):
11048 menu-no-selection-hook moved here (used by MSWin).
11049 Move some symbols to general-slots.h.
11053 * insdel.c (get_buffer_pos_char):
11054 * insdel.c (get_buffer_range_char):
11057 * keymap.c (keymap_lookup_directly):
11058 * keymap.c (keymap_store):
11059 * keymap.c (ensure_meta_prefix_char_keymapp):
11060 * keymap.c (describe_map):
11062 Support new button modifiers.
11064 * lisp-disunion.h (wrap_object):
11065 * lisp-disunion.h (XSETOBJ):
11066 Rename make_obj to wrap_object.
11069 * lisp-union.h (make_int):
11070 * lisp-union.h (make_char):
11071 Support wrap_object.
11074 * lisp.h (LIST_LOOP):
11075 * lisp.h (EXTERNAL_LIST_LOOP):
11076 * lisp.h (LIST_LOOP_2):
11077 * lisp.h (EXTERNAL_LIST_LOOP_1):
11078 * lisp.h (EXTERNAL_LIST_LOOP_2):
11079 * lisp.h (EXTERNAL_LIST_LOOP_3):
11080 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
11081 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
11082 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
11083 * lisp.h (EXTERNAL_ALIST_LOOP_5):
11084 * lisp.h (EXTERNAL_ALIST_LOOP_6):
11085 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
11086 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
11087 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
11088 * lisp.h (struct Lisp_Symbol):
11089 * lisp.h (maybe_continuable_error_with_frob):
11090 Fix up section comments.
11091 Add new types for char to indicate usage.
11092 Delete symbols auto-generated from general-slots.h.
11093 Add prototypes for structured error functions.
11094 Add long comments describing looping macros and change interface
11095 so that lvalues are automatically declared.
11096 Add NO_DECLARE macro in case callers want to declare lvalues
11099 * lread.c (read_syntax_error):
11100 * lread.c (continuable_read_syntax_error):
11101 * lread.c (read_structure):
11102 * lread.c (sequence_reader):
11103 * lread.c (read_list_conser):
11104 * lread.c (read_compiled_function):
11105 Rename syntax_error and continuable_syntax_error to avoid clash
11106 with same-named structured error functions.
11108 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11109 * menubar-msw.c (populate_menu_add_item):
11110 * menubar-msw.c (populate_or_checksum_helper):
11115 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11116 Mule-ize whole file.
11118 * menubar.c (Fnormalize_menu_item_name): Add optimization.
11120 * mule-charset.c (Fmake_charset):
11121 * mule-wnnfns.c (Fwnn_set_param):
11124 * ntproc.c (create_child):
11125 * ntproc.c (Fwin32_set_current_locale):
11126 Add comments portending doom.
11129 * objects-msw.c (old_font_enum_callback_2):
11130 * objects-msw.c (font_enum_callback_1):
11131 * objects-msw.c (mswindows_enumerate_fonts):
11135 * objects-x.c (allocate_nearest_color):
11136 * objects-x.c (x_parse_nearest_color):
11137 * objects-x.c (x_initialize_color_instance):
11138 * objects-x.c (x_print_color_instance):
11139 * objects-x.c (x_finalize_color_instance):
11140 * objects-x.c (x_valid_color_name_p):
11141 * objects-x.c (x_initialize_font_instance):
11142 * objects-x.c (x_print_font_instance):
11143 * objects-x.c (valid_x_font_name_p):
11144 * objects-x.c (truename_via_FONT_prop):
11145 * objects-x.c (truename_via_random_props):
11146 * objects-x.c (truename_via_XListFonts):
11147 * objects-x.c (x_font_truename):
11148 * objects-x.c (x_font_instance_truename):
11149 * objects-x.c (x_font_instance_properties):
11150 * objects-x.c (x_list_fonts):
11151 * objects-x.c (x_find_charset_font):
11152 Mule-ize entire file.
11159 * print.c (std_handle_out_external):
11160 * print.c (debug_print_no_newline):
11161 * print.c (syms_of_print):
11162 Output to all debugger kinds in debug-print.
11163 Fix console-output code under MSWin to actually work.
11165 * process-nt.c (send_signal):
11166 * process-nt.c (nt_create_process):
11167 Use newer Unicode macros.
11169 * process-unix.c (unix_create_process):
11170 * process-unix.c (unix_canonicalize_host_name):
11171 * process-unix.c (unix_open_network_stream):
11177 * search.c (syms_of_search):
11180 * select-msw.c (mswindows_destroy_selection):
11183 * select-x.c (symbol_to_x_atom):
11186 * select.c (syms_of_select):
11189 * sound.c (Fplay_sound_file):
11193 * specifier.c (decode_specifier_type):
11194 * specifier.c (Fvalid_specifier_locale_type_p):
11195 * specifier.c (check_valid_locale_or_locale_type):
11196 * specifier.c (decode_locale):
11197 * specifier.c (decode_locale_type):
11198 * specifier.c (decode_locale_list):
11199 * specifier.c (check_valid_domain):
11200 * specifier.c (decode_specifier_tag_set):
11201 * specifier.c (Fcanonicalize_tag_set):
11202 * specifier.c (Fdefine_specifier_tag):
11203 * specifier.c (Fspecifier_tag_predicate):
11204 * specifier.c (check_valid_inst_list):
11205 * specifier.c (check_valid_spec_list):
11206 * specifier.c (decode_how_to_add_specification):
11207 * specifier.c (check_modifiable_specifier):
11208 * specifier.c (specifier_add_spec):
11209 * specifier.c (boolean_validate):
11210 * specifier.c (display_table_validate):
11213 * specifier.c (syms_of_specifier):
11214 Move some symbols to general-slots.h.
11218 * symbols.c (Fmapatoms):
11219 * symbols.c (Fapropos_internal):
11222 * symbols.c (set_default_buffer_slot_variable):
11223 * symbols.c (set_default_console_slot_variable):
11226 * symbols.c (defsymbol_massage_name_1):
11227 * symbols.c (defkeyword_massage_name):
11228 * symbols.c (deferror_1):
11229 * symbols.c (deferror):
11230 * symbols.c (deferror_massage_name_and_message):
11232 * symeval.h (DEFSYMBOL):
11233 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
11235 * symbols.c (syms_of_symbols):
11239 * symsinit.h (init_win32): New.
11240 Also new is syms_of_dialog_mswindows.
11243 Add new Unicode macros, missing Cygwin wide-char functions,
11244 convenience conversion macros for Qmswindows_tstr, macros for
11245 encapsulating required MSWin <-> Cygwin filename conversions,
11246 prototype for dynamically-extracted (not in NT 3.51) functions.
11251 * tooltalk.c (Fadd_tooltalk_message_arg):
11252 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
11253 * tooltalk.c (Fadd_tooltalk_pattern_arg):
11256 * tooltalk.c (syms_of_tooltalk):
11260 * unexnt.c (unexec):
11261 Fix up headers, declaration of unexec() to be more standard.
11263 2000-07-20 Martin Buchholz <martin@xemacs.org>
11265 * offix.h: Revert change to guard macros - they're used in offix.c!
11267 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11269 * lisp.h: Defsubred Fdelete.
11271 * console-msw.h: (msprinter_default_printer): Added.
11273 * console-msw.c (msprinter_canonicalize_console_connection):
11274 (msprinter_canonicalize_device_connection): Added.
11276 * device-msw.c (msprinter_default_printer):
11277 (Fmswingows_get_default_printer):
11278 (signal_enum_priner_error):
11279 (Fmswingows_printer_list): Added.
11281 2000-07-19 Martin Buchholz <martin@xemacs.org>
11283 * XEmacs 21.2.35 is released.
11285 2000-07-19 Martin Buchholz <martin@xemacs.org>
11287 * select-x.c (x_handle_selection_request):
11288 Text selected in xemacs and pasted into xterm failed to appear.
11289 Spelling fixes and cosmetic changes.
11291 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11293 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
11294 XEmacs frame (fix for doubling chars in dialog boxes).
11296 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
11298 * select.c (select_convert_in, select_convert_out):
11299 Don't call intern() every time.
11301 * select.c (Qselect_convert_in, Qselect_convert_out): New.
11302 * select.c (vars_of_select): Initialise them.
11304 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
11306 * select.c (selection-coercible-types): New.
11308 * select.c (own-selection-internal):
11309 * select.c (get-selection-internal):
11310 MULE bug fix - these should default to COMPOUND_TEXT and not
11311 STRING for MULE. I think.
11313 * select.c (select_convert_out): Use selection-coercible-types
11314 to find types that we can attempt to perform coercions on.
11316 2000-07-18 Martin Buchholz <martin@xemacs.org>
11320 Add coding: cookie to identify encoding.
11322 * mule-canna.c (CANNA_mode_keys): make static.
11323 Use proper prototypes, even for functions of no arguments.
11324 Remove external prototype for Fding().
11326 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
11328 * select.c (syms_of_select): Add missing DEFSUBR.
11330 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
11332 * select.c (get_selection_internal, own_selection_internal):
11333 Make the type default to STRING, rather than placing a nil type
11334 into Vselection_alist.
11336 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
11338 * gpmevent.c (tty_selection_exists_p):
11339 * gpmevent.c (tty_own_selection):
11340 Updated parameter lists.
11342 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
11344 * select.h (selection-alist): Removed declaration.
11346 * select.h (get_local_selection):
11347 * select.c (get_local_selection):
11350 * select.h (convert_selection): Removed declaration.
11351 * select.c (convert_selection): Removed.
11352 This function belongs in Lisp.
11354 * select.h (select_convert_in): Declare.
11355 * select.h (select_convert_out): Declare.
11356 * select.c (select_convert_in): New.
11357 * select.c (select_convert_out): New.
11358 New conversion functions for other files to call.
11360 * select.h (select_notify_buffer_kill): Declare.
11361 * select.c (select_notify_buffer_kill): New.
11362 New functions that get called from kill-buffer.
11364 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
11365 X-specific lisp code.
11367 * select.h: Declare some of the lisp-visible functions for
11370 * select.c (clean_local_selection_data): Removed. This was
11371 a disgusting function, and previously should have been in
11372 select-x.c in any case. The functionality is now provided
11373 in select-convert-from-integer (select.el).
11375 * select.c (available-selection-types): Fixed stupidity where
11376 INTEGER and ATOM got added twice. Also add STRING when we see an
11379 * select.c (get-selection-internal): Removed symbol stripping. No
11380 longer causes conversion when data comes from the internal cache.
11382 * select.c (syms_of_select): Added new functions.
11384 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
11385 error checking - previously this called abort!
11387 * select-x.c (x_own_selection): Changed comment.
11389 * select-x.c (x_handle_selection_request): Use select_convert_out.
11390 Don't mess with selection-alist; it's an internal variable of select.c.
11392 * select-x.c (x_get_foreign_selection): Use select_convert_in.
11394 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
11395 rather than messing with selection-alist.
11397 * select-msw.c (mswindows_get_foreign_selection):
11398 Use TO_INTERNAL_FORMAT rather than hacking.
11400 2000-07-14 Martin Buchholz <martin@xemacs.org>
11402 * process-unix.c (unix_open_multicast_group):
11403 (unix_open_multicast_group): Remove useless casts.
11405 2000-07-13 Martin Buchholz <martin@xemacs.org>
11407 * sound.c (Fplay_sound): Fix `unused variable' warning.
11409 * emacs.c (main): Use correct type for _environ on SCO5.
11411 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
11413 * console.h (own_selection_method):
11414 * console.h (selection_exists_p_method):
11415 * console.h (available_selection_types_method): New.
11416 * console.h (register_selection_data_type_method): New.
11417 * console.h (selection_data_type_name): New.
11419 * console-msw.h (mswindows_destroy_selection): Declare it. New
11420 function & alist to track GlobalAlloc()'d handles that need
11421 releasing when the clipboard data gets replaced or emptied.
11423 * event-msw.c (mswindows_wnd_proc): Call it.
11425 * lisp.h, general.c (Qappend): New symbol representing a
11428 * select.c (own-selection-internal):
11429 * select.c (selection-exists-p):
11430 * select.c (available-selection-types): New.
11431 * select.c (register-selection-data-type): New.
11432 * select.c (selection-data-type-name): New. New functions to deal
11433 with device-specific selection data formats.
11434 * select.c (selection-converter-out-alist): Renamed.
11435 * select.c (selection-converter-in-alist): New.
11436 * select.c (selection-appender-alist): New. Added new alists.
11437 * select.c (syms_of_select, vars_of_select): Added new symbols &
11439 * select.c (get_local_selection): Split.
11440 * select.c: Removed spurious type checking - selections may now be
11441 of any type, not just strings.
11442 * select.c (own-selection-internal):
11444 * select.h, select.c (convert_selection): New. Created
11445 convert_selection() function based on get_local_selection().
11446 * select.h, select.c (QCF_*): New symbols representing mswindows
11448 * select.h, select.c (Qreplace_all, Qreplace_existing): New
11449 symbols representing `how-to-add' modes.
11451 * select-msw.c (x_sym_p): New.
11452 * select-msw.c (symbol_to_ms_cf): New.
11453 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
11454 symbols & clipboard formats. Can also handle string names.
11455 * select-msw.c (mswindows_own_selection):
11456 * select-msw.c (mswindows_selection_exists_p):
11457 Added `data-type' parameter. Use it.
11458 * select-msw.c (mswindows_available_selection_types): New.
11459 * select-msw.c (mswindows_register_selection_data_type): New.
11460 * select-msw.c (mswindows_selection_data_type_name): New.
11461 * select-msw.c (mswindows_own_selection):
11462 * select-msw.c (mswindows_get_foreign_selection):
11463 * select-msw.c (mswindows_selection_exists_p): Rewrote.
11464 * select-msw.c (console_create_select_mswindows): Added new methods.
11465 * select-msw.c (mswindows_destroy_selection): New.
11466 * select-msw.c (Vhandle_alist): New list.
11467 * select-msw.c (mswindows_own_selection):
11469 * select-x.c (x_own_selection):
11470 * select-x.c (x_selection_exists_p):
11471 * select-x.c: Added some comments about maybe using new
11473 * select-x.c (x_own_selection):
11475 * specifier.c: Remove definition of Qappend (now in general.c)
11476 * specifier.c (syms_of_specifier): Remove Qappend.
11478 2000-07-12 Martin Buchholz <martin@xemacs.org>
11480 * config.h.in: Add socklen_t.
11482 * s/decosf4-0.h: No special compiler flags needed or desired.
11483 In particular, undefine _BSD for DEC OSF 4.0.
11485 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11487 * redisplay-msw.c (msprinter_frame_output_end): Added.
11488 (console_type_create_redisplay_mswindows): Referred the above.
11490 * frame.c (setup_frame_without_minibuffer): Do not create a
11491 default minibuffer frame on a printer device.
11493 * frame-msw.c (apply_dc_geometry): Added.
11494 (msprinter_start_page):
11495 (msprinter_init_frame_3):
11496 (msprinter_eject_page): Use it.
11498 * console-msw.h (struct msprinter_frame): Added pix_left and top,
11499 and removed residual duplex and orientation properties.
11501 2000-07-11 Martin Buchholz <martin@xemacs.org>
11503 * eval.c (function_argcount): Work around a DEC CC compiler bug.
11505 * unexalpha.c: Remove system prototypes from C sources!
11507 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
11509 * eval.c: Remove references to M-x edit-options in DEFUNs for
11510 `defvar' and `defconst'.
11512 2000-07-09 Martin Buchholz <martin@xemacs.org>
11514 * config.h.in: Remove SMART_INCLUDE hackery.
11516 PostgreSQL hacking:
11517 * config.h.in: Don't use SMART_INCLUDE.
11519 * postgresql.h: Include libpq-fe.h here. Fix typo.
11520 * inline.c: Simply #include "postgresql.h"
11522 - Don't use SMART_INCLUDE
11523 - Use simply "const".
11524 - Use standard doc string conventions.
11525 - Use correct type for result of PQstatus.
11527 2000-07-09 Martin Buchholz <martin@xemacs.org>
11529 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
11531 C++ compilation changes.
11532 * config.h.in (EXTERN_C): Define.
11533 * config.h.in (not): This is also a C++ keyword.
11534 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
11535 * cm.c: Use EXTERN_C.
11536 * redisplay-tty.c: Use EXTERN_C.
11537 * sysdep.c: Use EXTERN_C. Remove Gould support.
11539 2000-07-09 Martin Buchholz <martin@xemacs.org>
11541 * general.c: Remove duplicate definition for Qfunction.
11543 2000-07-08 Ben Wing <ben@xemacs.org>
11545 * device-msw.c (msprinter_init_device):
11546 * device-msw.c (sync_printer_with_devmode):
11547 * device-msw.c (handle_devmode_changes):
11548 * device-msw.c (print_dialog_worker):
11549 * device-msw.c (Fmsprinter_apply_settings):
11550 * device-msw.c (hash_devmode):
11551 * device-msw.c (Fmsprinter_settings_despecialize):
11552 use Qmswindows_tstr, not Qctext.
11554 * vm-limit.c (check_memory_limits):
11555 avoid infinite loop printing warning messages.
11557 2000-07-05 Craig Lanning <lanning@scra.org>
11559 * Makefile.in.in: Add support for including the Windows resources
11560 when building with the cygwin and mingw targets.
11562 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
11563 not set or not correct.
11564 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
11565 (init_initial_directory): Don't try to use $PWD on the
11566 WIN32_NATIVE target.
11569 [[Add -mwindows to eliminate console window.]] not required --ben
11570 (HAVE_NATIVE_SOUND): removed; now handled by configure.
11571 (MAIL_USE_POP): removed; now handled by configure.
11573 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
11574 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
11575 (HAVE_NATIVE_SOUND): removed; now handled by configure.
11576 (MAIL_USE_POP): removed; now handled by configure.
11577 (ENCAPSULATE_STAT): from Dan Holmsand, added.
11578 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
11579 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
11581 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
11582 up from <winsock.h> via systime.h.
11583 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
11584 (getpagesize): from Dan Holmsand, added.
11585 Added #endif which was left dangling by Ben's mega patch; added
11586 comment to help prevent this in the future.
11588 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
11590 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11592 * console-msw.h (struct mswindows_device): Removed unnecessary
11593 cached device geometry values.
11594 Added update_tick and an accessor macro.
11595 (Lisp_Devmode): Added lrecord declaration.
11596 (struct msprinter_device): Contain devmode as a Lisp object.
11597 Added mswindows_get_selected_frame_hwnd();
11599 * console.h (struct console_methods): Indentation nitpicking.
11601 * device-msw.c (mswindows_init_device): Do not initialize geometry
11602 cache. Initialize update tick.
11603 (mswindows_device_system_metrics): Ask the device for its geometry.
11604 (global_free_2_maybe):
11605 (devmode_to_hglobal):
11606 (handle_printer_changes):
11607 (ensure_not_printing):
11608 (print_dialog_worker):
11609 (Fmsprinter_print_setup_dialog):
11610 (Fmsprinter_print_dialog):
11611 (plist_get_margin):
11612 (plist_set_margin):
11613 (Fmsprinter_page_setup_dialog): Added functions.
11614 (sync_printer_with_devmode):
11615 (handle_devmode_changes):
11616 (Fmsprinter_get_settings):
11617 (Fmsprinter_select_settings):
11618 (Fmsprinter_apply_settings):
11619 (allocate_devmode):
11620 (Fmsprinter_settings_copy):
11621 (Fmsprinter_settings_despecialize):
11623 (finalize_devmode):
11625 (hash_devmode): Added functions
11626 (syms_of_device_mswindows): Init devmode lrecord class.
11628 * device.h: Added an exfun for find-device.
11630 * event-msw.c (mswindows_wnd_proc): Do not update the cached
11631 geometry; although, recreate the device compatible DC.
11633 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
11634 (msprinter_init_frame_3):
11635 (msprinter_frame_property):
11636 (msprinter_internal_frame_property_p):
11637 (msprinter_frame_properties):
11638 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
11639 print job properties (will move to device settings).
11641 * lisp.h: Added symbols.
11643 * general.c (syms_of_general): Declared them.
11645 * hash.c (string_hash): Added.
11647 * lrecord.h (lrecord_type): Added devmode lrecord type.
11649 2000-07-02 Mike Sperber <mike@xemacs.org>
11651 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
11654 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
11656 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
11659 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
11661 * data.c (Fstring_to_number): Don't recognize floating point if
11664 2000-06-22 Martin Buchholz <martin@xemacs.org>
11666 * glyphs-widget.c (tab_control_query_geometry):
11667 (widget_query_geometry):
11668 (button_query_geometry):
11669 * glyphs.c (text_query_geometry):
11670 Enforce type correctness.
11672 2000-06-18 Martin Buchholz <martin@xemacs.org>
11674 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
11675 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
11677 2000-06-17 Martin Buchholz <martin@xemacs.org>
11679 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
11680 conflicts with gcc's fixincluded version of FOO.h.
11682 * glyphs.h (image_instance_geometry): Remove trailing `,'
11684 2000-06-08 Mike Alexander <mta@arbortext.com>
11686 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
11687 (shove_thread): Don't write the same output twice
11688 (make_ntpipe_output_stream): Increase priority of shove thread
11689 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
11691 (ntpipe_shove_closer): Don't delete the pipe until we're done with
11694 2000-06-12 Ben Wing <ben@xemacs.org>
11696 * s\mingw32.h (sigset):
11697 * s\windowsnt.h (sigset):
11698 rename msw_ to mswindows_ for consistency with general convention.
11700 2000-06-12 Ben Wing <ben@xemacs.org>
11703 * console-msw.c (mswindows_get_console_hwnd):
11704 * console-msw.c (mswindows_ensure_console_allocated):
11705 * console-msw.c (mswindows_hide_console):
11706 * console-msw.c (mswindows_show_console):
11707 * console-msw.c (mswindows_ensure_console_buffered):
11708 * console-msw.c (mswindows_output_console_string):
11709 * console-msw.c (mswindows_windows9x_p):
11711 * device-msw.c (mswindows_get_workspace_coords):
11712 * device-msw.c (mswindows_device_system_metrics):
11713 * dialog-msw.c (mswindows_popup_dialog_box):
11714 * event-msw.c (mswindows_wnd_proc):
11715 * frame-msw.c (mswindows_size_frame_internal):
11716 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11717 * menubar-msw.c (displayable_menu_item):
11718 * menubar-msw.c (mswindows_char_is_accelerator):
11720 * nt.c (mswindows_sigset):
11721 * nt.c (mswindows_sigrelse):
11722 * nt.c (mswindows_sigpause):
11723 * nt.c (mswindows_raise):
11724 * nt.c (timer_proc):
11726 * ntproc.c (find_child_console):
11727 * ntproc.c (sys_kill):
11729 * print.c (std_handle_out_external):
11730 * process-nt.c (find_child_console):
11731 * process-nt.c (send_signal_the_95_way):
11732 * process-nt.c (ensure_console_window_exists):
11733 * process-nt.c (nt_create_process):
11735 rename msw_ to mswindows_ for consistency with general convention.
11739 include nt.h, not syswindows.h.
11741 * nt.c (mswindows_fstat):
11742 * nt.c (mswindows_stat):
11743 prefix mswindows_ instead of attempting to directly override the
11744 library functions. fix declarations.
11747 include syswindows.h. move some sysdep.h stuff here.
11750 include syswindows.h, not <windows.h>.
11758 * sysdep.c (sys_fstat):
11759 * sysdep.c (sys_stat):
11760 call mswindows versions when appropriate.
11763 move mswin decls to nt.h.
11766 add long comment describing appropriate use of the various windows
11769 2000-06-11 Ben Wing <ben@xemacs.org>
11771 * device-x.c: Correct doc string for sixth arg of x-get-resource.
11773 2000-06-10 Ben Wing <ben@xemacs.org>
11775 * Makefile.in.in (release):
11776 Correction to make sure xemacs.exe always dumped when correct.
11780 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
11782 * buffer.c (set_buffer_internal):
11783 [[[[2]]]]: Remove HAVE_FEP code.
11785 * buffer.c (init_initial_directory):
11789 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
11793 * callproc.c (call_process_cleanup):
11794 * callproc.c (Fold_call_process_internal):
11795 * callproc.c (child_setup):
11796 * callproc.c (getenv_internal):
11797 * callproc.c (init_callproc):
11798 * callproc.c (vars_of_callproc):
11799 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
11800 __CYGWIN32__ -> CYGWIN.
11801 DOS_NT -> WIN32_NATIVE.
11802 Remove MSDOS support/references, converting to WIN32_NATIVE
11804 __MINGW32__ -> MINGW.
11805 Fix windows.h includes.
11806 Remove bogus HAVE_NTGUI.
11812 mswindows_message_outputted added for use in allowing startup
11813 errors on the console to be seen.
11815 * console-msw.c (msw_ensure_console_allocated):
11816 * console-msw.c (msw_output_console_string):
11817 * console-msw.c (DHEADER):
11818 * console-msw.c (DOPAQUE_DATA):
11819 * console-msw.c (DEVENT):
11820 * console-msw.c (DCONS):
11821 * console-msw.c (DCONSCDR):
11822 * console-msw.c (DSTRING):
11823 * console-msw.c (DVECTOR):
11824 * console-msw.c (DSYMBOL):
11825 * console-msw.c (DSYMNAME):
11828 * console-stream.c (stream_init_console):
11829 Fix text/binary problems.
11832 * device-msw.c (mswindows_finish_init_device):
11833 * device-msw.c (mswindows_delete_device):
11836 * device.c (handle_asynch_device_change):
11840 * dgif_lib.c (DGifOpenFileName):
11841 * dgif_lib.c (DGifOpenFileHandle):
11842 * dgif_lib.c (DGifGetLine):
11843 * dgif_lib.c (DGifGetPixel):
11844 Added config.h/lisp.h, fix up includes.
11851 * dired.c (file_name_completion):
11852 * dired.c (Ffile_attributes):
11853 * dired.c (syms_of_dired):
11857 * dumper.c (pdump_file_unmap):
11858 * dumper.c (pdump_load):
11862 * editfns.c (Ftemp_directory):
11863 * editfns.c (user_login_name):
11864 * editfns.c (Fuser_real_login_name):
11865 * editfns.c (get_home_directory):
11868 * elhash.c (finish_marking_weak_hash_tables):
11869 [[[[5]]]]: Fix GCC warnings.
11872 * emacs.c (mswindows_handle_hardware_exceptions):
11873 * emacs.c (make_arg_list_1):
11874 * emacs.c (main_1):
11875 * emacs.c (Fkill_emacs):
11876 * emacs.c (Fdump_emacs):
11878 Fix problems with nested crashes, add long comment.
11880 * event-Xt.c (init_event_Xt_late):
11884 * event-msw.c (mswindows_dde_callback):
11885 * event-msw.c (mswindows_handle_sticky_modifiers):
11886 * event-msw.c (mswindows_wnd_proc):
11890 * events.c (character_to_event):
11894 * fileio.c (Ffile_name_directory):
11895 * fileio.c (Ffile_name_nondirectory):
11896 * fileio.c (directory_file_name):
11897 * fileio.c (Fexpand_file_name):
11898 * fileio.c (Fsubstitute_in_file_name):
11899 * fileio.c (Ffile_name_absolute_p):
11900 * fileio.c (check_executable):
11901 * fileio.c (Ffile_readable_p):
11902 * fileio.c (Ffile_accessible_directory_p):
11903 * fileio.c (Ffile_modes):
11904 * fileio.c (Funix_sync):
11905 * fileio.c (vars_of_fileio):
11908 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
11910 Expand getdefdir defn.
11911 Fix bogus rename() comment.
11913 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
11914 to use standard XEmacs include files, e.g. sysfile.h, rather
11915 than system-specific includes.
11921 * frame.c (vars_of_frame):
11925 * getloadavg.c (getloadavg):
11927 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
11928 (We don't use it elsewhere in the code; just add a comment.)
11935 * glyphs-msw.c (mswindows_resource_instantiate):
11938 * glyphs-x.c (x_native_layout_instantiate):
11941 * gui-msw.c (Fmswindows_shell_execute):
11950 * lread.c (locate_file_in_directory_mapper):
11957 * mem-limits.h (get_lim_data):
11969 * nt.c (rva_to_section):
11970 * nt.c (mswindows_executable_type):
11972 Fix closedir() defn.
11975 [[[[8]]]]: *_OK defs moved to sysfile.h.
11984 * print.c (std_handle_out_external):
11988 * process-nt.c (nt_create_process):
11990 try to fix process quoting somewhat.
11992 * process-unix.c (unix_create_process):
11996 * process.c (vars_of_process):
12003 * realpath.c (xrealpath):
12006 * redisplay-tty.c (init_tty_for_redisplay):
12016 * sheap.c (more_static_core):
12017 * sheap.c (report_sheap_usage):
12021 * signal.c (alarm_signal):
12028 * strftime.c (zone_name):
12031 * symsinit.h (init_sunpro):
12035 commctrl.h not in Cygwin b20.1.
12038 * sysdep.c (endif):
12039 * sysdep.c (sys_subshell):
12040 * sysdep.c (init_baud_rate):
12041 * sysdep.c (emacs_get_tty):
12042 * sysdep.c (emacs_set_tty):
12043 * sysdep.c (tty_init_sys_modes_on_device):
12044 * sysdep.c (init_system_name):
12045 * sysdep.c (sys_open):
12046 * sysdep.c (interruptible_open):
12047 * sysdep.c (sys_fopen):
12048 * sysdep.c (sys_mkdir):
12049 * sysdep.c (sys_rename):
12050 * sysdep.c (get_process_times_1):
12057 * sysdir.h (DIRENTRY_NONEMPTY):
12060 * sysdll.c (dll_init):
12066 added text/binary defs.
12072 * sysproc.h (EDESTADDRREQ):
12073 * sysproc.h (poll_fds_for_input):
12090 Always define WIN32_LEAN_AND_MEAN.
12092 * unexcw.c (unexec):
12096 * unexec.c (copy_text_and_data):
12097 * unexec.c (adjust_lnnoptrs):
12101 * unexnt.c (_start):
12104 2000-06-07 Ben Wing <ben@xemacs.org>
12106 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
12107 was used only as a model. We've long since extracted any useful
12108 logic or code out of this. (I just did an exhaustive search.)
12110 * s\msdos.h: Removed.
12112 * s\windows95.h: Removed.
12114 2000-06-10 Ben Wing <ben@xemacs.org>
12118 Don't use extern with fun defs.
12122 Remove nt\inc include.
12123 Remove getdisk, getdefdir. (The former is unused, the latter
12124 expanded in fileio.h.)
12127 * s\windowsnt.h (WIN32_NATIVE):
12128 * s\windowsnt.h (HAVE_STRCASECMP):
12130 Add long comment about preprocessor changes.
12131 Remove getdisk, getdefdir. (The former is unused, the latter
12132 expanded in fileio.h.)
12134 2000-06-10 Ben Wing <ben@xemacs.org>
12143 Remove bogus/unused NO_SOCK_SIGIO.
12145 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
12147 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
12150 2000-06-04 Mike Sperber <mike@xemacs.org>
12152 * casetab.c (set_case_table): For `set-standard-case-table',
12153 actually deposit the new case tables where the rest of XEmacs can
12156 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
12158 * data.c (Faset): Don't cast XCHAR() to unsigned char.
12160 2000-06-05 Ben Wing <ben@xemacs.org>
12162 * callproc.c (child_setup): Don't do close_load_descs() under
12163 MS Windows. Put in a comment explaining why.
12165 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
12167 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
12168 Toolkit shell" which breaks `kill-compilation' on Windows NT
12169 native, retaining STDERR handling improvements.
12171 2000-06-01 Andreas Jaeger <aj@suse.de>
12173 * s/s390.h: Support for S390, based on a patch by Martin
12174 Schwidefsky <schwidefsky@de.ibm.com>.
12176 2000-05-30 Andy Piper <andy@xemacs.org>
12178 * window.c (allocate_window):
12179 (make_dummy_parent):
12180 (Fset_window_configuration): use new hashtable type.
12182 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
12183 (struct image_instantiator_methods):
12184 (struct Lisp_Image_Instance): make instance geometry signed.
12186 * glyphs.c (instantiate_image_instantiator):
12187 (image_instance_query_geometry):
12188 (image_instance_layout):
12189 (image_instance_layout):
12190 (query_string_geometry):
12191 (text_query_geometry):
12192 (image_instantiate):
12193 (image_instantiate):
12194 (cache_subwindow_instance_in_frame_maybe):
12195 (subwindow_query_geometry): make instance geometry signed.
12197 * glyphs-widget.c (widget_query_geometry):
12199 (button_query_geometry):
12200 (tree_view_query_geometry):
12201 (tab_control_query_geometry):
12202 (layout_query_geometry):
12204 (native_layout_layout): make instance geometry signed.
12206 2000-05-29 Olivier Galibert <galibert@pobox.com>
12208 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
12211 * general.c (syms_of_general): Add Qfull_assoc symbol.
12213 * data.c (finish_marking_weak_lists): Mark full-assoc lists
12215 (decode_weak_list_type): Decode full-assoc type.
12216 (encode_weak_list_type): Encode full-assoc type.
12217 (Fmake_weak_list): Update doc string.
12219 2000-05-30 Andy Piper <andy@xemacs.org>
12221 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
12223 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
12224 (decode_hash_table_weakness): ditto.
12225 (Fhash_table_weakness): ditto.
12226 (Fhash_table_type): ditto.
12227 (finish_marking_weak_hash_tables): ditto.
12228 (hash_table_weakness_validate): ditto.
12229 (syms_of_elhash): ditto.
12231 2000-05-28 Martin Buchholz <martin@xemacs.org>
12233 * XEmacs 21.2.34 is released.
12235 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
12237 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
12239 (updating_line_start_cache): Gone.
12240 (regenerate_window): Replace resetting of VERTICAL_CLIP by
12241 generic code to force a minimum of 1 line laid out in the
12244 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
12246 * glyphs.c (instantiate_image_instantiator): Check for initialized
12247 height & width no longer special cases IMAGE_NOTHING.
12248 (nothing_instantiate): Set height and width of instance.
12250 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
12252 * unexelf.c (unexec): Search for ".data" section.
12253 Initialize new_data2_offset from old_data_index.
12254 Remove redundant check for ElfW.
12256 2000-05-23 Andy Piper <andy@xemacs.org>
12258 * glyphs.c (get_image_instantiator_governing_domain): allow more
12259 specific domains as the governing domain rather than expecting an
12260 exact match. This fixes problems with layouts.
12262 2000-05-22 Andy Piper <andy@xemacs.org>
12264 * redisplay-output.c (compare_runes): check for non-images
12266 * glyphs.c (set_glyph_dirty_p): ditto.
12267 (update_glyph_cachel_data): ditto.
12269 * glyphs-widget.c (layout_post_instantiate): ditto.
12270 (layout_post_instantiate): ditto.
12272 * event-msw.c (mswindows_wnd_proc): warning removal.
12274 2000-05-12 Craig Lanning <CraigL@DyCon.com>
12276 * s\mingw32.h: Added #undef for CLASH_DETECTION.
12278 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
12280 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
12282 * nt.c (rva_to_section): mingw32 needs rva_to_section.
12283 (mswindows_executable_type): mingw32 now has enough headers for
12286 2000-05-20 Andy Piper <andy@xemacs.org>
12288 * console-msw.c (mswindows_output_last_error): ; -> ,
12290 2000-05-12 Andy Piper <andy@xemacs.org>
12292 * console-msw.c (FROB): compare ints with ints.
12294 2000-05-11 Andy Piper <andy@xemacs.org>
12296 * glyphs-x.c (x_finalize_image_instance): make minimal build
12299 2000-05-20 Ben Wing <ben@xemacs.org>
12302 * event-Xt.c (vars_of_event_Xt):
12303 move modifier-keys-are-sticky to event-stream.c.
12306 * event-msw.c (mswindows_enqueue_mouse_button_event):
12307 * event-msw.c (key_needs_default_processing_p):
12308 * event-msw.c (XEMSW_LCONTROL):
12309 * event-msw.c (mswindows_handle_sticky_modifiers):
12310 * event-msw.c (FROB):
12311 * event-msw.c (clear_sticky_modifiers):
12312 * event-msw.c (output_modifier_keyboard_state):
12313 * event-msw.c (output_alt_keyboard_state):
12314 * event-msw.c (mswindows_wnd_proc):
12315 * event-msw.c (mswindows_modifier_state):
12316 * event-msw.c (emacs_mswindows_handle_magic_event):
12317 implement sticky modifiers.
12320 * event-stream.c (vars_of_event_stream):
12321 move modifier-keys-are-sticky here.
12324 add CHECK_FUNCTION.
12327 implement map-range-table.
12330 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
12332 * redisplay-tty.c (reset_tty_modes):
12333 (tty_redisplay_shutdown): Adjust argument type to
12334 tty_frame_output_end.
12336 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
12338 * eval.c (Fbacktrace): Don't output a line with only right
12341 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
12343 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
12344 (Fpq_reset_poll): Ditto.
12346 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
12348 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
12350 2000-05-16 Ben Wing <ben@xemacs.org>
12353 * buffer.c (dfc_convert_to/from_internal_format):
12354 * buffer.c (reinit_vars_of_buffer):
12355 Fix conversion functions to allow reentrancy.
12358 * console-msw.c (mswindows_output_last_error):
12359 New fun, generally useful -- output a human-readable
12360 version of GetLastError() on the console.
12363 * console-msw.h (struct mswindows_frame):
12364 Changes for DeferWindowPos. Declare mswindows_output_last_error().
12366 * console-stream.c (stream_output_begin):
12367 * console-stream.c (stream_output_end):
12368 * console-stream.c (stream_output_vertical_divider):
12369 * console-stream.c (stream_clear_region):
12370 * console-stream.c (stream_flash):
12371 * console-stream.c (console_type_create_stream):
12372 Delete blank stream methods, not needed.
12374 * console.h (struct console_methods):
12375 Split begin/end methods into window and frame.
12378 * event-msw.c (mswindows_handle_paint):
12379 * event-msw.c (output_alt_keyboard_state):
12380 * event-msw.c (mswindows_wnd_proc):
12381 * event-msw.c (vars_of_event_mswindows):
12382 Comment about problems with ignored-expose.
12383 Define mswindows-debug-events; not really implemented.
12385 * frame-msw.c (mswindows_init_frame_1):
12389 * glyphs-msw.c (begin_defer_window_pos):
12390 * glyphs-msw.c (mswindows_unmap_subwindow):
12391 * glyphs-msw.c (mswindows_map_subwindow):
12392 * glyphs-msw.c (mswindows_resize_subwindow):
12393 Use DeferWindowPos to reduce flashing when mapping/unmapping.
12395 * glyphs.c (make_image_instance_1):
12398 * gutter.c (Fredisplay_gutter_area):
12399 Use new begin/end methods.
12401 * lisp.h (Dynarr_new2):
12405 * redisplay-msw.c (mswindows_frame_output_begin):
12406 * redisplay-msw.c (mswindows_frame_output_end):
12407 * redisplay-msw.c (console_type_create_redisplay_mswindows):
12408 New begin/end methods -- handle DeferWindowPos.
12410 * redisplay-output.c (redisplay_move_cursor):
12411 * redisplay-output.c (redraw_cursor_in_window):
12412 * redisplay-output.c (redisplay_update_line):
12413 * redisplay-output.c (redisplay_output_window):
12414 New begin/end methods.
12417 * redisplay-tty.c (tty_frame_output_begin):
12418 * redisplay-tty.c (tty_frame_output_end):
12419 * redisplay-tty.c (console_type_create_redisplay_tty):
12420 New begin/end methods.
12423 * redisplay-x.c (x_window_output_begin):
12424 * redisplay-x.c (x_window_output_end):
12425 * redisplay-x.c (console_type_create_redisplay_x):
12426 New begin/end methods.
12428 * redisplay.c (redisplay_frame):
12429 * redisplay.c (Fredisplay_echo_area):
12430 New begin/end methods.
12431 use MAYBE_DEVMETH for clear_frame; it may not exist.
12433 * window.h (WINDOW_XFRAME):
12434 WINDOW_XFOO macros -- get locale and decode struct pointer.
12437 2000-05-12 Ben Wing <ben@xemacs.org>
12440 * emacs.c (ensure_no_quitting_from_now_on):
12441 * emacs.c (fatal_error_signal):
12442 * emacs.c (mswindows_handle_hardware_exceptions):
12444 * emacs.c (Fkill_emacs):
12445 * emacs.c (shut_down_emacs):
12446 * emacs.c (assert_failed):
12447 various improvements in fatal error handling.
12450 move preparing_for_armageddon to emacs.c.
12453 declare fatal_error_in_progress.
12456 * print.c (std_handle_out_external):
12457 * print.c (std_handle_out_va):
12458 * print.c (stderr_out):
12459 * print.c (stdout_out):
12460 use console under mswin when no standard output.
12461 don't do code conversion during fatal error.
12463 * scrollbar.c (Fscrollbar_page_up):
12464 * scrollbar.c (Fscrollbar_page_down):
12465 fix missing else. reindent.
12467 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
12471 * glyphs.h (GLYPH_CACHEL_DESCENT):
12472 (GLYPH_CACHEL_DESCENT):
12473 (GLYPH_CACHEL_DESCENT):
12474 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
12475 used in case these are inline functions.
12476 Use more absurd values to error check.
12478 include window.h for error check functions.
12480 2000-05-11 Ben Wing <ben@xemacs.org>
12482 * cmdloop.c (Freally_early_error_handler):
12483 Display message box under windows; otherwise, message will disappear
12484 before it can be viewed.
12487 * console-msw.c (Fmswindows_message_box):
12488 * console-msw.c (FROB):
12489 * console-msw.c (syms_of_console_mswindows):
12490 Define new fun `mswindows-message-box'.
12491 #### I will merge this into `popup-dialog-box'; just give me
12495 * general.c (syms_of_general):
12496 Some new symbols used in `mswindows-message-box'.
12499 * glyphs.c (Fset_image_instance_property):
12500 put warning in this fun.
12503 * glyphs.h (GLYPH_CACHEL_WIDTH):
12504 * glyphs.h (GLYPH_CACHEL_ASCENT):
12505 * glyphs.h (GLYPH_CACHEL):
12506 * glyphs.h (GLYPH_CACHEL_GLYPH):
12507 define error-checking versions to try to catch a bug i've seen --
12508 redisplay gets in an infinite loop because the glyph width of the
12509 continuation glyph is 65535.
12512 Extern message-box stuff.
12514 * window.c (allocate_window):
12515 * window.c (make_dummy_parent):
12516 * window.c (Fset_window_configuration):
12517 Use EQUAL not EQ for subwindow caches to make them work a bit
12518 better. (Something is still very broken.)
12521 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
12523 * glyphs.c (image_instantiate): Suppress gcc warnings.
12524 (Fmake_image_instance): Fix doc string.
12525 * specifier.c (Fmake_specifier): Ditto.
12527 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
12529 * paths.h.in (PATH_LOCK): Removed.
12530 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
12531 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
12533 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
12535 * fns.c (Ffeaturep): Update e-mail address in doc-string.
12536 Document (featurep '(and xemacs 21.02)).
12538 2000-05-09 Ben Wing <ben@xemacs.org>
12540 * buffer.c (complex_vars_of_buffer):
12541 update modeline-format doc.
12544 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
12547 timeline of all released versions of Emacs, for use in creating
12548 authorship comments and in synching up.
12550 * glyphs-widget.c (image_instantiator_buttons):
12551 * glyphs-widget.c (image_instantiator_edit_fields):
12552 * glyphs-widget.c (image_instantiator_combo_box):
12553 * glyphs-widget.c (image_instantiator_scrollbar):
12554 * glyphs-widget.c (image_instantiator_progress_guage):
12555 * glyphs-widget.c (image_instantiator_tree_view):
12556 * glyphs-widget.c (image_instantiator_tab_control):
12557 * glyphs-widget.c (image_instantiator_labels):
12558 * glyphs-widget.c (image_instantiator_layout):
12559 * glyphs-widget.c (image_instantiator_native_layout):
12560 rename decode_domain method to governing_domain.
12563 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
12564 * glyphs.c (add_entry_to_device_ii_format_list):
12565 make sure we don't put an entry more than once into the list.
12566 * glyphs.c (check_instance_cache_mapper):
12567 *************************************************************
12568 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
12570 *************************************************************
12571 * glyphs.c (get_image_instantiator_governing_domain):
12572 clean up, expand on new concept of governing domain.
12573 * glyphs.c (instantiate_image_instantiator):
12574 * glyphs.c (allocate_image_instance):
12575 use governing_domain instead of cache_domain in naming.
12576 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
12577 * glyphs.c (make_image_instance_1):
12578 * glyphs.c (Fmake_image_instance):
12579 allow for any domain (not just device), and process the
12580 governing domain correctly. very big doc fix.
12581 * glyphs.c (Fimage_instance_domain):
12582 new primitive, to retrieve the governing domain of an image instance.
12583 * glyphs.c (image_instantiate):
12584 use new governing_domain stuff. this fixes a crash you could get
12585 by instantiating certain widget glyphs in frame locales. (should
12586 signal an error instead of crashing.)
12587 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
12588 * glyphs.c (Fglyphp): clean up doc.
12589 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
12590 * glyphs.c (syms_of_glyphs):
12591 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
12592 * glyphs.c (image_instantiator_format_create): add some comments about
12594 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
12595 for current-display-table. (Apparently Hrjove implemented in 1998 a
12596 design I wrote up in 1996, but didn't update the doc string.)
12598 * glyphs.h: clean up a doc string.
12599 * glyphs.h (governing_domain):
12600 * glyphs.h (struct image_instantiator_methods):
12601 changes for governing_domain stuff.
12604 * gutter.c (Fgutter_specifier_p):
12605 * gutter.c (Fgutter_size_specifier_p):
12606 * gutter.c (Fgutter_visible_specifier_p):
12608 * objects.c (Fcolor_specifier_p):
12609 * objects.c (Ffont_specifier_p):
12610 * objects.c (Fface_boolean_specifier_p):
12611 doc strings moved to make-*-specifier.
12613 * redisplay.c (add_disp_table_entry_runes_1):
12614 * redisplay.c (generate_fstring_runes):
12615 * redisplay.c (screen):
12616 add random comments and doc strings.
12619 * specifier.c (Fmake_specifier):
12620 major overhaul of this doc string.
12622 * specifier.c (Fvalid_specifier_domain_p):
12623 comment about the bogosity of image instances being domains.
12624 * specifier.c (decode_domain):
12625 now non-static, used in glyphs.c.
12626 * specifier.c (specifier_instance):
12627 comment about the bogosity of image instances being domains.
12628 * specifier.c (Fgeneric_specifier_p):
12629 move doc string to make-generic-specifier.
12630 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
12634 * specifier.h (DOMAIN_FRAME):
12635 * specifier.h (DOMAIN_LIVE_P):
12636 * specifier.h (DOMAIN_XDEVICE):
12638 add comments about problems with these macros.
12639 prototype for decode_domain.
12642 * toolbar.c (Ftoolbar_specifier_p):
12643 move doc string to `make-toolbar-specifier'.
12645 * window.c (window_unmap_subwindows_cache_mapper):
12646 *************************************************************
12647 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
12649 *************************************************************
12651 2000-05-09 Andy Piper <andy@xemacs.org>
12653 * glyphs.h: declare reset_frame_subwindow_instance_cache.
12655 * window.c (Fset_window_configuration): reset the frame subwindow
12656 cache and re-initialize the window subwindow caches.
12658 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
12660 2000-05-09 Ben Wing <ben@xemacs.org>
12662 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
12665 2000-04-26 Mike Woolley <mike@bulsara.com>
12667 * ntheap.c: Changed recreate_heap to limit the amount reserved
12668 for the heap to that which is actually available. Also now
12669 displays a message box (with some dignostics) in the event that
12670 it still can't start.
12672 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
12674 * callproc.c (Fold_call_process_internal): GCPRO path
12676 2000-05-08 Jan Vroonhof <jan@xemacs.org>
12678 Patch by Bill Perry.
12680 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
12681 back data instead of #ifdef.
12682 (Fscrollbar_page_down): ditto.
12684 2000-05-07 Ben Wing <ben@xemacs.org>
12687 Kludge for defining Qmswindows_tstr.
12690 * nt.c (open_input_file):
12691 * nt.c (open_output_file):
12692 * nt.c (rva_to_section):
12693 * nt.c (mswindows_executable_type):
12694 Move all memory-mapped-file routines here (some were in unexnt.c,
12695 which is bad because they are used by process-nt.c, and unexnt
12696 won't be around when portable dumping). Synched the above routines
12700 Removed ifdef'd out bogus code.
12701 Fixed some prototypes.
12703 * nt.h (file_data):
12704 * nt.h (OFFSET_TO_RVA):
12705 * nt.h (RVA_TO_OFFSET):
12706 * nt.h (RVA_TO_PTR):
12707 Moved the memory-mapped-file structures, macros and prototypes
12708 here, to parallel nt.c. ntheap.h should really be removed
12709 entirely, and it's a non-portable-dumper specific file.
12711 * ntheap.h (round_to_next):
12712 Moved the memory-mapped-file structures, macros and prototypes
12715 * ntproc.c (compare_env):
12716 Moved rva_to_section and mswindows_executable_type to nt.c.
12717 Moved compare_env to process-nt.c.
12718 ntproc.c will die, one day.
12720 * ntproc.c (sys_spawnve):
12721 Account for win32_ -> mswindows_.
12724 * process-nt.c (struct nt_process_data):
12725 * process-nt.c (ensure_console_window_exists):
12726 * process-nt.c (compare_env):
12727 * process-nt.c (nt_create_process):
12728 * process-nt.c (nt_kill_process_by_pid):
12729 * process-nt.c (syms_of_process_nt):
12730 * process-nt.c (vars_of_process_nt):
12731 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
12732 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
12733 changes). Eliminate our old `nt-quote-process-args' mechanism.
12734 Synch up nt_create_process with FSF 20.6 sys_spawnve.
12735 Move compare_env here from ntproc.c.
12737 * process.c (Fprocess_send_region):
12738 Takes an optional fourth argument, BUFFER, which should fix some
12739 problems with call-process.
12742 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
12745 Move ICC_BAR_CLASSES to syscommctrl.h.
12746 Add preliminary macros for MSWindows/Mule. More to come.
12749 * unexnt.c (unexec):
12750 open_output_file moved to nt.c.
12753 2000-05-05 Andy Piper <andy@xemacs.org>
12755 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
12756 instance from the frame cache also since GC may catch up too late
12757 to make frame deletion sane.
12759 2000-05-04 Andy Piper <andy@xemacs.org>
12761 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
12762 (x_finalize_image_instance): ungcpro on deletion.
12764 * glyphs.c (image_instantiator_format_create): give pointers a
12765 query geometry method so that the geometry is at least set.
12767 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
12768 initialize layouts if using widgets.
12770 2000-05-03 Andy Piper <andy@xemacs.org>
12772 * nt.c: remove bogus reference to sysmmsystem.h
12774 * gui-x.c (popup_selection_callback): fix no selection abort.
12776 2000-05-02 Andy Piper <andy@xemacs.org>
12778 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
12779 (mswindows_widget_instantiate): ditto.
12781 * glyphs-widget.c (initialize_widget_image_instance): initialize
12782 children correctly.
12783 (widget_instantiate): cope with children and items in the same
12786 * glyphs.c (mark_image_instance): cope with children as a first
12788 (image_instance_equal): ditto.
12789 (image_instance_hash): ditto.
12790 (image_instance_changed): ditto.
12792 2000-04-30 Andy Piper <andy@xemacs.org>
12794 * glyphs.c (subwindow_query_geometry): new function. Return some
12796 (subwindow_instantiate): don't assign dimensions if none have been
12798 (image_instantiator_format_create): add subwindow_query_geometry.
12799 (print_image_instance): cope with layouts as widgets.
12801 2000-04-29 Andy Piper <andy@xemacs.org>
12803 * frame.c (delete_frame_internal): call
12804 free_frame_subwindow_instance_cache so that all subwindows are
12805 finalized before their parent.
12806 (mark_frame): remove subwindow_cachels.
12807 (Fmake_frame): remove subwindow_cachel manipulation.
12808 (allocate_frame_core): subwindow_instance_cache is a weak list.
12809 (delete_frame_internal): set subwindow_instance_cache to nil.
12811 * glyphs-msw.c (mswindows_finalize_image_instance): make double
12813 (mswindows_finalize_image_instance): use the device
12814 not the domain as the domain may have died already.
12816 * glyphs-x.c (x_finalize_image_instance): ditto.
12817 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
12820 * redisplay-output.c (redisplay_unmap_subwindows): update for
12821 subwindow instance cache as a weak list.
12822 (redisplay_unmap_subwindows_maybe): ditto.
12823 (redisplay_unmap_subwindows_except_us): ditto.
12825 * glyphs.c (unmap_subwindow): error checking will check the domain
12826 so don't deal with it here. Don't use cachels anymore.
12827 (map_subwindow): ditto.
12828 (update_subwindow_cachel_data): remove old accessor names.
12829 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
12830 (Fresize_subwindow): don't update cachel.
12831 (mark_subwindow_cachels):
12832 (update_subwindow_cachel_data):
12833 (add_subwindow_cachel):
12834 (get_subwindow_cachel_index):
12835 (update_subwindow_cachel):
12836 (reset_subwindow_cachels):
12837 (mark_subwindow_cachels_as_not_updated): deleted.
12838 (cache_subwindow_instance_in_frame_maybe): new function. Add a
12839 subwindow instance to the frame cache.
12840 (find_matching_subwindow): update for subwindow instance cache as
12842 (update_widget_instances): ditto.
12843 (image_instance_type_to_mask):inlined.
12844 (free_frame_subwindow_instance_cache): new function. finalize all
12845 subwindows that are instantiated.
12847 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
12848 of cachel information.
12849 (IMAGE_INSTANCE_DISPLAY_X):
12850 (IMAGE_INSTANCE_DISPLAY_Y):
12851 (IMAGE_INSTANCE_DISPLAY_WIDTH):
12852 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
12853 (XIMAGE_INSTANCE_DISPLAY_X):
12854 (XIMAGE_INSTANCE_DISPLAY_Y):
12855 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
12856 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
12857 remove subwindow_cachel structure and function references.
12858 (image_instance_type_to_mask): inline from glyphs.c
12860 * redisplay.c (redisplay_frame): remove subwindow_cachel
12863 * frame.h (struct frame): remove subwindow_cachels.
12864 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
12866 * frameslots.h: add subwindow_instance_cache.
12868 * window.c (replace_window): check subwindow cache of replacement.
12869 (window_unmap_subwindows_cache_mapper):
12870 (window_unmap_subwindows): new functions. Unmap all subwindows
12871 cached on this window.
12872 (mark_window_as_deleted): unmap all subwindows.
12874 2000-04-27 Andy Piper <andy@xemacs.org>
12876 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
12878 * glyphs-widget.c (widget_layout): return something.
12879 (layout_layout): return something. Fail if not initialized.
12880 (layout_query_geometry): ditto.
12881 (image_instantiator_native_layout): new function. Initialized the
12882 native layout type.
12883 (widget_instantiate): don't do layout stuff here.
12885 * glyphs.c (instantiate_image_instantiator): reorded calling or
12886 instantiate and post_instantiate with layout in between.
12887 (image_instance_layout): be more selective about deciding whether
12888 the layout has been done or not.
12890 * glyphs.h (struct image_instantiator_methods): return a value
12891 from layout_method.
12893 2000-04-26 Andy Piper <andy@xemacs.org>
12895 * glyphs.c (allocate_image_instance): make initial width and
12896 height unspecified. Set initialized to 0.
12898 * syscommctrl.h new file. Encapsulates commctrl.h.
12900 * syswindows.h new file. Encapsulates windows.h.
12902 * ntplay.c: use new syswindows.h and syscommctrl.h header.
12904 * console-msw.h: ditto.
12906 * redisplay-tty.c (tty_output_display_block): remove layout references.
12908 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
12909 window handle rather than just the frame.
12911 * glyphs.c (mark_image_instance): remove layout references.
12912 (print_image_instance): ditto.
12913 (image_instance_equal): ditto.
12914 (image_instance_hash): ditto.
12915 (decode_image_instance_type): ditto.
12916 (encode_image_instance_type): ditto.
12917 (image_instantiate): ditto.
12918 (allocate_glyph): ditto.
12919 (Fimage_instance_height): ditto.
12920 (Fimage_instance_width): ditto.
12921 (update_subwindow): ditto.
12923 * redisplay-x.c (x_output_display_block): recode for layouts as
12926 * redisplay-output.c (redisplay_output_layout): recode for layouts
12928 (compare_runes): remove layout references.
12930 * redisplay-msw.c (mswindows_output_display_block): recode for
12931 layouts as widgets.
12933 * glyphs-widget.c (image_instantiator_layout): remove
12934 layout_possible_dest_types.
12935 (layout_possible_dest_types): deleted.
12937 * glyphs.h (image_instance_type): remove layout references.
12938 (struct Lisp_Image_Instance): ditto. Add initialized flag.
12939 (IMAGE_INSTANCE_INITIALIZED): new accessor.
12940 (XIMAGE_INSTANCE_INITIALIZED): ditto.
12942 2000-04-25 Andy Piper <andy@xemacs.org>
12944 * glyphs-widget.c (image_instantiator_buttons):
12945 (image_instantiator_edit_fields):
12946 (image_instantiator_combo_box):
12947 (image_instantiator_scrollbar):
12948 (image_instantiator_progress_guage):
12949 (image_instantiator_tree_view):
12950 (image_instantiator_tab_control):
12951 (image_instantiator_labels):
12952 (image_instantiator_layout): call default post_instantiate method.
12953 (widget_post_instantiate): new function. Simply lays out the
12956 * glyphs.h (struct image_instantiator_methods): add
12957 post_instantiate method.
12959 * glyphs.c (instantiate_image_instantiator): add post_instantiate
12962 2000-04-23 Andy Piper <andy@xemacs.org>
12964 * glyphs.h (struct image_instantiator_methods): add
12965 decode_domain_method.
12966 (struct Lisp_Image_Instance): remove subwindow frame - it can be
12967 derived from the domain.
12968 (IMAGE_INSTANCE_FRAME): new accessor.
12969 (XIMAGE_INSTANCE_FRAME): ditto.
12971 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
12972 instead of _SUBWINDOW_FRAME.
12973 (finalize_image_instance): ditto.
12974 (Fimage_instance_foreground): ditto.
12975 (Fimage_instance_background): ditto.
12976 (image_instantiate): ditto.
12977 (update_subwindow_cachel): ditto.
12978 (update_subwindow): ditto.
12979 (unmap_subwindow): ditto.
12980 (map_subwindow): ditto
12981 (subwindow_instantiate): ditto.
12982 * glyphs-msw.c (mswindows_update_widget): ditto.
12983 (mswindows_progress_gauge_instantiate): ditto.
12984 (mswindows_tab_control_update): ditto.
12985 * glyphs-x.c (x_update_widget): ditto.
12986 (x_widget_instantiate): ditto.
12987 (x_tab_control_instantiate): ditto.
12988 (x_tab_control_update): ditto.
12989 * event-msw.c (mswindows_wnd_proc): ditto
12991 * glyphs-widget.c (image_instantiator_layout): use
12992 subwindow_decode_domain.
12993 (image_instantiator_buttons): ditto.
12994 (image_instantiator_edit_fields): ditto.
12995 (image_instantiator_combo_box): ditto.
12996 (image_instantiator_scrollbar): ditto.
12997 (image_instantiator_progress_guage): ditto.
12998 (image_instantiator_tree_view): ditto.
12999 (image_instantiator_tab_control): ditto.
13000 (image_instantiator_labels): ditto.
13001 (image_instantiator_layout): ditto.
13003 * glyphs.c: add instance error checking to many functions.
13004 (instantiate_image_instantiator): decode device from cache_domain.
13005 (image_instantiate): partially rewrite by using
13006 decode_image_instantiator_domain to determine what domain the
13007 instance needs to be cached in.
13008 (decode_image_instantiator_domain): new function. Determine what
13009 domain the image needs to be cached in.
13010 (check_window_subwindow_cache): new error checking function.
13011 (check_instance_cache_mapper): ditto.
13012 (check_image_instance_structure): ditto.
13013 (subwindow_decode_domain): new function. Encodes a window as a
13014 subwindow's cache domain.
13015 (image_instantiator_format_create): use it for text and
13018 2000-04-21 Andy Piper <andy@xemacs.org>
13020 * glyphs.c (image_instance_device): new function.
13021 (image_instance_frame): new function.
13022 (image_instance_window): new function.
13023 (image_instance_live_p): new function.
13025 * window.c (mark_window_as_deleted): reset the subwindow_instance_
13028 * glyphs.h (struct Lisp_Image_Instance): device->domain.
13029 (IMAGE_INSTANCE_DOMAIN): new accessor.
13030 (XIMAGE_INSTANCE_DOMAIN): ditto.
13032 * glyphs-x.c (x_finalize_image_instance): device->domain.
13034 * glyphs-msw.c (init_image_instance_geometry): device->domain.
13035 (mswindows_finalize_image_instance): ditto.
13037 * glyphs-eimage.c (jpeg_instantiate): device->domain.
13038 (gif_instantiate): ditto.
13039 (png_instantiate): ditto.
13040 (tiff_instantiate): ditto.
13042 * glyphs.c (instantiate_image_instantiator): use domain rather
13044 (mark_image_instance): device -> domain.
13045 (print_image_instance): ditto.
13046 (finalize_image_instance): ditto.
13047 (image_instance_equal): ditto.
13048 (allocate_image_instance): ditto.
13049 (Fcolorize_image_instance): ditto.
13050 (query_string_geometry): ditto.
13051 (image_instantiate): ditto
13052 (query_string_font): ditto.
13053 (image_instantiate): ditto.
13054 (update_subwindow): ditto.
13055 (unmap_subwindow): ditto.
13056 (map_subwindow): ditto.
13057 (subwindow_instantiate): ditto.
13059 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
13060 (DOMAIN_FRAME): ditto.
13061 (DOMAIN_WINDOW): ditto.
13062 (DOMAIN_LIVE_P): ditto.
13063 (XDOMAIN_DEVICE): ditto.
13064 (XDOMAIN_FRAME): ditto.
13065 (XDOMAIN_WINDOW): ditto.
13067 * specifier.c (Fvalid_specifier_domain_p): add image instances as
13068 a valid specifier domain.
13070 2000-04-19 Andy Piper <andy@xemacs.org>
13072 * glyphs-widget.c (syms_of_glyphs_widget): remove
13073 widget-callback-current-channel.
13074 (vars_of_glyphs_widget): ditto.
13077 * gui.c (get_gui_callback): revert to previous behaviour.
13079 2000-04-18 Andy Piper <andy@xemacs.org>
13081 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
13082 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
13083 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
13085 * glyphs.c (image_instance_equal): add margin_width.
13086 (image_instance_hash): ditto.
13088 * glyphs-widget.c (widget_instantiate): deal with margin-width.
13089 (layout_query_geometry): ditto.
13090 (layout_layout): ditto.
13091 (syms_of_glyphs_widget): add margin-width.
13092 (image_instantiator_layout): allow margin-width.
13094 * glyphs.c (update_widget_instances): make a normal function.
13095 (syms_of_glyphs): remove Qupdate_widget_instances.
13098 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
13099 so that we don't corrupt ideas about the last event or
13100 command. Remove widget-callback-current-channel fiddling.
13101 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
13103 2000-05-01 Martin Buchholz <martin@xemacs.org>
13105 * XEmacs 21.2.33 is released.
13107 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
13109 * make-src-depend: Allow dots in header file name.
13111 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
13113 * mule-charset.h (struct charset_lookup): Add
13114 next_allocated_1_byte_leading_byte and
13115 next_allocated_2_byte_leading_byte.
13116 * mule-charset.c: Move above two variables so that those values
13119 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
13121 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
13122 when string length is zero.
13123 (find_charsets_in_emchar_string): Ditto.
13125 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
13127 * lisp.h: extern Qdialog and Qmenubar.
13129 * gui-x.c: added events.h.
13130 also fixed typo which made the file uncompilable.
13132 * general.c: Added Qmenubar and Qdialog
13134 2000-04-28 Ben Wing <ben@xemacs.org>
13136 * frame-msw.c (mswindows_init_frame_1):
13137 * frame-msw.c (mswindows_mark_frame):
13138 * event-msw.c (mswindows_enqueue_dispatch_event):
13140 * console-msw.h (struct mswindows_frame):
13141 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
13142 there are now three hash tables for callbacks.
13143 mswindows_enqueue_dispatch_event is no longer static.
13145 * dialog-x.c (maybe_run_dbox_text_callback):
13146 * dialog-x.c (dbox_descriptor_to_widget_value):
13147 switch to new cons3 form for callbacks.
13149 * glyphs-msw.c (mswindows_register_gui_item):
13150 * glyphs-msw.c (mswindows_widget_instantiate):
13151 * glyphs-msw.c (add_tree_item):
13152 * glyphs-msw.c (add_tab_item):
13153 new image instance parameter, so it can be passed to callback-ex.
13154 respect :callback-ex as well as :callback.
13156 * glyphs-widget.c (VALID_GUI_KEYWORDS):
13159 * glyphs.c (print_image_instance):
13160 prettify, e.g. now prints widget type.
13163 certain funs have new image instance parameter.
13166 * gui.c (get_gui_callback):
13167 * gui.c (gui_item_add_keyval_pair):
13168 * gui.c (gui_item_init):
13169 * gui.c (gui_add_item_keywords_to_plist):
13170 * gui.c (mark_gui_item):
13171 * gui.c (gui_item_hash):
13172 * gui.c (gui_item_equal):
13173 * gui.c (copy_gui_item):
13174 * gui.c (syms_of_gui):
13175 recognize callback-ex in a number of places.
13176 also, fix the annoying "can't get out of yes-no dialog" bug.
13179 * gui.h (struct Lisp_Gui_Item):
13180 recognize callback-ex in a number of places.
13182 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
13183 new parameter in button_item_to_widget_value.
13185 * glyphs-x.c (x_update_widget):
13186 * glyphs-x.c (x_button_instantiate):
13187 * glyphs-x.c (x_button_update):
13188 * glyphs-x.c (x_progress_gauge_instantiate):
13189 * glyphs-x.c (x_edit_field_instantiate):
13190 * glyphs-x.c (x_combo_box_instantiate):
13191 * glyphs-x.c (x_tab_control_instantiate):
13192 * glyphs-x.c (x_label_instantiate):
13193 new image instance parameter in various places.
13196 * event-Xt.c (enqueue_Xt_dispatch_event):
13197 this fun gets exported.
13200 * gui-msw.c (mswindows_handle_gui_wm_command):
13201 handle both :callback and :callback-ex, and generate our own
13202 event because it's one of the callback-ex arguments.
13205 * gui-x.c (popup_selection_callback):
13206 handle both :callback and :callback-ex, and generate our own
13207 event because it's one of the callback-ex arguments.
13208 * gui-x.c (button_item_to_widget_value):
13209 * gui-x.c (gui_items_to_widget_values_1):
13210 * gui-x.c (gui_item_children_to_widget_values):
13211 * gui-x.c (gui_items_to_widget_values):
13212 new image instance parameter in various places.
13214 * fns.c (Freplace_list):
13215 fix small typo in doc string.
13218 declare enqueue_Xt_dispatch_event.
13220 2000-04-28 Ben Wing <ben@xemacs.org>
13223 * buffer.c (Frecord_buffer):
13224 * buffer.c (syms_of_buffer):
13225 delete record-buffer-hook.
13228 * fns.c (Freplace_list):
13229 * fns.c (syms_of_fns):
13230 new primitive replace-list.
13233 slot for old buffer-alist.
13236 exfun replace-list.
13239 * redisplay.c (redisplay_frame):
13240 * redisplay.c (syms_of_redisplay):
13241 * redisplay.c (vars_of_redisplay):
13242 new hook buffer-list-changed-hook.
13245 2000-04-27 Ben Wing <ben@xemacs.org>
13247 * extents.h: extern in_modeline_generation.
13249 * redisplay.c (generate_formatted_string_db): set
13250 in_modeline_generation.
13252 * extents.c (extent_changed_for_redisplay): don't mark redisplay
13253 flags if in modeline generation. otherwise frame-modified-tick
13254 is ticked far too often.
13255 Declare in_modeline_generation.
13257 2000-04-26 Ben Wing <ben@xemacs.org>
13259 * emacs.c (vars_of_emacs): document quick-build "error-checking"
13261 (vars_of_emacs): add quick-build as an error-checking option.
13262 A bit kludgy, but there doesn't seem much point in creating
13263 a real var for this.
13265 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
13267 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
13269 * redisplay.h (struct display_line): Add a new variable,
13272 * redisplay.c (create_text_block): Set dl->line_continuation if
13273 the line continues.
13274 (create_string_text_block): Ditto.
13275 (regenerate_window_incrementally): Use line_continuation instead
13276 of searching continuation glyph.
13277 (add_margin_runes): Call add_glyph_rune.
13278 (add_glyph_rune): Handle margin glyph.
13280 2000-04-20 Martin Buchholz <martin@xemacs.org>
13282 * filelock.c (fill_in_lock_file_name):
13284 Check for IS_ANY_SEP instead of '/'.
13286 Avoid generating gratuitous garbage. Call user_login_name() directly.
13287 Never check errno without first seeing that system call failed.
13288 (unlock_file): Add GCPRO.
13289 (Flock_buffer): Fix docstring.
13290 (Ffile_locked_p): Fix docstring. Add GCPRO.
13292 2000-04-19 Martin Buchholz <martin@xemacs.org>
13294 * sysdep.c (get_pty_max_bytes):
13295 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
13296 strings longer than 252 bytes.
13298 * md5.c: Unconditionally include ANSI header <limits.h>
13300 * glyphs-x.c (convert_EImage_to_XImage):
13301 * lisp-union.h (union Lisp_Object):
13302 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
13304 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
13306 * filelock.c (current_lock_owner): Remove unused variable o, p.
13308 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
13310 * callint.c: Remove multiply defined symbol Qlet
13311 (syms_of_callint): ditto.
13313 2000-04-14 Andy Piper <andy@xemacs.org>
13315 * general.c (syms_of_general): add last-command, this-command, let
13318 * lisp.h: declare various symbols.
13320 * glyphs.h: declare Qwidget_callback_current_channel;
13322 * glyphs-widget.c (syms_of_glyphs_widget): add
13323 Qgui_callback_current_channel.
13324 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
13326 * gui-msw.c (mswindows_handle_gui_wm_command): bind
13327 widget-callback-current-channel when invoking the interactive
13328 arg. Also bind last-command and next-command when invoking the
13330 * gui-x.c (popup_selection_callback): ditto.
13332 * gui.c (get_gui_callback): massage args so that we are always
13333 calling eval. This allows us to add our own variable bindings
13336 * glyphs-x.c (x_button_instantiate): use
13337 gui_items_to_widget_values since this is GC safe.
13338 (x_progress_gauge_instantiate): ditto.
13339 (x_edit_field_instantiate): ditto.
13340 (x_label_instantiate): ditto.
13342 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
13343 (emacs_Xt_event_widget_focus_out): new function
13344 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
13346 (emacs_Xt_event_add_widget_actions): new function. add focus
13347 functions as actions.
13348 (init_event_Xt_late): use it.
13350 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
13352 * event-stream.c (Fdispatch_event): Doc fix.
13354 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
13356 * postgresql.c: Remove all references to PQsetenv*.
13358 * postgresql.h: Remove references to PGsetenvHandler object.
13359 * lrecord.h (lrecord_type): Ditto.
13361 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13363 * glyphs-msw.h (struct mswindows_image_instance_data): Added
13364 real_heigh and real_width members, and accessor macros for these.
13366 * glyphs-msw.c (init_image_instance_geometry): New function.
13367 (init_image_instance_from_dibitmap): Use it.
13368 (mswindows_resource_instantiate): Use it.
13369 (init_image_instance_from_xbm_inline): Use it.
13370 (mswindows_initialize_image_instance_mask): Use real bitmap
13372 (mswindows_create_resized_bitmap): Ditto.
13373 (mswindows_create_resized_mask): Ditto.
13375 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
13376 and bitmap to their surface size.
13378 2000-04-11 Jan Vroonhof <jan@xemacs.org>
13380 * process-unix.c (unix_send_process): Guard against process MIA
13381 after Faccept_process_output.
13383 2000-04-11 Ben Wing <ben@xemacs.org>
13385 * eval.c (unbind_to_hairy): fix brokenness introduced by
13386 nanosecond speed improvements.
13388 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
13390 * sunplay.c (init_device): To play sounds correctly, the device
13391 apparently needs to be initialized at least once by XEmacs. Make
13394 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
13396 * redisplay.c (add_margin_runes): Add text image glyph
13399 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
13401 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
13402 gcc is newer than 2.5.
13404 2000-04-06 Colin Rafferty <colin@xemacs.org>
13406 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
13408 * fns.c (size_bit_vector):
13409 * alloc.c (size_vector):
13410 (make_vector_internal):
13411 (make_bit_vector_internal):
13412 (sweep_bit_vectors_1):
13413 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
13415 2000-04-06 Andy Piper <andy@xemacs.org>
13417 * gmalloc.c (malloc): undo previous change.
13422 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
13424 * line-number.c (buffer_line_number): Revert to former version.
13426 2000-04-06 Andy Piper <andy@xemacs.org>
13428 * gmalloc.c (malloc): add error checking.
13433 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
13434 button_item_to_widget_value arg.
13436 * glyphs-x.c (x_button_instantiate): add extra
13437 button_item_to_widget_value arg.
13438 (x_progress_gauge_instantiate): ditto.
13439 (x_edit_field_instantiate): ditto.
13440 (x_label_instantiate): ditto.
13442 * gui-x.c (gui_items_to_widget_values_1): add extra
13443 button_item_to_widget_value arg.
13444 (button_item_to_widget_value): add extra menu_item_p arg.
13446 * gui-x.h: change signature of button_item_to_widget_value.
13448 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
13449 button_item_to_widget_value arg.
13451 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
13453 * buffer.h (struct buffer): auto_save_modified should be long.
13455 2000-04-05 Andy Piper <andy@xemacs.org>
13457 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
13459 (button_query_geometry): give a little more room so that athena
13462 2000-04-05 Andy Piper <andy@xemacs.org>
13464 * faces.c (complex_vars_of_faces): The widget face should inherit
13465 the font of the gui-element face.
13467 2000-04-04 Andy Piper <andy@xemacs.org>
13469 * glyphs-x.c (x_button_update): new function. unconditionally
13470 update a button's state when the instance is dirty.
13471 (image_instantiator_format_create_glyphs_x): add x_button_update.
13472 (x_widget_instantiate): remove old resize cruft.
13474 2000-04-02 Andy Piper <andy@xemacs.org>
13476 * frame.c (change_frame_size_1): The introduction of gutters means
13477 that we need to allow 0 as a potential frame dimension.
13479 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
13481 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
13482 image glyph if allow_cursor.
13483 (add_hscroll_rune): Don't allow cursor to border glyph.
13484 (create_text_block): Ditto.
13486 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
13487 text not in buffer.
13488 (redisplay_output_layout): Call ensure_face_cachel_complete for
13492 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
13494 * redisplay.c (add_glyph_rune): Adding text image as text runes.
13496 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
13499 * redisplay-tty.c (tty_output_display_block): Delete the routine
13500 for text image glyph
13501 * redisplay-x.c (x_output_display_block): ditto
13502 * redisplay-msw.c (mswindows_output_display_block): ditto
13504 2000-02-02 Mike Alexander <mta@arbortext.com>
13506 Note: Some of these were committed by accident as part of other
13509 * regex.c (regex_compile): Avoid compiler warnings.
13511 * ntproc.c (sys_spawnve): Avoid compiler warnings.
13513 * nt.h: Declare term_ntproc correctly.
13515 * nt.c: Remove incorrect declaration of get_home_directory which
13516 is declared correctly in lisp.h.
13518 * keymap.c (get_keyelt): Avoid compiler warnings.
13519 (raw_lookup_key_mapper): Avoid compiler warnings.
13521 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
13523 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
13525 * filemode.c (mode_string): Avoid compiler warnings.
13527 * file-coding.c (Fcoding_system_aliasee): Add return statement to
13530 * events-mod.h: Undef some things that winuser.h defines differently.
13532 * data.c (Faset): Avoid compiler warnings.
13534 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
13536 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
13538 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
13539 Fall through to simple beep on error.
13540 Replace "extern" by real header file.
13542 * linuxplay.c: Use nativesound.h
13543 (play_sound_data): Return error code. Be less verbose on error.
13545 * sunplay.c: Use nativesound.h
13546 (play_sound_data): Return error code. Be less verbose on error.
13548 * ntplay.c: Use nativesound.h
13549 (play_sound_data): Return fake error code
13551 * sgiplay.c: Use nativesound.h
13552 (play_sound_data): Return error code
13554 * hpplay.c: Use nativesound.h, partially implement
13555 new error code. Break compilation until finished.
13556 (play_sound_data): error code.
13558 * nativesound.h (play_sound_file):
13559 (play_sound_data): Prototype in new header.
13561 2000-03-31 Andy Piper <andy@xemacs.org>
13563 * glyphs-widget.c: (button_query_geometry): new function. Adjust
13564 for toggle and radio buttons.
13565 (image_instantiator_buttons): use it.
13567 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
13569 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
13570 (x_update_horizontal_scrollbar_callback): Return if no mirror was
13571 found. Scrollbar event probably belonged to some old config.
13573 2000-03-31 Andy Piper <andy@xemacs.org>
13575 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
13577 (initialize_widget_image_instance): default layout to
13578 LAYOUT_HORIZONTAL rather than 0.
13579 (widget_instantiate): reverse the item list at the end rather than
13581 (layout_layout): re-code for the border text at the front of the
13582 item list rather than at the end.
13583 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
13584 provided by the user.
13585 (widget_query_geometry): comment.
13587 2000-03-30 Andy Piper <andy@xemacs.org>
13589 * glyphs-widget.c (image_instantiator_layout): allow standard
13590 widget keywords in layouts.
13592 * gutter.c (output_gutter): cope with nil gutter contents.
13594 * frame.c (Fset_frame_properties): add gutter docs.
13596 2000-03-29 Andy Piper <andy@xemacs.org>
13598 * toolbar-msw.c (TBSTYLE_FLAT): add.
13599 (mswindows_output_toolbar): minor fiddling.
13601 2000-03-29 Andy Piper <andy@xemacs.org>
13603 * gutter.c (output_gutter): force gutter size recalculation if
13604 what we are trying to display won't fit.
13605 (update_gutter_geometry): new function. A per-gutter version of
13606 update_frame_gutter_geometry.
13607 (update_frame_gutter_geometry): use it.
13608 (redraw_exposed_gutter): add extra debugging output.
13610 2000-03-28 Mike Alexander <mta@arbortext.com>
13612 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
13613 (pdump_file_unmap): Implement it on Windows
13614 (pdump_file_get): Save alocated handles for pdump_file_unmap
13616 2000-03-28 Andy Piper <andy@xemacs.org>
13618 * gui.c (get_gui_callback): treat Quit specially.
13620 2000-03-27 Andy Piper <andy@xemacs.org>
13622 * glyphs.c (image_instantiate): be careful to check in the same
13625 2000-03-27 Didier Verna <didier@xemacs.org>
13627 * config.h.in: define the proper SMART_INCLUDE macro.
13628 handle renaming of `foo_h_path' to `foo_h_file'.
13630 * database.c: ditto.
13634 * linuxplay.c: ditto.
13636 * terminfo.c: ditto.
13638 * tooltalk.h: ditto.
13640 2000-03-27 Andy Piper <andy@xemacs.org>
13642 * glyphs-msw.c (mswindows_update_widget): make sure the widget
13643 gets updated whenever the face might have changed.
13645 2000-03-26 Mike Alexander <mta@arbortext.com>
13647 * dumper.c (pdump_resource_free): Fix the comment.
13649 2000-03-21 Olivier Galibert <galibert@pobox.com>
13651 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
13653 2000-03-22 Mike Alexander <mta@arbortext.com>
13655 * dumper.c: Include Windows headers on Windows
13656 (pdump_resource_free): Add a body to the function
13657 (pdump_load): exe_name -> exe_path and add some comments.
13659 2000-03-25 Mike Alexander <mta@arbortext.com>
13661 * gui.c (copy_gui_item_tree): Return a value in all cases
13663 2000-03-21 Didier Verna <didier@xemacs.org>
13665 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
13667 (SMART_INCLUDE): new macro.
13668 (POSTGRES_INCLUDE): new macro to include postgresql headers from
13669 the proper location.
13671 * postgresql.c: use it.
13675 2000-03-24 Andy Piper <andy@xemacs.org>
13677 * gutter.c (redraw_exposed_gutters): must be "in display" when we
13680 2000-03-24 Andy Piper <andy@xemacs.org>
13682 * redisplay-output.c (compare_runes): use image_instance_changed
13683 to detect changes. Do not depend on glyphs_changed, only depend on
13685 (redisplay_output_layout): add debug messages.
13686 (compare_runes): ditto.
13688 * glyphs.h: declare new functions.
13689 (struct Lisp_Image_Instance): remove percent and associated
13692 * gui.h: declare new copying functions.
13694 * gui.c (copy_gui_item_tree): new function.
13695 (copy_gui_item): new function.
13696 (gui_item_id_hash): revert to standard hash.
13697 (gui_item_hash): ditto.
13698 (gui_item_hash_internal): deleted.
13699 (mark_gui_item): mark value.
13700 (gui_item_add_keyval_pair): add value.
13701 (gui_item_init): ditto.
13702 (gui_add_item_keywords_to_plist): ditto.
13703 (gui_item_equal): ditto.
13704 (syms_of_gui): add Q_value.
13706 * glyphs-x.c (x_progress_gauge_update): use pending items and
13707 value for setting the state.
13708 (x_update_widget): don't set items from pending here.
13710 * glyphs-widget.c (update_widget): update items here.
13711 (progress_gauge_set_property): use items for storing value. Put
13712 new value in pending items.
13714 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
13715 items for new value. Convert percent -> value.
13716 (mswindows_tab_control_update): don't update items here.
13718 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
13719 (update_subwindow): ditto.
13720 (image_instance_changed): new function. Compare hash values and
13721 past and present widget items.
13722 (image_instantiate): We more careful about where we instantiate
13724 (image_instantiate): add error checking.
13726 * gutter.c (syms_of_gutter): use -hook.
13728 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
13730 * console-tty.c (Fset_console_tty_input_coding_system): Use
13732 (Fset_console_tty_output_coding_system): Use Qterminal.
13733 (tty_init_console): Use Qkeyboard and Qterminal.
13735 2000-03-21 Ben Wing <ben@xemacs.org>
13737 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
13738 From Mike Alexander <mta@arbortext.com>.
13740 2000-03-21 Ben Wing <ben@xemacs.org>
13742 * event-msw.c (mswindows_need_event): Horrible kludge to fix
13743 process brokenness. Proper implementation to come.
13745 Rename call-process-internal to old-call-process-internal.
13746 New impl. in process.el.
13748 2000-03-21 Martin Buchholz <martin@xemacs.org>
13750 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
13752 2000-03-20 Andy Piper <andy@xemacs.org>
13754 * glyphs.c (full_list_hash): make hashes of the same elements in
13755 different orders return different values.
13757 2000-03-20 Martin Buchholz <martin@xemacs.org>
13759 * XEmacs 21.2.32 is released.
13761 2000-03-20 Martin Buchholz <martin@xemacs.org>
13763 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
13764 (DFC_MALLOC_USE_CONVERTED_DATA):
13765 Add aliasing-safe casts to allow use with char* or unsigned char*
13768 * eldap.c (Fldap_open):
13769 (Fldap_search_basic):
13772 Make C++-compilable.
13773 Make sure GCPRO'ed variables are initialized.
13774 Use temp variables to avoid repeated calls to Flength.
13776 2000-03-16 Martin Buchholz <martin@xemacs.org>
13779 Make sure PATH_MAX is always defined.
13780 Include limits.h for PATH_MAX.
13781 Deprecate use of MAXPATHLEN.
13783 2000-03-10 Martin Buchholz <martin@xemacs.org>
13785 * emacs.c: Add reinit_vars_of_fileio.
13786 * symsinit.h: Add reinit_vars_of_fileio.
13787 * fileio.c (reinit_vars_of_fileio): New.
13788 * fileio.c (Fmake_temp_name):
13789 Initialize temp_name random number from microseconds to make
13790 collisions even less likely. Initialize always at process startup
13791 time. (make-temp-name) used to return the same file name twice in
13793 Random stylistic fiddling.
13796 2000-03-20 Andy Piper <andy@xemacs.org>
13798 * glyphs.c (image_instantiate): allow text glyphs to be
13799 instantiated in the minibuffer window.
13801 2000-03-19 Andy Piper <andy@xemacs.org>
13803 * glyphs.c (image_instance_hash): be careful about which items we
13806 * glyphs-widget.c (tab_control_set_property): record into pending
13807 items rather than the actual items.
13809 * glyphs-x.c (x_update_widget): use pending items to update with.
13811 * glyphs-msw.c (mswindows_tab_control_update): use pending items
13814 * glyphs.c (mark_image_instance): mark pending items.
13816 * window.c (Fset_window_configuration): record the buffer.
13817 (Fselect_window): totally revert previous change which breaks many
13820 2000-03-18 Andy Piper <andy@xemacs.org>
13822 * glyphs-msw.c (mswindows_tab_control_update): force selected
13825 * glyphs.c (image_instantiate): don't allow the minibuffer as a
13826 window domain cache, otherwise we get inconsistencies at
13827 startup. There is something fishy at startup which can lead to the
13828 minibuffer being the selected window when the gutter content is
13831 * gui.c (parse_gui_item_tree_list): add probably unnecessary
13833 (parse_gui_item_tree_children): ditto.
13834 (parse_gui_item_tree_item): ditto.
13836 * glyphs.c (Fupdate_widget_instances): return something.
13838 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
13840 * window.c (Fselect_window): Undo 2000-03-17 change.
13842 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
13844 * postgresql.c (Fpq_setenv): Remove this turkey when linking
13845 against v7.0 libraries. Insta-coredump city until the postgres
13848 2000-03-17 Andy Piper <andy@xemacs.org>
13850 * faces.c (complex_vars_of_faces): don't give the widget face an
13851 inherited background pixmap.
13853 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
13856 * event-stream.c (Fdispatch_non_command_events): return something.
13858 * gutter.c (output_gutter): use widget face.
13859 (clear_gutter): ditto.
13861 * NEWS: adjust again.
13863 * window.c (Fselect_window): make sure this runs to completion to
13864 avoid oddities with Fset_window_configuration.
13865 (Fcurrent_window_configuration): in general do not save the
13866 minibuffer as the selected window.
13868 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
13870 2000-03-16 Olivier Galibert <galibert@pobox.com>
13872 * emacs.c (Frunning_temacs_p): Revert previous patch.
13873 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
13875 2000-03-16 Andy Piper <andy@xemacs.org>
13877 * glyphs-x.c (x_tab_control_update): if no widget values then
13880 * NEWS: update for new features.
13882 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
13883 synthetic event to the native system.
13884 (reinit_vars_of_event_Xt): set force_event_pending to
13885 emacs_Xt_force_event_pending.
13887 * events.h (struct event_stream): add force_event_pending.
13889 * specifier.c (recompute_one_cached_specifier_in_window): add
13892 * redisplay.c (redisplay_frame): don't call
13893 update_frame_subwindows. Reset subwindow cachels when
13894 subwindows_changed, removing this was an optimization too far.
13896 * redisplay-output.c (compare_runes): reorganize so that we catch
13897 glyph changes when we want them. Set optimize_output when this
13898 would help layouts.
13899 (redisplay_output_layout): remove frame_really_changed, use
13900 optimize_output instead.
13902 * redisplay-msw.c (mswindows_output_display_block): reset
13903 optimize_output after outputting a glyph.
13904 * redisplay-x.c (x_output_display_block): ditto.
13905 * redisplay-tty.c (tty_output_display_block): ditto.
13907 * gutter.c: (specifier_vars_of_gutter): use new spec changed
13909 (gutter_specs_changed): do specific gutter positions.
13910 (top_gutter_specs_changed): new function. Only update the
13911 specified gutter specs.
13912 (bottom_gutter_specs_changed): ditto.
13913 (left_gutter_specs_changed): ditto.
13914 (right_gutter_specs_changed): ditto.
13916 * gui.c (gui_item_hash_internal): new function, does a real hash.
13917 (gui_item_id_hash): use it.
13918 (gui_item_hash): hash the eval'ed gui_item.
13920 * gui-x.c (popup_selection_callback): send an eval event to call
13921 Fupdate_widget_instances.
13923 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
13924 to call Fupdate_widget_instances.
13926 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
13927 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
13929 * glyphs.c: (update_frame_subwindows): deleted.
13930 (Fupdate_widget_instances): new function for updating the dirty
13931 state of widgets that might have changed.
13932 (syms_of_glyphs): add Qupdate_widget_instances.
13933 (full_list_hash): hash a list completely.
13934 (image_instance_hash): use it for items and properties.
13936 * frame-msw.c (mswindows_size_frame_internal): remove unused
13939 * faces.h (struct face_cachel): fix comment.
13941 * event-stream.c (Fdispatch_non_command_events): new
13942 function. Process non-command events, forcing an event cycle
13944 (syms_of_event_stream): declare.
13945 (event_stream_force_event_pending): new function. Force an event
13946 on the native event queue so that an event cycle will occur next
13950 (struct ntpipe_shove_stream):
13951 (mswindows_enqueue_dispatch_event):
13952 (mswindows_dequeue_dispatch_event):
13953 (mswindows_cancel_dispatch_event):
13954 (mswindows_pump_outstanding_events):
13955 (mswindows_drain_windows_queue):
13956 (mswindows_handle_paint):
13957 (mswindows_wnd_proc):
13958 (mswindows_key_to_emacs_keysym):
13959 (get_process_input_waitable):
13960 (emacs_mswindows_delete_stream_pair): re-indent file.
13961 (mswindows_need_event): do not process further fds if the windows
13962 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
13963 fixes the 100% cpu problem.
13964 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
13966 2000-03-15 Olivier Galibert <galibert@pobox.com>
13972 * emacs.c: Moved dump file searching to dumper.c.
13973 (Frunning_temacs_p): Fixed.
13975 * alloc.c: Moved everything pdump-related to dumper.c. Removed
13976 last_lrecord_type_index_assigned.
13978 2000-02-20 Olivier Galibert <galibert@pobox.com>
13980 * symsinit.h: Added reinit parameter to init_console_stream
13983 * lisp.h: Added file parameter to pdump_load declaration.
13985 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
13986 support. Added dump file searching.
13988 * config.h.in: Added EMACS_PROGNAME.
13990 * console-stream.c (init_console_stream): Fix reinitialisation
13991 when running from temacs.
13993 * alloc.c (pdump): Add id support.
13994 (pdump_load): Add file parameter and signature/id support.
13996 * Makefile.in.in: Add full pdump support.
13998 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
14000 * postgresql.c: Update documentation to reflect latest code
14002 (print_result): Show tuple counts in printed representation when
14004 (Fpq_put_nbytes): MULE-ize.
14005 (Fpq_get_line_async): Ditto.
14007 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
14009 * postgresql.c (Fpq_lo_import): Fix return value.
14010 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
14012 2000-03-13 Ben Wing <ben@xemacs.org>
14014 * alloc.c (pdump_load):
14015 Fix compile warning under mswin.
14017 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
14019 * postgresql.c: Mule-ization, bug fixes.
14020 Use PG_CODING to encapsulate coding system name changes.
14021 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
14022 (pg-coding-system): Create.
14024 (Fpq_conn_defaults): Mule-ize.
14025 (Fpq_connectdb): Mule-ize & bug fix.
14026 (Fpq_connect_start): Mule-ize.
14027 (Fpq_set_client_encoding): Mule-ize.
14028 (Fpq_finish): Document `DEAD' connection status.
14029 (Fpq_clear): Ditto.
14030 (Fpq_pgconn): Mule-ize.
14031 (Fpq_exec): Mule-ize & bug fix.
14032 (Fpq_send_query): Ditto.
14033 (Fpq_get_result): Ditto.
14034 (Fpq_res_status): Mule-ize.
14035 (Fpq_result_error_message): Mule-ize.
14036 (Fpq_ntuples): fix comments.
14037 (Fpq_fname): Mule-ize.
14038 (Fpq_fnumber): Mule-ize.
14039 (Fpq_ftype): fix comments.
14040 (Fpq_get_value): Mule-ize.
14041 (Fpq_cmd_status): Ditto.
14042 (Fpq_cmd_tuples): Ditto.
14043 (Fpq_oid_value): Ditto.
14044 (Fpq_notifies): Ditto.
14045 (Fpq_lo_import): Ditto.
14046 (Fpq_lo_export): Ditto.
14047 (Fpq_get_line): Ditto.
14048 (Fpq_put_line): Mule-ize and bug fix.
14049 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
14051 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
14053 * postgresql.c (vars_of_postgresql): Mule-ize.
14054 (Fpq_conn_defaults): Ditto.
14056 2000-03-12 Ben Wing <ben@xemacs.org>
14058 * alloc.c (Fmake_byte_code):
14059 * alloc.c (debug_string_purity_print):
14060 * alloc.c (pdump_backtrace):
14061 * alloc.c (pdump_get_indirect_count):
14062 * alloc.c (pdump_register_sub):
14063 * alloc.c (pdump_register_object):
14064 * alloc.c (pdump_register_struct):
14065 * alloc.c (pdump_dump_data):
14066 * alloc.c (pdump_reloc_one):
14070 * console-msw.c (GetConsoleHwnd):
14071 * console-msw.c (msw_hide_console):
14072 * console-msw.c (msw_show_console):
14073 * console-msw.c (msw_ensure_console_buffered):
14074 * console-msw.c (msw_output_console_string):
14075 * console-msw.c (console_type_create_mswindows):
14077 a) Added functions to manipulate the console window for use with
14080 b) Added support for writing text to the console, which is now
14081 used under Windows when xemacs is not being run non-interactively,
14082 to write text that would otherwise be destined for stdout because
14083 under these circumstances, text written to stdout tends to
14084 disappear and not be seen.
14088 * event-Xt.c (x_event_to_emacs_event):
14089 * event-Xt.c (describe_event_window):
14090 * events-mod.h (XEMACS_MOD_CONTROL):
14092 * events.c (Fmake_event):
14093 * events.c (character_to_event):
14094 * events.c (event_to_character):
14095 * events.c (format_event_object):
14096 * events.c (Fevent_modifiers):
14098 * events.h (struct key_data):
14099 * events.h (struct button_data):
14100 * events.h (struct misc_user_data):
14101 * frame-x.c (Fcde_start_drag_internal):
14102 * frame-x.c (Foffix_start_drag_internal):
14103 * gpmevent.c (Freceive_gpm_event):
14105 * keymap.c (bucky_sym_to_bucky_bit):
14106 * keymap.c (control_meta_superify):
14107 * keymap.c (make_key_description):
14108 * keymap.c (keymap_lookup_directly):
14109 * keymap.c (create_bucky_submap):
14110 * keymap.c (keymap_store):
14111 * keymap.c (define_key_check_and_coerce_keysym):
14112 * keymap.c (define_key_parser):
14113 * keymap.c (define_key_alternate_name):
14114 * keymap.c (Fdefine_key):
14115 * keymap.c (raw_lookup_key_mapper):
14116 * keymap.c (struct map_keymap_unsorted_closure):
14117 * keymap.c (map_keymap_unsorted_mapper):
14118 * keymap.c (map_keymap_sort_predicate):
14119 * keymap.c (map_keymap_sorted):
14120 * keymap.c (accessible_keymaps_mapper_1):
14121 * keymap.c (where_is_recursive_mapper):
14122 * keymap.c (describe_map_mapper):
14123 * keymap.c (describe_map_sort_predicate):
14124 * keymap.c (describe_map):
14125 * keymap.c (complex_vars_of_keymap):
14126 And a number of other files, the key modifier preprocessor
14127 constants that xemacs uses have names that conflict with constants
14128 defined under MS Windows for other purposes, so they were renamed
14129 to begin with the prefix XEMACS_. The variables that hold such
14130 modifiers were changed to consistently be of type int to fix
14131 various compile warnings.
14133 * console.c (complex_vars_of_console):
14136 * device-msw.c (mswindows_finish_init_device):
14137 * device-msw.c (msw_get_workspace_coords):
14138 * device-msw.c (mswindows_device_system_metrics):
14139 and various other files, added support for a new
14140 device property called offset-workspace which returns the position
14141 of the upper left corner of the workspace area and goes along with
14142 the existing size-workspace property.
14145 * dialog-msw.c (push_bufbyte_string_as_unicode):
14146 * dialog-msw.c (mswindows_popup_dialog_box):
14147 Added support for XEmacs-style accelerator specifications in
14148 button text. Note: I didn't add support for this under X Windows,
14149 and somebody needs to do this.
14152 * dialog.c (Fpopup_dialog_box):
14153 Documented the support for accelerators that was just mentioned.
14155 editfns.c (get_home_directory): Changed behavior under Windows
14156 when HOME not defined; former behavior was irretrievably broken.
14159 * emacs.c (main_1):
14161 * minibuf.c (clear_echo_area_internal):
14162 * minibuf.c (echo_area_append):
14164 * print.c (std_handle_out_external):
14165 * print.c (std_handle_out_va):
14167 * print.c (write_string_to_stdio_stream):
14168 * print.c (output_string):
14169 * print.c (debug_print):
14170 * print.c (debug_backtrace):
14171 * print.c (debug_short_backtrace):
14172 Cleaned up the code that prints text to stdout so that this can be
14173 changed to output into a console window instead under MS Windows,
14174 as described above.
14177 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
14178 * eval.c (internal_catch):
14179 * eval.c (unwind_to_catch):
14180 * eval.c (throw_or_bomb_out):
14181 * eval.c (condition_case_1):
14182 * eval.c (signal_1):
14183 * eval.c (check_error_state_sanity):
14184 * eval.c (call_with_suspended_errors_1):
14185 * eval.c (call_with_suspended_errors):
14186 * eval.c (reinit_vars_of_eval):
14187 Added code to catch throw loops and check for a pesky bug that may
14191 * event-msw.c (key_needs_default_processing_p):
14192 * event-msw.c (mswindows_wnd_proc):
14193 * event-msw.c (mswindows_modifier_state):
14194 * event-msw.c (emacs_mswindows_quit_p):
14195 * event-msw.c (vars_of_event_mswindows):
14196 a) Added support for using the alt key to select menu items as is
14197 standard under MS Windows. This is controlled using the variable
14198 menu-accelerator-enabled, just like under X Windows. There is an
14199 option on the options menu to turn this support on. I really
14200 think that it should be on by default under Windows, but I'm not
14201 going to make this change yet.
14203 b) Added support for dynamic display size changes under Windows.
14206 * event-stream.c (maybe_echo_keys):
14207 * event-stream.c (Fnext_event):
14208 * event-stream.c (command_builder_find_leaf):
14209 * event-stream.c (lookup_command_event):
14210 * event-stream.c (execute_command_event):
14211 * event-stream.c (pre_command_hook):
14212 * event-stream.c (post_command_hook):
14213 * event-stream.c (syms_of_event_stream):
14214 * event-stream.c (vars_of_event_stream):
14215 * event-stream.c (complex_vars_of_event_stream):
14216 * events.h (struct command_builder):
14218 a) Tried to clean up a little bit the horribly written x-specific
14219 accelerator code that crept into this file. I moved this code
14220 into menubar-x.c where it belongs. I also needed to move the
14221 command builder structure into the file events.h because it is
14222 accessed directly by this accelerator code. What I didn't do, but
14223 which should be done at some point, is to properly abstract this
14224 code using device methods instead of the kludgy way that it
14225 currently hooks into the event code.
14227 b) Added the lisp variables this-command-properties and
14228 last-command- properties, which should be used to synchronize two
14229 adjacent commands in preference to playing games with the variable
14230 this-command, which is typically what happens.
14232 c) Added some slightly nasty code to hook into the lisp support
14233 for shifted- motion-key selection. This is actually necessary for
14234 somewhat complicated reasons, which are described in
14235 simple.el. (NB: I think the proper thing would be to have the code
14236 that calls the pre and post command hooks also call out to generic
14237 lisp functions in simple.el, where all built-in stuff could be
14238 added. I will think about this more.)
14240 * event-unixoid.c (poll_fds_for_input):
14241 * lread.c (readchar):
14242 * redisplay-tty.c (tty_clear_frame):
14243 * redisplay-x.c (x_get_gc):
14244 * signal.c (interrupt_signal):
14245 And a whole bunch of other files: fixed up places that printed
14246 directly to stderr to instead call the function stderr_out so that
14247 the changes I made under Windows work correctly.
14249 * filemode.c (mode_string):
14253 * frame-msw.c (mswindows_size_frame_internal):
14254 Fixed the computation of frame size and position to keep the frame
14255 within the workspace area, rather than within the physical
14256 dimensions of the screen, so that the frame doesn't overlap window
14257 manager decorations, such as the start menu and toolbar, typically
14258 at the bottom of the screen.
14260 * frame.c (vars_of_frame):
14261 Changed the default frame title format under MS Windows to consist
14262 of buffername-XEmacs, which is standard under MS Windows. I think
14263 it might be a good idea to change this everywhere because I think
14264 it is superior to the current frame title format, but this is the
14265 kind of change that is likely to cause some people to get annoyed,
14266 so I'm not making it.
14268 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
14270 * gui-msw.c (mswindows_handle_gui_wm_command):
14271 Fixed compile warnings.
14274 * gui-x.c (strdup_and_add_accel):
14275 * gui-x.c (button_item_to_widget_value):
14277 Added code to automatically put an accelerator onto the beginning
14278 of menu items that don't have one as is now the standard, and is
14279 described more later. Also fixed things so that the menu item
14280 name can be an evaluated expression, again a new standard.
14283 * gui.c (gui_item_add_keyval_pair):
14284 * gui.c (make_gui_item_from_keywords_internal):
14285 * gui.c (gui_add_item_keywords_to_plist):
14286 * gui.c (gui_item_accelerator):
14287 * gui.c (gui_name_accelerator):
14288 * gui.c (gui_item_included_p):
14289 * gui.c (gui_item_display_flush_left):
14290 * gui.c (gui_item_display_flush_right):
14291 * gui.c (parse_gui_item_tree_item):
14292 * gui.c (parse_gui_item_tree_children):
14293 * gui.c (parse_gui_item_tree_list):
14294 Mule-ized. Cleanup. GCPRO addition.
14296 * line-number.c (buffer_line_number):
14298 * lisp.h (EMACS_INT_MAX):
14299 Added the manifest constant EMACS_INT_MIN corresponding to the
14300 existing constant EMACS_INT_MAX. This is partially to fix compile
14301 warnings under Windows, and partly for cleanliness.
14304 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
14305 * menubar-msw.c (msw_translate_menu_or_dialog_item):
14306 * menubar-msw.c (displayable_menu_item):
14307 * menubar-msw.c (populate_menu_add_item):
14308 * menubar-msw.c (populate_or_checksum_helper):
14309 * menubar-msw.c (populate_menu):
14310 * menubar-msw.c (update_frame_menubar_maybe):
14311 * menubar-msw.c (prune_menubar):
14312 * menubar-msw.c (msw_char_is_accelerator):
14313 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
14314 * menubar-msw.c (mswindows_handle_wm_command):
14315 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
14316 * menubar-msw.c (mswindows_handle_wm_initmenu):
14317 * menubar-msw.c (mswindows_update_frame_menubars):
14318 * menubar-msw.c (mswindows_free_frame_menubars):
14319 * menubar-msw.c (mswindows_popup_menu):
14320 Fixed a bug in handling accelerators where an extra character
14321 would be displayed in the menu item. Also generalized the
14322 function displayable_menu_item because it is now used by the
14323 dialog box code as well. And finally, added code in the functions
14324 that create the menubar to extract a list of accelerators for the
14325 top level menubar, which is used in the event code to determine
14326 whether a particular alt-key combination should be used to invoke
14327 a menu item, or should be passed through to access the standard
14328 XEmacs keymap binding for this key combination.
14330 Much needed GCPROing.
14333 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
14334 * menubar-x.c (menu_item_descriptor_to_widget_value):
14335 * menubar-x.c (restore_in_menu_callback):
14336 * menubar-x.c (x_popup_menu):
14337 * menubar-x.c (menu_move_up):
14338 * menubar-x.c (menu_move_down):
14339 * menubar-x.c (menu_move_left):
14340 * menubar-x.c (menu_move_right):
14341 * menubar-x.c (menu_select_item):
14342 * menubar-x.c (command_builder_operate_menu_accelerator):
14343 * menubar-x.c (menu_accelerator_junk_on_error):
14344 * menubar-x.c (command_builder_find_menu_accelerator):
14345 * menubar-x.c (Faccelerate_menu):
14347 Moved a whole bunch of code here that was previously in
14348 event-stream.c as described above. There is also code connected
14349 to the new standard of adding an accelerator to the beginning of
14350 menu items that don't have one as described above and below.
14353 * menubar.c (menu_parse_submenu_keywords):
14354 * menubar.c (Fmenu_find_real_submenu):
14355 * menubar.c (Fnormalize_menu_item_name):
14356 * menubar.c (syms_of_menubar):
14357 * menubar.c (vars_of_menubar):
14358 * menubar.c (complex_vars_of_menubar):
14360 a) Cleaned up a bunch of documentation and improved it.
14362 b) XEmacs now automatically adds an accelerator onto the beginning
14363 of any menu items that don't have one. I did this because there
14364 will inevitably be some menu items on the main menubar that don't
14365 have accelerators on them because the package that adds that
14366 particular menu item hasn't yet been fixed up to have accelerators
14367 in them and it looked rather strange to have some items with and
14368 some items without accelerators, especially since even in items
14369 without accelerators, you can, at least under windows, still
14370 access the item through an accelerator corresponding to the first
14371 character in the item's name. If people don't like this behavior,
14372 I can add a variable to turn it off optionally, but I'm not sure
14373 this is a good idea because we really do need to have accelerators
14374 on all of the menu items, and if a package doesn't like the
14375 accelerators being put on the first character, then it should put
14376 the accelerators where they belong.
14378 c) I made a behavior change, which is that the descriptor that
14379 specifies the text of the menu item, which formerly was just a
14380 string, can now also be an evaluated expression. This makes this
14381 descriptor parallel with all of the others, which could also be
14382 evaluated expressions. This also obviates the need for the
14383 keyword :label, which was previously listed in the documentation
14384 as unimplemented, and which was for the same purpose.
14389 * ntproc.c (new_child):
14390 * ntproc.c (sys_spawnve):
14391 * ntproc.c (find_child_console):
14392 * ntproc.c (sys_kill):
14393 Fixed compile warnings. By the way, this file should really go
14394 away entirely, and this will happen as soon as Kirill makes his
14395 final round of process cleanups, which affect the function
14399 * process-nt.c (struct nt_process_data):
14400 * process-nt.c (find_process_from_pid):
14401 * process-nt.c (send_signal_the_nt_way):
14402 * process-nt.c (enable_child_signals):
14403 * process-nt.c (find_child_console):
14404 * process-nt.c (send_signal_the_95_way):
14405 * process-nt.c (nt_finalize_process_data):
14406 * process-nt.c (ensure_console_window_exists):
14407 * process-nt.c (nt_create_process):
14408 * process-nt.c (nt_kill_child_process):
14409 * process-nt.c (nt_kill_process_by_pid):
14410 * process-nt.c (nt_open_network_stream):
14411 * process-nt.c (vars_of_process_nt):
14412 Copied over code from Emacs 20.5 to correctly send signals to sub-
14413 processes under Windows 95. Also added code to automatically
14414 create and hide console window when a sub-process is created under
14415 Windows 95, which obviates the need for the separate runemacs.exe
14416 executable, and finally implemented some variables that were
14417 implemented in Emacs 20.5, but previously not in XEmacs. These
14418 include mswindows- start-process-share-console and
14419 mswindows-start-process-inherit-error-mode. (Both of these only
14420 apply to Windows 95.)
14422 * regex.c (regex_compile): Fixed a compile warning.
14425 * select-msw.c (mswindows_own_selection):
14426 * select-msw.c (mswindows_get_foreign_selection):
14427 * select-msw.c (mswindows_disown_selection):
14428 * select-msw.c (console_type_create_select_mswindows):
14429 * select-msw.c (syms_of_select_mswindows):
14430 Cleaned up the file and implemented the device method
14431 selection_exists_p, which had accidentally been left out. Also
14432 removed four lisp functions that were remnants from before the
14433 time when the selection code was properly device abstracted.
14434 These functions are no longer needed because there are generic
14435 equivalents, and because they were added recently and don't exist
14436 in FSF Emacs, I don't think there's any problem with just deleting
14440 * sysdep.c (sys_subshell):
14441 Fixed a compile warning, although in this case there's probably
14442 something wrong with this code, and it ought to be looked into
14443 more thoroughly by somebody who understands it.
14446 * window.c (Fwindow_text_area_height):
14447 * window.c (Fwindow_width):
14448 * window.c (Fwindow_full_width):
14449 * window.c (Fwindow_pixel_width):
14450 * window.c (debug_print_window):
14451 * window.c (syms_of_window):
14452 Added functions window-text-area-height and window-full-width,
14453 which are functions for returning various width and height
14454 characteristics of a window. (One of these functions is necessary
14455 for making the file dialog box work correctly, and the other one
14456 was added for completeness.) Also added a table to the
14457 documentation for window-height which describes the entire scheme
14458 for accessing width and height characteristics of a window.
14460 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14462 * nt.c (fstat): Added a comment for another problem with
14463 non-encapsulated [f]stat(), reported by Adrian Aichner
14464 <aichner@ecf.teradyne.com>.
14466 2000-03-11 Andy Piper <andy@xemacs.org>
14468 * window.c (make_dummy_parent): initialize subwindow instance
14470 (Fset_window_configuration): zero extent_modiff.
14472 2000-03-10 Andy Piper <andy@xemacs.org>
14474 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
14475 more changes can be triggered.
14476 (Fredisplay_frame): ditto.
14477 (Fredraw_device): ditto.
14478 (Fredisplay_device): ditto.
14479 (redisplay_frame): make non-static.
14480 (redisplay_frame): call update_frame_gutter_geometry outside of
14483 * gutter.h: declare update_frame_gutter_geometry.
14485 * redisplay.h: declare redisplay_frame.
14487 * gutter.c (update_frame_gutter_geometry): move geometry changes
14488 in update_frame_gutters here. Geometry changes can only occur
14489 outside of redisplay.
14490 (update_frame_gutters): remove geometry change code.
14491 (Fredisplay_gutter_area): make sure that we are in display when we
14492 update and that we have flushed any size changes.
14494 2000-03-11 Andy Piper <andy@xemacs.org>
14496 * alloc.c (pdump_dump_data): remove i & count shadows.
14498 2000-02-27 Mike Alexander <mta@arbortext.com>
14500 * sysdep.h: Declare pdump_read_file
14502 * sysdep.c (pdump_read_file): New function
14504 * alloc.c (pdump_load): Call pdump_read_file to get the portable
14507 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
14509 * lrecord.h: add `lrecord_type_pgsetenv'.
14511 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
14513 * symsinit.h: declare (vars|syms)_of* functions.
14514 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
14516 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
14518 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
14520 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
14523 * emacs.c (main_1): Call postgres initialization code.
14525 * postgresql.h: New file. PostgreSQL RDBMS support.
14526 * postgresql.c: New file.
14528 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
14530 * redisplay-output.c (redisplay_output_display_block): Disable
14533 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14535 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
14536 (Fcanna_henkan_next): Ditto.
14537 (Fcanna_bunsetu_henkou): Ditto.
14538 (Fcanna_henkan_kakutei): Ditto.
14539 (Fcanna_henkan_end): Ditto.
14540 (Fcanna_henkan_quit): Ditto.
14541 (Fcanna_henkan_next): Set retun value correctly.
14542 (c2mu): Use unsigned char instead of signed char.
14544 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14546 * emacs.c (main_1): Always call syms_of_gui.
14547 * inline.c: include gui.h
14549 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14551 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
14552 converted to Lisp_Object.
14553 (Qtop_bottom): New variable.
14554 (syms_of_redisplay): Initialize it.
14555 * redisplay.h (Vvisible_bell): Ditto.
14556 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
14557 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
14558 only flash top and bottom.
14560 2000-03-08 Andy Piper <andy@xemacs.org>
14562 * buffer.c (Frename_buffer): record new buffer name the right way.
14564 2000-03-08 Andy Piper <andy@xemacs.org>
14566 * glyphs.c (update_subwindow): increase hash depth so that widget
14567 items get picked up properly.
14569 * redisplay-output.c (compare_runes): increase hash depth so that
14570 widget items get picked up properly.
14572 2000-03-08 Andy Piper <andy@xemacs.org>
14574 * gutter.c (output_gutter): add some debug.
14576 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
14577 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
14578 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
14580 * redisplay-output.c (compare_runes): use display_hash to
14581 determine if glyphs really are not the same.
14583 * glyphs.c (update_subwindow): check display_hash to see if
14584 anything really needs to be updated. If not then do
14585 nothing. Record the display_hash after updating.
14586 (image_instance_equal): compare the image_instance face also.
14588 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
14590 * redisplay.h: Fix comment style.
14592 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
14594 * consle-msw.h (struct mswindows_frame):
14595 Added new member paint_pending to indicate whether a WM_PAINT
14596 magic event has been queued for this frame.
14598 * event-msw.c (mswindows_drain_windows_queue):
14599 Don't queue a WM_PAINT magic event if one is already queued.
14600 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
14602 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
14604 2000-03-07 Didier Verna <didier@xemacs.org>
14606 * dired.c: #include `regex.h' after `sysfile.h'.
14608 2000-03-06 Martin Buchholz <martin@xemacs.org>
14610 * sound.c (init_nas_sound): Fix compiler warning.
14612 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
14614 (MARK_STRUCT_AS_FREE):
14615 (MARK_STRUCT_AS_NOT_FREE):
14616 Make `gcc -fstrict-aliasing' work properly.
14618 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
14620 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
14621 (mswindows_delete_device): Call CoUnnitialize().
14623 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
14625 2000-02-25 <CraigL@DyCon.com>
14627 * process-nt.c: MinGW now has <shellapi.h>, but still needs
14630 * sysdep.c: This extern declaration for environ prevents MinGW
14631 from finding the variable in CRTDLL.DLL.
14633 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
14635 (SHGFI_EXETYPE): ..
14636 (WM_MOUSEWHEEL): ..
14637 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
14639 (MMRESULT): Removed, now defined in cygwin's windows headers.
14641 (uid_t,gid_t,pid_t,ssize_t): ..
14642 (_timeb): Removed, MinGW defines both _timeb and timeb.
14643 (HAVE_H_ERRNO): Added.
14644 (HAVE_TZNAME): Added, configure is not detecting this.
14646 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
14648 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
14649 * syntax.c (syntax_match): Use it.
14651 * cmds.c: Import auto-fill-chars from FSF Emacs.
14652 (Vauto_fill_chars): New variables.
14653 (internal_self_insert): Check Vauto_fill_chars.
14655 Declare auto-fill-chars as a Lisp variable and initialize it.
14657 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
14659 * fileio.c (Fmake_symbolic_link):
14661 Run handlers even if local machine doesn't have symlinks.
14663 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
14665 * event-msw.c (mswindows_drain_windows_queue):
14666 Don't generate paint magic events for non-XEmacs frames.
14668 2000-03-05 Andy Piper <andy@xemacs.org>
14670 * redisplay.c (redisplay_frame): generate_displayable_area and
14671 friends assumes that we are not in GC, we therefore have to make
14672 sure that this doesn't happen.
14674 * gutter.c (calculate_gutter_size): generate_displayable_area
14675 assumes that we are not in GC, we therefore have to make sure that
14676 this doesn't happen.
14678 2000-03-05 Martin Buchholz <martin@xemacs.org>
14680 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
14682 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14684 * redisplay.c (regenerate_window): Make sure we set a sane value
14685 for end_pos even if we jump out of the loop.
14686 (regenerate_window): Answer Ben's question :-).
14687 (start_end_of_last_line): Add may_error argument.
14688 (start_of_last_line):
14689 (end_of_last_line): Pass may_error = 0.
14690 (end_of_last_line_may_error): New function.
14691 (pixel_to_glyph_translation): Use it, so we don't crash in
14694 2000-03-04 Andy Piper <andy@xemacs.org>
14696 * window.h (struct window): add gutter_extent_modiff.
14698 * window.c (allocate_window): zero out gutter_extent_modiff.
14700 * redisplay.h: declare sync_display_line_structs.
14702 * redisplay.c (add_glyph_rune): add a better comment.
14704 * redisplay-output.c (sync_display_line_structs): made non-static.
14705 (compare_runes): remove unneccesary glyph cachel access.
14707 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
14709 * gutter.c (output_gutter): don't output the gutter if extent
14710 changes only involve extents in buffers. use 4 sets of display
14712 (gutter_extent_signal_changed_region_maybe): new function. Mark
14713 extents in gutters as changed.
14714 (update_frame_gutters): use 4 sets of display lines.
14715 (reset_gutter_display_lines): ditto.
14716 (free_frame_gutters): ditto.
14717 (redraw_exposed_gutter): force output of gutters.
14719 * frame.h (struct frame): add 4 sets of gutter display lines.
14721 * extents.c: (extent_changed_for_redisplay): signal changes to
14722 extents in strings in the gutter as well as extents in buffers.
14724 2000-03-02 Andy Piper <andy@xemacs.org>
14726 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
14728 * frame.c (Fmake_frame): make sure the gutters get initialized
14729 after the frame is visible.
14730 (set_frame_selected_window): re-arrange compilation macros a
14732 (change_frame_size_1): mark gutters changed.
14734 * device.c (Fset_device_class): mark gutters changed.
14736 2000-03-01 Andy Piper <andy@xemacs.org>
14738 * window.c (window_top_frame_gutter_height): deleted.
14739 (window_bottom_frame_gutter_height): ditto.
14740 (window_left_frame_gutter_height): ditto.
14741 (window_right_frame_gutter_height): ditto.
14742 (window_top_gutter_height): don't use them.
14743 (window_bottom_gutter_height): ditto.
14744 (window_left_gutter_width): ditto.
14745 (window_right_gutter_width): ditto.
14746 (Fsplit_window): ditto.
14747 (Fwindow_pixel_edges): don't use border dimensions here.
14749 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
14750 (update_scrollbar_instance): ditto.
14752 * redisplay.c (generate_modeline): don't take gutters into account.
14753 (generate_modeline): ditto.
14754 (redisplay_frame): small gutter display optimization.
14756 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
14758 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
14759 gutters into account.
14761 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
14762 for window position and type.
14764 * gutter.c (get_gutter_coords): fix for frame gutters.
14765 (update_frame_gutters): update frame geometry if the gutters have
14767 (init_frame_gutters): record current gutter geometries.
14769 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
14771 (mswindows_widget_instantiate): ditto.
14773 * frame.h (struct frame): add current_gutter_bounds.
14775 * frame.c (change_frame_size_1): position window and minibuffer
14776 appropriately taking into account the frame gutters.
14778 * frame-x.c: (x_initialize_frame_size): take into account the
14781 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
14783 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
14785 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
14787 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
14789 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14791 * file-coding.c (reset_decoding_stream): Clear previous
14792 detection state when autodetect.
14794 2000-02-29 Didier Verna <didier@xemacs.org>
14796 * extents.c (set_extent_glyph_1): don't require extents to be
14799 2000-02-27 Andy Piper <andy@xemacs.org>
14801 * gutter.c (Fset_default_gutter_position): don't default left and
14802 right gutter visibility to t.
14803 (Fset_default_gutter_position): run
14804 default-gutter-position-changed-hook.
14805 (syms_of_gutter): add default-gutter-position-changed-hook.
14807 2000-02-26 Andy Piper <andy@xemacs.org>
14809 * specifier.c (Fmake_specifier): add gutter references.
14811 * gutter.h (RAW_WINDOW_GUTTER): new macro.
14813 * lisp.h: declare Fvalid_plist_p.
14815 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
14817 (default_gutter_visible_p_changed_in_window): invalidate gutter as
14818 well as its visibility so that it gets reconstructed.
14819 (construct_window_gutter_spec): new function. Construct a string
14820 to be displayed in the gutter from a plist of strings. Take care
14821 to only use elements that are declared as visible.
14822 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
14824 (gutter_validate): allow plists of strings in the specifier.
14825 (gutter_specs_changed): construct the real_gutter from the gutter
14826 specs using construct_window_gutter_spec.
14827 (gutter_visible_validate): gutter-visible is a new specifier type.
14828 (Fgutter_visible_specifier_p): new function for the new specifier.
14829 (syms_of_gutter): declare gutter-visible and
14830 Fgutter_visible_specifier_p.
14831 (specifier_type_create_gutter): intitalize new gutter-visible
14833 (reinit_specifier_type_create_gutter): ditto.
14834 (specifier_vars_of_gutter): use new specifier type for gutter
14836 (init_frame_gutters): construct real_gutter correctly.
14837 (Fgutter_specifier_p): beef up documentation.
14838 (Fgutter_size_specifier_p): ditto.
14840 * winslots.h: add real_gutter slots.
14842 2000-02-25 Andy Piper <andy@xemacs.org>
14844 * device-msw.c: Be kind to older cygwin versions. From Raymond
14845 Toy <toy@rtp.ericsson.se>.
14847 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
14848 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
14850 2000-02-25 Martin Buchholz <martin@xemacs.org>
14852 * elhash.c (MARK_OBJ): Practice macro hygiene.
14854 2000-02-24 Martin Buchholz <martin@xemacs.org>
14856 * miscplay.c: s/__inline__/inline/g;
14857 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
14858 (get_device_compdc): INLINE ==> static inline
14859 * *.[ch]: Change INLINE to INLINE_HEADER globally.
14860 find -name '*.h' | \
14861 xargs global-replace \
14862 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
14864 2000-02-25 Andy Piper <andy@xemacs.org>
14866 * window.c (window_top_frame_gutter_height): new function.
14867 (window_top_window_gutter_height): ditto.
14868 (window_top_gutter_height): use them.
14869 (window_bottom_frame_gutter_height): new function.
14870 (window_bottom_window_gutter_height): ditto.
14871 (window_bottom_gutter_height): use them.
14872 (window_left_window_gutter_width): new function.
14873 (window_left_frame_gutter_width): ditto.
14874 (window_left_gutter_width): use them.
14875 (window_right_window_gutter_width): new function.
14876 (window_right_frame_gutter_width): ditto.
14877 (window_right_gutter_width): use them.
14878 (window_pixel_height): new function. calulate window pixel height
14879 with frame gutter involvement.
14880 (Fsplit_window): calculate new sizes taking frame gutters into
14882 (window_char_height_to_pixel_height): don't include frame gutters.
14883 (window_char_height): use window_pixel_height.
14884 (window_pixheight): rename from window_pixel_height.
14885 (change_window_height): use it.
14886 (window_pixel_height_to_char_height): don't include frame gutters.
14887 (window_char_width_to_pixel_width): ditto.
14889 2000-02-25 Andy Piper <andy@xemacs.org>
14891 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
14894 2000-02-24 Martin Buchholz <martin@xemacs.org>
14896 * alloc.c (staticpro):
14897 (staticpro_nodump):
14902 (compact_string_chars):
14903 (pdump_dump_wired):
14904 Convert: if (foo) abort(); ==> assert (! foo);
14906 * eldap.c (Fldap_search_basic):
14910 Fix compiler warnings, and possible crashes if (random) return
14911 value were to be used.
14913 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14915 * device-msw.c: Workaround ResetDC failure.
14917 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
14918 applying a devmode.
14920 * redisplay-msw.c (get_frame_dc): Added start_page_p.
14921 (mswindows_text_width): Do not start printer page.
14923 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
14925 * glyphs-msw.c: Added image methods to msprinter console and
14926 msprinter-specific image instantiation.
14928 2000-02-20 Mike Alexander <mta@arbortext.com>
14930 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
14931 to avoid crashes when selection-sets-clipboard is on
14932 (mswindows_own_selection): ditto
14934 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14937 * redisplay-msw.c (get_frame_dc):
14938 (get_frame_compdc):
14940 * device-msw.c (mswindows_init_device):
14941 (mswindows_delete_device):
14942 (msprinter_init_device):
14943 (msprinter_delete_device):
14944 * frame-msw.c (mswindows_init_frame_1):
14945 (mswindows_delete_frame):
14946 (msprinter_init_frame_3):
14947 (msprinter_delete_frame): Move compatible DC to device object from
14948 frame object, for both mswindows and msprinter. Only one at a time
14949 is needed, it is a real waste to have one per frame!
14951 2000-02-23 Andy Piper <andy@xemacs.org>
14953 * glyphs.c: add dynamic width and height elements.
14954 (image_instance_equal): ditto.
14956 * glyphs-widget.c (widget_query_geometry): calculate width and
14957 height dynamically if required.
14958 (initialize_widget_image_instance): initialize dynamic dimensions.
14959 (widget_instantiate): pick-up dynamic dimensions.
14961 * glyphs.h (struct Lisp_Image_Instance): add width and height for
14962 dynamic determination. Add appropriate macros.
14964 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
14966 (WINDOW_GUTTER_SIZE): ditto.
14967 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
14969 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
14971 (get_frame_dc): ditto.
14973 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
14976 2000-02-23 Martin Buchholz <martin@xemacs.org>
14978 * XEmacs 21.2.31 is released.
14980 2000-02-22 Ben Wing <ben@xemacs.org>
14982 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
14984 2000-02-22 Andy Piper <andy@xemacs.org>
14986 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
14988 2000-02-21 Mike Sperber <mike@xemacs.org>
14992 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
14995 2000-02-21 Mike Sperber <mike@xemacs.org>
14997 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
14999 2000-02-21 Martin Buchholz <martin@xemacs.org>
15001 * XEmacs 21.2.30 is released.
15003 2000-02-20 Martin Buchholz <martin@xemacs.org>
15005 Performance hacking.
15007 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
15008 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
15009 * emacs.c (main_1):
15011 * console.c (DEFVAR_CONSOLE_LOCAL_1):
15012 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
15013 * symeval.h (DEFVAR_SYMVAL_FWD):
15014 * symbols.c (guts_of_unbound_marker):
15015 Make all c_readonly objects also lisp_readonly and marked for life.
15016 * lrecord.h (struct lrecord_implementation):
15017 Document flags better.
15018 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
15019 * lrecord.h (DECLARE_LRECORD):
15020 * lrecord.h (XSETRECORD):
15021 * lrecord.h (RECORDP):
15022 * lrecord.h (RECORD_TYPEP):
15023 * lrecord.h (RECORD_MARKER): New.
15024 * lrecord.h (error_check_*):
15025 * lrecord.h (CONCHECK_NONRECORD):
15026 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
15027 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
15028 * lrecord.h (set_lheader_implementation):
15029 * lrecord.h (enum lrecord_type): New.
15030 * symeval.h (SYMBOL_VALUE_MAGIC_P):
15031 * alloc.c (disksave_object_finalization_1):
15032 * alloc.c (mark_object):
15033 * alloc.c (lrecord_type_index):
15034 * alloc.c (tick_lcrecord_stats):
15035 * alloc.c (Fgarbage_collect):
15036 * alloc.c (init_alloc_once_early):
15037 * alloc.c (pdump_load):
15038 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
15039 * alloc.c (lrecord_type_index): Delete.
15040 Make lisp object type indexes be constant.
15041 Makes (byte-compile) 5% faster.
15042 Put all marker functions into their own array.
15043 Makes (garbage-collect) 5% faster.
15044 Optimize SYMBOL_VALUE_MAGIC_P.
15045 Makes (byte-compile) 2-3% faster.
15046 * config.h.in (gc_checking_assert): New.
15047 * alloc.c: Use gc_checking_assert().
15048 * .dbxrc: Make compatible with new object type implementation.
15049 * .gdbinit: Make compatible with new object type implementation.
15050 * alloc.c: Delete all symbols defined only for debugging, such as
15051 Lisp_Type_Vector and lrecord_charset.
15053 2000-02-21 Andy Piper <andy@xemacs.org>
15055 * gui-msw.c (Fmswindows_shell_execute): fix file location
15058 * buffer.c (Fkill_buffer): remove buffer from alist buffer
15059 unshowing so that set_window_buffer doesn't undo
15060 kill_buffer_hook's hard work.
15062 * glyphs-widget.c (tab_control_query_geometry): don't count the
15063 first item when calculating geometry.
15065 * glyphs.c (map_subwindow): remove redundant code.
15066 (update_frame_subwindows): be more circumspect about when to
15069 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
15070 when items haven't changed. Update faces if faces have changed as
15071 well as just the widget face.
15072 (x_tab_control_update): Update faces if faces have changed as well
15073 as just the widget face.
15075 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
15077 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
15079 (build_syscolor_string): Use mswindows_color_to_string to try to
15081 (mswindows_device_system_metrics): Reverse the foreground and
15082 background colors so that they match the documentation.
15084 * objects-msw.c: (mswindows_X_color_map): tweak some values so
15085 they match the default Windows palette.
15086 (mswindows_color_to_string): New function.
15088 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
15090 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
15092 2000-02-18 Olivier Galibert <galibert@pobox.com>
15094 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
15095 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
15097 * symbols.c (init_symbols_once_early): Removed obsolete
15098 DATA_SEG_BITS related kludge.
15099 (defvar_magic): Ditto.
15101 * malloc.c: Removed obsolete DATA_SEG_BITS
15103 * mem-limits.h: Ditto.
15105 * Makefile.in.in: Removed obsolete HAVE_SHM
15108 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
15110 * device-msw.c (mswindows_delete_device): Free DDE string
15113 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15115 * keymap.c (get_keyelt):
15116 * unexnt.c (unexec):
15117 * vm-limit.c (memory_warnings):
15118 * ntheap.c (recreate_heap):
15119 * ntheap.h (UNINIT_PTR):
15120 * select-msw.c (Fmswindows_get_clipboard):
15121 (Fmswindows_set_clipboard):
15122 * objects-msw.h (MSWINDOWS_BAD_HFONT):
15124 * menubar-msw.c (displayable_menu_item):
15126 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
15127 * sysdep.c (sys_subshell):
15128 * process-nt.c (nt_create_process):
15129 * nt.c (normalize_filename):
15130 (dostounix_filename):
15131 (unixtodos_filename):
15132 * ntproc.c (win32_executable_type):
15133 * ntplay.c (play_sound_data_1):
15135 * editfns.c (get_home_directory):
15136 * event-msw.c (struct winsock_stream):
15137 (mswindows_dde_callback):
15138 * device-msw.c (msprinter_init_device):
15139 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
15141 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
15142 mswindows_clear_toolbar were swapped!
15144 * objects-msw.c:(colormap_t):
15146 * emacs.c (struct standard_args): Fixed const jumble.
15148 * glyphs-widget.c (update_widget): Fixed comparison notation.
15150 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
15152 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
15153 __declspec(noreturn) syntax.
15155 2000-02-19 Martin Buchholz <martin@xemacs.org>
15157 * eldap.c (Fldap_open):
15158 (Fldap_search_basic):
15161 Use new coding system conversion macros.
15163 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15165 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
15167 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
15169 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
15170 (Fldap_add, Fldap_modify, Fldap_delete): New functions
15172 * eldap.c (Qadd, Qreplace): New constant symbols
15173 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
15174 interruptions by XEmacs signals
15175 Remove unnecessary calls to slow_down_interrupts and
15176 speed_up_interrupts
15177 (Fldap_search_basic): Renamed from Fldap_search_internal
15178 Added new optional parameter VERBOSE that triggers the
15179 display of progress messages
15180 Remove unnecessary calls to slow_down_interrupts and
15181 speed_up_interrupts
15182 LDAP result code analysis rewritten
15183 (Fldap_add, Fldap_modify, Fldap_delete): New functions
15184 (syms_of_eldap): Define the new symbols and functions
15187 2000-02-17 Martin Buchholz <martin@xemacs.org>
15189 * realpath.c: Determine PATH_MAX maximally portably.
15191 * insdel.c (bytecount_to_charcount): Optimize.
15192 The function used to be optimized for entirely ASCII sequences.
15193 Now it is optimized for successive characters from the same
15194 charset. This also wins big for _mostly_ ASCII sequences.
15196 * fileio.c (Ffile_truename): convert return from realpath() using
15197 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
15198 - Rewrite GCPROing slightly.
15200 * sysdep.c (sys_open): Do filename conversion, like all other
15201 sys_* functions. Fixes bug:
15202 (let ((file-name-coding-system 'iso-8859-2))
15203 (write-region x y latin2-name))
15204 ==> writes filename using internal encoding.
15206 2000-02-18 Martin Buchholz <martin@xemacs.org>
15208 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
15209 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
15210 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
15211 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
15212 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
15213 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
15214 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
15215 (CONST_IF_NOT_DEBUG): Delete.
15216 * alloc.c (this_one_is_unmarkable): Delete.
15217 (mark_object): Don't check for this_one_is_unmarkable. Use the
15218 c_readonly flag instead.
15219 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
15221 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
15223 * event-msw.c (mswindows_drain_windows_queue):
15224 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
15225 away redundant repaint events.
15227 2000-02-17 Andy Piper <andy@xemacs.org>
15229 * redisplay.h: declare mark_redisplay_structs.
15231 * redisplay.c (redisplay_window):
15232 (redisplay_frame): don't check subwindows_state_changed.
15233 (mark_redisplay): mark gutters here.
15235 * glyphs.c: (instantiate_image_instantiator): always layout if we
15236 haven't done so already.
15237 (allocate_image_instance): don't mark as dirty.
15238 (update_subwindow): bind inhibit_quit.
15240 * gutter.c (mark_gutters): new function.
15242 * glyphs-x.c (x_update_widget): Always resize to get round a
15245 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
15246 breaking absolutely everything.
15248 * gutter.h: declare mark_gutters.
15250 2000-02-16 Martin Buchholz <martin@xemacs.org>
15252 * XEmacs 21.2.29 is released.
15254 2000-02-15 Olivier Galibert <galibert@pobox.com>
15256 * fns.c (size_bit_vector): Fix computation of the size.
15258 2000-02-15 Martin Buchholz <martin@xemacs.org>
15260 * *.[ch]: Change CONST to const globally.
15261 find -name '*.[ch]' | \
15262 xargs global-replace \
15263 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
15264 - Remove vestigial references to CONST_IS_LOSING
15266 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
15268 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
15269 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
15270 events instead of dispatching them directly.
15271 (mswindows_handle_paint): New function to do repainting.
15272 (mswindows_wnd_proc):
15273 (emacs_mswindows_handle_magic_event): Call above function.
15275 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
15277 * objects-msw.c (mswindows_create_font_variant): Return the new
15279 (initialize_font_instance): Get font metrics from the underlined
15280 variant of the font to cope with the case where the underlined
15281 font has a bigger descent.
15283 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
15285 * gui.c (gui_item_accelerator): Return the first underlined
15286 character in item name.
15288 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15290 * lisp.h: Added Qprinter.
15292 * general.c (syms_of_general): Initialized it.
15294 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
15296 (get_frame_compdc): Made inline.
15298 * console.h (struct console_methods): Added eject_page method.
15300 * frame.h: Added FRAME_DISPLAY_P and friends.
15301 Aligned backslahes in many macros in more readable fashion.
15302 Added page_number to struct frame, and an accessor macro
15305 * defice.h: Added DEVICE_DISPLAY_P and friends.
15307 * device.c (Fdevice_printer_p): Used these.
15309 * frame.c (allocate_frame_core): Initialize page number.
15310 (Fprint_job_page_number):
15311 (Fprint_job_eject_page): Implemented.
15313 * frame-msw.c (msprinter_eject_page): Added method.
15314 (msprinter_start_page): Added.
15316 * window.c (Fwindow_truncated_p): Fixed docstring.
15317 (Fwindow_last_line_visible_height): Implemented.
15319 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15321 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
15323 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15325 * syntax.c (scan_words): Always advance at least one character.
15327 2000-02-13 Andy Piper <andy@xemacs.org>
15329 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
15330 to make sure the glyph is in the cachels.
15332 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
15333 global image instance flag.
15334 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
15335 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
15337 * glyphs.c (allocate_image_instance): set dirty bits correctly.
15338 (Fset_image_instance_property): mark layout as changed.
15339 (invalidate_glyph_geometry_maybe): mark layout as changed.
15340 (glyph_width): use new NEEDS_LAYOUT macro.
15341 (glyph_ascent): ditto.
15342 (glyph_descent): ditto.
15343 (glyph_height): ditto.
15344 (image_instance_layout): mark layout as clean after laying out.
15345 (update_subwindow): don't mark layout as clean here.
15347 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
15348 should no longer be needed.
15350 * glyphs-x.c (x_update_widget): sanitize asserts.
15351 (x_finalize_image_instance): sanitize assignment to widgets.
15353 * glyphs-widget.c (widget_instantiate): don't need to clear the
15356 2000-02-13 Martin Buchholz <martin@xemacs.org>
15358 * sysdep.c (getcwd): Use standard prototype.
15359 * sysdep.h (getcwd): Use standard prototype.
15361 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
15362 (sequence, start, end).
15363 Remove redundant type checking.
15364 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
15365 view of `caller-protects') to avoid a crash where the real fix was
15368 2000-02-12 Martin Buchholz <martin@xemacs.org>
15370 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
15372 * s/sol2.h: Remove feature macro initialization.
15374 * alloc.c (alloc_lcrecord): Add more type checking assertions.
15375 (vector_hash): New. Code from internal_hash.
15377 Fix up allocation subsystem comments.
15379 * config.h.in: Add __EXTENSIONS__ for Solaris.
15381 * systime.h (EMACS_GETTIMEOFDAY): New.
15382 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
15383 Remove Solaris-specific code.
15384 Use void* for the (ignored) second arg for gettimeofday().
15386 * elhash.c (hash_table_hash): Implement it, finally.
15387 * elhash.c: Use hashcode_t.
15389 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
15390 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
15392 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
15393 * fns.c (size_bit_vector):
15394 * alloc.c (size_vector):
15395 (make_vector_internal):
15396 (make_bit_vector_internal):
15397 (sweep_bit_vectors_1):
15398 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
15400 2000-02-10 Martin Buchholz <martin@xemacs.org>
15402 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
15403 Include strings.h to avoid warnings for bzero and strcasecmp.
15405 2000-02-10 Olivier Galibert <galibert@pobox.com>
15407 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
15408 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
15410 * fns.c (size_bit_vector): New. Declare bit vectors as a
15413 2000-02-10 Olivier Galibert <galibert@pobox.com>
15415 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
15416 use a value field instead.
15417 (symbol_value_forward_forward): Use value field.
15418 (DEFVAR_SYMVAL_FWD): Use value field.
15419 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
15420 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
15421 (DEFVAR_CONST_INT): Ditto.
15422 (DEFVAR_BOOL): Ditto.
15423 (DEFVAR_CONST_BOOL): Ditto.
15424 (DEFVAR_INT_MAGIC): Ditto.
15425 (DEFVAR_BOOL_MAGIC): Ditto.
15427 * symbols.c (guts_of_unbound_marker): Use value field.
15428 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
15429 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
15431 * lisp.h: Declare dumpopaque and noninteractive1.
15433 * alloc.c (dumpopaque): Added.
15434 (pdump_dump_opaquevec): Added.
15435 (pdump): Call pdump_dump_opaquevec to dump opaque data.
15436 (pdump_load): Reload opaque data. Sync noninteractive1 with
15439 2000-02-10 Andy Piper <andy@xemacs.org>
15441 * glyphs.c (image_instance_layout): if the size changes, mark it
15444 * redisplay-output.c (redisplay_output_layout): Update the
15446 (redisplay_output_subwindow): ditto.
15448 * glyphs.c (update_subwindow): make sure we reset flags for
15449 layouts as well as everything else.
15451 * glyphs-widget.c (layout_layout): don't need to set the instances
15454 2000-02-09 Martin Buchholz <martin@xemacs.org>
15456 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
15457 not HAVE_DLOPEN, which is a lower-level thing.
15459 * .cvsignore: Ignore gmon.out
15461 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
15463 * .cvsignore: Ignore portable dumper xemacs.dmp file
15465 2000-02-09 Andy Piper <andy@xemacs.org>
15467 * redisplay-output.c (redisplay_output_layout): be more clever
15468 about when we output based on the changed flags.
15470 * glyphs.h (struct image_instantiator_methods): add update_method.
15471 (struct Lisp_Image_Instance): add changed flags. Declare new
15472 macros for manipulating them.
15474 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
15475 (image_instance_parent_glyph): find an image_instance's parent
15476 glyph or image_instance.
15477 (image_instance_layout): mark the size as changed.
15478 (set_image_instance_dirty_p): new function. mark an image
15479 instance, plus all of its parents, as dirty.
15480 (Fset_image_instance_property): use it.
15481 (Fglyph_animated_timeout_handler): use it.
15482 (update_subwindow): call update_widget and device methods for
15483 update_subwindow. Mark all changed flags as clean.
15484 (Fresize_subwindow): mark size as changed.
15486 * glyphs-x.c (x_finalize_image_instance): try and detect gc
15488 (x_update_subwindow): only resize subwindows here.
15489 (x_update_widget): new function. Update all changed properties of
15491 (x_resize_subwindow): deleted.
15492 (x_widget_set_property): deleted.
15493 (x_progress_gauge_set_property): deleted.
15494 (x_progress_gauge_update): new function. Implement recorded
15496 (x_tab_control_update): ditto.
15497 (x_tab_control_set_property): deleted.
15498 (console_type_create_glyphs_x): declare new functions.
15499 (image_instantiator_format_create_glyphs_x): ditto.
15501 * glyphs-widget.c (widget_set_property): mark text changed.
15502 (update_widget): new function. Update properties of a widget.
15503 (widget_instantiate): for layouts make sure we set their
15504 children's parent correctly.
15505 (tab_control_set_property): new function. Record changes that will
15506 take place under redisplay's control.
15507 (progress_gauge_set_property): ditto.
15508 (image_instantiator_progress_guage): declare new functions.
15509 (image_instantiator_tab_control): ditto.
15511 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
15513 (mswindows_update_widget): new function. Update all properties on
15514 a widget that have changed.
15515 (mswindows_button_update): new function. Update a button's set
15517 (mswindows_tab_control_update): new function. Update the items in
15519 (mswindows_tab_control_set_property): deleted.
15520 (mswindows_progress_gauge_update): new function. Update the
15521 progress gauge's progress.
15522 (mswindows_widget_set_property): deleted. This is all done
15523 asynchronously now.
15524 (mswindows_progress_gauge_set_property): ditto.
15525 (console_type_create_glyphs_mswindows): declare new methods.
15526 (image_instantiator_format_create_glyphs_mswindows): ditto.
15528 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
15529 (msprinter_set_frame_properties): ditto.
15531 * console.h (struct console_methods): Add update_widget_method.
15533 2000-02-09 Andy Piper <andy@xemacs.org>
15535 * gui-msw.c (Fmswindows_shell_execute): Make
15536 mswindows-shell-execute industrial strength.
15538 2000-02-08 Martin Buchholz <martin@xemacs.org>
15540 * lrecord.h: Make macro argument `props' match member function `plist'.
15543 * fns.c (Fremprop):
15544 * fns.c (Fobject_plist):
15547 Object property list frobbing cleanup.
15548 - Allow any lisp object (compared with `eq'), not just symbols, as
15549 keys in object plists.
15550 - Move symbol plist frobbing into symbols.c, where it belongs.
15551 - Move string plist frobbing into alloc.c, where it belongs.
15552 - Everything's an lrecord now, so no need to test for symbolp, etc.
15553 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
15555 * extents.c: Reorder code to remove declarations.
15557 * frame.h (store_in_alist): Remove useless declaration.
15559 2000-02-07 Martin Buchholz <martin@xemacs.org>
15561 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
15562 * config.h.in: Add HAVE_XCONVERTCASE.
15564 2000-02-07 Andy Piper <andy@xemacs.org>
15566 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
15567 it breaks many things.
15569 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
15571 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
15572 actually can start a common comment type.
15573 * src/syntax.h (SYNTAX_END_P): ditto for end.
15575 2000-02-07 Martin Buchholz <martin@xemacs.org>
15577 * XEmacs 21.2.28 is released.
15579 2000-02-06 Martin Buchholz <martin@xemacs.org>
15581 * event-Xt.c (x_keysym_to_character): New.
15582 (maybe_define_x_key_as_self_inserting_character): New.
15583 (x_has_keysym): New.
15584 Auto-define all keys on the keyboard as self-insert-key.
15586 2000-02-02 Martin Buchholz <martin@xemacs.org>
15588 * menubar.c (vars_of_menubar): A small code simplification.
15590 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
15593 * ExternalClient.c:
15594 * EmacsShell-sub.c:
15597 Use consistent style for specifying X resources.
15599 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
15600 This makes (dontusethis-set-symbol-value-handler) actually usable.
15602 * lrecord.h (lrecord_decription_type):
15603 * alloc.c (pdump_register_sub):
15606 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
15607 Comply with XEmacs coding style.
15608 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
15609 args, and XD_LISP_OBJECT_ARRAY with 3 args.
15611 * keymap.c (Faccessible_keymaps):
15612 Make (accessible-keymaps map "\C-h") do the Right Thing.
15613 Make (accessible-keymaps map []) do the Right Thing.
15614 Make (accessible-keymaps map "") do the Right Thing.
15615 (check_keymap_definition_loop): New function.
15616 (keymap_store_internal): Keep luser from shooting self in foot,
15617 via (define-key ctl-x-4-map "p" global-map).
15618 Remove fullness slot from struct Lisp_Keymap, since hash tables
15620 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
15622 2000-01-30 Martin Buchholz <martin@xemacs.org>
15624 * redisplay.c (init_redisplay): Fix small memory leak.
15626 * elhash.c (pdump_reorganize_hash_table):
15627 Rename from reorganize_hash_table. Change prototype.
15628 Reuse the original memory for hentries. Save 100k.
15629 * alloc.c (PDUMP_READ): new macro.
15630 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
15631 * alloc.c: No need to #ifndef before #undef.
15633 * print.c: Allow debug_print() to print readably by modifying
15634 debug_print_readably. Use consistent variable names.
15636 * .dbxrc: Try to get things to work even if stopped in a function
15637 without source available by explicitly specifying source files.
15638 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15640 * unexnt.c (_start): Removed bogus code which caused loading heap
15641 from differrent executable file.
15642 Removed bogus assignment to _fmode, which caused inconsistencies.
15644 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15646 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
15647 Have spawnve encapsulation regard DONT_ENCAPSULATE.
15648 Do not preliminary `#define signal sigset'.
15650 * systime.h: Do not prototype environ on windows nt and cygwin,
15651 this conflicts with system header.
15653 * syssignal.h: Use correct define for WINDOWSNT
15655 * sysdep.h: Do not prototype environ on windows nt, this conflicts
15656 with system header.
15658 * sysdep.c (near start of file): Fixed commentary and rearranged
15659 ifdefs in readable order.
15660 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
15663 (end_of_data): Do not compile in if using PDUMP.
15665 * symsinit.h: Prototyped vars_of_nt().
15667 * ntproc.c (windows9x_p): Added, instead of os_subtype.
15668 (find_child_console): Use it.
15669 (sys_kill): Use it.
15671 * ntheap.h: Do not extern os_subtype.
15673 * ntheap.c (cache_system_info): Do not cache unneeded:
15674 nt_major_version, nt_minor_version and os_subtype.
15675 (recreate_heap): Do not compile in when PDUMPing.
15677 * nt.c (geteuid and friends): Use the new varibale
15678 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
15679 (init_user_info): Removed the above mentioned hackery.
15680 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
15681 stat has been fixed in the C runtime.
15682 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
15684 * file-coding.c (struct file_coding_dump): Do not define
15685 ucs_to_mule_table in the struct if not MULE.
15686 (struct struct lrecord_description fcd_description_1): Do not dump
15689 * emacs.c (main_1): Call vars_of_nt().
15690 (right before Fdump_emacs_data): Don't need lastfile if using both
15691 portabe dumper and system malloc.
15693 * alloc.c (Fmemory_limit): Conditionalized out.
15694 (pdump): Use OPEN_BINARY for the portable dump file.
15695 (pdump_load): Ditto.
15697 2000-02-02 Mike Alexander <mta@arbortext.com>
15699 * nt.c (convert_time): Set tm_isdst before calling mktime and
15700 avoid calling it at all if the compiler supports 64 bit integers.
15701 Also initialize utc_base_ft before using it.
15703 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
15705 * frame.c (change_frame_size_1): Take f->internal_border_width
15706 into consideration when calculating the width of the frame.
15708 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15710 * window.c (frame_min_height):
15711 (frame_size_valid_p):
15712 (frame_pixsize_valid_p): Added.
15713 (check_frame_size): Generalized.
15715 * window.h: Prototyped the above.
15718 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
15719 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
15720 Deleted Vwin32_* and Vbinary_process_* unused variables.
15722 * device-msw.c (msprinter_init_device): Do not get printer font
15723 list; Added DEVMODE functions.
15725 * frame-msw.c: Added lots of printer code.
15727 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
15730 * console-msw.h: Added more msprinter device private slots.
15732 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15734 * event-msw.c (key_needs_default_processing_p): Added.
15735 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
15737 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15739 * glyphs.c (image_instance_layout): Mark image instance as clean
15741 (glyph_dirty_p): Removed redundant function.
15742 (invalidate_glyph_geometry_maybe): Added.
15743 (update_glyph_cachel_data): Call it.
15745 * glyphs.h: Prototyped it.
15747 * redisplay.c (add_glyph_rune): Call it.
15748 (redisplay_window): Reset glyphs cachels when frame faces have
15749 changed, thus forcing recomputation of built-in border glyphs.
15751 2000-01-30 Martin Buchholz <martin@xemacs.org>
15753 * Makefile.in.in: Make portable dumper and purify play well together.
15754 Add imperfect, but better than nothing, support for pdump.
15755 Remove xemacs.dmp when temacs is re-generated.
15756 Don't ignore errors when dumping xemacs.
15758 * symbols.c (maybe_call_magic_handler): Remove one magic number.
15760 2000-01-28 Andy Piper <andy@xemacs.org>
15762 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
15763 (setup_normal_frame): ditto.
15764 (setup_frame_without_minibuffer): ditto.
15765 (setup_minibuffer_frame): ditto.
15766 (delete_frame_internal): ditto.
15767 (Fmake_frame_invisible): ditto.
15768 (Ficonify_frame): ditto.
15770 * window.h: change Fset_window_buffer signature.
15772 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
15773 (Fset_window_buffer): allow recording of buffer if the window is
15774 the selected window.
15775 (window_loop): Use new Fset_window signature.
15777 2000-01-23 Daniel Pittman <daniel@danann.net>
15779 * config.h.in: Added template for `HAVE_ATHENA_3D'
15781 2000-01-29 Andy Piper <andy@xemacs.org>
15783 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
15785 * gutter.c (output_gutter): Don't output if the window isn't live.
15787 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15789 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
15790 of 01/12/00: Moved SetFocus back here where it belongs.
15792 2000-01-23 Andy Piper <andy@xemacs.org>
15794 * s/cygwin32.h: declare printer things.
15796 2000-01-26 Andy Piper <andy@xemacs.org>
15798 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
15801 2000-01-24 Andy Piper <andy@xemacs.org>
15803 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
15804 (mswindows_button_instantiate): Make sure glyph is a pixmap.
15806 * glyphs-widget.c (widget_instantiate): Avoid shadows.
15808 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
15810 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
15812 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
15813 (mswindows_output_display_block): Avoid local shadows.
15815 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
15816 (mswindows_enqueue_mouse_button_event): ditto.
15817 (mswindows_handle_gui_wm_command): remove declaration.
15819 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
15822 * console-msw.h: Avoid shadows.
15823 (mswindows_get_toolbar_button_text):
15824 (emacs_mswindows_create_stream_pair):
15825 (emacs_mswindows_delete_stream_pair):
15826 (mswindows_handle_toolbar_wm_command): declare.
15828 * device-msw.c (build_syscolor_string): Avoid shadows.
15830 2000-01-23 Andy Piper <andy@xemacs.org>
15832 * glyphs-widget.c (widget_instantiate): reverse the items for
15833 layouts so that children are in the expected order.
15835 2000-01-28 Martin Buchholz <martin@xemacs.org>
15837 * ralloc.c: safe_bcopy ==> memmove
15838 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
15839 * s/msdos.h: Remove BCOPY macros.
15840 * insdel.c (gap_right): Remove BCOPY conditional code.
15841 * insdel.c (gap_left): Remove BCOPY conditional code.
15842 XEmacs demands a working ANSI C compiler - hence memmove.
15844 * regex.c (regex_compile): Remove accidental use of trigraphs.
15846 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15848 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
15851 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15853 * event-msw.c (mswindows_drain_windows_queue): Added the
15855 (mswindows_need_event): Commented the call to
15856 mswindows_drain_windows_queue().
15857 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
15860 * console-msw.h: Moved a few function prototypes here from
15863 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
15864 parameter from unsigned short to unsigned long.
15865 (Fmswindows_shell_execute): Added return value.
15867 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
15869 * sysdep.c (init_system_name):
15870 process-unix.c (unix_canonicalized_host_name):
15871 Don't call freeaddrinfo() if getaddrinfo() fails.
15873 * process-unix.c (unix_open_unix_network_stream):
15874 Moved the code to get a port # into address loop.
15876 2000-01-27 Martin Buchholz <martin@xemacs.org>
15878 * buffer.c (reinit_vars_of_buffer):
15879 The right place to initialize conversion_in_dynarr and
15880 conversion_out_dynarr.
15882 * alloc.c (pdump): Use the real open() till sys_open() is functional.
15884 * process-unix.c (unix_canonicalize_host_name): Muleize.
15885 (unix_open_network_stream): Muleize.
15887 * buffer.h: Fix up prototypes for ralloc.c functions.
15889 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
15890 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
15891 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
15892 instead of gethostbyname()
15893 * process-unix.c: In unix_canonicalize_host_name() and
15894 unix_open_network_stream(), add code to use getaddrinfo()
15895 instead of gethostbyname().
15897 2000-01-27 Daniel Pittman <daniel@danann.net>
15899 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
15900 libs when built with flat Athena.
15902 2000-01-27 Martin Buchholz <martin@xemacs.org>
15904 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
15905 Use coding standards for function prototypes.
15907 2000-01-25 Martin Buchholz <martin@xemacs.org>
15909 * dialog-msw.c (push_lisp_string_as_unicode):
15910 * doc.c (unparesseuxify_doc_string):
15911 * dired.c (Fuser_name_completion_1):
15912 * dired.c (Fuser_name_all_completions):
15913 * dired.c (free_user_cache):
15914 * dired.c (user_name_completion):
15915 * console-x.c (get_display_arg_connection):
15916 * minibuf.c (clear_echo_area_internal):
15917 * minibuf.c (echo_area_append):
15918 * eldap.c (Fldap_open):
15919 * eldap.c (Fldap_search_internal):
15920 * frame-x.c (x_set_frame_text_value):
15921 * frame-x.c (x_set_frame_properties):
15922 * frame-x.c (x_create_widgets):
15923 * redisplay-tty.c (term_get_fkeys_1):
15924 * objects-x.c (x_parse_nearest_color):
15925 * objects-x.c (x_valid_color_name_p):
15926 * objects-x.c (x_initialize_font_instance):
15927 * objects-x.c (x_list_fonts):
15928 * objects-x.c (x_find_charset_font):
15929 * tooltalk.c (Fadd_tooltalk_message_arg):
15930 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
15931 * tooltalk.c (Fadd_tooltalk_pattern_arg):
15932 * process-unix.c (unix_create_process):
15933 * ntproc.c (sys_spawnve):
15934 * sound.c (Fplay_sound_file):
15935 * sound.c (Fplay_sound):
15936 * buffer.c (init_initial_directory):
15937 * buffer.c (init_buffer):
15938 * editfns.c (init_editfns):
15939 * editfns.c (Ftemp_directory):
15940 * editfns.c (Fuser_full_name):
15941 * editfns.c (uncache_home_directory):
15942 * editfns.c (get_home_directory):
15943 * editfns.c (Fuser_home_directory):
15944 * editfns.c (Fformat_time_string):
15945 * editfns.c (Fcurrent_time_string):
15946 * gui-x.c (button_item_to_widget_value):
15947 * database.c (Fopen_database):
15948 * event-Xt.c (x_to_emacs_keysym):
15949 * event-Xt.c (x_event_to_emacs_event):
15950 * event-Xt.c (describe_event_window):
15951 * event-msw.c (mswindows_wnd_proc):
15952 * glyphs-eimage.c (jpeg_instantiate):
15953 * glyphs-eimage.c (gif_instantiate):
15954 * glyphs-eimage.c (png_instantiate):
15955 * glyphs-eimage.c (tiff_instantiate):
15956 * glyphs-x.c (xbm_instantiate_1):
15957 * glyphs-x.c (x_xbm_instantiate):
15958 * glyphs-x.c (x_xface_instantiate):
15959 * glyphs-x.c (autodetect_instantiate):
15960 * glyphs-x.c (cursor_font_instantiate):
15961 * glyphs-x.c (x_widget_instantiate):
15962 * glyphs-x.c (x_widget_set_property):
15963 * glyphs-x.c (x_widget_property):
15964 * glyphs-x.c (BUILD_GLYPH_INST):
15965 * print.c (write_string_to_stdio_stream):
15966 * print.c (output_string):
15967 * print.c (Falternate_debugging_output):
15968 * print.c (Fexternal_debugging_output):
15969 * glyphs-msw.c (extract_xpm_color_names):
15970 * glyphs-msw.c (mswindows_xpm_instantiate):
15971 * glyphs-msw.c (bmp_instantiate):
15972 * glyphs-msw.c (resource_name_to_resource):
15973 * glyphs-msw.c (mswindows_resource_instantiate):
15974 * glyphs-msw.c (xbm_instantiate_1):
15975 * glyphs-msw.c (mswindows_xbm_instantiate):
15976 * glyphs-msw.c (mswindows_xface_instantiate):
15977 * glyphs-msw.c (mswindows_widget_instantiate):
15978 * glyphs-msw.c (add_tree_item):
15979 * glyphs-msw.c (add_tab_item):
15980 * glyphs-msw.c (mswindows_combo_box_instantiate):
15981 * glyphs-msw.c (mswindows_widget_property):
15982 * glyphs-msw.c (mswindows_combo_box_property):
15983 * glyphs-msw.c (mswindows_widget_set_property):
15984 * console.c (stuff_buffered_input):
15985 * objects-msw.c (mswindows_initialize_color_instance):
15986 * objects-msw.c (mswindows_valid_color_name_p):
15987 * objects-msw.c (mswindows_list_fonts):
15988 * objects-msw.c (mswindows_font_instance_truename):
15989 * bytecode.c (optimize_compiled_function):
15990 * select-x.c (symbol_to_x_atom):
15991 * select-x.c (x_atom_to_symbol):
15992 * select-x.c (hack_motif_clipboard_selection):
15993 * select-x.c (selection_data_to_lisp_data):
15994 * select-x.c (lisp_data_to_selection_data):
15995 * select-x.c (Fx_get_cutbuffer_internal):
15996 * select-x.c (Fx_store_cutbuffer_internal):
15997 * buffer.h (TO_EXTERNAL_FORMAT): New function.
15998 * buffer.h (TO_INTERNAL_FORMAT): New function.
15999 * emacs.c (make_arg_list_1):
16000 * emacs.c (make_argc_argv):
16001 * emacs.c (main_1):
16002 * emacs.c (Fdump_emacs):
16003 * emacs.c (split_string_by_emchar_1):
16008 * device-x.c (x_init_device):
16009 * device-x.c (Fx_valid_keysym_name_p):
16010 * device-x.c (Fx_get_font_path):
16011 * device-x.c (Fx_set_font_path):
16012 * glyphs.c (bitmap_to_lisp_data):
16013 * glyphs.c (pixmap_to_lisp_data):
16014 * alloc.c (make_ext_string): Use coding system arguments. Update
16016 * alloc.c (build_string):
16017 * callproc.c (child_setup):
16018 * callproc.c (init_callproc):
16019 * fileio.c (lisp_strerror):
16020 * fileio.c (directory_file_name):
16021 * fileio.c (Fexpand_file_name):
16022 * fileio.c (Ffile_truename):
16023 * fileio.c (Fsysnetunam):
16024 * fileio.c (Fdo_auto_save):
16025 * sysdep.c (sys_readdir):
16026 * tests.c: New file. Allow adding C tests.
16027 Replace GET_* macros with a more comprehensible and flexible
16028 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
16030 Any coding system can be used to do format conversion.
16031 Eliminate enum external_data_format.
16032 Eliminate convert_to_external_format.
16033 Eliminate convert_to_internal_format.
16034 Make sure file-name, keyboard, terminal, and ctext are always
16035 defined as coding systems or aliases. Make
16036 file-name-coding-system, terminal-coding-system, and
16037 keyboard-coding-system magical variables that are equivalent to
16038 defining the corresponding coding system aliases.
16040 * file-coding.c (Fcoding_system_canonical_name_p): New function.
16041 * file-coding.c (Fcoding_system_alias_p): New function.
16042 * file-coding.c (Fcoding_system_aliasee): New function.
16043 * file-coding.c (append_suffix_to_symbol): New function.
16044 * file-coding.c (dangling_coding_system_alias_p): New function.
16045 * file-coding.c (Ffind_coding_system):
16046 * file-coding.c (Fcopy_coding_system):
16047 * file-coding.c (encode_coding_no_conversion):
16048 * file-coding.c (syms_of_file_coding):
16049 * file-coding.c (vars_of_file_coding):
16050 Rewrite coding system alias code.
16051 Allow nested aliases, like symbolic links.
16052 Allow redefinition of coding system aliases.
16053 Prevent existence of dangling coding system aliases.
16055 * dired.c (Fuser_name_completion_1):
16056 * dired.c (Fuser_name_all_completions):
16057 A crash would happen if user did QUIT in the middle of building
16058 user_name_cache. Remove redundant code in mainline and unwind_protect.
16061 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
16063 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
16064 an unsigned char *. Update all callers.
16066 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16068 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
16070 2000-01-25 Martin Buchholz <martin@xemacs.org>
16072 * elhash.c (hentry_description): Use more portable definition.
16073 (resize_hash_table): Initialize new hentries using
16074 xnew_array_and_zero, thereby simplifying the code.
16076 * mule-charset.c (make_charset): Make sure entire object is
16077 initialized, to avoid Purify warnings.
16079 * alloc.c (resize_string): Fix unlikely crash with big strings.
16081 2000-01-24 Martin Buchholz <martin@xemacs.org>
16083 * realpath.c (xrealpath):
16084 Don't call getwd().
16086 2000-01-25 Martin Buchholz <martin@xemacs.org>
16088 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
16090 1999-12-28 Max Matveev <max@melbourne.sgi.com>
16092 * unexelfsgi.c (unexec): Change the way we decide which segment
16093 should be extended.
16095 Assumption that .bss section should be outside the PT_LOADable
16096 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
16097 it's present) is inside the 'data' segment. This would fail the
16098 test which was used to find a segment to grow and cover new
16099 heap. Instead of this assumption, I created another one - on IRIX
16100 the segment to grow should start below .bss and it's address
16101 should extent above the end of .bss. Once this segment is
16102 identified, it's grown to accommodate the new heap and new
16103 zero-length .bss section is added at the end of .data2.
16105 2000-01-25 Martin Buchholz <martin@xemacs.org>
16107 * eval.c (Feval): Wrong number of arguments should use original
16108 function, not the indirect_function version of it.
16110 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
16112 * glyphs-x.c (x_button_instantiate): Don't add image if
16113 it is not a pixmap.
16114 (x_locate_pixmap_file): Call Fexpand_file_name when file name
16117 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
16119 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
16121 (DEFVAR_INT_MAGIC): Ditto.
16122 (DEFVAR_BOOL_MAGIC): Ditto.
16123 * glyphs.h: Reindent backslash.
16125 2000-01-24 Martin Buchholz <martin@xemacs.org>
16127 * glyphs-widget.c (layout_query_geometry):
16128 (layout_layout): Use correct types for gheight, gwidth.
16130 2000-01-24 Martin Buchholz <martin@xemacs.org>
16132 * EmacsManager.c (QueryGeometry): Purified.
16134 2000-01-23 Martin Buchholz <martin@xemacs.org>
16136 * alloc.c (make_float): Make sure entire object is initialized, to
16137 avoid Purify warnings.
16138 (pdump_register_sub): Remove useless assignment.
16139 (pdump): Use xmalloc, not malloc.
16140 (pdump_load): Use xmalloc, not malloc.
16142 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16149 * sysdep.c: Removed redundant #include <windows.h>
16151 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16153 * frame.c (delete_frame_internal): Do not delete device when its
16154 implementation so declares.
16155 (delete_frame_internal): Set device selected frame to nil when
16156 last frame goes away.
16158 * device-msw.c (msprinter_device_system_metrics): Implemented.
16159 (mswindows_device_system_metrics): Added 'device-dpi property.
16161 * device.c: (Fdevice_printer_p): Added.
16162 Added 'offset-workspace device metric.
16164 * console.h (device_metrics): Declared DM_offset_workspace.
16166 2000-01-23 Martin Buchholz <martin@xemacs.org>
16168 * fileio.c (Ffile_truename): Remove pointless and confusing
16169 initialization of elen.
16171 * glyphs-widget.c: Compiler warning fixes.
16173 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
16175 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
16176 instead of a Lisp_Object as argument to make it consistent with
16177 the other LIVE_P macros.
16178 (CHECK_LIVE_PROCESS): New macro.
16180 * process.c: Declare Qprocess_live_p.
16181 (Fprocess_live_p): New function.
16182 (create_process): Use PROCESS_LIVE_P.
16183 (read_process_output): Ditto.
16184 (set_process_filter): Ditto.
16185 (Fdelete_process): Ditto.
16186 (kill_buffer_processes): Ditto
16187 (process_send_signal): Use CHECK_LIVE_PROCESS.
16188 (Fprocess_input_coding_system): Check whether process is still
16189 alive (fix PR#1061).
16190 (Fprocess_output_coding_system): Ditto.
16191 (Fprocess_coding_system): Ditto.
16192 (Fset_process_input_coding_system): Ditto.
16193 (Fset_process_output_coding_system): Ditto.
16195 2000-01-23 Andy Piper <andy@xemacs.org>
16197 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
16200 * glyphs.c (mark_image_instance): take into account changed
16201 image_instance format.
16202 (image_instance_equal): ditto.
16203 (image_instance_hash): ditto.
16205 * glyphs-widget.c (widget_instantiate): Incorporate layout
16206 instantiation here. Delay layout of the layout until later.
16207 (layout_instantiate): deleted.
16208 (layout_query_geometry): new function. get the geometry of a
16210 (layout_layout): layout a layout dynamically.
16211 (image_instantiator_widget): New function - splitting up
16212 image_instantiator_format_create_glyphs_widget for netwinder
16214 (image_instantiator_buttons):
16215 (image_instantiator_edit_fields):
16216 (image_instantiator_combo_box):
16217 (image_instantiator_scrollbar):
16218 (image_instantiator_progress_guage):
16219 (image_instantiator_tree_view):
16220 (image_instantiator_tab_control):
16221 (image_instantiator_labels):
16222 (image_instantiator_layout): ditto.
16223 (image_instantiator_format_create_glyphs_widget): Call preceding
16226 2000-01-22 Martin Buchholz <martin@xemacs.org>
16228 * process.c (Fset_process_coding_system):
16229 * device-x.c (Fx_keysym_hash_table):
16232 * lstream.c (Lstream_write): Return documented value, not 0.
16234 * fileio.c (directory_file_name):
16235 (Fsubstitute_in_file_name):
16236 (Fsubstitute_insert_file_contents_internal):
16237 (Fwrite_region_internal):
16242 Remove vestigial APOLLO-conditional code.
16244 2000-01-21 Martin Buchholz <martin@xemacs.org>
16246 * getpagesize.h: Add guard macros.
16247 * libsst.h: Add guard macros.
16248 * libst.h: Add guard macros.
16249 * line-number.h: Add guard macros.
16250 * ndir.h: Add guard macros.
16251 * sysfloat.h: Add guard macros.
16252 * sysfile.h: Add guard macros.
16253 * sysproc.h: Add guard macros.
16254 * syswait.h: Add guard macros.
16255 * xintrinsic.h: Add guard macros.
16256 * xintrinsicp.h: Add guard macros.
16257 * xmmanager.h: Add guard macros.
16258 * xmmanagerp.h: Add guard macros.
16259 * xmprimitive.h: Add guard macros.
16260 * xmu.h: Add guard macros.
16261 * gpmevent.h: Add copyright statement. Add guard macros.
16262 * miscplay.h: Add guard macros.
16263 * *.h: Use consistent C-standards-approved guard macro names.
16265 * opaque.c (make_opaque): Switch parameter order.
16266 * opaque.h (make_opaque): Switch parameter order.
16267 Update all callers.
16268 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
16270 * config.h.in (type_checking_assert): Added.
16271 (bufpos_checking_assert): Added.
16273 2000-01-21 Martin Buchholz <martin@xemacs.org>
16275 * alloc.c: Harmless pdump changes.
16277 - spell alignment correctly.
16278 * sysdep.c: Use countof()
16280 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16282 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
16283 initially_selected_for_input() console method, default to 0.
16284 (semi_canonicalize_console_connection): Try to delegate to
16285 canonicalize_console_connection if no such console method.
16286 (canonicalize_console_connection): Vice versa.
16287 (print_console): Do not print nil connection.
16289 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
16290 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
16291 (XDEVIMPF_FRAMELESS_OK): Added.
16292 (CONSOLE_INHERITS_METHOD): Added.
16294 * console-msw.c (mswindows_canonicalize_console_connection):
16296 (mswindows_canonicalize_device_connection): Added.
16298 * console-msw.h (struct msprinter_device): Added this struct and
16300 (mswindows_device): Made fontlist a lisp object.
16302 * device.c (semi_canonicalize_device_connection): Try to delegate
16303 to canonicalize_device_connection if no such console method.
16304 (canonicalize_device_connection): Vice versa.
16305 (print_device): Do not print nil connection.
16307 * device-msw.c (mswindows_init_device): Call InitCommonControls
16309 (mswindows_delete_device): Removed fontlist deallocation.
16310 (mswindows_mark_device): Added.
16312 * events.c (event_equal): Added abort() at unreached code.
16313 (event_hash): Ditto.
16315 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
16316 fallback tags of Windows devices.
16318 * general.c (syms_of_general): Initialized Qmsprinter.
16320 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
16321 of fallback tags of Windows devices.
16323 * lisp.h: Declared Qmsprinter.
16325 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
16327 (mswindows_list_fonts): Ditto.
16328 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
16329 that it can be used by both mswindows and msprinter devices.
16330 (initialize_font_instance): Added.
16331 (mswindows_initialize_font_instance): Use it.
16332 (msprinter_initialize_font_instance): Added.
16334 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
16335 and implementation flags check.
16336 (redisplay_without_hooks): Changed the call to the above.
16337 (Fredraw_device): Ditto.
16338 (Fredisplay_device): Ditto.
16340 * redisplay-msw.c (get_frame_dc): Implemented.
16341 (get_frame_compdc): Implemented.
16342 (many functions): Use the two functions above to get device
16343 contexts, ether for a window or a printer.
16345 2000-01-21 Olivier Galibert <galibert@pobox.com>
16347 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
16348 initialization here.
16349 (init_symbols_once_early): Call it.
16350 * emacs.c (main_1): Call it.
16351 * symsinit.h: Declare it.
16353 2000-01-19 Olivier Galibert <galibert@pobox.com>
16355 * alloc.c: Use a lrecord_header * in the backtrace instead of a
16357 (pdump_backtrace): Ditto.
16358 (pdump_register_object): Ditto. Cleanup use of the pointers.
16359 (pdump_get_entry): Abort if trying to register a null pointer.
16360 (pdump_dump_data): Cleanup types when relocating.
16361 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
16362 (pdump_dump_rtables): Remove bad casts.
16363 (pdump_load): Cleanup relocation w.r.t union type. Use a
16364 Lisp_Object instead of a EMACS_INT for the hashtable
16367 2000-01-20 Martin Buchholz <martin@xemacs.org>
16369 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
16371 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
16373 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
16375 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
16377 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16379 * faces.h (FACE_STRIKETHRU_P): Added.
16381 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
16384 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
16385 (mswindows_set_dc_font): New function, aware of font variants,
16386 separated from mswindows_update_dc.
16388 * objects-msw.h (struct mswindows_font_instance_data): Added
16391 * objects-msw.c (mswindows_finalize_font_instance): Delete all
16392 cached fonts and the data structure.
16393 (mswindows_initialize_font_instance): Added creation of font data
16395 (mswindows_print_font_instance): Print at least something.
16396 (mswindows_create_font_variant): Implemented.
16397 (mswindows_get_hfont): Implemented.
16399 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
16401 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
16402 prototyping problem with msvc.
16404 * emacs.c (main_1): added syms_of_gui_mswindows() call
16406 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
16407 syms_of_gui_mswindows() function
16409 * symsinit.h: added the prototype for syms_of_gui_mswindows()
16411 2000-01-18 Martin Buchholz <martin@xemacs.org>
16413 * XEmacs 21.2.27 is released.
16415 2000-01-18 Martin Buchholz <martin@xemacs.org>
16417 * glyphs-eimage.c (struct tiff_error_struct):
16419 (tiff_warning_func):
16420 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
16425 * unexec.c: Remove vestigial Lucid C code.
16429 * libsst.c: Ansify.
16430 Remove declarations of errno and strerror().
16432 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
16434 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
16436 2000-01-16 Martin Buchholz <martin@xemacs.org>
16438 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
16441 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16446 Change enum eol_type to eol_type_t.
16448 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16450 * gui.c (get_gui_callback): Check cons before accessing car.
16452 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16454 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
16455 (XSETSPECIFIER_TYPE): Ditto.
16457 2000-01-17 Didier Verna <didier@xemacs.org>
16459 * redisplay.c (generate_fstring_runes): compute string size in
16460 characters, not bytes.
16462 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
16464 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
16466 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
16468 * print.c (print_error_message): Call print_prepare().
16470 2000-01-14 Martin Buchholz <martin@xemacs.org>
16472 * .dbxrc: Renamed from dbxrc.
16474 * events.c (event_to_character):
16475 Use `assert (foo)' instead of `if (!foo) abort()'
16477 * .gdbinit (xtype): Add documentation.
16478 * .gdbinit (check-temacs): New function.
16479 * .gdbinit (check-xemacs): New function.
16480 * dbxrc (check-xemacs): New function.
16481 * dbxrc (check-xemacs): New function.
16483 2000-01-14 Andy Piper <andy@xemacs.org>
16485 * glyphs-widget.c (widget_query_geometry): Make sure that we
16486 calculate default dimensions correctly.
16488 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16490 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
16492 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
16493 pdump_wire'd variable.
16495 * emacs.c: (main_1): Conditionalized calls to
16496 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
16498 2000-01-13 Martin Buchholz <martin@xemacs.org>
16500 * window.c (Fset_window_configuration):
16501 * sysdep.c (_start):
16502 * input-method-motif.c (res):
16503 * event-Xt.c (Xt_process_to_emacs_event):
16504 Simple compiler warning fixes.
16506 * bytecode.c (funcall_compiled_function): Use the original
16507 function symbol on the backtrace list in preference to the
16508 compiled_function object in error messages.
16510 2000-01-13 Andy Piper <andy@xemacs.org>
16512 * glyphs-x.c (update_widget_face): Make sure we update the widget
16513 background as well as foreground.
16515 2000-01-13 Andy Piper <andy@xemacs.org>
16517 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
16518 fields to subwindow.
16519 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
16520 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
16521 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
16522 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
16524 * glyphs-widget.c (check_valid_tab_orientation): new function.
16525 (initialize_widget_image_instance): zero orientation and
16527 (widget_instantiate): pick up orientation.
16528 (tab_control_query_geometry): return appropriate values for
16531 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
16532 appropriate creation flags for left, right and bottom tabs.
16534 * s/cygwin32.h: add tab definitions.
16536 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16538 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
16539 frame upon hiding a subwindow.
16540 (mswindows_button_instantiate): Changed the push button style to
16542 (mswindows_button_instantiate): Removed button BS_NOTIFY
16544 (mswindows_button_instantiate): Removed redundant check for
16545 a disabled gui item.
16546 (mswindows_button_instantiate): Made use of WS_TABSTOP
16547 consistent: "operable" controls (edit, button, tree, scroll) have
16548 this style, "display-only" ones (static, progress gauge) do
16549 not. This style is currently ignored by XEmacs though. Also,
16550 removed the WS_EX_CONTROLPARENT style - it is not for children,
16551 it is for their parents!
16552 (mswindows_edit_field_instantiate): Ditto.
16553 (mswindows_progress_gauge_instantiate): Ditto.
16554 (mswindows_tree_view_instantiate): Ditto.
16555 (mswindows_tab_control_instantiate): Ditto.
16556 (mswindows_scrollbar_instantiate): Ditto.
16557 (mswindows_combo_box_instantiate): Ditto.
16558 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
16559 style to the "clip" window.
16560 (mswindows_button_instantiate): Removed compilation warning by
16561 equally typing terms of the ?: operator.
16563 2000-01-12 Didier Verna <didier@xemacs.org>
16565 * redisplay.c (generate_fstring_runes): new parameter holding the
16566 last modeline-format extent.
16567 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
16568 extent, fill the glyph block with it.
16569 (generate_fstring_runes): handle these parameters.
16570 (generate_formatted_string_db): ditto.
16572 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
16573 glyphs'extents in the modeline.
16575 1999-01-11 Mike Woolley <mike@bulsara.com>
16577 * ntheap.c: Reduced the reserved heap space from 1Gb down to
16578 256Mb, as a workaround for the non-starting problem many people
16581 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16583 * console-tty.c (Fset_console_tty_output_coding_system):
16584 Force redrawing tty frame.
16586 2000-01-10 Didier Verna <didier@xemacs.org>
16588 * redisplay.c (generate_fstring_runes): fix size computation bug.
16590 2000-01-09 William M. Perry <wmperry@aventail.com>
16592 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
16594 2000-01-09 Andy Piper <andy@xemacs.org>
16596 * glyphs-msw.c: index -> i to avoid shadows.
16597 (xbm_create_bitmap_from_data): make static.
16598 (check_valid_string_or_int): deleted.
16599 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
16601 * glyphs-x.c (x_update_subwindow): remove unused args.
16603 * glyphs.c (glyph_image_instance): return the thing. Don't set the
16604 back pointer - this is done in allocate_image_instance.
16605 (query_string_font): return Qnil to make the compiler happy.
16606 (unmap_subwindow): set to ~0 to make the compiler happy.
16607 (glyph_query_geometry): comment out until used.
16608 (glyph_layout): ditto.
16610 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
16612 * insdel.c (signal_after_change): Remove extraneous unbind_to().