1 2004-12-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * char-ucs.h (decoding_table_put_char): Moved to mule-charset.c;
4 changed to normal function.
5 (encode_char_2): Likewise.
7 * mule-charset.c (decoding_table_put_char): Copied from
8 char-ucs.h; changed to normal function.
9 (encode_char_2): Likewise.
11 2004-12-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
13 * char-ucs.h (Vdisplay_coded_charset_priority_use_inheritance):
15 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
16 (encode_char_2_search_children): New inline function.
17 (encode_char_2): Refer
18 `Vdisplay_coded_charset_priority_use_{inheritance|hierarchy_order}'
19 and use `encode_char_2_search_children'.
21 2004-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
24 (Vdisplay_coded_charset_priority_use_inheritance): New variable.
25 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
26 (vars_of_mule_charset): Add new variable
27 `display-coded-charset-priority-use-inheritance' and
28 `display-coded-charset-priority-use-hierarchy-order'.
30 2004-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
32 * char-ucs.h (Q_subsumptive): New extern.
33 (Q_denotational): Likewise.
34 (encode_char_2): Search children specified by `->subsumptive' and
37 2004-11-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
39 * mule-charset.c (complex_vars_of_mule_charset): Modify the
40 X-registry of `ucs-bmp'.
42 2004-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
44 * chartab.c (char-variants): Refer `->subsumptive',
45 `->denotational' and `->identical' as same as `->ucs-unified'.
47 2004-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
49 * chartab.c (Fput_char_attribute): Convert char-specs in value of
50 `{<-|->}{fullwidth|halfwidth}[^*]*' to characters and put reverse
53 2004-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
55 * text-coding.c: Add EXFUN for `Fregexp_quote'.
56 (decode_add_er_char): Fix problem about infinite loop when a CCS
57 specified in `coded-charset-entity-reference-alist' is not
60 2004-09-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
62 * mule-charset.c (syms_of_mule_charset): Rename
63 `=jis-x0208-{1978|1983|1990}' to `=jis-x0208@{1978|1983|1990}'.
65 2004-08-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
67 * fns.c (simplify_char_spec): Don't allocate new character-object
68 if specified char_spec does not have any CCS-features.
70 * chartab.h: Add EXFUN for Fdefine_char.
72 * chartab.c: Delete EXFUN for Fdefine_char.
74 2004-08-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
76 * fns.c (simplify_char_spec): Use Fdefine_char instead of
77 Ffind_char for char-spec.
79 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
81 * lisp-disunion.h (XCHARVAL): Fix condition about
84 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
86 * mule-charset.c (decode_builtin_char): Use <EMACS_INT> instead of
88 (Fdecode_builtin_char): Use <EMACS_INT> instead of <int> for code
89 point; use <Emchar> instead of <int> for character-id.
91 2004-07-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
93 * lisp-disunion.h (make_int): Cast the argument into <EMACS_INT>.
94 (make_char): Likewise.
95 (XCHARVAL): Don't use the inline function for UTF-2000 in 64 bit
97 (XCHARVAL[for UTF-2000 in 32 bit environment]): Use <Emchar>
98 instead of <int> as the type of return value; use <Lisp_Object>
99 instead of <Emchar> as the type of argument.
100 (XCHARVAL[macro version]): Cast the result into <Emchar>.
102 * syntax.h (SYNTAX_CODE_UNSAFE): Use <Lisp_Object> and <enum
103 syntaxcode> instead of <int>.
105 2004-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
107 * chartab.c (put_char_composition): Use DECODE_CHAR to get
108 character corresponding with UCS code point.
109 (Fput_char_attribute): Likewise.
111 * mule-charset.c (put_char_ccs_code_point): Don't omit a UCS
112 character in the UCS decoding-table if the char-id is not equal to
115 2004-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
117 * mule-charset.c (Fsave_charset_properties): Use `true-name' only
118 for aliases; write `description'; write
119 `mother-code-{min|max|offset|conversion}' if CHARSET_MAX_CODE is
122 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
124 * chartab.c (Fsave_char_attribute_table): Don't use
125 `save_charset_properties'.
127 * mule-charset.c (Fsave_charset_properties): Renamed from
128 `save_charset_properties' and changed to Lisp function again;
129 write property `type' as `CCS'; write properties `final-byte' and
130 `mother' if they exists.
131 (syms_of_mule_charset): Revive builtin function
132 `save-charset-properties' when HAVE_LIBCHISE is defined.
134 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
136 * chartab.c (open_chise_data_source_maybe): Use Vdata_directory
137 instead of Vexec_directory.
138 (char_attribute_system_db_file): Likewise.
140 2004-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
142 * chartab.c (Fsave_char_attribute_table): Use
143 `save_charset_properties' for CCS features when HAVE_LIBCHISE is
146 * mule-charset.c (save_charset_properties): Renamed from
147 `Fsave_charset_properties'; changed to non-Lisp function.
148 (syms_of_mule_charset): Abolish builtin function
149 `save-charset-properties'.
151 2004-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
153 * mule-charset.c (Fsave_charset_properties): New function when
154 HAVE_LIBCHISE is defined.
155 (syms_of_mule_charset): Add new builtin function
156 `save-charset-properties' when HAVE_LIBCHISE is defined.
158 2004-06-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
160 * chartab.c (Fput_char_attribute): Convert char-specs in value of
161 `{<-|->}ancient[^*]*' to characters and put reverse links.
162 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
163 for `{<-|->}ancient[^*]*'.
165 2004-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
167 * chartab.c (Fput_char_attribute): Convert char-specs in value of
168 `{<-|->}original[^*]*' to characters and put reverse links.
169 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
170 for `{<-|->}original[^*]*'.
172 2004-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
174 * mule-canna.c (m2c): Fix problem with XEmacs CHISE.
176 2004-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
178 * mule-charset.c (Qsystem_char_id): New variable.
180 * chartab.c (Qsystem_char_id): Deleted even if HAVE_CHISE is
181 defined and HAVE_LIBCHISE_LIBCHISE is not defined.
183 2004-05-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
185 * chartab.c (Fput_char_attribute): When processing a reference of
186 a character, put into the end of the reversed reference of each
189 2004-05-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
191 * chartab.c (Q_same): Deleted.
192 (Q_same_of): Deleted.
193 (Fput_char_attribute): Use Fstring_match to find `{<-|->}same'.
194 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
196 (syms_of_chartab): Delete builtin symbol `{<-|->}same'.
198 2004-05-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
200 * chartab.c (Q_vulgar): Deleted.
201 (Q_vulgar_of): Deleted.
202 (Fput_char_attribute): Use Fstring_match to find `{<-|->}vulgar'.
203 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
205 (syms_of_chartab): Don't define `{<-|->}vulgar'.
207 2004-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
209 * chartab.c (Fput_char_attribute): Convert char-specs in value of
210 `{<-|->}wrong[^*]*' to characters and put reverse links.
211 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
212 for `{<-|->}wrong[^*]*'.
214 2004-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
216 * chartab.c (Q_vulgar): New variable.
217 (Q_vulgar_of): New variable.
218 (Fput_char_attribute): Convert char-specs in value of
219 `{->|<-}vulgar' to characters and put reverse links.
220 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
222 (syms_of_chartab): Add new symbols `{->|<-}vulgar'.
224 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
226 * text-coding.c (decode_add_er_char): Must to quote prefix string
229 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
231 * mule-charset.c (put_char_ccs_code_point): Store characters of
232 =ucs whose code_points >= 0xF0000.
234 2004-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
236 * mule-charset.c (Vcharset_system_char_id): New variable in XEmacs
238 (syms_of_mule_charset): Add new symbol `system-char-id' in XEmacs
240 (complex_vars_of_mule_charset): Add new coded-charset
241 `system-char-id' in XEmacs CHISE; modify `=ucs' to eliminate
242 builtin characters over 0xEFFFF.
244 * chartab.c (syms_of_chartab): Don't define symbol
245 `system-char-id' in every case.
247 * char-ucs.h (Qsystem_char_id): New extern variable.
248 (LEADING_BYTE_SYSTEM_CHAR_ID): New macro.
250 2004-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
252 * text-coding.c (char_encode_utf8): Try to use entity-references
253 for U-000F0000 ... U-0010FFFF.
255 2004-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
257 * text-coding.c (ER_BUF_SIZE): New macro.
258 (struct decoding_stream): Use `ER_BUF_SIZE' to specify size of
260 (decode_add_er_char): Use `ER_BUF_SIZE' instead of 16.
261 (char_encode_as_entity_reference): Use `ER_BUF_SIZE'.
263 2004-03-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
265 * chartab.c (find_char_feature_in_family): New function.
266 (Fchar_feature): Use `find_char_feature_in_family' with
267 `->identical', `<-subsumptive' and `<-denotational'.
269 2004-03-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
271 * text-coding.c (char_encode_as_entity_reference): Allow prefix
272 within 8 characters; fix infinite loop.
274 2004-03-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
276 * chartab.c (Q_same): New variable.
277 (Q_same_of): New variable.
278 (Fput_char_attribute): Convert char-specs in value of
279 `{->|<-}same' to characters and put reverse links.
280 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
282 (syms_of_chartab): Add new symbols `{->|<-}same'.
284 2004-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
286 * chartab.c (Q_component): New variable.
287 (Q_component_of): Likewise.
288 (Fput_char_attribute): Convert char-specs in value of
289 `{->|<-}ideographic-component-forms' to characters and put reverse
291 (syms_of_chartab): Add new symbols
292 `{->|<-}ideographic-component-forms'.
294 2004-02-24 MORIOKA Tomohiko <tomo@m17n.org>
296 * chartab.c (Q_identical): New variable.
297 (Q_identical_from): New variable.
298 (Fchar_feature): Regard `->identical' as a feature to find
300 (Fput_char_attribute): Add reversed link for `{->|<-}identical'.
301 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
302 for `{->|<-}identical'.
303 (syms_of_chartab): Add new symbols `{->|<-}identical'.
305 2004-02-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
307 * char-ucs.h (encode_char_2): New inline function.
308 (CHAR_TO_CHARC): Use `encode_char_2' instead of `encode_char_1'.
310 2004-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
312 * chartab.c (Fput_char_attribute): Convert char-specs to
313 characters in value of `ideographic-structure'.
314 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
315 for `{<-|->}simplified(@...)'.
316 (Fdefine_char): bTry to use predefined character's id.
318 2004-02-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
320 * fns.c (simplify_char_spec): Try to convert builtin chars to
323 2004-02-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
325 * chartab.c (Fput_char_attribute): Convert char-specs in value of
326 `<-simplified[^*]*' to characters and put reverse links.
328 2004-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
330 * chartab.c (Q_subsumptive): Renamed from Q_unified.
331 (Q_subsumptive_from): Renamed from Q_unified_from.
332 (Fchar_feature): Use `Q_subsumptive_from' instead of
334 (Fput_char_attribute): Likewise; Use `Q_subsumptive' instead of
336 (syms_of_chartab): Rename `->unified' to `->subsumptive' and
337 `<-unified' to `<-subsumptive'.
339 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
341 * chartab.c (Fchar_feature): Check `<-denotational' to avoid
342 inheritance itself; fix typo; stop recursive search if cyclic
343 inheritance is found.
345 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
347 * chartab.c (Q_denotational): New variable.
348 (Q_denotational_from): New variable.
349 (Fchar_feature): Refer `<-denotational' as same as `<-unified'.
350 (put_char_attribute): New function.
351 (Fput_char_attribute): Use `put_char_attribute'; regard
352 `->denotational' and `<-denotational' as same as `->unified' and
354 (syms_of_chartab): Add new symbols `->denotational' and
357 2004-02-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
359 * chartab.c (Fget_composite_char): Use `Fchar_feature' instead of
360 `Fget_char_attribute'.
361 (Fchar_variants): Likewise.
362 (get_char_table): Likewise.
363 (Fchar_feature): New function.
364 (put_char_composition): Use `Fchar_feature' instead of
365 `Fget_char_attribute'.
366 (Fput_char_attribute): Likewise; don't put the target character
367 into its `->unified' value.
368 (syms_of_chartab): Add new builtin function `char-feature'.
370 2004-01-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
372 * text-coding.c (COMPOSE_ADD_CHAR): Use `Fchar_feature' instead of
373 `Fget_char_attribute'.
374 (char_encode_utf8): Likewise.
376 * chartab.h: Add an EXFUN for `Fchar_feature'.
378 2004-01-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
380 * chartab.c (Vnext_defined_char_id): New variable.
381 (Fput_char_attribute): Accept characters in `->unified'.
382 (Fdefine_char): Refer and update Vnext_defined_char_id to allocate
383 new characters which are not related with builtin char-id ranges.
384 (vars_of_chartab): Add new variable `next-defined-char-id'.
386 2004-01-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
388 * chartab.c (Q_unified): New variable.
389 (Q_unified_from): New variable.
390 (Fput_char_attribute): Add code for `->unified'.
391 (syms_of_chartab): Add new symbols `->unified' and `<-unified' in
394 2003-11-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
396 * mule-charset.c (decode_ccs_conversion): New function.
397 (decode_defined_char): Use `decode_ccs_conversion'.
398 (decode_builtin_char): Likewise.
400 2003-11-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
402 * char-ucs.h: Change some charset-ids of private coded-charsets.
404 2003-11-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
406 * text-coding.c (decode_add_er_char): Modify for `DECODE_CHAR'.
407 (char_encode_as_entity_reference): Likewise.
408 (decode_coding_big5): Modify for `decode_defined_char' and
410 (decode_coding_utf8): Modify for `decode_defined_char'; modify to
411 avoid compiler warning.
412 (decode_coding_iso2022): Modify for `DECODE_CHAR'.
414 * mule-charset.c (decode_defined_char): Add new argument
415 `without_inheritance'.
416 (Fdecode_char): Add new optional argument `without_inheritance'.
417 (Fdecode_builtin_char): Modify for `Fdecode_char'.
419 * fns.c (ids_format_unit): Modify for `Fdecode_char'.
420 (simplify_char_spec): Likewise.
422 * chartab.h (Fdecode_char): Modify number of arguments of EXFUN
425 * chartab.c (put_char_table): Modify for `DECODE_CHAR'.
426 (map_char_table): Likewise.
427 (Fdefine_char): Use `Fdecode_char' without inheritance.
428 (Ffind_char): Modify for `Fdecode_char'.
430 * character.h (CHARC_TO_CHAR): Modify for `DECODE_CHAR'.
432 * char-ucs.h (decode_defined_char): Add new argument
433 `without_inheritance'.
434 (DECODE_CHAR): Likewise.
435 (MAKE_CHAR): Modify for `DECODE_CHAR'.
437 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
439 * chartab.c (Vchise_system_db_directory): New variable.
440 (vars_of_chartab): Add new variable `chise-system-db-directory'.
442 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
444 * chartab.c: EXFUN `Fmount_char_attribute_table'.
445 (print_chartab_range): Don't define when `UTF2000' is defined.
446 (open_chise_data_source_maybe): Specify 0 instead of DB_HASH for
449 2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
451 * chartab.c (Fchar_attribute_list): When HAVE_LIBCHISE is defined
452 and optional argument `rehash' is specified, call
453 `open_chise_data_source_maybe' before
454 `chise_ds_foreach_char_feature_name' is called.
456 2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
458 * chartab.c (char_attribute_list_reset_map_func): New function
459 when HAVE_LIBCHISE is defined.
460 (Fchar_attribute_list): Add new optional argument `rehash' when
461 HAVE_LIBCHISE is defined.
462 (open_chise_data_source_maybe): Use "chise-db" instead of
464 (char_attribute_system_db_file): Likewise.
465 (Fload_char_attribute_table): Use
466 `chise_feature_foreach_char_with_value' instead of
467 `chise_char_feature_value_iterate'.
469 2003-10-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
471 * chartab.c (Vchise_db_directory): New variable.
472 (vars_of_chartab): Add new built-in variable `chise-db-directory'.
474 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
476 * mule-charset.c (Freset_charset_mapping_table): Use HAVE_LIBCHISE
477 instead of HAVE_CHISE to specify using with libchise.
479 * config.h.in (HAVE_CHISE_CLIENT): Deleted.
481 * chartab.h: Don't use HAVE_CHISE_CLIENT.
483 * chartab.c (Qsystem_char_id): Don't define when HAVE_CHISE is not
484 defined or HAVE_LIBCHISE_LIBCHISE is defined.
485 (char_attribute_system_db_file): Don't define when HAVE_LIBCHISE
487 (Freset_char_attribute_table): Use HAVE_LIBCHISE instead of
488 HAVE_CHISE to specify using with libchise.
489 (syms_of_chartab): Don't define symbol `system-char-id' when
490 HAVE_CHISE is not defined or HAVE_LIBCHISE_LIBCHISE is defined.
492 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
494 * mule-charset.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
495 specify CHISE DB support.
496 (Freset_charset_mapping_table): Use `chise_ccs_setup_db' instead
497 of `char_attribute_system_db_file' to check feature DB file.
499 * chartab.h, casetab.c, char-ucs.h: Use HAVE_CHISE instead of
500 HAVE_CHISE_CLIENT to specify CHISE DB support.
502 * chartab.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
503 specify CHISE DB support.
504 (open_chise_data_source_maybe): Don't define when HAVE_LIBCHISE is
506 (Freset_char_attribute_table): Use `chise_feature_setup_db'
507 instead of `char_attribute_system_db_file' to check feature DB
510 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
512 * mule.c (vars_of_mule): Use `HAVE_CHISE' instead of `CHISE' and
515 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
517 * mule-charset.c: Use HAVE_LIBCHISE instead of CHISE.
518 (Fsave_charset_mapping_table): Don't use
519 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
521 * config.h.in (HAVE_CHISE): Renamed from `CHISE'.
522 (HAVE_LIBCHISE): New macro.
524 * chartab.h: Use HAVE_LIBCHISE instead of CHISE.
526 * chartab.c: Use HAVE_LIBCHISE instead of CHISE.
527 (Fsave_char_attribute_table): Don't use
528 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
530 2003-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
532 * chartab.c (save_uint8_byte_table): Use libchise when CHISE is
534 (save_uint16_byte_table): Likewise.
535 (save_byte_table): Likewise.
536 (char_table_get_db): Use `chise_ds_load_char_feature_value'
537 instead of `chise_char_load_feature_value'.
538 (Fsave_char_attribute_table): Use libchise when CHISE is defined.
540 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
542 * chartab.h (struct Lisp_Char_Table): Delete member
543 `feature_table' if CHISE is defined.
545 * chartab.c (Fmake_char_table): Don't refer `ct->feature_table'.
546 (Fcopy_char_table): Likewise.
547 (char_table_open_db_maybe): Likewise.
548 (char_table_close_db_maybe): Likewise.
549 (char_table_get_db): Likewise.
550 (Fmount_char_attribute_table): Likewise.
551 (Fload_char_attribute_table): Likewise.
553 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
555 * mule-charset.c (load_char_decoding_entry_maybe): Use
556 `chise_ds_decode_char' instead of `chise_ds_get_ccs' and
559 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
561 * chartab.c (open_chise_data_source_maybe): Use `CHISE_DS_open'
562 instead of `chise_open_data_source'.
563 (Fclose_char_data_source): Use `CHISE_DS_close' instead of
566 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
568 * chartab.c (char_table_open_db_maybe): Use `chise_ds_get_feature'
569 instead of `chise_ds_open_feature_table'.
570 (char_table_close_db_maybe): Don't use `chise_ft_close'.
572 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
574 * mule-charset.c (Fsave_charset_mapping_table): Use
575 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
576 `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
577 `chise_ccs_sync' instead of `chise_ccst_close'.
578 (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
580 * chartab.c (open_chise_data_source_maybe): Modify for
581 `chise_open_data_source'.
582 (char_table_open_db_maybe): Modify for
583 `chise_ds_open_feature_table'.
585 2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
587 * mule-charset.c (load_char_decoding_entry_maybe): Use
588 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
591 2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
593 * mule-charset.c (Fsave_charset_mapping_table): Use
594 `chise_ds_open_ccs_table', `chise_ccst_put_char' and
595 `chise_ccst_close' instead of `chise_ds_open_decoding_table',
596 `chise_dt_put_char' and `chise_dt_close'.
597 (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
598 `chise_ccs_decode' and `chise_ccst_close' instead of
599 `chise_ds_open_decoding_table', `chise_dt_get_char' and
602 * chartab.c (char_table_get_db): Use
603 `chise_char_load_feature_value' instead of `chise_ft_get_value'.
604 (load_char_attribute_table_map_func): Modify for
605 `chise_char_feature_value_iterate'.
606 (Fload_char_attribute_table): Use
607 `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
609 2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
611 * text-coding.c (COMPOSE_ADD_CHAR): Fixed.
613 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
615 * chartab.c (put_char_table): Modify for inherited coded-charsets
618 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
620 * chartab.c (Fput_char_table_map_function): Fixed.
621 (word_boundary_p): Don't check charset in XEmacs CHISE.
623 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
625 * mule-charset.c (Fsave_charset_mapping_table): Use
626 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
627 instead of `chise_open_decoding_table'; refer
628 `default_chise_data_source'; use `chise_dt_close' instead of
629 `chise_close_decoding_table'.
630 (load_char_decoding_entry_maybe): Likewise.
632 * chartab.c (default_chise_data_source): New variable when `CHISE'
634 (Fcopy_char_table): `ct->ds' is deleted.
635 (open_chise_data_source_maybe): New function.
636 (Fclose_char_data_source): New function.
637 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
638 use `chise_ds_open_feature_table' instead of
639 `chise_open_feature_table'.
640 (char_table_close_db_maybe): Use `chise_ft_close' instead of
641 `chise_close_feature_table'; `cit->ds' is deleted.
642 (syms_of_chartab): Add new builtin function
643 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
645 * chartab.h (default_chise_data_source): New extern variable.
646 (open_chise_data_source_maybe): New prototype.
647 (struct Lisp_Char_Table): Delete `ds'.
649 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
651 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
654 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
656 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
657 not defined; add code for non-libchise setting.
658 (char_table_close_db_maybe): Likewise.
659 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
661 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
662 even if `CHISE' is not defined.
663 (Freset_char_attribute_table): Likewise.
664 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
665 `char_table_close_db_maybe' even if `CHISE' is not defined; use
667 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
668 `char_table_close_db_maybe' even if `CHISE' is not defined.
670 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
672 * chartab.c (char_table_open_db_maybe): New function.
673 (char_table_close_db_maybe): New function.
674 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
675 (Freset_char_attribute_table): Likewise.
676 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
677 `char_table_close_db_maybe'.
678 (Fload_char_attribute_table): Likewise.
680 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
682 * chartab.c: Don't include <chise.h> because it is included in
684 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
686 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
688 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
690 (Fclose_char_attribute_table): Close `ct->feature_table' and
691 `ct->ds' when `CHISE' is defined.
692 (Freset_char_attribute_table): Likewise.
693 (load_char_attribute_maybe): Use `cit->ds' and
694 `cit->feature_table' when `CHISE' is defined.
695 (Fload_char_attribute_table): Likewise.
697 * chartab.h: Include <chise.h> when `CHISE' is defined.
698 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
699 when `CHISE' is defined.
701 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
703 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
705 (char_table_description): Likewise.
706 (Fmake_char_table): Likewise.
707 (Fcopy_char_table): Likewise.
708 (Fmount_char_attribute_table): Likewise.
709 (Fclose_char_attribute_table): Likewise.
710 (Freset_char_attribute_table): Likewise.
711 (load_char_attribute_maybe): Likewise.
712 (Fload_char_attribute_table): Likewise.
714 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
717 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
719 * chartab.c (load_char_attribute_table_map_func): New function
720 when CHISE is defined.
721 (Qload_char_attribute_table_map_function): Don't define when CHISE
723 (Fload_char_attribute_table_map_function): Likewise.
724 (Fload_char_attribute_table): Use libchise when `CHISE' is
726 (syms_of_chartab): Don't define
727 `load-char-attribute-table-map-function' when CHISE is defined.
729 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
731 * chartab.c: Include <chise.h> when `CHISE' is defined.
732 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
734 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
736 * mule-charset.c (charset_code_point): Fix problem when searching
737 in mother CCS fails with `defined_only' mode.
739 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
741 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
742 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
743 (put_char_composition): Likewise.
744 (Fput_char_attribute): Likewise.
745 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
747 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
749 * chartab.c (Q_ucs): Deleted.
750 (Fput_char_attribute): Don't refer `->ucs'.
751 (Fdefine_char): Likewise.
752 (Ffind_char): Likewise.
753 (syms_of_chartab): Delete `->ucs'.
755 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
757 * mule-charset.c (Qmap_cns11643_2): Renamed from
758 `Qchinese_cns11643_2'.
759 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
760 `chinese-cns11643-2'.
761 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
764 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
766 * mule-charset.c (Qmap_cns11643_1): Renamed from
767 `Qchinese_cns11643_1'.
768 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
769 `chinese-cns11643-1'.
770 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
773 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
775 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
776 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
778 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
781 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
783 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
784 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
786 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
789 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
791 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
792 (syms_of_mule_charset): Add new symbol `=big5' instead of
794 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
796 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
798 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
799 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
801 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
804 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
806 * mule-charset.c (Qmap_jis_x0212): Renamed from
807 `Qjapanese_jisx0212'.
808 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
810 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
813 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
815 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
816 `Qjapanese_jisx0208'.
817 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
818 of `japanese-jisx0208'.
819 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
822 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
824 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
825 `Qjapanese_jisx0208_1978'.
826 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
827 of `japanese-jisx0208-1978'.
828 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
831 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
833 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
834 only for XEmacs CHISE.
836 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
838 * char-ucs.h: Compact non-ISO-IR charset-ids.
839 (LEADING_BYTE_UCS): Changed to -177.
840 (LEADING_BYTE_CONTROL_1): Changed to -77.
841 (LEADING_BYTE_UCS_BMP): Changed to -176.
842 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
844 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
846 * mule-charset.c (Qiso_ir): New variable.
847 (Fmake_charset): Recognise new property `iso-ir'.
848 (syms_of_mule_charset): Add new symbol `iso-ir'.
850 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
852 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
853 n to -n; charset-id of non ISO-IR sets are changed to positive
856 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
858 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
859 for &MCS-XXXXXXXX; values.
861 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
863 * mule.c (Vxemacs_chise_version): Renamed from
865 (vars_of_mule): Add new variable `xemacs-chise-version'; define
866 `utf-2000-version' as an alias for `xemacs-chise-version'.
868 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
870 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
871 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
874 * config.h.in (CHISE): New macro.
876 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
878 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
880 (Qmap_ucs): New variable.
881 (syms_of_mule_charset): Add new symbol `=ucs'.
882 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
884 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
885 (simplify_char_spec): Likewise.
887 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
889 * char-ucs.h (Qmap_ucs): New extern variable.
891 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
893 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
894 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
895 don't define it when UTF2000 is not defined.
896 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
897 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
898 when UTF2000 is not defined.
899 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
900 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
902 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
904 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
906 * mule-charset.c (Vcharset_ucs_gb): Deleted.
908 (syms_of_mule_charset): Delete `ucs-gb'.
909 (complex_vars_of_mule_charset): Likewise.
911 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
913 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
915 * mule-charset.c (Vcharset_ucs_cns): Deleted.
917 (syms_of_mule_charset): Delete `ucs-cns'.
918 (complex_vars_of_mule_charset): Likewise.
920 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
922 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
924 * mule-charset.c (Vcharset_ucs_jis): Deleted.
926 (syms_of_mule_charset): Delete `ucs-jis'.
927 (complex_vars_of_mule_charset): Likewise.
929 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
931 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
933 * mule-charset.c (Vcharset_ucs_ks): Deleted.
935 (syms_of_mule_charset): Delete `ucs-ks'.
936 (complex_vars_of_mule_charset): Likewise.
938 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
940 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
941 (Qideograph_daikanwa_2): Deleted.
942 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
943 (complex_vars_of_mule_charset): Likewise.
945 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
946 (LEADING_BYTE_DAIKANWA_1): Deleted.
947 (LEADING_BYTE_DAIKANWA_2): Deleted.
948 (MIN_CHAR_DAIKANWA): Deleted.
949 (MAX_CHAR_DAIKANWA): Deleted.
951 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
953 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
954 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
955 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
957 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
958 (Vcharset_ideograph_daikanwa): Deleted.
959 (Qideograph_hanziku_{1..12}): Deleted.
960 (Qideograph_daikanwa): Deleted.
961 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
962 Vcharset_ideograph_daikanwa.
963 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
964 `ideograph-hanziku-{1..12}'.
965 (complex_vars_of_mule_charset): Likewise.
967 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
969 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
971 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
972 (Qideograph_gt_pj_{1..11}): Deleted.
973 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
974 (complex_vars_of_mule_charset): Likewise.
976 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
978 * mule-charset.c (Vcharset_ucs_big5): Deleted.
979 (Vcharset_ideograph_gt): Deleted.
980 (Qucs_big5): Deleted.
981 (Qideograph_gt): Deleted.
982 (syms_of_mule_charset): Delete symbol `ucs-big5' and
984 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
987 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
988 (LEADING_BYTE_GT): Deleted.
989 (MIN_CHAR_GT): Deleted.
990 (MAX_CHAR_GT): Deleted.
992 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
994 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
996 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
998 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
999 (save_uint16_byte_table): Likewise.
1000 (save_byte_table): Likewise; convert values by it.
1001 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
1002 for `ideographic-structure'.
1003 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
1004 as the filter for `ideographic-structure'.
1006 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1008 * chartab.c (put_char_composition): New function.
1009 (Fput_char_attribute): Use `put_char_composition'; use
1010 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
1012 * fns.c (simplify_char_spec): New function.
1013 (char_ref_simplify_spec): New function.
1014 (Fchar_refs_simplify_char_specs): New function.
1015 (syms_of_fns): Add new builtin function
1016 `char-refs-simplify-char-specs'.
1018 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1020 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
1021 (Qideograph_cbeta): Deleted.
1022 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
1023 (complex_vars_of_mule_charset): Likewise.
1025 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
1026 (MIN_CHAR_CBETA): Comment out.
1027 (MAX_CHAR_CBETA): Likewise.
1029 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1031 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
1032 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
1033 CHISE client feature.
1035 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1037 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
1039 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1041 * mule-charset.c (charset_lookup_description_1): Use
1042 `NUM_LEADING_BYTES' in UTF-2000.
1044 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1046 * char-ucs.h (GC_CHARSETP): Deleted.
1048 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1050 * char-ucs.h (MAX_CHAR_GT): Updated.
1052 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1054 * text-coding.c: Sync with XEmacs 21.4.10.
1056 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1058 * mule-charset.c (Vcharset_china3_jef): Deleted.
1059 (Qchina3_jef): Deleted.
1060 (syms_of_mule_charset): Don't define `china3-jef'.
1061 (complex_vars_of_mule_charset): Likewise.
1063 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
1064 (MIN_CHAR_CHINA3_JEF): Comment out.
1065 (MAX_CHAR_CHINA3_JEF): Comment out.
1067 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1069 * mule-charset.c (Vcharset_ucs_gb): New variable.
1070 (Qucs_gb): New variable.
1071 (syms_of_mule_charset): Add new symbol `ucs-gb'.
1072 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
1074 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
1076 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1078 * mule-charset.c (charset_code_point): if a coded-charset has a
1079 final-byte, don't inherit the builtin range of the mother CCS.
1081 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1083 * mule-charset.c (charset_code_point): Fix problem about
1086 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1088 * mule-charset.c (decode_builtin_char): Reorganized.
1090 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1092 * text-coding.c (char_encode_as_entity_reference): Modify for
1093 `charset_code_point'.
1094 (char_encode_shift_jis): Likewise.
1095 (char_encode_big5): Likewise.
1096 (char_encode_utf8): Likewise.
1097 (char_encode_iso2022): Likewise.
1099 * mule-charset.c (charset_code_point): Add new argument
1101 (Fencode_char): Add new optional argument `defined_only'.
1103 * chartab.c (put_char_table): Modify for `charset_code_point'.
1105 * char-ucs.h (charset_code_point): Add new argument
1107 (encode_char_1): Modify for `charset_code_point'.
1109 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1111 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
1112 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
1114 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1116 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
1117 (Qjis_x0208): Likewise.
1118 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
1119 XCHARSET_FINAL(charset).
1120 (charset_code_point): Modify condition for final-byte based
1122 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
1123 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
1124 in UTF-2000; specify `=jis-x0208' as the mother of
1125 `japanese-jisx0208-1978', `japanese-jisx0208' and
1126 `japanese-jisx0208-1990' in UTF-2000.
1128 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1130 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
1132 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1134 * text-coding.c (decode_coding_utf16): Support UTF-16.
1135 (char_encode_utf16): Fixed.
1137 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1139 * text-coding.c (Qutf16): New variable in MULE.
1140 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
1141 (Fcoding_system_type): Add `utf-16' in MULE.
1142 (struct detection_state): Add a structure for utf16 in MULE.
1143 (detect_coding_type): Setup st->utf16.mask in MULE.
1144 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
1146 (reset_encoding_stream): Use `char_encode_utf16' and
1147 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
1148 (detect_coding_utf16): New function [incomplete].
1149 (decode_coding_utf16): New function [support only UCS-2].
1150 (char_encode_utf16): New function.
1151 (char_finish_utf16): New function.
1152 (syms_of_file_coding): Add new symbol `utf-16'; setup
1153 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
1155 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
1157 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
1158 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
1160 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1162 * chartab.c (put_char_table): When a charset is specified as a
1163 range in UTF-2000, don't support builtin characters.
1165 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1167 * mule-charset.c (decode_defined_char): Don't refer external
1168 database if Qunbound or Qnil are found.
1169 (Fsave_charset_mapping_table): Don't define it if
1170 HAVE_CHISE_CLIENT is not defined.
1171 (Freset_charset_mapping_table): New function.
1172 (load_char_decoding_entry_maybe): Store Qnil if a character is not
1173 found in external database.
1174 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
1175 if HAVE_CHISE_CLIENT is not defined; add new builtin function
1176 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
1178 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1180 * text-coding.c (decode_coding_utf8): Check CCS is specified or
1183 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1185 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
1186 Q_lowercase, Q_uppercase in UTF-2000.
1188 * chartab.c (get_char_table): Add special code for the standard
1189 case table to use character attribute `->downcase' and
1190 `->uppercase' for case operations in UTF-2000.
1192 * casetab.c (Qflippedcase): New variable in UTF-2000.
1193 (Q_lowercase): Likewise.
1194 (Q_uppercase): Likewise.
1195 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
1196 and `->uppercase' in UTF-2000.
1197 (complex_vars_of_casetab): Assign attribute name `downcase' to
1198 downcase and CANON table of Vstandard_case_table in UTF-2000;
1199 assign attribute name `flippedcase' to upcase and EQV table of
1200 Vstandard_case_table in UTF-2000.
1202 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1204 * text-coding.c (decode_add_er_char): Support isolated-chars.
1205 (char_encode_as_entity_reference): Likewise.
1207 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1209 * emacs.c (Vutf_2000_lisp_directory): New variable.
1210 (Vconfigure_utf_2000_lisp_directory): Likewise.
1211 (complex_vars_of_emacs): Add new variable
1212 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
1214 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1216 * char-ucs.h (DECODE_CHAR): Delete special code for
1217 `chinese-big5-1' and `chinese-big5-2'.
1219 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
1220 (Qbig5_2): Likewise.
1221 (decode_defined_char): Support CONVERSION_BIG5_1 and
1223 (decode_builtin_char): Likewise.
1224 (charset_code_point): Likewise.
1225 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
1226 'conversion in UTF-2000.
1227 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
1228 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
1229 `chinese-big5-2' as children of `chinese-big5'.
1231 * char-ucs.h (CONVERSION_BIG5_1): New macro.
1232 (CONVERSION_BIG5_2): New macro.
1234 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1236 * text-coding.c (char_encode_big5): Support entity-reference.
1238 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1240 * text-coding.c (char_encode_as_entity_reference): New function.
1241 (char_encode_utf8): Use `char_encode_as_entity_reference'.
1243 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1245 * text-coding.c (decode_coding_big5): Support entity-reference
1248 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1250 * text-coding.c (allocate_coding_system): Initialize initial
1251 charsets for CODESYS_UTF8.
1252 (Fmake_coding_system): Accept charset-g0, charset-g1 and
1253 charset-g2 for CODESYS_UTF8.
1254 (decode_coding_utf8): Use charset-g0.
1255 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
1256 to force variants to map to UCS.
1258 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1260 * text-coding.c (Qutf_8_mcs): New variable.
1261 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
1262 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
1263 instead of `utf-8' in UTF-2000.
1265 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1267 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
1268 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
1269 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
1270 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
1271 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
1272 CONVERSION_96x96x96x96 are introduced.
1273 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
1274 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
1275 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
1277 * char-ucs.h (CONVERSION_94): New macro.
1278 (CONVERSION_96): New macro.
1279 (CONVERSION_94x94): New macro.
1280 (CONVERSION_96x96): New macro.
1281 (CONVERSION_94x94x94): New macro.
1282 (CONVERSION_96x96x96): New macro.
1283 (CONVERSION_94x94x94x60): New macro.
1284 (CONVERSION_94x94x94x94): New macro.
1285 (CONVERSION_96x96x96x96): New macro.
1287 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1289 * chartab.c (Vcharacter_variant_table): Deleted.
1290 (Fchar_variants): Use character-attribute `->ucs-variants' instead
1291 of `Vcharacter_variant_table'.
1292 (Fput_char_attribute): Likewise.
1293 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
1294 (complex_vars_of_chartab): Likewise.
1296 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1298 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
1300 * fns.c (Qideographic_structure): New variable.
1301 (Qkeyword_char): New variable.
1302 (ids_format_unit): New function.
1303 (Fideographic_structure_to_ids): New function.
1304 (syms_of_fns): Add new symbols `ideographic-structure' and
1305 `:char'; add new builtin function `ideographic-structure-to-ids'.
1307 * data.c (Fchar_ref_p): New function.
1308 (syms_of_data): Add new builtin function `char-ref-p'.
1310 * chartab.h: Add an EXFUN for `Ffind_char'.
1312 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1314 * text-coding.c (Vcharacter_composition_table): Deleted.
1315 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
1318 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
1320 (Vcharacter_composition_table): Deleted.
1321 (Fget_composite_char): Use the implementation for external-DB
1322 support in every UTF-2000.
1323 (Fput_char_attribute): Likewise.
1324 (char_attribute_system_db_file): Don't define if external-DB
1325 feature is not available.
1326 (Fsave_char_attribute_table): Likewise.
1327 (Fmount_char_attribute_table): Likewise.
1328 (Fclose_char_attribute_table): Likewise.
1329 (Freset_char_attribute_table): Likewise.
1330 (Fload_char_attribute_table): Likewise.
1331 (syms_of_chartab): Don't define `save-char-attribute-table',
1332 `mount-char-attribute-table', `reset-char-attribute-table',
1333 `close-char-attribute-table' and `load-char-attribute-table' if
1334 external-DB feature is not available.
1335 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
1337 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1339 * text-coding.c (Qcomposition): Add extern if external-DB feature
1341 (Vcharacter_composition_table): Don't add extern if external-DB
1342 feature is supported.
1343 (COMPOSE_ADD_CHAR): Modify for new data-representation of
1344 character composition rule if external-DB feature is supported.
1346 * chartab.c (Vcharacter_composition_table): Don't define if
1347 external-DB feature is supported.
1348 (Qcomposition): New variable.
1349 (Fget_composite_char): New implementation for external-DB support.
1350 (Fput_char_attribute): Use `composition' property of each
1351 character instead of `Vcharacter_composition_table' to store
1352 character-composition rules if external-DB feature is supported.
1353 (syms_of_chartab): Add new symbol `composition'.
1354 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
1355 external-DB feature is supported.
1357 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1359 * chartab.c (Vchar_db_stingy_mode): New variable.
1360 (load_char_attribute_maybe): Close database if
1361 Vchar_db_stingy_mode is not NIL.
1362 (Fload_char_attribute_table_map_function): Use
1363 `get_char_id_table_0' instead of `get_char_id_table'.
1364 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
1366 * chartab.h (get_char_id_table_0): New inline function.
1367 (get_char_id_table): Use `get_char_id_table_0'.
1369 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1371 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
1372 and `COMPOSE_ADD_CHAR'.
1373 (decode_coding_iso2022): Use `decode_flush_er_chars'.
1375 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1377 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
1378 instead of `DECODE_ADD_UCS_CHAR'.
1379 (COMPOSE_ADD_CHAR): Likewise.
1381 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1383 * text-coding.c (decode_flush_er_chars): New inline function.
1384 (decode_add_er_char): New function.
1385 (decode_coding_utf8): Use `decode_flush_er_chars' and
1386 `decode_add_er_char'.
1388 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1390 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
1391 done before `decode_output_utf8_partial_char'.
1393 * mule-charset.c (complex_vars_of_mule_charset): Specify
1394 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
1395 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
1397 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1399 * mule-charset.c (decode_defined_char): New function; search
1401 (decode_builtin_char): Don't search mother if
1402 XCHARSET_MAX_CODE(charset) == 0.
1403 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
1404 == 0 even if code >= XCHARSET_MAX_CODE(charset).
1405 (Fdecode_char): Use `decode_defined_char' instead of
1406 `DECODE_DEFINED_CHAR'.
1407 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
1408 mother of `Vcharset_ucs_jis'.
1410 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
1411 instead of `DECODE_DEFINED_CHAR'.
1413 * char-ucs.h (decode_defined_char): Renamed from
1414 `DECODE_DEFINED_CHAR'; changed to normal function.
1415 (DECODE_CHAR): Use `decode_defined_char' instead of
1416 `DECODE_DEFINED_CHAR'.
1418 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
1420 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1422 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
1424 * text-coding.c (Vcoded_charset_entity_reference_alist): New
1426 (Quse_entity_reference): New variable.
1430 (coding_system_description): Add description for
1431 `ccs_priority_list'.
1432 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
1433 (allocate_coding_system): Initialize `ccs_priority_list' in
1435 (Fmake_coding_system): Add description about
1436 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
1438 (Fcoding_system_property): Accept `disable-composition' and
1439 `use-entity-reference' in UTF-2000.
1440 (struct decoding_stream): Add new member `er_counter' and `er_buf'
1442 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
1443 (decode_coding_utf8): Decode entity-reference if
1444 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
1445 (char_encode_utf8): Encode non-Unicode characters as
1446 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
1448 (syms_of_file_coding): Add new symbols `use-entity-reference',
1450 (vars_of_file_coding): Add new variable
1451 `coded-charset-entity-reference-alist'.
1452 (complex_vars_of_file_coding): Declare `disable-composition' and
1453 `use-entity-reference' to be coding-system-properties in UTF-2000.
1455 * file-coding.h (struct Lisp_Coding_System): Add new member
1456 `use_entity_reference' and `ccs_priority_list'.
1457 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1458 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
1459 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1461 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1463 * chartab.c (save_uint8_byte_table): Don't clear the table.
1464 (save_uint16_byte_table): Likewise.
1465 (save_byte_table): Likewise.
1466 (Fmount_char_attribute_table): New function.
1467 (syms_of_chartab): Add new builtin function
1468 `mount-char-attribute-table'.
1470 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1472 * mule-charset.c (Fsave_charset_mapping_table): Open database as
1474 (load_char_decoding_entry_maybe): Open database as read-only mode.
1476 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
1477 open database as "w+" mode.
1478 (load_char_attribute_maybe): Open database as read-only mode.
1479 (Fload_char_attribute_table): Likewise.
1481 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1483 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
1484 (char_table_description): Delete member `db_file'.
1485 (Fmake_char_table): Don't refer `ct->db_file'.
1486 (Fcopy_char_table): Likewise.
1487 (Fsave_char_attribute_table): Likewise.
1488 (Fclose_char_attribute_table): Likewise.
1489 (Freset_char_attribute_table): Likewise.
1490 (load_char_attribute_maybe): Likewise.
1491 (Fload_char_attribute_table): Likewise.
1493 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
1495 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1497 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
1498 (Fsave_char_attribute_table): Don't check `ct->db_file' if
1500 (load_char_attribute_maybe): Likewise.
1501 (Fload_char_attribute_table): Likewise.
1503 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1505 * chartab.c (Fclose_char_attribute_table): Set Qnil on
1506 `ct->db_file' unconditionally.
1508 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1510 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
1512 (char_table_description): Add description for `db_file' and `db'
1514 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
1516 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
1517 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
1518 (Fclose_char_attribute_table): New function.
1519 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
1520 (load_char_attribute_maybe): Change interface; use `cit->db_file'
1522 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
1523 (syms_of_chartab): Add new builtin function
1524 `Fclose_char_attribute_table'.
1526 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1528 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
1530 (load_char_attribute_maybe): Change interface.
1531 (get_char_id_table): Modify for `load_char_attribute_maybe'.
1533 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1535 * database.h: Add an EXFUN for `Fdatabase_live_p'.
1537 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1539 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
1540 instead of `DECODE_CHAR' for mother; don't use special code for
1541 chinese-big5 to use code space of chinese-big5-1 and
1543 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
1544 `MAX_CHAR_BIG5_CDP' for chinese-big5.
1546 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
1547 (MAX_CHAR_BIG5_CDP): Revival.
1549 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1551 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
1552 the XLFD registry-encoding name of `chinese-big5'.
1554 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1556 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
1557 (Qchinese_big5_cdp): Deleted.
1558 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
1559 (complex_vars_of_mule_charset): Delete coded-charset
1562 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
1563 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
1564 `CHARSET_ID_OFFSET - n' for private CCS.
1565 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
1566 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
1567 of `MIN_LEADING_BYTE'.
1568 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
1569 `(CHARSET_ID_OFFSET - 97)'.
1570 (MIN_CHAR_BIG5_CDP): Deleted.
1571 (MAX_CHAR_BIG5_CDP): Deleted.
1573 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1575 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
1577 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1579 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
1580 (vars_of_mule): Add new variable `utf-2000-version' [moved from
1583 * chartab.c (Vutf_2000_version): Moved to mule.c.
1584 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
1586 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1588 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
1589 when HAVE_CHISE_CLIENT is not defined.
1591 * mule.c (vars_of_mule): Provide feature `chise' when
1592 HAVE_CHISE_CLIENT is defined.
1594 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1596 * config.h.in (UTF2000): Add comment.
1597 (HAVE_CHISE_CLIENT): New macro.
1599 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1601 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
1603 (Fput_char_attribute): Likewise.
1604 (char_attribute_system_db_file): Encode file-name of attribute.
1605 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
1608 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1610 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
1611 (Fsave_charset_mapping_table): Use
1612 `char_attribute_system_db_file'.
1613 (load_char_decoding_entry_maybe): Likewise.
1615 * chartab.h (Qsystem_char_id): New external variable.
1616 (char_attribute_system_db_file): New prototype.
1618 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
1619 (char_attribute_system_db_file): New function.
1620 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
1621 (Freset_char_attribute_table): Likewise.
1622 (load_char_attribute_maybe): Likewise.
1623 (Fload_char_attribute_table): Likewise.
1624 (syms_of_chartab): Add new symbol `system-char-id'.
1626 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1628 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
1629 `XCHARSET_GRAPHIC(ccs)'.
1631 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1633 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
1635 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1637 * chartab.c (Q_ucs_variants): New variable.
1638 (syms_of_chartab): Add new symbol `->ucs-variants'.
1639 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
1640 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
1641 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
1643 * mule-charset.c (load_char_decoding_entry_maybe): New function.
1645 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
1646 `HAVE_DATABASE' is defined.
1647 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
1648 `HAVE_DATABASE' is defined.
1650 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1652 * chartab.c (Fsave_char_attribute_table): Don't clear internal
1654 (Freset_char_attribute_table): New function.
1655 (syms_of_chartab): Add new builtin function
1656 `reset-char-attribute-table'.
1658 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1660 * chartab.c (load_char_attribute_maybe): Don't make directories.
1662 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1664 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
1666 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
1669 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1671 * mule-charset.c (Fsave_charset_mapping_table): Use
1672 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
1674 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
1675 instead of `XCHARSET_CHARS'.
1677 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1679 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
1680 (XCHARSET_BYTE_SIZE): Likewise.
1682 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
1684 (XCHARSET_BYTE_SIZE): Likewise.
1686 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1688 * chartab.c (Fput_char_attribute): Use exec-directory instead of
1689 data-directory to store database.
1690 (Fsave_char_attribute_table): Likewise.
1691 (load_char_attribute_maybe): Likewise.
1692 (Fload_char_attribute_table): Likewise.
1694 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1696 * mule-charset.c (Fsave_charset_mapping_table): New function.
1697 (syms_of_mule_charset): Add new builtin function
1698 `save-charset-mapping-table'.
1700 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1702 * char-ucs.h (decoding_table_check_elements): Delete prototype.
1703 (get_ccs_octet_table): New inline function.
1704 (put_ccs_octet_table): Likewise.
1705 (decoding_table_put_char): Use `get_ccs_octet_table' and
1706 `put_ccs_octet_table'.
1707 (decoding_table_remove_char): Use `decoding_table_put_char'.
1708 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
1710 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
1711 into encoding_table.
1712 (make_charset): Use Qunbound instead Qnil as initial value of
1715 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1717 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
1718 element is Qunloaded.
1719 (map_over_uint16_byte_table): Likewise.
1720 (map_over_byte_table): Likewise.
1721 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
1722 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
1723 database support, load encoding-table of the specified
1724 coded-charset if it is not loaded yet.
1725 (save_uint8_byte_table): New function of UTF-2000 with external
1727 (save_uint16_byte_table): Likewise.
1728 (save_byte_table): Likewise.
1729 (Fput_char_attribute): Don't store value into external database
1730 even if the external database feature is supported in UTF-2000;
1731 set `attribute' as name of char-table if the external database
1732 feature is supported.
1733 (Fsave_char_attribute_table): New function in UTF-2000.
1734 (syms_of_chartab): Add new builtin function
1735 `save-char-attribute-table' in UTF-2000.
1737 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1739 * chartab.c (char_attribute_table_to_put): New variable in
1741 (Qput_char_table_map_function): Likewise.
1742 (value_to_put): Likewise.
1743 (Fput_char_table_map_function): New function in UTF-2000.
1744 (put_char_table): Use `Fmap_char_attribute' for
1745 CHARTAB_RANGE_CHARSET in UTF-2000.
1746 (Fput_char_attribute): Store symbol instead of string in
1747 `XCHAR_TABLE_NAME (table)'.
1748 (load_char_attribute_maybe): Likewise.
1749 (syms_of_chartab): Add new symbol/function
1750 `put-char-table-map-function'.
1752 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1754 * database.h: Add new EXFUN for `Fmap_database'.
1756 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
1757 (syms_of_database): Likewise.
1759 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
1761 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
1762 (XCHAR_TABLE_UNLOADED): Likewise.
1764 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
1765 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
1766 HAVE_DATABASE is defined.
1767 (char_attribute_table_to_load): New variable of UTF-2000 with
1768 external database support.
1769 (Qload_char_attribute_table_map_function): Likewise.
1770 (Fload_char_attribute_table_map_function): New function of
1771 UTF-2000 with external database support.
1772 (Fload_char_attribute_table): New function of UTF-2000.
1773 (Fmap_char_attribute): Call Fload_char_attribute_table if
1774 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
1775 (syms_of_chartab): Add new symbol and function
1776 `load-char-attribute-table-map-function' in UTF-2000 with external
1777 database support; add new function `load-char-attribute-table' in
1780 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1782 * chartab.h (load_char_attribute_maybe): New prototype for
1783 UTF-2000 with DATABASE support.
1784 (get_char_id_table): Use `load_char_attribute_maybe' if
1785 HAVE_DATABASE is defined.
1787 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
1788 with DATABASE support.
1790 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1792 * chartab.c (Fput_char_attribute): Use S-expression as key of
1795 * chartab.h (get_char_id_table): Use S-expression as key of
1798 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1800 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
1801 if an element is not loaded, load the corresponding attributes
1802 from an external database.
1803 (map_over_uint16_byte_table): Likewise.
1804 (map_over_byte_table): Likewise.
1805 (map_char_table): Modify for `map_over_uint8_byte_table',
1806 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
1807 element is not loaded, load the corresponding attributes from an
1809 (Fput_char_attribute): Change initial values to Qunloaded.
1811 * chartab.h (get_char_id_table): If a character attribute is not
1812 loaded and the attribute value is not found in an external
1813 database, store Qunbound as the attribute value.
1815 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1817 * chartab.c (BT_UINT8_unloaded): New macro.
1818 (UINT8_VALUE_P): Accept Qunloaded.
1819 (UINT8_ENCODE): Likewise.
1820 (UINT8_DECODE): Likewise.
1821 (BT_UINT16_unloaded): New macro.
1822 (UINT16_VALUE_P): Accept Qunloaded.
1823 (UINT16_ENCODE): Likewise.
1824 (UINT16_DECODE): Likewise.
1825 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
1827 (mark_char_table): Mark `ct->name' in UTF-2000.
1828 (char_table_description): Add `name' in UTF-2000.
1829 (Fmake_char_table): Initialize `ct->name'.
1830 (Fcopy_char_table): Copy `ct->name'.
1831 (Fput_char_attribute): Store value into an external database if
1832 HAVE_DATABASE is defined.
1834 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
1836 (CHAR_TABLE_NAME): New macro in UTF-2000.
1837 (XCHAR_TABLE_NAME): New macro in UTF-2000.
1838 (get_char_id_table): Try to read an external database if Qunloaded
1839 is stored in a table.
1841 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
1844 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1846 * database.h: Add EXFUN definitions for Fopen_database,
1847 Fput_database, Fget_database and Fclose_database.
1849 * data.c (Qunloaded): New variable in UTF-2000.
1851 * lisp.h (Qunloaded): New variable in UTF-2000.
1853 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1855 * mule-charset.c (put_char_ccs_code_point): Modify for
1856 `decoding_table_remove_char' and `decoding_table_put_char'.
1857 (remove_char_ccs): Modify for `decoding_table_remove_char'.
1859 * char-ucs.h (decoding_table_remove_char): Change arguments to
1860 hide decoding_table vector.
1861 (decoding_table_put_char): Likewise.
1863 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1865 * mule-charset.c (decoding_table_remove_char): Moved to
1867 (decoding_table_put_char): Likewise.
1869 * char-ucs.h (decoding_table_check_elements): New prototype [moved
1870 from mule-charset.c].
1871 (decoding_table_remove_char): New inline function [moved from
1873 (decoding_table_put_char): Likewise.
1875 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1877 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
1880 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1882 * mule-charset.c (decode_builtin_char): Support mother charsets.
1884 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1886 * mule-charset.c (Q94x94x60): New variable.
1887 (charset_code_point): Support conversion `94x94x60'.
1888 (Fmake_charset): Likewise.
1889 (syms_of_mule_charset): Add new symbol `94x94x60'.
1891 * char-ucs.h (CONVERSION_94x94x60): New macro.
1893 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1895 * mule-charset.c (charset_code_point): Unify code about
1898 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1900 * mule-charset.c (charset_code_point): Merge code about builtin
1901 characters into code about mother charsets; don't use
1902 `range_charset_code_point'.
1903 (range_charset_code_point): Deleted.
1905 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1907 * mule-charset.c (Qcode_offset): New variable.
1908 (Fmake_charset): Use `XUINT' to get value of `min-code' and
1909 `max-code'; accept new property `code-offset'.
1910 (syms_of_mule_charset): Add new symbol `code-offset'.
1912 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1914 * mule-charset.c (range_charset_code_point): Fixed.
1916 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1918 * mule-charset.c (decode_builtin_char): Change semantics of
1919 code-offset of coded-charset.
1920 (charset_code_point): Likewise.
1921 (range_charset_code_point): Likewise.
1922 (complex_vars_of_mule_charset): Modify for the change.
1924 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1926 * mule-charset.c (Fencode_char): Reverse arguments.
1928 * mule-charset.c (charset_code_point): Fixed.
1930 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1932 * mule-charset.c (Vcharset_mojikyo): Deleted.
1933 (Vcharset_mojikyo_2022_1): Deleted.
1934 (Vcharset_mojikyo_pj_{1..21}): Deleted.
1935 (Qmin_code): New variable in UTF-2000.
1936 (Qmax_code): Likewise.
1937 (Qmother): Likewise.
1938 (Qconversion): Likewise.
1940 (Qmojikyo): Deleted.
1941 (Qmojikyo_2022_1): Deleted.
1942 (Qmojikyo_pj_{1..22}): Deleted.
1943 (mark_charset): Mark `cs->mother'.
1944 (charset_description): Add description for `mother'.
1945 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
1946 new arguments `mother' and `conversion'; use
1947 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
1948 (charset_code_point): Moved from char-ucs.h; support `mother'
1950 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
1951 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
1952 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
1953 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
1954 allow 2 as the value of `graphic' in UTF-2000; add new properties
1955 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
1956 require `final' in UTF-2000; modify for `make_charset'.
1957 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
1958 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
1959 (Fcharset_property): Support `mother', `min-code' and `max-code'.
1960 (Fencode_char): New function.
1961 (syms_of_mule_charset): Add new builtin function `encode-char' in
1962 UTF-2000; add new symbols `min-code', `max-code', `mother',
1963 `conversion' and `94x60'; delete symbols `mojikyo',
1964 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
1965 (complex_vars_of_mule_charset): Modify for `make_charset' change;
1966 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
1967 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
1969 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
1970 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
1972 * char-ucs.h (Vcharset_mojikyo): Deleted.
1973 (Vcharset_mojikyo_2022_1): Deleted.
1974 (LEADING_BYTE_MOJIKYO): Deleted.
1975 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
1976 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
1977 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
1978 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
1979 add new member `mother'; add new member `conversion'.
1980 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
1981 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
1982 (CHARSET_MOTHER): New macro.
1983 (CHARSET_CONVERSION): New macro.
1984 (CONVERSION_IDENTICAL): New macro.
1985 (CONVERSION_94x60): New macro.
1986 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
1987 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
1988 (XCHARSET_MOTHER): New macro.
1989 (XCHARSET_CONVERSION): New macro.
1990 (MIN_CHAR_MOJIKYO): Deleted.
1991 (MAX_CHAR_MOJIKYO): Deleted.
1992 (DECODE_MOJIKYO_2022): Deleted.
1993 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
1994 (charset_code_point): Changed to non-inline function.
1995 (encode_char_1): Use `charset_code_point'.
1996 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
1998 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2000 * lread.c (read_compiled_function): Fix prototype.
2001 (read_vector): Likewise.
2003 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2005 * lrecord.h (struct lrecord_header): Delete `older'.
2006 (set_lheader_implementation): Delete code for `older'.
2007 (set_lheader_older_implementation): Deleted.
2008 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
2009 (OLDER_RECORD_P): Deleted.
2010 (OLDER_RECORD_HEADER_P): Deleted.
2011 (alloc_older_lcrecord): Deleted.
2012 (alloc_older_lcrecord_type): Deleted.
2014 * alloc.c (all_older_lcrecords): Deleted.
2015 (alloc_older_lcrecord): Deleted.
2016 (disksave_object_finalization_1): Delete code for older objects.
2017 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
2018 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
2020 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2022 * mule-charset.c (decoding_table_put_char): Use `make_vector'
2023 instead of `make_older_vector'.
2024 (put_char_ccs_code_point): Likewise.
2025 (mark_charset): Mark `cs->decoding_table'.
2026 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
2028 * lisp.h (make_older_vector): Deleted.
2029 (make_vector_newer): Deleted.
2031 * config.h.in (HAVE_GGC): Deleted.
2033 * alloc.c (make_older_vector): Deleted.
2034 (make_vector_newer_1): Deleted.
2035 (make_vector_newer): Deleted.
2037 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2039 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
2040 (Qideograph_daikanwa_2): New variable.
2041 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
2042 (complex_vars_of_mule_charset): Add new coded-charset
2043 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
2044 `LEADING_BYTE_DAIKANWA'.
2046 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
2047 (LEADING_BYTE_DAIKANWA_1): New macro.
2048 (LEADING_BYTE_DAIKANWA_2): New macro.
2049 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
2051 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2053 * mule-charset.c (complex_vars_of_mule_charset): Change
2054 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
2055 the second revised version.
2057 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2059 * mule-charset.c (Vcharset_ucs_smp): New variable.
2060 (Vcharset_ucs_sip): New variable.
2061 (Qucs_smp): New variable.
2062 (Qucs_sip): New variable.
2063 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
2064 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
2065 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
2066 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
2067 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
2068 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
2070 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
2071 (LEADING_BYTE_UCS_SIP): New macro.
2072 (MIN_CHAR_SMP): New macro.
2073 (MAX_CHAR_SMP): New macro.
2074 (MIN_CHAR_SIP): New macro.
2075 (MAX_CHAR_SIP): New macro.
2077 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
2079 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
2082 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2084 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
2085 value; don't store value into `encoding_table' of `Lisp_Charset'.
2086 (mark_charset): `encoding_table' was deleted.
2087 (charset_description): Likewise.
2088 (make_charset): Likewise.
2089 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
2090 `put_char_ccs_code_point'.
2092 * chartab.h (Fput_char_attribute): New EXFUN.
2094 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
2095 is unified with normal symbol space.
2096 (Fget_char_attribute): Likewise.
2097 (Fput_char_attribute): Likewise; behavior of
2098 `put_char_ccs_code_point' is changed.
2100 * char-ucs.h: Include "elhash.h".
2101 (Vchar_attribute_hash_table): New external variable.
2102 (struct Lisp_Charset): Delete `encoding_table'.
2103 (CHARSET_ENCODING_TABLE): New implementation; refer
2104 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
2107 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2109 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
2112 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2114 * text-coding.c (char_encode_big5): Prefer charset-g1 than
2117 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2119 * chartab.c (uint8_byte_table_description): New constant.
2120 (uint8-byte-table): Use `uint8_byte_table_description'.
2121 (uint16_byte_table_description): New constant.
2122 (uint16-byte-table): Use `uint16_byte_table_description'.
2124 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2126 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
2127 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
2129 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2131 * mule-charset.c (Vcharset_ucs_ks): New variable.
2132 (Qucs_ks): New variable.
2133 (syms_of_mule_charset): Add new symbol `ucs-ks'.
2134 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
2136 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
2138 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2140 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
2141 (Fdecode_char): Likewise.
2143 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
2145 (Fdefine_char): Modify for Fdecode_char.
2146 (Ffind_char): Likewise.
2148 * mule-charset.c (Fdecode_char): Add new optional argument
2150 (Fdecode_builtin_char): Modify for `Fdecode_char'.
2152 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2154 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
2155 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
2156 (allocate_coding_system): Initialize initial-charsets of
2157 CODESYS_BIG5 in XEmacs UTF-2000.
2158 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
2159 CODESYS_BIG5 in XEmacs UTF-2000.
2160 (decode_coding_big5): Use initial-charset-g0 and -g1 of
2161 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
2163 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
2165 (Qideograph_hanziku_{1 .. 12}): Likewise.
2166 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
2168 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
2169 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
2170 `ideograph-hanziku-{1 .. 12}'.
2172 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
2173 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
2174 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
2175 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
2176 (DECODE_DEFINED_CHAR): New inline function.
2177 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
2179 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2181 * mule-charset.c (Vcharset_china3_jef): Renamed from
2182 `Vcharset_japanese_jef_china3'.
2183 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
2184 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
2185 `{MIN|MAX}_CHAR_JEF_CHINA3'..
2186 (syms_of_mule_charset): Rename `china3-jef' from
2187 `japanese-jef-china3'.
2188 (complex_vars_of_mule_charset): Likewise; rename
2189 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
2191 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
2192 `LEADING_BYTE_JEF_CHINA3'.
2193 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
2194 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
2196 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2198 * mule-charset.c (encode_builtin_char_1): Comment out special code
2199 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
2201 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
2202 (MAX_CHAR_MOJIKYO_0): Comment out.
2203 (MIN_CHAR_CBETA): Changed to 0x00E20000.
2204 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
2205 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
2206 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
2208 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2210 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
2211 (Qideograph_cbeta): New variable.
2212 (encode_builtin_char_1): Comment out special code for
2213 coded-charset `mojikyo' and `japanese-jef-china3'.
2214 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
2215 (complex_vars_of_mule_charset): Add new coded-charset
2218 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
2219 (MIN_CHAR_CBETA): New macro.
2220 (MAX_CHAR_CBETA): New macro.
2222 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2224 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
2225 (LEADING_BYTE_JEF_CHINA3): New macro.
2226 (MIN_CHAR_JEF_CHINA3): New macro.
2227 (MAX_CHAR_JEF_CHINA3): Likewise.
2228 (DECODE_CHAR): Fixed.
2230 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2232 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
2233 (Qjapanese_jef_china3): New variable.
2234 (encode_builtin_char_1): Support `japanese-jef-china3'.
2235 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
2236 (complex_vars_of_mule_charset): Add new coded-charset
2237 `japanese-jef-china3'.
2239 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2241 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
2242 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
2243 94^4, 96^3, 96^4, 128^n and 256^n set.
2244 (put_char_table): Use `XCHARSET_CELL_RANGE'.
2245 (map_char_table): Likewise.
2247 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2249 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
2252 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2254 * chartab.h (get_char_id_table): New inline function.
2256 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
2259 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2261 * chartab.h (decode_char_table_range): New prototype in XEmacs
2263 (put_char_id_table): New inline function in XEmacs UTF-2000.
2265 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
2267 (decode_char_table_range): Delete static declaration in XEmacs
2270 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2272 * chartab.c (put_char_id_table): Use `put_char_table'.
2274 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2276 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
2277 (map_over_uint16_byte_table): Likewise.
2278 (map_over_byte_table): Likewise.
2279 (map_char_table): Modify for `map_over_uint8_byte_table',
2280 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
2283 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2285 * chartab.c (struct map_char_table_for_charset_arg): New
2287 (map_char_table_for_charset_fun): New function.
2288 (map_char_table): Use `map_char_table' for encoding_table of
2291 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2293 * chartab.c (map_char_table): Check a character is found in
2294 range->charset instead of non default value is defined in
2295 char-table when range is CHARTAB_RANGE_ROW.
2297 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2299 * chartab.c (map_char_id_table): Deleted.
2300 (Fmap_char_attribute): Use `map_char_table' instead of
2301 `map_char_id_table'.
2303 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2305 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
2307 (update_syntax_table): Deleted in XEmacs UTF-2000.
2309 * syntax.c (find_defun_start): Use `syntax_table' instead of
2310 `mirror_syntax_table' in XEmacs UTF-2000.
2311 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
2313 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
2315 (Fmatching_paren): Likewise.
2316 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
2318 (find_start_of_comment): Likewise.
2319 (find_end_of_comment): Likewise.
2320 (Fforward_comment): Likewise.
2321 (scan_lists): Likewise.
2322 (char_quoted): Likewise.
2323 (Fbackward_prefix_chars): Likewise.
2324 (scan_sexps_forward): Likewise.
2325 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
2326 (update_syntax_table): Likewise.
2328 * search.c (skip_chars): Use `syntax_table' instead of
2329 `mirror_syntax_table' in XEmacs UTF-2000.
2330 (wordify): Likewise.
2331 (Freplace_match): Likewise.
2333 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
2334 `mirror_syntax_table' in XEmacs UTF-2000.
2335 (WORDCHAR_P_UNSAFE): Likewise.
2336 (re_match_2_internal): Likewise.
2338 * font-lock.c (find_context): Use `buf->syntax_table' instead of
2339 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2341 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
2342 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
2344 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
2347 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
2349 (print_char_table): Print `default_value' in XEmacs UTF-2000.
2350 (char_table_description): Delete `mirror_table' in XEmacs
2352 (fill_char_table): Don't call `update_syntax_table' in XEmacs
2354 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
2355 (Fcopy_char_table): Likewise.
2356 (put_char_table): Don't call `update_syntax_table' in XEmacs
2359 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
2360 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2361 (casify_region_internal): Likewise.
2363 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
2365 * buffer.c (common_init_complex_vars_of_buffer): Don't use
2366 `mirror_syntax_table' in XEmacs UTF-2000.
2368 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
2369 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2370 (Fexpand_abbrev): Likewise.
2372 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2374 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
2376 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2378 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
2379 (map_over_uint16_byte_table): Likewise.
2380 (map_over_byte_table): Likewise.
2381 (get_char_id_table): Refer `cit->default_value'.
2382 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2383 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
2384 of character-id ranges.
2385 (mark_char_table): Mark `ct->default_value'.
2386 (char_table_description): Add `default_value'.
2387 (fill_char_table): Use `default_value'.
2388 (decode_char_table_range): Decode `nil' as
2389 `CHARTAB_RANGE_DEFAULT'.
2390 (get_char_id_table): Refer `cit->default_value'.
2391 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2392 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
2393 temporary hack; check value of char-table is bound or not.
2394 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
2396 * chartab.h (struct Lisp_Char_Table): Add new member
2397 `default_value' in XEmacs UTF-2000.
2398 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
2399 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
2402 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2404 * chartab.h (Lisp_Char_ID_Table): Deleted.
2406 * chartab.c (char_table_description): Fix typo.
2407 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
2408 `Lisp_Char_ID_Table'.
2410 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2412 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
2415 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
2418 * chartab.h (XCHAR_ID_TABLE): Deleted.
2419 (XSETCHAR_ID_TABLE): Deleted.
2420 (CHAR_ID_TABLE_P): Deleted.
2422 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
2424 (Fget_composite_char): Likewise.
2425 (put_char_table): Likewise.
2426 (add_char_attribute_alist_mapper): Fixed.
2427 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
2429 (Fget_char_attribute): Likewise.
2430 (Fget_char_attribute): Likewise.
2431 (Fmap_char_attribute): Likewise.
2433 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
2435 (encode_char_1): Likewise.
2437 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2439 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
2442 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
2443 instead of `XCHAR_ID_TABLE'.
2444 (remove_char_ccs): Likewise.
2446 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
2448 (Fget_composite_char): Likewise.
2449 (Fchar_variants): Likewise.
2450 (put_char_table): Likewise.
2451 (add_char_attribute_alist_mapper): Likewise.
2452 (Fchar_attribute_alist): Likewise.
2453 (Fget_char_attribute): Likewise.
2454 (Fput_char_attribute): Likewise.
2455 (Fmap_char_attribute): Likewise.
2456 (Fmap_char_attribute): Likewise.
2458 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
2460 (encode_char_1): Likewise.
2462 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2464 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
2465 `Lisp_Char_ID_Table'.
2466 (mark_char_id_table): Deleted.
2467 (print_char_id_table): Likewise.
2468 (char_id_table_equal): Likewise.
2469 (char_id_table_hash): Likewise.
2470 (char_id_table_description): Likewise.
2471 (char_id_table): Likewise.
2472 (make_char_id_table): Use `Fmake_char_table' and
2474 (get_char_id_table): Use `Lisp_Char_Table' instead of
2475 `Lisp_Char_ID_Table'.
2476 (put_char_id_table): Likewise.
2477 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
2479 (Fremove_char_attribute): Likewise.
2480 (syms_of_chartab): Don't define type `char-id-table'.
2482 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
2483 (char_id_table): Likewise.
2484 (GC_CHAR_ID_TABLE_P): Likewise.
2485 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
2486 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
2487 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
2488 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
2489 (get_char_id_table): Use `Lisp_Char_Table' instead of
2490 `Lisp_Char_ID_Table'.
2491 (put_char_id_table_0): Likewise.
2492 (put_char_id_table): Likewise.
2494 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2496 * chartab.h: Lisp_Byte_Table related codes are moved from
2499 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
2501 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2503 * chartab.h: Don't include "chartab.h".
2504 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
2505 (Lisp_Char_ID_Table): Likewise.
2506 (char_id_table): Likewise.
2507 (XCHAR_ID_TABLE): Likewise.
2508 (XSETCHAR_ID_TABLE): Likewise.
2509 (CHAR_ID_TABLE_P): Likewise.
2510 (GC_CHAR_ID_TABLE_P): Likewise.
2511 (get_char_id_table): Likewise.
2513 * char-ucs.h: Include "chartab.h".
2514 (struct Lisp_Char_ID_Table): Moved to chartab.h.
2515 (Lisp_Char_ID_Table): Likewise.
2516 (char_id_table): Likewise.
2517 (XCHAR_ID_TABLE): Likewise.
2518 (XSETCHAR_ID_TABLE): Likewise.
2519 (CHAR_ID_TABLE_P): Likewise.
2520 (GC_CHAR_ID_TABLE_P): Likewise.
2521 (get_char_id_table): Likewise.
2523 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2525 * chartab.c (copy_uint8_byte_table): New function.
2526 (copy_uint16_byte_table): New function.
2527 (copy_byte_table): New function.
2528 (map_over_uint8_byte_table): Modify to avoid huge numbers of
2530 (map_over_uint16_byte_table): Likewise.
2531 (map_over_byte_table): Likewise.
2532 (get_byte_table): Move prototype to chartab.h.
2533 (put_byte_table): Likewise.
2534 (put_char_id_table_0): Moved to chartab.h.
2535 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
2536 (char_table_entry_equal): Likewise.
2537 (char_table_entry_hash): Likewise.
2538 (char_table_entry_description): Likewise.
2539 (char_table_entry): Likewise.
2540 (make_char_table_entry): Likewise.
2541 (copy_char_table_entry): Likewise.
2542 (get_non_ascii_char_table_value): Likewise.
2543 (map_over_charset_ascii): Likewise.
2544 (map_over_charset_control_1): Likewise.
2545 (map_over_charset_row): Likewise.
2546 (map_over_other_charset): Likewise.
2547 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
2548 (print_char_table): Likewise.
2549 (char_table_equal): Likewise.
2550 (char_table_hash): Likewise.
2551 (char_table_description): Likewise.
2552 (fill_char_table): Likewise.
2553 (Fcopy_char_table): Likewise.
2554 (get_char_table): Likewise.
2555 (Fget_range_char_table): Likewise.
2556 (put_char_table): Likewise.
2557 (map_char_table): Likewise.
2558 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
2561 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2563 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
2564 `Vauto_fill_chars' in XEmacs UTF-2000.
2566 * chartab.h (get_byte_table): New prototype [moved from
2568 (put_byte_table): Likewise [moved from chartab.c].
2569 (put_char_id_table_0): New inline function [moved from chartab.c].
2570 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
2571 (Lisp_Char_Table_Entry): Likewise.
2572 (char_table_entry): Likewise.
2573 (XCHAR_TABLE_ENTRY): Likewise.
2574 (XSETCHAR_TABLE_ENTRY): Likewise.
2575 (CHAR_TABLE_ENTRYP): Likewise.
2576 (CHECK_CHAR_TABLE_ENTRY): Likewise.
2577 (NUM_ASCII_CHARS): Likewise.
2578 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
2579 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
2581 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2583 * chartab.c (get_char_id_table): Change interface.
2584 (put_char_id_table_0): New function.
2585 (put_char_id_table): Change interface; new implementation.
2586 (Fget_composite_char): Modify for interface change of
2587 `get_char_id_table'.
2588 (Fchar_variants): Likewise.
2589 (add_char_attribute_alist_mapper): Likewise.
2590 (Fchar_attribute_alist): Likewise.
2591 (Fget_char_attribute): Likewise.
2592 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
2593 as same as character as the first argument like `put-char-table';
2594 modify for interface change of `put_char_id_table'.
2595 (Fremove_char_attribute): Modify for interface change of
2596 `put_char_id_table'.
2598 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2600 * text-coding.c: Sync up with XEmacs 21.2.41.
2601 (COMPOSE_ADD_CHAR): Modify for interface change of
2602 `get_char_id_table'.
2604 * mule-charset.c (put_char_ccs_code_point): Modify for interface
2605 change of `put_char_id_table'.
2606 (remove_char_ccs): Likewise.
2608 * chartab.h (put_char_id_table): Change interface.
2610 * char-ucs.h (get_char_id_table): Change interface.
2611 (charset_code_point): Modify for interface change of
2612 `get_char_id_table'.
2613 (encode_char_1): Likewise.
2615 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2617 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
2619 (map_over_uint16_byte_table): Likewise.
2620 (map_over_byte_table): Likewise.
2621 (map_char_id_table): Add new argument `range' like
2623 (Fmap_char_attribute): Add new argument `range' like
2626 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2628 * chartab.c (map_over_uint8_byte_table): Change interface of
2629 mapping function to use struct chartab_range instead of Emchar.
2630 (map_over_uint16_byte_table): Likewise.
2631 (map_over_byte_table): Likewise.
2632 (map_char_id_table): Likewise.
2633 (struct slow_map_char_id_table_arg): Deleted.
2634 (slow_map_char_id_table_fun): Deleted.
2635 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
2636 function `slow_map_char_table_fun' instead of struct
2637 `slow_map_char_id_table_arg' and function
2638 `slow_map_char_id_table_fun'.
2640 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2642 * mule-charset.c: Move char-it-table related codes to chartab.c.
2643 (Vutf_2000_version): Moved to chartab.c.
2644 (Fdefine_char): Likewise.
2645 (Ffind_char): Likewise.
2646 (syms_of_mule_charset): Move types `uint8-byte-table',
2647 `uint16-byte-table', `byte-table' and `char-id-table' to
2648 chartab.c; move functions `char_attribute_list,
2649 `find_char_attribute_table, `char_attribute_alist,
2650 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
2651 `map_char_attribute, `define_char, `find_char, `char_variants and
2652 `get_composite_char to chartab.c; move symbols `=>ucs',
2653 `->decomposition', `compat', `isolated', `initial', `medial',
2654 `final', `vertical', `noBreak', `fraction', `super', `sub',
2655 `circle', `square', `wide', `narrow', `small' and `font' to
2657 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
2658 setting codes for `Vcharacter_composition_table' and
2659 `Vcharacter_variant_table' to chartab.c.
2660 (complex_vars_of_mule_charset): Move setting code for
2661 `Vchar_attribute_hash_table' to chartab.c.
2663 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
2664 (make_char_id_table): New prototype.
2665 (put_char_id_table): Likewise.
2666 (Fget_char_attribute): Likewise.
2668 * chartab.c: Move char-id-table related code from mule-charset.c.
2669 (Vutf_2000_version): Moved from mule-charset.c.
2671 * char-ucs.h (Qucs): New external variable.
2672 (put_char_ccs_code_point): New prototype.
2673 (remove_char_ccs): Likewise.
2675 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2677 * mule-charset.c (Vcharset_ucs_jis): New variable.
2678 (Qucs_jis): Likewise.
2679 (syms_of_mule_charset): Add new symbol `ucs-jis'.
2680 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
2682 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
2684 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2686 * mule-charset.c (map_over_uint8_byte_table): New function.
2687 (map_over_uint16_byte_table): Likewise.
2688 (map_over_byte_table): Likewise.
2689 (map_char_id_table): Likewise.
2690 (slow_map_char_id_table_fun): Likewise.
2691 (Fmap_char_attribute): Likewise.
2692 (syms_of_mule_charset): Add new function `map-char-attribute'.
2694 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2696 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
2697 (syms_of_mule_charset): Add new function `find-char'.
2699 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2701 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
2703 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
2704 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
2706 (complex_vars_of_mule_charset): Add new coded-charset
2707 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
2708 `ideograph-gt-pj-*'.
2710 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
2712 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2714 * mule-charset.c (encode_builtin_char_1): Purge codes about
2715 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
2716 {MIN|MAX}_CHAR_HEBREW.
2717 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
2718 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
2720 * char-ucs.h (MIN_CHAR_GREEK): Purged.
2721 (MAX_CHAR_GREEK): Purged.
2722 (MIN_CHAR_CYRILLIC): Purged.
2723 (MAX_CHAR_CYRILLIC): Purged.
2724 (MIN_CHAR_HEBREW): Commented out.
2725 (MAX_CHAR_HEBREW): Likewise.
2727 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2729 * mule-charset.c (Qto_ucs): New variable.
2730 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
2731 (Fdefine_char): Likewise.
2732 (syms_of_mule_charset): Add new symbol `=>ucs'.
2734 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2736 * mule-charset.c (Fdecode_char): Fixed.
2738 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2740 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
2741 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
2744 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2746 * mule-charset.c (Vcharset_ucs_big5): New variable.
2747 (Qucs_big5): Likewise.
2748 (syms_of_mule_charset): Add new symbol `ucs-big5'.
2749 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
2751 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
2753 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2755 * mule-charset.c (decode_builtin_char): Check Big5 code range
2756 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
2758 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2760 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
2761 (Qchinese_gb12345): Likewise.
2762 (Fdecode_builtin_char): Fixed.
2763 (syms_of_mule_charset): Add `chinese-gb12345'.
2764 (complex_vars_of_mule_charset): Add coded-charset
2767 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
2768 (LEADING_BYTE_CHINESE_GB12345): New macro.
2770 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2772 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
2773 and `latin-viscii-upper' for `latin-viscii'.
2775 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2777 * mule-charset.c (Fdecode_builtin_char): Comment out
2778 regularization code for ISO-IR GR representation.
2780 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2782 * mule-charset.c (decode_builtin_char): New function; renamed from
2783 `make_builtin_char'; return -1 instead of signal.
2784 (Fdecode_builtin_char): Use `decode_builtin_char'.
2786 * char-ucs.h (decode_builtin_char): New prototype; renamed from
2787 `make_builtin_char'.
2788 (DECODE_CHAR): Use `decode_builtin_char' instead of
2789 `make_builtin_char'; use mapping table of `chinese-big5' for
2790 `chinese-big5-{1,2}'.
2792 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2794 * text-coding.c (char_encode_big5): New function.
2795 (char_finish_big5): Likewise.
2796 (reset_encoding_stream): Use `char_encode_big5' and
2797 `char_finish_big5' for CODESYS_BIG5.
2798 (mule_encode): Don't use `encode_coding_big5'.
2799 (encode_coding_big5): Deleted.
2801 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2803 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
2804 0x81- in XEmacs UTF-2000.
2805 (detect_coding_big5): Likewise.
2807 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2809 * mule-charset.c (Fdefine_char): Don't use a CCS property to
2810 generate character-id if the CCS property does not have
2811 corresponding predefined character.
2812 (make_builtin_char): Return -1 if corresponding predefined
2813 character is not found.
2814 (Fdecode_char): Return nil if corresponding character is not
2816 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
2817 don't map to builtin ucs space.
2819 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2821 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
2822 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
2824 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2826 * mule-charset.c (Vcharset_ideograph_gt): New variable.
2827 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
2828 (Qideograph_gt): Likewise.
2829 (Qideograph_gt_pj_{1..11}): Likewise.
2830 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
2831 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
2832 `ideograph-gt-pj-11'.
2833 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
2834 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
2835 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
2837 * char-ucs.h (LEADING_BYTE_GT): New macro.
2838 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
2839 (MIN_CHAR_GT): Likewise.
2840 (MAX_CHAR_GT): Likewise.
2842 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2844 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
2845 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
2847 * doprnt.c (unsigned_int_converters): Add `c'.
2848 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
2850 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
2851 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
2853 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
2854 (MAX_CHAR_MOJIKYO_0): New macro.
2855 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
2857 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2859 * mule-charset.c (Fdefine_char): Delete cemented out code.
2860 (encode_builtin_char_1): Modify for new allocation of builtin
2863 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
2865 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2867 * mule-charset.c (Vcharset_ucs_cns): New variable.
2868 (Qucs_cns): New variable.
2869 (syms_of_mule_charset): Add new symbol `ucs-cns'.
2870 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
2872 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2874 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
2876 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2878 * search.c (search_buffer): Make `charset_base_code' as
2879 character-id >> 6 to eliminate the corresponding last byte in
2880 UTF-8 representation [I'm not sure it is right thing].
2881 (boyer_moore): Likewise.
2883 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2885 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
2886 representation in MULE.
2888 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2890 * text-coding.c (Fmake_coding_system): Use
2891 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
2892 `EXTERNAL_PROPERTY_LIST_LOOP'.
2894 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2896 * text-coding.c (decode_output_utf8_partial_char): New function.
2897 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
2899 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2901 * text-coding.c (decode_coding_utf8): Output original byte
2902 sequence if it is broken; change order of conditions.
2904 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
2907 * mb-multibyte.h (BYTE_ASCII_P):
2908 Use bit ops for char-signedness safety.
2909 (BYTE_C0_P): Use bit ops for char-signedness safety.
2910 (BYTE_C1_P): Use bit ops for char-signedness safety.
2912 * character.h: (XCHAR_OR_CHAR_INT):
2913 Always use inline function.
2914 Remove redundant type checking assert() - XINT will abort quite
2917 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2919 * text-coding.c: (Fencode_shift_jis_char):
2920 (Fencode_big5_char):
2921 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
2922 Replace 0 with '\0' when working with bytes.
2923 Replace initial "(" with "\(" in docstrings.
2925 (Fmake_coding_system):
2926 When type is ccl and value is vector, register it with a proper
2927 symbol. And checks whether the given ccl program is valid.
2928 (mule_decode): When calling ccl_driver, if src indicates
2929 NULL pointer, set an empty string instead.
2930 (mule_encode): Likewise.
2933 (detect_coding_sjis):
2934 (decode_coding_sjis):
2935 (detect_coding_big5):
2936 (decode_coding_big5):
2937 (detect_coding_ucs4):
2938 (decode_coding_ucs4):
2939 (detect_coding_utf8):
2940 (decode_coding_utf8):
2941 (detect_coding_iso2022):
2942 (decode_coding_iso2022):
2943 (decode_coding_no_conversion):
2945 Make all detecting and decoding functions take an Extbyte * arg.
2946 (text_encode_generic):
2947 (encode_coding_big5):
2948 (encode_coding_no_conversion):
2950 Make all encoding functions take a Bufbyte * arg.
2951 Use size_t instead of unsigned int for memory sizes.
2952 Only cast to unsigned char whenever dereferencing Extbyte *.
2954 (struct lrecord_description fcd_description_1): Use countof.
2955 (complex_vars_of_file_coding):
2956 Use countof instead of sizeof.
2957 Use CHECK_NATNUM instead of CHECK_INT.
2959 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2961 * mule-charset.c (Fget_char_attribute): Add new optional argument
2963 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
2964 (remove_char_ccs): Likewise.
2966 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2968 * text-coding.c (char_encode_shift_jis): New implementation in
2970 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
2973 * mule-charset.c (Vcharset_chinese_big5): New variable in
2975 (Qchinese_big5): New variable in UTF-2000.
2976 (BIG5_SAME_ROW): New macro in UTF-2000.
2977 (make_builtin_char): Use builtin characters of
2978 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
2979 characters of `Vcharset_chinese_big5'.
2980 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
2981 (complex_vars_of_mule_charset): Add new coded-charset
2982 `chinese-big5' in UTF-2000.
2984 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
2985 (Vcharset_chinese_big5): New external variable declaration.
2986 (Vcharset_japanese_jisx0208_1990): Likewise.
2988 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2990 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
2992 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
2994 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2996 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
2997 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
2998 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
3001 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3003 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
3005 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3007 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3010 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3012 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
3013 for `CHARSET_BY_ATTRIBUTES'.
3014 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3015 `CHARSET_BY_ATTRIBUTES'.
3017 * text-coding.c (struct decoding_stream): Rename member `CH' to
3019 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
3020 (decode_coding_sjis): Likewise.
3021 (decode_coding_big5): Likewise.
3022 (decode_coding_ucs4): Likewise.
3023 (decode_coding_utf8): Likewise.
3024 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3025 `CHARSET_BY_ATTRIBUTES'.
3026 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
3027 `str->counter'; decode 3, 4 bytes sets.
3028 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
3030 (decode_coding_no_conversion): Use `str->cpos' instead of
3033 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
3034 (Qmojikyo_2022_1): New variable.
3035 (make_charset): Don't use `CHARSET_TYPE_*'.
3036 (range_charset_code_point): Support coded-charset
3038 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
3039 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
3040 `CHARSET_BY_ATTRIBUTES'.
3041 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
3042 `CHARSET_BY_ATTRIBUTES'.
3043 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
3044 (complex_vars_of_mule_charset): Add new coded-charset
3047 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
3048 interface; changed to inline function.
3050 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
3051 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
3052 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
3053 (CHARSET_TYPE_94): Deleted.
3054 (CHARSET_TYPE_94X94): Deleted.
3055 (CHARSET_TYPE_96): Deleted.
3056 (CHARSET_TYPE_96X96): Deleted.
3057 (CHARSET_TYPE_128): Deleted.
3058 (CHARSET_TYPE_128X128): Deleted.
3059 (CHARSET_TYPE_256): Deleted.
3060 (CHARSET_TYPE_256X256): Deleted.
3061 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
3063 (DECODE_MOJIKYO_2022): New inline function.
3064 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
3065 `Vcharset_mojikyo_2022_1'.
3067 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3069 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
3071 (put_byte_table): Likewise.
3072 (char_id_table_equal): Use `get_byte_table' [new implementation].
3074 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3076 * mule-charset.c: Include <limits.h> in UTF-2000.
3077 (BT_UINT8_MIN): New macro in UTF-2000.
3078 (BT_UINT8_MAX): New macro in UTF-2000.
3079 (BT_UINT8_t): New macro in UTF-2000.
3080 (BT_UINT8_nil): New macro in UTF-2000.
3081 (BT_UINT8_unbound): New macro in UTF-2000.
3082 (INT_UINT8_P): New inline function in UTF-2000.
3083 (UINT8_VALUE_P): New inline function in UTF-2000.
3084 (UINT8_ENCODE): New inline function in UTF-2000.
3085 (UINT8_DECODE): New inline function in UTF-2000.
3086 (mark_uint8_byte_table): New function in UTF-2000.
3087 (print_uint8_byte_table): New function in UTF-2000.
3088 (uint8_byte_table_equal): New function in UTF-2000.
3089 (uint8_byte_table_hash): New function in UTF-2000.
3090 (make_uint8_byte_table): New function in UTF-2000.
3091 (uint8_byte_table_same_value_p): New function in UTF-2000.
3092 (BT_UINT16_MIN): New macro in UTF-2000.
3093 (BT_UINT16_MAX): New macro in UTF-2000.
3094 (BT_UINT16_t): New macro in UTF-2000.
3095 (BT_UINT16_nil): New macro in UTF-2000.
3096 (BT_UINT16_unbound): New macro in UTF-2000.
3097 (INT_UINT16_P): New inline function in UTF-2000.
3098 (UINT16_VALUE_P): New inline function in UTF-2000.
3099 (UINT16_ENCODE): New inline function in UTF-2000.
3100 (UINT16_DECODE): New inline function in UTF-2000.
3101 (UINT8_TO_UINT16): New inline function in UTF-2000.
3102 (mark_uint16_byte_table): New function in UTF-2000.
3103 (print_uint16_byte_table): New function in UTF-2000.
3104 (uint16_byte_table_equal): New function in UTF-2000.
3105 (uint16_byte_table_hash): New function in UTF-2000.
3106 (make_uint16_byte_table): New function in UTF-2000.
3107 (uint16_byte_table_same_value_p): New function in UTF-2000.
3108 (print_byte_table): New function in UTF-2000.
3109 (byte-table): Use `print_byte_table' as printer.
3110 (make_byte_table): Delete second argument `older'.
3111 (byte_table_same_value_p): New function in UTF-2000.
3112 (copy_byte_table): Deleted.
3113 (get_byte_table): New function in UTF-2000.
3114 (put_byte_table): New function in UTF-2000.
3115 (print_char_id_table): New function in UTF-2000.
3116 (char-id-table): Use `print_char_id_table' as printer.
3117 (make_char_id_table): Delete second argument `older'.
3118 (get_char_id_table): Use `get_byte_table [new implementation].
3119 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
3121 (Ffind_char_attribute_table): New function in UTF-2000.
3122 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3123 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
3124 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
3125 (syms_of_mule_charset): Add new function
3126 `find-char-attribute-table' in UTF-2000.
3128 * lrecord.h (enum lrecord_type): Add
3129 `lrecord_type_uint16_byte_table' and
3130 `lrecord_type_uint8_byte_table'.
3132 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
3133 (Lisp_Uint8_Byte_Table): New type.
3134 (XUINT8_BYTE_TABLE): New macro.
3135 (XSETUINT8_BYTE_TABLE): New macro.
3136 (UINT8_BYTE_TABLE_P): New macro.
3137 (GC_UINT8_BYTE_TABLE_P): New macro.
3138 (struct Lisp_Uint16_Byte_Table): New structure.
3139 (Lisp_Uint16_Byte_Table): New type.
3140 (XUINT16_BYTE_TABLE): New macro.
3141 (XSETUINT16_BYTE_TABLE): New macro.
3142 (UINT16_BYTE_TABLE_P): New macro.
3143 (GC_UINT16_BYTE_TABLE_P): New macro.
3145 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3147 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
3148 (Vcharacter_ideographic_strokes_table): Deleted.
3149 (Vcharacter_total_strokes_table): Deleted.
3150 (Vcharacter_morohashi_daikanwa_table): Deleted.
3151 (Vcharacter_decomposition_table): Deleted.
3152 (Qname): Deleted because it is duplicated.
3153 (Qideographic_radical): Deleted.
3154 (Qideographic_strokes): Deleted.
3155 (Qtotal_strokes): Deleted.
3156 (Qmorohashi_daikanwa): Deleted.
3157 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
3158 `ideographic-radical', `ideographic-strokes', `total-strokes',
3159 `morohashi-daikanwa' and `->decomposition'.
3160 (Fget_char_attribute): Likewise.
3161 (Fput_char_attribute): Likewise; use `make-vector' instead of
3162 `make_older_vector' for `->decomposition' value.
3163 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
3164 `ideograph-daikanwa'.
3165 (syms_of_mule_charset): Delete builtin symbols `name',
3166 `ideographic-radical', `ideographic-strokes', `total-strokes' and
3167 `morohashi-daikanwa'.
3168 (vars_of_mule_charset): Don't setup
3169 `Vcharacter_ideographic_radical_table',
3170 `Vcharacter_ideographic_strokes_table',
3171 `Vcharacter_total_strokes_table',
3172 `Vcharacter_morohashi_daikanwa_table' and
3173 `Vcharacter_decomposition_table'.
3175 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3177 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
3178 `make_older_vector', `make_vector_newer_1' and
3179 `make_vector_newer'.
3181 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
3182 `make_older_vector' and `make_vector_newer'.
3184 * config.h.in (HAVE_GGC): New macro.
3186 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3188 * mule-charset.c (struct char_attribute_list_closure): New
3189 structure in UTF-2000.
3190 (add_char_attribute_to_list_mapper): New function in UTF-2000.
3191 (Fchar_attribute_list): Likewise.
3192 (Fset_charset_mapping_table): Use `make_vector_newer'.
3193 (Fdecode_builtin_char): New function in UTF-2000.
3194 (syms_of_mule_charset): Add new function `char-attribute-list' and
3195 `decode-builtin-char' in UTF-2000.
3197 * lisp.h (make_vector_newer): New prototype.
3199 * alloc.c (make_vector_newer_1): New function.
3200 (make_vector_newer): New function.
3202 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3204 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
3207 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3209 * mule-charset.c (Vchar_attribute_hash_table): New variable.
3210 (Vcharacter_attribute_table): Deleted.
3211 (Vcharacter_name_table): Deleted.
3212 (put_char_attribute): Deleted.
3213 (remove_char_attribute): Deleted.
3214 (struct char_attribute_alist_closure): New structure.
3215 (add_char_attribute_alist_mapper): New function.
3216 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
3217 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
3218 (Fget_char_attribute): Likewise.
3219 (Fput_char_attribute): Likewise.
3220 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
3221 of `remove_char_attribute'.
3222 (Fdefine_char): Return character.
3223 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
3224 and `Vcharacter_name_table'.
3225 (complex_vars_of_mule_charset): Likewise
3226 `Vchar_attribute_hash_table'.
3228 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3230 * character.h (CHARC_CHARSET): New macro.
3231 (CHARC_CHARSET_ID): New macro.
3232 (CHARC_CODE_POINT): New macro.
3233 (CHARC_COLUMNS): New macro.
3234 (CHARC_TO_CHAR): New inline function.
3235 (CHARC_EQ): New inline function.
3236 (CHARC_ASCII_EQ): New inline function.
3237 (CHARC_IS_SPACE): New inline function.
3238 (ASCII_TO_CHARC): New inline function.
3240 * char-ucs.h (encode_char_2): Deleted.
3241 (ENCODE_CHAR): Use `encode_char_1' again.
3242 (breakup_char_1): Likewise.
3243 (CHAR_TO_CHARC): New inline function.
3245 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
3247 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3249 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
3250 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
3251 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
3252 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
3253 (create_string_text_block): Use `CHARC_ASCII_EQ' and
3255 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
3257 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
3259 (x_output_display_block): Use `CHARC_CHARSET' and
3262 * redisplay-tty.c (tty_output_display_block): Use
3264 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
3266 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
3268 * insdel.c (find_charsets_in_charc_string): Use
3270 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
3271 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
3272 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
3273 (convert_charc_string_into_malloced_string): Likewise.
3275 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3277 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
3278 instead of <Emchar_dynarr *> for buf; use
3279 `convert_bufbyte_string_into_charc_dynarr' instead of
3280 `convert_bufbyte_string_into_emchar_dynarr'; use
3281 `find_charsets_in_charc_string' instead of
3282 `find_charsets_in_emchar_string'.
3285 - Include "character.h".
3286 (struct rune): New member `cglyph'; delete member `chr'.
3288 * redisplay.c (redisplay_text_width_charc_string): New function;
3289 delete `redisplay_text_width_emchar_string'.
3290 (rtw_charc_dynarr): New variable; renamed from
3291 `rtw_emchar_dynarr'.
3292 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
3293 `rtw_emchar_dynarr'; use
3294 `convert_bufbyte_string_into_charc_dynarr' instead of
3295 `convert_bufbyte_string_into_emchar_dynarr'; use
3296 `redisplay_text_width_charc_string' instead of
3297 `redisplay_text_width_emchar_string'.
3298 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
3299 instead of `rtw_emchar_dynarr'; use
3300 `convert_bufbyte_string_into_charc_dynarr' instead of
3301 `convert_bufbyte_string_into_emchar_dynarr'.
3302 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
3303 `redisplay_text_width_charc_string' instead of
3304 `redisplay_text_width_emchar_string'.
3305 (create_text_block): Modify for <struct rune> change.
3306 (generate_formatted_string_db): Likewise.
3307 (create_string_text_block): Likewise.
3308 (pixel_to_glyph_translation): Likewise.
3310 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
3311 instead of <const Emchar *>.
3312 (x_text_width): Likewise.
3313 (x_output_display_block): Use <Charc_dynarr *> instead
3314 <Emchar_dynarr *>; modify for <structure rune> change.
3315 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
3318 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
3319 <const Emchar *>; use `charc_string_displayed_columns' instead of
3320 `emchar_string_displayed_columns'.
3321 (tty_output_display_block): Use <Charc_dynarr *> instead of
3322 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
3323 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
3324 (tty_output_charc_dynarr_dynarr): New variable; renamed from
3325 `tty_output_emchar_dynarr_dynarr'.
3326 (tty_output_charc_dynarr): New function; delete
3327 `tty_output_charc_dynarr'.
3329 * redisplay-output.c (compare_runes): Modify for `struct rune'.
3330 (redisplay_output_layout): Use <Charc_dynarr *> instead of
3331 <Emchar_dynarr *> for buf; use
3332 `convert_bufbyte_string_into_charc_dynarr' instead of
3333 `convert_bufbyte_string_into_emchar_dynarr'.
3335 * frame.c (title_string_charc_dynarr): New variable; renamed from
3336 `title_string_emchar_dynarr'.
3337 (generate_title_string): Use `title_string_charc_dynarr' instead
3338 of `title_string_emchar_dynarr'; use
3339 `convert_charc_string_into_malloced_string' instead of
3340 `convert_emchar_string_into_malloced_string'.
3341 (init_frame): Use `title_string_charc_dynarr' instead of
3342 `title_string_emchar_dynarr'.
3345 - Include "character.h".
3346 (struct console_methods): Use <const Charc *> instead of <const
3347 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
3348 <Emchar_dynarr *> in output_string_method.
3350 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
3353 * console-stream.c (stream_text_width): Use <const Charc *>
3354 instead of <const Emchar *>.
3356 * character.h (Charc_dynarr): New type.
3358 * char-ucs.h (structure Charc): New structure; define new type
3361 * char-lb.h (DECODE_CHAR): New inline function.
3362 (encode_char_1): New inline function.
3363 (ENCODE_CHAR): New macro.
3364 (structure Charc): New structure; define new type `Charc'.
3366 * char-1byte.h (Vcharset_control_1): New macro.
3367 (Vcharset_latin_iso8859_1): New macro.
3368 (DECODE_CHAR): New inline function.
3369 (encode_char_1): New inline function.
3370 (ENCODE_CHAR): New macro.
3371 (structure Charc): New structure; define new type `Charc'.
3373 * insdel.c (find_charsets_in_charc_string): New function; delete
3374 `find_charsets_in_emchar_string'.
3375 (charc_string_displayed_columns): New function; delete
3376 `emchar_string_displayed_columns'.
3377 (convert_bufbyte_string_into_charc_dynarr): New function; delete
3378 `convert_bufbyte_string_into_emchar_dynarr'.
3379 (convert_charc_string_into_bufbyte_dynarr): New function; delete
3380 `convert_charc_string_into_bufbyte_dynarr'.
3381 (convert_charc_string_into_malloced_string): New function; delete
3382 `convert_charc_string_into_malloced_string'.
3384 * buffer.h (find_charsets_in_charc_string): New prototype; delete
3385 `find_charsets_in_emchar_string'.
3386 (charc_string_displayed_columns): New prototype; delete
3387 `emchar_string_displayed_columns'.
3388 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
3389 `convert_charc_string_into_bufbyte_dynarr'.
3390 (convert_charc_string_into_malloced_string): New prototype; delete
3391 `convert_charc_string_into_malloced_string'.
3393 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3395 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
3397 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3399 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
3401 * char-ucs.h: Use <short> for <Charset_ID>.
3403 * mule-charset.h, char-1byte.h: Use <unsigned char> for
3406 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3408 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3411 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3413 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
3415 (Qmorohashi_daikanwa): New variable.
3416 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
3417 for `morohashi-daikanwa' attribute.
3418 (Fget_char_attribute): Likewise.
3419 (Fput_char_attribute): Likewise.
3420 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
3421 has the same value of `ideograph-daikanwa'.
3422 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
3423 (vars_of_mule_charset): Setup
3424 `Vcharacter_morohashi_daikanwa_table'.
3426 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3428 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
3430 (add_charset_to_list_mapper): Add `key' instead of
3431 `XCHARSET_NAME (value)' to return aliases.
3433 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3435 * mule-charset.c (Vcharacter_ideographic_radical_table): New
3437 (Vcharacter_ideographic_strokes_table): New variable.
3438 (Qideographic_radical): New variable.
3439 (Qideographic_strokes): New variable.
3440 (Fchar_attribute_alist): Use
3441 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
3442 attribute; use `Vcharacter_ideographic_strokes_table' for
3443 `ideographic-strokes' attribute.
3444 (Fget_char_attribute): Likewise.
3445 (Fput_char_attribute): Likewise.
3446 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
3447 `ideographic-strokes'.
3448 (vars_of_mule_charset): Setup
3449 `Vcharacter_ideographic_radical_table' and
3450 `Vcharacter_ideographic_strokes_table'.
3452 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3454 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
3455 (Qtotal_strokes): New variable.
3456 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
3457 `total-strokes' attribute.
3458 (Fget_char_attribute): Likewise.
3459 (Fput_char_attribute): Likewise.
3460 (syms_of_mule_charset): Add new symbol `total-strokes'.
3461 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
3463 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3465 * mule-charset.c (Vcharacter_decomposition_table): New variable.
3466 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
3468 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
3469 `->decomposition' attribute.
3470 (Fput_char_attribute): Likewise.
3471 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
3473 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3475 * mule-charset.c (decoding_table_check_elements): New function.
3476 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
3478 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3480 * mule-charset.c (Fset_charset_mapping_table): Use
3481 `put_char_ccs_code_point'.
3483 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3485 * mule-charset.c (decoding_table_put_char): New inline function.
3486 (put_char_ccs_code_point): Use `decoding_table_put_char'.
3488 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3490 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
3491 (XCHARSET_BYTE_SIZE): New macro.
3492 (decoding_table_remove_char): New inline function.
3493 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
3494 `decoding_table_remove_char'.
3495 (remove_char_ccs): Use `decoding_table_remove_char'.
3496 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
3498 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3500 * mule-charset.c (Vcharacter_name_table): New variable.
3501 (Qname): New variable.
3502 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
3504 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
3505 `Vcharacter_name_table' for `name' attribute.
3506 (Fremove_char_attribute): Use function `remove_char_ccs'.
3507 (put_char_ccs_code_point): New function.
3508 (remove_char_ccs): New function.
3509 (syms_of_mule_charset): Add new symbol `name'.
3510 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
3512 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3514 * mule-charset.c (make_byte_table): Add new argument `older'.
3515 (make_char_id_table): Likewise.
3516 (copy_char_id_table): Comment out because it is not used.
3517 (put_char_id_table): Modify for `make_byte_table'.
3518 (Fput_char_attribute): Make encoding_table as older object;
3519 inherit older bit of `Vcharacter_composition_table'.
3520 (mark_charset): Don't mark `cs->encoding_table'.
3521 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
3522 normal object; make `Vcharacter_composition_table' as an older
3523 object; delete staticpro for `Vcharacter_composition_table'; make
3524 `Vcharacter_variant_table' as a normal object.
3526 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
3527 (mark_object): Don't check older object in UTF-2000.
3529 * lrecord.h (struct lrecord_header): Add new member `older' in
3531 (set_lheader_implementation): Setup `SLI_header->older' in
3533 (set_lheader_older_implementation): New macro in UTF-2000.
3534 (OLDER_RECORD_P): New macro in UTF-2000.
3535 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
3536 (alloc_older_lcrecord): New prototype in UTF-2000.
3537 (alloc_older_lcrecord_type): New macro in UTF-2000.
3539 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3541 * mule-charset.c (byte_table_description): Use
3542 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
3543 (char_id_table_description): Delete bogus `, 1'.
3544 (Fget_char_attribute): Refer encoding_table of each coded-charset
3545 to get value of coded-charset attribute of a character.
3546 (Fput_char_attribute): Use `make_older_vector' instead of
3547 `make_vector'; use encoding_table of each coded-charset to store
3548 value of coded-charset attribute of a character.
3549 (Fremove_char_attribute): Use encoding_table of each coded-charset
3550 to store value of coded-charset attribute of a character.
3551 (mark_charset): Mark `cs->encoding_table'; don't mark
3552 `cs->decoding_table'.
3553 (charset_description): Add description of new member
3555 (make_charset): Initialize `encoding_table'.
3557 * char-ucs.h (struct Lisp_Charset): Add new member
3559 (CHARSET_ENCODING_TABLE): New macro.
3560 (XCHARSET_ENCODING_TABLE): New macro.
3561 (charset_code_point): New implementation.
3562 (encode_char_1): Likewise.
3564 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
3565 (disksave_object_finalization_1): Call finalizers of
3566 `all_older_lcrecords' in UTF-2000.
3567 (make_older_vector): New function in UTF-2000.
3568 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
3571 * lisp.h (make_older_vector): New prototype in UTF-2000.
3573 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3575 * lrecord.h (enum lrecord_type): Rename
3576 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
3578 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
3579 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
3580 `get_char_code_table'.
3582 * mule-charset.c (mark_char_id_table): Renamed from
3583 `mark_char_code_table'.
3584 (char_id_table_equal): Renamed from `char_code_table_equal'.
3585 (char_id_table_hash): Renamed from `char_code_table_hash'.
3586 (make_char_id_table): Renamed from `make_char_code_table'.
3587 (copy_char_id_table): Renamed from `copy_char_code_table'.
3588 (get_char_id_table): Renamed from `get_char_code_table'.
3589 (put_char_id_table): Renamed from `put_char_code_table'.
3590 (to_char_id): Renamed from `to_char_code'.
3592 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
3593 `Lisp_Char_Code_Table'.
3594 (char_id_table): Renamed from `char_code_table'.
3595 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
3596 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
3597 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
3598 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
3599 (get_char_id_table): Renamed from `get_char_code_table'.
3601 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3603 * lrecord.h (enum lrecord_type): Rename
3604 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
3606 * mule-charset.c (mark_byte_table): Renamed from
3607 `mark_char_byte_table'.
3608 (byte_table_equal): Renamed from `char_byte_table_equal'.
3609 (byte_table_hash): Renamed from `byte_table_hash'.
3610 (make_byte_table): Renamed from `make_byte_table'.
3611 (copy_byte_table): Renamed from `copy_char_byte_table'.
3613 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
3614 `Lisp_Char_Byte_Table'.
3615 (byte_table): Renamed from `char_byte_table'.
3616 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
3617 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
3618 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
3619 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
3621 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3623 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
3624 (dfc_convert_to_internal_format): Likewise.
3626 * text-coding.c (Fcoding_system_canonical_name_p): New function.
3627 * text-coding.c (Fcoding_system_alias_p): New function.
3628 * text-coding.c (Fcoding_system_aliasee): New function.
3629 * text-coding.c (append_suffix_to_symbol): New function.
3630 * text-coding.c (dangling_coding_system_alias_p): New function.
3631 * text-coding.c (Ffind_coding_system):
3632 * text-coding.c (Fcopy_coding_system):
3633 * text-coding.c (encode_coding_no_conversion):
3634 * text-coding.c (syms_of_file_coding):
3635 * text-coding.c (vars_of_file_coding):
3636 Rewrite coding system alias code.
3637 Allow nested aliases, like symbolic links.
3638 Allow redefinition of coding system aliases.
3639 Prevent existence of dangling coding system aliases.
3640 Eliminate convert_to_external_format.
3641 Eliminate convert_to_internal_format.
3643 * text-coding.c: Change enum eol_type to eol_type_t.
3645 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3647 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
3648 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3650 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
3651 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3653 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3655 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
3656 `ideograph-daikanwa'.
3658 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
3659 (Vcharset_ucs_bmp): Likewise.
3660 (Vcharset_mojikyo): Add new extern variable definition.
3661 (Vcharset_latin_iso8859_2): Deleted because it is not used.
3662 (Vcharset_latin_iso8859_3): Likewise.
3663 (Vcharset_latin_iso8859_4): Likewise.
3664 (Vcharset_latin_iso8859_9): Likewise.
3665 (Vcharset_latin_viscii_lower): Likewise.
3666 (Vcharset_latin_viscii_upper): Likewise.
3667 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
3668 `mojikyo' code-point is used to decode.
3669 (encode_char_2): New function [to convert `mojikyo' code-point to
3670 Mojikyo font encoding].
3671 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
3672 (breakup_char_1): Likewise.
3673 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
3675 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3677 * text-coding.c (Fmake_coding_system): Add document about
3678 `disable-composition' property.
3680 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3682 * text-coding.c (Qdisable_composition): New variable; delete
3684 (Fmake_coding_system): Add new property `disable-composite';
3685 delete property `composite'.
3686 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
3687 instead of `!CODING_SYSTEM_COMPOSITE'.
3688 (syms_of_file_coding): Add new symbol `disable-composition';
3689 delete symbol `composite'.
3691 * file-coding.h (struct Lisp_Coding_System): Add
3692 `disable_composition'; delete `enable_composition'.
3693 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3694 `CODING_SYSTEM_COMPOSITE'.
3695 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3696 `XCODING_SYSTEM_COMPOSITE'.
3698 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3700 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3703 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3705 * text-coding.c (Qcomposite): New variable.
3706 (Fmake_coding_system): Add new property `composite'.
3707 (struct decoding_stream): Add `combined_char_count',
3708 `combined_chars' and `combining_table' in UTF-2000.
3709 (COMPOSE_FLUSH_CHARS): New macro.
3710 (COMPOSE_ADD_CHAR): New macro.
3711 (reset_decoding_stream): Reset `str->combined_char_count' and
3712 `str->combining_table' in UTF-2000.
3713 (decode_coding_iso2022): Modify for character-decomposition.
3714 (syms_of_file_coding): Add new symbol `composite'.
3716 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3718 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
3719 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
3720 of `Vcharacter_composition_table' if `->decomposition' property
3722 (Qlatin_tcvn5712): New variable.
3723 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
3724 (complex_vars_of_mule_charset): Add new coded-charset
3727 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
3729 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3731 * file-coding.h (struct Lisp_Coding_System): Add
3732 `enable_composition'.
3733 (CODING_SYSTEM_COMPOSITE): New macro.
3734 (XCODING_SYSTEM_COMPOSITE): New macro.
3736 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
3738 * mule-canna.c (c2mu): Fix problem with UTF-2000.
3740 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
3742 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
3743 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
3745 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
3747 * mule-charset.c (Vcharset_mojikyo): New variable.
3748 (Fdefine_char): Don't use coded-charset which does not have
3749 non-builtin character range to allocate character-id.
3750 (Qmojikyo): New variable.
3751 (syms_of_mule_charset): Add new symbol `mojikyo'.
3752 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
3754 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
3755 (LEADING_BYTE_MOJIKYO): New macro.
3756 (MIN_CHAR_MOJIKYO): New macro.
3757 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
3758 (MAX_CHAR_MOJIKYO): New macro.
3760 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
3762 * mule-charset.c (remove_char_attribute): Fixed.
3764 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
3766 * mule-charset.c (remove_char_attribute): New function.
3767 (Fremove_char_attribute): New function.
3768 (encode_builtin_char_1): Comment out builtin-support for
3769 greek-iso8859-7 and cyrillic-iso8859-5.
3770 (Fdecode_char): Check `code' is an integer.
3771 (syms_of_mule_charset): Add `remove-char-attribute'.
3772 (MIN_CHAR_GREEK): Deleted.
3773 (MAX_CHAR_GREEK): Likewise.
3774 (MIN_CHAR_CYRILLIC): Likewise.
3775 (MAX_CHAR_CYRILLIC): Likewise.
3776 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
3777 MAX_CHAR_GREEK for `greek-iso8859-7'.
3779 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
3780 (MAX_CHAR_GREEK): Likewise.
3781 (MIN_CHAR_CYRILLIC): Likewise.
3782 (MAX_CHAR_CYRILLIC): Likewise.
3784 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
3786 * mule-charset.c (Fdefine_char): Fix problem when new code-point
3787 format is used without `ucs' property.
3788 (Fdecode_char): Fix problem with GR representation.
3789 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
3790 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
3792 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3794 * mule-charset.c (make_builtin_char): New function.
3795 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
3796 (Fset_charset_mapping_table): Modify for new representation of
3798 (Fdecode_char): New function.
3799 (syms_of_mule_charset): Add new builtin function `decode-char' in
3802 * char-ucs.h (make_builtin_char): New prototype.
3803 (DECODE_CHAR): New inline function.
3804 (MAKE_CHAR): Use `DECODE_CHAR'.
3806 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
3808 * text-coding.c (parse_charset_conversion_specs): Use
3809 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
3811 (iso2022_designate): Likewise.
3813 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
3814 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
3816 * mule-charset.c (Vcharset_ucs): New variable.
3817 (print_charset): Change design; use `CHARSET_CHARS' and
3818 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
3819 (make_charset): Change signature to specify `chars' and
3820 `dimension' instead of `type'.
3821 (range_charset_code_point): Modify for 256^n-set.
3822 (encode_builtin_char_1): Encode as `ucs' in default.
3823 (Fmake_charset): Modify for `make_charset'.
3824 (Fmake_reverse_direction_charset): Likewise.
3825 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
3827 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
3830 * char-ucs.h (Vcharset_ucs): New variable.
3831 (LEADING_BYTE_UCS): New macro.
3832 (struct Lisp_Charset): Delete `type'; change type of `dimension'
3833 and `chars' to `unsigned short' from `unsigned int'.
3834 (CHARSET_TYPE): Deleted.
3835 (XCHARSET_TYPE): Deleted.
3837 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
3839 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
3841 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
3842 (ENCODE_CHAR): New macro.
3844 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3846 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3847 to 0.14 (Kawachi-Katakami).
3849 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3851 * text-coding.c (char_encode_shift_jis): Modify for
3852 `charset_code_point'.
3853 (char_encode_iso2022): Likewise.
3855 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
3856 (integer) instead of list of <Lisp_Object>s (integers) as the
3857 format of code-point of a coded-charset.
3858 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3859 (encode_builtin_char_1): New function; delete
3860 `split_builtin_char'.
3861 (charset_code_point): Return <int> instead of <Lisp_Object>.
3862 (Fsplit_char): Don't use `SPLIT_CHAR'.
3864 * char-ucs.h (encode_builtin_char_1): New prototype; delete
3865 prototype for `split_builtin_char'.
3866 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3867 (charset_code_point): Likewise.
3868 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
3869 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
3871 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
3873 * mule-charset.c (complex_vars_of_mule_charset): Don't define
3874 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
3876 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3878 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
3880 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
3881 (MAX_CHAR_OBS_94x94): Deleted.
3883 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3885 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
3887 * char-ucs.h (MAX_CHAR_BMP): New macro.
3889 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3891 * text-coding.c: Sync with r21-2-24.
3893 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3895 * file-coding.c: Modify for UTF-2000.
3897 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3899 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3902 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3904 * mule-charset.c (split_builtin_char): Delete builtin support for
3905 `katakana-jisx0201'.
3906 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
3907 BMP area in builtin representation.
3909 * char-ucs.h (MAKE_CHAR): Delete builtin support for
3910 `Vcharset_katakana_jisx0201'.
3912 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
3914 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
3915 (Qisolated): New variable.
3916 (Qinitial): New variable.
3917 (Qmedial): New variable.
3918 (Qfinal): New variable.
3919 (Qvertical): New variable.
3920 (Qsmall): New variable.
3921 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
3922 `Qvertical' and `Qsmall'.
3923 (Qmojikyo_pj_[1 .. 21]): New variable.
3924 (syms_of_mule_charset): Add new symbols `isolated', `initial',
3925 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
3926 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
3929 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3931 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
3932 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
3933 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
3935 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3937 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
3938 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
3940 (Qjapanese_jisx0208_1990): New variable.
3941 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
3942 (complex_vars_of_mule_charset): Add new coded-charset
3943 `japanese-jisx0208-1990'.
3945 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
3946 (MIN_CHAR_JIS_X0208_1990): New macro.
3947 (MAX_CHAR_JIS_X0208_1990): New macro.
3949 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3951 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
3952 coded-charset is not found.
3954 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3956 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
3957 (Fdefine_char): Use `Fmake_char'.
3959 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3961 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
3962 (Vcharset_hiragana_jisx0208): Deleted.
3963 (Vcharset_katakana_jisx0208): Deleted.
3964 (Qideograph_daikanwa): New variable.
3965 (Qhiragana_jisx0208): Deleted.
3966 (Qkatakana_jisx0208): Deleted.
3967 (split_builtin_char): Split `ideograph-daikanwa'.
3968 (Fsplit_char): New implementation for UTF-2000.
3969 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
3970 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
3971 (complex_vars_of_mule_charset): Add new coded-charset
3972 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
3973 `katakana-jisx0208'.
3975 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
3976 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
3977 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
3978 (MIN_CHAR_DAIKANWA): New macro.
3979 (MAX_CHAR_DAIKANWA): New macro.
3981 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3983 * data.c (Fstring_to_number): Don't recognize floating point if
3986 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3988 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
3990 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3992 * mule-charset.c (Qsquare): New variable.
3993 (to_char_code): Add `Qsquare'.
3994 (syms_of_mule_charset): Add new symbol `square'.
3996 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3998 * mule-charset.c (Qcircle): New variable.
3999 (to_char_code): Add `Qcircle'.
4000 (syms_of_mule_charset): Add new symbol `circle'.
4002 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4004 * mule-charset.c (Qfont): New variable.
4005 (to_char_code): Add `Qfont'.
4006 (syms_of_mule_charset): Add new symbol `font'.
4008 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4010 * mule-charset.c (Qsub): New variable.
4011 (to_char_code): Add `Qsub'.
4012 (syms_of_mule_charset): Add new symbol `sub'.
4014 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4016 * mule-charset.c (Fput_char_attribute): Convert each element of
4017 VALUE to GL position if ATTRIBUTE is a GR-set,
4019 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4021 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
4022 coded-charset is a GR-set.
4024 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4026 * mule-charset.c (Fput_char_attribute): Check each element of
4027 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
4029 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4031 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
4033 (Qethiopic_ucs): New variable in UTF-2000.
4034 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
4035 (complex_vars_of_mule_charset): Add new coded-charset
4036 `ethiopic-ucs' in UTF-2000.
4038 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
4039 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4041 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4043 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
4045 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4047 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
4050 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4052 * mule-charset.c (Vcharacter_variant_table): New variable.
4053 (Q_ucs): New variable.
4054 (Fchar_variants): New function.
4055 (Fput_char_attribute): Register `->ucs' value to
4056 `Vcharacter_variant_table'.
4057 (syms_of_mule_charset): Add new function `char-variants' and new
4059 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
4061 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4063 * mule-charset.c (get_char_code_table): Allow negative character
4065 (put_char_code_table): Likewise.
4066 (Vcharacter_composition_table): New variable.
4067 (Q_decomposition): New variable.
4068 (Qwide): New variable.
4069 (Qnarrow): New variable.
4070 (Qcompat): New variable.
4071 (QnoBreak): New variable.
4072 (Qsuper): New variable.
4073 (Qfraction): New variable.
4074 (to_char_code): New function.
4075 (Fget_composite_char): New function.
4076 (Fput_char_attribute): Register `->decomposition' value to
4077 `Vcharacter_composition_table'.
4078 (syms_of_mule_charset): Add new function `get-composite-char', new
4079 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
4080 `super' and `fraction'.
4081 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
4083 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4085 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
4086 character; copy the return value.
4088 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4090 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
4092 * mule-charset.c (range_charset_code_point): Must use make_int.
4093 (split_builtin_char): New function.
4095 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4097 * mule-charset.c (char_byte_table): Change name from
4098 "char-code-table" to "char-byte-table".
4099 (mark_char_code_table): New function.
4100 (char_code_table_equal): New function.
4101 (char_code_table_hash): New function.
4102 (char_code_table_description): New constant.
4103 (char_code_table): New type.
4104 (make_char_code_table): New function.
4105 (copy_char_code_table): New function.
4106 (get_char_code_table): Modify for `char_code_table' type.
4107 (put_char_code_table): Likewise.
4108 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
4111 * char-ucs.h (char_code_table): New type.
4112 (XCHAR_CODE_TABLE): New macro.
4113 (XSETCHAR_CODE_TABLE): New macro.
4114 (CHAR_CODE_TABLE_P): New macro.
4115 (GC_CHAR_CODE_TABLE_P): New macro.
4116 (struct Lisp_Char_Code_Table): New structure.
4118 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4120 * mule-charset.c (Fmake_charset): Setup byte_offset for
4123 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
4125 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
4128 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4130 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
4133 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4135 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
4136 charset, it is regarded as a charset.
4137 (put_char_attribute): New function in UTF-2000.
4138 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
4139 charset, mapping-table of the charset is modified.
4140 (Fdefine_char): New function in UTF-2000.
4141 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
4142 `Fput_char_attribute'.
4143 (syms_of_mule_charset): Add new function `define-char' and new
4144 symbol `ucs' in UTF-2000.
4145 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
4147 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4149 * mule-charset.c (Fcharset_name): Define `byte_offset' in
4150 non-UTF-2000 configuration.
4152 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4154 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
4155 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
4157 * mule-charset.c (mark_charset): `cs->encoding_table' has been
4159 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
4160 (Fset_charset_mapping_table): Likewise.
4162 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
4163 (CHARSET_ENCODING_TABLE): Delete.
4164 (XCHARSET_ENCODING_TABLE): Delete.
4165 (charset_code_point): New interface.
4167 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4169 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
4170 instead of `charset_get_byte1' and `charset_get_byte2'.
4172 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
4173 (charset_get_byte2): Deleted.
4175 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4177 * char-ucs.h (SPLIT_CHAR): New inline function.
4178 (breakup_char_1): Use `SPLIT_CHAR'.
4180 * mule-charset.c (range_charset_code_point): New function.
4181 (charset_code_point): New function.
4183 * char-ucs.h (range_charset_code_point): New interface.
4184 (breakup_char_1): Use `range_charset_code_point'.
4186 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4188 * mule-charset.c (Fmake_charset): Delete unused local variable
4191 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
4192 (breakup_char_1): Find a charset and code-point in
4193 `Vcharacter_attribute_table'.
4195 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4197 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4200 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4202 * mule-charset.c (Vcharacter_attribute_table): New variable.
4203 (Fchar_attribute_alist): New function.
4204 (Fget_char_attribute): New function.
4205 (Fput_char_attribute): New function.
4206 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
4208 (syms_of_mule_charset): Add new function `char-attribute-alist',
4209 `get-char-attribute' and `put-char-attribute'.
4210 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
4212 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
4214 * mule-charset.c (Fmake_charset): Just use
4215 `get_unallocated_leading_byte'.
4217 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
4218 sets; don't use final-byte based number for private sets.
4220 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4222 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
4225 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4227 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4230 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4232 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
4233 of `CHAR_LEADING_BYTE' in UTF-2000.
4235 * insdel.c (find_charsets_in_bufbyte_string): Use
4236 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4237 (find_charsets_in_emchar_string): Likewise.
4239 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
4240 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4242 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
4243 (CHAR_CHARSET_ID): New macro.
4245 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4247 * chartab.c (get_char_table): Don't use type `Charset_ID' for
4248 charset-id - MIN_LEADING_BYTE.
4249 (put_char_table): Likewise.
4251 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4253 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
4254 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
4255 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
4256 (CHARSET_ID_OFFSET): New macro.
4257 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
4258 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
4259 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
4260 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4262 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4264 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
4265 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
4266 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
4267 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
4268 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
4270 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4272 * mule-charset.c (next_allocated_leading_byte): New variable in
4274 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
4275 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
4276 (get_unallocated_leading_byte): Simply use
4277 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
4278 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
4281 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
4282 (MAX_LEADING_BYTE_PRIVATE): New macro.
4283 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
4284 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
4286 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4288 * mule-charset.c (Fmake_charset): Allocate final-byte based
4289 charset-id for 94-set, 96-set and 94x94-set.
4291 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4293 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
4295 (Fmake_charset): Likewise.
4296 (complex_vars_of_mule_charset): Modify the font registry of
4297 `ucs-bmp' not to match `Ethiopic-Unicode'.
4299 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4301 * mule-charset.c (complex_vars_of_mule_charset): Add font
4302 registory of `ucs-bmp'.
4304 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4306 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
4307 coded-charsets in `default-coded-charset-priority-list' when
4308 breaking up a character.
4310 * mule-charset.c (Vcharset_latin_viscii): New variable.
4311 (Qlatin_viscii): New variable.
4312 (make_charset): Don't use `decoding_table'.
4313 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
4315 (Fset_charset_mapping_table): New implementation.
4316 (syms_of_mule_charset): Add new symbol `latin-viscii'.
4317 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
4318 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
4319 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
4320 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
4321 charset `latin_viscii'.
4323 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
4324 (CHARSET_TYPE_94X94): Change to 1 from 2.
4325 (CHARSET_TYPE_96): Change to 2 from 1.
4326 (CHARSET_TYPE_128): New macro.
4327 (CHARSET_TYPE_128X128): Change to 5 from 4.
4328 (CHARSET_TYPE_256): New macro.
4329 (CHARSET_TYPE_256X256): Change to 7 from 5.
4330 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
4332 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4334 * text-coding.c (char_encode_shift_jis): Refer
4335 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
4336 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
4338 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
4339 (char_byte_table_equal): New function in UTF-2000.
4340 (char_byte_table_hash): New function in UTF-2000.
4341 (char_byte_table_description): New constant in UTF-2000.
4342 (char_byte_table): New type in UTF-2000.
4343 (make_char_byte_table): New function in UTF-2000.
4344 (copy_char_byte_table): New function in UTF-2000.
4345 (make_char_code_table): New macro in UTF-2000.
4346 (get_char_code_table): New function in UTF-2000.
4347 (put_char_code_table): New function in UTF-2000.
4348 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
4349 (charset_description): Add setting in UTF-2000.
4350 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
4351 `CHARSET_TO_BYTE1_TABLE(cs)'.
4352 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
4353 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
4354 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
4355 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
4356 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
4357 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
4358 `CHARSET_TO_BYTE2_TABLE(cs)'.
4360 * char-ucs.h (char_byte_table): New type.
4361 (XCHAR_BYTE_TABLE): New macro.
4362 (XSETCHAR_BYTE_TABLE): New macro.
4363 (CHAR_BYTE_TABLE_P): New macro.
4364 (GC_CHAR_BYTE_TABLE_P): New macro.
4365 (struct Lisp_Char_Byte_Table): New structure.
4366 (get_char_code_table): New interface.
4367 (Emchar_to_byte_table): Deleted.
4368 (get_byte_from_character_table): Deleted.
4369 (struct Lisp_Charset): Add `encoding_table'; delete
4370 `to_byte1_table' and `to_byte2_table'.
4371 (CHARSET_ENCODING_TABLE): New macro.
4372 (CHARSET_TO_BYTE1_TABLE): Deleted.
4373 (CHARSET_TO_BYTE2_TABLE): Deleted.
4374 (XCHARSET_ENCODING_TABLE): New macro.
4375 (XCHARSET_TO_BYTE1_TABLE): Deleted.
4376 (XCHARSET_TO_BYTE2_TABLE): Deleted.
4378 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4380 * mule-charset.c (syms_of_mule_charset): Delete charset alias
4381 `vietnamese-viscii-*'.
4383 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4385 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
4386 (Qvietnamese_viscii_upper): New variable.
4387 (Fdefine_charset_alias): New function.
4388 (syms_of_mule_charset): Add new function `define-charset-alias'.
4389 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
4390 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
4393 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
4395 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
4396 (MAX_CHAR_OBS_94x94): New macro.
4397 (breakup_char_1): Support obsolete XEmacs-UCS private code space
4400 * mule-charset.c (put_byte_from_character_table): Change unit size
4402 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
4404 (Fmake_reverse_direction_charset): Modify dummy argument of
4405 `make_charset' for non-UTF-2000 environment.
4407 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4409 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
4411 * mule-charset.c (destroy_byte_from_character_table): New macro.
4412 (latin_jisx0201_to_ucs): Deleted.
4413 (latin_iso8859_2_to_ucs): Deleted.
4414 (latin_iso8859_3_to_ucs): Deleted.
4415 (latin_iso8859_4_to_ucs): Deleted.
4416 (latin_iso8859_9_to_ucs): Deleted.
4417 (latin_viscii_lower_to_ucs): Deleted.
4418 (latin_viscii_upper_to_ucs): Deleted.
4419 (mark_charset): Mark `cs->decoding_table'.
4420 (Fcharset_mapping_table): Fix DOC-string.
4421 (Fset_charset_mapping_table): New function.
4422 (syms_of_mule_charset): Add nwe function
4423 `set-charset-mapping-table'.
4424 (complex_vars_of_mule_charset): Don't setup and use
4427 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
4429 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
4432 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
4434 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
4435 (Vcharset_katakana_jisx0208): New variable.
4436 (Qhiragana_jisx0208): New variable.
4437 (Qkatakana_jisx0208): New variable.
4438 (make_charset): Add new argument `byte_offset'.
4439 (charset_get_byte1): Modify for new coded-charset definition; use
4440 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4441 `XCHARSET_BYTE_OFFSET'.
4442 (Fmake_charset): Modify for `make_charset'.
4443 (Fmake_reverse_direction_charset): Likewise.
4444 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
4445 `katakana-jisx0208'.
4446 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
4447 `.' in font registry of charset `katakana-jisx0201',
4448 `latin-jisx0201', `vietnamese-viscii-lower' and
4449 `vietnamese-viscii-upper'; modify DOC-string of charset
4450 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
4451 registry of charset `japanese-jisx0208' not to use font for JIS
4452 X0208:1990; add new charset `hiragana-jisx0208' and
4453 `katakana-jisx0208'.
4455 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
4456 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
4457 (struct Lisp_Charset): Add `byte_offset'.
4458 (CHARSET_BYTE_OFFSET): New macro.
4459 (XCHARSET_UCS_MIN): New macro.
4460 (XCHARSET_UCS_MAX): New macro.
4461 (XCHARSET_CODE_OFFSET): New macro.
4462 (XCHARSET_BYTE_OFFSET): New macro.
4463 (MIN_CHAR_HIRAGANA): New macro.
4464 (MAX_CHAR_HIRAGANA): New macro.
4465 (MIN_CHAR_KATAKANA): New macro.
4466 (MAX_CHAR_KATAKANA): New macro.
4467 (MAKE_CHAR): Modify for new coded-charset definition; use
4468 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4469 `XCHARSET_BYTE_OFFSET'.
4471 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4473 * mule-charset.c (CHAR96): Deleted.
4474 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
4476 (latin_iso8859_2_to_ucs): Likewise.
4477 (latin_iso8859_3_to_ucs): Likewise.
4478 (latin_iso8859_4_to_ucs): Likewise.
4479 (latin_iso8859_9_to_ucs): Likewise.
4480 (latin_viscii_lower_to_ucs): Likewise.
4481 (latin_viscii_upper_to_ucs): Likewise.
4482 (latin_tcvn5712_to_ucs): Commented out.
4483 (make_charset): Change type of argument `decoding_table' from
4484 <Emchar*> to <Lisp_Object> [vector of characters].
4485 (Fmake_charset): Modify for `make_charset'.
4486 (Fmake_reverse_direction_charset): Likewise.
4487 (Fcharset_mapping_table): New function in UTF-2000.
4488 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
4490 (complex_vars_of_mule_charset): Modify for type change of
4491 `*_to_ucs'; modify for `make_charset'.
4493 * char-ucs.h (struct Lisp_Charset): Change type of
4494 `decoding_table' from <Emchar*> to <Lisp_Object>.
4495 (MAKE_CHAR): Modify for new specification of `decoding_table'.
4497 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4499 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
4500 error with non-UTF-2000-Mule.
4502 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
4504 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
4506 (Vcharset_chinese_cns11643_4): Likewise.
4507 (Vcharset_chinese_cns11643_5): Likewise.
4508 (Vcharset_chinese_cns11643_6): Likewise.
4509 (Vcharset_chinese_cns11643_7): Likewise.
4510 (Qchinese_cns11643_3): Likewise.
4511 (Qchinese_cns11643_4): Likewise.
4512 (Qchinese_cns11643_5): Likewise.
4513 (Qchinese_cns11643_6): Likewise.
4514 (Qchinese_cns11643_7): Likewise.
4515 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
4516 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4517 and `chinese-cns11643-7' to lisp/mule/chinese.el.
4518 (complex_vars_of_mule_charset): Likewise.
4520 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4522 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
4524 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
4525 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
4527 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4529 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
4531 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
4532 (breakup_char_1): Likewise.
4534 * text-coding.c (char_encode_iso2022): Keep designated charsets if
4535 one of them includes the specified character.
4537 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4539 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
4541 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4543 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
4545 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4547 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
4548 definition for non-UTF-2000 Mule.
4549 (latin_iso8859_3_to_ucs): Likewise.
4550 (latin_iso8859_4_to_ucs): Likewise.
4551 (latin_iso8859_9_to_ucs): Likewise.
4552 (latin_jisx0201_to_ucs): Likewise.
4553 (MIN_CHAR_THAI): Likewise.
4554 (MAX_CHAR_THAI): Likewise.
4555 (MIN_CHAR_GREEK): Likewise.
4556 (MAX_CHAR_GREEK): Likewise.
4557 (MIN_CHAR_HEBREW): Likewise.
4558 (MAX_CHAR_HEBREW): Likewise.
4559 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
4560 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
4561 (MIN_CHAR_CYRILLIC): Likewise.
4562 (MAX_CHAR_CYRILLIC): Likewise.
4564 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4566 * char-ucs.h (breakup_char_1): Use
4567 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
4568 thai-tis620 and katakana-jisx0201 area.
4570 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4572 * char-ucs.h (breakup_char_1): Use
4573 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
4576 * text-coding.c (reset_encoding_stream): Fixed.
4577 (char_encode_ucs4): Delete `& 255'.
4579 * char-ucs.h (breakup_char_1): Use
4580 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
4582 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4584 * file-coding.c (Fmake_coding_system): Don't set up
4585 `codesys->fixed.size'.
4586 (encode_coding_no_conversion): Don't refer
4587 `str->codesys->fixed.size'.
4589 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4591 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
4592 (latin_a_char_to_byte1): Deleted.
4593 (latin_a_char_to_byte2): Deleted.
4595 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4597 * mule-charset.c (make_charset): Add new argument `ucs_min',
4598 `ucs_max' and `code_offset'.
4599 (charset_get_byte1): New implementation [delete specific charset
4600 depended implementations].
4601 (Fmake_charset): Modify for `make_charset'.
4602 (Fmake_reverse_direction_charset): Likewise.
4603 (complex_vars_of_mule_charset): Likewise.
4605 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
4607 (CHARSET_UCS_MIN): New macro.
4608 (CHARSET_UCS_MAX): New macro.
4609 (CHARSET_CODE_OFFSET): New macro.
4610 (MAKE_CHAR): Delete charset depended definitions [except
4613 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4615 * char-ucs.h (breakup_char_1): Use
4616 `Vdefault_coded_charset_priority_list' for C0-Controls,
4617 Basic-Latin, C1-Controls and Latin-1-Supplement area.
4619 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4621 * char-ucs.h (charset_get_byte1): New function.
4622 (XCHARSET_GET_BYTE1): Deleted.
4623 (charset_get_byte2): New function.
4624 (XCHARSET_GET_BYTE2): Deleted.
4625 (Vdefault_coded_charset_priority_list): New external variable.
4626 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
4627 `Vdefault_preferred_coded_charset_list'.
4629 * mule-charset.c (charset_get_byte1): New function.
4630 (charset_get_byte2): New function.
4631 (Vdefault_coded_charset_priority_list): New variable.
4632 (vars_of_mule_charset): Add new variable
4633 `default-coded-charset-priority-list'.
4635 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4637 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
4638 (XCHARSET_GET_BYTE2): New inline function.
4639 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
4640 `XCHARSET_GET_BYTE2'.
4642 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4644 * mule-charset.c (make_charset): Initialize
4645 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
4646 NULL if table is not defined.
4648 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4650 * text-coding.c (char_encode_shift_jis): Use
4651 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
4652 `ucs_to_latin_jisx0201'.
4654 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
4655 (ucs_to_latin_iso8859_2): Deleted.
4656 (ucs_to_latin_iso8859_3): Deleted.
4657 (ucs_to_latin_iso8859_4): Deleted.
4658 (ucs_to_latin_iso8859_9): Deleted.
4659 (ucs_to_latin_viscii_lower): Deleted.
4660 (ucs_to_latin_viscii_upper): Deleted.
4661 (ucs_to_latin_tcvn5712): Deleted.
4662 (make_charset): Add new argument `decoding_table'; set up
4663 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
4664 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
4665 `decoding_table' is defined in UTF-2000.
4666 (Fmake_charset): Modify for `make_charset'.
4667 (Fmake_reverse_direction_charset): Likewise.
4668 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
4669 and `GENERATE_96_SET'.
4671 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
4672 (ucs_to_latin_jisx0201): Deleted.
4673 (latin_iso8859_2_to_ucs): Deleted.
4674 (ucs_to_latin_iso8859_2): Deleted.
4675 (latin_iso8859_3_to_ucs): Deleted.
4676 (ucs_to_latin_iso8859_3): Deleted.
4677 (latin_iso8859_4_to_ucs): Deleted.
4678 (ucs_to_latin_iso8859_4): Deleted.
4679 (latin_iso8859_9_to_ucs): Deleted.
4680 (ucs_to_latin_iso8859_9): Deleted.
4681 (latin_viscii_lower_to_ucs): Deleted.
4682 (ucs_to_latin_viscii_lower): Deleted.
4683 (latin_viscii_upper_to_ucs): Deleted.
4684 (ucs_to_latin_viscii_upper): Deleted.
4685 (struct Lisp_Charset): Renamed `encoding_table' to
4686 `to_byte1_table'; add `to_byte2_table'.
4687 (CHARSET_DECODING_TABLE): New macro.
4688 (CHARSET_TO_BYTE1_TABLE): New macro.
4689 (CHARSET_TO_BYTE2_TABLE): New macro.
4690 (XCHARSET_DECODING_TABLE): New macro.
4691 (XCHARSET_TO_BYTE1_TABLE): New macro.
4692 (XCHARSET_TO_BYTE2_TABLE): New macro.
4693 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
4695 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
4696 don't use `ucs_to_*' tables.
4698 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4700 * text-coding.c (Fmake_coding_system): Don't set up
4701 `codesys->fixed.size'.
4702 (encode_coding_no_conversion): Use `if' instead of `switch'.
4704 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
4706 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4708 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
4709 (Fmake_charset): Modify for `make_charset'.
4710 (Fmake_reverse_direction_charset): Likewise.
4711 (complex_vars_of_mule_charset): Likewise.
4713 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4715 * text-coding.c (char_encode_shift_jis): Use table
4716 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
4718 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4720 * text-coding.c (text_encode_generic): Use `if' instead of
4722 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
4725 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4727 * text-coding.c (encode_coding_sjis): Deleted.
4728 (char_encode_shift_jis): New function.
4729 (char_finish_shift_jis): New function.
4730 (reset_encoding_stream): Set up `encode_char' and `finish' for
4731 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
4732 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
4733 (char_encode_utf8): Treat `eol_type'.
4735 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4737 * file-coding.c (decode_coding_iso2022): Use
4738 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
4740 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4742 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4745 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4747 * char-lb.h (CHAR_COLUMNS): New macro.
4749 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4751 * text-coding.c (char_encode_ucs4): New function.
4752 (char_finish_ucs4): New function.
4753 (encode_coding_ucs4): Deleted.
4754 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
4755 (text_encode_generic): Delete local variable `charset' and `half'.
4756 (ucs_to_mule_table): Deleted.
4757 (mule_to_ucs_table): Deleted.
4758 (Fset_ucs_char): Deleted.
4759 (ucs_to_char): Deleted.
4760 (Fucs_char): Deleted.
4761 (Fset_char_ucs): Deleted.
4762 (Fchar_ucs): Deleted.
4763 (decode_ucs4): Deleted.
4764 (mule_char_to_ucs4): Deleted.
4765 (encode_ucs4): Deleted.
4766 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
4767 (decode_coding_utf8): Likewise.
4768 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
4769 (char_encode_iso2022): Fixed.
4770 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
4771 `Fset_char_ucs' and `Fchar_ucs'.
4772 (complex_vars_of_file_coding): Don't initialize
4773 `ucs_to_mule_table'.
4775 * objects-tty.c (tty_initialize_font_instance): Don't use
4778 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
4781 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
4782 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4784 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
4785 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4786 (emchar_string_displayed_columns): Likewise.
4788 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
4789 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4790 (string_column_at_point): Likewise.
4791 (Fmove_to_column): Likewise.
4793 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
4794 `encoding_table' and `decoding_table'.
4795 (CHARSET_REP_BYTES): Deleted.
4796 (XCHARSET_REP_BYTES): Deleted.
4797 (XCHARSET_COLUMNS): Deleted.
4798 (CHAR_COLUMNS): New macro.
4799 (lookup_composite_char): Deleted unconditionally.
4800 (composite_char_string): Likewise.
4802 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4804 * char-ucs.h (Emchar_to_byte_table): New type.
4805 (get_byte_from_character_table): New function interface.
4806 (Vcharset_latin_jisx0201): New variable.
4807 (latin_jisx0201_to_ucs): New variable.
4808 (ucs_to_latin_jisx0201): New variable.
4809 (Vcharset_latin_iso8859_2): New variable.
4810 (latin_iso8859_2_to_ucs): New variable.
4811 (ucs_to_latin_iso8859_2): New variable.
4812 (Vcharset_latin_iso8859_3): New variable.
4813 (latin_iso8859_3_to_ucs): New variable.
4814 (ucs_to_latin_iso8859_3): New variable.
4815 (Vcharset_latin_iso8859_4): New variable.
4816 (latin_iso8859_4_to_ucs): New variable.
4817 (ucs_to_latin_iso8859_4): New variable.
4818 (Vcharset_latin_iso8859_9): New variable.
4819 (latin_iso8859_9_to_ucs): New variable.
4820 (ucs_to_latin_iso8859_9): New variable.
4821 (Vcharset_latin_viscii_lower): New variable.
4822 (latin_viscii_lower_to_ucs): New variable.
4823 (ucs_to_latin_viscii_lower): New variable.
4824 (Vcharset_latin_viscii_upper): New variable.
4825 (latin_viscii_upper_to_ucs): New variable.
4826 (ucs_to_latin_viscii_upper): New variable.
4827 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
4828 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
4829 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
4830 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
4831 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
4832 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
4833 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
4834 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
4835 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
4836 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
4838 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
4839 (Vcharset_latin_viscii_upper): New variable.
4840 (make_byte_from_character_table): New function.
4841 (put_byte_from_character_table): New function.
4842 (get_byte_from_character_table): New function.
4843 (CHAR96): New macro.
4844 (ucs_to_latin_jisx0201): New variable.
4845 (latin_jisx0201_to_ucs): New variable.
4846 (ucs_to_latin_iso8859_2): New variable.
4847 (latin_iso8859_2_to_ucs): New variable.
4848 (ucs_to_latin_iso8859_3): New variable.
4849 (latin_iso8859_3_to_ucs): New variable.
4850 (ucs_to_latin_iso8859_4): New variable.
4851 (latin_iso8859_4_to_ucs): New variable.
4852 (ucs_to_latin_iso8859_9): New variable.
4853 (latin_iso8859_9_to_ucs): New variable.
4854 (ucs_to_latin_viscii_lower): New variable.
4855 (latin_viscii_lower_to_ucs): New variable.
4856 (ucs_to_latin_viscii_upper): New variable.
4857 (latin_viscii_upper_to_ucs): New variable.
4858 (ucs_to_latin_tcvn5712): New variable.
4859 (latin_tcvn5712_to_ucs): New variable.
4860 (Qlatin_viscii_lower): New variable.
4861 (Qlatin_viscii_upper): New variable.
4862 (syms_of_mule_charset): Set up new symbol
4863 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
4864 (complex_vars_of_mule_charset): Set up new charset
4865 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
4866 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
4867 `ucs_to_<CHARSET>' tables.
4869 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4871 * text-coding.c: New file.
4873 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4875 * mule-charset.c (Fmake_char): Fix problem of 256-set.
4877 * char-ucs.h (Vcharset_ucs_bmp): New variable.
4878 (MAKE_CHAR): Modify for `ucs-bmp'.
4879 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
4880 non-MULE characters of BMP.
4882 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
4884 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4887 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
4890 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
4891 - Include character.h for `CHAR_ASCII_P'.
4893 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
4895 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
4896 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
4898 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
4899 (BYTE_C0_P): Likewise.
4900 (BYTE_C1_P): Likewise.
4901 (Lstream_get_emchar_1): Likewise.
4902 (Lstream_fput_emchar): Likewise.
4903 (Lstream_funget_emchar): Likewise.
4904 (copy_internal_to_external): Likewise.
4905 (copy_external_to_internal): Likewise.
4907 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
4908 (BYTE_C0_P): Likewise.
4909 (BYTE_C1_P): Likewise.
4910 (Lstream_get_emchar_1): Likewise.
4911 (Lstream_fput_emchar): Likewise.
4912 (Lstream_funget_emchar): Likewise.
4913 (copy_internal_to_external): Likewise.
4914 (copy_external_to_internal): Likewise.
4916 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
4917 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4919 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
4920 (BYTE_ASCII_P): Moved to mb-1byte.h.
4922 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
4924 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
4926 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
4927 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
4928 (VALID_CHARPTR_P): Moved to mb-*byte.h.
4929 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4930 (VALIDATE_CHARPTR_FORWARD): Likewise.
4931 (simple_charptr_emchar): Moved to mb-multibyte.h.
4932 (simple_set_charptr_emchar): Likewise.
4933 (simple_charptr_copy_char): Likewise.
4934 (non_ascii_charptr_emchar): Likewise.
4935 (non_ascii_set_charptr_emchar): Likewise.
4936 (non_ascii_charptr_copy_char): Likewise.
4937 (charptr_emchar): Moved to mb-*byte.h.
4938 (set_charptr_emchar): Likewise.
4939 (charptr_copy_char): Likewise.
4941 * mb-1byte.h, mb-multibyte.h: New files.
4943 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4945 * mb-utf-8.h (MULTIBYTE): New macro.
4946 (MAX_EMCHAR_LEN): Moved from buffer.h.
4947 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
4949 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
4951 * mb-lb.h, multibyte.h: New files.
4953 * char-1byte.h (Charset_ID): Moved from buffer.h.
4954 (MIN_LEADING_BYTE): Likewise.
4955 (LEADING_BYTE_ASCII): Likewise.
4956 (NUM_LEADING_BYTES): Likewise.
4957 (CHARSETP): Likewise.
4958 (CHARSET_BY_LEADING_BYTE): Likewise.
4959 (XCHARSET_LEADING_BYTE): Likewise.
4960 (XCHARSET_GRAPHIC): Likewise.
4961 (XCHARSET_COLUMNS): Likewise.
4962 (XCHARSET_DIMENSION): Likewise.
4963 (CHAR_CHARSET): Likewise.
4964 (CHAR_LEADING_BYTE): Likewise.
4965 (BREAKUP_CHAR): Likewise.
4966 (Vcharset_ascii): Likewise.
4968 * buffer.h: Include multibyte.h unconditionally.
4969 (VALID_CHARPTR_P): Moved to multibyte.h.
4970 (ASSERT_VALID_CHARPTR): Likewise.
4971 (REAL_INC_CHARPTR): Likewise.
4972 (REAL_INC_CHARBYTIND): Likewise.
4973 (REAL_DEC_CHARPTR): Likewise.
4974 (INC_CHARPTR): Likewise.
4975 (INC_CHARBYTIND): Likewise.
4976 (DEC_CHARPTR): Likewise.
4977 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4978 (VALIDATE_CHARPTR_FORWARD): Likewise.
4979 (charptr_n_addr): Likewise.
4980 (MAX_EMCHAR_LEN): Moved to mb-*.h.
4981 (simple_charptr_emchar): Moved to multibyte.h.
4982 (simple_set_charptr_emchar): Likewise.
4983 (simple_charptr_copy_char): Likewise.
4984 (non_ascii_charptr_emchar): Likewise.
4985 (non_ascii_set_charptr_emchar): Likewise.
4986 (non_ascii_charptr_copy_char): Likewise.
4987 (charptr_emchar): Likewise.
4988 (set_charptr_emchar): Likewise.
4989 (charptr_copy_char): Likewise.
4990 (charptr_emchar_n): Likewise.
4991 (Charset_ID): Moved to char-1byte.h.
4992 (Vcharset_ascii): Likewise.
4993 (CHAR_CHARSET): Likewise.
4994 (CHAR_LEADING_BYTE): Likewise.
4995 (LEADING_BYTE_ASCII): Likewise.
4996 (NUM_LEADING_BYTES): Likewise.
4997 (MIN_LEADING_BYTE): Likewise.
4998 (CHARSETP): Likewise.
4999 (CHARSET_BY_LEADING_BYTE): Likewise.
5000 (XCHARSET_LEADING_BYTE): Likewise.
5001 (XCHARSET_GRAPHIC): Likewise.
5002 (XCHARSET_COLUMNS): Likewise.
5003 (XCHARSET_DIMENSION): Likewise.
5004 (BREAKUP_CHAR): Likewise.
5006 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5008 * character.h: Add document about interface for characters.
5010 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
5011 (MAKE_CHAR): Delete comment about
5012 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
5013 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
5014 (BREAKUP_CHAR): Modify name of arguments.
5015 (CHAR_CHARSET): Modify name of argument.
5017 * buffer.h: Delete document about Emchar accessors.
5019 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5021 * character.h (CHAR_INTP): Moved from buffer.h
5022 (CHAR_OR_CHAR_INTP): Likewise.
5023 (XCHAR_OR_CHAR_INT): Likewise.
5024 (CHECK_CHAR_COERCE_INT): Likewise.
5026 * buffer.h (CHAR_INTP): Moved to character.h
5027 (CHAR_OR_CHAR_INTP): Likewise.
5028 (XCHAR_OR_CHAR_INT): Likewise.
5029 (CHECK_CHAR_COERCE_INT): Likewise.
5031 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5034 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
5035 - Include char-1byte.h, char-lb.h or char-ucs.h.
5037 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
5039 * buffer.h: Include character unconditionally.
5040 (valid_char_p): Moved to char-*.h.
5041 (non_ascii_valid_char_p): Moved to char-lb.h.
5043 * char-1byte.h, char-lb.h, char-ucs.h: New files.
5045 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5047 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
5048 in UTF-2000 because it is not ported yet and not to use
5049 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
5050 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
5051 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
5053 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
5054 (CHAR_ASCII_P): Moved from character.h.
5056 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
5057 (CHAR_ASCII_P): Likewise.
5058 (CHAR_FIELD1_MASK): Deleted.
5059 (CHAR_FIELD2_MASK): Deleted.
5060 (CHAR_FIELD3_MASK): Deleted.
5061 (MAX_CHAR_BASIC_LATIN): New macro.
5062 (CHAR_FIELD1): Deleted.
5063 (CHAR_FIELD2_INTERNAL): Deleted.
5064 (CHAR_FIELD3_INTERNAL): Deleted.
5065 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
5066 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
5067 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
5068 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
5069 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
5070 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
5071 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
5072 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
5073 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
5074 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
5075 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
5076 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
5077 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
5078 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
5079 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
5080 (MIN_CHAR_COMPOSITION): Deleted.
5081 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
5082 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
5084 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
5086 * buffer.h: Include mb-utf-8.h in UTF-2000.
5088 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
5090 * mb-utf-8.h: New file.
5092 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
5094 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
5097 * mule-charset.h, buffer.h (Charset_ID): New type.
5099 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5101 * mule-canna.c (c2mu): Use `MAKE_CHAR',
5102 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
5103 instead of `MULE_CHAR_PRIVATE_OFFSET',
5104 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
5105 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
5106 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
5108 * character.h (Vcharset_japanese_jisx0212): New variable
5111 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5113 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
5114 (charset_by_attributes): Delete array about direction.
5115 (latin_a_char_to_charset): New variable in UTF-2000.
5116 (latin_a_char_to_byte1): New variable in UTF-2000.
5117 (latin_a_char_to_byte2): New variable in UTF-2000.
5118 (Qucs_bmp): New variable.
5119 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
5121 (next_allocated_2_byte_leading_byte): Likewise.
5122 (non_ascii_set_charptr_emchar): Likewise.
5123 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
5124 `CHARSET_TYPE_256X256' in UTF-2000; modify for
5125 `charset_by_attributes'.
5126 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
5127 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
5128 and `CHARSET_BY_LEADING_BYTE'.
5129 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
5130 `utf-2000-version' to `vars_of_mule_charset'.
5131 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
5132 define `leading-code-private-11' in UTF-2000; move setting of
5133 `utf-2000-version' from `syms_of_mule_charset'.
5134 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
5137 * character.h (Charset_ID): New type.
5138 (LEADING_BYTE_UCS_BMP): New macro.
5139 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
5140 (CHARSET_ID_OFFSET_94): New macro.
5141 (MIN_CHARSET_ID_PRIVATE_94): New macro.
5142 (MAX_CHARSET_ID_PRIVATE_94): New macro.
5143 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
5145 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
5146 (LEADING_BYTE_LATIN_JISX0201): Likewise.
5147 (CHARSET_ID_OFFSET_96): New macro.
5148 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
5149 CHARSET_ID_OFFSET_96 and final-byte.
5150 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
5151 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
5152 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
5153 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
5154 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
5155 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
5156 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
5157 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
5158 (LEADING_BYTE_THAI_TIS620): Likewise.
5159 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
5160 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
5161 (CHARSET_ID_OFFSET_94x94): New macro.
5162 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
5163 CHARSET_ID_OFFSET_94x94 and final-byte.
5164 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
5165 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
5166 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
5167 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
5168 (LEADING_BYTE_CHINESE_GB2312): Likewise.
5169 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
5170 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
5171 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
5172 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
5173 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
5174 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
5175 (CHARSET_TYPE_128X128): New macro.
5176 (CHARSET_TYPE_256X256): New macro.
5177 (XCHARSET_PRIVATE_P): Delete unconditionally.
5178 (charset_by_attributes): Delete array about direction.
5179 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
5180 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
5181 (MIN_CHAR_94): New macro.
5182 (MAX_CHAR_94): New macro.
5183 (MIN_CHAR_96): New macro.
5184 (MAX_CHAR_96): New macro.
5185 (MIN_CHAR_94x94): New macro.
5186 (MAX_CHAR_94x94): New macro.
5187 (MIN_CHAR_96x96): New macro.
5188 (MAX_CHAR_96x96): New macro.
5189 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
5190 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5191 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
5193 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
5194 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
5195 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
5196 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
5197 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
5198 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
5199 `XCHARSET_LEADING_BYTE' to make code-point.
5200 (latin_a_char_to_charset): New variable.
5201 (latin_a_char_to_byte1): New variable.
5202 (latin_a_char_to_byte2): New variable.
5203 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
5204 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
5205 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
5207 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
5208 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
5209 (find_charsets_in_emchar_string): Likewise.
5210 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
5212 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
5214 (decode_coding_iso2022): Likewise.
5216 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
5219 * redisplay.c (redisplay_text_width_emchar_string): Use
5220 `Charset_ID' instead of `unsigned char'.
5221 (redisplay_frame_text_width_string): Likewise.
5223 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
5226 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
5227 instead of `unsigned char'.
5228 (face_cachel_charset_font_metric_info): Likewise.
5230 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
5231 (get_non_ascii_char_table_value): Likewise.
5232 (get_char_table): Likewise.
5233 (put_char_table): Likewise.
5234 (map_over_other_charset): Likewise.
5235 (map_char_table): Likewise.
5237 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
5238 instead of `unsigned char'.
5240 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
5242 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
5243 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
5245 * mule-charset.c (leading_code_private_11): Don't define in
5248 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
5249 in UTF-2000 because it is not ported yet and not to use
5250 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
5252 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
5254 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
5256 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5258 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
5261 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
5262 of unsigned char to store leading-byte.
5264 * chartab.c (get_non_ascii_char_table_value): Don't use
5265 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
5267 * file-coding.c (encode_coding_big5): Delete bogus implementation
5270 * character.h (LEADING_BYTE_*): Delete definition for
5272 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
5273 (LEADING_BYTE_PREFIX_P): Deleted.
5274 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
5275 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
5276 (BUFBYTE_LEADING_BYTE_P): Deleted.
5277 (CHARSET_PRIVATE_P): Deleted unconditionally.
5278 (rep_bytes_by_first_byte): Deleted unconditionally.
5279 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
5280 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
5281 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5282 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
5283 (CHAR_FIELD2): Deleted.
5284 (CHAR_FIELD3): Deleted.
5285 (MAKE_CHAR): Delete definition for non-UTF-2000.
5286 (BREAKUP_CHAR_1_UNSAFE): Deleted.
5287 (breakup_char_1): New implementation.
5288 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
5289 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
5291 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5293 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
5296 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5298 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
5299 (CHARSET_PRIVATE_P): Likewise.
5300 (XCHARSET_PRIVATE_P): Likewise.
5301 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
5303 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
5305 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
5307 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5309 * character.h (LEADING_BYTE_*): Changed in UTF2000.
5310 (NUM_LEADING_BYTES): Changed from 128 to 256.
5311 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5312 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
5314 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5316 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
5318 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
5319 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
5320 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
5321 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
5322 (Qchinese_cns11643_3): New variable in UTF2000.
5323 (Qchinese_cns11643_4): New variable in UTF2000.
5324 (Qchinese_cns11643_5): New variable in UTF2000.
5325 (Qchinese_cns11643_6): New variable in UTF2000.
5326 (Qchinese_cns11643_7): New variable in UTF2000.
5327 (syms_of_mule_charset): Define `chinese-cns11643-3',
5328 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
5329 and `chinese-cns11643-7' in UTF2000.
5330 (vars_of_mule_charset): Initialize
5331 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
5333 (complex_vars_of_mule_charset): Setup charset
5334 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
5335 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
5337 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5339 * mule-charset.c: Move setting for `leading-code-private-11' from
5340 `syms_of_mule_charset' to `vars_of_mule_charset'.
5342 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5344 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
5345 and `NUM_LEADING_BYTES' in assert.
5347 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5349 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
5351 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
5352 `NUM_LEADING_BYTES' instead of 128.
5354 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
5356 * mule-charset.h (charset_by_leading_byte): Use
5357 `NUM_LEADING_BYTES' instead of 128.
5358 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
5360 * mule-charset.c (charset_by_leading_byte): Use
5361 `NUM_LEADING_BYTES' instead of 128.
5362 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
5364 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
5367 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
5369 * mule-charset.c (syms_of_mule_charset): Update to
5372 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
5374 * file-coding.c (encode_coding_sjis): New implementation for
5375 UTF2000. (decode_coding_sjis): Ditto.
5377 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5379 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
5380 Don't define in UTF2000.
5382 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
5385 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5386 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
5389 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5391 * config.h.in (CHAR_IS_UCS4): New macro.
5393 * mule-charset.c (rep_bytes_by_first_byte): Modify for
5394 conventional MULE representation.
5395 (syms_of_mule_charset): Update to 0.3 (Imamiya).
5397 * mule-charset.h: Reverted to original.
5399 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5400 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
5401 "mule-charset.h" if CHAR_IS_UCS4 is defined.
5403 * character.h: New file.
5405 * file-coding.c (Fmake_coding_system): Set 1 to
5406 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
5408 (encode_coding_no_conversion): New implementation for UTF2000.
5410 * file-coding.h (struct Lisp_Coding_System): Add new member
5413 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
5415 * file-coding.c (decode_coding_iso2022): Code-point arguments of
5416 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
5417 (encode_coding_iso2022): New implementation for UTF2000.
5419 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5421 * mule-canna.c (c2mu): New implementation for UTF2000.
5424 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5426 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
5428 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5430 * file-coding.c (reset_encoding_stream): Set 0 to
5431 `str->iso2022.current_char_boundary' in UTF2000.
5432 (encode_utf8): Don't define in UTF2000.
5433 (encode_coding_utf8): New implementation for UTF-8 representation
5435 (complex_vars_of_file_coding): Define coding-system `utf-8'.
5437 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5439 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
5441 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
5443 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5445 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
5447 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
5448 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
5449 as UTF-8 in UTF2000.
5450 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
5451 (non_ascii_valid_char_p): Don't define in UTF2000.
5452 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
5453 (Lstream_get_emchar_1): Likewise.
5454 (utf-2000-version): New variable in UTF2000.
5456 * lread.c (read_escape): Add new reader `u'.
5458 * insdel.c (three_to_one_table): Don't define in UTF2000.
5459 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
5460 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5462 (bytind_to_bufpos_func): Likewise.
5463 (buffer_mule_signal_inserted_region): Likewise.
5464 (vars_of_insdel): Don't initialize `three_to_one_table'.
5465 (init_buffer_text): Use `buf->text->mule_size' instead of
5466 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5469 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
5470 UTF-8 representation in UTF2000.
5471 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
5472 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
5473 (decode_coding_iso2022): Don't define local variable `lb' in
5474 UTF2000; don't use LEADING_BYTE in UTF2000; use
5475 `DECODE_ADD_UCS_CHAR' in UTF2000.
5476 (convert_to_external_format): Decode as UTF-8 in UTF2000.
5478 * config.h.in (UTF2000): New macro.
5480 * buffer.h (struct buffer_text): Add new member `mule_size' and
5481 don't add `mule_shifter' and `mule_three_p' in UTF2000.
5482 (valid_char_p): Return always 1 in UTF2000.
5483 (MAX_EMCHAR_LEN): 6 in UTF2000.
5484 (three_to_one_table): Don't define in UTF2000.
5485 (real_bufpos_to_bytind): Modify for UTF-8 representation in
5487 (real_bytind_to_bufpos): Likewise.
5489 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
5491 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5493 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
5494 representation change.
5495 (Vutf_2000_version): New variable.
5496 (leading_code_private_11): New variable.
5497 (syms_of_mule_charset): Add new variables `utf-2000-version' and
5498 `leading-code-private-11'.
5500 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
5501 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
5502 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
5503 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
5504 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
5505 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
5506 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
5507 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
5508 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
5509 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
5510 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
5511 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
5512 (MIN_CHAR_GREEK): New macro.
5513 (MAX_CHAR_GREEK): New macro.
5514 (MIN_CHAR_CYRILLIC): New macro.
5515 (MAX_CHAR_CYRILLIC): New macro.
5516 (MIN_CHAR_HEBREW): New macro.
5517 (MAX_CHAR_HEBREW): New macro.
5518 (MIN_CHAR_THAI): New macro.
5519 (MAX_CHAR_THAI): New macro.
5520 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
5521 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
5522 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
5523 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
5524 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
5525 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
5526 (CHAR_FIELD2): New inline function.
5527 (CHAR_FIELD3): New inline function.
5528 (MULE_CHAR_PRIVATE_OFFSET): New macro.
5529 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
5530 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
5531 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
5532 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
5533 (MIN_CHAR_COMPOSITION): Likewise.
5534 (CHAR_LEADING_BYTE): Modified for character representation change.
5535 (MAKE_CHAR): Likewise.
5537 * lisp.h (Vcharset_latin_iso8859_1): New variable.
5538 (Vcharset_greek_iso8859_7): Likewise.
5539 (Vcharset_cyrillic_iso8859_5): Likewise.
5540 (Vcharset_hebrew_iso8859_8): Likewise.
5541 (Vcharset_thai_tis620): Likewise.
5542 (Vcharset_katakana_jisx0201): Likewise.
5544 2004-02-02 Vin Shelton <acs@xemacs.org>
5546 * XEmacs 21.4.15 is released
5548 2004-01-30 Glynn Clements <glynn.clements@virgin.net>
5550 * device-x.c (x_error_handler): Don't call stderr_out
5552 2003-11-07 Katsumi Yamaoka <yamaoka@jpl.org>
5554 * buffer.c (other-buffer): Clarify documentation of order of
5555 arguments for FSF Emacs.
5557 2003-10-11 Olivier Galibert <galibert@pobox.com>
5559 * window.c (Fdelete_window): Dirty the mirror structure _before_
5560 marking the window deleted.
5562 2003-09-15 Jerry James <james@xemacs.org>
5564 * event-msw.c (debug_mswin_messages): Conditionally compile
5565 messages missing from the Cygwin headers.
5567 2003-06-16 Stephen J. Turnbull <stephen@xemacs.org>
5569 * data.c (eq_with_ebola_notice): Fix typo in comment.
5570 (Ftrue_list_p): Improve docstring.
5572 2003-10-13 Stephen J. Turnbull <stephen@xemacs.org>
5574 * frame-x.c (x_update_frame_external_traits): Fix XtSetArg idiom.
5576 2003-09-27 Stephen J. Turnbull <stephen@xemacs.org>
5578 * search.c (trivial_regexp_p): Regexps containing "\{" are
5579 nontrivial. Thanks to Manfred Bartz for reporting the bug and
5580 Stefan Monnier for suggesting a diagnosis.
5582 2003-09-25 Stephen J. Turnbull <stephen@xemacs.org>
5584 * elhash.c (make-hash-table): Clarify use of :test #'equal.
5586 2003-09-12 Stephen J. Turnbull <stephen@xemacs.org>
5588 * search.c (Fsearch_forward):
5590 Document negative count.
5592 2003-09-13 Stephen J. Turnbull <stephen@xemacs.org>
5594 * regex.c (re_max_failures): Bump to 20000 for REGEX_MALLOC, too.
5596 2003-09-13 Martin Buchholz <martin@xemacs.org>
5598 * s/sol2.h: Use OS_RELEASE=os_release_major*100+os_release_minor
5600 2003-09-15 Vin Shelton <acs@xemacs.org>
5602 * .gdbinit (pobj): Remove Ilya's fix that was only intended for
5605 2003-09-12 Yoshiki Hayashi <yoshiki@xemacs.org>
5607 * regex.c (TRANSLATE_EXTENDED_UNSAFE): Remove.
5608 (re_search_2): Match the first byte of Bufbyte, not Emchar.
5609 (re_match_2_internal): Use TRANSLATE instead of
5610 TRANSLATE_EXTENDED_UNSAFE. The latter was a hack to bypass
5611 non-ASCII char case conversion.
5613 2003-09-08 Mike Sperber <mike@xemacs.org>
5615 * symbols.c (Fvariable_binding_locus): Add, as per suggestion from
5616 RMS at: http://article.gmane.org/gmane.emacs.pretest.bugs/1010
5618 2003-06-14 Ilya N. Golubev <gin@mo.msk.ru>
5620 * .gdbinit (pobj): fix printing of symbol name.
5622 2003-08-01 Ilya N. Golubev <gin@mo.msk.ru>
5624 * frame-x.c (x_layout_widgets): When resizing is about to cause
5625 frame size slip, mark it for redisplay.
5627 2003-08-18 Jerry James <james@xemacs.org>
5629 * opaque.h: Remove unused (X)OPAQUE_MARKFUN definitions.
5631 2003-09-03 Vin Shelton <acs@xemacs.org>
5633 * XEmacs 21.4.14 is released
5635 2003-08-15 Stephen J. Turnbull <stephen@xemacs.org>
5637 * config.h.in (REGEX_MALLOC): Make it configure'able.
5639 2003-08-14 Andrew Begel <abegel@CS.Berkeley.EDU>
5641 * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic
5643 * sysdll.c (dll_init):
5644 * sysdll.c (dll_open):
5645 * sysdll.c (dll_close):
5646 * sysdll.c (dll_function):
5647 * sysdll.c (dll_variable):
5648 * sysdll.c (dll_error):
5649 Add support for loading bundles using Darwin/MacOSX
5652 2003-08-12 Stephen J. Turnbull <stephen@xemacs.org>
5654 * process.c (start-process-internal): Document coding systems.
5656 2003-07-30 Jerry James <james@xemacs.org>
5658 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
5660 2003-07-31 René Kyllingstad <listmailxemacs@kyllingstad.com>
5662 * event-msw.c (mswindows_enqueue_mouse_button_event):
5663 * event-msw.c (mswindows_wnd_proc):
5664 enqueue button event when scrollwheel event isn't handled by
5665 mswindows_handle_mousewheel_event, such as when the scrollbars
5668 2003-07-29 Stephen J. Turnbull <stephen@xemacs.org>
5670 * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*.
5672 2003-03-24 Stephen J. Turnbull <stephen@xemacs.org>
5674 * database.c (Fopen_database): Don't use DB_AUTO_COMMIT.
5676 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org>
5678 * regex.c (re_match_2_internal): Fix matching degenerate word
5681 2003-05-25 XEmacs Build Bot <builds@cvs.xemacs.org>
5683 * XEmacs 21.4.13 is released
5685 2003-03-20 Stephen J. Turnbull <stephen@xemacs.org>
5687 * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H):
5688 * lisp.h (<inttypes.h>):
5689 Cygwin defines these types in <cygwin/types.h>. Don't duplicate
5692 2003-03-15 Martin Buchholz <martin@xemacs.org>
5694 * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file.
5695 Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs'
5696 Result: "temacs can only be run in -batch mode."
5697 Fix: Check xemacs executable candidate for directory-ness.
5699 2003-03-03 Robert Pluim <rpluim@bigfoot.com>
5701 * database.c: Don't use the u_int8_t etc typedefs on FreeBSD,
5702 they conflict with <sys/types.h>.
5704 2003-02-14 Martin Buchholz <martin@xemacs.org>
5706 * database.c: Berkeley DB wants __STDC__ to be defined.
5708 2003-02-13 Martin Buchholz <martin@xemacs.org>
5710 * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'.
5712 2003-02-01 Martin Buchholz <martin@xemacs.org>
5714 * process-unix.c (unix_send_process): Fix C++ compile error.
5716 2003-02-25 Andrew Begel <abegel@cs.berkeley.edu>
5718 * Added .dylib as an acceptable shared library file extension
5719 * to support MacOSX.
5721 2003-02-01 Martin Buchholz <martin@xemacs.org>
5723 * EmacsFrameP.h (EmacsFramePart):
5724 Kludge to allow compiling with Motif1, but linking with Motif2.
5726 2003-01-28 Martin Buchholz <martin@xemacs.org>
5728 * config.h.in (_ALL_SOURCE): Guard against multiple definition.
5731 2003-02-23 Stephen J. Turnbull <stephen@xemacs.org>
5733 * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin.
5735 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
5737 * sysdll.c: Included lisp.h to define needed alloca_array.
5739 2003-02-13 Martin Buchholz <martin@xemacs.org>
5741 Make XEmacs redisplay 10 times faster.
5742 If, that is, you're using a slow X connection and MoveOpaque.
5743 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
5744 Use compress_motion = TRUE.
5745 * EmacsFrame.c (emacsFrameClassRec):
5746 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
5747 * EmacsManager.c (emacsManagerClassRec):
5748 * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
5750 2003-01-30 Vin Shelton <acs@xemacs.org>
5752 * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux.
5754 2003-01-17 Stephen J. Turnbull <stephen@xemacs.org>
5756 * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef.
5757 Patch by Martin Buchholz.
5759 2003-01-16 Stephen J. Turnbull <stephen@xemacs.org>
5761 * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison.
5762 Thanks to icc for warning and Martin Buchholz for reporting.
5764 2003-01-29 Vin Shelton <acs@xemacs.org>
5766 Patch courtesy of Andrew Begel <abegel@cs.berkeley.edu>
5768 * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so
5769 remember to multiply by the element size.
5771 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
5773 * XEmacs 21.4.12 "Portable Code" is released.
5775 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
5777 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
5778 * s/cygwin.sc: new linker file.
5780 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
5782 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
5784 * redisplay-x.c (x_output_string): Use X11-specified types.
5785 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
5786 * emacs.c (__free_hook): Use typeof with Intel compiler.
5787 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
5789 2003-01-08 Andy Piper <andy@xemacs.org>
5791 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
5792 reserve size during unexec().
5794 2003-01-07 Daiki Ueno <daiki@xemacs.org>
5796 * process-unix.c (unix_create_process): Don't let outchannel block.
5798 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
5800 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
5801 Needed for IsBadReadPtr().
5803 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
5805 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
5807 2002-12-14 Ben Wing <ben@xemacs.org>
5809 * callint.c: Declaration error.
5811 * dumper.c (pdump_load): Warning fix.
5812 * process.c: GCPRO error.
5813 * glyphs.c (unmap_subwindow):
5814 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
5815 * event-stream.c (maybe_kbd_translate): Wrong argument to
5816 character_to_event().
5818 * alloc.c (garbage_collect_1):
5820 * emacs.c (debug_can_access_memory):
5821 * emacs.c (fatal_error_signal):
5822 * emacs.c (mswindows_handle_hardware_exceptions):
5825 * emacs.c (assert_failed):
5826 * emacs.c (syms_of_emacs):
5829 * print.c (std_handle_out_va):
5830 * print.c (write_string_to_stdio_stream):
5831 * print.c (write_fmt_string):
5832 * print.c (printing_badness):
5833 * print.c (printing_major_badness):
5834 * print.c (print_internal):
5835 * print.c (debug_print_no_newline):
5836 * print.c (debug_backtrace):
5837 Be more defensive in handling bad values when printing. Add code
5838 from trunk involving inhibit_non_essential_printing_operations.
5839 When going down or in debug_print(), don't do external conversion
5840 and such and try really, really hard when printing to avoid core
5841 dumping. Add force-debugging-signal, debug_break().
5843 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
5845 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
5846 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
5848 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
5850 * database.c: Fix open_database. Berkeley DB API has changed in
5851 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
5853 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
5855 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
5857 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
5859 * event-Xt.c (Xt_timeout):
5860 (Xt_timeout_callback):
5861 (emacs_Xt_add_timeout):
5862 (emacs_Xt_remove_timeout):
5863 (Xt_timeout_to_emacs_event):
5864 Turn completed_timeouts from a stack into a queue. Fixes
5865 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
5867 2002-11-07 Wolfram Gloger <wg@malloc.de>
5869 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
5870 * emacs.c (main): Assert that mmap'd allocation is disabled.
5872 2002-10-14 Andy Piper <andy@xemacs.org>
5874 * glyphs-widget.c (layout_query_geometry): add in fiddle
5875 factor. Include border text in width layout calculation.
5876 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
5878 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
5880 * XEmacs 21.4.10 "Military Intelligence" is released.
5882 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
5884 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
5885 using the NAS private array SoundFileInfo that no longer exists in
5886 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
5887 and earlier. This is broken for some versions between 1.5a and
5890 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
5892 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
5894 * emacs.c (shut_down_emacs): Improve crash message.
5896 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
5898 * file-coding.c (determine_real_coding_system): Check for coding
5899 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
5900 shebangs and Python PEP 263.
5902 2002-10-08 Andy Piper <andy@xemacs.org>
5904 * glyphs-widget.c (layout_query_geometry): only resize dynamically
5905 if static sizes haven't been set.
5907 2002-08-30 Mike Alexander <mta@arbortext.com>
5909 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
5912 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
5914 * callproc.c (child_setup): 21.4 doesn't have retry_close.
5916 2002-09-20 Mike Sperber <mike@xemacs.org>
5918 (This partially gets back my patch from 2002-07-20 without the
5920 * callproc.c (child_setup): Remove Ben's comment noting confusion
5921 over the file descriptors >= 3: close_process_descs() doesn't
5922 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
5923 * process-unix.c (unix_create_process): Call
5924 begin_dont_check_for_quit to inhibit unwanted interaction (and
5925 thus breaking of X event synchronicity) in the child.
5927 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
5929 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
5932 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
5934 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
5935 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
5936 the xemacs process did not exit, but looped infinitely here. This
5939 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
5941 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
5942 (find_context): Improve comments.
5944 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
5945 (re_match_2): An XCHAR_TABLE operation was missing.
5947 Many of the following changes were inspired by Andy Piper's (now
5948 obsolete) patch to make syntax-table text property lookup optional.
5952 * syntax.h (top level): Document semantics of syntax flags.
5953 * syntax.c (comstr_start, Fforward_comment): Improve comments.
5954 * syntax.c, syntax.h (top level): Document syntax cache better in
5957 [Instrument syntax caching (temporary change)]
5959 * syntax.h (enum syntax_cache_statistics_functions, struct
5960 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
5961 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
5962 * syntax.c (scan_words, Fforward_comment, scan_lists,
5963 Fbackward_prefix_characters):
5964 * font-lock.c (find_context):
5965 Use them to instrument syntax caching.
5966 * syntax.c (struct syntax_cache_statistics, scs_statistics,
5967 syntax_cache_statistics_function_names): New type and variables.
5968 * syntax.c (update_syntax_cache): Update and report statistics.
5970 [Major syntax cache optimizations]
5972 syntax.c (lookup_syntax_properties): Default off.
5974 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
5975 * syntax.c (update_syntax_cache):
5976 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
5978 [Minor syntax cache optimizations and code clarifications]
5980 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
5981 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
5982 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
5983 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
5984 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
5985 (Code clarification.)
5987 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
5988 scan_lists): Compute code from syncode, use Boolean macros instead
5989 of redundant masking operations. (Code clarification; any decent
5990 compiler can do this optimization.)
5992 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
5995 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
5996 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
5997 use F*_single_property_change instead of F*_extent_change.
5998 Currently F*_single_property_change is _much_ less efficient.
6000 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
6001 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
6002 syntax_cache.object properly, don't leave Qt or Qnil.
6003 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
6004 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
6005 tests for Qt or Qnil.
6007 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
6009 * redisplay.c (point_in_line_start_cache):
6010 * extents.c (print_extent_1):
6013 * extents.c (Fset_extent_property): Document `syntax-table' property.
6015 * extents.h (Fnext_single_property_change): EXFUN it.
6017 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
6019 * search.c (clear_unused_search_regs): New static function.
6023 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
6024 Minor clarifications in comments.
6026 * regex.c (re_match_2_internal): Ensure no stale submatches.
6028 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
6030 * event-Xt.c (enqueue_focus_event): Add missing prototype.
6032 2002-08-29 Jerry James <james@xemacs.org>
6034 * lisp.h: structrures -> structures.
6036 2002-06-03 Andy Piper <andy@xemacs.org>
6038 * frame.c (frame_conversion_internal): add conversion appropriate
6039 for setting frame dimensions in pixels.
6041 * console.h (struct console_methods): add device-specific widget
6044 * emacs.c (main_1): initialize glyph vars.
6046 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
6047 (handle_focus_event_2): new function. Allow focus to
6048 be set to a particular window and widget.
6049 (enqueue_focus_event): new function. Create a
6050 synthetic focus event.
6051 (emacs_Xt_handle_magic_event): call
6052 handle_focus_event_2.
6054 * frame.c (Fset_frame_pixel_height): new function. Allow
6055 pixel-based sizing. Does the right thing on character-oriented
6057 (Fset_frame_pixel_width): ditto.
6058 (Fset_frame_pixel_size): ditto.
6059 (syms_of_frame): declare.
6061 * general-slots.h: add :vertically-justify and
6062 :horizontally-justify.
6064 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
6065 (mswindows_widget_border_width): new function.
6066 (mswindows_combo_box_instantiate): set border widths.
6067 (console_type_create_glyphs_mswindows): declare.
6070 (check_valid_justification): allow vertical and horizontal
6072 (widget_border_width): new function. Call device methods.
6073 (widget_instance_border_width): ditto.
6074 (logical_unit_height): new function. Determine the height of a
6075 logical-unit. Logical units are intended to provide grid-like
6076 layout for subcontrols in a layout. If the layout is
6077 :vertically-justify top then subcontrols will be positioned on
6078 logical-unit boundaries, thus allowing adjacent subcontrols to
6080 (widget_logical_unit_height): ditto for widgets.
6081 (redisplay_widget): misc cleanup.
6082 (widget_spacing): new function. Call device specific
6083 methods. Intended to be the default gap between adjacent widgets.
6084 (widget_query_geometry): use new spacing functions to determine
6085 appropriate geometry.
6086 (initialize_widget_image_instance): initialize horizontal and
6087 vertical justification.
6088 (widget_instantiate): use logica-units where appropriate for
6089 sizing large widgets.
6090 (button_query_geometry): use widget_instance_border_width.
6091 (tree_view_query_geometry): ditto.
6092 (tab_control_query_geometry): ditto.
6093 (edit_field_query_geometry): new function.
6094 (layout_update): pick up :justify, :horizontally-justify and
6095 :vertically-justify none of which worked previously. :justify is
6096 used as a fallback for both horizontal and vertical justification.
6097 (layout_query_geometry): use logical units to size appropriately.
6098 (layout_layout): ditto.
6099 (Fwidget_logical_to_character_width): new function. Allow users to
6100 convert from logical units to characters so that frame sizes can
6101 be set appropriately.
6102 (Fwidget_logical_to_character_height): ditto.
6103 (syms_of_glyphs_widget): declare.
6104 (image_instantiator_edit_fields): add edit_field_query_geometry.
6105 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
6106 :horizontally-justify.
6107 (specifier_vars_of_glyphs_widget): new function. Declare
6108 Vwidget_border_width which is not yet used.
6110 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
6111 (x_widget_border_width): new function.
6112 (x_widget_instantiate): create a sensible name for widgets.
6113 (console_type_create_glyphs_x): declare x_widget_border_width.
6115 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
6116 (struct Lisp_Image_Instance): add :vertically-justify and
6117 :horizontally-justify.
6118 (LAYOUT_JUSTIFY_TOP): new.
6119 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
6120 (ROUND_UP): new macro. Round argument up to next integral
6123 * redisplay-output.c (redisplay_output_layout): misc formatting.
6125 * symsinit.h: declare specifier_vars_of_glyphs_widget.
6127 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
6129 * XEmacs 21.4.9 "Informed Management" is released.
6131 2002-08-19 Andy Piper <andy@xemacs.org>
6133 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
6136 * realpath.c (xrealpath): normalize drive spec also so that dir
6137 sep chars are not mixed on cygwin.
6139 2002-08-06 Jerry James <james@xemacs.org>
6141 * window.c (Fsplit_window): Count only half of the divider width
6142 against the left window when splitting horizontally.
6144 2002-06-24 Andy Piper <andy@xemacs.org>
6146 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
6147 toolbar was cleared.
6149 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
6150 function. Split out from mswindows_output_frame_toolbars.
6151 (mswindows_output_frame_toolbars): move clear pieces to
6152 mswindows_output_frame_toolbars.
6154 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
6155 out from gtk_output_frame_toolbars.
6156 (gtk_output_frame_toolbars): move clear pieces to
6157 gtk_clear_frame_toolbars.
6159 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
6160 the frame is cleared. How this ever worked before is a mystery.
6161 (x_output_frame_toolbars): Only output toolbars.
6162 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
6164 * gutter.c (update_gutter_geometry):
6165 Mark frame layout changed.
6166 (update_frame_gutter_geometry, update_frame_gutters):
6167 Respect frame_layout_changed.
6169 * console.h (struct console_methods): add
6170 clear_frame_toolbars_method.
6172 * redisplay.c (redisplay_frame): call
6173 update_frame_toolbars_geometry and re-order update_frame_toolbars.
6175 * toolbar.h: declare update_frame_toolbars_geometry.
6177 * toolbar.c (update_frame_toolbars_geometry): new function. Split
6178 out from update_frame_toolbars. Call clear_frame_toolbars.
6179 (update_frame_toolbars): only output, do not change geometry.
6181 * redisplay.c: add frame_layout_changed.
6183 * redisplay.h: add frame_layout_changed.
6184 (CLASS_RESET_CHANGED_FLAGS): set it.
6185 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
6186 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
6187 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
6189 * device.h (struct device): add frame_layout_changed.
6190 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
6192 * frame.h (struct frame): add frame_layout_changed.
6193 (MARK_FRAME_LAYOUT_CHANGED): new.
6195 2002-06-30 Mike Alexander <mta@arbortext.com>
6197 * event-msw.c (mswindows_need_event): Don't wait for a new message
6198 if the queue is not empty. Suggested by Paul Moore.
6200 2002-06-12 Andy Piper <andy@xemacs.org>
6202 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
6203 for printing on accurately.
6205 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
6207 * event-msw.c (mswindows_wnd_proc): Add a handler for the
6208 WM_ACTIVATE message. Make sure that the frame is visible if the
6209 window is visible. This seemss to fix the problem where XEmacs
6210 appears to freeze after switching desktops with certain virtual
6212 (debug_output_mswin_message): Added code to output message
6213 parameters for WM_WINDOWPOSCHANGED,
6214 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
6216 2002-05-25 Andy Piper <andy@xemacs.org>
6218 * select-x.c (vars_of_select_x): Fix docstring of
6219 x-selection-strict-motif-ownership
6221 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6223 * keymap.c (get_keymap):
6224 Add comment about do_autoload GCPROs own args.
6226 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6228 * bytecode.c (execute_optimized_program): check_opcode ifdef
6229 ERROR_CHECK_BYTE_CODE.
6231 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6233 Thanks to Ben Wing and Michael Sperber.
6235 * eval.c (Fcommand_execute):
6238 (Fmacroexpand_internal):
6239 (function_argcount):
6240 callint.c (Fcall_interactively):
6241 Add comment about do_autoload GCPROs own args.
6243 * (do_autoload): GCPRO both args as well as local Lisp_Object.
6245 * eval.c (Ffuncall): Extra braces to placate GCC.
6247 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
6249 * backtrace.h (grow_specpdl):
6251 * EmacsFrame.c (EmacsFrameSetValues):
6252 * eval.c (grow_specpdl):
6253 * ExternalShell.c (hack_event_masks_1):
6254 * glyphs-x.c (convert_EImage_to_XImage):
6255 (x_finalize_image_instance):
6256 * ralloc.c (page_size):
6258 * xgccache.c (gc_cache_hash):
6259 Fix unsigned comparison warnings.
6261 2002-07-29 Jerry James <james@xemacs.org>
6263 * lread.c (locate_file): Any nonnegative return value indicates
6264 success if MODE is nonnegative.
6266 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
6268 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
6271 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
6273 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
6275 * dumper.c (pdump_get_indirect_count):
6276 (pdump_scan_by_alignment):
6277 (pdump_dump_root_struct_ptrs):
6278 (pdump_dump_rtables):
6279 (pdump_dump_root_objects):
6281 * nas.c (WaveOpenDataForReading):
6282 * fns.c (print_bit_vector):
6283 * font-lock.c (SINGLE_SYNTAX_STYLE):
6284 * glyphs.c (check_for_ignored_expose):
6285 (find_matching_subwindow):
6287 * imgproc.c (get_histogram):
6288 * redisplay.c (point_in_line_start_cache):
6289 * redisplay-output.c (redisplay_unmap_subwindows):
6290 * symbols.c (defsymbol_massage_name_1):
6291 (defkeyword_massage_name):
6292 (deferror_massage_name_and_message):
6293 * redisplay-x.c (x_output_string):
6294 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
6295 * frame.h (struct frame):
6296 * filelock.c (current_lock_owner):
6297 * doprnt.c (emacs_doprnt_1):
6298 * lisp.h (struct Lisp_Bit_Vector):
6302 2002-02-13 Ben Wing <ben@xemacs.org>
6304 * event-stream.c (reset_key_echo):
6305 * event-stream.c (reset_this_command_keys):
6306 * event-stream.c (execute_command_event):
6307 If console is dead as a result of C-x 5 0, then post-command stuff
6308 needs to be careful and do only non-console-specific stuff.
6310 2002-07-01 Mike Sperber <mike@xemacs.org>
6312 * process-unix.c (unix_send_process): Mark coding_outstream as
6313 non-open upon SIGPIPE.
6315 * event-stream.c (Fnext_event): Reorder switch cases to something
6318 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
6320 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
6321 Don't bogusly reinitialize ascii_character property.
6323 2002-07-08 Mike Sperber <mike@xemacs.org>
6325 * process.c (Fstart_process_internal): Do error checking before we
6326 fork off the child, so the child can't muck with the state of the
6329 2002-07-08 Mike Sperber <mike@xemacs.org>
6331 * ralloc.c (init_ralloc): Allocate properly for pdump.
6333 2002-06-12 Andy Piper <andy@xemacs.org>
6335 * glyphs.c (query_string_geometry): check the string.
6337 * glyphs-widget.c (widget_logical_unit_height): cope with nil
6340 2002-06-17 Jerry James <james@xemacs.org>
6342 * sysdll.c: Remove RTLD_GLOBAL initialization.
6343 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
6345 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
6347 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
6349 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
6351 * sysdep.c (sys_rename): Make sys_rename work for the case where
6352 Windows rename sets errno to EACCES if target file exists.
6354 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
6356 * device-msw.c (mswindows_handle_page_setup_dialog_box):
6357 Fix detection of metric units to work on Win95
6359 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
6361 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
6363 2002-04-25 Andy Piper <andy@xemacs.org>
6365 * redisplay.c (create_text_block): Remove extra comment trailer.
6367 2002-04-24 Andy Piper <andy@xemacs.org>
6369 * redisplay.c (create_text_block): Don't actually add propagation
6370 data if the line ends after we have added a glyph.
6372 2002-04-22 Andy Piper <andy@xemacs.org>
6374 * extents.c (extent_fragment_update): check for glyphs we have
6375 previously displayed.
6376 * extents.c (print_extent_1): warning removal.
6377 * extents.h: change prototype.
6378 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
6379 widths correctly for wide glyphs.
6380 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
6381 * redisplay.c (prop_type): add PROP_GLYPH.
6382 * redisplay.c (struct prop_block): add glyph type
6383 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
6384 to the propagation data.
6385 * redisplay.c (create_text_block): if there is a glyph in the
6386 propagation data use it to salt extent_fragment_update.
6387 * redisplay.c (create_string_text_block): ditto.
6389 2002-04-13 Nix <nix@esperi.demon.co.uk>
6391 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
6392 * redisplay-output.c (compare_runes): Compare them.
6393 * redisplay.c: Update copyright date.
6394 * redisplay.c (pos_data): Add need_baseline_computation field.
6395 * redisplay.c (add_glyph_rune): Update ascent, descent, and
6396 need_baseline_computation; zero yoffset. Set max_pixmap_height
6397 for all pixmaps, not just automatically positioned ones.
6398 * redisplay.c (calculate_yoffset): New, compute yoffset values.
6399 * redisplay.c (calculate_baseline): New, compute textual baseline.
6400 * redisplay.c (add_glyph_rune): Call them.
6401 * redisplay.c (create_text_block): Likewise.
6402 * redisplay.c (create_overlay_glyph_block): Likewise.
6403 * redisplay.c (add_margin_runes): Likewise.
6404 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
6406 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
6407 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
6408 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
6409 * redisplay-msw.c (mswindows_output_string): Likewise.
6410 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
6411 * redisplay-gtk.c (gtk_output_display_block): Likewise.
6412 * redisplay-x.c (x_output_display_block): Likewise.
6414 2002-03-28 Ben Wing <ben@xemacs.org>
6416 * redisplay.c: Fixed bug in redisplay
6417 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
6418 and down of the lines, since they're bigger than the line
6419 size. (It was seen most obviously when there's a horizontal scroll
6420 bar, e.g. do C-h a glyph or something like that.) The problem was
6421 that the glyph-contrib-p setting on glyphs was ignored even if it
6422 was set properly, which it wasn't until now.
6424 2002-04-24 Andy Piper <andy@xemacs.org>
6426 * lisp.h (Dynarr_end): Fix definition.
6428 2002-02-06 Adrian Aichner <adrian@xemacs.org>
6430 * redisplay.c (mark_redisplay): Remove call to
6431 update_frame_window_mirror.
6433 2001-11-15 Andy Piper <andy@xemacs.org>
6435 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
6438 2002-02-13 Andy Piper <andy@xemacs.org>
6440 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
6441 we did in fact enqueue the XM_MAPFRAME event.
6443 2002-01-15 Adrian Aichner <adrian@xemacs.org>
6445 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
6446 to fix problem switching between virtual desktops under virtuawin
6447 virtual window manager.
6449 2001-07-30 Adrian Aichner <adrian@xemacs.org>
6451 * event-msw.c: Typo fix.
6452 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
6453 magic XM_MAPFRAME event has been sent.
6455 2001-11-23 Andy Piper <andy@xemacs.org>
6457 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
6459 2001-11-21 Andy Piper <andy@xemacs.org>
6461 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
6462 mouse events outside the frame.
6464 2002-03-20 Andy Piper <andy@xemacs.org>
6466 * menubar-msw.c (mswindows_popup_menu): warning removal.
6467 * dialog-msw.c (dialog_popped_down): ditto.
6469 2001-12-11 Andy Piper <andy@xemacs.org>
6471 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
6472 * dialog-msw.c (mswindows_make_dialog_box_internal): set
6474 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
6475 * menubar-msw.c (mswindows_handle_wm_command): ditto.
6476 * menubar-msw.c (mswindows_popup_menu): ditto.
6478 2001-10-29 Andy Piper <andy@xemacs.org>
6480 * dialog-msw.c (handle_directory_dialog_box): quit if the user
6483 2002-01-03 Andy Piper <andy@xemacs.org>
6485 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
6489 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
6491 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
6492 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
6493 * device-msw.c (mswindows_handle_page_setup_dialog_box):
6494 Detect and handle case where machine is set up for metric units
6496 2002-04-02 Andy Piper <andy@xemacs.org>
6498 * dired-msw.c (mswindows_get_files):
6499 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
6500 completely handled by XEmacs. Suggested by Thomas Vogler
6501 <mail@thomas-vogler.de>.
6503 2001-11-14 Andy Piper <andy@xemacs.org>
6505 * nt.c (REG_ROOT): change registry key to XEmacs.
6507 2002-04-27 Andy Piper <andy@xemacs.org>
6509 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
6511 2002-04-26 Andy Piper <andy@xemacs.org>
6513 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
6516 2002-03-14 Mike Alexander <mta@arbortext.com>
6518 * event-msw.c (mswindows_unwait_process): New, remove process from
6520 * process-nt.c (nt_finalize_process_data): Call
6521 mswindows_unwait_process
6522 * console-msw.h: Declare mswindows_unwait_process
6524 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
6526 * editfns.c (Fdecode_time):
6527 (Fformat_time_string):
6528 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
6529 (make_time): Warning elimination (change arg name).
6531 2001-11-24 Andy Piper <andy@xemacs.org>
6533 * window.c (Fsplit_window): Doc return type.
6535 2002-04-01 Andy Piper <andy@xemacs.org>
6537 * emacs.c (Fkill_emacs): Only output message box in interactive
6540 2002-04-26 Andy Piper <andy@xemacs.org>
6542 * config.h.in: pull in 21.5.x change to stop alloca warnings under
6545 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
6547 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
6550 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
6552 * XEmacs 21.4.8 "Honest Recruiter" is released.
6554 2002-05-07 Nix <nix@esperi.demon.co.uk>
6556 Supersedes 2002-04-17 patch.
6558 * process.h (PROCESS_LIVE_P): Use the process status as
6559 evidence of health, not the state of the input stream.
6560 (PROCESS_READABLE_P): Say if the process is readable
6561 from. (It may be dead nonetheless.)
6562 (CHECK_READABLE_PROCESS): Test for that condition.
6564 * process.c (create_process): Use PROCESS_READABLE_P.
6565 (read_process_output, set_process_filter): Likewise.
6567 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
6568 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
6570 This code is #if 0'd, this is not the time to add new functions:
6572 * process.c (Fprocess_readable_p): Report readability status.
6573 * process.c (Qprocess_readable_p): New, associated symbol...
6574 * process.c (syms_of_process): ... initialize it.
6576 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
6578 * XEmacs 21.4.7 "Economic Science" is released.
6580 2002-04-17 Nix <nix@esperi.demon.co.uk>
6582 * process.h (PROCESS_LIVE_P): Use the process status as
6583 evidence of health, not the state of the input stream.
6585 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
6587 * sysdep.c (sys_siglist): change "signum" to "signal"
6589 2001-04-21 Martin Buchholz <martin@xemacs.org>
6591 * s/darwin.h: New file.
6592 Thanks to Greg Parker <gparker@cs.stanford.edu>.
6594 2002-04-23 Andreas Jaeger <aj@suse.de>
6596 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
6597 which use lib64 for 64-bit libs.
6598 (START_FILES): Likewise.
6600 2002-02-11 Mike Sperber <mike@xemacs.org>
6603 (x_IO_error_handler):
6604 (x_init_device): Temporarily keep device in static variable
6605 `device_being_initialized' so we can recover gracefully from
6606 internal XOpenDevice failure. (XOpenDevice is documented to
6607 return NULL on failure, but sometimes calls the IO error handler
6610 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
6612 * dired.c (Ffile_name_all_completions): Change documentation --
6613 remove reference to completion-ignored-extensions.
6614 * dired.c (vars_of_dired): Change documentation for
6615 completion-ignored-extensions -- remove reference to
6616 file-name-all-completions.
6618 2002-03-06 Jerry James <james@xemacs.org>
6620 * emodules.c (emodules_load): Fix multiple loading of same module.
6622 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
6623 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
6624 RTLD_LAZY to avoid incorrect symbol binding when using nested
6625 shared libraries on Solaris.
6627 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
6629 * fileio.c (Ffind_file_name_handler): Improve docstring.
6631 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
6633 * fns.c (Fmapconcat): Improve docstring.
6635 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
6637 * device-gtk.c: Add prototype for
6638 emacs_gtk_selection_clear_event_handle.
6639 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
6640 selection. Setup signal handler for "selection_clear_event"
6641 (emacs_gtk_selection_clear_event_handle).
6643 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
6644 other applications owning the clipboard (based on
6645 x_handle_selection_clear).
6647 2001-12-23 William M. Perry <wmperry@gnu.org>
6649 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
6651 2002-01-04 Martin Buchholz <martin@xemacs.org>
6653 * keymap.c (define_key_alternate_name): Parenthesize EQ.
6655 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
6657 * XEmacs 21.4.6 "Common Lisp" is released.
6659 2001-12-16 Torsten Duwe <duwe@caldera.de>
6661 * search.c (Freplace_match): Add missing sub-expression functionality.
6663 * buffer.c (decode_buffer): Add a check for pointer type to
6664 decode_buffer, before gcc's CSE optimization reorders a
6665 dereference in front of the allow_string test.
6667 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
6669 * window.c (window_loop): Fix bug that sometimes prevented
6670 window_loop() from iterating across multiple devices. Also, at
6671 Ben's request, changed infloop-detecting code to abort() instead
6672 of silently terminating window_loop().
6674 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
6676 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
6677 * editfns.c (make_time): New function.
6678 (Fencode_time): Use it instead of wasteful_word_to_lisp.
6679 * lisp.h (make_time): Prototype and comment it.
6680 * dired.c (wasteful_word_to_lisp): Deprecate.
6681 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
6683 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
6685 * fileio.c (auto_save_1): Use current coding system, not
6688 2001-11-13 Ben Wing <ben@xemacs.org>
6691 * window.c (window_truncation_on):
6692 * window.c (syms_of_window):
6693 truncate-partial-width-windows should respect the buffer being
6694 displayed, like other redisplay vars.
6696 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
6698 * event-stream.c (Fread_key_sequence): save current buffer.
6700 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
6702 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
6704 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
6706 * alloc.c (lcrecord_stats): Add space for types defined in modules.
6708 2001-10-26 Mike Alexander <mta@arbortext.com>
6710 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
6712 2001-10-25 Andy Piper <andy@xemacs.org>
6715 * dialog-msw.c (handle_directory_proc): new function.
6716 (handle_directory_dialog_box): new fucntion.
6717 (handle_file_dialog_box): use new directory dialog support.
6718 (mswindows_make_dialog_box_internal): ditto.
6719 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
6721 (mswindows_find_frame): make global.
6722 * fileio.c (Fexpand_file_name): build fix.
6723 * general-slots.h: add Qdirectory.
6724 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
6726 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
6727 cygwin not leaving win32 paths unchanged.
6728 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
6729 cygwin runtime to do path conversion.
6730 (Fmswindows_shell_execute): fix cygwin handling of URLs.
6731 (syms_of_win32): add new function.
6732 * window.c (window_loop): build fix.
6734 2001-10-15 Andy Piper <andy@xemacs.org>
6736 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
6738 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
6740 * XEmacs 21.4.5 "Civil Service" is released.
6742 2001-04-08 Danny Colascione <qtmstr@optonline.net>
6744 * glyphs-x.c: Force buffer-tab highlight update when moving the
6745 buffer, avoiding an ugly black border, used for keyboard focus
6746 indication, on a widget that can never have keyboard focus, the
6749 2001-08-30 Daiki Ueno <ueno@unixuser.org>
6751 * process-unix.c (unix_open_multicast_group): Remove too much
6752 conversion between host and network byte order.
6754 2001-09-10 Nix <nix@esperi.demon.co.uk>
6756 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
6757 before replacing them.
6759 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
6762 * src/window.c (undedicate_windows): Use it.
6763 * src/window.h: Add prototype.
6765 2001-09-17 Ben Wing <ben@xemacs.org>
6767 * fileio.c (normalize_filename):
6768 * fileio.c (Fexpand_file_name):
6769 Fix various C++ compile errors in Andy's recent code.
6771 * callint.c (Fcall_interactively):
6772 * editfns.c (Ftemp_directory):
6773 * editfns.c (Fuser_full_name):
6774 * emacs.c (argmatch):
6775 * lread.c (locate_file_map_suffixes):
6776 * redisplay-x.c (x_ring_bell):
6777 Fix sign-compare warnings.
6779 2001-09-08 Andy Piper <andy@xemacs.org>
6781 * fileio.c (normalize_filename): copied from nt.c
6782 * (Ffile_name_directory): enable win32 paths under cygwin.
6783 * (Ffile_name_nondirectory): ditto.
6784 * (directory_file_name): ditto.
6785 * (Fexpand_file_name): ditto.
6786 * (Ffile_truename): ditto.
6787 * (Fsubstitute_in_file_name): ditto.
6788 * (Ffile_name_absolute_p): ditto.
6789 * (Ffile_readable_p): ditto.
6791 2001-09-08 Andy Piper <andy@xemacs.org>
6793 * device-msw.c (mswindows_finish_init_device): remove dde
6795 * device-msw.c (mswindows_init_dde): factor out from
6796 mswindows_finish_init_device()
6797 * device-msw.c (init_mswindows_very_early): new function
6798 initialize but don't enable dde.
6799 * emacs.c (main_1): call init_mswindows_very_early.
6801 * event-msw.c (mswindows_dde_callback): only execute when we are
6803 * symsinit.h: declare init_mswindows_very_early.
6805 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6807 [sjt: This has been in 21.5 for months with no complaints.]
6809 * console.h (struct console_methods): Added flags member.
6810 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
6811 (CONMETH_IMPL_FLAG):
6812 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
6813 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
6815 * device.c (window_system_pixelated_geometry): Use the above macros.
6817 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
6818 implememntation flag.
6819 * device.h (DEVICE_DISPLAY_P): Use it.
6821 * frame.c (delete_frame_internal): Use the above macro.
6823 * redisplay.c (redisplay_device): Use it.
6824 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
6825 (redisplay_frame): Ditto.
6827 * device-msw.c (mswindows_device_implementation_flags): Removed.
6828 (msprinter_device_implementation_flags): Removed.
6829 (console_type_create_device_mswindows): Removed references to
6830 implementation_flags methods, set implementation flags here.
6831 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
6833 * device-gtk.c (gtk_device_implementation_flags): Removed method.
6834 (console_type_create_device_gtk): Removed method declaration.
6835 Added commented out statement which semantically matches the
6836 commented out statement in the above removed method.
6838 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
6840 The attached patch fixes a few warnings.
6842 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
6843 * src/frame-gtk.c: guard against GNOME calls in GTK only
6844 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
6845 * src/select-gtk.c: prototype lisp_to_time
6847 2001-06-08 Ben Wing <ben@xemacs.org>
6849 ------ gc-in-window-procedure fixes ------
6852 * alloc.c (struct post_gc_action):
6853 * alloc.c (register_post_gc_action):
6854 * alloc.c (run_post_gc_actions):
6855 * alloc.c (garbage_collect_1):
6856 Create "post-gc actions", to avoid those dreaded "GC during window
6857 procedure" problems.
6860 Abort, clean and simple, when GC in window procedure. We want
6861 to flush these puppies out.
6864 * glyphs-msw.c (finalize_destroy_window):
6865 * glyphs-msw.c (mswindows_finalize_image_instance):
6866 Use a post-gc action when destroying subwindows.
6869 Declare register_post_gc_action().
6872 * scrollbar-msw.c (unshow_that_mofo):
6873 Use a post-gc action when unshowing scrollbar windows, if in gc.
6875 * redisplay.c (mark_redisplay):
6876 Add comment about the utter evilness of what's going down here.
6878 ------ cygwin setitimer fixes ------
6880 * Makefile.in.in (sheap_objs):
6881 * Makefile.in.in (profile_objs):
6882 * Makefile.in.in (objs):
6883 Compile profile.c only when HAVE_SETITIMER.
6885 * nt.c (mswindows_sigset):
6886 * nt.c (mswindows_sighold):
6887 * nt.c (mswindows_sigrelse):
6888 * nt.c (mswindows_sigpause):
6889 * nt.c (mswindows_raise):
6890 * nt.c (close_file_data):
6894 Move setitimer() emulation to win32.c, because Cygwin needs it too.
6897 * profile.c (Fstart_profiling):
6898 * profile.c (Fstop_profiling):
6899 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
6900 instead of just plain setitimer().
6903 * signal.c (set_one_shot_timer):
6905 Define qxe_setitimer() as an encapsulation around setitimer() --
6906 call setitimer() directly unless Cygwin or MS Win, in which case
6907 we use our simulated version in win32.c.
6910 * systime.h (struct itimerval):
6911 * systime.h (ITIMER_REAL):
6912 Prototype mswindows_setitimer() and qxe_setitimer(). Long
6913 comment about "qxe" and the policy regarding encapsulation.
6916 * win32.c (setitimer_helper_proc):
6917 * win32.c (setitimer_helper_period):
6918 * win32.c (setitimer_helper):
6919 * win32.c (mswindows_setitimer):
6920 Move setitimer() emulation here, so Cygwin can use it.
6921 Rename a couple of functions and variables to be longer and more
6922 descriptive. In setitimer_helper_proc(), send the signal
6923 using either mswindows_raise() or (on Cygwin) kill(). If for
6924 some reason we are still getting lockups, we'll change the kill()
6925 to directly invoke the signal handlers.
6927 ------ windows shell fixes ------
6931 Comments about how these two files must die.
6933 * callproc.c (init_callproc):
6934 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
6935 not just COMSPEC. (more correct and closer to FSF.) Don't
6936 force a value for SHELL into the environment. (Comments added
6937 to explain why not.)
6939 * nt.c (init_user_info):
6940 Don't shove a fabricated SHELL into the environment. See above.
6942 2001-06-01 Ben Wing <ben@xemacs.org>
6944 * Makefile.in.in (ldflags):
6945 eliminate that pesky "defaulting to 00401000" warning.
6949 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
6951 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
6952 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
6954 2001-04-24 Jerry James <james@xemacs.org>
6956 * faces.h: pass parameters to Fadd_spec_to_specifier in the
6959 2001-06-01 Ben Wing <ben@xemacs.org>
6961 * event-msw.c (debug_mswin_messages):
6962 conditionalize the messages that were causing compile errors.
6963 (if only macros could generate #ifdef statements ...)
6965 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
6967 * XEmacs 21.4.4 "Artificial Intelligence" is released.
6969 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
6971 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
6973 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
6975 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
6976 * process-unix.c (unix_canonicalize_host_name):
6977 sysdep.c (init_system_name):
6978 Use it to conditionally support IPv6 canonicalization.
6980 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
6983 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
6985 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
6987 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
6988 attempt is made to scroll when no scroll bar is available.
6990 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
6992 * input-method-motif.c (XIM_delete_frame): New callback.
6993 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
6994 got deleted from 21.4.3.)
6996 2001-06-01 Ben Wing <ben@xemacs.org>
6998 * nt.c (mswindows_utime):
6999 * nt.c (close_file_data):
7000 fix off-by-one-indirection error.
7002 2001-05-29 Adrian Aichner <adrian@xemacs.org>
7004 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
7005 because set_file_times() now takes Lisp_Object path, instead of
7007 * nt.c: Include buffer.h.
7008 * nt.c (convert_from_time_t): New.
7009 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
7010 not set mtime correctly.
7011 * nt.h: Declare mswindows_utime().
7012 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
7013 path, instead of char*.
7014 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
7016 2001-05-30 Ben Wing <ben@xemacs.org>
7020 (Stephen, just take all event-msw.c patches. This includes
7021 the "iconify" fix below.)
7024 * event-msw.c (mswindows_dequeue_dispatch_event):
7025 * event-msw.c (assert):
7026 * event-msw.c (emacs_mswindows_quit_p):
7027 * event-msw.c (debug_mswin_messages):
7028 * event-msw.c (debug_output_mswin_message):
7029 * event-msw.c (vars_of_event_mswindows):
7030 Fix yet more problems with C-g handling.
7031 Implement debug-mswindows-events.
7033 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7035 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
7037 2001-05-23 Ben Wing <ben@xemacs.org>
7039 * event-msw.c (winsock_writer):
7040 * event-msw.c (winsock_closer):
7041 prior kludgy code was clobbering the buffer, thinking it was
7042 "unused" space to store an unneeded return value; instead, use
7043 the variable we've already got staring us in the face.
7045 2001-05-17 Andy Piper <andy@xemacs.org>
7047 * sysfile.h: don't assume that file attributes are boolean
7049 2001-05-23 Ben Wing <ben@xemacs.org>
7051 * device-msw.c (msprinter_init_device):
7052 signal an error rather than crash with an unavailable network
7053 printer (from Mike Alexander).
7056 * event-msw.c (struct winsock_stream):
7057 * event-msw.c (winsock_writer):
7058 * event-msw.c (winsock_closer):
7059 * event-msw.c (make_winsock_stream_1):
7060 cleanup headers. fix (hopefully) an error with data corruption
7061 when sending to a network connection.
7063 * fileio.c (Fexpand_file_name): Fix evil code that attempts
7064 to handle the ~user prefix by (a) always assuming we're referencing
7065 ourselves and not even verifying the user -- hence any file with
7066 a tilde as its first char is invalid! (b) if there wasn't a slash
7067 following the filename, the pointer was set *past* the end of
7068 file and we started reading from uninitialized memory. Now we
7069 simply treat these as files, always.
7071 * buffer.c (common_init_complex_vars_of_buffer): comment change.
7073 2001-05-19 Ben Wing <ben@xemacs.org>
7075 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
7078 * process-nt.c (vars_of_process_nt):
7079 remove unused mswindows-quote-process-args. rec for 21.4.
7081 2001-05-12 Ben Wing <ben@xemacs.org>
7083 * event-msw.c (mswindows_dde_callback):
7084 * event-msw.c (mswindows_wnd_proc):
7085 eliminate cygwin warnings.
7087 2001-05-06 Ben Wing <ben@xemacs.org>
7091 * device-msw.c (print_dialog_worker):
7092 * device-msw.c (mswindows_handle_print_dialog_box):
7093 * device-msw.c (syms_of_device_mswindows):
7094 * dialog-msw.c (mswindows_make_dialog_box_internal):
7096 implement printing the selection when it's selected.
7098 2001-05-20 Drazen Kacar <dave@arsdigita.com>
7100 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
7102 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
7104 * lisp.h (EMACS_INT_MAX): This should be one bit less since
7105 EMACS_INT is signed.
7107 2001-04-15 Michael Lausch <mla@1012surf.net>
7109 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
7110 gtk_widget_request_size() to give scrollbar >0 width for
7113 2001-05-30 William M. Perry <wmperry@gnu.org>
7115 * event-gtk.c: Check for buttons as modifier keys.
7117 2001-05-25 Craig Lanning <CraigL@Knology.net>
7120 Properly find MinGW's <process.h> inside Cygwin's restructured
7121 include directories. Don't try to include <cygwin/version.h>
7122 since we are dropping support for MinGW in versions of Cygwin
7125 Drop support for MinGW in versions of Cygwin before b21.
7127 Properly find MinGW's <process.h> inside Cygwin's restructured
7128 include directories.
7130 Drop support for MinGW in versions of Cygwin before b21.
7132 Even though a.out.h is no longer detected by configure, allow
7133 MinGW to use it until we figure out how to do the job with Win32.
7135 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
7137 * syntax.c (find_start_of_comment):
7138 Fix `unbalanced parentheses' bug when dealing with mixed comment
7139 styles in c++/java/etc. mode
7141 2001-05-29 Mike Alexander <mta@arbortext.com>
7143 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
7144 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
7146 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
7148 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
7150 2001-03-31 Mike Sperber <mike@xemacs.org>
7152 * search.c (Freplace_match): Support FSF-style specification of
7153 match subexpression when applied to a buffer.
7155 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
7157 * event-stream.c (is_scrollbar_event): add missing semicolon
7159 2001-05-22 Isaac Hollander <ysh@mindspring.com>
7161 * Makefile.in.in: Use TAR macro instead of hardcoding
7162 tar. Allows use of GNU tar instead of system tar
7164 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
7166 * event-stream.c (is_scrollbar_event): add missing semicolon
7168 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
7170 * XEmacs 21.4.3 "Academic Rigor" is released.
7172 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
7174 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
7176 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
7178 * buffer.c (Vcase_fold_search): Remove obsolete
7179 comment about non ASCII case-fold-search. This
7180 bug has been fixed by case-table changes.
7182 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
7184 * event-msw.c: Restore include of events-mod.h.
7186 2001-04-22 zhaoway <zw@debian.org>
7188 * event-stream.c (is_scrollbar_event): Noop returning 0 if
7191 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
7193 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
7195 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
7197 * mule-charset.c (Fmake_charset): Add missing else.
7199 2001-04-23 Ben Wing <ben@xemacs.org>
7201 * event-msw.c (FAKE_MOD_QUIT):
7202 * event-msw.c (mswindows_dequeue_dispatch_event):
7203 * event-msw.c (mswindows_wnd_proc):
7204 * event-msw.c (emacs_mswindows_quit_p):
7205 Get critical quit working.
7207 2001-05-05 Ben Wing <ben@xemacs.org>
7211 * device-msw.c (mswindows_get_default_margin):
7212 * frame-msw.c (mswindows_size_frame_internal):
7213 * frame-msw.c (msprinter_init_frame_1):
7214 * frame-msw.c (vars_of_frame_mswindows):
7215 Change top/bottom margin defaults to 0.5 inches.
7217 2001-05-01 Martin Buchholz <martin@xemacs.org>
7219 Fix link error with gcc 3.0 on Linux.
7220 * terminfo.c (UP): Remove.
7221 * terminfo.c (BC): Remove.
7222 * terminfo.c (PC): Remove.
7223 They weren't used, and in any case, these symbols should be
7224 defined in the *library*.
7226 2001-05-03 Martin Buchholz <martin@xemacs.org>
7228 * s/aix4.h: Fix crash with xlc -O3.
7229 Improve comment explaining how -O3 works.
7231 2001-04-15 Ben Wing <ben@xemacs.org>
7234 * event-stream.c (Fnext_event):
7235 * event-stream.c (is_scrollbar_event):
7236 * event-stream.c (execute_command_event):
7237 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
7238 crash' problem. His fix introduces other problems. We filter
7239 out scrollbar events specifically, making them somewhat invisible
7240 to command-building, and not appearing in `this-command-keys'.
7241 More work is still needed (see comments in event-stream.c), but
7242 this fixes all the major problems.
7244 2001-04-20 Ben Wing <ben@xemacs.org>
7246 * .cvsignore: Added stuff for Windows.
7248 2001-04-28 Ben Wing <ben@xemacs.org>
7250 * buffer.c (Ferase_buffer):
7251 * editfns.c (buffer_insert1):
7252 * editfns.c (Finsert_before_markers):
7253 * editfns.c (Finsert_string):
7254 * editfns.c (Finsert_char):
7255 * editfns.c (Fdelete_region):
7256 * editfns.c (Fwiden):
7257 * editfns.c (Fnarrow_to_region):
7258 remove bogus lines setting zmacs_region_stays to 0.
7260 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
7262 * process-unix.c (unix_open_network_stream): If connect() fails
7263 invalidate file descriptor after closing it.
7265 2001-03-08 Mike Alexander <mta@arbortext.com>
7267 * event-msw.c (mswindows_need_event_in_modal_loop):
7268 Don't dispatch a message if we didn't get one.
7269 (mswindows_need_event):
7270 Terminate the correct process when one exits instead of the first
7271 one on Vprocess_list and look for process termination when in
7272 mswindows_protect_modal_loop.
7274 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
7276 * XEmacs 21.4.1 "Copyleft" is released.
7278 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
7280 * input-method-motif.c (XIM_delete_frame): New callback.
7281 (XIM_init_frame): Register it.
7283 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
7285 * XEmacs 21.4.0 "Solid Vapor" is released.
7287 2001-04-15 Ben Wing <ben@xemacs.org>
7289 * cmdloop.c (call_command_loop):
7290 Fix braino in bit-rotting code.
7292 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
7294 * extents.c (Fset_extent_endpoints): Force creation of extent info
7295 in buffer_or_string.
7297 * extents.c (process_extents_for_insertion_mapper): Correctly
7298 check for open-open zero-length extents.
7300 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
7302 * lisp.h: New typedefs Memory_count, Element_count.
7305 Sign-compare warning elimination: several unsigned -> signed.
7306 Based on work by Ben Wing <ben@xemacs.org>.
7308 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
7310 * XEmacs 21.2.47 "Zephir" is released.
7312 2001-04-02 Jan Vroonhof <jan@xemacs.org>
7314 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
7316 2001-04-03 Mike Sperber <mike@xemacs.org>
7318 * search.c: Revert previous patch due because of release.
7320 2001-03-30 Ben Wing <ben@xemacs.org>
7323 Add missing killpg prototype.
7326 Add a comment about fixing problems when a new entry is added
7329 * frame-msw.c (mswindows_init_frame_1):
7330 Fix compile warnings.
7332 * menubar.c (vars_of_menubar):
7333 Provide `menu-accelerator-support' to indicate that we properly
7334 support %_ in menu specifications, so that package code can
7335 conditionalize on this (and remove %_ from menu specifications
7340 * scrollbar-msw.c (can_scroll):
7342 Fix handling of mouse wheel under Windows to follow standards --
7343 now scrolls window under pointer, not selected window.
7345 2001-03-31 Mike Sperber <mike@xemacs.org>
7347 * search.c (Freplace_match): Support FSF-style specification of
7348 match subexpression when applied to a buffer.
7350 2001-03-15 Martin Buchholz <martin@xemacs.org>
7352 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
7353 function to modify KEYMAP, so map over a copy of the hash table.
7355 2001-03-21 Martin Buchholz <martin@xemacs.org>
7357 * XEmacs 21.2.46 "Urania" is released.
7359 2001-03-20 Dan Holmsand <dan@eyebee.com>
7361 * realpath.c (xrealpath): Make file-truename work with symlinks to
7362 /cygdrive paths on cygwin. Always lowercase drive-letters on
7364 (cygwin_readlink): Don't try to find canonical filename unless
7367 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
7369 * ChangeLog: Log GTK merge.
7375 Revert gratuitous whitespace changes from GTK merge.
7377 * emacs.c: Document end of complex #ifdef @ l. 1495.
7380 2001-03-12 Andy Piper <andy@xemacs.org>
7382 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
7383 have to do likewise.
7385 2001-03-12 Andy Piper <andy@xemacs.org>
7387 * sysdep.c: we only support mingw now.
7389 2001-03-09 Andy Piper <andy@xemacs.org>
7391 * unexcw.c (copy_executable_and_dump_data_section): making approx
7392 overrun a warning only.
7394 2001-03-10 William M. Perry <wmperry@aventail.com>
7396 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
7397 satisfy Stephen's identical-after-cpp plea.
7399 2001-03-02 Ben Wing <ben@xemacs.org>
7402 * cmds.c (Fforward_char):
7406 Augment documentation of the most common motion commands to make
7407 note of the shifted-motion support.
7409 2001-03-02 Ben Wing <ben@xemacs.org>
7411 * nt.c (mswindows_fstat):
7412 * nt.c (mswindows_stat):
7413 * search.c (boyer_moore):
7414 Fix compile warnings under Windows.
7416 * sysdep.c (sys_readdir):
7417 Fix buggy filename-conversion code under Mule.
7419 2001-03-09 William M. Perry <wmperry@aventail.com>
7441 * redisplay-output.c:
7447 The Great GTK Merge.
7454 * emacs-widget-accessors.c:
7468 * native-gtk-toolbar.c:
7479 The Great GTK Merge: new files.
7481 2001-02-26 Ben Wing <ben@xemacs.org>
7483 Reapplied Lstream change.
7485 2001-02-26 Ben Wing <ben@xemacs.org>
7487 Undid the last change, since it is more controversial than I
7488 thought. It should be back in at some point soon.
7490 2001-02-25 Ben Wing <ben@xemacs.org>
7493 * callproc.c (Fold_call_process_internal):
7494 * event-msw.c (ntpipe_slurp_reader):
7495 * event-msw.c (ntpipe_shove_writer):
7496 * event-msw.c (winsock_reader):
7497 * event-msw.c (winsock_writer):
7499 * file-coding.c (detect_eol_type):
7500 * file-coding.c (detect_coding_type):
7501 * file-coding.c (determine_real_coding_system):
7502 * file-coding.c (Fdetect_coding_region):
7503 * file-coding.c (decoding_reader):
7504 * file-coding.c (decoding_writer):
7505 * file-coding.c (mule_decode):
7506 * file-coding.c (Fdecode_coding_region):
7507 * file-coding.c (encoding_reader):
7508 * file-coding.c (encoding_writer):
7509 * file-coding.c (mule_encode):
7510 * file-coding.c (Fencode_coding_region):
7511 * file-coding.c (detect_coding_sjis):
7512 * file-coding.c (decode_coding_sjis):
7513 * file-coding.c (encode_coding_sjis):
7514 * file-coding.c (detect_coding_big5):
7515 * file-coding.c (decode_coding_big5):
7516 * file-coding.c (encode_coding_big5):
7517 * file-coding.c (detect_coding_ucs4):
7518 * file-coding.c (decode_coding_ucs4):
7519 * file-coding.c (encode_coding_ucs4):
7520 * file-coding.c (detect_coding_utf8):
7521 * file-coding.c (decode_coding_utf8):
7522 * file-coding.c (encode_coding_utf8):
7523 * file-coding.c (detect_coding_iso2022):
7524 * file-coding.c (decode_coding_iso2022):
7525 * file-coding.c (encode_coding_iso2022):
7526 * file-coding.c (decode_coding_no_conversion):
7527 * file-coding.c (encode_coding_no_conversion):
7528 * glyphs-x.c (write_lisp_string_to_temp_file):
7529 * gpmevent.c (tty_get_foreign_selection):
7532 * lstream.c (Lstream_flush_out):
7533 * lstream.c (Lstream_adding):
7534 * lstream.c (Lstream_write_1):
7535 * lstream.c (Lstream_write):
7536 * lstream.c (Lstream_raw_read):
7537 * lstream.c (Lstream_read_more):
7538 * lstream.c (Lstream_read):
7539 * lstream.c (Lstream_unread):
7540 * lstream.c (Lstream_fputc):
7541 * lstream.c (stdio_reader):
7542 * lstream.c (stdio_writer):
7543 * lstream.c (filedesc_reader):
7544 * lstream.c (filedesc_writer):
7545 * lstream.c (lisp_string_reader):
7546 * lstream.c (struct fixed_buffer_stream):
7547 * lstream.c (make_fixed_buffer_input_stream):
7548 * lstream.c (make_fixed_buffer_output_stream):
7549 * lstream.c (fixed_buffer_reader):
7550 * lstream.c (fixed_buffer_writer):
7551 * lstream.c (struct resizing_buffer_stream):
7552 * lstream.c (resizing_buffer_writer):
7553 * lstream.c (dynarr_writer):
7554 * lstream.c (lisp_buffer_reader):
7555 * lstream.c (lisp_buffer_writer):
7557 * lstream.h (lstream_implementation):
7558 * lstream.h (struct lstream):
7560 * process-nt.c (nt_send_process):
7561 * process-unix.c (unix_send_process):
7563 Correct Lstream lossage due to mixing of signed and unsigned
7564 quantities. All Lstream uses of size_t and ssize_t are now a
7565 single signed data type Lstream_data_count. This fixes problems
7566 under Windows with sending large quantities of data to a process,
7567 and may well fix other subtle bugs.
7569 2001-02-23 Martin Buchholz <martin@xemacs.org>
7571 * XEmacs 21.2.45 "Thelxepeia" is released.
7573 2001-02-21 Martin Buchholz <martin@xemacs.org>
7575 * lisp-union.h (XSETINT):
7578 Reverse previous change of 2001-02-06.
7580 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
7582 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
7584 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
7585 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
7586 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
7587 * regex.c (POS_AS_IN_BUFFER): removed
7588 * regex.c (re_search_2):
7589 * regex.c (re_match_2):
7590 Don't use an offset of 1 when calculating buffer positions, since
7591 `BI_BUF_BEGV' does it already.
7593 2001-02-18 Wim Dumon <wim@easics.be>
7595 * insdel.c (prepare_to_modify_buffer): Also check for
7596 supersession when clash-detection is enabled.
7598 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
7600 * regex.c (re_match_2_internal):
7601 Convert temp characters from 'const unsigned char' to 're_char'.
7602 Fix crashing bug with extended characters under mule.
7603 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
7604 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
7605 font-lock, pdump, and new syntax-table code.
7606 * syntax.c (find_start_of_comment):
7607 (find_end_of_comment):
7609 Fix crashing bugs involving moving beyond end of buffer.
7610 * syntax.c (find_start_of_comment):
7611 Fixed logic to allow proper detection of cases where the same
7612 character is used to end both a two-char comment start and a
7613 two-char comment end sequence. Fixes `(forward-comment -1)'.
7614 * syntax.c (find_start_of_comment):
7615 Return position just past last comment-end character for all cases
7616 (previously was only done for two-char comment-end sequences).
7617 * syntax.c (forward-comment):
7618 Take value returned from `find_end_of_comment', rather than
7620 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
7621 Properly deal with BUFFERP (syntax_cache.object)
7623 2001-02-17 Martin Buchholz <martin@xemacs.org>
7625 * alloc.c (Fgarbage_collect):
7626 * alloc.c (make_bit_vector_from_byte_vector):
7627 -Wsign-compare-correctness.
7629 2001-02-16 Martin Buchholz <martin@xemacs.org>
7631 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
7632 (XSETCHAR): Likewise.
7633 (XSETOBJ): Likewise.
7635 2001-02-15 Martin Buchholz <martin@xemacs.org>
7637 * mule-canna.c (canna-func-delete_previous):
7638 Rename to canna-func-delete-previous.
7640 2001-02-14 Martin Buchholz <martin@xemacs.org>
7642 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
7644 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
7646 * font-lock.c (find_context): Fix C++ compile errors introduced by
7649 2001-02-13 Martin Buchholz <martin@xemacs.org>
7651 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
7652 pragma, but earlier ones barf on the same pragma.
7654 2001-02-06 Mike Sperber <mike@xemacs.org>
7656 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
7657 `configure-mule-lisp-directory'.
7659 2001-02-12 Martin Buchholz <martin@xemacs.org>
7661 Make sure dump-id.c is compiled in the same way as other .c's.
7662 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
7663 * dump-id.h: Remove.
7664 * emacs.c: Move dump-id.h into dumper.h.
7665 * dumper.h: Move dump-id.h into dumper.h.
7667 Use standard .c.o rule for building dump-id.o.
7668 Remove preprocessor flags from link command.
7669 Add dump-id.o to ${otherobjs} if PDUMP.
7671 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
7673 Port FSF 20.7 syntax table improvements.
7677 Fixups for new syntax table stuff.
7678 * dired.c: Include syntax.c.
7679 (Fdirectory_files): Initialize regex_match_object and
7681 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
7682 and Fget_char_property.
7684 Use ported FSF 20.7 syntax table improvements.
7689 2001-02-09 Martin Buchholz <martin@xemacs.org>
7691 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
7692 Unixware's enum boolean from sys/types.h.
7694 2001-02-10 Martin Buchholz <martin@xemacs.org>
7696 Fix support for building with latest Purify.
7697 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
7698 (PURIFY_FLAGS): Likewise.
7700 2001-02-09 Martin Buchholz <martin@xemacs.org>
7702 * fileio.c (lisp_string_set_file_times): New.
7703 * fileio.c (Fcopy_file): Use it.
7705 (copy-file filename non-ascii-filename t t)
7706 ==> No such file or directory, non-ascii-filename
7708 2001-02-10 Martin Buchholz <martin@xemacs.org>
7710 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
7711 USHRT_MAX seems clearer than ~0 anyways.
7713 2001-02-09 Martin Buchholz <martin@xemacs.org>
7715 dumper improvements. Inspired by Olivier.
7716 * dumper.c (pdump_max_align): New.
7717 * dumper.c (pdump_add_entry): Use pdump_max_align.
7718 * dumper.c (pdump_get_entry_list): Likewise.
7719 * dumper.c (pdump_scan_by_alignment): Likewise.
7720 Don't iterate through unnecessary alignments.
7721 * dumper.c (pdump_file_get): No need to align result of malloc().
7722 * dumper.c (pdump_mallocadr): Remove.
7723 The result of malloc() is guaranteed to be maximally aligned.
7724 * dumper.c: s/elmt/elt/g;
7725 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
7726 * dumper.c (pdump_alert_undump_object): Likewise.
7727 * dumper.c (pdump_align_table):
7728 Don't support alignments > 64.
7729 Store ALIGNOF's, not shift counts, in table.
7731 2001-02-09 Martin Buchholz <martin@xemacs.org>
7733 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
7734 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
7735 * systime.h: Use HAVE_UTIME.
7736 * sysdep.c (struct utimbuf): Remove.
7737 * sysdep.c (set_file_times): Prefer utime() to utimes().
7738 * config.h.in (HAVE_UTIME): New.
7739 * config.h.in (HAVE_UTIME_H): Remove.
7740 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
7742 2001-02-09 Martin Buchholz <martin@xemacs.org>
7744 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
7746 2001-02-08 Martin Buchholz <martin@xemacs.org>
7748 * s/irix6-0.h: Use the standard system memmove, not bcopy.
7750 2001-02-08 Martin Buchholz <martin@xemacs.org>
7752 * XEmacs 21.2.44 "Thalia" is released.
7754 2001-02-06 Martin Buchholz <martin@xemacs.org>
7756 Fixes crashes in kill-emacs on some systems.
7757 * process-unix.c (unix_kill_child_process):
7758 It's OK for kill() to fail with ESRCH.
7760 2001-02-07 Martin Buchholz <martin@xemacs.org>
7762 Contortions to make .gdbinit tricks work on most systems.
7763 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
7764 * alloc.c (dbg_valmask): Make non-const.
7765 * alloc.c (dbg_typemask): Make non-const.
7766 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
7767 * alloc.c (dbg_valbits): Make non-const.
7768 * alloc.c (dbg_gctypebits): Make non-const.
7769 * .gdbinit (decode_object): Make it work with AIX cc.
7771 2001-02-06 Martin Buchholz <martin@xemacs.org>
7773 * elhash.c (make_general_lisp_hash_table):
7774 Use simpler and more efficient calloc to clear entries.
7776 2001-02-07 Martin Buchholz <martin@xemacs.org>
7778 * window.c (window_scroll): Work around an AIX C compiler bug.
7779 Fixes 'scroll-up' does nothing problem with xlC.
7781 2001-02-05 Martin Buchholz <martin@xemacs.org>
7783 * .gdbinit: Remove obsolete comment.
7785 2001-01-31 Mike Alexander <mta@arbortext.com>
7787 * select.c (Fown_selection_internal): Set owned_p for device
7790 2001-02-01 Martin Buchholz <martin@xemacs.org>
7793 "not" cannot be used as a macro name as it is an operator in C++
7794 * config.h.in: Stop #defining `not'.
7795 * chartab.c (check_category_char): not ==> not_p
7796 * chartab.h: Likewise.
7797 * regex.c (re_match_2_internal): Likewise.
7799 2001-02-02 Martin Buchholz <martin@xemacs.org>
7801 * lisp-disunion.h: Fix up comments.
7803 2001-01-31 Martin Buchholz <martin@xemacs.org>
7805 * keymap.c (define_key_check_and_coerce_keysym):
7807 Support mouse-6 and mouse-7 bindings in the obvious way.
7809 2001-02-01 Martin Buchholz <martin@xemacs.org>
7811 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
7813 2001-01-30 Martin Buchholz <martin@xemacs.org>
7815 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
7816 Previous patch missed DEFVAR_INT_MAGIC.
7817 Make sure future DEFVAR_foo use correct types.
7818 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
7819 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
7820 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
7821 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
7822 * (DEFVAR_INT): Likewise.
7823 * redisplay.c (vertical_clip): Should be of type Fixnum.
7824 * redisplay.c (horizontal_clip): Likewise.
7825 * lisp.h (dump_add_opaque_int): New.
7826 (dump_add_opaque_fixnum): New.
7828 2001-01-29 Andy Piper <andy@xemacs.org>
7830 * glyphs-widget.c (check_valid_int_or_function): allow symbols
7831 since they can be eval'ed
7833 2001-01-29 Martin Buchholz <martin@xemacs.org>
7835 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
7836 Oops, XEmacs redefines `class'. Use `typename' instead.
7838 2001-01-28 Martin Buchholz <martin@xemacs.org>
7840 * dumper.c: Fix C++ compile errors.
7842 2001-01-29 Martin Buchholz <martin@xemacs.org>
7844 * tparam.c: Use correct prototypes.
7846 2001-01-28 Martin Buchholz <martin@xemacs.org>
7848 * sysproc.h: #include util.h for NetBSD's openpty.
7850 2001-01-27 Martin Buchholz <martin@xemacs.org>
7852 More 64-bit correctness.
7853 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
7854 Use a typedef `fixnum' for the type used for DEFVAR_INT.
7856 This finally finishes the 64-bit SGI port.
7857 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
7858 * symbols.c: Fix up comments and type casts.
7859 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
7860 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
7861 * symeval.h (Fixnum): New type.
7862 * symeval.h (symbol_value_type): Fix up comment.
7878 * mule-canna.c: A million DEFVAR_INTs here...
7879 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
7892 s/int/Fixnum/g in DEFVAR_INT declarations.
7894 2001-01-26 Martin Buchholz <martin@xemacs.org>
7896 Port pdump to SGI alignment-sensitive environment.
7897 Lisp Object sizeof methods now return aligned sizes. Rely on that.
7898 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
7900 Define and use aligned reading and writing macros.
7901 Use buffered stdio instead of posix i/o for faster dumping.
7902 Eliminate kludgy 256 byte space for header.
7903 Read and write from dump file using structs for alignment safety.
7904 * dumper.c (pdump_align_stream): New.
7905 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
7906 * dumper.c (PDUMP_READ_ALIGNED): New.
7907 * dumper.c (PDUMP_WRITE_ALIGNED): New.
7908 * dumper.c (pdump_static_Lisp_Object): New struct.
7909 * dumper.c (pdump_static_pointer): New struct.
7910 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
7911 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
7912 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
7913 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
7915 * dumper.c (pdump_backtrace):
7916 * dumper.c (pdump_get_indirect_count):
7917 * dumper.c (pdump_register_object):
7918 * dumper.c (pdump_register_struct):
7919 * dumper.c (pdump_reloc_one):
7920 * dumper.c (pdump_scan_by_alignment):
7921 * dumper.c (pdump_dump_from_root_struct_ptrs):
7922 * dumper.c (pdump_dump_opaques):
7923 * dumper.c (pdump_dump_rtables):
7924 * dumper.c (pdump_dump_from_root_objects):
7926 * dumper.c (pdump_load_finish):
7927 Use aligned reading and writing.
7929 * dumper.c (pdump_free): Make static.
7930 * dumper.c (pdump_hFile): Likewise.
7931 * dumper.c (pdump_hMap): Likewise.
7933 2001-01-26 Martin Buchholz <martin@xemacs.org>
7935 * XEmacs 21.2.43 "Terspichore" is released.
7937 2001-01-25 Martin Buchholz <martin@xemacs.org>
7939 Type fiddling for window_config.saved_windows_count
7940 * window.c (struct window_config):
7941 Make saved_windows_count member unsigned.
7942 * window.c (sizeof_window_config_for_n_windows):
7943 Make parameter unsigned.
7944 * window.c (mark_window_config):
7945 * window.c (window_config_equal):
7946 * window.c (free_window_configuration):
7947 * window.c (Fset_window_configuration):
7948 * window.c (count_windows):
7949 * window.c (Fcurrent_window_configuration):
7950 * window.c (reinit_vars_of_window):
7951 Update all callers and users.
7953 2001-01-25 Martin Buchholz <martin@xemacs.org>
7955 Alignment correctness for flexible arrays.
7956 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
7957 Make alignment-correct. Add interesting comments.
7958 * alloc.c (size_vector):
7959 * alloc.c (make_vector_internal):
7960 * alloc.c (make_bit_vector_internal):
7961 * alloc.c (sweep_bit_vectors_1):
7962 * fns.c (size_bit_vector):
7963 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
7964 * window.c (sizeof_window_config_for_n_windows):
7965 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
7967 2001-01-24 Martin Buchholz <martin@xemacs.org>
7969 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
7971 2001-01-23 Andy Piper <andy@xemacs.org>
7973 * select.c (Fown_selection_internal): pass owned_p
7975 * select-msw.c (mswindows_own_selection): New Signature.
7977 * console.h (struct console_methods): add owned_p to
7980 * select-x.c (x_own_selection): pass owned_p
7981 (hack_motif_clipboard_selection): use owned_p
7982 (vars_of_select_x): new variable -
7983 x_selection_strict_motif_ownership.
7985 2001-01-23 Martin Buchholz <martin@xemacs.org>
7987 * specifier.h (specifier_data_offset): Remove pointless parens.
7988 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
7990 2001-01-24 Martin Buchholz <martin@xemacs.org>
7992 Make Lisp_Object sizeof methods be alignment-correct.
7993 pdump must restore objects to the same alignment as the C compiler
7994 assumes. It really matters on SGIs.
7995 * lstream.c (aligned_sizeof_lstream): New.
7996 (sizeof_lstream): Use aligned_sizeof_lstream.
7997 (Lstream_new): Likewise.
7998 * opaque.c (aligned_sizeof_opaque): New.
7999 (sizeof_opaque): Use aligned_sizeof_opaque.
8000 (make_opaque): Likewise.
8001 * specifier.c (aligned_sizeof_specifier): New.
8002 (sizeof_specifier): Use aligned_sizeof_specifier.
8003 (make_specifier_internal): Likewise.
8005 2001-01-23 Martin Buchholz <martin@xemacs.org>
8007 * lstream.h (struct lstream): Use max_align_t for trailing data.
8008 * specifier.h (struct Lisp_Specifier): Likewise.
8010 2001-01-22 Martin Buchholz <martin@xemacs.org>
8012 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
8013 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
8014 (CCL_SUSPEND): Likewise.
8015 (CCL_INVALID_CMD): Likewise.
8016 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
8017 (ccl_driver): Likewise.
8018 (CCL_WRITE_CHAR): Macro hygiene.
8019 (CCL_WRITE_STRING): Macro hygiene.
8021 2001-01-22 Martin Buchholz <martin@xemacs.org>
8023 Port "portable" dumper to SunOS 4 and HP-UX.
8024 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
8025 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
8026 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
8028 2001-01-22 Martin Buchholz <martin@xemacs.org>
8030 * lisp.h (ALIGNOF): A better definition for C++.
8032 2001-01-20 Martin Buchholz <martin@xemacs.org>
8035 Fix printf warnings: int format, long int arg.
8036 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
8037 (PUSH_FAILURE_POINT): Use correct printf formats.
8038 (POP_FAILURE_POINT): Use correct printf formats.
8039 Use do {...} while (0)
8041 2001-01-20 Martin Buchholz <martin@xemacs.org>
8043 * XEmacs 21.2.42 "Poseidon" is released.
8045 2001-01-20 Martin Buchholz <martin@xemacs.org>
8047 * console-x.h: typo fix du jour. Remove #if 0'ed code.
8049 2001-01-19 Martin Buchholz <martin@xemacs.org>
8051 De-kludgify FIXED_TYPE free list frobbing.
8052 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
8053 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
8054 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
8055 * alloc.c (Lisp_Free): New pseudo lisp object definition.
8056 * alloc.c (LRECORD_FREE_P): New.
8057 * alloc.c (MARK_LRECORD_AS_FREE): New.
8058 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
8059 * alloc.c (STRUCT_FREE_P): Deleted.
8060 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
8061 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
8062 * alloc.c (STRING_CHARS_FREE_P): New.
8063 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
8064 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
8065 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
8066 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
8067 * alloc.c (resize_string): Use new definitions.
8068 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
8069 * alloc.c (verify_string_chars_integrity): Use new definitions.
8070 * alloc.c (compact_string_chars): Use new definitions.
8071 * alloc.c: Update monster comments.
8072 * lrecord.h (lrecord_type): Add some new lrecord types for
8075 2001-01-18 Martin Buchholz <martin@xemacs.org>
8077 Improve alignment hackery.
8078 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
8079 (max_align_t): Moved from opaque.h - general purpose.
8080 (ALIGN_PTR): Use size_t, not long.
8081 * opaque.h (max_align_t): Move to lisp.h.
8083 2001-01-18 Norbert Koch <nk@LF.net>
8085 * gui.h: Fix and add prototypes to fix build problems.
8087 2001-01-18 Martin Buchholz <martin@xemacs.org>
8089 temacs is going away, so `dump-temacs' is now a bad name.
8090 * .dbxrc (dump-temacs): Rename to `dmp'.
8091 * .gdbinit (dump-temacs): Rename to `dmp'.
8093 2001-01-17 Andy Piper <andy@xemacs.org>
8095 * glyphs.c (print_image_instance): comment to make martin happy.
8097 * glyphs-x.c (x_redisplay_widget): update faces after a frame
8100 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
8102 (mswindows_tab_control_redisplay): warning suppression.
8104 * glyphs-widget.c (widget_update): re-write to cope with updated
8106 (widget_instantiate): use new gui_item functions.
8107 (tab_control_update): deleted.
8108 (progress_gauge_update): deleted.
8109 (image_instantiator_progress_guage): take out update reference.
8110 (image_instantiator_tree_view): ditto.
8111 (image_instantiator_tab_control): ditto.
8113 * gui.c (widget_gui_parse_item_keywords): new function. Do things
8115 (gui_item_add_keyval_pair): re-write to cope with descriptors and
8116 return whether anything was changed.
8117 (update_gui_item_keywords): as it sounds.
8119 * gui.h: declare widget_gui_parse_item_keywords.
8121 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
8122 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
8124 2001-01-17 Martin Buchholz <martin@xemacs.org>
8126 * XEmacs 21.2.41 "Polyhymnia" is released.
8128 2001-01-16 Didier Verna <didier@xemacs.org>
8130 * glyphs.c (image_instantiate): don't use fallbacks when
8131 instantiating a face's background pixmap by inheritance.
8133 2001-01-14 Mike Sperber <mike@xemacs.org>
8135 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
8136 Conditionalize accordingly.
8138 2001-01-16 Martin Buchholz <martin@xemacs.org>
8140 * dumper.c (pdump_file_get): Fix a compiler warning.
8142 2001-01-15 Martin Buchholz <martin@xemacs.org>
8144 Make Purify happy when pdumping.
8145 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
8146 iniitalizing all bits of new lisp object memory.
8147 * symbols.c (Fmake_local_variable): Likewise.
8148 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
8149 * symbols.c (Fdefvaralias): Likewise.
8150 * mule-charset.c (vars_of_mule_charset): Likewise.
8152 2001-01-15 Martin Buchholz <martin@xemacs.org>
8153 Add the `-nd' flag when running pre-dump operations under the debugger.
8154 * .dbxrc (run-temacs): Add `-nd'.
8155 * .dbxrc (update-elc): Likewise.
8156 * .dbxrc (dump-temacs): Likewise.
8157 * .gdbinit (run-temacs): Likewise.
8158 * .gdbinit (check-temacs): Likewise.
8159 * .gdbinit (update-elc): Likewise.
8160 * .gdbinit (dump-temacs): Likewise.
8162 2001-01-14 Martin Buchholz <martin@xemacs.org>
8164 Allow building 64-bit executables on AIX with GNU malloc, e.g.
8165 export OBJECT_MODE=64
8166 configure --pdump --use-union-type=no
8167 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
8168 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
8170 * miscplay.c (sndcnv8U_2mono):
8171 Avoid two uses of `++' in the same expression.
8172 Suppresses a GCC warning.
8174 2001-01-13 Martin Buchholz <martin@xemacs.org>
8176 Make sure future compilers don't miscompile alloc.c.
8178 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
8179 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
8181 2001-01-12 Martin Buchholz <martin@xemacs.org>
8183 * dumper.c: A little post-pdump-rename comment fixup.
8185 2001-01-09 Jerry James <james@eecs.ku.edu>
8187 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
8189 2001-01-13 Martin Buchholz <martin@xemacs.org>
8191 * *.[ch]: Globally rename symbols using the following `pdump-rename'
8195 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
8198 replace_symbol pdump_wire_lists pdump_weak_object_chains
8199 replace_symbol pdump_wire_list dump_add_weak_object_chain
8201 replace_symbol pdump_wires pdump_root_objects
8202 replace_symbol pdump_wire dump_add_root_object
8204 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
8205 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
8207 replace_symbol dumpstructinfos pdump_root_struct_ptrs
8208 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
8209 replace_symbol dumpstructinfo pdump_root_struct_ptr
8210 replace_symbol dumpstruct dump_add_root_struct_ptr
8212 replace_symbol dumpopaque dump_add_opaque
8213 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
8214 replace_symbol dumpopaqueinfos pdump_opaques
8215 replace_symbol dumpopaqueinfo pdump_opaque
8217 replace_symbol nb_structdump nb_root_struct_ptrs
8218 replace_symbol nb_opaquedump nb_opaques
8220 replace_symbol align_table pdump_align_table
8221 replace_symbol dump_header pdump_header
8223 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
8224 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
8227 2001-01-12 Martin Buchholz <martin@xemacs.org>
8229 * s/aix4.h: Keep the C for AIX compiler from overaggressively
8230 optimizing bytecount_to_charcount().
8232 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
8235 (HAVE_DLFCN_H): Removed.
8236 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
8238 2001-01-06 Martin Buchholz <martin@xemacs.org>
8240 Portable dumper maintainability improvements.
8241 * alloc.c (staticpro):
8242 * alloc.c (staticpro_nodump):
8243 * alloc.c (garbage_collect_1):
8244 * alloc.c (reinit_alloc_once_early):
8245 * alloc.c (init_alloc_once_early):
8246 * alloc.c: Move dumper functions to alloc.c.
8247 * dumper.c (pdump_backtrace):
8248 * dumper.c (pdump_dump_structs):
8249 * dumper.c (pdump_dump_opaques):
8250 * dumper.c (pdump_dump_rtables):
8251 * dumper.c (pdump_dump_wired):
8253 * dumper.c (pdump_load_check):
8254 * dumper.c (pdump_load_finish):
8255 * dumper.c (pdump_file_unmap):
8256 * dumper.c (pdump_file_get):
8257 * dumper.c (pdump_resource_free):
8258 * dumper.c (pdump_resource_get):
8259 * dumper.c (pdump_file_free):
8260 * dumper.c (pdump_file_try):
8261 * dumper.c (pdump_load):
8262 Remove fixed size limits on staticpro(), staticpro_nodump(),
8263 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
8264 Remove custom code for dumping lrecord_implementations_table - use
8266 Remove (most of the) custom code for dumping staticpros - dump it
8267 like any other dynarr.
8269 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
8270 * dumper.c: Moved functions from alloc.c.
8271 * alloc.c (dumpstruct): Moved to dumper.c.
8272 * alloc.c (dumpopaque): Likewise.
8273 * alloc.c (pdump_wire): Likewise.
8274 * alloc.c (pdump_wire_list): Likewise.
8276 * lisp.h (Dynarr_sizeof): New.
8277 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
8278 * lisp.h (Dynarr_end): New. Very slightly C++oid.
8279 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
8281 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
8282 * lisp.h (dumpopaque): ditto.
8283 * lisp.h (pdump_wire): ditto.
8284 * lisp.h (pdump_wire_list): ditto.
8286 2001-01-09 Martin Buchholz <martin@xemacs.org>
8288 * make-src-depend (PrintPatternDeps):
8289 Use `sort' to make output independent of perl version.
8291 2001-01-08 Martin Buchholz <martin@xemacs.org>
8294 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
8295 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
8297 2001-01-03 Didier Verna <didier@xemacs.org>
8299 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
8300 that `focus_frame' is alive before thinking of calling
8301 `redisplay_redraw_cursor' on it.
8303 2001-01-08 Martin Buchholz <martin@xemacs.org>
8305 * XEmacs 21.2.40 is released.
8307 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
8309 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
8311 2001-01-06 Martin Buchholz <martin@xemacs.org>
8313 * alloc.c (dbg_valmask): Make const.
8314 * alloc.c (dbg_typemask): Make const.
8315 * alloc.c (dbg_USE_UNION_TYPE): Make const.
8316 * alloc.c (dbg_valbits): Make const.
8317 * alloc.c (dbg_gctypebits): Make const.
8319 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
8321 * redisplay-x.c (x_bevel_area):
8322 redisplay.h (struct rune):
8323 Typo fixes in comments.
8325 2001-01-05 Andy Piper <andy@xemacs.org>
8327 * glyphs-x.c (x_redisplay_widget): use size changed for offset
8330 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
8332 2001-01-05 Martin Buchholz <martin@xemacs.org>
8334 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
8336 * mule-ccl.c (stack_idx_of_map_multiple):
8337 Non const global data must not be initialized!
8338 Found by MIYASHITA Hisashi.
8340 2001-01-02 Andy Piper <andy@xemacs.org>
8342 * frame.c (change_frame_size): make sure frame size is always
8345 * glyphs.c (image_instance_layout): minor code reuse.
8347 * window.c (Fcurrent_window_configuration): revert previous
8350 2001-01-02 Martin Buchholz <martin@xemacs.org>
8353 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
8355 2000-12-31 Andy Piper <andy@xemacs.org>
8357 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
8358 when widget gets unmapped.
8360 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
8361 function. Make sure widgets losing focus don't just drop it.
8362 (handle_focus_event_1): record the widget with focus.
8364 2000-12-31 Andy Piper <andy@xemacs.org>
8366 * window.c (allocate_window): use
8367 make_image_instance_cache_hash_table.
8368 (make_dummy_parent): ditto.
8369 (Fset_window_configuration): ditto.
8371 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
8373 * glyphs.c (process_image_string_instantiator): use
8375 (get_image_instantiator_governing_domain): ditto.
8376 (normalize_image_instantiator): ditto.
8377 (instantiate_image_instantiator): ditto.
8378 (make_image_instance_1): ditto.
8379 (image_instantiate): ditto. Key on glyph *and* instantiator type.
8380 (instantiator_eq_equal): new function for use with instance hash
8382 (instantiator_eq_hash): ditto.
8383 (make_image_instance_cache_hash_table): create a suitable hash
8384 table for storing image instances.
8386 * elhash.h (hash_table_weakness): new internal weakness type
8387 HASH_TABLE_KEY_CAR_VALUE_WEAK.
8388 declare new functions.
8390 * elhash.c (finish_marking_weak_hash_tables): introduce yet
8391 another weakness type for glyphs.
8392 (make_standard_lisp_hash_table): new function split out from
8393 make_general_lisp_hash_table.
8394 (make_lisp_hash_table): call make_standard_lisp_hash_table.
8395 (hash_table_instantiate): ditto.
8396 (Fmake_hash_table): ditto.
8398 2000-12-31 Martin Buchholz <martin@xemacs.org>
8400 * XEmacs 21.2.39 is released.
8402 2000-12-29 Andy Piper <andy@xemacs.org>
8404 * menubar.c (menubar_visible_p_changed): signal the frame changed.
8406 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
8407 the frame has changed so that we pick up geometry changes such as
8410 2000-12-28 Andy Piper <andy@xemacs.org>
8412 * lastfile.c (my_ebss): make a char array so we can pad the
8413 bss. Fixes cygwin unexec.
8415 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
8417 2000-12-26 Andy Piper <andy@xemacs.org>
8419 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
8420 comments and try and be more precise about a non-/SIGIO world.
8421 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
8424 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
8425 we don't normalize to zero width or height.
8427 2000-12-24 Andy Piper <andy@xemacs.org>
8429 * Makefile.in.in (ldflags): add -mwindows when appropriate.
8431 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
8433 * s/sco5.h: SCO 5 has pty support.
8435 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
8437 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
8438 input-method-xlib.c contains whole contents of input-method-xfs.c,
8439 so we can use input-method-xlib.c's code for USE_XFONTSET
8441 * input-method-xfs.c: removed.
8443 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
8445 * file-coding.h (enum coding_category_type): reorder enumerators to
8446 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
8447 (now one greater than largest real coding_category_type enumerator).
8448 * file-coding.c (coding_category_symbol, coding_category_by_priority,
8449 coding_category_system, fcd_descriptihon_1, decode_coding_category,
8450 Fcoding_category_list, Fset_coding_priority_list,
8451 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
8452 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
8454 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
8456 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
8457 * redisplay-output.c (redisplay_output_window): Clear top of window
8458 when face is changed.
8459 * redisplay-x.c (x_redraw_exposed_window): Call
8460 redisplay_clear_top_of_window.
8461 * redisplay.h: Publish redisplay_clear_top_of_window.
8463 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
8465 * buffer.c (Fkill_buffer): Map over all devices.
8466 * window.c (window_loop): Remove UNSHOW_BUFFER code.
8467 (list_windows): New function.
8468 (list_all_windows): Ditto.
8469 (Freplace_buffer_in_windows): Use them.
8471 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
8473 * database.c (berkdb_subtype): Recognize new subtype `queue'.
8474 (Fopen_database): Use `db_create' instead of `db_open'.
8475 (syms_of_database): Initialize Qqueue.
8477 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
8479 * buffer.c (common_init_complex_vars_of_buffer): Initialize
8480 buffer_local_face_property.
8481 * buffer.h (struct buffer): New member buffer_local_face_property.
8482 * window.c (Fset_window_buffer): Mark window's face as changed
8483 when buffer has buffer local face.
8484 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
8485 * objects.c (color_after_change): Set buffer_local_face_property
8486 when locale of face specifier is buffer.
8487 * objects.c (font_after_change): Ditto.
8488 * objects.c (face_boolean_after_change): Ditto.
8489 * glyphs.c (image_after_change): Ditto.
8491 2000-12-09 Dan Holmsand <dan@eyebee.com>
8493 * nt.c (mswindows_fstat): Report file permissions, volume serial
8494 number, etc. Code adapted from FSF Emacs 20.7.
8496 2000-12-09 Dan Holmsand <dan@eyebee.com>
8498 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
8499 of stat when we don't have symbolic links, to make sure
8500 mswindows_stat is called on mswindows.
8502 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
8504 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
8506 2000-12-12 Martin Buchholz <martin@xemacs.org>
8508 * doprnt.c (emacs_doprnt_1): More printing fixes.
8509 Make printing of numbers compatible with libc and FSF Emacs.
8510 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
8511 Use the system printf to do most of the hard work of formatting,
8512 instead of doprnt_1().
8513 Calculate memory to allocate for format string.
8514 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
8515 (doprnt_1): Cleaner code and documentation.
8517 2000-12-01 Jerry James <james@eecs.ukans.edu>
8519 * Makefile.in.in: Use the loop variable to install headers.
8521 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8523 * window.c (Fsplit_window): Don't invalidate face cache.
8525 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8527 * minibuf.c (Fall_completions): Undo the previous change
8528 which removed checking elements start with space.
8530 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
8532 * mule-canna.c: Didier suppression.
8534 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
8536 * mule-canna.c: rename static unsigned char buf[] to key_buffer
8537 (warning suppression). Add English comment translations.
8539 2000-12-05 Martin Buchholz <martin@xemacs.org>
8541 * unexelfsgi.c (unexec): Better test for mmap failure.
8543 2000-12-05 Martin Buchholz <martin@xemacs.org>
8545 * XEmacs 21.2.38 is released.
8547 2000-12-05 Martin Buchholz <martin@xemacs.org>
8549 * redisplay.c (bar-cursor): Make a user variable.
8551 * symsinit.h: Add init_postgresql_from_environment.
8553 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8555 * regex.c: Convert to clean C.
8557 2000-12-05 Dan Holmsand <dan@eyebee.com>
8560 Don't #include sysfile.h. Revert to duplicating PATH_MAX
8562 (sys_readlink): renamed to system_readlink to avoid conflict with
8563 the other sys_readlink.
8565 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
8567 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
8569 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
8571 * postgresql.c (init_postgresql_from_environment): new function.
8572 (vars_of_postgresql): Move code initializing Lisp variables out and
8573 into init_postgresql_from_environment.
8574 emacs.c (main_1): Call init_postgresql_from_environment if and only
8575 if running a dumped XEmacs.
8577 2000-08-31 Dan Holmsand <dan@eyebee.com>
8579 * buffer.c: Make find-file-compare-truenames default to true on
8582 * realpath.c (win32_abs_start):
8584 (win32_readlink): New functions.
8585 (xrealpath): Return really real filenames on windows.
8587 * fileio.c (Ffile_truename): Make file-truename work on windows.
8589 2000-11-29 Didier Verna <didier@xemacs.org>
8591 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
8592 * faces.c (update_face_cachel_data): use it.
8593 * faces.c (add_face_cachel): use it. Complete background pixmap
8594 frobbing in face cache if `update_face_cachel_data' has not done so.
8596 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
8598 * search.c (string_match_1): Don't set last_thing_searched
8601 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
8603 * buffer.c: Include casetab.h
8604 (common_init_complex_vars_of_buffer): Use new case-table object.
8605 * buffer.h: Include casetab.h
8606 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
8607 (DOWNCASE_TABLE_OF): Ditto.
8608 * bufslots.h: Remove char-tables and add case-table.
8609 * casetab.c: Include casetab.h
8610 (CASE_TABLE_P): Removed.
8611 (mark_case_table): New function.
8612 (allocate_case_table): New function.
8613 (Fcase_table_p): Use new case-table.
8614 (case_table_char): New function.
8615 (Fget_case_table): Ditto.
8616 (Fput_case_table): Ditto.
8617 (Fput_case_table_pair): Ditto.
8618 (Fcopy_case_table): Ditto.
8619 (Fcurrent_case_table): Return case-table.
8620 (Fstandard_case_table): Return case-table.
8621 (Fset_case_table): Fix doc-string.
8622 (set_case_table): Use case-table
8623 (syms_of_casetab): DEFSUBR new functions.
8624 (complex_vars_of_casetab): Set up standard case-table.
8625 * casetab.h: New file.
8626 * editfns.c: Include casetab.h
8627 (Fcompare_buffer_substrings): Use case-table.
8628 * inline.c: Include casetab.h
8629 * lisp.h: Remove bogus extern.
8630 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
8631 * search.c: Include casetab.h
8632 (TRANSLATE_ASCII): Removed.
8633 (TRANSLATE): Unconditionally translate character.
8634 (looking_at_1): Use case-table.
8635 (string_match_1): Ditto.
8636 (fast_string_match): Ditto.
8637 (search_command): Ditto.
8638 (search_buffer): Separate boyer_moore. Check whether
8639 boyer_moore is possible.
8640 (simple_search): New function.
8641 (boyer_moore): Separated from search_buffer. Translate char.
8643 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
8645 * regex.c (RE_TR_ASCII): Removed.
8646 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
8647 (PATFETCH): Call PATFETCH_RAW.
8648 (PATFETCH_RAW): Fetch Emchar.
8649 (PATUNFETCH): Decrement charptr.
8650 (GET_BUFFER_SPACE): Rename b to buf_end.
8652 (BUF_PUSH_2): Ditto.
8653 (BUF_PUSH_3): Ditto.
8654 (EXTEND_BUFFER): Ditto.
8655 (SET_LIST_BIT): Ditto.
8656 (regex_compile): Ditto. Translate non ASCII char.
8657 (compile_range): Ditto.
8658 (re_search_2): Ditto.
8659 (re_match_2_internal): Compare Emchar.
8660 (bcmp_translate): Ditto.
8662 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
8664 * lisp.h (basic char/int typedefs): comment improvement.
8666 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
8668 * emacs.c (main_1): unconditional pdump unstomping; don't save and
8669 unstomp inhibit_site_lisp. Improve comments.
8671 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
8673 * mule-charset.c (Fcharset_property): improve type checking, comments.
8675 2000-11-28 Andy Piper <andy@xemacs.org>
8677 * redisplay-output.c (redisplay_output_subwindow): make sure we do
8678 clipped display for windows in the gutter also.
8679 (redisplay_display_boxes_in_window_p): change semantics of return
8680 codes to be more intuitive.
8682 * gutter.h: declare display_boxes_in_gutter_p.
8684 * gutter.c (display_boxes_in_gutter_p): new function for
8687 2000-11-22 Andy Piper <andy@xemacs.org>
8689 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
8692 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
8694 * callproc.c (Fold_call_process_internal):
8695 * gpm.c (Freceive_gpm_event):
8696 (tty_get_foreign_selection): Might be just warning supression.
8697 * fileio.c (Fwrite_region_internal):
8698 (Fset_visited_file_modtime):
8699 * keymap.c (event_matches_key_specifier_p):
8700 Initialize GCPROed variable.
8702 * menubar-x.c (command_builder_find_menu_accelerator):
8703 Initialize before use.
8705 2000-11-23 Andy Piper <andy@xemacs.org>
8707 * unexcw.c (unexec): make the resulting executable executable.
8709 2000-11-21 Martin Buchholz <martin@xemacs.org>
8711 * doc.c (get_doc_string):
8712 Use size_t, not int, for result of XSTRING_LENGTH.
8714 * cmds.c (Fdelete_char):
8715 * cmds.c (Fpoint_at_eol):
8716 * cmds.c (Fself_insert_command):
8717 Use EMACS_INT, not int, for result of XINT.
8718 Someday, someone will want to insert more than 2**31 identical characters.
8720 * cmds.c (Fdelete_char):
8721 * cmds.c (Fdelete_backward_char):
8722 * syntax.c (Fforward_word):
8723 * syntax.c (Fforward_comment):
8724 Make COUNT argument optional, for consistency with forward-char et al.
8726 2000-11-22 Martin Buchholz <martin@xemacs.org>
8729 * print.c (long_to_string):
8730 Return a useful value: the pointer at end of data written.
8733 Use `static const char * const' for constant strings.
8734 (union printf_arg): Delete `i', `ui' members.
8737 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
8738 Do all printf-ing via the `l' specifier.
8739 Use EMACS_INT instead of int.
8742 2000-11-20 Didier Verna <didier@xemacs.org>
8744 * faces.c (update_face_cachel_data): don't frob the background
8745 pixmap when the window is being created. The face is needed but
8748 2000-11-20 Andy Piper <andy@xemacs.org>
8750 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
8751 messing with a debug environment.
8753 2000-11-20 Martin Buchholz <martin@xemacs.org>
8755 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
8757 2000-11-20 Martin Buchholz <martin@xemacs.org>
8759 * casetab.c (Fcase_table_p): Fix compile error and crash.
8761 2000-11-18 Philip Aston <philipa@mail.com>
8763 * s/cygwin32.h: Cygwin has SVR4-like pty support.
8765 2000-11-18 Martin Buchholz <martin@xemacs.org>
8767 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
8768 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
8770 2000-11-17 Martin Buchholz <martin@xemacs.org>
8772 * config.h.in: Define HAVE_ELF_H if elf.h exists.
8773 * unexelf.c: Use HAVE_ELF_H.
8774 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
8775 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
8776 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
8777 Greg Harrington <greg_harrington@hotmail.com> provided a machine
8779 So this is an unexelfsgi.c from a different line of development.
8781 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
8783 * regex.c (RE_TR_ASCII): New function.
8784 (RE_TRANSLATE): Call it.
8786 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
8788 * buffer.h (TRT_TABLE_OF): Remove assert.
8789 (IN_TRT_TABLE_DOMAIN): Removed.
8791 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
8793 * free-hook.c (log_gcpro):
8794 (show_gcprohist): Add support for GCPRO5.
8796 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
8798 * emacs.c (main_1): Improve -sd error message when --pdump=no.
8800 2000-11-16 Olivier Galibert <galibert@xemacs.org>
8802 * symeval.h: Declare flush_all_buffer_local_cache.
8804 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
8805 (flush_buffer_local_cache): Added.
8806 (flush_all_buffer_local_cache): Added.
8808 * lrecord.h: Remove unused XD_LO_RESET_NIL.
8810 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
8811 (pdump_dump_data): Ditto.
8812 (pdump_reloc_one): Ditto.
8813 (pdump): Remove unused pdump_qnil. Flush buffer local caches
8817 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
8819 * buffer.c: Remove if 0'ed entry.
8820 * buffer.h: Rewrite TRT to use char-table.
8821 * bufslots.h: Remove mirror tables.
8822 * casetab.c: Remove mirror tables.
8823 (CASE_TABLE_P): New macro.
8824 (Fcase_table_p): Element of a case table is string or char-table.
8825 (make_mirror_trt_table): Removed.
8826 (set_case_table): Setup char-table from strings for backward
8828 * dired.c (Fdirectory_files):
8829 * dired-msw.c: (mswindows_get_files):
8830 * lisp.h: Change prototype of re_pattern_buffer.
8831 * regex.c: (RE_TRANSLATE): New macro.
8832 (TRANSLATE_P): Ditto.
8833 Change translate to type RE_TRANSLATE_TYPE.
8834 * regex.h: Define RE_TRANSLATE_TYPE
8835 * search.c (TRANSLATE): New macro.
8836 (TRANSLATE_ASCII): New macro.
8837 Translate table is changed to Lisp_Object.
8838 (signal_failure): Inhibit return.
8840 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
8847 Do UNGCPRO before return.
8849 2000-11-14 Martin Buchholz <martin@xemacs.org>
8851 * XEmacs 21.2.37 is released.
8853 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
8855 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
8856 Add comments about discarded return value.
8858 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
8861 * event-stream.c: Fix comments. Remove some #if 0'ed part.
8863 2000-10-27 Andy Piper <andy@xemacs.org>
8865 * gutter.c (Fset_default_gutter_position): default left and right
8867 (calculate_gutter_size): calculate resonable heuristic for left
8868 and right gutter sizes.
8869 (specifier_vars_of_gutter): change left and right gutter sizes to
8871 (calculate_gutter_size_from_display_lines): new function.
8872 (output_gutter): check for resizing on left and right gutters.
8873 (clear_gutter): don't special case top and left gutters.
8874 (specifier_vars_of_gutter): use new signature for
8875 set_specifier_caching.
8877 * glyphs-x.c (x_redisplay_widget): spelling fix.
8878 * glyphs.c (specifier_vars_of_glyphs):
8879 * menubar.c (specifier_vars_of_menubar):
8880 * redisplay.c (specifier_vars_of_redisplay):
8881 * toolbar.c (specifier_vars_of_toolbar):
8882 * window.c (specifier_vars_of_window):
8883 * scrollbar.c (specifier_vars_of_scrollbar):
8884 (complex_vars_of_scrollbar): use new signature for
8885 set_specifier_caching.
8887 * specifier.c (set_specifier_caching): include recompute flag.
8888 (recompute_one_cached_specifier_in_window): always recompute if
8890 (recompute_one_cached_specifier_in_frame): ditto.
8892 * specifier.h (struct specifier_caching): add recompute flag.
8894 2000-10-24 Andy Piper <andy@xemacs.org>
8896 * unexcw.c (copy_executable_and_dump_data_section): add new
8897 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
8900 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8902 * console-x.h (x_device): New member modifier_release_time.
8903 * event-Xt.c (x_handle_sticky_modifiers):
8904 Bound interval modifier keys are sticky.
8905 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
8906 * events.h: extern it.
8908 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8910 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
8912 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8914 * event-stream.c (execute_command_event): Preserve current_events
8915 and the like when event is misc-user-event.
8916 Inhibit quit during the call to maybe_echo_keys.
8918 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
8920 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
8921 symlink when buffer is killed.
8922 (inhibit_clash_detection): New variable.
8924 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8926 * console.c (Fset_input_method): Trigger redisplay on tty.
8928 2000-11-07 Martin Buchholz <martin@xemacs.org>
8930 * process.c (Fprocess_status): Revert to previous behavior:
8931 (process-status "nosuchprocess") ==> nil
8933 2000-11-06 Martin Buchholz <martin@xemacs.org>
8935 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
8936 Work around another GCC 2.95.2 optimizer bug.
8938 2000-11-02 Martin Buchholz <martin@xemacs.org>
8940 * process.c (Fget_process): Use LIST_LOOP_2.
8941 (kill_buffer_processes): Use LIST_LOOP_2.
8943 * minibuf.c (Fall_completions):
8944 Delete old non-functional code for FSF fourth argument.
8946 * frame.c (frame_matches_frame_spec):
8947 Renamed from `frame_matches_frametype'. Update all callers.
8948 (device_matches_device_spec):
8949 Renamed from 'device_matches_console_spec'. Update all callers.
8951 * doc.c (Fsubstitute_command_keys):
8952 Remove buffer overflow crash. Small code cleanups.
8954 * casetab.c (check_case_table): Simpler code.
8956 * window.c (Freplace_buffer_in_windows):
8957 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
8958 (and similar implementation) as Fdelete_windows_on.
8961 * alloc.c (Fmake_list):
8962 * alloc.c (make_vector):
8963 * alloc.c (Fmake_vector):
8964 * alloc.c (make_bit_vector):
8965 * alloc.c (Fmake_bit_vector):
8966 * alloc.c (Fbit_vector):
8967 * alloc.c (Fmake_string):
8968 * alloc.c (Fpurecopy):
8969 * alloc.c (Fmemory_limit):
8971 * buffer.c (Fget_buffer):
8972 * buffer.c (Fkill_buffer):
8973 * buffer.c (complex_vars_of_buffer):
8974 * bytecode.c (Fcompiled_function_stack_depth):
8975 * callint.c (Fprefix_numeric_value):
8977 * event-stream.c (Fread_key_sequence):
8979 * casetab.c (Fcase_table_p):
8980 * casetab.c (check_case_table):
8981 * casetab.c (Fset_case_table):
8982 * casetab.c (Fset_standard_case_table):
8984 * chartab.c (Fchar_table_type):
8985 * chartab.c (Freset_char_table):
8986 * chartab.c (Fget_char_table):
8987 * chartab.c (Fget_range_char_table):
8988 * chartab.c (Fput_char_table):
8989 * chartab.c (Fmap_char_table):
8990 * chartab.c (Fcategory_table_p):
8991 * chartab.c (Fcheck_category_at):
8992 * chartab.c (Fchar_in_category_p):
8993 * chartab.c (Fcategory_table):
8994 * chartab.c (Fcopy_category_table):
8995 * chartab.c (Fset_category_table):
8996 * chartab.c (Fcategory_designator_p):
8997 * chartab.c (Fcategory_table_value_p):
8998 * cmds.c (Fdelete_char):
8999 * cmds.c (Fdelete_backward_char):
9000 * cmds.c (Fself_insert_command):
9001 * cmds.c (Fself_insert_internal):
9002 * console.c (Fvalid_console_type_p):
9003 * console.c (Fcdfw_console):
9004 * console.c (Fconsole_type):
9005 * console.c (Fconsole_name):
9006 * console.c (Fconsole_device_list):
9007 * console.c (Fconsole_on_window_system_p):
9011 * data.c (Fsubr_interactive):
9012 * data.c (Fchar_to_int):
9013 * data.c (Fint_to_char):
9016 * data.c (Fnumber_to_string):
9017 * data.c (Fstring_to_number):
9019 * database.c (mark_database):
9020 * database.c (finalize_database):
9021 * database.c (Fdatabase_live_p):
9022 * database.c (Fdatabasep):
9023 * device-x.c (Fx_get_resource):
9024 * device.c (Fdfw_device):
9026 * dired.c (Ffile_name_completion):
9027 * dired.c (Ffile_name_all_completions):
9028 * dired.c (Fuser_name_completion):
9029 * dired.c (Fuser_name_completion_1):
9030 * dired.c (Fuser_name_all_completions):
9031 * doc.c (Fdocumentation):
9032 * doc.c (Fdocumentation_property):
9033 * doc.c (Fsubstitute_command_keys):
9035 * editfns.c (Fchar_to_string):
9036 * editfns.c (Fstring_to_char):
9037 * editfns.c (Ftemp_directory):
9038 * editfns.c (Finsert_char):
9039 * editfns.c (Fbuffer_substring_no_properties):
9040 * editfns.c (Fnarrow_to_region):
9041 * editfns.c (Fchar_equal):
9042 * editfns.c (Fchar_Equal):
9043 * editfns.c (Ftranspose_regions):
9044 * emacs.c (Fdump_emacs):
9046 * eval.c (Fcommand_execute):
9047 * eval.c (Fautoload):
9048 * eval.c (Fbacktrace):
9049 * eval.c (Fbacktrace_frame):
9051 * events.c (Fcopy_event):
9052 * events.c (Fcharacter_to_event):
9053 * events.c (Fevent_button):
9054 * events.c (Fevent_process):
9056 * extents.c (Fnext_extent_change):
9057 * extents.c (Fextent_property):
9059 * faces.c (Fmake_face):
9061 * file-coding.c (Fencode_shift_jis_char):
9062 * file-coding.c (Fencode_big5_char):
9063 * fileio.c (Ffile_name_directory):
9064 * fileio.c (Ffile_name_nondirectory):
9065 * fileio.c (Ffile_name_as_directory):
9066 * fileio.c (Fdirectory_file_name):
9067 * fileio.c (Ffile_truename):
9068 * fileio.c (Fsubstitute_in_file_name):
9069 * fileio.c (Ffile_modes):
9070 * fileio.c (Fset_file_modes):
9071 * fileio.c (Fset_default_file_modes):
9072 * fileio.c (Fverify_visited_file_modtime):
9073 * floatfns.c (Facos):
9074 * floatfns.c (Fasin):
9075 * floatfns.c (Fatan):
9076 * floatfns.c (Fcos):
9077 * floatfns.c (Fsin):
9078 * floatfns.c (Ftan):
9079 * floatfns.c (Fbessel_j0):
9080 * floatfns.c (Fbessel_j1):
9081 * floatfns.c (Fbessel_jn):
9082 * floatfns.c (Fbessel_y0):
9083 * floatfns.c (Fbessel_y1):
9084 * floatfns.c (Fbessel_yn):
9085 * floatfns.c (Ferf):
9086 * floatfns.c (Ferfc):
9087 * floatfns.c (Flog_gamma):
9088 * floatfns.c (Fexp):
9089 * floatfns.c (Fexpt):
9090 * floatfns.c (Flog):
9091 * floatfns.c (Flog10):
9092 * floatfns.c (Fsqrt):
9093 * floatfns.c (Fcube_root):
9094 * floatfns.c (Facosh):
9095 * floatfns.c (Fasinh):
9096 * floatfns.c (Fatanh):
9097 * floatfns.c (Fcosh):
9098 * floatfns.c (Fsinh):
9099 * floatfns.c (Ftanh):
9100 * floatfns.c (Fabs):
9101 * floatfns.c (Ffloat):
9102 * floatfns.c (Flogb):
9103 * floatfns.c (Fceiling):
9104 * floatfns.c (Ffloor):
9105 * floatfns.c (Fround):
9106 * floatfns.c (Ftruncate):
9107 * floatfns.c (Ffceiling):
9108 * floatfns.c (Fffloor):
9109 * floatfns.c (Ffround):
9110 * floatfns.c (Fftruncate):
9111 * fns.c (Fstring_equal):
9112 * fns.c (Fstring_lessp):
9117 * fns.c (Fsubstring):
9119 * fns.c (Fold_assoc):
9120 * fns.c (assoc_no_quit):
9122 * fns.c (Fold_assq):
9123 * fns.c (assq_no_quit):
9125 * fns.c (Fold_rassoc):
9127 * fns.c (Fold_rassq):
9128 * fns.c (rassq_no_quit):
9129 * fns.c (Fremassoc):
9130 * fns.c (remassoc_no_quit):
9132 * fns.c (remassq_no_quit):
9133 * fns.c (Fremrassoc):
9134 * fns.c (Fremrassq):
9135 * fns.c (remrassq_no_quit):
9137 * fns.c (Fplist_get):
9138 * fns.c (Fplist_put):
9139 * fns.c (Fplist_remprop):
9140 * fns.c (Fplist_member):
9141 * fns.c (Flax_plist_get):
9142 * fns.c (Flax_plist_put):
9143 * fns.c (Flax_plist_remprop):
9144 * fns.c (Flax_plist_member):
9146 * fns.c (Fold_equal):
9148 * fns.c (Fbase64_encode_region):
9149 * fns.c (Fbase64_encode_string):
9150 * fns.c (Fbase64_decode_region):
9152 * frame.c (frame_matches_frame_spec):
9153 * frame.c (device_matches_device_spec):
9154 * frame.c (next_frame):
9155 * frame.c (previous_frame):
9156 * frame.c (Fnext_frame):
9157 * frame.c (Fprevious_frame):
9158 * frame.c (Fframe_property):
9159 * frame.c (Fset_frame_height):
9160 * frame.c (Fset_frame_size):
9164 * glyphs.c (decode_error_behavior_flag):
9165 * glyphs.c (Fmake_image_instance):
9166 * indent.c (Findent_to):
9167 * intl.c (Fignore_defer_gettext):
9168 * keymap.c (Fkeymapp):
9169 * keymap.c (Flookup_key):
9171 * lread.c (Fload_internal):
9172 * lread.c (Feval_buffer):
9173 * lread.c (Feval_region):
9174 * macros.c (Fexecute_kbd_macro):
9175 * marker.c (set_marker_internal):
9176 * marker.c (Fset_marker):
9177 * marker.c (set_marker_restricted):
9178 * marker.c (Fcopy_marker):
9179 * marker.c (noseeum_copy_marker):
9181 * menubar.c (Fpopup_menu):
9183 * mule-charset.c (Fcharset_name):
9184 * mule-charset.c (Fchar_charset):
9185 * mule-charset.c (Fchar_octet):
9186 * mule-charset.c (Fsplit_char):
9187 * mule-wnnfns.c (Fwnn_open):
9188 * mule-wnnfns.c (Fwnn_dict_comment):
9189 * mule-wnnfns.c (Fwnn_quit_henkan):
9190 * mule-wnnfns.c (Fwnn_word_toroku):
9191 * mule-wnnfns.c (Fwnn_word_sakujo):
9192 * mule-wnnfns.c (Fwnn_word_use):
9193 * mule-wnnfns.c (Fwnn_hindo_set):
9195 * objects.c (Fmake_color_instance):
9196 * objects.c (Fmake_font_instance):
9197 * print.c (Fwrite_char):
9199 * process.c (mark_process):
9200 * process.c (print_process):
9201 * process.c (get_process_from_usid):
9202 * process.c (Fprocessp):
9203 * process.c (Fprocess_live_p):
9204 * process.c (Fget_process):
9205 * process.c (Fget_buffer_process):
9206 * process.c (get_process):
9207 * process.c (Fprocess_id):
9208 * process.c (Fprocess_name):
9209 * process.c (Fprocess_command):
9210 * process.c (init_process_io_handles):
9211 * process.c (start_process_unwind):
9212 * process.c (Fstart_process_internal):
9213 * process.c (Fopen_multicast_group_internal):
9214 * process.c (Fset_process_window_size):
9215 * process.c (read_process_output):
9216 * process.c (send_process):
9217 * process.c (Fprocess_tty_name):
9218 * process.c (Fset_process_buffer):
9219 * process.c (Fprocess_buffer):
9220 * process.c (Fprocess_mark):
9221 * process.c (set_process_filter):
9222 * process.c (Fset_process_filter):
9223 * process.c (Fprocess_filter):
9224 * process.c (Fprocess_send_region):
9225 * process.c (Fprocess_send_string):
9226 * process.c (exec_sentinel):
9227 * process.c (Fset_process_sentinel):
9228 * process.c (Fprocess_sentinel):
9229 * process.c (status_notify):
9230 * process.c (Fprocess_status):
9231 * process.c (Fprocess_exit_status):
9232 * process.c (process_send_signal):
9233 * process.c (Fprocess_send_eof):
9234 * process.c (deactivate_process):
9235 * process.c (remove_process):
9236 * process.c (Fdelete_process):
9237 * process.c (kill_buffer_processes):
9238 * process.c (Fprocess_kill_without_query):
9239 * process.c (Fprocess_kill_without_query_p):
9241 * rangetab.c (Fget_range_table):
9242 * rangetab.c (Fput_range_table):
9243 * rangetab.c (Fremove_range_table):
9244 * rangetab.c (Fclear_range_table):
9246 * search.c (Fskip_chars_forward):
9247 * search.c (Fskip_chars_backward):
9248 * search.c (Fskip_syntax_forward):
9249 * search.c (Fskip_syntax_backward):
9250 * search.c (search_command):
9251 * search.c (Freplace_match):
9252 * search.c (Fregexp_quote):
9253 * select.c (Fown_selection_internal):
9254 * select.c (Fselection_owner_p):
9255 * select.c (Fselection_exists_p):
9256 * select.c (Fget_selection_internal):
9259 * symbols.c (Fintern):
9260 * symbols.c (Fintern_soft):
9261 * symbols.c (Funintern):
9262 * symbols.c (Fapropos_internal):
9263 * symbols.c (Fset_default):
9265 * syntax.c (Fsyntax_table_p):
9266 * syntax.c (Fcopy_syntax_table):
9267 * syntax.c (Fset_syntax_table):
9268 * syntax.c (Fchar_syntax):
9269 * syntax.c (syntax_match):
9270 * syntax.c (Fmatching_paren):
9271 * syntax.c (Fforward_word):
9272 * syntax.c (scan_lists):
9273 * syntax.c (Fscan_lists):
9274 * syntax.c (Fscan_sexps):
9275 * syntax.c (Fparse_partial_sexp):
9276 * toolbar.c (Fcheck_toolbar_button_syntax):
9279 * window.c (Fwindowp):
9280 * window.c (Fwindow_live_p):
9281 * window.c (Fwindow_point):
9282 * window.c (Fdelete_window):
9283 * window.c (Fnext_window):
9284 * window.c (Fprevious_window):
9285 * window.c (Fother_window):
9286 * window.c (window_loop):
9287 * window.c (Fget_lru_window):
9288 * window.c (Fsplit_window):
9289 * window.c (Fenlarge_window):
9290 * window.c (Fenlarge_window_pixels):
9291 * window.c (Fshrink_window):
9292 * window.c (Fshrink_window_pixels):
9293 * window.c (change_window_height):
9294 * window.c (Fwindow_configuration_p):
9295 * window.c (Fcurrent_window_configuration):
9297 * casefiddle.c (casify_object):
9298 * casefiddle.c (Fupcase):
9299 * casefiddle.c (Fdowncase):
9300 * casefiddle.c (Fcapitalize):
9301 * casefiddle.c (Fupcase_initials):
9302 * casefiddle.c (casify_region_internal):
9303 * casefiddle.c (casify_region):
9304 * casefiddle.c (Fupcase_region):
9305 * casefiddle.c (Fdowncase_region):
9306 * casefiddle.c (Fcapitalize_region):
9307 * casefiddle.c (Fupcase_initials_region):
9308 * casefiddle.c (Fupcase_word):
9309 * casefiddle.c (Fdowncase_word):
9310 * casefiddle.c (Fcapitalize_word):
9311 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
9312 Replace 0 with '\0' when working with bytes.
9313 Replace initial "(" with "\(" in docstrings.
9315 2000-11-01 Martin Buchholz <martin@xemacs.org>
9317 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
9319 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
9321 2000-10-31 Martin Buchholz <martin@xemacs.org>
9323 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
9325 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
9327 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
9330 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
9332 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
9333 (inhibit_auto_save_session): New variable.
9334 (vars_of_fileio): Declare and initialize them.
9335 * fileio.c (Fdo_auto_save): Don't create session file if
9336 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
9338 2000-10-31 Martin Buchholz <martin@xemacs.org>
9340 * sgiplay.c (play_internal): C++ compilability.
9341 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
9342 * callproc.c (Fold_call_process_internal):
9343 Remove unused vars `env', `first'.
9344 * scrollbar.c (update_scrollbar_instance):
9345 #### unused var `current_window'.
9346 * redisplay-tty.c: Put currently unused vars insert_mode_on,
9347 etc. within #ifdef NOT_YET.
9348 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
9349 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
9350 * specifier.c (specifier_instance):
9351 #### unused var `tag'.
9352 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
9354 2000-10-27 Martin Buchholz <martin@xemacs.org>
9357 * fns.c (list_sort):
9358 * fns.c (Ffillarray):
9359 * fns.c (bytecode_nconc2):
9362 * fns.c (Fmapconcat):
9363 Be pedantically 64-bit correct. For the time when someone will
9364 want to have a list with length > 2**32.
9366 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
9367 Work around MIPSpro compiler bug.
9369 * process-unix.c (unix_kill_child_process): Add snarky comment.
9370 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
9372 * config.h.in: Oops, _getpt ==> _getpty
9374 2000-10-26 Martin Buchholz <martin@xemacs.org>
9378 Use void*, not char*, as return type of alloca().
9380 * alloc.c (free_marker): Side effect inside assert expression!
9382 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
9384 * mule-charset.c (Fset_charset_ccl_program): To check
9385 if the given ccl program is valid, use setup_ccl_program()
9386 instead of CHECK_VECTOR().
9387 (Fmake_charset): Likewise.
9389 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
9391 * faces.c (get_extent_fragment_face_cache_index):
9392 Fix cachel.merged_faces memory leak.
9394 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
9396 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
9397 Reset MSB of octets obtained by DECODE_SJIS
9398 because of the incompatibility with Emacs.
9399 (ccl_driver)<CCL_ENCODE_SJIS>:
9400 Set MSB of octets before passing them to
9401 ENCODE_SJIS because of the incompatibility
9404 2000-10-18 Daiki Ueno <ueno@unixuser.org>
9406 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
9407 (DECLARE_LRECORD): Undo the last change.
9408 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
9410 2000-10-17 Daiki Ueno <ueno@unixuser.org>
9412 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
9413 the implementation to lrecord_implementations_table.
9415 2000-10-14 Daiki Ueno <ueno@unixuser.org>
9417 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
9418 initial value of `lrecord_type_##c_name' and
9419 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
9420 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
9421 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
9422 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
9423 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
9425 2000-10-17 Martin Buchholz <martin@xemacs.org>
9427 * miscplay.c (sndcnv8S_2mono):
9428 (sndcnv2monounsigned):
9429 (sndcnvULaw_2linear):
9431 Remove implementation-defined behavior.
9433 2000-10-12 Martin Buchholz <martin@xemacs.org>
9435 * input-method-xlib.c: Warning suppression.
9437 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
9439 * mule-ccl.c: Sync up with Emacs 21.0.90.
9440 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
9442 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
9444 (ccl_driver[WriteMultibyteChar2]): Bug fix.
9445 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
9446 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
9447 leading char belongs to official 2-dimensional charset.
9448 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
9449 write the given character as is. Otherwise,
9450 if it is a multibyte char, convert it by
9451 non_ascii_set_charptr_emchar, then write it.
9452 (CCL_WRITE_STRING): Likewise.
9453 (ccl_get_compiled_code): New function.
9454 (setup_ccl_program): When ccl_prog is invalid,
9456 (Fregister_code_conversion_map): New function.
9457 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
9459 * mule-ccl.h: Sync up with Emacs 21.0.90.
9460 (Fregister_ccl_program): export it.
9462 * redisplay-msw.c (separate_textual_runs):
9463 If ccl program is not valid, don't do ccl conversion.
9465 * redisplay-x.c (separate_textual_runs): Ditto.
9467 * file-coding.c (Fmake_coding_system):
9468 When type is ccl and value is vector, register it
9469 with a proper symbol. And checks whether the
9470 given ccl program is valid.
9471 (mule_decode): When calling ccl_driver, if src indicates
9472 NULL pointer, set an empty string instead.
9473 (mule_encode): Likewise.
9475 2000-10-11 Martin Buchholz <martin@xemacs.org>
9477 The following large batch of changes gets us back to a state of
9478 C++ compilability. Extbyte is now a char, which means that
9479 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
9481 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
9483 * sound.c (Fplay_sound): Type correctness.
9485 * select-x.c (hack_motif_clipboard_selection): Type correctness.
9486 (x_get_window_property): Type correctness.
9487 (receive_incremental_selection): unsigned char ==> Extbyte
9488 (selection_data_to_lisp_data): unsigned char ==> Extbyte
9489 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
9490 (Fx_store_cutbuffer_internal): Type correctness.
9492 * process-unix.c (try_to_initialize_subtty): Type correctness.
9494 * objects-x.c (x_print_color_instance): Type correctness.
9495 (x_print_font_instance): Type correctness.
9496 (x_list_fonts): SExtbyte ==> Extbyte.
9497 (valid_x_font_name_p): SExtbyte ==> Extbyte.
9498 (x_find_charset_font): SExtbyte ==> Extbyte.
9499 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
9500 (truename_via_XListFonts): SExtbyte ==> Extbyte.
9501 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
9504 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
9505 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
9506 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
9507 (BYTE_C0_P): Use bit ops for char-signedness safety.
9508 (BYTE_C1_P): Use bit ops for char-signedness safety.
9509 (CHARSET_BY_LEADING_BYTE):
9510 (CHARSET_BY_ATTRIBUTES):
9511 Always use inline function.
9512 Use type_checking_assert.
9515 * mule-charset.c (non_ascii_charptr_copy_char):
9516 Modify to work with both ASCII and non-ASCII characters.
9517 Improve docs and variable names.
9518 Replace over-clever fall-through switch with a simple loop.
9519 (Lstream_get_emchar_1):
9520 Replace over-clever fall-through switch with a simple loop.
9522 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9523 Warning suppression.
9525 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
9526 the return value of Lstream_getc, which could be EOF as well.
9528 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
9530 * lisp.h: Make Extbyte a char, not unsigned char, so that external
9531 APIs can be used on Extbytes without casts. Risky!
9535 * input-method-xlib.c (XIM_init_device):
9536 Use Xlib.h instead of IntrinsicP.h.
9537 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
9538 which will break in X11R7.
9539 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
9540 to call XRegisterIMInstantiateCallback with correct types.
9542 * gui-x.c (button_item_to_widget_value): Type correctness.
9544 * glyphs.c (bitmap_to_lisp_data): Type correctness.
9546 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
9547 (xbm_instantiate_1): Type correctness.
9548 (BUILD_GLYPH_INST): Type correctness.
9550 * fileio.c (Fsubstitute_in_file_name): Type correctness.
9553 (decode_coding_sjis):
9554 (decode_coding_big5):
9555 (decode_coding_ucs4):
9556 (decode_coding_utf8):
9557 (decode_coding_iso2022):
9558 (decode_coding_no_conversion):
9559 Make all decoding functions take an Extbyte * arg.
9560 (encode_coding_sjis):
9561 (encode_coding_big5):
9562 (encode_coding_ucs4):
9563 (encode_coding_utf8):
9564 (encode_coding_iso2022):
9565 (encode_coding_no_conversion):
9566 Make all encoding functions take a Bufbyte * arg.
9567 Use size_t instead of unsigned int for memory sizes.
9568 Only cast to unsigned char whenever dereferencing Extbyte *.
9570 * doc.c (unparesseuxify_doc_string): Type correctness.
9572 * console-x.c (split_up_display_spec):
9573 Rewrite without using details of internal string representation.
9574 (x_semi_canonicalize_device_connection): Type correctness.
9577 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
9578 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
9579 (HAVE_XFREE386): Removed.
9581 * buffer.h (DEC_CHARPTR): `const' correctness.
9582 (bufbyte_strcmp): New.
9583 (bufbyte_memcmp): New.
9585 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
9587 * buffer.h (XCHAR_OR_CHAR_INT):
9588 Always use inline function.
9589 Remove redundant type checking assert() - XINT will abort quite nicely.
9591 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9593 * search.c (Freplace_match): Set newtext to an empty string.
9595 2000-10-10 Martin Buchholz <martin@xemacs.org>
9597 * s/decosf1-3.h: Remove #include of stropts.h
9598 * s/ptx.h: Remove #include of stropts.h
9599 * s/usg5-4.h: Remove #include of stropts.h
9602 Use stropts.h, not sys/stropts.h.
9603 Use strtio.h, not sys/strtio.h.
9605 2000-10-04 Martin Buchholz <martin@xemacs.org>
9607 * XEmacs 21.2.36 is released.
9609 2000-09-21 Andy Piper <andy@xemacs.org>
9611 * glyphs-x.c (x_redisplay_widget): make sure non-structural
9612 changes still involve copying the widget tree.
9613 (update_widget_face): make sure a change is register in the widget
9614 tree. Call update_tab_widget_face appropriately.
9615 (update_tab_widget_face): ditto.
9616 (x_tab_control_redisplay): make sure non-structural changes still
9617 involve copying the widget tree.
9619 2000-08-31 Daiki Ueno <ueno@unixuser.org>
9621 * lread.c (locate_file): Check the path element is non-nil.
9623 2000-10-02 Martin Buchholz <martin@xemacs.org>
9625 * lisp.h: Warning suppression for SCO compilers.
9627 * redisplay-tty.c (reset_tty_modes): Fix crash.
9628 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
9630 2000-09-27 Martin Buchholz <martin@xemacs.org>
9632 Big signal/process handling overhaul. Bugs fixed:
9633 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
9634 M-x comint-kill-subjob should work for both values nil and t of
9635 process-connection-type. It was broken on most platforms.
9636 Testing on Irix and Cygwin still needed. Other plaforms tested.
9637 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
9638 * process-unix.c: Signal/Process handling overhaul.
9639 (pty_name): make 64 bytes, as `expect' does, for paranoia.
9640 (allocate_pty): Use all available modern methods of allocating
9641 ptys, falling back to old style BSD allocation as a last resort.
9642 Use allegedly more secure Unix98 pty allocation by default.
9643 (allocate_pty_the_old_fashioned_way): New. the last resort.
9644 (unix_create_process): Push ptem, ldterm, ttcompat where
9645 available. Autoconfiscate.
9646 (try_to_initialize_subtty): New.
9647 (unix_kill_child_process): Proper signal handling for ptys on most
9648 platforms, using special knowledge of AIX, BSD, etc...
9649 (unix_create_process): Always disconnect_controlling_terminal() for
9650 subprocesses, whether using ptys or not.
9651 * process.h: Remove old getpt-dependent PTY code.
9652 * process.c (Fprocess_send_signal): New, obvious generic function.
9653 (decode_signal): New.
9654 (Finterrupt_process):
9658 (Fcontinue_process):
9659 (Fsignal_process): Use decode_signal.
9660 (process_send_signal):
9661 Many docstring corrections.
9662 Allow any signal to be sent to a process object.
9663 * config.h.in: Add symbols for big signal/process overhaul.
9664 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
9665 * sysproc.h: Include process-related headers, where available:
9666 sys/stropts.h sys/strtio.h pty.h libutil.h
9674 Remove old S&M pty stuff.
9675 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
9676 * systty.h: Simplify cpp hackery, improve comments.
9677 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
9679 * editfns.c (Fformat_time_string):
9680 Be a little more paranoid with the return value of ctime.
9682 * fileio.c (check_executable):
9684 Use symbolic constants X_OK, W_OK.
9686 * console-x.c (split_up_display_spec): Fix a warning.
9688 2000-10-02 Martin Buchholz <martin@xemacs.org>
9690 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
9691 * ntproc.c (sys_spawnve): make_string ==> build_string
9692 Small clarity improvements.
9694 2000-09-30 Martin Buchholz <martin@xemacs.org>
9696 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
9698 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
9700 * config.h.in (HAVE_STRCASECMP): Remove.
9702 2000-09-29 Martin Buchholz <martin@xemacs.org>
9704 * redisplay-output.c (redisplay_output_pixmap):
9705 Cleaner and possibly more 64-bit correct code.
9707 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
9709 * dumper.c (pdump_load_finish): move restoration of
9710 `noninteractive1' to emacs.c (main_1).
9711 * emacs.c (main_1): protect LISP-visible command-line flags
9714 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
9716 * Makefile.in.in (versionclean): Use EXE_TARGET and
9717 DUMP_TARGET instead of literal program names.
9719 2000-09-20 Martin Buchholz <martin@xemacs.org>
9721 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
9723 2000-09-19 Martin Buchholz <martin@xemacs.org>
9725 * *: Spelling mega-patch
9727 2000-09-19 Martin Buchholz <martin@xemacs.org>
9729 * fns.c (bad_bad_turtle):
9730 Delete "Eek!" comment, since we fixed the bug to which it refers.
9732 2000-09-16 Martin Buchholz <martin@xemacs.org>
9734 * alloca.c: Replace REGISTER with register.
9736 2000-09-16 Daiki Ueno <ueno@unixuser.org>
9738 * file-coding.c (ucs_to_char): Use countof.
9740 2000-09-16 Martin Buchholz <martin@xemacs.org>
9742 * file-coding.c: (ucs_to_char):
9743 (complex_vars_of_file_coding):
9744 Use countof instead of sizeof.
9745 Use CHECK_NATNUM instead of CHECK_INT.
9747 * sysdep.c (strcasecmp): Remove.
9748 * device-x.c (ascii_strcasecmp): New.
9749 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
9750 Avoid using non-standard non-portable strcasecmp.
9752 2000-09-16 Martin Buchholz <martin@xemacs.org>
9754 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
9755 * font-lock.c: remove reference to emacsfns.h.
9756 * search.c: small doc improvement.
9757 * event-Xt.c: correct file names in comments.
9758 * console-x.h Correct file names in comments.
9759 * frame.c: Correct file names in comments.
9760 * event-stream.c: remove Energize from comments.
9762 2000-09-15 Martin Buchholz <martin@xemacs.org>
9764 * symeval.h (DEFERROR_STANDARD):
9767 (DEFSYMBOL_NO_DUMP):
9768 (DEFSYMBOL_MULTIWORD_PREDICATE):
9769 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
9771 The construct &##name is not sensible C.
9772 Fixes compilation errors with Unixware native compiler.
9774 2000-09-14 Martin Buchholz <martin@xemacs.org>
9776 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
9777 (next_frame_internal): Removed. We now just have next_frame.
9779 Write a simpler and cleaner one-pass algorithm.
9780 Remove called_from_delete_device arg and #ifdefed-out code.
9782 Renamed from prev_frame. Update callers.
9783 Cleaned up to have an analogous implementation to next_frame.
9784 (other_visible_frames_internal): Remove the
9785 called_from_delete_device bogus arg, and hence, remove this
9786 function. Just use other_visible_frames().
9788 * window.c (Fnext_window):
9790 Since next_frame() is guaranteed to return a frame, remove check
9791 for nil inserted in previous patch.
9794 Make code look more like Fnext_window.
9796 Respect the `console' arg when iterating through windows.
9797 Fixes bug: (get-buffer-window buffer t device) not respecting
9799 This function needs more work, as others have pointed out.
9801 * frame.h: Rename prev_frame to previous_frame.
9802 device_matches_console_spec no longer takes a `frame' arg.
9807 Use EMACS_BLOCK_SIGNAL instead of sigblock.
9808 From "Golubev I. N." <gin@mo.msk.ru>.
9810 * make-src-depend: Fix typo.
9812 2000-09-13 Martin Buchholz <martin@xemacs.org>
9814 * window.c (Fnext_window):
9815 next_frame() might return nil, not a frame.
9817 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
9819 * frame.c (next_frame_internal):
9820 We've passed a frame if we've passed its device.
9822 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
9823 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
9825 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
9827 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
9828 Allow option to suppress accelerators in menu/dialog items.
9829 (populate_or_checksum_helper): Pass dialog title through above.
9831 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
9833 * event-msw.c (mswindows_key_to_emacs_keysym):
9834 Add "pause" key, fix "menu" key.
9836 2000-09-09 Martin Buchholz <martin@xemacs.org>
9838 * eval.c (reinit_vars_of_eval):
9839 Increase max_lisp_eval_depth to 1000,
9840 required for thai-xtis.el to byte-compile under some circumstances.
9842 2000-09-04 Martin Buchholz <martin@xemacs.org>
9844 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
9847 2000-09-01 Martin Buchholz <martin@xemacs.org>
9849 * make-src-depend: Make the generated Makefiles smaller.
9851 * s/hpux.h (SETUP_SLAVE_PTY):
9852 Provide a %d in the format string for the errno argument.
9854 * editfns.c (Ftemp_directory):
9856 Avoid buffer overrun on very long file name.
9858 * input-method-xlib.c (XIM_init_device):
9859 6th parameter of XRegisterIMInstantiateCallback has different
9860 pointer types on different OSes, so simply cast to (void *).
9862 * unexhp9k800.c: Warning fixes. Fiddly changes.
9864 * sysdll.c (dll_open):
9865 shl_load will hang hard if passed a NULL filename.
9866 Simply return NULL for compatibility with dlopen.
9867 * sysdll.c: Conform to XEmacs coding standards.
9869 * sysdep.c (get_pty_max_bytes):
9870 Support pty input lines longer than 512 bytes on HP-UX 10.20.
9872 2000-08-31 Martin Buchholz <martin@xemacs.org>
9874 * tooltalk.c: Add #include <syssignal.h>
9876 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
9878 * s/hpux.h: Don't use undefined function sigunblock().
9880 2000-08-31 Martin Buchholz <martin@xemacs.org>
9882 * config.h.in: Add HAVE_BALLOON_HELP.
9883 * emacs.c: Use HAVE_BALLOON_HELP.
9884 * Makefile.in.in (x_objs):
9885 Make Balloon Help conditional on finding shape.h.
9887 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
9889 * syntax.c (regex_emacs_buffer_p): New variable.
9890 * syntax.h (regex_emacs_buffer_p): extern.
9891 * search.c (looking_at_1):
9893 (fast_string_match):
9894 (search_buffer): Set regex_emacs_buffer_p.
9895 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
9896 when before_dot, at_dot, after_dot.
9898 2000-08-23 Andy Piper <andy@xemacs.org>
9900 * gui-x.c (popup_selection_callback): Only set action_occurred
9901 when we really have an image instance.
9902 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
9904 2000-08-23 Andy Piper <andy@xemacs.org>
9906 * gui-msw.c (mswindows_handle_gui_wm_command): set
9908 * gui-x.c (popup_selection_callback): ditto.
9910 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
9911 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
9912 (struct Lisp_Image_Instance): add action_occurred flag.
9914 * glyphs.c (redisplay_subwindow): use action_occurred flag.
9915 (image_instance_changed): ditto.
9916 (reset_frame_subwindow_instance_cache): only unmap windows - do
9917 not remove them from the cache also.
9919 * glyphs-widget.c (tab_control_update): better debug.
9920 (progress_gauge_update): ditto.
9921 (layout_update): ditto.
9922 (layout_instantiate): ditto.
9923 (tab_control_order_only_changed): cope with null pending items.
9925 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
9926 debug. Force selection of an item when an action occurred. Cope
9927 with null pending_items.
9928 (mswindows_progress_gauge_redisplay): better debug.
9929 * glyphs-x.c (x_tab_control_redisplay): ditto.
9931 * redisplay.c (redisplay_frame): reset the frame cache if the
9934 * window.c (Fset_window_configuration): potentially re-enable
9936 (window_unmap_subwindows): need to finalize instances here since
9937 it is only used in mark_window_as_deleted.
9939 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
9941 * nas.c (SndOpenDataForReading):
9942 nas.c (WaveOpenDataForReading):
9943 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
9944 Somehow escaped from the 2000-08-14 patch.
9946 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
9948 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
9949 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
9951 2000-08-21 Andy Piper <andy@xemacs.org>
9953 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
9954 window if it is not already displayed.
9956 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
9957 it is not already displayed.
9959 * window.c (Fset_window_configuration): don't reset the frame
9962 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
9963 instances from the frame cache if we are actually finalizing them.
9964 (reset_frame_subwindow_instance_cache): reset frame cache only
9965 after unmapping everything.
9966 (map_subwindow): set displayed flag after mapping.
9968 2000-08-21 Martin Buchholz <martin@xemacs.org>
9970 * data.c (indirect_function):
9971 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
9973 * eval.c (function_argcount):
9974 Use original function when signaling errors.
9976 2000-08-18 Andy Piper <andy@xemacs.org>
9978 * frame.c (delete_frame_internal): use new
9979 free_frame_subwindow_instances name.
9981 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
9982 (add_tab_item): make return type correct.
9983 (mswindows_tab_control_instantiate): assert index of tab.
9984 (mswindows_tab_control_redisplay): Re-code to use
9985 gui_item_equal_sans_selected and gui_item_list_find_selected.
9987 * glyphs-widget.c (tab_control_update): Correct comment.
9989 * window.c (window_unmap_subwindows): use new
9990 unmap_subwindow_instance_cache_mapper.
9991 (window_unmap_subwindows_cache_mapper): deleted.
9992 (Fset_window_configuration): comparisons should now be with
9993 EQ. Preserve the subwindow instance cache across configuration
9995 (allocate_window): ditto.
9996 (make_dummy_parent): ditto.
9998 * glyphs.c (free_frame_subwindow_instances): rename from
9999 free_frame_subwindow_instance_cache. finalize all instances rather
10000 than just those in the display cache.
10001 (finalize_all_subwindow_instances): walk windows unmapping and
10002 finalizing subwindows.
10003 (unmap_subwindow_instance_cache_mapper): moved from
10004 window.c. Allow finalization as well as unmapping.
10006 * gui.c (gui_item_list_find_selected): new function.
10008 * gui.h (gui_item_list_find_selected): declare.
10010 * glyphs-x.c (x_tab_control_redisplay): pick tab
10011 explicitly. Re-code to use gui_item_equal_sans_selected and
10012 gui_item_list_find_selected.
10014 * glyphs-x.h: add lwlib-utils.h
10016 * buffer.c (Frecord_buffer): undo previous change.
10018 2000-08-09 Vin Shelton <acs@xemacs.org>
10020 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
10021 possible. Create temporary files more securely. The patch was
10022 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
10023 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
10024 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
10027 2000-08-07 Ben Wing <ben@xemacs.org>
10029 * getloadavg.c: remove duplicate (and windows-breaking)
10030 includes of fcntl.h and sys/file.h.
10032 * nt.c: remove duplicate getloadavg() definition.
10034 * sysdll.h (Qdll_filename_encoding): add missing stand-in
10037 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
10039 * eval.c (function_argcount): If function needs to be autoloaded
10040 actually use the loaded definition.
10043 2000-08-05 Ben Wing <ben@xemacs.org>
10045 * getloadavg.c: add prototype for getloadavg(). remove
10046 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
10047 of the code). remove duplicate header includes.
10049 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
10051 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
10052 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
10053 useful load average.
10055 * alloc.c (reinit_alloc_once_early): removed references to
10056 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
10057 the lisp vars are the only things referencing the malloc_sbrk_*
10058 vars, and they were already if 0'd out. these vars only exist
10059 in the older malloc.c, which is basically unused, and they're
10060 only for informational purposes.
10062 * m\*.h: removed useless VIRT_ADDR_VARIES.
10064 * m\powerpc.h: removed stray NO_ARG_ARRAY.
10066 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
10068 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
10069 color if the image is a mono pixmap.
10071 2000-07-30 Ben Wing <ben@xemacs.org>
10073 * Makefile.in.in (release):
10076 * buffer.c (directory_is_current_directory):
10077 * dired-msw.c (mswindows_get_files):
10079 * dired.c (Fdirectory_files):
10080 * dired.c (file_name_completion_stat):
10081 * dired.c (Ffile_attributes):
10082 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
10083 preprocessor tricks, to avoid problems on some machines
10086 * callproc.c (egetenv): GC docs.
10089 * console-msw.h (struct mswindows_dialog_id):
10090 * lrecord.h (lrecord_type):
10091 New object for use with MSW dialogs.
10093 * console.h (struct console_methods):
10094 New enable/disable frame methods, for proper modal dialogs.
10096 * device-msw.c (msprinter_default_printer): Fix to follow
10097 proper Mule conventions.
10100 * device-msw.c (signal_open_printer_error):
10101 * device-msw.c (msprinter_init_device):
10102 * device-msw.c (ensure_not_printing):
10103 * device-msw.c (plist_get_margin):
10104 * device-msw.c (Fmsprinter_select_settings):
10105 * device-msw.c (finalize_devmode):
10106 * device-msw.c (Fmsprinter_settings_despecialize):
10107 * device-msw.c (signal_enum_priner_error):
10108 * extents.c (decode_extent):
10109 * extents.c (decode_map_extents_flags):
10110 * extents.c (decode_extent_at_flag):
10111 * extents.c (Fextent_at):
10112 * extents.c (Fextents_at):
10113 * extents.c (symbol_to_glyph_layout):
10114 [[[[2]]]] Use structured errors.
10117 * dialog-msw.c (mswindows_is_dialog_msg):
10118 * dialog-msw.c (mark_mswindows_dialog_id):
10119 * dialog-msw.c (dialog_proc):
10120 * dialog-msw.c (handle_question_dialog_box):
10121 * dialog-msw.c (syms_of_dialog_mswindows):
10122 Define new object to clean up marking; use it as a dialog identifier.
10123 Call new delete-dialog-box-hook.
10125 * dialog-x.c (dbox_selection_callback):
10126 * dialog-x.c (dbox_descriptor_to_widget_value):
10127 * dialog-x.c (x_make_dialog_box_internal):
10128 Call new delete-dialog-box-hook.
10132 * dialog.c (syms_of_dialog):
10133 * dialog.c (vars_of_dialog):
10134 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
10137 * eval.c (signal_call_debugger):
10138 when noninteractive, output stack traces on the console instead
10139 of in a (never-seen) buffer.
10141 * eval.c (signal_type_error):
10142 * eval.c (invalid_argument_2):
10144 new funs for use w/structured errors.
10147 * event-Xt.c (x_to_emacs_keysym):
10148 * event-Xt.c (describe_event):
10149 * event-Xt.c (emacs_Xt_event_handler):
10150 * event-Xt.c (vars_of_event_Xt):
10152 * event-msw.c (mswindows_wnd_proc):
10153 * event-msw.c (vars_of_event_mswindows):
10154 rename {x,mswindows}-debug-events to debug-{}-events for
10155 consistency with other debug-foo variables.
10158 document next-event more clearly.
10160 * fileio.c (Ffile_name_directory):
10161 * fileio.c (Ffile_name_nondirectory):
10162 * fileio.c (Funhandled_file_name_directory):
10163 * fileio.c (file_name_as_directory):
10164 * fileio.c (Ffile_name_as_directory):
10165 * fileio.c (directory_file_name):
10166 * fileio.c (Fdirectory_file_name):
10167 * fileio.c (Fmake_temp_name):
10168 * fileio.c (Ffile_truename):
10169 * fileio.c (Fsubstitute_in_file_name):
10170 * fileio.c (expand_and_dir_to_file):
10171 * fileio.c (barf_or_query_if_file_exists):
10172 * fileio.c (check_executable):
10173 * fileio.c (Ffile_exists_p):
10174 * fileio.c (Ffile_writable_p):
10175 * fileio.c (Ffile_directory_p):
10176 * fileio.c (Ffile_regular_p):
10177 * fileio.c (Ffile_modes):
10178 * fileio.c (Ffile_newer_than_file_p):
10179 * fileio.c (Fverify_visited_file_modtime):
10180 * fileio.c (Fset_visited_file_modtime):
10181 * fileio.c (auto_save_1):
10186 * frame-msw.c (mswindows_init_frame_1):
10187 * frame-msw.c (mswindows_enable_frame):
10188 * frame-msw.c (error_frame_unsizable):
10189 * frame-msw.c (msprinter_init_frame_1):
10190 * frame-msw.c (msprinter_init_frame_3):
10191 * frame-msw.c (console_type_create_frame_mswindows):
10193 implement new enable/disable frame methods.
10196 * frame-x.c (x_enable_frame):
10197 * frame-x.c (console_type_create_frame_x):
10198 implement new enable/disable frame methods.
10201 * frame.c (Fdisable_frame):
10202 * frame.c (syms_of_frame):
10203 * frame.h (struct frame):
10204 implement new enable/disable frame methods/functions.
10209 * glyphs-msw.c (mswindows_widget_instantiate):
10210 comment that initial-focus should be implemented.
10213 * glyphs-widget.c (check_valid_instantiator):
10214 * glyphs-widget.c (check_valid_orientation):
10215 * glyphs-widget.c (check_valid_tab_orientation):
10216 * glyphs-widget.c (check_valid_justification):
10217 * glyphs-widget.c (check_valid_border):
10218 * glyphs-widget.c (check_valid_callback):
10219 * glyphs-widget.c (check_valid_int_or_function):
10220 * glyphs-widget.c (check_valid_string_or_vector):
10221 * glyphs-widget.c (check_valid_item_list_1):
10222 * glyphs-widget.c (widget_validate):
10223 * glyphs-widget.c (combo_box_validate):
10224 * glyphs-widget.c (widget_instantiate):
10225 * glyphs-widget.c (syms_of_glyphs_widget):
10226 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
10227 * glyphs-widget.c (image_instantiator_combo_box):
10228 * glyphs-widget.c (image_instantiator_scrollbar):
10229 * glyphs-widget.c (image_instantiator_tab_control):
10230 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
10232 support (unimplemented) keyword initial-focus.
10233 reindent long macros.
10235 * glyphs-x.c (x_redisplay_widget):
10236 * glyphs-x.c (x_button_instantiate):
10237 * glyphs-x.c (x_button_redisplay):
10238 * glyphs-x.c (x_progress_gauge_instantiate):
10239 * glyphs-x.c (x_edit_field_instantiate):
10240 * glyphs-x.c (x_combo_box_instantiate):
10241 * glyphs-x.c (x_tab_control_instantiate):
10242 * glyphs-x.c (x_label_instantiate):
10244 * gui-x.c (button_item_to_widget_value):
10245 * gui-x.c (gui_items_to_widget_values_1):
10246 * gui-x.c (gui_item_children_to_widget_values):
10247 * gui-x.c (gui_items_to_widget_values):
10249 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10250 add new flag to gui-parsing routines to indicate whether
10251 accelerator specs should be supported.
10253 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
10255 * glyphs.h (struct Lisp_Image_Instance):
10256 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
10257 add initial-focus flag.
10260 * gui.c (syms_of_gui):
10261 * gui.c (vars_of_gui):
10262 clean up menu-no-selection-hook.
10265 support delete-dialog-box-hook.
10267 * lread.c (Fload_internal):
10268 * lread.c (locate_file_in_directory_mapper):
10272 * lrecord.h (struct toolbar_button):
10273 * lrecord.h (syms_of_toolbar):
10274 document how to create a new object.
10276 * menubar-msw.c (mswindows_char_is_accelerator):
10277 may be called on frames w/o menus.
10279 * menubar.c (vars_of_menubar):
10280 clean up :filter docs.
10287 * process-nt.c (validate_signal_number):
10288 * process-nt.c (signal_cannot_launch):
10289 * process-nt.c (nt_create_process):
10290 * process-nt.c (nt_send_process):
10291 * process-nt.c (nt_kill_child_process):
10292 * process-nt.c (nt_open_network_stream):
10293 * process-nt.c (syms_of_process_nt):
10295 delete quote-handling. call new lisp code that does it better.
10297 * process-unix.c (connect_to_file_descriptor):
10298 * process-unix.c (allocate_pty):
10299 * process-unix.c (unix_send_process):
10300 * process-unix.c (unix_kill_child_process):
10301 * process-unix.c (unix_open_network_stream):
10302 * process-unix.c (unix_open_multicast_group):
10306 * process.c (Fstart_process_internal):
10307 (2). need to canonicalize process path even if absolute.
10309 * select-msw.c (symbol_to_ms_cf):
10310 * select-msw.c (ms_cf_to_symbol):
10311 * select-msw.c (cf_is_autofreed):
10312 * select-msw.c (mswindows_destroy_selection):
10314 * select.c (syms_of_select):
10316 support dibv5, fix bugs. (from Mike Alexander)
10318 * select.c (Fget_selection_internal):
10319 * select.c (select_convert_out):
10322 * sysdep.c (xemacs_stat):
10325 * sysdep.c (mkdir):
10326 * sysdep.c (rmdir):
10327 but keep original stat() here because we provide encapsulation
10331 * sysfile.h (fstat):
10332 remove stat garbage.
10335 fix X/MSW conflict.
10336 don't include tchar.h. it's inappropriate because it makes
10337 compile-time distinctions when we want runtime distinctions.
10338 (we provide our own tchar replacements)
10341 use default object printer for toolbar-button.
10344 make sure we don't encapsulate.
10346 * window.c (vars_of_window):
10347 emphasize that temp-buffer-show-hook is obsolete.
10349 2000-08-05 Martin Buchholz <martin@xemacs.org>
10351 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
10352 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
10354 * events.c (Fevent_timestamp_lessp):
10355 Not 64-bit clean. Use EMACS_INT, not int.
10357 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
10359 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
10360 unsigned int and changed the last enum to
10361 lrecord_type_last_built_in_type.
10362 (lrecord_implementations_table): changed prototype to know how
10363 long the array is supposed to be.
10364 (lrecord_type_count): new unsigned int to keep track of the
10365 current number of lisp lrecord types.
10366 (DEFINE_EXTERNAL_LRECORD):
10367 (DECLARE_EXTERNAL_LRECORD): Added these two for external
10368 dynamic-modules to declare new lisp types. They are the same
10369 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
10370 int for each new type, and increment lrecord_type_count by 1.
10372 * alloc.c (lrecord_implementations_table): Changed to reference
10373 lrecord_type_last_built_in_type for the size of the array.
10374 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
10376 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
10378 * glyphs.h (check_valid_item_list): Renamed from
10379 check_valid_item_list_1.
10381 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
10383 * select.c (Qselect_coerce): New.
10384 * select.c (Vselection_coercion_alist): New.
10385 * select.c (syms_of_select): Declare.
10386 * select.c (get-selection-internal): Use it.
10387 Use the new select-coerce functionality.
10389 * select.c (select_coerce): New.
10390 * select.h (select_coerce): Declare.
10391 New function to coerce one type of data into another.
10393 2000-08-03 Martin Buchholz <martin@xemacs.org>
10395 * callproc.c (Fcall_process_internal):
10396 (Fcall_process_internal):
10397 * process-unix.c (unix_create_process):
10398 Save and restore the value of errno, so that error messages are accurate.
10400 2000-08-01 Martin Buchholz <martin@xemacs.org>
10402 * elhash.c (print_hash_table):
10403 Fix printing of hash tables to also use `key-and-value' instead of `t'.
10404 Prettify docstrings and indentation.
10406 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
10408 * window.c (Fwindow_pixel_edges): Subtract frame border and
10411 2000-07-31 Andy Piper <andy@xemacs.org>
10413 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
10414 will acknowledge the change.
10416 * glyphs.h: declare tab_control_order_only_changed.
10418 * glyphs-x.c (x_tab_control_redisplay): use
10419 tab_control_order_only_changed.
10421 * glyphs-widget.c (tab_control_order_only_changed): new function.
10423 * glyphs-msw.c (mswindows_tab_control_redisplay): use
10424 tab_control_order_only_changed.
10426 * gui.c (gui_item_equal_sans_selected): new function.
10427 (gui_item_equal): use it.
10429 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
10430 :properties in favor of :items..
10432 * glyphs-widget.c (check_valid_item_list): rename from
10433 check_valid_item_list_1.
10434 (check_valid_item_list_1): renamed.
10435 (combo_box_validate): deprecate :properties in favor of :items.
10436 (widget_instantiate): ditto.
10437 (tab_control_update): ditto.
10438 (image_instantiator_combo_box): ditto.
10439 (image_instantiator_tree_view): ditto.
10440 (image_instantiator_tab_control): ditto.
10441 (layout_post_instantiate): remove dead code.
10443 * print.c (debug_print_no_newline): only write to debugger if in
10446 * elhash.c (Fmake_hash_table): update doc string.
10448 * event-msw.c (mswindows_wnd_proc): don't allow processing of
10449 messages whilst in GC. This at least stops XEmacs crashing but has
10450 the potential for wierd behaviour.
10452 2000-07-31 Martin Buchholz <martin@xemacs.org>
10455 Make existence of s&m files optional.
10457 * s/bsd386.h: Remove HAVE_GETLOADAVG.
10458 * s/freebsd.h: Remove HAVE_GETLOADAVG.
10459 * s/gnu.h: Remove HAVE_GETLOADAVG.
10460 * s/netbsd.h: Remove HAVE_GETLOADAVG.
10461 * s/sol2.h: Remove HAVE_GETLOADAVG.
10462 * lisp.h: Remove getloadavg() declaration.
10464 Include <sys/loadavg.h> if available.
10465 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
10466 * config.h.in: Group together getloadavg()-related macros.
10467 Use only configure-time tests to detect getloadavg().
10469 2000-07-30 Martin Buchholz <martin@xemacs.org>
10471 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
10473 2000-07-25 Andy Piper <andy@xemacs.org>
10475 * syswindows.h: add tchar.h for native builds.
10477 * frame.c (syms_of_frame): remove set-glyph-image.
10479 * general-slots.h: add Qset_glyph_image.
10481 * glyphs-widget.c (layout_update): add domain arg to
10483 (syms_of_glyphs_widget): remove set-glyph-image.
10485 2000-07-23 Ben Wing <ben@xemacs.org>
10487 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
10490 2000-07-22 Andy Piper <andy@xemacs.org>
10492 * symsinit.h: add syms_of_win32().
10494 * gui-msw.c (syms_of_gui_mswindows): remove
10495 Fmswindows_shell_execute.
10496 (Fmswindows_shell_execute): moved to win32.c.
10498 * emacs.c (main_1): add syms_of_win32 ().
10500 * win32.c (init_potentially_nonexistent_functions): rewrite in
10501 compiler-friendly terms.
10502 (Fmswindows_shell_execute): move here from gui-msw.c.
10503 (syms_of_win32): new.
10505 * device-msw.c (Fmswindows_printer_list): clean up args to
10507 Don't include tchar under cygwin or mingw.
10508 (msprinter_default_printer): make cygwin-friendly.
10510 2000-07-21 Andy Piper <andy@xemacs.org>
10512 * glyphs-widget.c (image_instantiator_tree_view): use tab
10513 control's update function.
10514 (layout_property): new function. Retrieve items.
10516 * glyphs-msw.c (mswindows_tree_view_redisplay): new
10517 function. Re-populate the tree view from the pending items.
10519 * glyphs.c (instantiate_image_instantiator): Make sure the domain
10520 is designated the parent if the domain is an image instance. This
10521 is needed so that dirtiness can be cascade up the hierarchy and
10522 thus for layout children to be redisplayed correctly.
10523 (allocate_image_instance): rename glyph -> parent.
10525 * redisplay.h: change redisplay_output_layout signature.
10527 * redisplay-msw.c (mswindows_output_display_block): use domain
10530 * redisplay-x.c (x_output_display_block): use domain arg.
10532 2000-07-10 Andy Piper <andy@xemacs.org>
10534 * window.c (Fset_window_configuration): add comment.
10536 * redisplay-output.c (compare_runes):
10537 (redisplay_output_subwindow): redisplay rather than update subwindow.
10538 (redisplay_output_layout): ditto.
10540 * redisplay-msw.c (mswindows_frame_output_end):
10541 (mswindows_frame_output_end): make defer window pos optional.
10543 * lisp.h: add Flast.
10545 * glyphs.h (struct image_instantiator_methods): add dest_mask top
10546 normalize method. Change update method to be for changed
10547 instantiators. Add redisplay method. Change signature of layout
10549 (struct Lisp_Image_Instance): add instantiator.
10550 (IMAGE_INSTANCE_INSTANTIATOR): new.
10551 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
10552 (XIMAGE_INSTANCE_INSTANTIATOR): new.
10553 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
10556 (find_instantiator_differences): new function.
10557 (Fset_instantiator_property): new convenience function.
10558 (check_image_instance_structure): strictly check for vector
10560 (normalize_image_instantiator): make non-static.
10561 (instantiate_image_instantiator): pass on dest_mask and use new
10562 signatures for image_instance_layout and friends.
10563 (mark_image_instance): mark the instantiator. Mark the subwindow
10564 face not the widget face.
10565 (image_instance_equal): add instantiator.
10566 (image_instance_hash): ditto.
10567 (allocate_image_instance): ditto.
10568 (Fset_image_instance_property): removed.
10569 (Fimage_instance_file_name): ditto.
10570 (Fcolorize_image_instance): ditto.
10571 (image_instance_layout): add offsets to be set.
10572 (update_image_instance): new function. update an image instance
10573 from its changed instantiator.
10574 (inherit_normalize): add dest_mask.
10575 (xbm_normalize): ditto.
10576 (xface_normalize): ditto.
10577 (xpm_normalize): ditto.
10578 (text_update): set_property -> update.
10579 (image_instantiate): use the glyph identity as a hash key, not the
10581 (glyph_width): use new image_instance_layout signature.
10582 (glyph_ascent): ditto.
10583 (glyph_descent): ditto.
10584 (glyph_height): ditto.
10585 (glyph_query_geometry): ressurrect.
10586 (glyph_layout): ditto.
10587 (redisplay_subwindow): update -> redisplay.
10588 (syms_of_glyphs): add Fset_instantiator_property.
10589 (image_instantiator_format_create): set_property -> update.
10592 (autodetect_normalize): add dest_maks to signature.
10593 (x_redisplay_subwindow): update -> redisplay.
10594 (x_redisplay_widget): ditto.
10595 (x_button_redisplay): ditto.
10596 (x_progress_gauge_redisplay): ditto.
10597 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
10599 (console_type_create_glyphs_x): update -> redisplay.
10600 (image_instantiator_format_create_glyphs_x): ditto.
10603 (check_valid_instantiator): disallow glyphs in the instantiator,
10604 they must now be vectors.
10605 (check_valid_instantiator_list): ditto.
10606 (glyph_instantiator_to_glyph): use internal symbol rather than
10608 (widget_update): renamed from widget_set_property. Call cascaded
10610 (redisplay_widget): renamed from update_widget.
10611 (widget_layout): image_instance_layout now takes position as well
10613 (widget_normalize): ditto.
10614 (widget_instantiate): ditto.
10615 (tab_control_query_geometry) ditto.:
10616 (tab_control_update): renamed from tab_control_set_property.
10617 (progress_gauge_update): set_property -> update.
10618 (layout_normalize): rewrite so that child instantiators are
10620 (layout_update): new function. Create glyphs from the normalized
10621 children and cope with any other layout keywords. We do not
10622 instantiate children here that will be take care of by
10623 redisplay_output_layout.
10624 (layout_instantiate): call layout_update and not much else.
10625 (layout_post_instantiate): not sure whether this is needed
10627 (layout_query_geometry): query glyph geometry rather than
10628 image_instance geometry.
10629 (layout_layout): set offsets from pass in parameters. Use glyph
10630 geometry and layout functions rather than image instance ones.
10631 (native_layout_layout): ditto.
10632 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
10633 (image_instantiator_widget): set_property -> update.
10634 (image_instantiator_buttons): ditto.
10635 (image_instantiator_progress_guage): ditto.
10636 (image_instantiator_tab_control): ditto.
10637 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
10638 (image_instantiator_layout): add update method.
10640 * glyphs-msw.c (bmp_normalize):
10641 (mswindows_resource_normalize): add dest_mask so that it can be
10642 proprogated by layout_normalize.
10643 (begin_defer_window_pos): make optional because it may not be the
10644 right thing to do and it introduces differences with X.
10645 (mswindows_unmap_subwindow): ditto.
10646 (mswindows_map_subwindow): ditto.
10647 (mswindows_redisplay_subwindow): renamed from
10648 mswindows_update_subwindow.
10649 (mswindows_redisplay_widget): ditto.
10650 (mswindows_button_redisplay): renamed from
10651 mswindows_button_update. Update is now what the instantiation
10652 function does for a changed instantiator.
10653 (mswindows_progress_gauge_instantiate): set the progress value
10654 here if appropriate.
10655 (mswindows_tab_control_redisplay): cope with re-ordering of the
10656 members of the tab widget by simply selecting the new top
10657 widget. This makes things appear ok if you click on a tab.
10658 (mswindows_combo_box_instantiate): image_instance_layout now takes
10659 position as well as size.
10660 (mswindows_progress_gauge_redisplay): renamed from
10661 mswindows_progress_gauge_update.
10662 (console_type_create_glyphs_mswindows): fix update -> redisplay.
10663 (image_instantiator_format_create_glyphs_mswindows): ditto.
10665 * glyphs-eimage.c (jpeg_normalize):
10668 (tiff_normalize): add dest_mask so that it can be proprogated by
10672 (print_hash_table):
10673 (hash_table_weakness_validate):
10674 (decode_hash_table_weakness):
10675 (Fhash_table_weakness):
10676 (Fhash_table_type):
10677 (syms_of_elhash): use Ben's naming scheme for hashtable types..
10679 * console.h (struct console_methods): move update_* to
10682 2000-07-20 Ben Wing <ben@xemacs.org>
10684 * *.[ch] (XSETOBJ): remove unused middle argument.
10685 lisp-disunion.h: correct wrap_object() to one argument.
10687 2000-07-15 Ben Wing <ben@xemacs.org>
10690 * s/cygwin32.h (CYGWIN_CONV_PATH):
10691 Add missing logb prototype for v1.1.
10692 Use post-b20 names and alias to pre-b20 names when pre-b20.
10694 * s/windowsnt.h: [5].
10696 2000-07-15 Ben Wing <ben@xemacs.org>
10698 * Makefile.in.in (x_objs):
10699 * Makefile.in.in (sheap_objs):
10700 * Makefile.in.in (objs):
10701 added win32.o, cosmetic cleanups.
10703 * alloc.c (Fmake_byte_code):
10704 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
10705 etc. macros which declare their own args now.
10707 * alloc.c (syms_of_alloc):
10708 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
10711 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
10713 * buffer.c (Fget_file_buffer):
10714 Fixed GCPRO problem.
10716 * buffer.c (get_truename_buffer):
10717 Fixed comment about GC checking.
10719 * buffer.c (syms_of_buffer):
10720 Undeclared those dedicated frame funs.
10724 Define convenience macros for internal/external conversions.
10725 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
10726 and Qenvironment_variable_encoding for cleaner code.
10729 Remove dedicated-frame; in lisp.
10731 * bytecode.c (funcall_compiled_function):
10734 * bytecode.c (syms_of_bytecode):
10738 * console-msw.c (mswindows_show_console): Rewrote.
10740 * console-msw.c (Fmswindows_debugging_output): New.
10741 Sends to OutputDebugString (special MSWin debugger interface).
10743 * console-msw.c (Fmswindows_message_box):
10744 Fixed stupid bugs so it works when called from kill-emacs.
10746 * console-msw.c (syms_of_console_mswindows):
10747 Declare Fmswindows_debugging_output.
10750 New MSWin prototypes.
10752 * console-msw.h (struct mswindows_frame):
10753 New entry last-click-mods for improved button-modifier support.
10755 * console-msw.h (FRAME_MSWINDOWS_POPUP):
10756 New struct entry `popup' with corresponding accessor.
10759 * console-x.c (split_up_display_spec):
10760 * console-x.c (get_display_arg_connection):
10761 * console-x.c (x_semi_canonicalize_console_connection):
10762 * console-x.c (x_canonicalize_device_connection):
10763 [[[6]]]: Change char to more specific type.
10764 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
10766 * console-x.c (x_semi_canonicalize_console_connection):
10767 * console-x.c (x_canonicalize_device_connection):
10768 [[[9]]]: Fix up error signalling to use new structured error system.
10771 [[[4]]]: Define codesys aliases:
10772 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
10773 Qx_color_name_encoding, Qx_display_name_encoding.
10775 * console.h (struct console_methods):
10776 New method make_dialog_box_internal supersedes older
10777 popup_dialog_box method.
10780 Define many new errors, part of new structured errors.
10782 * data.c (init_errors_once_early):
10783 * data.c (syms_of_data):
10786 * device-msw.c (mswindows_init_device):
10787 [[[5]]]: Cleanup to support NT 3.51.
10789 * device-msw.c (decode_devmode): Cleanup.
10791 * device-msw.c (mswindows_handle_print_setup_dialog_box):
10792 * device-msw.c (mswindows_handle_print_dialog_box):
10793 * device-msw.c (mswindows_handle_page_setup_dialog_box):
10794 * device-msw.c (syms_of_device_mswindows):
10795 Delete the dialog box primitives recently introduced by Kirill and
10796 instead interface to general dialog box interface.
10799 * device-x.c (compute_x_app_name):
10800 * device-x.c (x_init_device):
10801 * device-x.c (Fx_valid_keysym_name_p):
10802 * device-x.c (Fx_set_font_path):
10806 * device.h (wrap_device): New.
10807 First of its kind; meant to replace XSETDEVICE.
10809 * dialog-msw.c: Many file-dialog symbols.
10811 * dialog-msw.c (mswindows_register_popup_frame): New.
10812 * dialog-msw.c (mswindows_is_dialog_msg): New.
10813 For supporting kbd traversal in dialog boxes.
10815 * dialog-msw.c (dialog_proc):
10816 Support hitting ESC in dialogs.
10818 * dialog-msw.c (struct):
10819 Common dialog box errors.
10821 * dialog-msw.c (handle_file_dialog_box): New.
10822 Add file dialog code.
10824 * dialog-msw.c (handle_question_dialog_box):
10825 Redo existing code to support new question dialog syntax.
10827 * dialog-msw.c (console_type_create_dialog_mswindows):
10828 We support new dialog console method.
10830 * dialog-msw.c (syms_of_dialog_mswindows):
10831 * dialog-msw.c (vars_of_dialog_mswindows):
10832 New file dialog symbols, vars.
10835 * dialog-x.c (maybe_run_dbox_text_callback):
10836 * dialog-x.c (dbox_descriptor_to_widget_value):
10837 * dialog-x.c (x_make_dialog_box_internal):
10838 * dialog-x.c (console_type_create_dialog_x):
10839 Mule-ize entire file.
10840 Redo to support question dialog syntax.
10844 * dialog.c (Fmake_dialog_box_internal):
10845 * dialog.c (syms_of_dialog):
10846 Kill old popup-dialog-box, replace with new primitive.
10847 Just call device method or signal error.
10849 * eldap.c (Fldap_open):
10850 * eldap.c (Fldap_search_basic):
10851 * eldap.c (Fldap_add):
10852 * eldap.c (Fldap_modify):
10857 * emacs.c (make_arg_list_1):
10858 * emacs.c (make_arg_list):
10859 Mule-ize call to dll_init().
10863 * emacs.c (make_argc_argv):
10864 * emacs.c (free_argc_argv):
10865 * emacs.c (init_cmdargs):
10866 * emacs.c (main_1):
10867 * emacs.c (Fkill_emacs):
10868 * emacs.c (Fdump_emacs):
10869 Update comments about what can be used in syms_* etc.
10870 Call init_win32() when necessary.
10871 Fix up MS Win dialog box in kill-buffer to actually work right.
10882 * eval.c (condition_case_3):
10884 * eval.c (function_argcount):
10885 * eval.c (funcall_lambda):
10888 * eval.c (type_error): New.
10889 * eval.c (maybe_type_error): New.
10890 * eval.c (continuable_type_error): New.
10891 * eval.c (maybe_continuable_type_error): New.
10892 * eval.c (type_error_with_frob): New.
10893 * eval.c (maybe_type_error_with_frob): New.
10894 * eval.c (continuable_type_error_with_frob): New.
10895 * eval.c (maybe_continuable_type_error_with_frob): New.
10896 New functions for use with structured errors.
10899 * event-Xt.c (x_event_to_emacs_event):
10900 Buttons are now modifiers too.
10902 * event-Xt.c (emacs_Xt_current_event_timestamp):
10903 Implement new event method.
10904 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
10907 * event-msw.c (ntpipe_shove_writer): [5].
10908 * event-msw.c (mswindows_enqueue_mouse_button_event):
10909 * event-msw.c (mswindows_drain_windows_queue):
10910 * event-msw.c (mswindows_wnd_proc): [7].
10911 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
10912 * event-msw.c (mswindows_modifier_state):
10913 Throughout: support new button modifiers.
10915 * event-msw.c (emacs_mswindows_current_event_timestamp):
10916 Implement new event method.
10917 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
10920 * event-stream.c (event_stream_current_event_timestamp): New.
10921 * event-stream.c (maybe_kbd_translate): New functionality.
10922 * event-stream.c (vars_of_event_stream):
10923 Document new kbd-translate-table functionality.
10925 * event-stream.c (Fcurrent_event_timestamp): New.
10926 New primitive for use in fabricated events.
10927 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
10929 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
10932 * events.c (Fmake_event):
10933 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
10937 * events.c (format_event_object): fix gcc warnings.
10939 * events.c (Fevent_timestamp): Document new primitives.
10941 * events.c (TIMESTAMP_HALFSPACE): New.
10943 * events.c (Fevent_timestamp_lessp): New. New primitive for
10944 comparing timestamps correctly (half-space algorithm).
10946 * events.c (Fevent_modifier_bits): Doc fix.
10948 * events.c (Fevent_modifiers): Major doc addition.
10949 * events.c (event_x_y_pixel_internal): Typo fix.
10950 * events.c (syms_of_events): Declare new primitives.
10953 Update long comment for button modifiers, timestamps.
10955 * events.h (struct event_stream):
10956 New current_event_timestamp method.
10959 * extents.c (extent_in_region_p):
10960 * extents.c (decode_extent):
10961 * extents.c (Fset_extent_parent):
10962 * extents.c (decode_map_extents_flags):
10966 * extents.c (struct extent_at_arg):
10967 * extents.c (decode_extent_at_flag):
10968 * extents.c (extent_at_mapper):
10969 * extents.c (extent_at_bytind):
10970 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
10971 * extents.c (Fextents_at): New primitive. [9].
10972 * extents.c (symbol_to_glyph_layout): [9].
10973 Support new primitive `extents-at'.
10976 * extents.c (get_text_property_bytind):
10977 extent_at_bytind has another arg.
10980 * extents.c (syms_of_extents): New primitive.
10982 * file-coding.c (Fmake_coding_system): [1].
10983 * file-coding.c (subsidiary_coding_system): fix gcc warning
10984 * file-coding.c (syms_of_file_coding): [2].
10986 * fileio.c (Fexpand_file_name):
10987 * fileio.c (Fsysnetunam):
10988 * fileio.c (Ffile_exists_p):
10989 * fileio.c (Ffile_executable_p):
10990 * fileio.c (Fverify_visited_file_modtime):
10993 * fileio.c (syms_of_fileio): [2].
10995 * filelock.c (lock_file_1):
10996 * filelock.c (current_lock_owner):
10997 * filelock.c (lock_if_free):
10998 * filelock.c (lock_file):
10999 * filelock.c (unlock_file):
11002 * fns.c (concat): Fix gcc warning.
11005 * fns.c (Fold_member):
11007 * fns.c (Fold_memq):
11008 * fns.c (memq_no_quit):
11010 * fns.c (Fold_assoc):
11012 * fns.c (Fold_assq):
11013 * fns.c (assq_no_quit):
11015 * fns.c (Fold_rassoc):
11017 * fns.c (Fold_rassq):
11018 * fns.c (rassq_no_quit):
11020 * fns.c (Fold_delete):
11022 * fns.c (Fold_delq):
11023 * fns.c (delq_no_quit):
11024 * fns.c (Fremassoc):
11025 * fns.c (Fremassq):
11026 * fns.c (remassq_no_quit):
11027 * fns.c (Fremrassoc):
11028 * fns.c (Fremrassq):
11029 * fns.c (remrassq_no_quit):
11030 * fns.c (Freverse):
11034 * frame-msw.c (mswindows_init_frame_1):
11035 * frame-msw.c (mswindows_delete_frame):
11036 Register popups with dialog code so keyboard traversing works.
11038 * frame-tty.c (tty_raise_frame_no_select): [1].
11041 * frame-x.c (x_set_frame_text_value):
11042 * frame-x.c (x_set_frame_properties):
11043 * frame-x.c (x_create_widgets):
11047 * frame.c (Fmouse_pixel_position): Minor doc fixes.
11049 * frame.h (wrap_frame): New.
11050 Macro like wrap_device.
11053 * general.c (SYMBOL):
11054 * general.c (syms_of_general):
11055 Major reorg. This is now just a wrapper and symbols themselves
11056 are listed in general-slots.h.
11058 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
11059 * glyphs-msw.c (mswindows_resource_instantiate): [5].
11061 * glyphs-msw.c (mswindows_native_layout_instantiate):
11062 Add DS_CONTROL so keyboard traversal will work.
11065 * glyphs-widget.c (syms_of_glyphs_widget):
11066 Move some symbols to general-slots.h.
11069 * glyphs-x.c (xbm_instantiate_1):
11070 * glyphs-x.c (x_xbm_instantiate):
11071 * glyphs-x.c (x_xface_instantiate):
11072 * glyphs-x.c (autodetect_instantiate):
11073 * glyphs-x.c (cursor_font_instantiate):
11074 * glyphs-x.c (x_update_widget):
11075 * glyphs-x.c (x_widget_instantiate):
11076 * glyphs.c (bitmap_to_lisp_data):
11077 * glyphs.c (pixmap_to_lisp_data):
11080 * glyphs.c (syms_of_glyphs):
11084 * gui-x.c (print_widget_value):
11085 * gui-x.c (menu_separator_style_and_to_external):
11086 * gui-x.c (add_accel_and_to_external):
11087 * gui-x.c (button_item_to_widget_value):
11088 * gui-x.c (gui_items_to_widget_values_1):
11089 * gui-x.c (gui_items_to_widget_values):
11090 * gui-x.c (syms_of_gui_x):
11091 * gui-x.c (vars_of_gui_x):
11092 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
11096 Muleize, prototype changes matching gui-x.c.
11099 * gui.c (separator_string_p):
11100 * gui.c (gui_item_add_keyval_pair):
11101 * gui.c (make_gui_item_from_keywords_internal):
11102 * gui.c (signal_too_long_error):
11103 * gui.c (parse_gui_item_tree_item):
11104 * gui.c (syms_of_gui):
11105 * gui.c (vars_of_gui):
11107 menu-no-selection-hook moved here (used by MSWin).
11108 Move some symbols to general-slots.h.
11112 * insdel.c (get_buffer_pos_char):
11113 * insdel.c (get_buffer_range_char):
11116 * keymap.c (keymap_lookup_directly):
11117 * keymap.c (keymap_store):
11118 * keymap.c (ensure_meta_prefix_char_keymapp):
11119 * keymap.c (describe_map):
11121 Support new button modifiers.
11123 * lisp-disunion.h (wrap_object):
11124 * lisp-disunion.h (XSETOBJ):
11125 Rename make_obj to wrap_object.
11128 * lisp-union.h (make_int):
11129 * lisp-union.h (make_char):
11130 Support wrap_object.
11133 * lisp.h (LIST_LOOP):
11134 * lisp.h (EXTERNAL_LIST_LOOP):
11135 * lisp.h (LIST_LOOP_2):
11136 * lisp.h (EXTERNAL_LIST_LOOP_1):
11137 * lisp.h (EXTERNAL_LIST_LOOP_2):
11138 * lisp.h (EXTERNAL_LIST_LOOP_3):
11139 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
11140 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
11141 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
11142 * lisp.h (EXTERNAL_ALIST_LOOP_5):
11143 * lisp.h (EXTERNAL_ALIST_LOOP_6):
11144 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
11145 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
11146 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
11147 * lisp.h (struct Lisp_Symbol):
11148 * lisp.h (maybe_continuable_error_with_frob):
11149 Fix up section comments.
11150 Add new types for char to indicate usage.
11151 Delete symbols auto-generated from general-slots.h.
11152 Add prototypes for structured error functions.
11153 Add long comments describing looping macros and change interface
11154 so that lvalues are automatically declared.
11155 Add NO_DECLARE macro in case callers want to declare lvalues
11158 * lread.c (read_syntax_error):
11159 * lread.c (continuable_read_syntax_error):
11160 * lread.c (read_structure):
11161 * lread.c (sequence_reader):
11162 * lread.c (read_list_conser):
11163 * lread.c (read_compiled_function):
11164 Rename syntax_error and continuable_syntax_error to avoid clash
11165 with same-named structured error functions.
11167 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11168 * menubar-msw.c (populate_menu_add_item):
11169 * menubar-msw.c (populate_or_checksum_helper):
11174 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11175 Mule-ize whole file.
11177 * menubar.c (Fnormalize_menu_item_name): Add optimization.
11179 * mule-charset.c (Fmake_charset):
11180 * mule-wnnfns.c (Fwnn_set_param):
11183 * ntproc.c (create_child):
11184 * ntproc.c (Fwin32_set_current_locale):
11185 Add comments portending doom.
11188 * objects-msw.c (old_font_enum_callback_2):
11189 * objects-msw.c (font_enum_callback_1):
11190 * objects-msw.c (mswindows_enumerate_fonts):
11194 * objects-x.c (allocate_nearest_color):
11195 * objects-x.c (x_parse_nearest_color):
11196 * objects-x.c (x_initialize_color_instance):
11197 * objects-x.c (x_print_color_instance):
11198 * objects-x.c (x_finalize_color_instance):
11199 * objects-x.c (x_valid_color_name_p):
11200 * objects-x.c (x_initialize_font_instance):
11201 * objects-x.c (x_print_font_instance):
11202 * objects-x.c (valid_x_font_name_p):
11203 * objects-x.c (truename_via_FONT_prop):
11204 * objects-x.c (truename_via_random_props):
11205 * objects-x.c (truename_via_XListFonts):
11206 * objects-x.c (x_font_truename):
11207 * objects-x.c (x_font_instance_truename):
11208 * objects-x.c (x_font_instance_properties):
11209 * objects-x.c (x_list_fonts):
11210 * objects-x.c (x_find_charset_font):
11211 Mule-ize entire file.
11218 * print.c (std_handle_out_external):
11219 * print.c (debug_print_no_newline):
11220 * print.c (syms_of_print):
11221 Output to all debugger kinds in debug-print.
11222 Fix console-output code under MSWin to actually work.
11224 * process-nt.c (send_signal):
11225 * process-nt.c (nt_create_process):
11226 Use newer Unicode macros.
11228 * process-unix.c (unix_create_process):
11229 * process-unix.c (unix_canonicalize_host_name):
11230 * process-unix.c (unix_open_network_stream):
11236 * search.c (syms_of_search):
11239 * select-msw.c (mswindows_destroy_selection):
11242 * select-x.c (symbol_to_x_atom):
11245 * select.c (syms_of_select):
11248 * sound.c (Fplay_sound_file):
11252 * specifier.c (decode_specifier_type):
11253 * specifier.c (Fvalid_specifier_locale_type_p):
11254 * specifier.c (check_valid_locale_or_locale_type):
11255 * specifier.c (decode_locale):
11256 * specifier.c (decode_locale_type):
11257 * specifier.c (decode_locale_list):
11258 * specifier.c (check_valid_domain):
11259 * specifier.c (decode_specifier_tag_set):
11260 * specifier.c (Fcanonicalize_tag_set):
11261 * specifier.c (Fdefine_specifier_tag):
11262 * specifier.c (Fspecifier_tag_predicate):
11263 * specifier.c (check_valid_inst_list):
11264 * specifier.c (check_valid_spec_list):
11265 * specifier.c (decode_how_to_add_specification):
11266 * specifier.c (check_modifiable_specifier):
11267 * specifier.c (specifier_add_spec):
11268 * specifier.c (boolean_validate):
11269 * specifier.c (display_table_validate):
11272 * specifier.c (syms_of_specifier):
11273 Move some symbols to general-slots.h.
11277 * symbols.c (Fmapatoms):
11278 * symbols.c (Fapropos_internal):
11281 * symbols.c (set_default_buffer_slot_variable):
11282 * symbols.c (set_default_console_slot_variable):
11285 * symbols.c (defsymbol_massage_name_1):
11286 * symbols.c (defkeyword_massage_name):
11287 * symbols.c (deferror_1):
11288 * symbols.c (deferror):
11289 * symbols.c (deferror_massage_name_and_message):
11291 * symeval.h (DEFSYMBOL):
11292 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
11294 * symbols.c (syms_of_symbols):
11298 * symsinit.h (init_win32): New.
11299 Also new is syms_of_dialog_mswindows.
11302 Add new Unicode macros, missing Cygwin wide-char functions,
11303 convenience conversion macros for Qmswindows_tstr, macros for
11304 encapsulating required MSWin <-> Cygwin filename conversions,
11305 prototype for dynamically-extracted (not in NT 3.51) functions.
11310 * tooltalk.c (Fadd_tooltalk_message_arg):
11311 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
11312 * tooltalk.c (Fadd_tooltalk_pattern_arg):
11315 * tooltalk.c (syms_of_tooltalk):
11319 * unexnt.c (unexec):
11320 Fix up headers, declaration of unexec() to be more standard.
11322 2000-07-20 Martin Buchholz <martin@xemacs.org>
11324 * offix.h: Revert change to guard macros - they're used in offix.c!
11326 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11328 * lisp.h: Defsubred Fdelete.
11330 * console-msw.h: (msprinter_default_printer): Added.
11332 * console-msw.c (msprinter_canonicalize_console_connection):
11333 (msprinter_canonicalize_device_connection): Added.
11335 * device-msw.c (msprinter_default_printer):
11336 (Fmswingows_get_default_printer):
11337 (signal_enum_priner_error):
11338 (Fmswingows_printer_list): Added.
11340 2000-07-19 Martin Buchholz <martin@xemacs.org>
11342 * XEmacs 21.2.35 is released.
11344 2000-07-19 Martin Buchholz <martin@xemacs.org>
11346 * select-x.c (x_handle_selection_request):
11347 Text selected in xemacs and pasted into xterm failed to appear.
11348 Spelling fixes and cosmetic changes.
11350 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11352 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
11353 XEmacs frame (fix for doubling chars in dialog boxes).
11355 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
11357 * select.c (select_convert_in, select_convert_out):
11358 Don't call intern() every time.
11360 * select.c (Qselect_convert_in, Qselect_convert_out): New.
11361 * select.c (vars_of_select): Initialise them.
11363 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
11365 * select.c (selection-coercible-types): New.
11367 * select.c (own-selection-internal):
11368 * select.c (get-selection-internal):
11369 MULE bug fix - these should default to COMPOUND_TEXT and not
11370 STRING for MULE. I think.
11372 * select.c (select_convert_out): Use selection-coercible-types
11373 to find types that we can attempt to perform coercions on.
11375 2000-07-18 Martin Buchholz <martin@xemacs.org>
11379 Add coding: cookie to identify encoding.
11381 * mule-canna.c (CANNA_mode_keys): make static.
11382 Use proper prototypes, even for functions of no arguments.
11383 Remove external prototype for Fding().
11385 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
11387 * select.c (syms_of_select): Add missing DEFSUBR.
11389 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
11391 * select.c (get_selection_internal, own_selection_internal):
11392 Make the type default to STRING, rather than placing a nil type
11393 into Vselection_alist.
11395 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
11397 * gpmevent.c (tty_selection_exists_p):
11398 * gpmevent.c (tty_own_selection):
11399 Updated parameter lists.
11401 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
11403 * select.h (selection-alist): Removed declaration.
11405 * select.h (get_local_selection):
11406 * select.c (get_local_selection):
11409 * select.h (convert_selection): Removed declaration.
11410 * select.c (convert_selection): Removed.
11411 This function belongs in Lisp.
11413 * select.h (select_convert_in): Declare.
11414 * select.h (select_convert_out): Declare.
11415 * select.c (select_convert_in): New.
11416 * select.c (select_convert_out): New.
11417 New conversion functions for other files to call.
11419 * select.h (select_notify_buffer_kill): Declare.
11420 * select.c (select_notify_buffer_kill): New.
11421 New functions that get called from kill-buffer.
11423 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
11424 X-specific lisp code.
11426 * select.h: Declare some of the lisp-visible functions for
11429 * select.c (clean_local_selection_data): Removed. This was
11430 a disgusting function, and previously should have been in
11431 select-x.c in any case. The functionality is now provided
11432 in select-convert-from-integer (select.el).
11434 * select.c (available-selection-types): Fixed stupidity where
11435 INTEGER and ATOM got added twice. Also add STRING when we see an
11438 * select.c (get-selection-internal): Removed symbol stripping. No
11439 longer causes conversion when data comes from the internal cache.
11441 * select.c (syms_of_select): Added new functions.
11443 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
11444 error checking - previously this called abort!
11446 * select-x.c (x_own_selection): Changed comment.
11448 * select-x.c (x_handle_selection_request): Use select_convert_out.
11449 Don't mess with selection-alist; it's an internal variable of select.c.
11451 * select-x.c (x_get_foreign_selection): Use select_convert_in.
11453 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
11454 rather than messing with selection-alist.
11456 * select-msw.c (mswindows_get_foreign_selection):
11457 Use TO_INTERNAL_FORMAT rather than hacking.
11459 2000-07-14 Martin Buchholz <martin@xemacs.org>
11461 * process-unix.c (unix_open_multicast_group):
11462 (unix_open_multicast_group): Remove useless casts.
11464 2000-07-13 Martin Buchholz <martin@xemacs.org>
11466 * sound.c (Fplay_sound): Fix `unused variable' warning.
11468 * emacs.c (main): Use correct type for _environ on SCO5.
11470 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
11472 * console.h (own_selection_method):
11473 * console.h (selection_exists_p_method):
11474 * console.h (available_selection_types_method): New.
11475 * console.h (register_selection_data_type_method): New.
11476 * console.h (selection_data_type_name): New.
11478 * console-msw.h (mswindows_destroy_selection): Declare it. New
11479 function & alist to track GlobalAlloc()'d handles that need
11480 releasing when the clipboard data gets replaced or emptied.
11482 * event-msw.c (mswindows_wnd_proc): Call it.
11484 * lisp.h, general.c (Qappend): New symbol representing a
11487 * select.c (own-selection-internal):
11488 * select.c (selection-exists-p):
11489 * select.c (available-selection-types): New.
11490 * select.c (register-selection-data-type): New.
11491 * select.c (selection-data-type-name): New. New functions to deal
11492 with device-specific selection data formats.
11493 * select.c (selection-converter-out-alist): Renamed.
11494 * select.c (selection-converter-in-alist): New.
11495 * select.c (selection-appender-alist): New. Added new alists.
11496 * select.c (syms_of_select, vars_of_select): Added new symbols &
11498 * select.c (get_local_selection): Split.
11499 * select.c: Removed spurious type checking - selections may now be
11500 of any type, not just strings.
11501 * select.c (own-selection-internal):
11503 * select.h, select.c (convert_selection): New. Created
11504 convert_selection() function based on get_local_selection().
11505 * select.h, select.c (QCF_*): New symbols representing mswindows
11507 * select.h, select.c (Qreplace_all, Qreplace_existing): New
11508 symbols representing `how-to-add' modes.
11510 * select-msw.c (x_sym_p): New.
11511 * select-msw.c (symbol_to_ms_cf): New.
11512 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
11513 symbols & clipboard formats. Can also handle string names.
11514 * select-msw.c (mswindows_own_selection):
11515 * select-msw.c (mswindows_selection_exists_p):
11516 Added `data-type' parameter. Use it.
11517 * select-msw.c (mswindows_available_selection_types): New.
11518 * select-msw.c (mswindows_register_selection_data_type): New.
11519 * select-msw.c (mswindows_selection_data_type_name): New.
11520 * select-msw.c (mswindows_own_selection):
11521 * select-msw.c (mswindows_get_foreign_selection):
11522 * select-msw.c (mswindows_selection_exists_p): Rewrote.
11523 * select-msw.c (console_create_select_mswindows): Added new methods.
11524 * select-msw.c (mswindows_destroy_selection): New.
11525 * select-msw.c (Vhandle_alist): New list.
11526 * select-msw.c (mswindows_own_selection):
11528 * select-x.c (x_own_selection):
11529 * select-x.c (x_selection_exists_p):
11530 * select-x.c: Added some comments about maybe using new
11532 * select-x.c (x_own_selection):
11534 * specifier.c: Remove definition of Qappend (now in general.c)
11535 * specifier.c (syms_of_specifier): Remove Qappend.
11537 2000-07-12 Martin Buchholz <martin@xemacs.org>
11539 * config.h.in: Add socklen_t.
11541 * s/decosf4-0.h: No special compiler flags needed or desired.
11542 In particular, undefine _BSD for DEC OSF 4.0.
11544 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11546 * redisplay-msw.c (msprinter_frame_output_end): Added.
11547 (console_type_create_redisplay_mswindows): Referred the above.
11549 * frame.c (setup_frame_without_minibuffer): Do not create a
11550 default minibuffer frame on a printer device.
11552 * frame-msw.c (apply_dc_geometry): Added.
11553 (msprinter_start_page):
11554 (msprinter_init_frame_3):
11555 (msprinter_eject_page): Use it.
11557 * console-msw.h (struct msprinter_frame): Added pix_left and top,
11558 and removed residual duplex and orientation properties.
11560 2000-07-11 Martin Buchholz <martin@xemacs.org>
11562 * eval.c (function_argcount): Work around a DEC CC compiler bug.
11564 * unexalpha.c: Remove system prototypes from C sources!
11566 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
11568 * eval.c: Remove references to M-x edit-options in DEFUNs for
11569 `defvar' and `defconst'.
11571 2000-07-09 Martin Buchholz <martin@xemacs.org>
11573 * config.h.in: Remove SMART_INCLUDE hackery.
11575 PostgreSQL hacking:
11576 * config.h.in: Don't use SMART_INCLUDE.
11578 * postgresql.h: Include libpq-fe.h here. Fix typo.
11579 * inline.c: Simply #include "postgresql.h"
11581 - Don't use SMART_INCLUDE
11582 - Use simply "const".
11583 - Use standard doc string conventions.
11584 - Use correct type for result of PQstatus.
11586 2000-07-09 Martin Buchholz <martin@xemacs.org>
11588 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
11590 C++ compilation changes.
11591 * config.h.in (EXTERN_C): Define.
11592 * config.h.in (not): This is also a C++ keyword.
11593 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
11594 * cm.c: Use EXTERN_C.
11595 * redisplay-tty.c: Use EXTERN_C.
11596 * sysdep.c: Use EXTERN_C. Remove Gould support.
11598 2000-07-09 Martin Buchholz <martin@xemacs.org>
11600 * general.c: Remove duplicate definition for Qfunction.
11602 2000-07-08 Ben Wing <ben@xemacs.org>
11604 * device-msw.c (msprinter_init_device):
11605 * device-msw.c (sync_printer_with_devmode):
11606 * device-msw.c (handle_devmode_changes):
11607 * device-msw.c (print_dialog_worker):
11608 * device-msw.c (Fmsprinter_apply_settings):
11609 * device-msw.c (hash_devmode):
11610 * device-msw.c (Fmsprinter_settings_despecialize):
11611 use Qmswindows_tstr, not Qctext.
11613 * vm-limit.c (check_memory_limits):
11614 avoid infinite loop printing warning messages.
11616 2000-07-05 Craig Lanning <lanning@scra.org>
11618 * Makefile.in.in: Add support for including the Windows resources
11619 when building with the cygwin and mingw targets.
11621 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
11622 not set or not correct.
11623 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
11624 (init_initial_directory): Don't try to use $PWD on the
11625 WIN32_NATIVE target.
11628 [[Add -mwindows to eliminate console window.]] not required --ben
11629 (HAVE_NATIVE_SOUND): removed; now handled by configure.
11630 (MAIL_USE_POP): removed; now handled by configure.
11632 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
11633 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
11634 (HAVE_NATIVE_SOUND): removed; now handled by configure.
11635 (MAIL_USE_POP): removed; now handled by configure.
11636 (ENCAPSULATE_STAT): from Dan Holmsand, added.
11637 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
11638 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
11640 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
11641 up from <winsock.h> via systime.h.
11642 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
11643 (getpagesize): from Dan Holmsand, added.
11644 Added #endif which was left dangling by Ben's mega patch; added
11645 comment to help prevent this in the future.
11647 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
11649 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11651 * console-msw.h (struct mswindows_device): Removed unnecessary
11652 cached device geometry values.
11653 Added update_tick and an accessor macro.
11654 (Lisp_Devmode): Added lrecord declaration.
11655 (struct msprinter_device): Contain devmode as a Lisp object.
11656 Added mswindows_get_selected_frame_hwnd();
11658 * console.h (struct console_methods): Indentation nitpicking.
11660 * device-msw.c (mswindows_init_device): Do not initialize geometry
11661 cache. Initialize update tick.
11662 (mswindows_device_system_metrics): Ask the device for its geometry.
11663 (global_free_2_maybe):
11664 (devmode_to_hglobal):
11665 (handle_printer_changes):
11666 (ensure_not_printing):
11667 (print_dialog_worker):
11668 (Fmsprinter_print_setup_dialog):
11669 (Fmsprinter_print_dialog):
11670 (plist_get_margin):
11671 (plist_set_margin):
11672 (Fmsprinter_page_setup_dialog): Added functions.
11673 (sync_printer_with_devmode):
11674 (handle_devmode_changes):
11675 (Fmsprinter_get_settings):
11676 (Fmsprinter_select_settings):
11677 (Fmsprinter_apply_settings):
11678 (allocate_devmode):
11679 (Fmsprinter_settings_copy):
11680 (Fmsprinter_settings_despecialize):
11682 (finalize_devmode):
11684 (hash_devmode): Added functions
11685 (syms_of_device_mswindows): Init devmode lrecord class.
11687 * device.h: Added an exfun for find-device.
11689 * event-msw.c (mswindows_wnd_proc): Do not update the cached
11690 geometry; although, recreate the device compatible DC.
11692 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
11693 (msprinter_init_frame_3):
11694 (msprinter_frame_property):
11695 (msprinter_internal_frame_property_p):
11696 (msprinter_frame_properties):
11697 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
11698 print job properties (will move to device settings).
11700 * lisp.h: Added symbols.
11702 * general.c (syms_of_general): Declared them.
11704 * hash.c (string_hash): Added.
11706 * lrecord.h (lrecord_type): Added devmode lrecord type.
11708 2000-07-02 Mike Sperber <mike@xemacs.org>
11710 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
11713 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
11715 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
11718 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
11720 * data.c (Fstring_to_number): Don't recognize floating point if
11723 2000-06-22 Martin Buchholz <martin@xemacs.org>
11725 * glyphs-widget.c (tab_control_query_geometry):
11726 (widget_query_geometry):
11727 (button_query_geometry):
11728 * glyphs.c (text_query_geometry):
11729 Enforce type correctness.
11731 2000-06-18 Martin Buchholz <martin@xemacs.org>
11733 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
11734 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
11736 2000-06-17 Martin Buchholz <martin@xemacs.org>
11738 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
11739 conflicts with gcc's fixincluded version of FOO.h.
11741 * glyphs.h (image_instance_geometry): Remove trailing `,'
11743 2000-06-08 Mike Alexander <mta@arbortext.com>
11745 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
11746 (shove_thread): Don't write the same output twice
11747 (make_ntpipe_output_stream): Increase priority of shove thread
11748 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
11750 (ntpipe_shove_closer): Don't delete the pipe until we're done with
11753 2000-06-12 Ben Wing <ben@xemacs.org>
11755 * s\mingw32.h (sigset):
11756 * s\windowsnt.h (sigset):
11757 rename msw_ to mswindows_ for consistency with general convention.
11759 2000-06-12 Ben Wing <ben@xemacs.org>
11762 * console-msw.c (mswindows_get_console_hwnd):
11763 * console-msw.c (mswindows_ensure_console_allocated):
11764 * console-msw.c (mswindows_hide_console):
11765 * console-msw.c (mswindows_show_console):
11766 * console-msw.c (mswindows_ensure_console_buffered):
11767 * console-msw.c (mswindows_output_console_string):
11768 * console-msw.c (mswindows_windows9x_p):
11770 * device-msw.c (mswindows_get_workspace_coords):
11771 * device-msw.c (mswindows_device_system_metrics):
11772 * dialog-msw.c (mswindows_popup_dialog_box):
11773 * event-msw.c (mswindows_wnd_proc):
11774 * frame-msw.c (mswindows_size_frame_internal):
11775 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11776 * menubar-msw.c (displayable_menu_item):
11777 * menubar-msw.c (mswindows_char_is_accelerator):
11779 * nt.c (mswindows_sigset):
11780 * nt.c (mswindows_sigrelse):
11781 * nt.c (mswindows_sigpause):
11782 * nt.c (mswindows_raise):
11783 * nt.c (timer_proc):
11785 * ntproc.c (find_child_console):
11786 * ntproc.c (sys_kill):
11788 * print.c (std_handle_out_external):
11789 * process-nt.c (find_child_console):
11790 * process-nt.c (send_signal_the_95_way):
11791 * process-nt.c (ensure_console_window_exists):
11792 * process-nt.c (nt_create_process):
11794 rename msw_ to mswindows_ for consistency with general convention.
11798 include nt.h, not syswindows.h.
11800 * nt.c (mswindows_fstat):
11801 * nt.c (mswindows_stat):
11802 prefix mswindows_ instead of attempting to directly override the
11803 library functions. fix declarations.
11806 include syswindows.h. move some sysdep.h stuff here.
11809 include syswindows.h, not <windows.h>.
11817 * sysdep.c (sys_fstat):
11818 * sysdep.c (sys_stat):
11819 call mswindows versions when appropriate.
11822 move mswin decls to nt.h.
11825 add long comment describing appropriate use of the various windows
11828 2000-06-11 Ben Wing <ben@xemacs.org>
11830 * device-x.c: Correct doc string for sixth arg of x-get-resource.
11832 2000-06-10 Ben Wing <ben@xemacs.org>
11834 * Makefile.in.in (release):
11835 Correction to make sure xemacs.exe always dumped when correct.
11839 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
11841 * buffer.c (set_buffer_internal):
11842 [[[[2]]]]: Remove HAVE_FEP code.
11844 * buffer.c (init_initial_directory):
11848 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
11852 * callproc.c (call_process_cleanup):
11853 * callproc.c (Fold_call_process_internal):
11854 * callproc.c (child_setup):
11855 * callproc.c (getenv_internal):
11856 * callproc.c (init_callproc):
11857 * callproc.c (vars_of_callproc):
11858 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
11859 __CYGWIN32__ -> CYGWIN.
11860 DOS_NT -> WIN32_NATIVE.
11861 Remove MSDOS support/references, converting to WIN32_NATIVE
11863 __MINGW32__ -> MINGW.
11864 Fix windows.h includes.
11865 Remove bogus HAVE_NTGUI.
11871 mswindows_message_outputted added for use in allowing startup
11872 errors on the console to be seen.
11874 * console-msw.c (msw_ensure_console_allocated):
11875 * console-msw.c (msw_output_console_string):
11876 * console-msw.c (DHEADER):
11877 * console-msw.c (DOPAQUE_DATA):
11878 * console-msw.c (DEVENT):
11879 * console-msw.c (DCONS):
11880 * console-msw.c (DCONSCDR):
11881 * console-msw.c (DSTRING):
11882 * console-msw.c (DVECTOR):
11883 * console-msw.c (DSYMBOL):
11884 * console-msw.c (DSYMNAME):
11887 * console-stream.c (stream_init_console):
11888 Fix text/binary problems.
11891 * device-msw.c (mswindows_finish_init_device):
11892 * device-msw.c (mswindows_delete_device):
11895 * device.c (handle_asynch_device_change):
11899 * dgif_lib.c (DGifOpenFileName):
11900 * dgif_lib.c (DGifOpenFileHandle):
11901 * dgif_lib.c (DGifGetLine):
11902 * dgif_lib.c (DGifGetPixel):
11903 Added config.h/lisp.h, fix up includes.
11910 * dired.c (file_name_completion):
11911 * dired.c (Ffile_attributes):
11912 * dired.c (syms_of_dired):
11916 * dumper.c (pdump_file_unmap):
11917 * dumper.c (pdump_load):
11921 * editfns.c (Ftemp_directory):
11922 * editfns.c (user_login_name):
11923 * editfns.c (Fuser_real_login_name):
11924 * editfns.c (get_home_directory):
11927 * elhash.c (finish_marking_weak_hash_tables):
11928 [[[[5]]]]: Fix GCC warnings.
11931 * emacs.c (mswindows_handle_hardware_exceptions):
11932 * emacs.c (make_arg_list_1):
11933 * emacs.c (main_1):
11934 * emacs.c (Fkill_emacs):
11935 * emacs.c (Fdump_emacs):
11937 Fix problems with nested crashes, add long comment.
11939 * event-Xt.c (init_event_Xt_late):
11943 * event-msw.c (mswindows_dde_callback):
11944 * event-msw.c (mswindows_handle_sticky_modifiers):
11945 * event-msw.c (mswindows_wnd_proc):
11949 * events.c (character_to_event):
11953 * fileio.c (Ffile_name_directory):
11954 * fileio.c (Ffile_name_nondirectory):
11955 * fileio.c (directory_file_name):
11956 * fileio.c (Fexpand_file_name):
11957 * fileio.c (Fsubstitute_in_file_name):
11958 * fileio.c (Ffile_name_absolute_p):
11959 * fileio.c (check_executable):
11960 * fileio.c (Ffile_readable_p):
11961 * fileio.c (Ffile_accessible_directory_p):
11962 * fileio.c (Ffile_modes):
11963 * fileio.c (Funix_sync):
11964 * fileio.c (vars_of_fileio):
11967 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
11969 Expand getdefdir defn.
11970 Fix bogus rename() comment.
11972 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
11973 to use standard XEmacs include files, e.g. sysfile.h, rather
11974 than system-specific includes.
11980 * frame.c (vars_of_frame):
11984 * getloadavg.c (getloadavg):
11986 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
11987 (We don't use it elsewhere in the code; just add a comment.)
11994 * glyphs-msw.c (mswindows_resource_instantiate):
11997 * glyphs-x.c (x_native_layout_instantiate):
12000 * gui-msw.c (Fmswindows_shell_execute):
12009 * lread.c (locate_file_in_directory_mapper):
12016 * mem-limits.h (get_lim_data):
12028 * nt.c (rva_to_section):
12029 * nt.c (mswindows_executable_type):
12031 Fix closedir() defn.
12034 [[[[8]]]]: *_OK defs moved to sysfile.h.
12043 * print.c (std_handle_out_external):
12047 * process-nt.c (nt_create_process):
12049 try to fix process quoting somewhat.
12051 * process-unix.c (unix_create_process):
12055 * process.c (vars_of_process):
12062 * realpath.c (xrealpath):
12065 * redisplay-tty.c (init_tty_for_redisplay):
12075 * sheap.c (more_static_core):
12076 * sheap.c (report_sheap_usage):
12080 * signal.c (alarm_signal):
12087 * strftime.c (zone_name):
12090 * symsinit.h (init_sunpro):
12094 commctrl.h not in Cygwin b20.1.
12097 * sysdep.c (endif):
12098 * sysdep.c (sys_subshell):
12099 * sysdep.c (init_baud_rate):
12100 * sysdep.c (emacs_get_tty):
12101 * sysdep.c (emacs_set_tty):
12102 * sysdep.c (tty_init_sys_modes_on_device):
12103 * sysdep.c (init_system_name):
12104 * sysdep.c (sys_open):
12105 * sysdep.c (interruptible_open):
12106 * sysdep.c (sys_fopen):
12107 * sysdep.c (sys_mkdir):
12108 * sysdep.c (sys_rename):
12109 * sysdep.c (get_process_times_1):
12116 * sysdir.h (DIRENTRY_NONEMPTY):
12119 * sysdll.c (dll_init):
12125 added text/binary defs.
12131 * sysproc.h (EDESTADDRREQ):
12132 * sysproc.h (poll_fds_for_input):
12149 Always define WIN32_LEAN_AND_MEAN.
12151 * unexcw.c (unexec):
12155 * unexec.c (copy_text_and_data):
12156 * unexec.c (adjust_lnnoptrs):
12160 * unexnt.c (_start):
12163 2000-06-07 Ben Wing <ben@xemacs.org>
12165 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
12166 was used only as a model. We've long since extracted any useful
12167 logic or code out of this. (I just did an exhaustive search.)
12169 * s\msdos.h: Removed.
12171 * s\windows95.h: Removed.
12173 2000-06-10 Ben Wing <ben@xemacs.org>
12177 Don't use extern with fun defs.
12181 Remove nt\inc include.
12182 Remove getdisk, getdefdir. (The former is unused, the latter
12183 expanded in fileio.h.)
12186 * s\windowsnt.h (WIN32_NATIVE):
12187 * s\windowsnt.h (HAVE_STRCASECMP):
12189 Add long comment about preprocessor changes.
12190 Remove getdisk, getdefdir. (The former is unused, the latter
12191 expanded in fileio.h.)
12193 2000-06-10 Ben Wing <ben@xemacs.org>
12202 Remove bogus/unused NO_SOCK_SIGIO.
12204 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
12206 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
12209 2000-06-04 Mike Sperber <mike@xemacs.org>
12211 * casetab.c (set_case_table): For `set-standard-case-table',
12212 actually deposit the new case tables where the rest of XEmacs can
12215 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
12217 * data.c (Faset): Don't cast XCHAR() to unsigned char.
12219 2000-06-05 Ben Wing <ben@xemacs.org>
12221 * callproc.c (child_setup): Don't do close_load_descs() under
12222 MS Windows. Put in a comment explaining why.
12224 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
12226 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
12227 Toolkit shell" which breaks `kill-compilation' on Windows NT
12228 native, retaining STDERR handling improvements.
12230 2000-06-01 Andreas Jaeger <aj@suse.de>
12232 * s/s390.h: Support for S390, based on a patch by Martin
12233 Schwidefsky <schwidefsky@de.ibm.com>.
12235 2000-05-30 Andy Piper <andy@xemacs.org>
12237 * window.c (allocate_window):
12238 (make_dummy_parent):
12239 (Fset_window_configuration): use new hashtable type.
12241 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
12242 (struct image_instantiator_methods):
12243 (struct Lisp_Image_Instance): make instance geometry signed.
12245 * glyphs.c (instantiate_image_instantiator):
12246 (image_instance_query_geometry):
12247 (image_instance_layout):
12248 (image_instance_layout):
12249 (query_string_geometry):
12250 (text_query_geometry):
12251 (image_instantiate):
12252 (image_instantiate):
12253 (cache_subwindow_instance_in_frame_maybe):
12254 (subwindow_query_geometry): make instance geometry signed.
12256 * glyphs-widget.c (widget_query_geometry):
12258 (button_query_geometry):
12259 (tree_view_query_geometry):
12260 (tab_control_query_geometry):
12261 (layout_query_geometry):
12263 (native_layout_layout): make instance geometry signed.
12265 2000-05-29 Olivier Galibert <galibert@pobox.com>
12267 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
12270 * general.c (syms_of_general): Add Qfull_assoc symbol.
12272 * data.c (finish_marking_weak_lists): Mark full-assoc lists
12274 (decode_weak_list_type): Decode full-assoc type.
12275 (encode_weak_list_type): Encode full-assoc type.
12276 (Fmake_weak_list): Update doc string.
12278 2000-05-30 Andy Piper <andy@xemacs.org>
12280 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
12282 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
12283 (decode_hash_table_weakness): ditto.
12284 (Fhash_table_weakness): ditto.
12285 (Fhash_table_type): ditto.
12286 (finish_marking_weak_hash_tables): ditto.
12287 (hash_table_weakness_validate): ditto.
12288 (syms_of_elhash): ditto.
12290 2000-05-28 Martin Buchholz <martin@xemacs.org>
12292 * XEmacs 21.2.34 is released.
12294 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
12296 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
12298 (updating_line_start_cache): Gone.
12299 (regenerate_window): Replace resetting of VERTICAL_CLIP by
12300 generic code to force a minimum of 1 line laid out in the
12303 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
12305 * glyphs.c (instantiate_image_instantiator): Check for initialized
12306 height & width no longer special cases IMAGE_NOTHING.
12307 (nothing_instantiate): Set height and width of instance.
12309 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
12311 * unexelf.c (unexec): Search for ".data" section.
12312 Initialize new_data2_offset from old_data_index.
12313 Remove redundant check for ElfW.
12315 2000-05-23 Andy Piper <andy@xemacs.org>
12317 * glyphs.c (get_image_instantiator_governing_domain): allow more
12318 specific domains as the governing domain rather than expecting an
12319 exact match. This fixes problems with layouts.
12321 2000-05-22 Andy Piper <andy@xemacs.org>
12323 * redisplay-output.c (compare_runes): check for non-images
12325 * glyphs.c (set_glyph_dirty_p): ditto.
12326 (update_glyph_cachel_data): ditto.
12328 * glyphs-widget.c (layout_post_instantiate): ditto.
12329 (layout_post_instantiate): ditto.
12331 * event-msw.c (mswindows_wnd_proc): warning removal.
12333 2000-05-12 Craig Lanning <CraigL@DyCon.com>
12335 * s\mingw32.h: Added #undef for CLASH_DETECTION.
12337 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
12339 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
12341 * nt.c (rva_to_section): mingw32 needs rva_to_section.
12342 (mswindows_executable_type): mingw32 now has enough headers for
12345 2000-05-20 Andy Piper <andy@xemacs.org>
12347 * console-msw.c (mswindows_output_last_error): ; -> ,
12349 2000-05-12 Andy Piper <andy@xemacs.org>
12351 * console-msw.c (FROB): compare ints with ints.
12353 2000-05-11 Andy Piper <andy@xemacs.org>
12355 * glyphs-x.c (x_finalize_image_instance): make minimal build
12358 2000-05-20 Ben Wing <ben@xemacs.org>
12361 * event-Xt.c (vars_of_event_Xt):
12362 move modifier-keys-are-sticky to event-stream.c.
12365 * event-msw.c (mswindows_enqueue_mouse_button_event):
12366 * event-msw.c (key_needs_default_processing_p):
12367 * event-msw.c (XEMSW_LCONTROL):
12368 * event-msw.c (mswindows_handle_sticky_modifiers):
12369 * event-msw.c (FROB):
12370 * event-msw.c (clear_sticky_modifiers):
12371 * event-msw.c (output_modifier_keyboard_state):
12372 * event-msw.c (output_alt_keyboard_state):
12373 * event-msw.c (mswindows_wnd_proc):
12374 * event-msw.c (mswindows_modifier_state):
12375 * event-msw.c (emacs_mswindows_handle_magic_event):
12376 implement sticky modifiers.
12379 * event-stream.c (vars_of_event_stream):
12380 move modifier-keys-are-sticky here.
12383 add CHECK_FUNCTION.
12386 implement map-range-table.
12389 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
12391 * redisplay-tty.c (reset_tty_modes):
12392 (tty_redisplay_shutdown): Adjust argument type to
12393 tty_frame_output_end.
12395 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
12397 * eval.c (Fbacktrace): Don't output a line with only right
12400 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
12402 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
12403 (Fpq_reset_poll): Ditto.
12405 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
12407 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
12409 2000-05-16 Ben Wing <ben@xemacs.org>
12412 * buffer.c (dfc_convert_to/from_internal_format):
12413 * buffer.c (reinit_vars_of_buffer):
12414 Fix conversion functions to allow reentrancy.
12417 * console-msw.c (mswindows_output_last_error):
12418 New fun, generally useful -- output a human-readable
12419 version of GetLastError() on the console.
12422 * console-msw.h (struct mswindows_frame):
12423 Changes for DeferWindowPos. Declare mswindows_output_last_error().
12425 * console-stream.c (stream_output_begin):
12426 * console-stream.c (stream_output_end):
12427 * console-stream.c (stream_output_vertical_divider):
12428 * console-stream.c (stream_clear_region):
12429 * console-stream.c (stream_flash):
12430 * console-stream.c (console_type_create_stream):
12431 Delete blank stream methods, not needed.
12433 * console.h (struct console_methods):
12434 Split begin/end methods into window and frame.
12437 * event-msw.c (mswindows_handle_paint):
12438 * event-msw.c (output_alt_keyboard_state):
12439 * event-msw.c (mswindows_wnd_proc):
12440 * event-msw.c (vars_of_event_mswindows):
12441 Comment about problems with ignored-expose.
12442 Define mswindows-debug-events; not really implemented.
12444 * frame-msw.c (mswindows_init_frame_1):
12448 * glyphs-msw.c (begin_defer_window_pos):
12449 * glyphs-msw.c (mswindows_unmap_subwindow):
12450 * glyphs-msw.c (mswindows_map_subwindow):
12451 * glyphs-msw.c (mswindows_resize_subwindow):
12452 Use DeferWindowPos to reduce flashing when mapping/unmapping.
12454 * glyphs.c (make_image_instance_1):
12457 * gutter.c (Fredisplay_gutter_area):
12458 Use new begin/end methods.
12460 * lisp.h (Dynarr_new2):
12464 * redisplay-msw.c (mswindows_frame_output_begin):
12465 * redisplay-msw.c (mswindows_frame_output_end):
12466 * redisplay-msw.c (console_type_create_redisplay_mswindows):
12467 New begin/end methods -- handle DeferWindowPos.
12469 * redisplay-output.c (redisplay_move_cursor):
12470 * redisplay-output.c (redraw_cursor_in_window):
12471 * redisplay-output.c (redisplay_update_line):
12472 * redisplay-output.c (redisplay_output_window):
12473 New begin/end methods.
12476 * redisplay-tty.c (tty_frame_output_begin):
12477 * redisplay-tty.c (tty_frame_output_end):
12478 * redisplay-tty.c (console_type_create_redisplay_tty):
12479 New begin/end methods.
12482 * redisplay-x.c (x_window_output_begin):
12483 * redisplay-x.c (x_window_output_end):
12484 * redisplay-x.c (console_type_create_redisplay_x):
12485 New begin/end methods.
12487 * redisplay.c (redisplay_frame):
12488 * redisplay.c (Fredisplay_echo_area):
12489 New begin/end methods.
12490 use MAYBE_DEVMETH for clear_frame; it may not exist.
12492 * window.h (WINDOW_XFRAME):
12493 WINDOW_XFOO macros -- get locale and decode struct pointer.
12496 2000-05-12 Ben Wing <ben@xemacs.org>
12499 * emacs.c (ensure_no_quitting_from_now_on):
12500 * emacs.c (fatal_error_signal):
12501 * emacs.c (mswindows_handle_hardware_exceptions):
12503 * emacs.c (Fkill_emacs):
12504 * emacs.c (shut_down_emacs):
12505 * emacs.c (assert_failed):
12506 various improvements in fatal error handling.
12509 move preparing_for_armageddon to emacs.c.
12512 declare fatal_error_in_progress.
12515 * print.c (std_handle_out_external):
12516 * print.c (std_handle_out_va):
12517 * print.c (stderr_out):
12518 * print.c (stdout_out):
12519 use console under mswin when no standard output.
12520 don't do code conversion during fatal error.
12522 * scrollbar.c (Fscrollbar_page_up):
12523 * scrollbar.c (Fscrollbar_page_down):
12524 fix missing else. reindent.
12526 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
12530 * glyphs.h (GLYPH_CACHEL_DESCENT):
12531 (GLYPH_CACHEL_DESCENT):
12532 (GLYPH_CACHEL_DESCENT):
12533 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
12534 used in case these are inline functions.
12535 Use more absurd values to error check.
12537 include window.h for error check functions.
12539 2000-05-11 Ben Wing <ben@xemacs.org>
12541 * cmdloop.c (Freally_early_error_handler):
12542 Display message box under windows; otherwise, message will disappear
12543 before it can be viewed.
12546 * console-msw.c (Fmswindows_message_box):
12547 * console-msw.c (FROB):
12548 * console-msw.c (syms_of_console_mswindows):
12549 Define new fun `mswindows-message-box'.
12550 #### I will merge this into `popup-dialog-box'; just give me
12554 * general.c (syms_of_general):
12555 Some new symbols used in `mswindows-message-box'.
12558 * glyphs.c (Fset_image_instance_property):
12559 put warning in this fun.
12562 * glyphs.h (GLYPH_CACHEL_WIDTH):
12563 * glyphs.h (GLYPH_CACHEL_ASCENT):
12564 * glyphs.h (GLYPH_CACHEL):
12565 * glyphs.h (GLYPH_CACHEL_GLYPH):
12566 define error-checking versions to try to catch a bug i've seen --
12567 redisplay gets in an infinite loop because the glyph width of the
12568 continuation glyph is 65535.
12571 Extern message-box stuff.
12573 * window.c (allocate_window):
12574 * window.c (make_dummy_parent):
12575 * window.c (Fset_window_configuration):
12576 Use EQUAL not EQ for subwindow caches to make them work a bit
12577 better. (Something is still very broken.)
12580 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
12582 * glyphs.c (image_instantiate): Suppress gcc warnings.
12583 (Fmake_image_instance): Fix doc string.
12584 * specifier.c (Fmake_specifier): Ditto.
12586 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
12588 * paths.h.in (PATH_LOCK): Removed.
12589 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
12590 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
12592 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
12594 * fns.c (Ffeaturep): Update e-mail address in doc-string.
12595 Document (featurep '(and xemacs 21.02)).
12597 2000-05-09 Ben Wing <ben@xemacs.org>
12599 * buffer.c (complex_vars_of_buffer):
12600 update modeline-format doc.
12603 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
12606 timeline of all released versions of Emacs, for use in creating
12607 authorship comments and in synching up.
12609 * glyphs-widget.c (image_instantiator_buttons):
12610 * glyphs-widget.c (image_instantiator_edit_fields):
12611 * glyphs-widget.c (image_instantiator_combo_box):
12612 * glyphs-widget.c (image_instantiator_scrollbar):
12613 * glyphs-widget.c (image_instantiator_progress_guage):
12614 * glyphs-widget.c (image_instantiator_tree_view):
12615 * glyphs-widget.c (image_instantiator_tab_control):
12616 * glyphs-widget.c (image_instantiator_labels):
12617 * glyphs-widget.c (image_instantiator_layout):
12618 * glyphs-widget.c (image_instantiator_native_layout):
12619 rename decode_domain method to governing_domain.
12622 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
12623 * glyphs.c (add_entry_to_device_ii_format_list):
12624 make sure we don't put an entry more than once into the list.
12625 * glyphs.c (check_instance_cache_mapper):
12626 *************************************************************
12627 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
12629 *************************************************************
12630 * glyphs.c (get_image_instantiator_governing_domain):
12631 clean up, expand on new concept of governing domain.
12632 * glyphs.c (instantiate_image_instantiator):
12633 * glyphs.c (allocate_image_instance):
12634 use governing_domain instead of cache_domain in naming.
12635 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
12636 * glyphs.c (make_image_instance_1):
12637 * glyphs.c (Fmake_image_instance):
12638 allow for any domain (not just device), and process the
12639 governing domain correctly. very big doc fix.
12640 * glyphs.c (Fimage_instance_domain):
12641 new primitive, to retrieve the governing domain of an image instance.
12642 * glyphs.c (image_instantiate):
12643 use new governing_domain stuff. this fixes a crash you could get
12644 by instantiating certain widget glyphs in frame locales. (should
12645 signal an error instead of crashing.)
12646 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
12647 * glyphs.c (Fglyphp): clean up doc.
12648 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
12649 * glyphs.c (syms_of_glyphs):
12650 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
12651 * glyphs.c (image_instantiator_format_create): add some comments about
12653 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
12654 for current-display-table. (Apparently Hrjove implemented in 1998 a
12655 design I wrote up in 1996, but didn't update the doc string.)
12657 * glyphs.h: clean up a doc string.
12658 * glyphs.h (governing_domain):
12659 * glyphs.h (struct image_instantiator_methods):
12660 changes for governing_domain stuff.
12663 * gutter.c (Fgutter_specifier_p):
12664 * gutter.c (Fgutter_size_specifier_p):
12665 * gutter.c (Fgutter_visible_specifier_p):
12667 * objects.c (Fcolor_specifier_p):
12668 * objects.c (Ffont_specifier_p):
12669 * objects.c (Fface_boolean_specifier_p):
12670 doc strings moved to make-*-specifier.
12672 * redisplay.c (add_disp_table_entry_runes_1):
12673 * redisplay.c (generate_fstring_runes):
12674 * redisplay.c (screen):
12675 add random comments and doc strings.
12678 * specifier.c (Fmake_specifier):
12679 major overhaul of this doc string.
12681 * specifier.c (Fvalid_specifier_domain_p):
12682 comment about the bogosity of image instances being domains.
12683 * specifier.c (decode_domain):
12684 now non-static, used in glyphs.c.
12685 * specifier.c (specifier_instance):
12686 comment about the bogosity of image instances being domains.
12687 * specifier.c (Fgeneric_specifier_p):
12688 move doc string to make-generic-specifier.
12689 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
12693 * specifier.h (DOMAIN_FRAME):
12694 * specifier.h (DOMAIN_LIVE_P):
12695 * specifier.h (DOMAIN_XDEVICE):
12697 add comments about problems with these macros.
12698 prototype for decode_domain.
12701 * toolbar.c (Ftoolbar_specifier_p):
12702 move doc string to `make-toolbar-specifier'.
12704 * window.c (window_unmap_subwindows_cache_mapper):
12705 *************************************************************
12706 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
12708 *************************************************************
12710 2000-05-09 Andy Piper <andy@xemacs.org>
12712 * glyphs.h: declare reset_frame_subwindow_instance_cache.
12714 * window.c (Fset_window_configuration): reset the frame subwindow
12715 cache and re-initialize the window subwindow caches.
12717 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
12719 2000-05-09 Ben Wing <ben@xemacs.org>
12721 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
12724 2000-04-26 Mike Woolley <mike@bulsara.com>
12726 * ntheap.c: Changed recreate_heap to limit the amount reserved
12727 for the heap to that which is actually available. Also now
12728 displays a message box (with some dignostics) in the event that
12729 it still can't start.
12731 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
12733 * callproc.c (Fold_call_process_internal): GCPRO path
12735 2000-05-08 Jan Vroonhof <jan@xemacs.org>
12737 Patch by Bill Perry.
12739 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
12740 back data instead of #ifdef.
12741 (Fscrollbar_page_down): ditto.
12743 2000-05-07 Ben Wing <ben@xemacs.org>
12746 Kludge for defining Qmswindows_tstr.
12749 * nt.c (open_input_file):
12750 * nt.c (open_output_file):
12751 * nt.c (rva_to_section):
12752 * nt.c (mswindows_executable_type):
12753 Move all memory-mapped-file routines here (some were in unexnt.c,
12754 which is bad because they are used by process-nt.c, and unexnt
12755 won't be around when portable dumping). Synched the above routines
12759 Removed ifdef'd out bogus code.
12760 Fixed some prototypes.
12762 * nt.h (file_data):
12763 * nt.h (OFFSET_TO_RVA):
12764 * nt.h (RVA_TO_OFFSET):
12765 * nt.h (RVA_TO_PTR):
12766 Moved the memory-mapped-file structures, macros and prototypes
12767 here, to parallel nt.c. ntheap.h should really be removed
12768 entirely, and it's a non-portable-dumper specific file.
12770 * ntheap.h (round_to_next):
12771 Moved the memory-mapped-file structures, macros and prototypes
12774 * ntproc.c (compare_env):
12775 Moved rva_to_section and mswindows_executable_type to nt.c.
12776 Moved compare_env to process-nt.c.
12777 ntproc.c will die, one day.
12779 * ntproc.c (sys_spawnve):
12780 Account for win32_ -> mswindows_.
12783 * process-nt.c (struct nt_process_data):
12784 * process-nt.c (ensure_console_window_exists):
12785 * process-nt.c (compare_env):
12786 * process-nt.c (nt_create_process):
12787 * process-nt.c (nt_kill_process_by_pid):
12788 * process-nt.c (syms_of_process_nt):
12789 * process-nt.c (vars_of_process_nt):
12790 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
12791 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
12792 changes). Eliminate our old `nt-quote-process-args' mechanism.
12793 Synch up nt_create_process with FSF 20.6 sys_spawnve.
12794 Move compare_env here from ntproc.c.
12796 * process.c (Fprocess_send_region):
12797 Takes an optional fourth argument, BUFFER, which should fix some
12798 problems with call-process.
12801 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
12804 Move ICC_BAR_CLASSES to syscommctrl.h.
12805 Add preliminary macros for MSWindows/Mule. More to come.
12808 * unexnt.c (unexec):
12809 open_output_file moved to nt.c.
12812 2000-05-05 Andy Piper <andy@xemacs.org>
12814 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
12815 instance from the frame cache also since GC may catch up too late
12816 to make frame deletion sane.
12818 2000-05-04 Andy Piper <andy@xemacs.org>
12820 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
12821 (x_finalize_image_instance): ungcpro on deletion.
12823 * glyphs.c (image_instantiator_format_create): give pointers a
12824 query geometry method so that the geometry is at least set.
12826 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
12827 initialize layouts if using widgets.
12829 2000-05-03 Andy Piper <andy@xemacs.org>
12831 * nt.c: remove bogus reference to sysmmsystem.h
12833 * gui-x.c (popup_selection_callback): fix no selection abort.
12835 2000-05-02 Andy Piper <andy@xemacs.org>
12837 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
12838 (mswindows_widget_instantiate): ditto.
12840 * glyphs-widget.c (initialize_widget_image_instance): initialize
12841 children correctly.
12842 (widget_instantiate): cope with children and items in the same
12845 * glyphs.c (mark_image_instance): cope with children as a first
12847 (image_instance_equal): ditto.
12848 (image_instance_hash): ditto.
12849 (image_instance_changed): ditto.
12851 2000-04-30 Andy Piper <andy@xemacs.org>
12853 * glyphs.c (subwindow_query_geometry): new function. Return some
12855 (subwindow_instantiate): don't assign dimensions if none have been
12857 (image_instantiator_format_create): add subwindow_query_geometry.
12858 (print_image_instance): cope with layouts as widgets.
12860 2000-04-29 Andy Piper <andy@xemacs.org>
12862 * frame.c (delete_frame_internal): call
12863 free_frame_subwindow_instance_cache so that all subwindows are
12864 finalized before their parent.
12865 (mark_frame): remove subwindow_cachels.
12866 (Fmake_frame): remove subwindow_cachel manipulation.
12867 (allocate_frame_core): subwindow_instance_cache is a weak list.
12868 (delete_frame_internal): set subwindow_instance_cache to nil.
12870 * glyphs-msw.c (mswindows_finalize_image_instance): make double
12872 (mswindows_finalize_image_instance): use the device
12873 not the domain as the domain may have died already.
12875 * glyphs-x.c (x_finalize_image_instance): ditto.
12876 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
12879 * redisplay-output.c (redisplay_unmap_subwindows): update for
12880 subwindow instance cache as a weak list.
12881 (redisplay_unmap_subwindows_maybe): ditto.
12882 (redisplay_unmap_subwindows_except_us): ditto.
12884 * glyphs.c (unmap_subwindow): error checking will check the domain
12885 so don't deal with it here. Don't use cachels anymore.
12886 (map_subwindow): ditto.
12887 (update_subwindow_cachel_data): remove old accessor names.
12888 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
12889 (Fresize_subwindow): don't update cachel.
12890 (mark_subwindow_cachels):
12891 (update_subwindow_cachel_data):
12892 (add_subwindow_cachel):
12893 (get_subwindow_cachel_index):
12894 (update_subwindow_cachel):
12895 (reset_subwindow_cachels):
12896 (mark_subwindow_cachels_as_not_updated): deleted.
12897 (cache_subwindow_instance_in_frame_maybe): new function. Add a
12898 subwindow instance to the frame cache.
12899 (find_matching_subwindow): update for subwindow instance cache as
12901 (update_widget_instances): ditto.
12902 (image_instance_type_to_mask):inlined.
12903 (free_frame_subwindow_instance_cache): new function. finalize all
12904 subwindows that are instantiated.
12906 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
12907 of cachel information.
12908 (IMAGE_INSTANCE_DISPLAY_X):
12909 (IMAGE_INSTANCE_DISPLAY_Y):
12910 (IMAGE_INSTANCE_DISPLAY_WIDTH):
12911 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
12912 (XIMAGE_INSTANCE_DISPLAY_X):
12913 (XIMAGE_INSTANCE_DISPLAY_Y):
12914 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
12915 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
12916 remove subwindow_cachel structure and function references.
12917 (image_instance_type_to_mask): inline from glyphs.c
12919 * redisplay.c (redisplay_frame): remove subwindow_cachel
12922 * frame.h (struct frame): remove subwindow_cachels.
12923 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
12925 * frameslots.h: add subwindow_instance_cache.
12927 * window.c (replace_window): check subwindow cache of replacement.
12928 (window_unmap_subwindows_cache_mapper):
12929 (window_unmap_subwindows): new functions. Unmap all subwindows
12930 cached on this window.
12931 (mark_window_as_deleted): unmap all subwindows.
12933 2000-04-27 Andy Piper <andy@xemacs.org>
12935 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
12937 * glyphs-widget.c (widget_layout): return something.
12938 (layout_layout): return something. Fail if not initialized.
12939 (layout_query_geometry): ditto.
12940 (image_instantiator_native_layout): new function. Initialized the
12941 native layout type.
12942 (widget_instantiate): don't do layout stuff here.
12944 * glyphs.c (instantiate_image_instantiator): reorded calling or
12945 instantiate and post_instantiate with layout in between.
12946 (image_instance_layout): be more selective about deciding whether
12947 the layout has been done or not.
12949 * glyphs.h (struct image_instantiator_methods): return a value
12950 from layout_method.
12952 2000-04-26 Andy Piper <andy@xemacs.org>
12954 * glyphs.c (allocate_image_instance): make initial width and
12955 height unspecified. Set initialized to 0.
12957 * syscommctrl.h new file. Encapsulates commctrl.h.
12959 * syswindows.h new file. Encapsulates windows.h.
12961 * ntplay.c: use new syswindows.h and syscommctrl.h header.
12963 * console-msw.h: ditto.
12965 * redisplay-tty.c (tty_output_display_block): remove layout references.
12967 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
12968 window handle rather than just the frame.
12970 * glyphs.c (mark_image_instance): remove layout references.
12971 (print_image_instance): ditto.
12972 (image_instance_equal): ditto.
12973 (image_instance_hash): ditto.
12974 (decode_image_instance_type): ditto.
12975 (encode_image_instance_type): ditto.
12976 (image_instantiate): ditto.
12977 (allocate_glyph): ditto.
12978 (Fimage_instance_height): ditto.
12979 (Fimage_instance_width): ditto.
12980 (update_subwindow): ditto.
12982 * redisplay-x.c (x_output_display_block): recode for layouts as
12985 * redisplay-output.c (redisplay_output_layout): recode for layouts
12987 (compare_runes): remove layout references.
12989 * redisplay-msw.c (mswindows_output_display_block): recode for
12990 layouts as widgets.
12992 * glyphs-widget.c (image_instantiator_layout): remove
12993 layout_possible_dest_types.
12994 (layout_possible_dest_types): deleted.
12996 * glyphs.h (image_instance_type): remove layout references.
12997 (struct Lisp_Image_Instance): ditto. Add initialized flag.
12998 (IMAGE_INSTANCE_INITIALIZED): new accessor.
12999 (XIMAGE_INSTANCE_INITIALIZED): ditto.
13001 2000-04-25 Andy Piper <andy@xemacs.org>
13003 * glyphs-widget.c (image_instantiator_buttons):
13004 (image_instantiator_edit_fields):
13005 (image_instantiator_combo_box):
13006 (image_instantiator_scrollbar):
13007 (image_instantiator_progress_guage):
13008 (image_instantiator_tree_view):
13009 (image_instantiator_tab_control):
13010 (image_instantiator_labels):
13011 (image_instantiator_layout): call default post_instantiate method.
13012 (widget_post_instantiate): new function. Simply lays out the
13015 * glyphs.h (struct image_instantiator_methods): add
13016 post_instantiate method.
13018 * glyphs.c (instantiate_image_instantiator): add post_instantiate
13021 2000-04-23 Andy Piper <andy@xemacs.org>
13023 * glyphs.h (struct image_instantiator_methods): add
13024 decode_domain_method.
13025 (struct Lisp_Image_Instance): remove subwindow frame - it can be
13026 derived from the domain.
13027 (IMAGE_INSTANCE_FRAME): new accessor.
13028 (XIMAGE_INSTANCE_FRAME): ditto.
13030 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
13031 instead of _SUBWINDOW_FRAME.
13032 (finalize_image_instance): ditto.
13033 (Fimage_instance_foreground): ditto.
13034 (Fimage_instance_background): ditto.
13035 (image_instantiate): ditto.
13036 (update_subwindow_cachel): ditto.
13037 (update_subwindow): ditto.
13038 (unmap_subwindow): ditto.
13039 (map_subwindow): ditto
13040 (subwindow_instantiate): ditto.
13041 * glyphs-msw.c (mswindows_update_widget): ditto.
13042 (mswindows_progress_gauge_instantiate): ditto.
13043 (mswindows_tab_control_update): ditto.
13044 * glyphs-x.c (x_update_widget): ditto.
13045 (x_widget_instantiate): ditto.
13046 (x_tab_control_instantiate): ditto.
13047 (x_tab_control_update): ditto.
13048 * event-msw.c (mswindows_wnd_proc): ditto
13050 * glyphs-widget.c (image_instantiator_layout): use
13051 subwindow_decode_domain.
13052 (image_instantiator_buttons): ditto.
13053 (image_instantiator_edit_fields): ditto.
13054 (image_instantiator_combo_box): ditto.
13055 (image_instantiator_scrollbar): ditto.
13056 (image_instantiator_progress_guage): ditto.
13057 (image_instantiator_tree_view): ditto.
13058 (image_instantiator_tab_control): ditto.
13059 (image_instantiator_labels): ditto.
13060 (image_instantiator_layout): ditto.
13062 * glyphs.c: add instance error checking to many functions.
13063 (instantiate_image_instantiator): decode device from cache_domain.
13064 (image_instantiate): partially rewrite by using
13065 decode_image_instantiator_domain to determine what domain the
13066 instance needs to be cached in.
13067 (decode_image_instantiator_domain): new function. Determine what
13068 domain the image needs to be cached in.
13069 (check_window_subwindow_cache): new error checking function.
13070 (check_instance_cache_mapper): ditto.
13071 (check_image_instance_structure): ditto.
13072 (subwindow_decode_domain): new function. Encodes a window as a
13073 subwindow's cache domain.
13074 (image_instantiator_format_create): use it for text and
13077 2000-04-21 Andy Piper <andy@xemacs.org>
13079 * glyphs.c (image_instance_device): new function.
13080 (image_instance_frame): new function.
13081 (image_instance_window): new function.
13082 (image_instance_live_p): new function.
13084 * window.c (mark_window_as_deleted): reset the subwindow_instance_
13087 * glyphs.h (struct Lisp_Image_Instance): device->domain.
13088 (IMAGE_INSTANCE_DOMAIN): new accessor.
13089 (XIMAGE_INSTANCE_DOMAIN): ditto.
13091 * glyphs-x.c (x_finalize_image_instance): device->domain.
13093 * glyphs-msw.c (init_image_instance_geometry): device->domain.
13094 (mswindows_finalize_image_instance): ditto.
13096 * glyphs-eimage.c (jpeg_instantiate): device->domain.
13097 (gif_instantiate): ditto.
13098 (png_instantiate): ditto.
13099 (tiff_instantiate): ditto.
13101 * glyphs.c (instantiate_image_instantiator): use domain rather
13103 (mark_image_instance): device -> domain.
13104 (print_image_instance): ditto.
13105 (finalize_image_instance): ditto.
13106 (image_instance_equal): ditto.
13107 (allocate_image_instance): ditto.
13108 (Fcolorize_image_instance): ditto.
13109 (query_string_geometry): ditto.
13110 (image_instantiate): ditto
13111 (query_string_font): ditto.
13112 (image_instantiate): ditto.
13113 (update_subwindow): ditto.
13114 (unmap_subwindow): ditto.
13115 (map_subwindow): ditto.
13116 (subwindow_instantiate): ditto.
13118 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
13119 (DOMAIN_FRAME): ditto.
13120 (DOMAIN_WINDOW): ditto.
13121 (DOMAIN_LIVE_P): ditto.
13122 (XDOMAIN_DEVICE): ditto.
13123 (XDOMAIN_FRAME): ditto.
13124 (XDOMAIN_WINDOW): ditto.
13126 * specifier.c (Fvalid_specifier_domain_p): add image instances as
13127 a valid specifier domain.
13129 2000-04-19 Andy Piper <andy@xemacs.org>
13131 * glyphs-widget.c (syms_of_glyphs_widget): remove
13132 widget-callback-current-channel.
13133 (vars_of_glyphs_widget): ditto.
13136 * gui.c (get_gui_callback): revert to previous behaviour.
13138 2000-04-18 Andy Piper <andy@xemacs.org>
13140 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
13141 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
13142 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
13144 * glyphs.c (image_instance_equal): add margin_width.
13145 (image_instance_hash): ditto.
13147 * glyphs-widget.c (widget_instantiate): deal with margin-width.
13148 (layout_query_geometry): ditto.
13149 (layout_layout): ditto.
13150 (syms_of_glyphs_widget): add margin-width.
13151 (image_instantiator_layout): allow margin-width.
13153 * glyphs.c (update_widget_instances): make a normal function.
13154 (syms_of_glyphs): remove Qupdate_widget_instances.
13157 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
13158 so that we don't corrupt ideas about the last event or
13159 command. Remove widget-callback-current-channel fiddling.
13160 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
13162 2000-05-01 Martin Buchholz <martin@xemacs.org>
13164 * XEmacs 21.2.33 is released.
13166 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
13168 * make-src-depend: Allow dots in header file name.
13170 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
13172 * mule-charset.h (struct charset_lookup): Add
13173 next_allocated_1_byte_leading_byte and
13174 next_allocated_2_byte_leading_byte.
13175 * mule-charset.c: Move above two variables so that those values
13178 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
13180 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
13181 when string length is zero.
13182 (find_charsets_in_emchar_string): Ditto.
13184 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
13186 * lisp.h: extern Qdialog and Qmenubar.
13188 * gui-x.c: added events.h.
13189 also fixed typo which made the file uncompilable.
13191 * general.c: Added Qmenubar and Qdialog
13193 2000-04-28 Ben Wing <ben@xemacs.org>
13195 * frame-msw.c (mswindows_init_frame_1):
13196 * frame-msw.c (mswindows_mark_frame):
13197 * event-msw.c (mswindows_enqueue_dispatch_event):
13199 * console-msw.h (struct mswindows_frame):
13200 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
13201 there are now three hash tables for callbacks.
13202 mswindows_enqueue_dispatch_event is no longer static.
13204 * dialog-x.c (maybe_run_dbox_text_callback):
13205 * dialog-x.c (dbox_descriptor_to_widget_value):
13206 switch to new cons3 form for callbacks.
13208 * glyphs-msw.c (mswindows_register_gui_item):
13209 * glyphs-msw.c (mswindows_widget_instantiate):
13210 * glyphs-msw.c (add_tree_item):
13211 * glyphs-msw.c (add_tab_item):
13212 new image instance parameter, so it can be passed to callback-ex.
13213 respect :callback-ex as well as :callback.
13215 * glyphs-widget.c (VALID_GUI_KEYWORDS):
13218 * glyphs.c (print_image_instance):
13219 prettify, e.g. now prints widget type.
13222 certain funs have new image instance parameter.
13225 * gui.c (get_gui_callback):
13226 * gui.c (gui_item_add_keyval_pair):
13227 * gui.c (gui_item_init):
13228 * gui.c (gui_add_item_keywords_to_plist):
13229 * gui.c (mark_gui_item):
13230 * gui.c (gui_item_hash):
13231 * gui.c (gui_item_equal):
13232 * gui.c (copy_gui_item):
13233 * gui.c (syms_of_gui):
13234 recognize callback-ex in a number of places.
13235 also, fix the annoying "can't get out of yes-no dialog" bug.
13238 * gui.h (struct Lisp_Gui_Item):
13239 recognize callback-ex in a number of places.
13241 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
13242 new parameter in button_item_to_widget_value.
13244 * glyphs-x.c (x_update_widget):
13245 * glyphs-x.c (x_button_instantiate):
13246 * glyphs-x.c (x_button_update):
13247 * glyphs-x.c (x_progress_gauge_instantiate):
13248 * glyphs-x.c (x_edit_field_instantiate):
13249 * glyphs-x.c (x_combo_box_instantiate):
13250 * glyphs-x.c (x_tab_control_instantiate):
13251 * glyphs-x.c (x_label_instantiate):
13252 new image instance parameter in various places.
13255 * event-Xt.c (enqueue_Xt_dispatch_event):
13256 this fun gets exported.
13259 * gui-msw.c (mswindows_handle_gui_wm_command):
13260 handle both :callback and :callback-ex, and generate our own
13261 event because it's one of the callback-ex arguments.
13264 * gui-x.c (popup_selection_callback):
13265 handle both :callback and :callback-ex, and generate our own
13266 event because it's one of the callback-ex arguments.
13267 * gui-x.c (button_item_to_widget_value):
13268 * gui-x.c (gui_items_to_widget_values_1):
13269 * gui-x.c (gui_item_children_to_widget_values):
13270 * gui-x.c (gui_items_to_widget_values):
13271 new image instance parameter in various places.
13273 * fns.c (Freplace_list):
13274 fix small typo in doc string.
13277 declare enqueue_Xt_dispatch_event.
13279 2000-04-28 Ben Wing <ben@xemacs.org>
13282 * buffer.c (Frecord_buffer):
13283 * buffer.c (syms_of_buffer):
13284 delete record-buffer-hook.
13287 * fns.c (Freplace_list):
13288 * fns.c (syms_of_fns):
13289 new primitive replace-list.
13292 slot for old buffer-alist.
13295 exfun replace-list.
13298 * redisplay.c (redisplay_frame):
13299 * redisplay.c (syms_of_redisplay):
13300 * redisplay.c (vars_of_redisplay):
13301 new hook buffer-list-changed-hook.
13304 2000-04-27 Ben Wing <ben@xemacs.org>
13306 * extents.h: extern in_modeline_generation.
13308 * redisplay.c (generate_formatted_string_db): set
13309 in_modeline_generation.
13311 * extents.c (extent_changed_for_redisplay): don't mark redisplay
13312 flags if in modeline generation. otherwise frame-modified-tick
13313 is ticked far too often.
13314 Declare in_modeline_generation.
13316 2000-04-26 Ben Wing <ben@xemacs.org>
13318 * emacs.c (vars_of_emacs): document quick-build "error-checking"
13320 (vars_of_emacs): add quick-build as an error-checking option.
13321 A bit kludgy, but there doesn't seem much point in creating
13322 a real var for this.
13324 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
13326 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
13328 * redisplay.h (struct display_line): Add a new variable,
13331 * redisplay.c (create_text_block): Set dl->line_continuation if
13332 the line continues.
13333 (create_string_text_block): Ditto.
13334 (regenerate_window_incrementally): Use line_continuation instead
13335 of searching continuation glyph.
13336 (add_margin_runes): Call add_glyph_rune.
13337 (add_glyph_rune): Handle margin glyph.
13339 2000-04-20 Martin Buchholz <martin@xemacs.org>
13341 * filelock.c (fill_in_lock_file_name):
13343 Check for IS_ANY_SEP instead of '/'.
13345 Avoid generating gratuitous garbage. Call user_login_name() directly.
13346 Never check errno without first seeing that system call failed.
13347 (unlock_file): Add GCPRO.
13348 (Flock_buffer): Fix docstring.
13349 (Ffile_locked_p): Fix docstring. Add GCPRO.
13351 2000-04-19 Martin Buchholz <martin@xemacs.org>
13353 * sysdep.c (get_pty_max_bytes):
13354 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
13355 strings longer than 252 bytes.
13357 * md5.c: Unconditionally include ANSI header <limits.h>
13359 * glyphs-x.c (convert_EImage_to_XImage):
13360 * lisp-union.h (union Lisp_Object):
13361 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
13363 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
13365 * filelock.c (current_lock_owner): Remove unused variable o, p.
13367 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
13369 * callint.c: Remove multiply defined symbol Qlet
13370 (syms_of_callint): ditto.
13372 2000-04-14 Andy Piper <andy@xemacs.org>
13374 * general.c (syms_of_general): add last-command, this-command, let
13377 * lisp.h: declare various symbols.
13379 * glyphs.h: declare Qwidget_callback_current_channel;
13381 * glyphs-widget.c (syms_of_glyphs_widget): add
13382 Qgui_callback_current_channel.
13383 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
13385 * gui-msw.c (mswindows_handle_gui_wm_command): bind
13386 widget-callback-current-channel when invoking the interactive
13387 arg. Also bind last-command and next-command when invoking the
13389 * gui-x.c (popup_selection_callback): ditto.
13391 * gui.c (get_gui_callback): massage args so that we are always
13392 calling eval. This allows us to add our own variable bindings
13395 * glyphs-x.c (x_button_instantiate): use
13396 gui_items_to_widget_values since this is GC safe.
13397 (x_progress_gauge_instantiate): ditto.
13398 (x_edit_field_instantiate): ditto.
13399 (x_label_instantiate): ditto.
13401 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
13402 (emacs_Xt_event_widget_focus_out): new function
13403 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
13405 (emacs_Xt_event_add_widget_actions): new function. add focus
13406 functions as actions.
13407 (init_event_Xt_late): use it.
13409 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
13411 * event-stream.c (Fdispatch_event): Doc fix.
13413 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
13415 * postgresql.c: Remove all references to PQsetenv*.
13417 * postgresql.h: Remove references to PGsetenvHandler object.
13418 * lrecord.h (lrecord_type): Ditto.
13420 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13422 * glyphs-msw.h (struct mswindows_image_instance_data): Added
13423 real_heigh and real_width members, and accessor macros for these.
13425 * glyphs-msw.c (init_image_instance_geometry): New function.
13426 (init_image_instance_from_dibitmap): Use it.
13427 (mswindows_resource_instantiate): Use it.
13428 (init_image_instance_from_xbm_inline): Use it.
13429 (mswindows_initialize_image_instance_mask): Use real bitmap
13431 (mswindows_create_resized_bitmap): Ditto.
13432 (mswindows_create_resized_mask): Ditto.
13434 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
13435 and bitmap to their surface size.
13437 2000-04-11 Jan Vroonhof <jan@xemacs.org>
13439 * process-unix.c (unix_send_process): Guard against process MIA
13440 after Faccept_process_output.
13442 2000-04-11 Ben Wing <ben@xemacs.org>
13444 * eval.c (unbind_to_hairy): fix brokenness introduced by
13445 nanosecond speed improvements.
13447 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
13449 * sunplay.c (init_device): To play sounds correctly, the device
13450 apparently needs to be initialized at least once by XEmacs. Make
13453 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
13455 * redisplay.c (add_margin_runes): Add text image glyph
13458 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
13460 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
13461 gcc is newer than 2.5.
13463 2000-04-06 Colin Rafferty <colin@xemacs.org>
13465 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
13467 * fns.c (size_bit_vector):
13468 * alloc.c (size_vector):
13469 (make_vector_internal):
13470 (make_bit_vector_internal):
13471 (sweep_bit_vectors_1):
13472 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
13474 2000-04-06 Andy Piper <andy@xemacs.org>
13476 * gmalloc.c (malloc): undo previous change.
13481 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
13483 * line-number.c (buffer_line_number): Revert to former version.
13485 2000-04-06 Andy Piper <andy@xemacs.org>
13487 * gmalloc.c (malloc): add error checking.
13492 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
13493 button_item_to_widget_value arg.
13495 * glyphs-x.c (x_button_instantiate): add extra
13496 button_item_to_widget_value arg.
13497 (x_progress_gauge_instantiate): ditto.
13498 (x_edit_field_instantiate): ditto.
13499 (x_label_instantiate): ditto.
13501 * gui-x.c (gui_items_to_widget_values_1): add extra
13502 button_item_to_widget_value arg.
13503 (button_item_to_widget_value): add extra menu_item_p arg.
13505 * gui-x.h: change signature of button_item_to_widget_value.
13507 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
13508 button_item_to_widget_value arg.
13510 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
13512 * buffer.h (struct buffer): auto_save_modified should be long.
13514 2000-04-05 Andy Piper <andy@xemacs.org>
13516 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
13518 (button_query_geometry): give a little more room so that athena
13521 2000-04-05 Andy Piper <andy@xemacs.org>
13523 * faces.c (complex_vars_of_faces): The widget face should inherit
13524 the font of the gui-element face.
13526 2000-04-04 Andy Piper <andy@xemacs.org>
13528 * glyphs-x.c (x_button_update): new function. unconditionally
13529 update a button's state when the instance is dirty.
13530 (image_instantiator_format_create_glyphs_x): add x_button_update.
13531 (x_widget_instantiate): remove old resize cruft.
13533 2000-04-02 Andy Piper <andy@xemacs.org>
13535 * frame.c (change_frame_size_1): The introduction of gutters means
13536 that we need to allow 0 as a potential frame dimension.
13538 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
13540 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
13541 image glyph if allow_cursor.
13542 (add_hscroll_rune): Don't allow cursor to border glyph.
13543 (create_text_block): Ditto.
13545 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
13546 text not in buffer.
13547 (redisplay_output_layout): Call ensure_face_cachel_complete for
13551 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
13553 * redisplay.c (add_glyph_rune): Adding text image as text runes.
13555 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
13558 * redisplay-tty.c (tty_output_display_block): Delete the routine
13559 for text image glyph
13560 * redisplay-x.c (x_output_display_block): ditto
13561 * redisplay-msw.c (mswindows_output_display_block): ditto
13563 2000-02-02 Mike Alexander <mta@arbortext.com>
13565 Note: Some of these were committed by accident as part of other
13568 * regex.c (regex_compile): Avoid compiler warnings.
13570 * ntproc.c (sys_spawnve): Avoid compiler warnings.
13572 * nt.h: Declare term_ntproc correctly.
13574 * nt.c: Remove incorrect declaration of get_home_directory which
13575 is declared correctly in lisp.h.
13577 * keymap.c (get_keyelt): Avoid compiler warnings.
13578 (raw_lookup_key_mapper): Avoid compiler warnings.
13580 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
13582 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
13584 * filemode.c (mode_string): Avoid compiler warnings.
13586 * file-coding.c (Fcoding_system_aliasee): Add return statement to
13589 * events-mod.h: Undef some things that winuser.h defines differently.
13591 * data.c (Faset): Avoid compiler warnings.
13593 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
13595 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
13597 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
13598 Fall through to simple beep on error.
13599 Replace "extern" by real header file.
13601 * linuxplay.c: Use nativesound.h
13602 (play_sound_data): Return error code. Be less verbose on error.
13604 * sunplay.c: Use nativesound.h
13605 (play_sound_data): Return error code. Be less verbose on error.
13607 * ntplay.c: Use nativesound.h
13608 (play_sound_data): Return fake error code
13610 * sgiplay.c: Use nativesound.h
13611 (play_sound_data): Return error code
13613 * hpplay.c: Use nativesound.h, partially implement
13614 new error code. Break compilation until finished.
13615 (play_sound_data): error code.
13617 * nativesound.h (play_sound_file):
13618 (play_sound_data): Prototype in new header.
13620 2000-03-31 Andy Piper <andy@xemacs.org>
13622 * glyphs-widget.c: (button_query_geometry): new function. Adjust
13623 for toggle and radio buttons.
13624 (image_instantiator_buttons): use it.
13626 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
13628 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
13629 (x_update_horizontal_scrollbar_callback): Return if no mirror was
13630 found. Scrollbar event probably belonged to some old config.
13632 2000-03-31 Andy Piper <andy@xemacs.org>
13634 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
13636 (initialize_widget_image_instance): default layout to
13637 LAYOUT_HORIZONTAL rather than 0.
13638 (widget_instantiate): reverse the item list at the end rather than
13640 (layout_layout): re-code for the border text at the front of the
13641 item list rather than at the end.
13642 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
13643 provided by the user.
13644 (widget_query_geometry): comment.
13646 2000-03-30 Andy Piper <andy@xemacs.org>
13648 * glyphs-widget.c (image_instantiator_layout): allow standard
13649 widget keywords in layouts.
13651 * gutter.c (output_gutter): cope with nil gutter contents.
13653 * frame.c (Fset_frame_properties): add gutter docs.
13655 2000-03-29 Andy Piper <andy@xemacs.org>
13657 * toolbar-msw.c (TBSTYLE_FLAT): add.
13658 (mswindows_output_toolbar): minor fiddling.
13660 2000-03-29 Andy Piper <andy@xemacs.org>
13662 * gutter.c (output_gutter): force gutter size recalculation if
13663 what we are trying to display won't fit.
13664 (update_gutter_geometry): new function. A per-gutter version of
13665 update_frame_gutter_geometry.
13666 (update_frame_gutter_geometry): use it.
13667 (redraw_exposed_gutter): add extra debugging output.
13669 2000-03-28 Mike Alexander <mta@arbortext.com>
13671 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
13672 (pdump_file_unmap): Implement it on Windows
13673 (pdump_file_get): Save alocated handles for pdump_file_unmap
13675 2000-03-28 Andy Piper <andy@xemacs.org>
13677 * gui.c (get_gui_callback): treat Quit specially.
13679 2000-03-27 Andy Piper <andy@xemacs.org>
13681 * glyphs.c (image_instantiate): be careful to check in the same
13684 2000-03-27 Didier Verna <didier@xemacs.org>
13686 * config.h.in: define the proper SMART_INCLUDE macro.
13687 handle renaming of `foo_h_path' to `foo_h_file'.
13689 * database.c: ditto.
13693 * linuxplay.c: ditto.
13695 * terminfo.c: ditto.
13697 * tooltalk.h: ditto.
13699 2000-03-27 Andy Piper <andy@xemacs.org>
13701 * glyphs-msw.c (mswindows_update_widget): make sure the widget
13702 gets updated whenever the face might have changed.
13704 2000-03-26 Mike Alexander <mta@arbortext.com>
13706 * dumper.c (pdump_resource_free): Fix the comment.
13708 2000-03-21 Olivier Galibert <galibert@pobox.com>
13710 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
13712 2000-03-22 Mike Alexander <mta@arbortext.com>
13714 * dumper.c: Include Windows headers on Windows
13715 (pdump_resource_free): Add a body to the function
13716 (pdump_load): exe_name -> exe_path and add some comments.
13718 2000-03-25 Mike Alexander <mta@arbortext.com>
13720 * gui.c (copy_gui_item_tree): Return a value in all cases
13722 2000-03-21 Didier Verna <didier@xemacs.org>
13724 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
13726 (SMART_INCLUDE): new macro.
13727 (POSTGRES_INCLUDE): new macro to include postgresql headers from
13728 the proper location.
13730 * postgresql.c: use it.
13734 2000-03-24 Andy Piper <andy@xemacs.org>
13736 * gutter.c (redraw_exposed_gutters): must be "in display" when we
13739 2000-03-24 Andy Piper <andy@xemacs.org>
13741 * redisplay-output.c (compare_runes): use image_instance_changed
13742 to detect changes. Do not depend on glyphs_changed, only depend on
13744 (redisplay_output_layout): add debug messages.
13745 (compare_runes): ditto.
13747 * glyphs.h: declare new functions.
13748 (struct Lisp_Image_Instance): remove percent and associated
13751 * gui.h: declare new copying functions.
13753 * gui.c (copy_gui_item_tree): new function.
13754 (copy_gui_item): new function.
13755 (gui_item_id_hash): revert to standard hash.
13756 (gui_item_hash): ditto.
13757 (gui_item_hash_internal): deleted.
13758 (mark_gui_item): mark value.
13759 (gui_item_add_keyval_pair): add value.
13760 (gui_item_init): ditto.
13761 (gui_add_item_keywords_to_plist): ditto.
13762 (gui_item_equal): ditto.
13763 (syms_of_gui): add Q_value.
13765 * glyphs-x.c (x_progress_gauge_update): use pending items and
13766 value for setting the state.
13767 (x_update_widget): don't set items from pending here.
13769 * glyphs-widget.c (update_widget): update items here.
13770 (progress_gauge_set_property): use items for storing value. Put
13771 new value in pending items.
13773 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
13774 items for new value. Convert percent -> value.
13775 (mswindows_tab_control_update): don't update items here.
13777 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
13778 (update_subwindow): ditto.
13779 (image_instance_changed): new function. Compare hash values and
13780 past and present widget items.
13781 (image_instantiate): We more careful about where we instantiate
13783 (image_instantiate): add error checking.
13785 * gutter.c (syms_of_gutter): use -hook.
13787 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
13789 * console-tty.c (Fset_console_tty_input_coding_system): Use
13791 (Fset_console_tty_output_coding_system): Use Qterminal.
13792 (tty_init_console): Use Qkeyboard and Qterminal.
13794 2000-03-21 Ben Wing <ben@xemacs.org>
13796 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
13797 From Mike Alexander <mta@arbortext.com>.
13799 2000-03-21 Ben Wing <ben@xemacs.org>
13801 * event-msw.c (mswindows_need_event): Horrible kludge to fix
13802 process brokenness. Proper implementation to come.
13804 Rename call-process-internal to old-call-process-internal.
13805 New impl. in process.el.
13807 2000-03-21 Martin Buchholz <martin@xemacs.org>
13809 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
13811 2000-03-20 Andy Piper <andy@xemacs.org>
13813 * glyphs.c (full_list_hash): make hashes of the same elements in
13814 different orders return different values.
13816 2000-03-20 Martin Buchholz <martin@xemacs.org>
13818 * XEmacs 21.2.32 is released.
13820 2000-03-20 Martin Buchholz <martin@xemacs.org>
13822 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
13823 (DFC_MALLOC_USE_CONVERTED_DATA):
13824 Add aliasing-safe casts to allow use with char* or unsigned char*
13827 * eldap.c (Fldap_open):
13828 (Fldap_search_basic):
13831 Make C++-compilable.
13832 Make sure GCPRO'ed variables are initialized.
13833 Use temp variables to avoid repeated calls to Flength.
13835 2000-03-16 Martin Buchholz <martin@xemacs.org>
13838 Make sure PATH_MAX is always defined.
13839 Include limits.h for PATH_MAX.
13840 Deprecate use of MAXPATHLEN.
13842 2000-03-10 Martin Buchholz <martin@xemacs.org>
13844 * emacs.c: Add reinit_vars_of_fileio.
13845 * symsinit.h: Add reinit_vars_of_fileio.
13846 * fileio.c (reinit_vars_of_fileio): New.
13847 * fileio.c (Fmake_temp_name):
13848 Initialize temp_name random number from microseconds to make
13849 collisions even less likely. Initialize always at process startup
13850 time. (make-temp-name) used to return the same file name twice in
13852 Random stylistic fiddling.
13855 2000-03-20 Andy Piper <andy@xemacs.org>
13857 * glyphs.c (image_instantiate): allow text glyphs to be
13858 instantiated in the minibuffer window.
13860 2000-03-19 Andy Piper <andy@xemacs.org>
13862 * glyphs.c (image_instance_hash): be careful about which items we
13865 * glyphs-widget.c (tab_control_set_property): record into pending
13866 items rather than the actual items.
13868 * glyphs-x.c (x_update_widget): use pending items to update with.
13870 * glyphs-msw.c (mswindows_tab_control_update): use pending items
13873 * glyphs.c (mark_image_instance): mark pending items.
13875 * window.c (Fset_window_configuration): record the buffer.
13876 (Fselect_window): totally revert previous change which breaks many
13879 2000-03-18 Andy Piper <andy@xemacs.org>
13881 * glyphs-msw.c (mswindows_tab_control_update): force selected
13884 * glyphs.c (image_instantiate): don't allow the minibuffer as a
13885 window domain cache, otherwise we get inconsistencies at
13886 startup. There is something fishy at startup which can lead to the
13887 minibuffer being the selected window when the gutter content is
13890 * gui.c (parse_gui_item_tree_list): add probably unnecessary
13892 (parse_gui_item_tree_children): ditto.
13893 (parse_gui_item_tree_item): ditto.
13895 * glyphs.c (Fupdate_widget_instances): return something.
13897 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
13899 * window.c (Fselect_window): Undo 2000-03-17 change.
13901 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
13903 * postgresql.c (Fpq_setenv): Remove this turkey when linking
13904 against v7.0 libraries. Insta-coredump city until the postgres
13907 2000-03-17 Andy Piper <andy@xemacs.org>
13909 * faces.c (complex_vars_of_faces): don't give the widget face an
13910 inherited background pixmap.
13912 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
13915 * event-stream.c (Fdispatch_non_command_events): return something.
13917 * gutter.c (output_gutter): use widget face.
13918 (clear_gutter): ditto.
13920 * NEWS: adjust again.
13922 * window.c (Fselect_window): make sure this runs to completion to
13923 avoid oddities with Fset_window_configuration.
13924 (Fcurrent_window_configuration): in general do not save the
13925 minibuffer as the selected window.
13927 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
13929 2000-03-16 Olivier Galibert <galibert@pobox.com>
13931 * emacs.c (Frunning_temacs_p): Revert previous patch.
13932 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
13934 2000-03-16 Andy Piper <andy@xemacs.org>
13936 * glyphs-x.c (x_tab_control_update): if no widget values then
13939 * NEWS: update for new features.
13941 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
13942 synthetic event to the native system.
13943 (reinit_vars_of_event_Xt): set force_event_pending to
13944 emacs_Xt_force_event_pending.
13946 * events.h (struct event_stream): add force_event_pending.
13948 * specifier.c (recompute_one_cached_specifier_in_window): add
13951 * redisplay.c (redisplay_frame): don't call
13952 update_frame_subwindows. Reset subwindow cachels when
13953 subwindows_changed, removing this was an optimization too far.
13955 * redisplay-output.c (compare_runes): reorganize so that we catch
13956 glyph changes when we want them. Set optimize_output when this
13957 would help layouts.
13958 (redisplay_output_layout): remove frame_really_changed, use
13959 optimize_output instead.
13961 * redisplay-msw.c (mswindows_output_display_block): reset
13962 optimize_output after outputting a glyph.
13963 * redisplay-x.c (x_output_display_block): ditto.
13964 * redisplay-tty.c (tty_output_display_block): ditto.
13966 * gutter.c: (specifier_vars_of_gutter): use new spec changed
13968 (gutter_specs_changed): do specific gutter positions.
13969 (top_gutter_specs_changed): new function. Only update the
13970 specified gutter specs.
13971 (bottom_gutter_specs_changed): ditto.
13972 (left_gutter_specs_changed): ditto.
13973 (right_gutter_specs_changed): ditto.
13975 * gui.c (gui_item_hash_internal): new function, does a real hash.
13976 (gui_item_id_hash): use it.
13977 (gui_item_hash): hash the eval'ed gui_item.
13979 * gui-x.c (popup_selection_callback): send an eval event to call
13980 Fupdate_widget_instances.
13982 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
13983 to call Fupdate_widget_instances.
13985 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
13986 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
13988 * glyphs.c: (update_frame_subwindows): deleted.
13989 (Fupdate_widget_instances): new function for updating the dirty
13990 state of widgets that might have changed.
13991 (syms_of_glyphs): add Qupdate_widget_instances.
13992 (full_list_hash): hash a list completely.
13993 (image_instance_hash): use it for items and properties.
13995 * frame-msw.c (mswindows_size_frame_internal): remove unused
13998 * faces.h (struct face_cachel): fix comment.
14000 * event-stream.c (Fdispatch_non_command_events): new
14001 function. Process non-command events, forcing an event cycle
14003 (syms_of_event_stream): declare.
14004 (event_stream_force_event_pending): new function. Force an event
14005 on the native event queue so that an event cycle will occur next
14009 (struct ntpipe_shove_stream):
14010 (mswindows_enqueue_dispatch_event):
14011 (mswindows_dequeue_dispatch_event):
14012 (mswindows_cancel_dispatch_event):
14013 (mswindows_pump_outstanding_events):
14014 (mswindows_drain_windows_queue):
14015 (mswindows_handle_paint):
14016 (mswindows_wnd_proc):
14017 (mswindows_key_to_emacs_keysym):
14018 (get_process_input_waitable):
14019 (emacs_mswindows_delete_stream_pair): re-indent file.
14020 (mswindows_need_event): do not process further fds if the windows
14021 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
14022 fixes the 100% cpu problem.
14023 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
14025 2000-03-15 Olivier Galibert <galibert@pobox.com>
14031 * emacs.c: Moved dump file searching to dumper.c.
14032 (Frunning_temacs_p): Fixed.
14034 * alloc.c: Moved everything pdump-related to dumper.c. Removed
14035 last_lrecord_type_index_assigned.
14037 2000-02-20 Olivier Galibert <galibert@pobox.com>
14039 * symsinit.h: Added reinit parameter to init_console_stream
14042 * lisp.h: Added file parameter to pdump_load declaration.
14044 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
14045 support. Added dump file searching.
14047 * config.h.in: Added EMACS_PROGNAME.
14049 * console-stream.c (init_console_stream): Fix reinitialisation
14050 when running from temacs.
14052 * alloc.c (pdump): Add id support.
14053 (pdump_load): Add file parameter and signature/id support.
14055 * Makefile.in.in: Add full pdump support.
14057 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
14059 * postgresql.c: Update documentation to reflect latest code
14061 (print_result): Show tuple counts in printed representation when
14063 (Fpq_put_nbytes): MULE-ize.
14064 (Fpq_get_line_async): Ditto.
14066 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
14068 * postgresql.c (Fpq_lo_import): Fix return value.
14069 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
14071 2000-03-13 Ben Wing <ben@xemacs.org>
14073 * alloc.c (pdump_load):
14074 Fix compile warning under mswin.
14076 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
14078 * postgresql.c: Mule-ization, bug fixes.
14079 Use PG_CODING to encapsulate coding system name changes.
14080 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
14081 (pg-coding-system): Create.
14083 (Fpq_conn_defaults): Mule-ize.
14084 (Fpq_connectdb): Mule-ize & bug fix.
14085 (Fpq_connect_start): Mule-ize.
14086 (Fpq_set_client_encoding): Mule-ize.
14087 (Fpq_finish): Document `DEAD' connection status.
14088 (Fpq_clear): Ditto.
14089 (Fpq_pgconn): Mule-ize.
14090 (Fpq_exec): Mule-ize & bug fix.
14091 (Fpq_send_query): Ditto.
14092 (Fpq_get_result): Ditto.
14093 (Fpq_res_status): Mule-ize.
14094 (Fpq_result_error_message): Mule-ize.
14095 (Fpq_ntuples): fix comments.
14096 (Fpq_fname): Mule-ize.
14097 (Fpq_fnumber): Mule-ize.
14098 (Fpq_ftype): fix comments.
14099 (Fpq_get_value): Mule-ize.
14100 (Fpq_cmd_status): Ditto.
14101 (Fpq_cmd_tuples): Ditto.
14102 (Fpq_oid_value): Ditto.
14103 (Fpq_notifies): Ditto.
14104 (Fpq_lo_import): Ditto.
14105 (Fpq_lo_export): Ditto.
14106 (Fpq_get_line): Ditto.
14107 (Fpq_put_line): Mule-ize and bug fix.
14108 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
14110 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
14112 * postgresql.c (vars_of_postgresql): Mule-ize.
14113 (Fpq_conn_defaults): Ditto.
14115 2000-03-12 Ben Wing <ben@xemacs.org>
14117 * alloc.c (Fmake_byte_code):
14118 * alloc.c (debug_string_purity_print):
14119 * alloc.c (pdump_backtrace):
14120 * alloc.c (pdump_get_indirect_count):
14121 * alloc.c (pdump_register_sub):
14122 * alloc.c (pdump_register_object):
14123 * alloc.c (pdump_register_struct):
14124 * alloc.c (pdump_dump_data):
14125 * alloc.c (pdump_reloc_one):
14129 * console-msw.c (GetConsoleHwnd):
14130 * console-msw.c (msw_hide_console):
14131 * console-msw.c (msw_show_console):
14132 * console-msw.c (msw_ensure_console_buffered):
14133 * console-msw.c (msw_output_console_string):
14134 * console-msw.c (console_type_create_mswindows):
14136 a) Added functions to manipulate the console window for use with
14139 b) Added support for writing text to the console, which is now
14140 used under Windows when xemacs is not being run non-interactively,
14141 to write text that would otherwise be destined for stdout because
14142 under these circumstances, text written to stdout tends to
14143 disappear and not be seen.
14147 * event-Xt.c (x_event_to_emacs_event):
14148 * event-Xt.c (describe_event_window):
14149 * events-mod.h (XEMACS_MOD_CONTROL):
14151 * events.c (Fmake_event):
14152 * events.c (character_to_event):
14153 * events.c (event_to_character):
14154 * events.c (format_event_object):
14155 * events.c (Fevent_modifiers):
14157 * events.h (struct key_data):
14158 * events.h (struct button_data):
14159 * events.h (struct misc_user_data):
14160 * frame-x.c (Fcde_start_drag_internal):
14161 * frame-x.c (Foffix_start_drag_internal):
14162 * gpmevent.c (Freceive_gpm_event):
14164 * keymap.c (bucky_sym_to_bucky_bit):
14165 * keymap.c (control_meta_superify):
14166 * keymap.c (make_key_description):
14167 * keymap.c (keymap_lookup_directly):
14168 * keymap.c (create_bucky_submap):
14169 * keymap.c (keymap_store):
14170 * keymap.c (define_key_check_and_coerce_keysym):
14171 * keymap.c (define_key_parser):
14172 * keymap.c (define_key_alternate_name):
14173 * keymap.c (Fdefine_key):
14174 * keymap.c (raw_lookup_key_mapper):
14175 * keymap.c (struct map_keymap_unsorted_closure):
14176 * keymap.c (map_keymap_unsorted_mapper):
14177 * keymap.c (map_keymap_sort_predicate):
14178 * keymap.c (map_keymap_sorted):
14179 * keymap.c (accessible_keymaps_mapper_1):
14180 * keymap.c (where_is_recursive_mapper):
14181 * keymap.c (describe_map_mapper):
14182 * keymap.c (describe_map_sort_predicate):
14183 * keymap.c (describe_map):
14184 * keymap.c (complex_vars_of_keymap):
14185 And a number of other files, the key modifier preprocessor
14186 constants that xemacs uses have names that conflict with constants
14187 defined under MS Windows for other purposes, so they were renamed
14188 to begin with the prefix XEMACS_. The variables that hold such
14189 modifiers were changed to consistently be of type int to fix
14190 various compile warnings.
14192 * console.c (complex_vars_of_console):
14195 * device-msw.c (mswindows_finish_init_device):
14196 * device-msw.c (msw_get_workspace_coords):
14197 * device-msw.c (mswindows_device_system_metrics):
14198 and various other files, added support for a new
14199 device property called offset-workspace which returns the position
14200 of the upper left corner of the workspace area and goes along with
14201 the existing size-workspace property.
14204 * dialog-msw.c (push_bufbyte_string_as_unicode):
14205 * dialog-msw.c (mswindows_popup_dialog_box):
14206 Added support for XEmacs-style accelerator specifications in
14207 button text. Note: I didn't add support for this under X Windows,
14208 and somebody needs to do this.
14211 * dialog.c (Fpopup_dialog_box):
14212 Documented the support for accelerators that was just mentioned.
14214 editfns.c (get_home_directory): Changed behavior under Windows
14215 when HOME not defined; former behavior was irretrievably broken.
14218 * emacs.c (main_1):
14220 * minibuf.c (clear_echo_area_internal):
14221 * minibuf.c (echo_area_append):
14223 * print.c (std_handle_out_external):
14224 * print.c (std_handle_out_va):
14226 * print.c (write_string_to_stdio_stream):
14227 * print.c (output_string):
14228 * print.c (debug_print):
14229 * print.c (debug_backtrace):
14230 * print.c (debug_short_backtrace):
14231 Cleaned up the code that prints text to stdout so that this can be
14232 changed to output into a console window instead under MS Windows,
14233 as described above.
14236 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
14237 * eval.c (internal_catch):
14238 * eval.c (unwind_to_catch):
14239 * eval.c (throw_or_bomb_out):
14240 * eval.c (condition_case_1):
14241 * eval.c (signal_1):
14242 * eval.c (check_error_state_sanity):
14243 * eval.c (call_with_suspended_errors_1):
14244 * eval.c (call_with_suspended_errors):
14245 * eval.c (reinit_vars_of_eval):
14246 Added code to catch throw loops and check for a pesky bug that may
14250 * event-msw.c (key_needs_default_processing_p):
14251 * event-msw.c (mswindows_wnd_proc):
14252 * event-msw.c (mswindows_modifier_state):
14253 * event-msw.c (emacs_mswindows_quit_p):
14254 * event-msw.c (vars_of_event_mswindows):
14255 a) Added support for using the alt key to select menu items as is
14256 standard under MS Windows. This is controlled using the variable
14257 menu-accelerator-enabled, just like under X Windows. There is an
14258 option on the options menu to turn this support on. I really
14259 think that it should be on by default under Windows, but I'm not
14260 going to make this change yet.
14262 b) Added support for dynamic display size changes under Windows.
14265 * event-stream.c (maybe_echo_keys):
14266 * event-stream.c (Fnext_event):
14267 * event-stream.c (command_builder_find_leaf):
14268 * event-stream.c (lookup_command_event):
14269 * event-stream.c (execute_command_event):
14270 * event-stream.c (pre_command_hook):
14271 * event-stream.c (post_command_hook):
14272 * event-stream.c (syms_of_event_stream):
14273 * event-stream.c (vars_of_event_stream):
14274 * event-stream.c (complex_vars_of_event_stream):
14275 * events.h (struct command_builder):
14277 a) Tried to clean up a little bit the horribly written x-specific
14278 accelerator code that crept into this file. I moved this code
14279 into menubar-x.c where it belongs. I also needed to move the
14280 command builder structure into the file events.h because it is
14281 accessed directly by this accelerator code. What I didn't do, but
14282 which should be done at some point, is to properly abstract this
14283 code using device methods instead of the kludgy way that it
14284 currently hooks into the event code.
14286 b) Added the lisp variables this-command-properties and
14287 last-command- properties, which should be used to synchronize two
14288 adjacent commands in preference to playing games with the variable
14289 this-command, which is typically what happens.
14291 c) Added some slightly nasty code to hook into the lisp support
14292 for shifted- motion-key selection. This is actually necessary for
14293 somewhat complicated reasons, which are described in
14294 simple.el. (NB: I think the proper thing would be to have the code
14295 that calls the pre and post command hooks also call out to generic
14296 lisp functions in simple.el, where all built-in stuff could be
14297 added. I will think about this more.)
14299 * event-unixoid.c (poll_fds_for_input):
14300 * lread.c (readchar):
14301 * redisplay-tty.c (tty_clear_frame):
14302 * redisplay-x.c (x_get_gc):
14303 * signal.c (interrupt_signal):
14304 And a whole bunch of other files: fixed up places that printed
14305 directly to stderr to instead call the function stderr_out so that
14306 the changes I made under Windows work correctly.
14308 * filemode.c (mode_string):
14312 * frame-msw.c (mswindows_size_frame_internal):
14313 Fixed the computation of frame size and position to keep the frame
14314 within the workspace area, rather than within the physical
14315 dimensions of the screen, so that the frame doesn't overlap window
14316 manager decorations, such as the start menu and toolbar, typically
14317 at the bottom of the screen.
14319 * frame.c (vars_of_frame):
14320 Changed the default frame title format under MS Windows to consist
14321 of buffername-XEmacs, which is standard under MS Windows. I think
14322 it might be a good idea to change this everywhere because I think
14323 it is superior to the current frame title format, but this is the
14324 kind of change that is likely to cause some people to get annoyed,
14325 so I'm not making it.
14327 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
14329 * gui-msw.c (mswindows_handle_gui_wm_command):
14330 Fixed compile warnings.
14333 * gui-x.c (strdup_and_add_accel):
14334 * gui-x.c (button_item_to_widget_value):
14336 Added code to automatically put an accelerator onto the beginning
14337 of menu items that don't have one as is now the standard, and is
14338 described more later. Also fixed things so that the menu item
14339 name can be an evaluated expression, again a new standard.
14342 * gui.c (gui_item_add_keyval_pair):
14343 * gui.c (make_gui_item_from_keywords_internal):
14344 * gui.c (gui_add_item_keywords_to_plist):
14345 * gui.c (gui_item_accelerator):
14346 * gui.c (gui_name_accelerator):
14347 * gui.c (gui_item_included_p):
14348 * gui.c (gui_item_display_flush_left):
14349 * gui.c (gui_item_display_flush_right):
14350 * gui.c (parse_gui_item_tree_item):
14351 * gui.c (parse_gui_item_tree_children):
14352 * gui.c (parse_gui_item_tree_list):
14353 Mule-ized. Cleanup. GCPRO addition.
14355 * line-number.c (buffer_line_number):
14357 * lisp.h (EMACS_INT_MAX):
14358 Added the manifest constant EMACS_INT_MIN corresponding to the
14359 existing constant EMACS_INT_MAX. This is partially to fix compile
14360 warnings under Windows, and partly for cleanliness.
14363 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
14364 * menubar-msw.c (msw_translate_menu_or_dialog_item):
14365 * menubar-msw.c (displayable_menu_item):
14366 * menubar-msw.c (populate_menu_add_item):
14367 * menubar-msw.c (populate_or_checksum_helper):
14368 * menubar-msw.c (populate_menu):
14369 * menubar-msw.c (update_frame_menubar_maybe):
14370 * menubar-msw.c (prune_menubar):
14371 * menubar-msw.c (msw_char_is_accelerator):
14372 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
14373 * menubar-msw.c (mswindows_handle_wm_command):
14374 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
14375 * menubar-msw.c (mswindows_handle_wm_initmenu):
14376 * menubar-msw.c (mswindows_update_frame_menubars):
14377 * menubar-msw.c (mswindows_free_frame_menubars):
14378 * menubar-msw.c (mswindows_popup_menu):
14379 Fixed a bug in handling accelerators where an extra character
14380 would be displayed in the menu item. Also generalized the
14381 function displayable_menu_item because it is now used by the
14382 dialog box code as well. And finally, added code in the functions
14383 that create the menubar to extract a list of accelerators for the
14384 top level menubar, which is used in the event code to determine
14385 whether a particular alt-key combination should be used to invoke
14386 a menu item, or should be passed through to access the standard
14387 XEmacs keymap binding for this key combination.
14389 Much needed GCPROing.
14392 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
14393 * menubar-x.c (menu_item_descriptor_to_widget_value):
14394 * menubar-x.c (restore_in_menu_callback):
14395 * menubar-x.c (x_popup_menu):
14396 * menubar-x.c (menu_move_up):
14397 * menubar-x.c (menu_move_down):
14398 * menubar-x.c (menu_move_left):
14399 * menubar-x.c (menu_move_right):
14400 * menubar-x.c (menu_select_item):
14401 * menubar-x.c (command_builder_operate_menu_accelerator):
14402 * menubar-x.c (menu_accelerator_junk_on_error):
14403 * menubar-x.c (command_builder_find_menu_accelerator):
14404 * menubar-x.c (Faccelerate_menu):
14406 Moved a whole bunch of code here that was previously in
14407 event-stream.c as described above. There is also code connected
14408 to the new standard of adding an accelerator to the beginning of
14409 menu items that don't have one as described above and below.
14412 * menubar.c (menu_parse_submenu_keywords):
14413 * menubar.c (Fmenu_find_real_submenu):
14414 * menubar.c (Fnormalize_menu_item_name):
14415 * menubar.c (syms_of_menubar):
14416 * menubar.c (vars_of_menubar):
14417 * menubar.c (complex_vars_of_menubar):
14419 a) Cleaned up a bunch of documentation and improved it.
14421 b) XEmacs now automatically adds an accelerator onto the beginning
14422 of any menu items that don't have one. I did this because there
14423 will inevitably be some menu items on the main menubar that don't
14424 have accelerators on them because the package that adds that
14425 particular menu item hasn't yet been fixed up to have accelerators
14426 in them and it looked rather strange to have some items with and
14427 some items without accelerators, especially since even in items
14428 without accelerators, you can, at least under windows, still
14429 access the item through an accelerator corresponding to the first
14430 character in the item's name. If people don't like this behavior,
14431 I can add a variable to turn it off optionally, but I'm not sure
14432 this is a good idea because we really do need to have accelerators
14433 on all of the menu items, and if a package doesn't like the
14434 accelerators being put on the first character, then it should put
14435 the accelerators where they belong.
14437 c) I made a behavior change, which is that the descriptor that
14438 specifies the text of the menu item, which formerly was just a
14439 string, can now also be an evaluated expression. This makes this
14440 descriptor parallel with all of the others, which could also be
14441 evaluated expressions. This also obviates the need for the
14442 keyword :label, which was previously listed in the documentation
14443 as unimplemented, and which was for the same purpose.
14448 * ntproc.c (new_child):
14449 * ntproc.c (sys_spawnve):
14450 * ntproc.c (find_child_console):
14451 * ntproc.c (sys_kill):
14452 Fixed compile warnings. By the way, this file should really go
14453 away entirely, and this will happen as soon as Kirill makes his
14454 final round of process cleanups, which affect the function
14458 * process-nt.c (struct nt_process_data):
14459 * process-nt.c (find_process_from_pid):
14460 * process-nt.c (send_signal_the_nt_way):
14461 * process-nt.c (enable_child_signals):
14462 * process-nt.c (find_child_console):
14463 * process-nt.c (send_signal_the_95_way):
14464 * process-nt.c (nt_finalize_process_data):
14465 * process-nt.c (ensure_console_window_exists):
14466 * process-nt.c (nt_create_process):
14467 * process-nt.c (nt_kill_child_process):
14468 * process-nt.c (nt_kill_process_by_pid):
14469 * process-nt.c (nt_open_network_stream):
14470 * process-nt.c (vars_of_process_nt):
14471 Copied over code from Emacs 20.5 to correctly send signals to sub-
14472 processes under Windows 95. Also added code to automatically
14473 create and hide console window when a sub-process is created under
14474 Windows 95, which obviates the need for the separate runemacs.exe
14475 executable, and finally implemented some variables that were
14476 implemented in Emacs 20.5, but previously not in XEmacs. These
14477 include mswindows- start-process-share-console and
14478 mswindows-start-process-inherit-error-mode. (Both of these only
14479 apply to Windows 95.)
14481 * regex.c (regex_compile): Fixed a compile warning.
14484 * select-msw.c (mswindows_own_selection):
14485 * select-msw.c (mswindows_get_foreign_selection):
14486 * select-msw.c (mswindows_disown_selection):
14487 * select-msw.c (console_type_create_select_mswindows):
14488 * select-msw.c (syms_of_select_mswindows):
14489 Cleaned up the file and implemented the device method
14490 selection_exists_p, which had accidentally been left out. Also
14491 removed four lisp functions that were remnants from before the
14492 time when the selection code was properly device abstracted.
14493 These functions are no longer needed because there are generic
14494 equivalents, and because they were added recently and don't exist
14495 in FSF Emacs, I don't think there's any problem with just deleting
14499 * sysdep.c (sys_subshell):
14500 Fixed a compile warning, although in this case there's probably
14501 something wrong with this code, and it ought to be looked into
14502 more thoroughly by somebody who understands it.
14505 * window.c (Fwindow_text_area_height):
14506 * window.c (Fwindow_width):
14507 * window.c (Fwindow_full_width):
14508 * window.c (Fwindow_pixel_width):
14509 * window.c (debug_print_window):
14510 * window.c (syms_of_window):
14511 Added functions window-text-area-height and window-full-width,
14512 which are functions for returning various width and height
14513 characteristics of a window. (One of these functions is necessary
14514 for making the file dialog box work correctly, and the other one
14515 was added for completeness.) Also added a table to the
14516 documentation for window-height which describes the entire scheme
14517 for accessing width and height characteristics of a window.
14519 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14521 * nt.c (fstat): Added a comment for another problem with
14522 non-encapsulated [f]stat(), reported by Adrian Aichner
14523 <aichner@ecf.teradyne.com>.
14525 2000-03-11 Andy Piper <andy@xemacs.org>
14527 * window.c (make_dummy_parent): initialize subwindow instance
14529 (Fset_window_configuration): zero extent_modiff.
14531 2000-03-10 Andy Piper <andy@xemacs.org>
14533 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
14534 more changes can be triggered.
14535 (Fredisplay_frame): ditto.
14536 (Fredraw_device): ditto.
14537 (Fredisplay_device): ditto.
14538 (redisplay_frame): make non-static.
14539 (redisplay_frame): call update_frame_gutter_geometry outside of
14542 * gutter.h: declare update_frame_gutter_geometry.
14544 * redisplay.h: declare redisplay_frame.
14546 * gutter.c (update_frame_gutter_geometry): move geometry changes
14547 in update_frame_gutters here. Geometry changes can only occur
14548 outside of redisplay.
14549 (update_frame_gutters): remove geometry change code.
14550 (Fredisplay_gutter_area): make sure that we are in display when we
14551 update and that we have flushed any size changes.
14553 2000-03-11 Andy Piper <andy@xemacs.org>
14555 * alloc.c (pdump_dump_data): remove i & count shadows.
14557 2000-02-27 Mike Alexander <mta@arbortext.com>
14559 * sysdep.h: Declare pdump_read_file
14561 * sysdep.c (pdump_read_file): New function
14563 * alloc.c (pdump_load): Call pdump_read_file to get the portable
14566 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
14568 * lrecord.h: add `lrecord_type_pgsetenv'.
14570 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
14572 * symsinit.h: declare (vars|syms)_of* functions.
14573 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
14575 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
14577 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
14579 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
14582 * emacs.c (main_1): Call postgres initialization code.
14584 * postgresql.h: New file. PostgreSQL RDBMS support.
14585 * postgresql.c: New file.
14587 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
14589 * redisplay-output.c (redisplay_output_display_block): Disable
14592 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14594 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
14595 (Fcanna_henkan_next): Ditto.
14596 (Fcanna_bunsetu_henkou): Ditto.
14597 (Fcanna_henkan_kakutei): Ditto.
14598 (Fcanna_henkan_end): Ditto.
14599 (Fcanna_henkan_quit): Ditto.
14600 (Fcanna_henkan_next): Set retun value correctly.
14601 (c2mu): Use unsigned char instead of signed char.
14603 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14605 * emacs.c (main_1): Always call syms_of_gui.
14606 * inline.c: include gui.h
14608 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14610 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
14611 converted to Lisp_Object.
14612 (Qtop_bottom): New variable.
14613 (syms_of_redisplay): Initialize it.
14614 * redisplay.h (Vvisible_bell): Ditto.
14615 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
14616 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
14617 only flash top and bottom.
14619 2000-03-08 Andy Piper <andy@xemacs.org>
14621 * buffer.c (Frename_buffer): record new buffer name the right way.
14623 2000-03-08 Andy Piper <andy@xemacs.org>
14625 * glyphs.c (update_subwindow): increase hash depth so that widget
14626 items get picked up properly.
14628 * redisplay-output.c (compare_runes): increase hash depth so that
14629 widget items get picked up properly.
14631 2000-03-08 Andy Piper <andy@xemacs.org>
14633 * gutter.c (output_gutter): add some debug.
14635 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
14636 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
14637 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
14639 * redisplay-output.c (compare_runes): use display_hash to
14640 determine if glyphs really are not the same.
14642 * glyphs.c (update_subwindow): check display_hash to see if
14643 anything really needs to be updated. If not then do
14644 nothing. Record the display_hash after updating.
14645 (image_instance_equal): compare the image_instance face also.
14647 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
14649 * redisplay.h: Fix comment style.
14651 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
14653 * consle-msw.h (struct mswindows_frame):
14654 Added new member paint_pending to indicate whether a WM_PAINT
14655 magic event has been queued for this frame.
14657 * event-msw.c (mswindows_drain_windows_queue):
14658 Don't queue a WM_PAINT magic event if one is already queued.
14659 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
14661 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
14663 2000-03-07 Didier Verna <didier@xemacs.org>
14665 * dired.c: #include `regex.h' after `sysfile.h'.
14667 2000-03-06 Martin Buchholz <martin@xemacs.org>
14669 * sound.c (init_nas_sound): Fix compiler warning.
14671 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
14673 (MARK_STRUCT_AS_FREE):
14674 (MARK_STRUCT_AS_NOT_FREE):
14675 Make `gcc -fstrict-aliasing' work properly.
14677 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
14679 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
14680 (mswindows_delete_device): Call CoUnnitialize().
14682 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
14684 2000-02-25 <CraigL@DyCon.com>
14686 * process-nt.c: MinGW now has <shellapi.h>, but still needs
14689 * sysdep.c: This extern declaration for environ prevents MinGW
14690 from finding the variable in CRTDLL.DLL.
14692 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
14694 (SHGFI_EXETYPE): ..
14695 (WM_MOUSEWHEEL): ..
14696 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
14698 (MMRESULT): Removed, now defined in cygwin's windows headers.
14700 (uid_t,gid_t,pid_t,ssize_t): ..
14701 (_timeb): Removed, MinGW defines both _timeb and timeb.
14702 (HAVE_H_ERRNO): Added.
14703 (HAVE_TZNAME): Added, configure is not detecting this.
14705 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
14707 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
14708 * syntax.c (syntax_match): Use it.
14710 * cmds.c: Import auto-fill-chars from FSF Emacs.
14711 (Vauto_fill_chars): New variables.
14712 (internal_self_insert): Check Vauto_fill_chars.
14714 Declare auto-fill-chars as a Lisp variable and initialize it.
14716 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
14718 * fileio.c (Fmake_symbolic_link):
14720 Run handlers even if local machine doesn't have symlinks.
14722 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
14724 * event-msw.c (mswindows_drain_windows_queue):
14725 Don't generate paint magic events for non-XEmacs frames.
14727 2000-03-05 Andy Piper <andy@xemacs.org>
14729 * redisplay.c (redisplay_frame): generate_displayable_area and
14730 friends assumes that we are not in GC, we therefore have to make
14731 sure that this doesn't happen.
14733 * gutter.c (calculate_gutter_size): generate_displayable_area
14734 assumes that we are not in GC, we therefore have to make sure that
14735 this doesn't happen.
14737 2000-03-05 Martin Buchholz <martin@xemacs.org>
14739 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
14741 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14743 * redisplay.c (regenerate_window): Make sure we set a sane value
14744 for end_pos even if we jump out of the loop.
14745 (regenerate_window): Answer Ben's question :-).
14746 (start_end_of_last_line): Add may_error argument.
14747 (start_of_last_line):
14748 (end_of_last_line): Pass may_error = 0.
14749 (end_of_last_line_may_error): New function.
14750 (pixel_to_glyph_translation): Use it, so we don't crash in
14753 2000-03-04 Andy Piper <andy@xemacs.org>
14755 * window.h (struct window): add gutter_extent_modiff.
14757 * window.c (allocate_window): zero out gutter_extent_modiff.
14759 * redisplay.h: declare sync_display_line_structs.
14761 * redisplay.c (add_glyph_rune): add a better comment.
14763 * redisplay-output.c (sync_display_line_structs): made non-static.
14764 (compare_runes): remove unneccesary glyph cachel access.
14766 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
14768 * gutter.c (output_gutter): don't output the gutter if extent
14769 changes only involve extents in buffers. use 4 sets of display
14771 (gutter_extent_signal_changed_region_maybe): new function. Mark
14772 extents in gutters as changed.
14773 (update_frame_gutters): use 4 sets of display lines.
14774 (reset_gutter_display_lines): ditto.
14775 (free_frame_gutters): ditto.
14776 (redraw_exposed_gutter): force output of gutters.
14778 * frame.h (struct frame): add 4 sets of gutter display lines.
14780 * extents.c: (extent_changed_for_redisplay): signal changes to
14781 extents in strings in the gutter as well as extents in buffers.
14783 2000-03-02 Andy Piper <andy@xemacs.org>
14785 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
14787 * frame.c (Fmake_frame): make sure the gutters get initialized
14788 after the frame is visible.
14789 (set_frame_selected_window): re-arrange compilation macros a
14791 (change_frame_size_1): mark gutters changed.
14793 * device.c (Fset_device_class): mark gutters changed.
14795 2000-03-01 Andy Piper <andy@xemacs.org>
14797 * window.c (window_top_frame_gutter_height): deleted.
14798 (window_bottom_frame_gutter_height): ditto.
14799 (window_left_frame_gutter_height): ditto.
14800 (window_right_frame_gutter_height): ditto.
14801 (window_top_gutter_height): don't use them.
14802 (window_bottom_gutter_height): ditto.
14803 (window_left_gutter_width): ditto.
14804 (window_right_gutter_width): ditto.
14805 (Fsplit_window): ditto.
14806 (Fwindow_pixel_edges): don't use border dimensions here.
14808 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
14809 (update_scrollbar_instance): ditto.
14811 * redisplay.c (generate_modeline): don't take gutters into account.
14812 (generate_modeline): ditto.
14813 (redisplay_frame): small gutter display optimization.
14815 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
14817 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
14818 gutters into account.
14820 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
14821 for window position and type.
14823 * gutter.c (get_gutter_coords): fix for frame gutters.
14824 (update_frame_gutters): update frame geometry if the gutters have
14826 (init_frame_gutters): record current gutter geometries.
14828 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
14830 (mswindows_widget_instantiate): ditto.
14832 * frame.h (struct frame): add current_gutter_bounds.
14834 * frame.c (change_frame_size_1): position window and minibuffer
14835 appropriately taking into account the frame gutters.
14837 * frame-x.c: (x_initialize_frame_size): take into account the
14840 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
14842 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
14844 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
14846 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
14848 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14850 * file-coding.c (reset_decoding_stream): Clear previous
14851 detection state when autodetect.
14853 2000-02-29 Didier Verna <didier@xemacs.org>
14855 * extents.c (set_extent_glyph_1): don't require extents to be
14858 2000-02-27 Andy Piper <andy@xemacs.org>
14860 * gutter.c (Fset_default_gutter_position): don't default left and
14861 right gutter visibility to t.
14862 (Fset_default_gutter_position): run
14863 default-gutter-position-changed-hook.
14864 (syms_of_gutter): add default-gutter-position-changed-hook.
14866 2000-02-26 Andy Piper <andy@xemacs.org>
14868 * specifier.c (Fmake_specifier): add gutter references.
14870 * gutter.h (RAW_WINDOW_GUTTER): new macro.
14872 * lisp.h: declare Fvalid_plist_p.
14874 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
14876 (default_gutter_visible_p_changed_in_window): invalidate gutter as
14877 well as its visibility so that it gets reconstructed.
14878 (construct_window_gutter_spec): new function. Construct a string
14879 to be displayed in the gutter from a plist of strings. Take care
14880 to only use elements that are declared as visible.
14881 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
14883 (gutter_validate): allow plists of strings in the specifier.
14884 (gutter_specs_changed): construct the real_gutter from the gutter
14885 specs using construct_window_gutter_spec.
14886 (gutter_visible_validate): gutter-visible is a new specifier type.
14887 (Fgutter_visible_specifier_p): new function for the new specifier.
14888 (syms_of_gutter): declare gutter-visible and
14889 Fgutter_visible_specifier_p.
14890 (specifier_type_create_gutter): intitalize new gutter-visible
14892 (reinit_specifier_type_create_gutter): ditto.
14893 (specifier_vars_of_gutter): use new specifier type for gutter
14895 (init_frame_gutters): construct real_gutter correctly.
14896 (Fgutter_specifier_p): beef up documentation.
14897 (Fgutter_size_specifier_p): ditto.
14899 * winslots.h: add real_gutter slots.
14901 2000-02-25 Andy Piper <andy@xemacs.org>
14903 * device-msw.c: Be kind to older cygwin versions. From Raymond
14904 Toy <toy@rtp.ericsson.se>.
14906 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
14907 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
14909 2000-02-25 Martin Buchholz <martin@xemacs.org>
14911 * elhash.c (MARK_OBJ): Practice macro hygiene.
14913 2000-02-24 Martin Buchholz <martin@xemacs.org>
14915 * miscplay.c: s/__inline__/inline/g;
14916 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
14917 (get_device_compdc): INLINE ==> static inline
14918 * *.[ch]: Change INLINE to INLINE_HEADER globally.
14919 find -name '*.h' | \
14920 xargs global-replace \
14921 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
14923 2000-02-25 Andy Piper <andy@xemacs.org>
14925 * window.c (window_top_frame_gutter_height): new function.
14926 (window_top_window_gutter_height): ditto.
14927 (window_top_gutter_height): use them.
14928 (window_bottom_frame_gutter_height): new function.
14929 (window_bottom_window_gutter_height): ditto.
14930 (window_bottom_gutter_height): use them.
14931 (window_left_window_gutter_width): new function.
14932 (window_left_frame_gutter_width): ditto.
14933 (window_left_gutter_width): use them.
14934 (window_right_window_gutter_width): new function.
14935 (window_right_frame_gutter_width): ditto.
14936 (window_right_gutter_width): use them.
14937 (window_pixel_height): new function. calulate window pixel height
14938 with frame gutter involvement.
14939 (Fsplit_window): calculate new sizes taking frame gutters into
14941 (window_char_height_to_pixel_height): don't include frame gutters.
14942 (window_char_height): use window_pixel_height.
14943 (window_pixheight): rename from window_pixel_height.
14944 (change_window_height): use it.
14945 (window_pixel_height_to_char_height): don't include frame gutters.
14946 (window_char_width_to_pixel_width): ditto.
14948 2000-02-25 Andy Piper <andy@xemacs.org>
14950 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
14953 2000-02-24 Martin Buchholz <martin@xemacs.org>
14955 * alloc.c (staticpro):
14956 (staticpro_nodump):
14961 (compact_string_chars):
14962 (pdump_dump_wired):
14963 Convert: if (foo) abort(); ==> assert (! foo);
14965 * eldap.c (Fldap_search_basic):
14969 Fix compiler warnings, and possible crashes if (random) return
14970 value were to be used.
14972 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14974 * device-msw.c: Workaround ResetDC failure.
14976 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
14977 applying a devmode.
14979 * redisplay-msw.c (get_frame_dc): Added start_page_p.
14980 (mswindows_text_width): Do not start printer page.
14982 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
14984 * glyphs-msw.c: Added image methods to msprinter console and
14985 msprinter-specific image instantiation.
14987 2000-02-20 Mike Alexander <mta@arbortext.com>
14989 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
14990 to avoid crashes when selection-sets-clipboard is on
14991 (mswindows_own_selection): ditto
14993 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14996 * redisplay-msw.c (get_frame_dc):
14997 (get_frame_compdc):
14999 * device-msw.c (mswindows_init_device):
15000 (mswindows_delete_device):
15001 (msprinter_init_device):
15002 (msprinter_delete_device):
15003 * frame-msw.c (mswindows_init_frame_1):
15004 (mswindows_delete_frame):
15005 (msprinter_init_frame_3):
15006 (msprinter_delete_frame): Move compatible DC to device object from
15007 frame object, for both mswindows and msprinter. Only one at a time
15008 is needed, it is a real waste to have one per frame!
15010 2000-02-23 Andy Piper <andy@xemacs.org>
15012 * glyphs.c: add dynamic width and height elements.
15013 (image_instance_equal): ditto.
15015 * glyphs-widget.c (widget_query_geometry): calculate width and
15016 height dynamically if required.
15017 (initialize_widget_image_instance): initialize dynamic dimensions.
15018 (widget_instantiate): pick-up dynamic dimensions.
15020 * glyphs.h (struct Lisp_Image_Instance): add width and height for
15021 dynamic determination. Add appropriate macros.
15023 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
15025 (WINDOW_GUTTER_SIZE): ditto.
15026 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
15028 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
15030 (get_frame_dc): ditto.
15032 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
15035 2000-02-23 Martin Buchholz <martin@xemacs.org>
15037 * XEmacs 21.2.31 is released.
15039 2000-02-22 Ben Wing <ben@xemacs.org>
15041 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
15043 2000-02-22 Andy Piper <andy@xemacs.org>
15045 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
15047 2000-02-21 Mike Sperber <mike@xemacs.org>
15051 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
15054 2000-02-21 Mike Sperber <mike@xemacs.org>
15056 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
15058 2000-02-21 Martin Buchholz <martin@xemacs.org>
15060 * XEmacs 21.2.30 is released.
15062 2000-02-20 Martin Buchholz <martin@xemacs.org>
15064 Performance hacking.
15066 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
15067 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
15068 * emacs.c (main_1):
15070 * console.c (DEFVAR_CONSOLE_LOCAL_1):
15071 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
15072 * symeval.h (DEFVAR_SYMVAL_FWD):
15073 * symbols.c (guts_of_unbound_marker):
15074 Make all c_readonly objects also lisp_readonly and marked for life.
15075 * lrecord.h (struct lrecord_implementation):
15076 Document flags better.
15077 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
15078 * lrecord.h (DECLARE_LRECORD):
15079 * lrecord.h (XSETRECORD):
15080 * lrecord.h (RECORDP):
15081 * lrecord.h (RECORD_TYPEP):
15082 * lrecord.h (RECORD_MARKER): New.
15083 * lrecord.h (error_check_*):
15084 * lrecord.h (CONCHECK_NONRECORD):
15085 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
15086 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
15087 * lrecord.h (set_lheader_implementation):
15088 * lrecord.h (enum lrecord_type): New.
15089 * symeval.h (SYMBOL_VALUE_MAGIC_P):
15090 * alloc.c (disksave_object_finalization_1):
15091 * alloc.c (mark_object):
15092 * alloc.c (lrecord_type_index):
15093 * alloc.c (tick_lcrecord_stats):
15094 * alloc.c (Fgarbage_collect):
15095 * alloc.c (init_alloc_once_early):
15096 * alloc.c (pdump_load):
15097 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
15098 * alloc.c (lrecord_type_index): Delete.
15099 Make lisp object type indexes be constant.
15100 Makes (byte-compile) 5% faster.
15101 Put all marker functions into their own array.
15102 Makes (garbage-collect) 5% faster.
15103 Optimize SYMBOL_VALUE_MAGIC_P.
15104 Makes (byte-compile) 2-3% faster.
15105 * config.h.in (gc_checking_assert): New.
15106 * alloc.c: Use gc_checking_assert().
15107 * .dbxrc: Make compatible with new object type implementation.
15108 * .gdbinit: Make compatible with new object type implementation.
15109 * alloc.c: Delete all symbols defined only for debugging, such as
15110 Lisp_Type_Vector and lrecord_charset.
15112 2000-02-21 Andy Piper <andy@xemacs.org>
15114 * gui-msw.c (Fmswindows_shell_execute): fix file location
15117 * buffer.c (Fkill_buffer): remove buffer from alist buffer
15118 unshowing so that set_window_buffer doesn't undo
15119 kill_buffer_hook's hard work.
15121 * glyphs-widget.c (tab_control_query_geometry): don't count the
15122 first item when calculating geometry.
15124 * glyphs.c (map_subwindow): remove redundant code.
15125 (update_frame_subwindows): be more circumspect about when to
15128 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
15129 when items haven't changed. Update faces if faces have changed as
15130 well as just the widget face.
15131 (x_tab_control_update): Update faces if faces have changed as well
15132 as just the widget face.
15134 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
15136 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
15138 (build_syscolor_string): Use mswindows_color_to_string to try to
15140 (mswindows_device_system_metrics): Reverse the foreground and
15141 background colors so that they match the documentation.
15143 * objects-msw.c: (mswindows_X_color_map): tweak some values so
15144 they match the default Windows palette.
15145 (mswindows_color_to_string): New function.
15147 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
15149 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
15151 2000-02-18 Olivier Galibert <galibert@pobox.com>
15153 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
15154 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
15156 * symbols.c (init_symbols_once_early): Removed obsolete
15157 DATA_SEG_BITS related kludge.
15158 (defvar_magic): Ditto.
15160 * malloc.c: Removed obsolete DATA_SEG_BITS
15162 * mem-limits.h: Ditto.
15164 * Makefile.in.in: Removed obsolete HAVE_SHM
15167 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
15169 * device-msw.c (mswindows_delete_device): Free DDE string
15172 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15174 * keymap.c (get_keyelt):
15175 * unexnt.c (unexec):
15176 * vm-limit.c (memory_warnings):
15177 * ntheap.c (recreate_heap):
15178 * ntheap.h (UNINIT_PTR):
15179 * select-msw.c (Fmswindows_get_clipboard):
15180 (Fmswindows_set_clipboard):
15181 * objects-msw.h (MSWINDOWS_BAD_HFONT):
15183 * menubar-msw.c (displayable_menu_item):
15185 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
15186 * sysdep.c (sys_subshell):
15187 * process-nt.c (nt_create_process):
15188 * nt.c (normalize_filename):
15189 (dostounix_filename):
15190 (unixtodos_filename):
15191 * ntproc.c (win32_executable_type):
15192 * ntplay.c (play_sound_data_1):
15194 * editfns.c (get_home_directory):
15195 * event-msw.c (struct winsock_stream):
15196 (mswindows_dde_callback):
15197 * device-msw.c (msprinter_init_device):
15198 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
15200 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
15201 mswindows_clear_toolbar were swapped!
15203 * objects-msw.c:(colormap_t):
15205 * emacs.c (struct standard_args): Fixed const jumble.
15207 * glyphs-widget.c (update_widget): Fixed comparison notation.
15209 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
15211 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
15212 __declspec(noreturn) syntax.
15214 2000-02-19 Martin Buchholz <martin@xemacs.org>
15216 * eldap.c (Fldap_open):
15217 (Fldap_search_basic):
15220 Use new coding system conversion macros.
15222 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15224 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
15226 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
15228 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
15229 (Fldap_add, Fldap_modify, Fldap_delete): New functions
15231 * eldap.c (Qadd, Qreplace): New constant symbols
15232 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
15233 interruptions by XEmacs signals
15234 Remove unnecessary calls to slow_down_interrupts and
15235 speed_up_interrupts
15236 (Fldap_search_basic): Renamed from Fldap_search_internal
15237 Added new optional parameter VERBOSE that triggers the
15238 display of progress messages
15239 Remove unnecessary calls to slow_down_interrupts and
15240 speed_up_interrupts
15241 LDAP result code analysis rewritten
15242 (Fldap_add, Fldap_modify, Fldap_delete): New functions
15243 (syms_of_eldap): Define the new symbols and functions
15246 2000-02-17 Martin Buchholz <martin@xemacs.org>
15248 * realpath.c: Determine PATH_MAX maximally portably.
15250 * insdel.c (bytecount_to_charcount): Optimize.
15251 The function used to be optimized for entirely ASCII sequences.
15252 Now it is optimized for successive characters from the same
15253 charset. This also wins big for _mostly_ ASCII sequences.
15255 * fileio.c (Ffile_truename): convert return from realpath() using
15256 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
15257 - Rewrite GCPROing slightly.
15259 * sysdep.c (sys_open): Do filename conversion, like all other
15260 sys_* functions. Fixes bug:
15261 (let ((file-name-coding-system 'iso-8859-2))
15262 (write-region x y latin2-name))
15263 ==> writes filename using internal encoding.
15265 2000-02-18 Martin Buchholz <martin@xemacs.org>
15267 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
15268 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
15269 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
15270 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
15271 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
15272 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
15273 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
15274 (CONST_IF_NOT_DEBUG): Delete.
15275 * alloc.c (this_one_is_unmarkable): Delete.
15276 (mark_object): Don't check for this_one_is_unmarkable. Use the
15277 c_readonly flag instead.
15278 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
15280 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
15282 * event-msw.c (mswindows_drain_windows_queue):
15283 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
15284 away redundant repaint events.
15286 2000-02-17 Andy Piper <andy@xemacs.org>
15288 * redisplay.h: declare mark_redisplay_structs.
15290 * redisplay.c (redisplay_window):
15291 (redisplay_frame): don't check subwindows_state_changed.
15292 (mark_redisplay): mark gutters here.
15294 * glyphs.c: (instantiate_image_instantiator): always layout if we
15295 haven't done so already.
15296 (allocate_image_instance): don't mark as dirty.
15297 (update_subwindow): bind inhibit_quit.
15299 * gutter.c (mark_gutters): new function.
15301 * glyphs-x.c (x_update_widget): Always resize to get round a
15304 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
15305 breaking absolutely everything.
15307 * gutter.h: declare mark_gutters.
15309 2000-02-16 Martin Buchholz <martin@xemacs.org>
15311 * XEmacs 21.2.29 is released.
15313 2000-02-15 Olivier Galibert <galibert@pobox.com>
15315 * fns.c (size_bit_vector): Fix computation of the size.
15317 2000-02-15 Martin Buchholz <martin@xemacs.org>
15319 * *.[ch]: Change CONST to const globally.
15320 find -name '*.[ch]' | \
15321 xargs global-replace \
15322 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
15323 - Remove vestigial references to CONST_IS_LOSING
15325 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
15327 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
15328 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
15329 events instead of dispatching them directly.
15330 (mswindows_handle_paint): New function to do repainting.
15331 (mswindows_wnd_proc):
15332 (emacs_mswindows_handle_magic_event): Call above function.
15334 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
15336 * objects-msw.c (mswindows_create_font_variant): Return the new
15338 (initialize_font_instance): Get font metrics from the underlined
15339 variant of the font to cope with the case where the underlined
15340 font has a bigger descent.
15342 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
15344 * gui.c (gui_item_accelerator): Return the first underlined
15345 character in item name.
15347 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15349 * lisp.h: Added Qprinter.
15351 * general.c (syms_of_general): Initialized it.
15353 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
15355 (get_frame_compdc): Made inline.
15357 * console.h (struct console_methods): Added eject_page method.
15359 * frame.h: Added FRAME_DISPLAY_P and friends.
15360 Aligned backslahes in many macros in more readable fashion.
15361 Added page_number to struct frame, and an accessor macro
15364 * defice.h: Added DEVICE_DISPLAY_P and friends.
15366 * device.c (Fdevice_printer_p): Used these.
15368 * frame.c (allocate_frame_core): Initialize page number.
15369 (Fprint_job_page_number):
15370 (Fprint_job_eject_page): Implemented.
15372 * frame-msw.c (msprinter_eject_page): Added method.
15373 (msprinter_start_page): Added.
15375 * window.c (Fwindow_truncated_p): Fixed docstring.
15376 (Fwindow_last_line_visible_height): Implemented.
15378 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15380 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
15382 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15384 * syntax.c (scan_words): Always advance at least one character.
15386 2000-02-13 Andy Piper <andy@xemacs.org>
15388 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
15389 to make sure the glyph is in the cachels.
15391 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
15392 global image instance flag.
15393 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
15394 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
15396 * glyphs.c (allocate_image_instance): set dirty bits correctly.
15397 (Fset_image_instance_property): mark layout as changed.
15398 (invalidate_glyph_geometry_maybe): mark layout as changed.
15399 (glyph_width): use new NEEDS_LAYOUT macro.
15400 (glyph_ascent): ditto.
15401 (glyph_descent): ditto.
15402 (glyph_height): ditto.
15403 (image_instance_layout): mark layout as clean after laying out.
15404 (update_subwindow): don't mark layout as clean here.
15406 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
15407 should no longer be needed.
15409 * glyphs-x.c (x_update_widget): sanitize asserts.
15410 (x_finalize_image_instance): sanitize assignment to widgets.
15412 * glyphs-widget.c (widget_instantiate): don't need to clear the
15415 2000-02-13 Martin Buchholz <martin@xemacs.org>
15417 * sysdep.c (getcwd): Use standard prototype.
15418 * sysdep.h (getcwd): Use standard prototype.
15420 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
15421 (sequence, start, end).
15422 Remove redundant type checking.
15423 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
15424 view of `caller-protects') to avoid a crash where the real fix was
15427 2000-02-12 Martin Buchholz <martin@xemacs.org>
15429 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
15431 * s/sol2.h: Remove feature macro initialization.
15433 * alloc.c (alloc_lcrecord): Add more type checking assertions.
15434 (vector_hash): New. Code from internal_hash.
15436 Fix up allocation subsystem comments.
15438 * config.h.in: Add __EXTENSIONS__ for Solaris.
15440 * systime.h (EMACS_GETTIMEOFDAY): New.
15441 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
15442 Remove Solaris-specific code.
15443 Use void* for the (ignored) second arg for gettimeofday().
15445 * elhash.c (hash_table_hash): Implement it, finally.
15446 * elhash.c: Use hashcode_t.
15448 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
15449 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
15451 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
15452 * fns.c (size_bit_vector):
15453 * alloc.c (size_vector):
15454 (make_vector_internal):
15455 (make_bit_vector_internal):
15456 (sweep_bit_vectors_1):
15457 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
15459 2000-02-10 Martin Buchholz <martin@xemacs.org>
15461 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
15462 Include strings.h to avoid warnings for bzero and strcasecmp.
15464 2000-02-10 Olivier Galibert <galibert@pobox.com>
15466 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
15467 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
15469 * fns.c (size_bit_vector): New. Declare bit vectors as a
15472 2000-02-10 Olivier Galibert <galibert@pobox.com>
15474 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
15475 use a value field instead.
15476 (symbol_value_forward_forward): Use value field.
15477 (DEFVAR_SYMVAL_FWD): Use value field.
15478 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
15479 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
15480 (DEFVAR_CONST_INT): Ditto.
15481 (DEFVAR_BOOL): Ditto.
15482 (DEFVAR_CONST_BOOL): Ditto.
15483 (DEFVAR_INT_MAGIC): Ditto.
15484 (DEFVAR_BOOL_MAGIC): Ditto.
15486 * symbols.c (guts_of_unbound_marker): Use value field.
15487 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
15488 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
15490 * lisp.h: Declare dumpopaque and noninteractive1.
15492 * alloc.c (dumpopaque): Added.
15493 (pdump_dump_opaquevec): Added.
15494 (pdump): Call pdump_dump_opaquevec to dump opaque data.
15495 (pdump_load): Reload opaque data. Sync noninteractive1 with
15498 2000-02-10 Andy Piper <andy@xemacs.org>
15500 * glyphs.c (image_instance_layout): if the size changes, mark it
15503 * redisplay-output.c (redisplay_output_layout): Update the
15505 (redisplay_output_subwindow): ditto.
15507 * glyphs.c (update_subwindow): make sure we reset flags for
15508 layouts as well as everything else.
15510 * glyphs-widget.c (layout_layout): don't need to set the instances
15513 2000-02-09 Martin Buchholz <martin@xemacs.org>
15515 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
15516 not HAVE_DLOPEN, which is a lower-level thing.
15518 * .cvsignore: Ignore gmon.out
15520 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
15522 * .cvsignore: Ignore portable dumper xemacs.dmp file
15524 2000-02-09 Andy Piper <andy@xemacs.org>
15526 * redisplay-output.c (redisplay_output_layout): be more clever
15527 about when we output based on the changed flags.
15529 * glyphs.h (struct image_instantiator_methods): add update_method.
15530 (struct Lisp_Image_Instance): add changed flags. Declare new
15531 macros for manipulating them.
15533 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
15534 (image_instance_parent_glyph): find an image_instance's parent
15535 glyph or image_instance.
15536 (image_instance_layout): mark the size as changed.
15537 (set_image_instance_dirty_p): new function. mark an image
15538 instance, plus all of its parents, as dirty.
15539 (Fset_image_instance_property): use it.
15540 (Fglyph_animated_timeout_handler): use it.
15541 (update_subwindow): call update_widget and device methods for
15542 update_subwindow. Mark all changed flags as clean.
15543 (Fresize_subwindow): mark size as changed.
15545 * glyphs-x.c (x_finalize_image_instance): try and detect gc
15547 (x_update_subwindow): only resize subwindows here.
15548 (x_update_widget): new function. Update all changed properties of
15550 (x_resize_subwindow): deleted.
15551 (x_widget_set_property): deleted.
15552 (x_progress_gauge_set_property): deleted.
15553 (x_progress_gauge_update): new function. Implement recorded
15555 (x_tab_control_update): ditto.
15556 (x_tab_control_set_property): deleted.
15557 (console_type_create_glyphs_x): declare new functions.
15558 (image_instantiator_format_create_glyphs_x): ditto.
15560 * glyphs-widget.c (widget_set_property): mark text changed.
15561 (update_widget): new function. Update properties of a widget.
15562 (widget_instantiate): for layouts make sure we set their
15563 children's parent correctly.
15564 (tab_control_set_property): new function. Record changes that will
15565 take place under redisplay's control.
15566 (progress_gauge_set_property): ditto.
15567 (image_instantiator_progress_guage): declare new functions.
15568 (image_instantiator_tab_control): ditto.
15570 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
15572 (mswindows_update_widget): new function. Update all properties on
15573 a widget that have changed.
15574 (mswindows_button_update): new function. Update a button's set
15576 (mswindows_tab_control_update): new function. Update the items in
15578 (mswindows_tab_control_set_property): deleted.
15579 (mswindows_progress_gauge_update): new function. Update the
15580 progress gauge's progress.
15581 (mswindows_widget_set_property): deleted. This is all done
15582 asynchronously now.
15583 (mswindows_progress_gauge_set_property): ditto.
15584 (console_type_create_glyphs_mswindows): declare new methods.
15585 (image_instantiator_format_create_glyphs_mswindows): ditto.
15587 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
15588 (msprinter_set_frame_properties): ditto.
15590 * console.h (struct console_methods): Add update_widget_method.
15592 2000-02-09 Andy Piper <andy@xemacs.org>
15594 * gui-msw.c (Fmswindows_shell_execute): Make
15595 mswindows-shell-execute industrial strength.
15597 2000-02-08 Martin Buchholz <martin@xemacs.org>
15599 * lrecord.h: Make macro argument `props' match member function `plist'.
15602 * fns.c (Fremprop):
15603 * fns.c (Fobject_plist):
15606 Object property list frobbing cleanup.
15607 - Allow any lisp object (compared with `eq'), not just symbols, as
15608 keys in object plists.
15609 - Move symbol plist frobbing into symbols.c, where it belongs.
15610 - Move string plist frobbing into alloc.c, where it belongs.
15611 - Everything's an lrecord now, so no need to test for symbolp, etc.
15612 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
15614 * extents.c: Reorder code to remove declarations.
15616 * frame.h (store_in_alist): Remove useless declaration.
15618 2000-02-07 Martin Buchholz <martin@xemacs.org>
15620 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
15621 * config.h.in: Add HAVE_XCONVERTCASE.
15623 2000-02-07 Andy Piper <andy@xemacs.org>
15625 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
15626 it breaks many things.
15628 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
15630 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
15631 actually can start a common comment type.
15632 * src/syntax.h (SYNTAX_END_P): ditto for end.
15634 2000-02-07 Martin Buchholz <martin@xemacs.org>
15636 * XEmacs 21.2.28 is released.
15638 2000-02-06 Martin Buchholz <martin@xemacs.org>
15640 * event-Xt.c (x_keysym_to_character): New.
15641 (maybe_define_x_key_as_self_inserting_character): New.
15642 (x_has_keysym): New.
15643 Auto-define all keys on the keyboard as self-insert-key.
15645 2000-02-02 Martin Buchholz <martin@xemacs.org>
15647 * menubar.c (vars_of_menubar): A small code simplification.
15649 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
15652 * ExternalClient.c:
15653 * EmacsShell-sub.c:
15656 Use consistent style for specifying X resources.
15658 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
15659 This makes (dontusethis-set-symbol-value-handler) actually usable.
15661 * lrecord.h (lrecord_decription_type):
15662 * alloc.c (pdump_register_sub):
15665 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
15666 Comply with XEmacs coding style.
15667 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
15668 args, and XD_LISP_OBJECT_ARRAY with 3 args.
15670 * keymap.c (Faccessible_keymaps):
15671 Make (accessible-keymaps map "\C-h") do the Right Thing.
15672 Make (accessible-keymaps map []) do the Right Thing.
15673 Make (accessible-keymaps map "") do the Right Thing.
15674 (check_keymap_definition_loop): New function.
15675 (keymap_store_internal): Keep luser from shooting self in foot,
15676 via (define-key ctl-x-4-map "p" global-map).
15677 Remove fullness slot from struct Lisp_Keymap, since hash tables
15679 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
15681 2000-01-30 Martin Buchholz <martin@xemacs.org>
15683 * redisplay.c (init_redisplay): Fix small memory leak.
15685 * elhash.c (pdump_reorganize_hash_table):
15686 Rename from reorganize_hash_table. Change prototype.
15687 Reuse the original memory for hentries. Save 100k.
15688 * alloc.c (PDUMP_READ): new macro.
15689 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
15690 * alloc.c: No need to #ifndef before #undef.
15692 * print.c: Allow debug_print() to print readably by modifying
15693 debug_print_readably. Use consistent variable names.
15695 * .dbxrc: Try to get things to work even if stopped in a function
15696 without source available by explicitly specifying source files.
15697 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15699 * unexnt.c (_start): Removed bogus code which caused loading heap
15700 from differrent executable file.
15701 Removed bogus assignment to _fmode, which caused inconsistencies.
15703 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15705 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
15706 Have spawnve encapsulation regard DONT_ENCAPSULATE.
15707 Do not preliminary `#define signal sigset'.
15709 * systime.h: Do not prototype environ on windows nt and cygwin,
15710 this conflicts with system header.
15712 * syssignal.h: Use correct define for WINDOWSNT
15714 * sysdep.h: Do not prototype environ on windows nt, this conflicts
15715 with system header.
15717 * sysdep.c (near start of file): Fixed commentary and rearranged
15718 ifdefs in readable order.
15719 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
15722 (end_of_data): Do not compile in if using PDUMP.
15724 * symsinit.h: Prototyped vars_of_nt().
15726 * ntproc.c (windows9x_p): Added, instead of os_subtype.
15727 (find_child_console): Use it.
15728 (sys_kill): Use it.
15730 * ntheap.h: Do not extern os_subtype.
15732 * ntheap.c (cache_system_info): Do not cache unneeded:
15733 nt_major_version, nt_minor_version and os_subtype.
15734 (recreate_heap): Do not compile in when PDUMPing.
15736 * nt.c (geteuid and friends): Use the new varibale
15737 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
15738 (init_user_info): Removed the above mentioned hackery.
15739 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
15740 stat has been fixed in the C runtime.
15741 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
15743 * file-coding.c (struct file_coding_dump): Do not define
15744 ucs_to_mule_table in the struct if not MULE.
15745 (struct struct lrecord_description fcd_description_1): Do not dump
15748 * emacs.c (main_1): Call vars_of_nt().
15749 (right before Fdump_emacs_data): Don't need lastfile if using both
15750 portabe dumper and system malloc.
15752 * alloc.c (Fmemory_limit): Conditionalized out.
15753 (pdump): Use OPEN_BINARY for the portable dump file.
15754 (pdump_load): Ditto.
15756 2000-02-02 Mike Alexander <mta@arbortext.com>
15758 * nt.c (convert_time): Set tm_isdst before calling mktime and
15759 avoid calling it at all if the compiler supports 64 bit integers.
15760 Also initialize utc_base_ft before using it.
15762 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
15764 * frame.c (change_frame_size_1): Take f->internal_border_width
15765 into consideration when calculating the width of the frame.
15767 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15769 * window.c (frame_min_height):
15770 (frame_size_valid_p):
15771 (frame_pixsize_valid_p): Added.
15772 (check_frame_size): Generalized.
15774 * window.h: Prototyped the above.
15777 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
15778 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
15779 Deleted Vwin32_* and Vbinary_process_* unused variables.
15781 * device-msw.c (msprinter_init_device): Do not get printer font
15782 list; Added DEVMODE functions.
15784 * frame-msw.c: Added lots of printer code.
15786 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
15789 * console-msw.h: Added more msprinter device private slots.
15791 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15793 * event-msw.c (key_needs_default_processing_p): Added.
15794 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
15796 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15798 * glyphs.c (image_instance_layout): Mark image instance as clean
15800 (glyph_dirty_p): Removed redundant function.
15801 (invalidate_glyph_geometry_maybe): Added.
15802 (update_glyph_cachel_data): Call it.
15804 * glyphs.h: Prototyped it.
15806 * redisplay.c (add_glyph_rune): Call it.
15807 (redisplay_window): Reset glyphs cachels when frame faces have
15808 changed, thus forcing recomputation of built-in border glyphs.
15810 2000-01-30 Martin Buchholz <martin@xemacs.org>
15812 * Makefile.in.in: Make portable dumper and purify play well together.
15813 Add imperfect, but better than nothing, support for pdump.
15814 Remove xemacs.dmp when temacs is re-generated.
15815 Don't ignore errors when dumping xemacs.
15817 * symbols.c (maybe_call_magic_handler): Remove one magic number.
15819 2000-01-28 Andy Piper <andy@xemacs.org>
15821 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
15822 (setup_normal_frame): ditto.
15823 (setup_frame_without_minibuffer): ditto.
15824 (setup_minibuffer_frame): ditto.
15825 (delete_frame_internal): ditto.
15826 (Fmake_frame_invisible): ditto.
15827 (Ficonify_frame): ditto.
15829 * window.h: change Fset_window_buffer signature.
15831 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
15832 (Fset_window_buffer): allow recording of buffer if the window is
15833 the selected window.
15834 (window_loop): Use new Fset_window signature.
15836 2000-01-23 Daniel Pittman <daniel@danann.net>
15838 * config.h.in: Added template for `HAVE_ATHENA_3D'
15840 2000-01-29 Andy Piper <andy@xemacs.org>
15842 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
15844 * gutter.c (output_gutter): Don't output if the window isn't live.
15846 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15848 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
15849 of 01/12/00: Moved SetFocus back here where it belongs.
15851 2000-01-23 Andy Piper <andy@xemacs.org>
15853 * s/cygwin32.h: declare printer things.
15855 2000-01-26 Andy Piper <andy@xemacs.org>
15857 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
15860 2000-01-24 Andy Piper <andy@xemacs.org>
15862 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
15863 (mswindows_button_instantiate): Make sure glyph is a pixmap.
15865 * glyphs-widget.c (widget_instantiate): Avoid shadows.
15867 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
15869 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
15871 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
15872 (mswindows_output_display_block): Avoid local shadows.
15874 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
15875 (mswindows_enqueue_mouse_button_event): ditto.
15876 (mswindows_handle_gui_wm_command): remove declaration.
15878 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
15881 * console-msw.h: Avoid shadows.
15882 (mswindows_get_toolbar_button_text):
15883 (emacs_mswindows_create_stream_pair):
15884 (emacs_mswindows_delete_stream_pair):
15885 (mswindows_handle_toolbar_wm_command): declare.
15887 * device-msw.c (build_syscolor_string): Avoid shadows.
15889 2000-01-23 Andy Piper <andy@xemacs.org>
15891 * glyphs-widget.c (widget_instantiate): reverse the items for
15892 layouts so that children are in the expected order.
15894 2000-01-28 Martin Buchholz <martin@xemacs.org>
15896 * ralloc.c: safe_bcopy ==> memmove
15897 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
15898 * s/msdos.h: Remove BCOPY macros.
15899 * insdel.c (gap_right): Remove BCOPY conditional code.
15900 * insdel.c (gap_left): Remove BCOPY conditional code.
15901 XEmacs demands a working ANSI C compiler - hence memmove.
15903 * regex.c (regex_compile): Remove accidental use of trigraphs.
15905 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15907 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
15910 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15912 * event-msw.c (mswindows_drain_windows_queue): Added the
15914 (mswindows_need_event): Commented the call to
15915 mswindows_drain_windows_queue().
15916 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
15919 * console-msw.h: Moved a few function prototypes here from
15922 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
15923 parameter from unsigned short to unsigned long.
15924 (Fmswindows_shell_execute): Added return value.
15926 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
15928 * sysdep.c (init_system_name):
15929 process-unix.c (unix_canonicalized_host_name):
15930 Don't call freeaddrinfo() if getaddrinfo() fails.
15932 * process-unix.c (unix_open_unix_network_stream):
15933 Moved the code to get a port # into address loop.
15935 2000-01-27 Martin Buchholz <martin@xemacs.org>
15937 * buffer.c (reinit_vars_of_buffer):
15938 The right place to initialize conversion_in_dynarr and
15939 conversion_out_dynarr.
15941 * alloc.c (pdump): Use the real open() till sys_open() is functional.
15943 * process-unix.c (unix_canonicalize_host_name): Muleize.
15944 (unix_open_network_stream): Muleize.
15946 * buffer.h: Fix up prototypes for ralloc.c functions.
15948 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
15949 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
15950 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
15951 instead of gethostbyname()
15952 * process-unix.c: In unix_canonicalize_host_name() and
15953 unix_open_network_stream(), add code to use getaddrinfo()
15954 instead of gethostbyname().
15956 2000-01-27 Daniel Pittman <daniel@danann.net>
15958 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
15959 libs when built with flat Athena.
15961 2000-01-27 Martin Buchholz <martin@xemacs.org>
15963 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
15964 Use coding standards for function prototypes.
15966 2000-01-25 Martin Buchholz <martin@xemacs.org>
15968 * dialog-msw.c (push_lisp_string_as_unicode):
15969 * doc.c (unparesseuxify_doc_string):
15970 * dired.c (Fuser_name_completion_1):
15971 * dired.c (Fuser_name_all_completions):
15972 * dired.c (free_user_cache):
15973 * dired.c (user_name_completion):
15974 * console-x.c (get_display_arg_connection):
15975 * minibuf.c (clear_echo_area_internal):
15976 * minibuf.c (echo_area_append):
15977 * eldap.c (Fldap_open):
15978 * eldap.c (Fldap_search_internal):
15979 * frame-x.c (x_set_frame_text_value):
15980 * frame-x.c (x_set_frame_properties):
15981 * frame-x.c (x_create_widgets):
15982 * redisplay-tty.c (term_get_fkeys_1):
15983 * objects-x.c (x_parse_nearest_color):
15984 * objects-x.c (x_valid_color_name_p):
15985 * objects-x.c (x_initialize_font_instance):
15986 * objects-x.c (x_list_fonts):
15987 * objects-x.c (x_find_charset_font):
15988 * tooltalk.c (Fadd_tooltalk_message_arg):
15989 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
15990 * tooltalk.c (Fadd_tooltalk_pattern_arg):
15991 * process-unix.c (unix_create_process):
15992 * ntproc.c (sys_spawnve):
15993 * sound.c (Fplay_sound_file):
15994 * sound.c (Fplay_sound):
15995 * buffer.c (init_initial_directory):
15996 * buffer.c (init_buffer):
15997 * editfns.c (init_editfns):
15998 * editfns.c (Ftemp_directory):
15999 * editfns.c (Fuser_full_name):
16000 * editfns.c (uncache_home_directory):
16001 * editfns.c (get_home_directory):
16002 * editfns.c (Fuser_home_directory):
16003 * editfns.c (Fformat_time_string):
16004 * editfns.c (Fcurrent_time_string):
16005 * gui-x.c (button_item_to_widget_value):
16006 * database.c (Fopen_database):
16007 * event-Xt.c (x_to_emacs_keysym):
16008 * event-Xt.c (x_event_to_emacs_event):
16009 * event-Xt.c (describe_event_window):
16010 * event-msw.c (mswindows_wnd_proc):
16011 * glyphs-eimage.c (jpeg_instantiate):
16012 * glyphs-eimage.c (gif_instantiate):
16013 * glyphs-eimage.c (png_instantiate):
16014 * glyphs-eimage.c (tiff_instantiate):
16015 * glyphs-x.c (xbm_instantiate_1):
16016 * glyphs-x.c (x_xbm_instantiate):
16017 * glyphs-x.c (x_xface_instantiate):
16018 * glyphs-x.c (autodetect_instantiate):
16019 * glyphs-x.c (cursor_font_instantiate):
16020 * glyphs-x.c (x_widget_instantiate):
16021 * glyphs-x.c (x_widget_set_property):
16022 * glyphs-x.c (x_widget_property):
16023 * glyphs-x.c (BUILD_GLYPH_INST):
16024 * print.c (write_string_to_stdio_stream):
16025 * print.c (output_string):
16026 * print.c (Falternate_debugging_output):
16027 * print.c (Fexternal_debugging_output):
16028 * glyphs-msw.c (extract_xpm_color_names):
16029 * glyphs-msw.c (mswindows_xpm_instantiate):
16030 * glyphs-msw.c (bmp_instantiate):
16031 * glyphs-msw.c (resource_name_to_resource):
16032 * glyphs-msw.c (mswindows_resource_instantiate):
16033 * glyphs-msw.c (xbm_instantiate_1):
16034 * glyphs-msw.c (mswindows_xbm_instantiate):
16035 * glyphs-msw.c (mswindows_xface_instantiate):
16036 * glyphs-msw.c (mswindows_widget_instantiate):
16037 * glyphs-msw.c (add_tree_item):
16038 * glyphs-msw.c (add_tab_item):
16039 * glyphs-msw.c (mswindows_combo_box_instantiate):
16040 * glyphs-msw.c (mswindows_widget_property):
16041 * glyphs-msw.c (mswindows_combo_box_property):
16042 * glyphs-msw.c (mswindows_widget_set_property):
16043 * console.c (stuff_buffered_input):
16044 * objects-msw.c (mswindows_initialize_color_instance):
16045 * objects-msw.c (mswindows_valid_color_name_p):
16046 * objects-msw.c (mswindows_list_fonts):
16047 * objects-msw.c (mswindows_font_instance_truename):
16048 * bytecode.c (optimize_compiled_function):
16049 * select-x.c (symbol_to_x_atom):
16050 * select-x.c (x_atom_to_symbol):
16051 * select-x.c (hack_motif_clipboard_selection):
16052 * select-x.c (selection_data_to_lisp_data):
16053 * select-x.c (lisp_data_to_selection_data):
16054 * select-x.c (Fx_get_cutbuffer_internal):
16055 * select-x.c (Fx_store_cutbuffer_internal):
16056 * buffer.h (TO_EXTERNAL_FORMAT): New function.
16057 * buffer.h (TO_INTERNAL_FORMAT): New function.
16058 * emacs.c (make_arg_list_1):
16059 * emacs.c (make_argc_argv):
16060 * emacs.c (main_1):
16061 * emacs.c (Fdump_emacs):
16062 * emacs.c (split_string_by_emchar_1):
16067 * device-x.c (x_init_device):
16068 * device-x.c (Fx_valid_keysym_name_p):
16069 * device-x.c (Fx_get_font_path):
16070 * device-x.c (Fx_set_font_path):
16071 * glyphs.c (bitmap_to_lisp_data):
16072 * glyphs.c (pixmap_to_lisp_data):
16073 * alloc.c (make_ext_string): Use coding system arguments. Update
16075 * alloc.c (build_string):
16076 * callproc.c (child_setup):
16077 * callproc.c (init_callproc):
16078 * fileio.c (lisp_strerror):
16079 * fileio.c (directory_file_name):
16080 * fileio.c (Fexpand_file_name):
16081 * fileio.c (Ffile_truename):
16082 * fileio.c (Fsysnetunam):
16083 * fileio.c (Fdo_auto_save):
16084 * sysdep.c (sys_readdir):
16085 * tests.c: New file. Allow adding C tests.
16086 Replace GET_* macros with a more comprehensible and flexible
16087 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
16089 Any coding system can be used to do format conversion.
16090 Eliminate enum external_data_format.
16091 Eliminate convert_to_external_format.
16092 Eliminate convert_to_internal_format.
16093 Make sure file-name, keyboard, terminal, and ctext are always
16094 defined as coding systems or aliases. Make
16095 file-name-coding-system, terminal-coding-system, and
16096 keyboard-coding-system magical variables that are equivalent to
16097 defining the corresponding coding system aliases.
16099 * file-coding.c (Fcoding_system_canonical_name_p): New function.
16100 * file-coding.c (Fcoding_system_alias_p): New function.
16101 * file-coding.c (Fcoding_system_aliasee): New function.
16102 * file-coding.c (append_suffix_to_symbol): New function.
16103 * file-coding.c (dangling_coding_system_alias_p): New function.
16104 * file-coding.c (Ffind_coding_system):
16105 * file-coding.c (Fcopy_coding_system):
16106 * file-coding.c (encode_coding_no_conversion):
16107 * file-coding.c (syms_of_file_coding):
16108 * file-coding.c (vars_of_file_coding):
16109 Rewrite coding system alias code.
16110 Allow nested aliases, like symbolic links.
16111 Allow redefinition of coding system aliases.
16112 Prevent existence of dangling coding system aliases.
16114 * dired.c (Fuser_name_completion_1):
16115 * dired.c (Fuser_name_all_completions):
16116 A crash would happen if user did QUIT in the middle of building
16117 user_name_cache. Remove redundant code in mainline and unwind_protect.
16120 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
16122 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
16123 an unsigned char *. Update all callers.
16125 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16127 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
16129 2000-01-25 Martin Buchholz <martin@xemacs.org>
16131 * elhash.c (hentry_description): Use more portable definition.
16132 (resize_hash_table): Initialize new hentries using
16133 xnew_array_and_zero, thereby simplifying the code.
16135 * mule-charset.c (make_charset): Make sure entire object is
16136 initialized, to avoid Purify warnings.
16138 * alloc.c (resize_string): Fix unlikely crash with big strings.
16140 2000-01-24 Martin Buchholz <martin@xemacs.org>
16142 * realpath.c (xrealpath):
16143 Don't call getwd().
16145 2000-01-25 Martin Buchholz <martin@xemacs.org>
16147 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
16149 1999-12-28 Max Matveev <max@melbourne.sgi.com>
16151 * unexelfsgi.c (unexec): Change the way we decide which segment
16152 should be extended.
16154 Assumption that .bss section should be outside the PT_LOADable
16155 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
16156 it's present) is inside the 'data' segment. This would fail the
16157 test which was used to find a segment to grow and cover new
16158 heap. Instead of this assumption, I created another one - on IRIX
16159 the segment to grow should start below .bss and it's address
16160 should extent above the end of .bss. Once this segment is
16161 identified, it's grown to accommodate the new heap and new
16162 zero-length .bss section is added at the end of .data2.
16164 2000-01-25 Martin Buchholz <martin@xemacs.org>
16166 * eval.c (Feval): Wrong number of arguments should use original
16167 function, not the indirect_function version of it.
16169 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
16171 * glyphs-x.c (x_button_instantiate): Don't add image if
16172 it is not a pixmap.
16173 (x_locate_pixmap_file): Call Fexpand_file_name when file name
16176 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
16178 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
16180 (DEFVAR_INT_MAGIC): Ditto.
16181 (DEFVAR_BOOL_MAGIC): Ditto.
16182 * glyphs.h: Reindent backslash.
16184 2000-01-24 Martin Buchholz <martin@xemacs.org>
16186 * glyphs-widget.c (layout_query_geometry):
16187 (layout_layout): Use correct types for gheight, gwidth.
16189 2000-01-24 Martin Buchholz <martin@xemacs.org>
16191 * EmacsManager.c (QueryGeometry): Purified.
16193 2000-01-23 Martin Buchholz <martin@xemacs.org>
16195 * alloc.c (make_float): Make sure entire object is initialized, to
16196 avoid Purify warnings.
16197 (pdump_register_sub): Remove useless assignment.
16198 (pdump): Use xmalloc, not malloc.
16199 (pdump_load): Use xmalloc, not malloc.
16201 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16208 * sysdep.c: Removed redundant #include <windows.h>
16210 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16212 * frame.c (delete_frame_internal): Do not delete device when its
16213 implementation so declares.
16214 (delete_frame_internal): Set device selected frame to nil when
16215 last frame goes away.
16217 * device-msw.c (msprinter_device_system_metrics): Implemented.
16218 (mswindows_device_system_metrics): Added 'device-dpi property.
16220 * device.c: (Fdevice_printer_p): Added.
16221 Added 'offset-workspace device metric.
16223 * console.h (device_metrics): Declared DM_offset_workspace.
16225 2000-01-23 Martin Buchholz <martin@xemacs.org>
16227 * fileio.c (Ffile_truename): Remove pointless and confusing
16228 initialization of elen.
16230 * glyphs-widget.c: Compiler warning fixes.
16232 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
16234 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
16235 instead of a Lisp_Object as argument to make it consistent with
16236 the other LIVE_P macros.
16237 (CHECK_LIVE_PROCESS): New macro.
16239 * process.c: Declare Qprocess_live_p.
16240 (Fprocess_live_p): New function.
16241 (create_process): Use PROCESS_LIVE_P.
16242 (read_process_output): Ditto.
16243 (set_process_filter): Ditto.
16244 (Fdelete_process): Ditto.
16245 (kill_buffer_processes): Ditto
16246 (process_send_signal): Use CHECK_LIVE_PROCESS.
16247 (Fprocess_input_coding_system): Check whether process is still
16248 alive (fix PR#1061).
16249 (Fprocess_output_coding_system): Ditto.
16250 (Fprocess_coding_system): Ditto.
16251 (Fset_process_input_coding_system): Ditto.
16252 (Fset_process_output_coding_system): Ditto.
16254 2000-01-23 Andy Piper <andy@xemacs.org>
16256 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
16259 * glyphs.c (mark_image_instance): take into account changed
16260 image_instance format.
16261 (image_instance_equal): ditto.
16262 (image_instance_hash): ditto.
16264 * glyphs-widget.c (widget_instantiate): Incorporate layout
16265 instantiation here. Delay layout of the layout until later.
16266 (layout_instantiate): deleted.
16267 (layout_query_geometry): new function. get the geometry of a
16269 (layout_layout): layout a layout dynamically.
16270 (image_instantiator_widget): New function - splitting up
16271 image_instantiator_format_create_glyphs_widget for netwinder
16273 (image_instantiator_buttons):
16274 (image_instantiator_edit_fields):
16275 (image_instantiator_combo_box):
16276 (image_instantiator_scrollbar):
16277 (image_instantiator_progress_guage):
16278 (image_instantiator_tree_view):
16279 (image_instantiator_tab_control):
16280 (image_instantiator_labels):
16281 (image_instantiator_layout): ditto.
16282 (image_instantiator_format_create_glyphs_widget): Call preceding
16285 2000-01-22 Martin Buchholz <martin@xemacs.org>
16287 * process.c (Fset_process_coding_system):
16288 * device-x.c (Fx_keysym_hash_table):
16291 * lstream.c (Lstream_write): Return documented value, not 0.
16293 * fileio.c (directory_file_name):
16294 (Fsubstitute_in_file_name):
16295 (Fsubstitute_insert_file_contents_internal):
16296 (Fwrite_region_internal):
16301 Remove vestigial APOLLO-conditional code.
16303 2000-01-21 Martin Buchholz <martin@xemacs.org>
16305 * getpagesize.h: Add guard macros.
16306 * libsst.h: Add guard macros.
16307 * libst.h: Add guard macros.
16308 * line-number.h: Add guard macros.
16309 * ndir.h: Add guard macros.
16310 * sysfloat.h: Add guard macros.
16311 * sysfile.h: Add guard macros.
16312 * sysproc.h: Add guard macros.
16313 * syswait.h: Add guard macros.
16314 * xintrinsic.h: Add guard macros.
16315 * xintrinsicp.h: Add guard macros.
16316 * xmmanager.h: Add guard macros.
16317 * xmmanagerp.h: Add guard macros.
16318 * xmprimitive.h: Add guard macros.
16319 * xmu.h: Add guard macros.
16320 * gpmevent.h: Add copyright statement. Add guard macros.
16321 * miscplay.h: Add guard macros.
16322 * *.h: Use consistent C-standards-approved guard macro names.
16324 * opaque.c (make_opaque): Switch parameter order.
16325 * opaque.h (make_opaque): Switch parameter order.
16326 Update all callers.
16327 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
16329 * config.h.in (type_checking_assert): Added.
16330 (bufpos_checking_assert): Added.
16332 2000-01-21 Martin Buchholz <martin@xemacs.org>
16334 * alloc.c: Harmless pdump changes.
16336 - spell alignment correctly.
16337 * sysdep.c: Use countof()
16339 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16341 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
16342 initially_selected_for_input() console method, default to 0.
16343 (semi_canonicalize_console_connection): Try to delegate to
16344 canonicalize_console_connection if no such console method.
16345 (canonicalize_console_connection): Vice versa.
16346 (print_console): Do not print nil connection.
16348 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
16349 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
16350 (XDEVIMPF_FRAMELESS_OK): Added.
16351 (CONSOLE_INHERITS_METHOD): Added.
16353 * console-msw.c (mswindows_canonicalize_console_connection):
16355 (mswindows_canonicalize_device_connection): Added.
16357 * console-msw.h (struct msprinter_device): Added this struct and
16359 (mswindows_device): Made fontlist a lisp object.
16361 * device.c (semi_canonicalize_device_connection): Try to delegate
16362 to canonicalize_device_connection if no such console method.
16363 (canonicalize_device_connection): Vice versa.
16364 (print_device): Do not print nil connection.
16366 * device-msw.c (mswindows_init_device): Call InitCommonControls
16368 (mswindows_delete_device): Removed fontlist deallocation.
16369 (mswindows_mark_device): Added.
16371 * events.c (event_equal): Added abort() at unreached code.
16372 (event_hash): Ditto.
16374 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
16375 fallback tags of Windows devices.
16377 * general.c (syms_of_general): Initialized Qmsprinter.
16379 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
16380 of fallback tags of Windows devices.
16382 * lisp.h: Declared Qmsprinter.
16384 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
16386 (mswindows_list_fonts): Ditto.
16387 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
16388 that it can be used by both mswindows and msprinter devices.
16389 (initialize_font_instance): Added.
16390 (mswindows_initialize_font_instance): Use it.
16391 (msprinter_initialize_font_instance): Added.
16393 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
16394 and implementation flags check.
16395 (redisplay_without_hooks): Changed the call to the above.
16396 (Fredraw_device): Ditto.
16397 (Fredisplay_device): Ditto.
16399 * redisplay-msw.c (get_frame_dc): Implemented.
16400 (get_frame_compdc): Implemented.
16401 (many functions): Use the two functions above to get device
16402 contexts, ether for a window or a printer.
16404 2000-01-21 Olivier Galibert <galibert@pobox.com>
16406 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
16407 initialization here.
16408 (init_symbols_once_early): Call it.
16409 * emacs.c (main_1): Call it.
16410 * symsinit.h: Declare it.
16412 2000-01-19 Olivier Galibert <galibert@pobox.com>
16414 * alloc.c: Use a lrecord_header * in the backtrace instead of a
16416 (pdump_backtrace): Ditto.
16417 (pdump_register_object): Ditto. Cleanup use of the pointers.
16418 (pdump_get_entry): Abort if trying to register a null pointer.
16419 (pdump_dump_data): Cleanup types when relocating.
16420 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
16421 (pdump_dump_rtables): Remove bad casts.
16422 (pdump_load): Cleanup relocation w.r.t union type. Use a
16423 Lisp_Object instead of a EMACS_INT for the hashtable
16426 2000-01-20 Martin Buchholz <martin@xemacs.org>
16428 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
16430 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
16432 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
16434 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
16436 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16438 * faces.h (FACE_STRIKETHRU_P): Added.
16440 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
16443 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
16444 (mswindows_set_dc_font): New function, aware of font variants,
16445 separated from mswindows_update_dc.
16447 * objects-msw.h (struct mswindows_font_instance_data): Added
16450 * objects-msw.c (mswindows_finalize_font_instance): Delete all
16451 cached fonts and the data structure.
16452 (mswindows_initialize_font_instance): Added creation of font data
16454 (mswindows_print_font_instance): Print at least something.
16455 (mswindows_create_font_variant): Implemented.
16456 (mswindows_get_hfont): Implemented.
16458 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
16460 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
16461 prototyping problem with msvc.
16463 * emacs.c (main_1): added syms_of_gui_mswindows() call
16465 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
16466 syms_of_gui_mswindows() function
16468 * symsinit.h: added the prototype for syms_of_gui_mswindows()
16470 2000-01-18 Martin Buchholz <martin@xemacs.org>
16472 * XEmacs 21.2.27 is released.
16474 2000-01-18 Martin Buchholz <martin@xemacs.org>
16476 * glyphs-eimage.c (struct tiff_error_struct):
16478 (tiff_warning_func):
16479 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
16484 * unexec.c: Remove vestigial Lucid C code.
16488 * libsst.c: Ansify.
16489 Remove declarations of errno and strerror().
16491 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
16493 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
16495 2000-01-16 Martin Buchholz <martin@xemacs.org>
16497 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
16500 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16505 Change enum eol_type to eol_type_t.
16507 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16509 * gui.c (get_gui_callback): Check cons before accessing car.
16511 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16513 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
16514 (XSETSPECIFIER_TYPE): Ditto.
16516 2000-01-17 Didier Verna <didier@xemacs.org>
16518 * redisplay.c (generate_fstring_runes): compute string size in
16519 characters, not bytes.
16521 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
16523 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
16525 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
16527 * print.c (print_error_message): Call print_prepare().
16529 2000-01-14 Martin Buchholz <martin@xemacs.org>
16531 * .dbxrc: Renamed from dbxrc.
16533 * events.c (event_to_character):
16534 Use `assert (foo)' instead of `if (!foo) abort()'
16536 * .gdbinit (xtype): Add documentation.
16537 * .gdbinit (check-temacs): New function.
16538 * .gdbinit (check-xemacs): New function.
16539 * dbxrc (check-xemacs): New function.
16540 * dbxrc (check-xemacs): New function.
16542 2000-01-14 Andy Piper <andy@xemacs.org>
16544 * glyphs-widget.c (widget_query_geometry): Make sure that we
16545 calculate default dimensions correctly.
16547 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16549 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
16551 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
16552 pdump_wire'd variable.
16554 * emacs.c: (main_1): Conditionalized calls to
16555 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
16557 2000-01-13 Martin Buchholz <martin@xemacs.org>
16559 * window.c (Fset_window_configuration):
16560 * sysdep.c (_start):
16561 * input-method-motif.c (res):
16562 * event-Xt.c (Xt_process_to_emacs_event):
16563 Simple compiler warning fixes.
16565 * bytecode.c (funcall_compiled_function): Use the original
16566 function symbol on the backtrace list in preference to the
16567 compiled_function object in error messages.
16569 2000-01-13 Andy Piper <andy@xemacs.org>
16571 * glyphs-x.c (update_widget_face): Make sure we update the widget
16572 background as well as foreground.
16574 2000-01-13 Andy Piper <andy@xemacs.org>
16576 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
16577 fields to subwindow.
16578 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
16579 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
16580 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
16581 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
16583 * glyphs-widget.c (check_valid_tab_orientation): new function.
16584 (initialize_widget_image_instance): zero orientation and
16586 (widget_instantiate): pick up orientation.
16587 (tab_control_query_geometry): return appropriate values for
16590 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
16591 appropriate creation flags for left, right and bottom tabs.
16593 * s/cygwin32.h: add tab definitions.
16595 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16597 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
16598 frame upon hiding a subwindow.
16599 (mswindows_button_instantiate): Changed the push button style to
16601 (mswindows_button_instantiate): Removed button BS_NOTIFY
16603 (mswindows_button_instantiate): Removed redundant check for
16604 a disabled gui item.
16605 (mswindows_button_instantiate): Made use of WS_TABSTOP
16606 consistent: "operable" controls (edit, button, tree, scroll) have
16607 this style, "display-only" ones (static, progress gauge) do
16608 not. This style is currently ignored by XEmacs though. Also,
16609 removed the WS_EX_CONTROLPARENT style - it is not for children,
16610 it is for their parents!
16611 (mswindows_edit_field_instantiate): Ditto.
16612 (mswindows_progress_gauge_instantiate): Ditto.
16613 (mswindows_tree_view_instantiate): Ditto.
16614 (mswindows_tab_control_instantiate): Ditto.
16615 (mswindows_scrollbar_instantiate): Ditto.
16616 (mswindows_combo_box_instantiate): Ditto.
16617 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
16618 style to the "clip" window.
16619 (mswindows_button_instantiate): Removed compilation warning by
16620 equally typing terms of the ?: operator.
16622 2000-01-12 Didier Verna <didier@xemacs.org>
16624 * redisplay.c (generate_fstring_runes): new parameter holding the
16625 last modeline-format extent.
16626 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
16627 extent, fill the glyph block with it.
16628 (generate_fstring_runes): handle these parameters.
16629 (generate_formatted_string_db): ditto.
16631 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
16632 glyphs'extents in the modeline.
16634 1999-01-11 Mike Woolley <mike@bulsara.com>
16636 * ntheap.c: Reduced the reserved heap space from 1Gb down to
16637 256Mb, as a workaround for the non-starting problem many people
16640 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16642 * console-tty.c (Fset_console_tty_output_coding_system):
16643 Force redrawing tty frame.
16645 2000-01-10 Didier Verna <didier@xemacs.org>
16647 * redisplay.c (generate_fstring_runes): fix size computation bug.
16649 2000-01-09 William M. Perry <wmperry@aventail.com>
16651 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
16653 2000-01-09 Andy Piper <andy@xemacs.org>
16655 * glyphs-msw.c: index -> i to avoid shadows.
16656 (xbm_create_bitmap_from_data): make static.
16657 (check_valid_string_or_int): deleted.
16658 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
16660 * glyphs-x.c (x_update_subwindow): remove unused args.
16662 * glyphs.c (glyph_image_instance): return the thing. Don't set the
16663 back pointer - this is done in allocate_image_instance.
16664 (query_string_font): return Qnil to make the compiler happy.
16665 (unmap_subwindow): set to ~0 to make the compiler happy.
16666 (glyph_query_geometry): comment out until used.
16667 (glyph_layout): ditto.
16669 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
16671 * insdel.c (signal_after_change): Remove extraneous unbind_to().