1 2005-06-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * chartab.c (char_table_get_db): Use `read_from_c_string'.
5 2005-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
7 * lread.c (read_from_c_string): New function.
9 * lisp.h (read_from_c_string): New prototype.
11 2005-05-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
13 * chartab.c (Fput_char_attribute): Convert char-specs in value of
14 `{<-|->}Oracle-Bones[^*]*' to characters and put reverse links.
15 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
16 for `{<-|->}Oracle-Bones[^*]*'.
18 2005-05-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
20 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.22
23 2005-02-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
25 * text-coding.c (Qccs_priority_list): New variable in XEmacs
27 (Fmake_coding_system): Support new property `ccs-priority-list' in
29 (Fcoding_system_property): Likewise.
30 (char_encode_iso2022): Prefer CODING_SYSTEM_CCS_PRIORITY_LIST than
31 Vdefault_coded_charset_priority_list in XEmacs CHISE.
32 (syms_of_file_coding): Add builtin symbol `ccs-priority-list' in
34 (complex_vars_of_file_coding): Define new coding-system-property
35 `ccs-priority-list' in XEmacs CHISE.
37 * file-coding.h (XCODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
39 2004-12-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
41 * char-ucs.h (decoding_table_put_char): Moved to mule-charset.c;
42 changed to normal function.
43 (encode_char_2): Likewise.
45 * mule-charset.c (decoding_table_put_char): Copied from
46 char-ucs.h; changed to normal function.
47 (encode_char_2): Likewise.
49 2004-12-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
51 * char-ucs.h (Vdisplay_coded_charset_priority_use_inheritance):
53 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
54 (encode_char_2_search_children): New inline function.
55 (encode_char_2): Refer
56 `Vdisplay_coded_charset_priority_use_{inheritance|hierarchy_order}'
57 and use `encode_char_2_search_children'.
59 2004-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
62 (Vdisplay_coded_charset_priority_use_inheritance): New variable.
63 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
64 (vars_of_mule_charset): Add new variable
65 `display-coded-charset-priority-use-inheritance' and
66 `display-coded-charset-priority-use-hierarchy-order'.
68 2004-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
70 * char-ucs.h (Q_subsumptive): New extern.
71 (Q_denotational): Likewise.
72 (encode_char_2): Search children specified by `->subsumptive' and
75 2004-11-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
77 * mule-charset.c (complex_vars_of_mule_charset): Modify the
78 X-registry of `ucs-bmp'.
80 2004-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
82 * chartab.c (char-variants): Refer `->subsumptive',
83 `->denotational' and `->identical' as same as `->ucs-unified'.
85 2004-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
87 * chartab.c (Fput_char_attribute): Convert char-specs in value of
88 `{<-|->}{fullwidth|halfwidth}[^*]*' to characters and put reverse
91 2004-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
93 * text-coding.c: Add EXFUN for `Fregexp_quote'.
94 (decode_add_er_char): Fix problem about infinite loop when a CCS
95 specified in `coded-charset-entity-reference-alist' is not
98 2004-09-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
100 * mule-charset.c (syms_of_mule_charset): Rename
101 `=jis-x0208-{1978|1983|1990}' to `=jis-x0208@{1978|1983|1990}'.
103 2004-08-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
105 * fns.c (simplify_char_spec): Don't allocate new character-object
106 if specified char_spec does not have any CCS-features.
108 * chartab.h: Add EXFUN for Fdefine_char.
110 * chartab.c: Delete EXFUN for Fdefine_char.
112 2004-08-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
114 * fns.c (simplify_char_spec): Use Fdefine_char instead of
115 Ffind_char for char-spec.
117 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
119 * lisp-disunion.h (XCHARVAL): Fix condition about
122 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
124 * mule-charset.c (decode_builtin_char): Use <EMACS_INT> instead of
126 (Fdecode_builtin_char): Use <EMACS_INT> instead of <int> for code
127 point; use <Emchar> instead of <int> for character-id.
129 2004-07-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
131 * lisp-disunion.h (make_int): Cast the argument into <EMACS_INT>.
132 (make_char): Likewise.
133 (XCHARVAL): Don't use the inline function for UTF-2000 in 64 bit
135 (XCHARVAL[for UTF-2000 in 32 bit environment]): Use <Emchar>
136 instead of <int> as the type of return value; use <Lisp_Object>
137 instead of <Emchar> as the type of argument.
138 (XCHARVAL[macro version]): Cast the result into <Emchar>.
140 * syntax.h (SYNTAX_CODE_UNSAFE): Use <Lisp_Object> and <enum
141 syntaxcode> instead of <int>.
143 2004-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
145 * chartab.c (put_char_composition): Use DECODE_CHAR to get
146 character corresponding with UCS code point.
147 (Fput_char_attribute): Likewise.
149 * mule-charset.c (put_char_ccs_code_point): Don't omit a UCS
150 character in the UCS decoding-table if the char-id is not equal to
153 2004-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
155 * mule-charset.c (Fsave_charset_properties): Use `true-name' only
156 for aliases; write `description'; write
157 `mother-code-{min|max|offset|conversion}' if CHARSET_MAX_CODE is
160 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
162 * chartab.c (Fsave_char_attribute_table): Don't use
163 `save_charset_properties'.
165 * mule-charset.c (Fsave_charset_properties): Renamed from
166 `save_charset_properties' and changed to Lisp function again;
167 write property `type' as `CCS'; write properties `final-byte' and
168 `mother' if they exists.
169 (syms_of_mule_charset): Revive builtin function
170 `save-charset-properties' when HAVE_LIBCHISE is defined.
172 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
174 * chartab.c (open_chise_data_source_maybe): Use Vdata_directory
175 instead of Vexec_directory.
176 (char_attribute_system_db_file): Likewise.
178 2004-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
180 * chartab.c (Fsave_char_attribute_table): Use
181 `save_charset_properties' for CCS features when HAVE_LIBCHISE is
184 * mule-charset.c (save_charset_properties): Renamed from
185 `Fsave_charset_properties'; changed to non-Lisp function.
186 (syms_of_mule_charset): Abolish builtin function
187 `save-charset-properties'.
189 2004-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
191 * mule-charset.c (Fsave_charset_properties): New function when
192 HAVE_LIBCHISE is defined.
193 (syms_of_mule_charset): Add new builtin function
194 `save-charset-properties' when HAVE_LIBCHISE is defined.
196 2004-06-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
198 * chartab.c (Fput_char_attribute): Convert char-specs in value of
199 `{<-|->}ancient[^*]*' to characters and put reverse links.
200 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
201 for `{<-|->}ancient[^*]*'.
203 2004-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
205 * chartab.c (Fput_char_attribute): Convert char-specs in value of
206 `{<-|->}original[^*]*' to characters and put reverse links.
207 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
208 for `{<-|->}original[^*]*'.
210 2004-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
212 * mule-canna.c (m2c): Fix problem with XEmacs CHISE.
214 2004-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
216 * mule-charset.c (Qsystem_char_id): New variable.
218 * chartab.c (Qsystem_char_id): Deleted even if HAVE_CHISE is
219 defined and HAVE_LIBCHISE_LIBCHISE is not defined.
221 2004-05-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
223 * chartab.c (Fput_char_attribute): When processing a reference of
224 a character, put into the end of the reversed reference of each
227 2004-05-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
229 * chartab.c (Q_same): Deleted.
230 (Q_same_of): Deleted.
231 (Fput_char_attribute): Use Fstring_match to find `{<-|->}same'.
232 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
234 (syms_of_chartab): Delete builtin symbol `{<-|->}same'.
236 2004-05-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
238 * chartab.c (Q_vulgar): Deleted.
239 (Q_vulgar_of): Deleted.
240 (Fput_char_attribute): Use Fstring_match to find `{<-|->}vulgar'.
241 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
243 (syms_of_chartab): Don't define `{<-|->}vulgar'.
245 2004-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
247 * chartab.c (Fput_char_attribute): Convert char-specs in value of
248 `{<-|->}wrong[^*]*' to characters and put reverse links.
249 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
250 for `{<-|->}wrong[^*]*'.
252 2004-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
254 * chartab.c (Q_vulgar): New variable.
255 (Q_vulgar_of): New variable.
256 (Fput_char_attribute): Convert char-specs in value of
257 `{->|<-}vulgar' to characters and put reverse links.
258 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
260 (syms_of_chartab): Add new symbols `{->|<-}vulgar'.
262 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
264 * text-coding.c (decode_add_er_char): Must to quote prefix string
267 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
269 * mule-charset.c (put_char_ccs_code_point): Store characters of
270 =ucs whose code_points >= 0xF0000.
272 2004-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
274 * mule-charset.c (Vcharset_system_char_id): New variable in XEmacs
276 (syms_of_mule_charset): Add new symbol `system-char-id' in XEmacs
278 (complex_vars_of_mule_charset): Add new coded-charset
279 `system-char-id' in XEmacs CHISE; modify `=ucs' to eliminate
280 builtin characters over 0xEFFFF.
282 * chartab.c (syms_of_chartab): Don't define symbol
283 `system-char-id' in every case.
285 * char-ucs.h (Qsystem_char_id): New extern variable.
286 (LEADING_BYTE_SYSTEM_CHAR_ID): New macro.
288 2004-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
290 * text-coding.c (char_encode_utf8): Try to use entity-references
291 for U-000F0000 ... U-0010FFFF.
293 2004-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
295 * text-coding.c (ER_BUF_SIZE): New macro.
296 (struct decoding_stream): Use `ER_BUF_SIZE' to specify size of
298 (decode_add_er_char): Use `ER_BUF_SIZE' instead of 16.
299 (char_encode_as_entity_reference): Use `ER_BUF_SIZE'.
301 2004-03-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
303 * chartab.c (find_char_feature_in_family): New function.
304 (Fchar_feature): Use `find_char_feature_in_family' with
305 `->identical', `<-subsumptive' and `<-denotational'.
307 2004-03-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
309 * text-coding.c (char_encode_as_entity_reference): Allow prefix
310 within 8 characters; fix infinite loop.
312 2004-03-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
314 * chartab.c (Q_same): New variable.
315 (Q_same_of): New variable.
316 (Fput_char_attribute): Convert char-specs in value of
317 `{->|<-}same' to characters and put reverse links.
318 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
320 (syms_of_chartab): Add new symbols `{->|<-}same'.
322 2004-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
324 * chartab.c (Q_component): New variable.
325 (Q_component_of): Likewise.
326 (Fput_char_attribute): Convert char-specs in value of
327 `{->|<-}ideographic-component-forms' to characters and put reverse
329 (syms_of_chartab): Add new symbols
330 `{->|<-}ideographic-component-forms'.
332 2004-02-24 MORIOKA Tomohiko <tomo@m17n.org>
334 * chartab.c (Q_identical): New variable.
335 (Q_identical_from): New variable.
336 (Fchar_feature): Regard `->identical' as a feature to find
338 (Fput_char_attribute): Add reversed link for `{->|<-}identical'.
339 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
340 for `{->|<-}identical'.
341 (syms_of_chartab): Add new symbols `{->|<-}identical'.
343 2004-02-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
345 * char-ucs.h (encode_char_2): New inline function.
346 (CHAR_TO_CHARC): Use `encode_char_2' instead of `encode_char_1'.
348 2004-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
350 * chartab.c (Fput_char_attribute): Convert char-specs to
351 characters in value of `ideographic-structure'.
352 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
353 for `{<-|->}simplified(@...)'.
354 (Fdefine_char): Try to use predefined character's id.
356 2004-02-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
358 * fns.c (simplify_char_spec): Try to convert builtin chars to
361 2004-02-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
363 * chartab.c (Fput_char_attribute): Convert char-specs in value of
364 `<-simplified[^*]*' to characters and put reverse links.
366 2004-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
368 * chartab.c (Q_subsumptive): Renamed from Q_unified.
369 (Q_subsumptive_from): Renamed from Q_unified_from.
370 (Fchar_feature): Use `Q_subsumptive_from' instead of
372 (Fput_char_attribute): Likewise; Use `Q_subsumptive' instead of
374 (syms_of_chartab): Rename `->unified' to `->subsumptive' and
375 `<-unified' to `<-subsumptive'.
377 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
379 * chartab.c (Fchar_feature): Check `<-denotational' to avoid
380 inheritance itself; fix typo; stop recursive search if cyclic
381 inheritance is found.
383 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
385 * chartab.c (Q_denotational): New variable.
386 (Q_denotational_from): New variable.
387 (Fchar_feature): Refer `<-denotational' as same as `<-unified'.
388 (put_char_attribute): New function.
389 (Fput_char_attribute): Use `put_char_attribute'; regard
390 `->denotational' and `<-denotational' as same as `->unified' and
392 (syms_of_chartab): Add new symbols `->denotational' and
395 2004-02-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
397 * chartab.c (Fget_composite_char): Use `Fchar_feature' instead of
398 `Fget_char_attribute'.
399 (Fchar_variants): Likewise.
400 (get_char_table): Likewise.
401 (Fchar_feature): New function.
402 (put_char_composition): Use `Fchar_feature' instead of
403 `Fget_char_attribute'.
404 (Fput_char_attribute): Likewise; don't put the target character
405 into its `->unified' value.
406 (syms_of_chartab): Add new builtin function `char-feature'.
408 2004-01-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
410 * text-coding.c (COMPOSE_ADD_CHAR): Use `Fchar_feature' instead of
411 `Fget_char_attribute'.
412 (char_encode_utf8): Likewise.
414 * chartab.h: Add an EXFUN for `Fchar_feature'.
416 2004-01-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
418 * chartab.c (Vnext_defined_char_id): New variable.
419 (Fput_char_attribute): Accept characters in `->unified'.
420 (Fdefine_char): Refer and update Vnext_defined_char_id to allocate
421 new characters which are not related with builtin char-id ranges.
422 (vars_of_chartab): Add new variable `next-defined-char-id'.
424 2004-01-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
426 * chartab.c (Q_unified): New variable.
427 (Q_unified_from): New variable.
428 (Fput_char_attribute): Add code for `->unified'.
429 (syms_of_chartab): Add new symbols `->unified' and `<-unified' in
432 2003-11-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
434 * mule-charset.c (decode_ccs_conversion): New function.
435 (decode_defined_char): Use `decode_ccs_conversion'.
436 (decode_builtin_char): Likewise.
438 2003-11-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
440 * char-ucs.h: Change some charset-ids of private coded-charsets.
442 2003-11-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
444 * text-coding.c (decode_add_er_char): Modify for `DECODE_CHAR'.
445 (char_encode_as_entity_reference): Likewise.
446 (decode_coding_big5): Modify for `decode_defined_char' and
448 (decode_coding_utf8): Modify for `decode_defined_char'; modify to
449 avoid compiler warning.
450 (decode_coding_iso2022): Modify for `DECODE_CHAR'.
452 * mule-charset.c (decode_defined_char): Add new argument
453 `without_inheritance'.
454 (Fdecode_char): Add new optional argument `without_inheritance'.
455 (Fdecode_builtin_char): Modify for `Fdecode_char'.
457 * fns.c (ids_format_unit): Modify for `Fdecode_char'.
458 (simplify_char_spec): Likewise.
460 * chartab.h (Fdecode_char): Modify number of arguments of EXFUN
463 * chartab.c (put_char_table): Modify for `DECODE_CHAR'.
464 (map_char_table): Likewise.
465 (Fdefine_char): Use `Fdecode_char' without inheritance.
466 (Ffind_char): Modify for `Fdecode_char'.
468 * character.h (CHARC_TO_CHAR): Modify for `DECODE_CHAR'.
470 * char-ucs.h (decode_defined_char): Add new argument
471 `without_inheritance'.
472 (DECODE_CHAR): Likewise.
473 (MAKE_CHAR): Modify for `DECODE_CHAR'.
475 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
477 * chartab.c (Vchise_system_db_directory): New variable.
478 (vars_of_chartab): Add new variable `chise-system-db-directory'.
480 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
482 * chartab.c: EXFUN `Fmount_char_attribute_table'.
483 (print_chartab_range): Don't define when `UTF2000' is defined.
484 (open_chise_data_source_maybe): Specify 0 instead of DB_HASH for
487 2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
489 * chartab.c (Fchar_attribute_list): When HAVE_LIBCHISE is defined
490 and optional argument `rehash' is specified, call
491 `open_chise_data_source_maybe' before
492 `chise_ds_foreach_char_feature_name' is called.
494 2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
496 * chartab.c (char_attribute_list_reset_map_func): New function
497 when HAVE_LIBCHISE is defined.
498 (Fchar_attribute_list): Add new optional argument `rehash' when
499 HAVE_LIBCHISE is defined.
500 (open_chise_data_source_maybe): Use "chise-db" instead of
502 (char_attribute_system_db_file): Likewise.
503 (Fload_char_attribute_table): Use
504 `chise_feature_foreach_char_with_value' instead of
505 `chise_char_feature_value_iterate'.
507 2003-10-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
509 * chartab.c (Vchise_db_directory): New variable.
510 (vars_of_chartab): Add new built-in variable `chise-db-directory'.
512 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
514 * mule-charset.c (Freset_charset_mapping_table): Use HAVE_LIBCHISE
515 instead of HAVE_CHISE to specify using with libchise.
517 * config.h.in (HAVE_CHISE_CLIENT): Deleted.
519 * chartab.h: Don't use HAVE_CHISE_CLIENT.
521 * chartab.c (Qsystem_char_id): Don't define when HAVE_CHISE is not
522 defined or HAVE_LIBCHISE_LIBCHISE is defined.
523 (char_attribute_system_db_file): Don't define when HAVE_LIBCHISE
525 (Freset_char_attribute_table): Use HAVE_LIBCHISE instead of
526 HAVE_CHISE to specify using with libchise.
527 (syms_of_chartab): Don't define symbol `system-char-id' when
528 HAVE_CHISE is not defined or HAVE_LIBCHISE_LIBCHISE is defined.
530 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
532 * mule-charset.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
533 specify CHISE DB support.
534 (Freset_charset_mapping_table): Use `chise_ccs_setup_db' instead
535 of `char_attribute_system_db_file' to check feature DB file.
537 * chartab.h, casetab.c, char-ucs.h: Use HAVE_CHISE instead of
538 HAVE_CHISE_CLIENT to specify CHISE DB support.
540 * chartab.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
541 specify CHISE DB support.
542 (open_chise_data_source_maybe): Don't define when HAVE_LIBCHISE is
544 (Freset_char_attribute_table): Use `chise_feature_setup_db'
545 instead of `char_attribute_system_db_file' to check feature DB
548 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
550 * mule.c (vars_of_mule): Use `HAVE_CHISE' instead of `CHISE' and
553 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
555 * mule-charset.c: Use HAVE_LIBCHISE instead of CHISE.
556 (Fsave_charset_mapping_table): Don't use
557 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
559 * config.h.in (HAVE_CHISE): Renamed from `CHISE'.
560 (HAVE_LIBCHISE): New macro.
562 * chartab.h: Use HAVE_LIBCHISE instead of CHISE.
564 * chartab.c: Use HAVE_LIBCHISE instead of CHISE.
565 (Fsave_char_attribute_table): Don't use
566 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
568 2003-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
570 * chartab.c (save_uint8_byte_table): Use libchise when CHISE is
572 (save_uint16_byte_table): Likewise.
573 (save_byte_table): Likewise.
574 (char_table_get_db): Use `chise_ds_load_char_feature_value'
575 instead of `chise_char_load_feature_value'.
576 (Fsave_char_attribute_table): Use libchise when CHISE is defined.
578 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
580 * chartab.h (struct Lisp_Char_Table): Delete member
581 `feature_table' if CHISE is defined.
583 * chartab.c (Fmake_char_table): Don't refer `ct->feature_table'.
584 (Fcopy_char_table): Likewise.
585 (char_table_open_db_maybe): Likewise.
586 (char_table_close_db_maybe): Likewise.
587 (char_table_get_db): Likewise.
588 (Fmount_char_attribute_table): Likewise.
589 (Fload_char_attribute_table): Likewise.
591 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
593 * mule-charset.c (load_char_decoding_entry_maybe): Use
594 `chise_ds_decode_char' instead of `chise_ds_get_ccs' and
597 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
599 * chartab.c (open_chise_data_source_maybe): Use `CHISE_DS_open'
600 instead of `chise_open_data_source'.
601 (Fclose_char_data_source): Use `CHISE_DS_close' instead of
604 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
606 * chartab.c (char_table_open_db_maybe): Use `chise_ds_get_feature'
607 instead of `chise_ds_open_feature_table'.
608 (char_table_close_db_maybe): Don't use `chise_ft_close'.
610 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
612 * mule-charset.c (Fsave_charset_mapping_table): Use
613 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
614 `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
615 `chise_ccs_sync' instead of `chise_ccst_close'.
616 (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
618 * chartab.c (open_chise_data_source_maybe): Modify for
619 `chise_open_data_source'.
620 (char_table_open_db_maybe): Modify for
621 `chise_ds_open_feature_table'.
623 2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
625 * mule-charset.c (load_char_decoding_entry_maybe): Use
626 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
629 2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
631 * mule-charset.c (Fsave_charset_mapping_table): Use
632 `chise_ds_open_ccs_table', `chise_ccst_put_char' and
633 `chise_ccst_close' instead of `chise_ds_open_decoding_table',
634 `chise_dt_put_char' and `chise_dt_close'.
635 (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
636 `chise_ccs_decode' and `chise_ccst_close' instead of
637 `chise_ds_open_decoding_table', `chise_dt_get_char' and
640 * chartab.c (char_table_get_db): Use
641 `chise_char_load_feature_value' instead of `chise_ft_get_value'.
642 (load_char_attribute_table_map_func): Modify for
643 `chise_char_feature_value_iterate'.
644 (Fload_char_attribute_table): Use
645 `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
647 2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
649 * text-coding.c (COMPOSE_ADD_CHAR): Fixed.
651 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
653 * chartab.c (put_char_table): Modify for inherited coded-charsets
656 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
658 * chartab.c (Fput_char_table_map_function): Fixed.
659 (word_boundary_p): Don't check charset in XEmacs CHISE.
661 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
663 * mule-charset.c (Fsave_charset_mapping_table): Use
664 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
665 instead of `chise_open_decoding_table'; refer
666 `default_chise_data_source'; use `chise_dt_close' instead of
667 `chise_close_decoding_table'.
668 (load_char_decoding_entry_maybe): Likewise.
670 * chartab.c (default_chise_data_source): New variable when `CHISE'
672 (Fcopy_char_table): `ct->ds' is deleted.
673 (open_chise_data_source_maybe): New function.
674 (Fclose_char_data_source): New function.
675 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
676 use `chise_ds_open_feature_table' instead of
677 `chise_open_feature_table'.
678 (char_table_close_db_maybe): Use `chise_ft_close' instead of
679 `chise_close_feature_table'; `cit->ds' is deleted.
680 (syms_of_chartab): Add new builtin function
681 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
683 * chartab.h (default_chise_data_source): New extern variable.
684 (open_chise_data_source_maybe): New prototype.
685 (struct Lisp_Char_Table): Delete `ds'.
687 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
689 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
692 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
694 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
695 not defined; add code for non-libchise setting.
696 (char_table_close_db_maybe): Likewise.
697 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
699 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
700 even if `CHISE' is not defined.
701 (Freset_char_attribute_table): Likewise.
702 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
703 `char_table_close_db_maybe' even if `CHISE' is not defined; use
705 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
706 `char_table_close_db_maybe' even if `CHISE' is not defined.
708 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
710 * chartab.c (char_table_open_db_maybe): New function.
711 (char_table_close_db_maybe): New function.
712 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
713 (Freset_char_attribute_table): Likewise.
714 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
715 `char_table_close_db_maybe'.
716 (Fload_char_attribute_table): Likewise.
718 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
720 * chartab.c: Don't include <chise.h> because it is included in
722 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
724 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
726 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
728 (Fclose_char_attribute_table): Close `ct->feature_table' and
729 `ct->ds' when `CHISE' is defined.
730 (Freset_char_attribute_table): Likewise.
731 (load_char_attribute_maybe): Use `cit->ds' and
732 `cit->feature_table' when `CHISE' is defined.
733 (Fload_char_attribute_table): Likewise.
735 * chartab.h: Include <chise.h> when `CHISE' is defined.
736 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
737 when `CHISE' is defined.
739 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
741 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
743 (char_table_description): Likewise.
744 (Fmake_char_table): Likewise.
745 (Fcopy_char_table): Likewise.
746 (Fmount_char_attribute_table): Likewise.
747 (Fclose_char_attribute_table): Likewise.
748 (Freset_char_attribute_table): Likewise.
749 (load_char_attribute_maybe): Likewise.
750 (Fload_char_attribute_table): Likewise.
752 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
755 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
757 * chartab.c (load_char_attribute_table_map_func): New function
758 when CHISE is defined.
759 (Qload_char_attribute_table_map_function): Don't define when CHISE
761 (Fload_char_attribute_table_map_function): Likewise.
762 (Fload_char_attribute_table): Use libchise when `CHISE' is
764 (syms_of_chartab): Don't define
765 `load-char-attribute-table-map-function' when CHISE is defined.
767 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
769 * chartab.c: Include <chise.h> when `CHISE' is defined.
770 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
772 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
774 * mule-charset.c (charset_code_point): Fix problem when searching
775 in mother CCS fails with `defined_only' mode.
777 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
779 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
780 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
781 (put_char_composition): Likewise.
782 (Fput_char_attribute): Likewise.
783 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
785 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
787 * chartab.c (Q_ucs): Deleted.
788 (Fput_char_attribute): Don't refer `->ucs'.
789 (Fdefine_char): Likewise.
790 (Ffind_char): Likewise.
791 (syms_of_chartab): Delete `->ucs'.
793 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
795 * mule-charset.c (Qmap_cns11643_2): Renamed from
796 `Qchinese_cns11643_2'.
797 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
798 `chinese-cns11643-2'.
799 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
802 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
804 * mule-charset.c (Qmap_cns11643_1): Renamed from
805 `Qchinese_cns11643_1'.
806 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
807 `chinese-cns11643-1'.
808 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
811 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
813 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
814 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
816 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
819 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
821 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
822 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
824 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
827 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
829 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
830 (syms_of_mule_charset): Add new symbol `=big5' instead of
832 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
834 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
836 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
837 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
839 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
842 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
844 * mule-charset.c (Qmap_jis_x0212): Renamed from
845 `Qjapanese_jisx0212'.
846 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
848 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
851 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
853 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
854 `Qjapanese_jisx0208'.
855 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
856 of `japanese-jisx0208'.
857 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
860 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
862 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
863 `Qjapanese_jisx0208_1978'.
864 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
865 of `japanese-jisx0208-1978'.
866 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
869 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
871 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
872 only for XEmacs CHISE.
874 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
876 * char-ucs.h: Compact non-ISO-IR charset-ids.
877 (LEADING_BYTE_UCS): Changed to -177.
878 (LEADING_BYTE_CONTROL_1): Changed to -77.
879 (LEADING_BYTE_UCS_BMP): Changed to -176.
880 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
882 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
884 * mule-charset.c (Qiso_ir): New variable.
885 (Fmake_charset): Recognise new property `iso-ir'.
886 (syms_of_mule_charset): Add new symbol `iso-ir'.
888 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
890 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
891 n to -n; charset-id of non ISO-IR sets are changed to positive
894 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
896 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
897 for &MCS-XXXXXXXX; values.
899 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
901 * mule.c (Vxemacs_chise_version): Renamed from
903 (vars_of_mule): Add new variable `xemacs-chise-version'; define
904 `utf-2000-version' as an alias for `xemacs-chise-version'.
906 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
908 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
909 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
912 * config.h.in (CHISE): New macro.
914 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
916 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
918 (Qmap_ucs): New variable.
919 (syms_of_mule_charset): Add new symbol `=ucs'.
920 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
922 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
923 (simplify_char_spec): Likewise.
925 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
927 * char-ucs.h (Qmap_ucs): New extern variable.
929 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
931 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
932 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
933 don't define it when UTF2000 is not defined.
934 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
935 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
936 when UTF2000 is not defined.
937 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
938 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
940 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
942 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
944 * mule-charset.c (Vcharset_ucs_gb): Deleted.
946 (syms_of_mule_charset): Delete `ucs-gb'.
947 (complex_vars_of_mule_charset): Likewise.
949 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
951 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
953 * mule-charset.c (Vcharset_ucs_cns): Deleted.
955 (syms_of_mule_charset): Delete `ucs-cns'.
956 (complex_vars_of_mule_charset): Likewise.
958 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
960 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
962 * mule-charset.c (Vcharset_ucs_jis): Deleted.
964 (syms_of_mule_charset): Delete `ucs-jis'.
965 (complex_vars_of_mule_charset): Likewise.
967 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
969 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
971 * mule-charset.c (Vcharset_ucs_ks): Deleted.
973 (syms_of_mule_charset): Delete `ucs-ks'.
974 (complex_vars_of_mule_charset): Likewise.
976 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
978 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
979 (Qideograph_daikanwa_2): Deleted.
980 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
981 (complex_vars_of_mule_charset): Likewise.
983 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
984 (LEADING_BYTE_DAIKANWA_1): Deleted.
985 (LEADING_BYTE_DAIKANWA_2): Deleted.
986 (MIN_CHAR_DAIKANWA): Deleted.
987 (MAX_CHAR_DAIKANWA): Deleted.
989 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
991 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
992 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
993 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
995 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
996 (Vcharset_ideograph_daikanwa): Deleted.
997 (Qideograph_hanziku_{1..12}): Deleted.
998 (Qideograph_daikanwa): Deleted.
999 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
1000 Vcharset_ideograph_daikanwa.
1001 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
1002 `ideograph-hanziku-{1..12}'.
1003 (complex_vars_of_mule_charset): Likewise.
1005 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1007 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
1009 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
1010 (Qideograph_gt_pj_{1..11}): Deleted.
1011 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
1012 (complex_vars_of_mule_charset): Likewise.
1014 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1016 * mule-charset.c (Vcharset_ucs_big5): Deleted.
1017 (Vcharset_ideograph_gt): Deleted.
1018 (Qucs_big5): Deleted.
1019 (Qideograph_gt): Deleted.
1020 (syms_of_mule_charset): Delete symbol `ucs-big5' and
1022 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
1025 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
1026 (LEADING_BYTE_GT): Deleted.
1027 (MIN_CHAR_GT): Deleted.
1028 (MAX_CHAR_GT): Deleted.
1030 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1032 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
1034 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1036 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
1037 (save_uint16_byte_table): Likewise.
1038 (save_byte_table): Likewise; convert values by it.
1039 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
1040 for `ideographic-structure'.
1041 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
1042 as the filter for `ideographic-structure'.
1044 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1046 * chartab.c (put_char_composition): New function.
1047 (Fput_char_attribute): Use `put_char_composition'; use
1048 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
1050 * fns.c (simplify_char_spec): New function.
1051 (char_ref_simplify_spec): New function.
1052 (Fchar_refs_simplify_char_specs): New function.
1053 (syms_of_fns): Add new builtin function
1054 `char-refs-simplify-char-specs'.
1056 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1058 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
1059 (Qideograph_cbeta): Deleted.
1060 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
1061 (complex_vars_of_mule_charset): Likewise.
1063 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
1064 (MIN_CHAR_CBETA): Comment out.
1065 (MAX_CHAR_CBETA): Likewise.
1067 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1069 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
1070 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
1071 CHISE client feature.
1073 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1075 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
1077 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1079 * mule-charset.c (charset_lookup_description_1): Use
1080 `NUM_LEADING_BYTES' in UTF-2000.
1082 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1084 * char-ucs.h (GC_CHARSETP): Deleted.
1086 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1088 * char-ucs.h (MAX_CHAR_GT): Updated.
1090 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1092 * text-coding.c: Sync with XEmacs 21.4.10.
1094 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1096 * mule-charset.c (Vcharset_china3_jef): Deleted.
1097 (Qchina3_jef): Deleted.
1098 (syms_of_mule_charset): Don't define `china3-jef'.
1099 (complex_vars_of_mule_charset): Likewise.
1101 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
1102 (MIN_CHAR_CHINA3_JEF): Comment out.
1103 (MAX_CHAR_CHINA3_JEF): Comment out.
1105 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1107 * mule-charset.c (Vcharset_ucs_gb): New variable.
1108 (Qucs_gb): New variable.
1109 (syms_of_mule_charset): Add new symbol `ucs-gb'.
1110 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
1112 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
1114 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1116 * mule-charset.c (charset_code_point): if a coded-charset has a
1117 final-byte, don't inherit the builtin range of the mother CCS.
1119 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1121 * mule-charset.c (charset_code_point): Fix problem about
1124 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1126 * mule-charset.c (decode_builtin_char): Reorganized.
1128 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1130 * text-coding.c (char_encode_as_entity_reference): Modify for
1131 `charset_code_point'.
1132 (char_encode_shift_jis): Likewise.
1133 (char_encode_big5): Likewise.
1134 (char_encode_utf8): Likewise.
1135 (char_encode_iso2022): Likewise.
1137 * mule-charset.c (charset_code_point): Add new argument
1139 (Fencode_char): Add new optional argument `defined_only'.
1141 * chartab.c (put_char_table): Modify for `charset_code_point'.
1143 * char-ucs.h (charset_code_point): Add new argument
1145 (encode_char_1): Modify for `charset_code_point'.
1147 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1149 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
1150 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
1152 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1154 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
1155 (Qjis_x0208): Likewise.
1156 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
1157 XCHARSET_FINAL(charset).
1158 (charset_code_point): Modify condition for final-byte based
1160 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
1161 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
1162 in UTF-2000; specify `=jis-x0208' as the mother of
1163 `japanese-jisx0208-1978', `japanese-jisx0208' and
1164 `japanese-jisx0208-1990' in UTF-2000.
1166 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1168 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
1170 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1172 * text-coding.c (decode_coding_utf16): Support UTF-16.
1173 (char_encode_utf16): Fixed.
1175 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1177 * text-coding.c (Qutf16): New variable in MULE.
1178 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
1179 (Fcoding_system_type): Add `utf-16' in MULE.
1180 (struct detection_state): Add a structure for utf16 in MULE.
1181 (detect_coding_type): Setup st->utf16.mask in MULE.
1182 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
1184 (reset_encoding_stream): Use `char_encode_utf16' and
1185 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
1186 (detect_coding_utf16): New function [incomplete].
1187 (decode_coding_utf16): New function [support only UCS-2].
1188 (char_encode_utf16): New function.
1189 (char_finish_utf16): New function.
1190 (syms_of_file_coding): Add new symbol `utf-16'; setup
1191 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
1193 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
1195 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
1196 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
1198 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1200 * chartab.c (put_char_table): When a charset is specified as a
1201 range in UTF-2000, don't support builtin characters.
1203 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1205 * mule-charset.c (decode_defined_char): Don't refer external
1206 database if Qunbound or Qnil are found.
1207 (Fsave_charset_mapping_table): Don't define it if
1208 HAVE_CHISE_CLIENT is not defined.
1209 (Freset_charset_mapping_table): New function.
1210 (load_char_decoding_entry_maybe): Store Qnil if a character is not
1211 found in external database.
1212 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
1213 if HAVE_CHISE_CLIENT is not defined; add new builtin function
1214 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
1216 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1218 * text-coding.c (decode_coding_utf8): Check CCS is specified or
1221 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1223 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
1224 Q_lowercase, Q_uppercase in UTF-2000.
1226 * chartab.c (get_char_table): Add special code for the standard
1227 case table to use character attribute `->downcase' and
1228 `->uppercase' for case operations in UTF-2000.
1230 * casetab.c (Qflippedcase): New variable in UTF-2000.
1231 (Q_lowercase): Likewise.
1232 (Q_uppercase): Likewise.
1233 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
1234 and `->uppercase' in UTF-2000.
1235 (complex_vars_of_casetab): Assign attribute name `downcase' to
1236 downcase and CANON table of Vstandard_case_table in UTF-2000;
1237 assign attribute name `flippedcase' to upcase and EQV table of
1238 Vstandard_case_table in UTF-2000.
1240 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1242 * text-coding.c (decode_add_er_char): Support isolated-chars.
1243 (char_encode_as_entity_reference): Likewise.
1245 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1247 * emacs.c (Vutf_2000_lisp_directory): New variable.
1248 (Vconfigure_utf_2000_lisp_directory): Likewise.
1249 (complex_vars_of_emacs): Add new variable
1250 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
1252 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1254 * char-ucs.h (DECODE_CHAR): Delete special code for
1255 `chinese-big5-1' and `chinese-big5-2'.
1257 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
1258 (Qbig5_2): Likewise.
1259 (decode_defined_char): Support CONVERSION_BIG5_1 and
1261 (decode_builtin_char): Likewise.
1262 (charset_code_point): Likewise.
1263 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
1264 'conversion in UTF-2000.
1265 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
1266 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
1267 `chinese-big5-2' as children of `chinese-big5'.
1269 * char-ucs.h (CONVERSION_BIG5_1): New macro.
1270 (CONVERSION_BIG5_2): New macro.
1272 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1274 * text-coding.c (char_encode_big5): Support entity-reference.
1276 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1278 * text-coding.c (char_encode_as_entity_reference): New function.
1279 (char_encode_utf8): Use `char_encode_as_entity_reference'.
1281 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1283 * text-coding.c (decode_coding_big5): Support entity-reference
1286 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1288 * text-coding.c (allocate_coding_system): Initialize initial
1289 charsets for CODESYS_UTF8.
1290 (Fmake_coding_system): Accept charset-g0, charset-g1 and
1291 charset-g2 for CODESYS_UTF8.
1292 (decode_coding_utf8): Use charset-g0.
1293 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
1294 to force variants to map to UCS.
1296 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1298 * text-coding.c (Qutf_8_mcs): New variable.
1299 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
1300 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
1301 instead of `utf-8' in UTF-2000.
1303 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1305 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
1306 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
1307 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
1308 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
1309 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
1310 CONVERSION_96x96x96x96 are introduced.
1311 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
1312 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
1313 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
1315 * char-ucs.h (CONVERSION_94): New macro.
1316 (CONVERSION_96): New macro.
1317 (CONVERSION_94x94): New macro.
1318 (CONVERSION_96x96): New macro.
1319 (CONVERSION_94x94x94): New macro.
1320 (CONVERSION_96x96x96): New macro.
1321 (CONVERSION_94x94x94x60): New macro.
1322 (CONVERSION_94x94x94x94): New macro.
1323 (CONVERSION_96x96x96x96): New macro.
1325 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1327 * chartab.c (Vcharacter_variant_table): Deleted.
1328 (Fchar_variants): Use character-attribute `->ucs-variants' instead
1329 of `Vcharacter_variant_table'.
1330 (Fput_char_attribute): Likewise.
1331 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
1332 (complex_vars_of_chartab): Likewise.
1334 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1336 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
1338 * fns.c (Qideographic_structure): New variable.
1339 (Qkeyword_char): New variable.
1340 (ids_format_unit): New function.
1341 (Fideographic_structure_to_ids): New function.
1342 (syms_of_fns): Add new symbols `ideographic-structure' and
1343 `:char'; add new builtin function `ideographic-structure-to-ids'.
1345 * data.c (Fchar_ref_p): New function.
1346 (syms_of_data): Add new builtin function `char-ref-p'.
1348 * chartab.h: Add an EXFUN for `Ffind_char'.
1350 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1352 * text-coding.c (Vcharacter_composition_table): Deleted.
1353 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
1356 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
1358 (Vcharacter_composition_table): Deleted.
1359 (Fget_composite_char): Use the implementation for external-DB
1360 support in every UTF-2000.
1361 (Fput_char_attribute): Likewise.
1362 (char_attribute_system_db_file): Don't define if external-DB
1363 feature is not available.
1364 (Fsave_char_attribute_table): Likewise.
1365 (Fmount_char_attribute_table): Likewise.
1366 (Fclose_char_attribute_table): Likewise.
1367 (Freset_char_attribute_table): Likewise.
1368 (Fload_char_attribute_table): Likewise.
1369 (syms_of_chartab): Don't define `save-char-attribute-table',
1370 `mount-char-attribute-table', `reset-char-attribute-table',
1371 `close-char-attribute-table' and `load-char-attribute-table' if
1372 external-DB feature is not available.
1373 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
1375 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1377 * text-coding.c (Qcomposition): Add extern if external-DB feature
1379 (Vcharacter_composition_table): Don't add extern if external-DB
1380 feature is supported.
1381 (COMPOSE_ADD_CHAR): Modify for new data-representation of
1382 character composition rule if external-DB feature is supported.
1384 * chartab.c (Vcharacter_composition_table): Don't define if
1385 external-DB feature is supported.
1386 (Qcomposition): New variable.
1387 (Fget_composite_char): New implementation for external-DB support.
1388 (Fput_char_attribute): Use `composition' property of each
1389 character instead of `Vcharacter_composition_table' to store
1390 character-composition rules if external-DB feature is supported.
1391 (syms_of_chartab): Add new symbol `composition'.
1392 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
1393 external-DB feature is supported.
1395 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1397 * chartab.c (Vchar_db_stingy_mode): New variable.
1398 (load_char_attribute_maybe): Close database if
1399 Vchar_db_stingy_mode is not NIL.
1400 (Fload_char_attribute_table_map_function): Use
1401 `get_char_id_table_0' instead of `get_char_id_table'.
1402 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
1404 * chartab.h (get_char_id_table_0): New inline function.
1405 (get_char_id_table): Use `get_char_id_table_0'.
1407 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1409 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
1410 and `COMPOSE_ADD_CHAR'.
1411 (decode_coding_iso2022): Use `decode_flush_er_chars'.
1413 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1415 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
1416 instead of `DECODE_ADD_UCS_CHAR'.
1417 (COMPOSE_ADD_CHAR): Likewise.
1419 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1421 * text-coding.c (decode_flush_er_chars): New inline function.
1422 (decode_add_er_char): New function.
1423 (decode_coding_utf8): Use `decode_flush_er_chars' and
1424 `decode_add_er_char'.
1426 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1428 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
1429 done before `decode_output_utf8_partial_char'.
1431 * mule-charset.c (complex_vars_of_mule_charset): Specify
1432 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
1433 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
1435 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1437 * mule-charset.c (decode_defined_char): New function; search
1439 (decode_builtin_char): Don't search mother if
1440 XCHARSET_MAX_CODE(charset) == 0.
1441 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
1442 == 0 even if code >= XCHARSET_MAX_CODE(charset).
1443 (Fdecode_char): Use `decode_defined_char' instead of
1444 `DECODE_DEFINED_CHAR'.
1445 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
1446 mother of `Vcharset_ucs_jis'.
1448 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
1449 instead of `DECODE_DEFINED_CHAR'.
1451 * char-ucs.h (decode_defined_char): Renamed from
1452 `DECODE_DEFINED_CHAR'; changed to normal function.
1453 (DECODE_CHAR): Use `decode_defined_char' instead of
1454 `DECODE_DEFINED_CHAR'.
1456 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
1458 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1460 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
1462 * text-coding.c (Vcoded_charset_entity_reference_alist): New
1464 (Quse_entity_reference): New variable.
1468 (coding_system_description): Add description for
1469 `ccs_priority_list'.
1470 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
1471 (allocate_coding_system): Initialize `ccs_priority_list' in
1473 (Fmake_coding_system): Add description about
1474 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
1476 (Fcoding_system_property): Accept `disable-composition' and
1477 `use-entity-reference' in UTF-2000.
1478 (struct decoding_stream): Add new member `er_counter' and `er_buf'
1480 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
1481 (decode_coding_utf8): Decode entity-reference if
1482 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
1483 (char_encode_utf8): Encode non-Unicode characters as
1484 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
1486 (syms_of_file_coding): Add new symbols `use-entity-reference',
1488 (vars_of_file_coding): Add new variable
1489 `coded-charset-entity-reference-alist'.
1490 (complex_vars_of_file_coding): Declare `disable-composition' and
1491 `use-entity-reference' to be coding-system-properties in UTF-2000.
1493 * file-coding.h (struct Lisp_Coding_System): Add new member
1494 `use_entity_reference' and `ccs_priority_list'.
1495 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1496 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
1497 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1499 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1501 * chartab.c (save_uint8_byte_table): Don't clear the table.
1502 (save_uint16_byte_table): Likewise.
1503 (save_byte_table): Likewise.
1504 (Fmount_char_attribute_table): New function.
1505 (syms_of_chartab): Add new builtin function
1506 `mount-char-attribute-table'.
1508 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1510 * mule-charset.c (Fsave_charset_mapping_table): Open database as
1512 (load_char_decoding_entry_maybe): Open database as read-only mode.
1514 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
1515 open database as "w+" mode.
1516 (load_char_attribute_maybe): Open database as read-only mode.
1517 (Fload_char_attribute_table): Likewise.
1519 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1521 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
1522 (char_table_description): Delete member `db_file'.
1523 (Fmake_char_table): Don't refer `ct->db_file'.
1524 (Fcopy_char_table): Likewise.
1525 (Fsave_char_attribute_table): Likewise.
1526 (Fclose_char_attribute_table): Likewise.
1527 (Freset_char_attribute_table): Likewise.
1528 (load_char_attribute_maybe): Likewise.
1529 (Fload_char_attribute_table): Likewise.
1531 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
1533 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1535 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
1536 (Fsave_char_attribute_table): Don't check `ct->db_file' if
1538 (load_char_attribute_maybe): Likewise.
1539 (Fload_char_attribute_table): Likewise.
1541 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1543 * chartab.c (Fclose_char_attribute_table): Set Qnil on
1544 `ct->db_file' unconditionally.
1546 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1548 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
1550 (char_table_description): Add description for `db_file' and `db'
1552 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
1554 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
1555 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
1556 (Fclose_char_attribute_table): New function.
1557 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
1558 (load_char_attribute_maybe): Change interface; use `cit->db_file'
1560 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
1561 (syms_of_chartab): Add new builtin function
1562 `Fclose_char_attribute_table'.
1564 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1566 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
1568 (load_char_attribute_maybe): Change interface.
1569 (get_char_id_table): Modify for `load_char_attribute_maybe'.
1571 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1573 * database.h: Add an EXFUN for `Fdatabase_live_p'.
1575 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1577 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
1578 instead of `DECODE_CHAR' for mother; don't use special code for
1579 chinese-big5 to use code space of chinese-big5-1 and
1581 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
1582 `MAX_CHAR_BIG5_CDP' for chinese-big5.
1584 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
1585 (MAX_CHAR_BIG5_CDP): Revival.
1587 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1589 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
1590 the XLFD registry-encoding name of `chinese-big5'.
1592 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1594 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
1595 (Qchinese_big5_cdp): Deleted.
1596 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
1597 (complex_vars_of_mule_charset): Delete coded-charset
1600 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
1601 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
1602 `CHARSET_ID_OFFSET - n' for private CCS.
1603 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
1604 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
1605 of `MIN_LEADING_BYTE'.
1606 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
1607 `(CHARSET_ID_OFFSET - 97)'.
1608 (MIN_CHAR_BIG5_CDP): Deleted.
1609 (MAX_CHAR_BIG5_CDP): Deleted.
1611 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1613 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
1615 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1617 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
1618 (vars_of_mule): Add new variable `utf-2000-version' [moved from
1621 * chartab.c (Vutf_2000_version): Moved to mule.c.
1622 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
1624 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1626 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
1627 when HAVE_CHISE_CLIENT is not defined.
1629 * mule.c (vars_of_mule): Provide feature `chise' when
1630 HAVE_CHISE_CLIENT is defined.
1632 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1634 * config.h.in (UTF2000): Add comment.
1635 (HAVE_CHISE_CLIENT): New macro.
1637 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1639 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
1641 (Fput_char_attribute): Likewise.
1642 (char_attribute_system_db_file): Encode file-name of attribute.
1643 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
1646 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1648 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
1649 (Fsave_charset_mapping_table): Use
1650 `char_attribute_system_db_file'.
1651 (load_char_decoding_entry_maybe): Likewise.
1653 * chartab.h (Qsystem_char_id): New external variable.
1654 (char_attribute_system_db_file): New prototype.
1656 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
1657 (char_attribute_system_db_file): New function.
1658 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
1659 (Freset_char_attribute_table): Likewise.
1660 (load_char_attribute_maybe): Likewise.
1661 (Fload_char_attribute_table): Likewise.
1662 (syms_of_chartab): Add new symbol `system-char-id'.
1664 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1666 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
1667 `XCHARSET_GRAPHIC(ccs)'.
1669 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1671 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
1673 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1675 * chartab.c (Q_ucs_variants): New variable.
1676 (syms_of_chartab): Add new symbol `->ucs-variants'.
1677 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
1678 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
1679 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
1681 * mule-charset.c (load_char_decoding_entry_maybe): New function.
1683 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
1684 `HAVE_DATABASE' is defined.
1685 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
1686 `HAVE_DATABASE' is defined.
1688 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1690 * chartab.c (Fsave_char_attribute_table): Don't clear internal
1692 (Freset_char_attribute_table): New function.
1693 (syms_of_chartab): Add new builtin function
1694 `reset-char-attribute-table'.
1696 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1698 * chartab.c (load_char_attribute_maybe): Don't make directories.
1700 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1702 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
1704 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
1707 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1709 * mule-charset.c (Fsave_charset_mapping_table): Use
1710 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
1712 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
1713 instead of `XCHARSET_CHARS'.
1715 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1717 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
1718 (XCHARSET_BYTE_SIZE): Likewise.
1720 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
1722 (XCHARSET_BYTE_SIZE): Likewise.
1724 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1726 * chartab.c (Fput_char_attribute): Use exec-directory instead of
1727 data-directory to store database.
1728 (Fsave_char_attribute_table): Likewise.
1729 (load_char_attribute_maybe): Likewise.
1730 (Fload_char_attribute_table): Likewise.
1732 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1734 * mule-charset.c (Fsave_charset_mapping_table): New function.
1735 (syms_of_mule_charset): Add new builtin function
1736 `save-charset-mapping-table'.
1738 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1740 * char-ucs.h (decoding_table_check_elements): Delete prototype.
1741 (get_ccs_octet_table): New inline function.
1742 (put_ccs_octet_table): Likewise.
1743 (decoding_table_put_char): Use `get_ccs_octet_table' and
1744 `put_ccs_octet_table'.
1745 (decoding_table_remove_char): Use `decoding_table_put_char'.
1746 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
1748 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
1749 into encoding_table.
1750 (make_charset): Use Qunbound instead Qnil as initial value of
1753 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1755 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
1756 element is Qunloaded.
1757 (map_over_uint16_byte_table): Likewise.
1758 (map_over_byte_table): Likewise.
1759 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
1760 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
1761 database support, load encoding-table of the specified
1762 coded-charset if it is not loaded yet.
1763 (save_uint8_byte_table): New function of UTF-2000 with external
1765 (save_uint16_byte_table): Likewise.
1766 (save_byte_table): Likewise.
1767 (Fput_char_attribute): Don't store value into external database
1768 even if the external database feature is supported in UTF-2000;
1769 set `attribute' as name of char-table if the external database
1770 feature is supported.
1771 (Fsave_char_attribute_table): New function in UTF-2000.
1772 (syms_of_chartab): Add new builtin function
1773 `save-char-attribute-table' in UTF-2000.
1775 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1777 * chartab.c (char_attribute_table_to_put): New variable in
1779 (Qput_char_table_map_function): Likewise.
1780 (value_to_put): Likewise.
1781 (Fput_char_table_map_function): New function in UTF-2000.
1782 (put_char_table): Use `Fmap_char_attribute' for
1783 CHARTAB_RANGE_CHARSET in UTF-2000.
1784 (Fput_char_attribute): Store symbol instead of string in
1785 `XCHAR_TABLE_NAME (table)'.
1786 (load_char_attribute_maybe): Likewise.
1787 (syms_of_chartab): Add new symbol/function
1788 `put-char-table-map-function'.
1790 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1792 * database.h: Add new EXFUN for `Fmap_database'.
1794 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
1795 (syms_of_database): Likewise.
1797 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
1799 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
1800 (XCHAR_TABLE_UNLOADED): Likewise.
1802 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
1803 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
1804 HAVE_DATABASE is defined.
1805 (char_attribute_table_to_load): New variable of UTF-2000 with
1806 external database support.
1807 (Qload_char_attribute_table_map_function): Likewise.
1808 (Fload_char_attribute_table_map_function): New function of
1809 UTF-2000 with external database support.
1810 (Fload_char_attribute_table): New function of UTF-2000.
1811 (Fmap_char_attribute): Call Fload_char_attribute_table if
1812 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
1813 (syms_of_chartab): Add new symbol and function
1814 `load-char-attribute-table-map-function' in UTF-2000 with external
1815 database support; add new function `load-char-attribute-table' in
1818 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1820 * chartab.h (load_char_attribute_maybe): New prototype for
1821 UTF-2000 with DATABASE support.
1822 (get_char_id_table): Use `load_char_attribute_maybe' if
1823 HAVE_DATABASE is defined.
1825 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
1826 with DATABASE support.
1828 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1830 * chartab.c (Fput_char_attribute): Use S-expression as key of
1833 * chartab.h (get_char_id_table): Use S-expression as key of
1836 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1838 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
1839 if an element is not loaded, load the corresponding attributes
1840 from an external database.
1841 (map_over_uint16_byte_table): Likewise.
1842 (map_over_byte_table): Likewise.
1843 (map_char_table): Modify for `map_over_uint8_byte_table',
1844 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
1845 element is not loaded, load the corresponding attributes from an
1847 (Fput_char_attribute): Change initial values to Qunloaded.
1849 * chartab.h (get_char_id_table): If a character attribute is not
1850 loaded and the attribute value is not found in an external
1851 database, store Qunbound as the attribute value.
1853 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1855 * chartab.c (BT_UINT8_unloaded): New macro.
1856 (UINT8_VALUE_P): Accept Qunloaded.
1857 (UINT8_ENCODE): Likewise.
1858 (UINT8_DECODE): Likewise.
1859 (BT_UINT16_unloaded): New macro.
1860 (UINT16_VALUE_P): Accept Qunloaded.
1861 (UINT16_ENCODE): Likewise.
1862 (UINT16_DECODE): Likewise.
1863 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
1865 (mark_char_table): Mark `ct->name' in UTF-2000.
1866 (char_table_description): Add `name' in UTF-2000.
1867 (Fmake_char_table): Initialize `ct->name'.
1868 (Fcopy_char_table): Copy `ct->name'.
1869 (Fput_char_attribute): Store value into an external database if
1870 HAVE_DATABASE is defined.
1872 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
1874 (CHAR_TABLE_NAME): New macro in UTF-2000.
1875 (XCHAR_TABLE_NAME): New macro in UTF-2000.
1876 (get_char_id_table): Try to read an external database if Qunloaded
1877 is stored in a table.
1879 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
1882 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1884 * database.h: Add EXFUN definitions for Fopen_database,
1885 Fput_database, Fget_database and Fclose_database.
1887 * data.c (Qunloaded): New variable in UTF-2000.
1889 * lisp.h (Qunloaded): New variable in UTF-2000.
1891 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1893 * mule-charset.c (put_char_ccs_code_point): Modify for
1894 `decoding_table_remove_char' and `decoding_table_put_char'.
1895 (remove_char_ccs): Modify for `decoding_table_remove_char'.
1897 * char-ucs.h (decoding_table_remove_char): Change arguments to
1898 hide decoding_table vector.
1899 (decoding_table_put_char): Likewise.
1901 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1903 * mule-charset.c (decoding_table_remove_char): Moved to
1905 (decoding_table_put_char): Likewise.
1907 * char-ucs.h (decoding_table_check_elements): New prototype [moved
1908 from mule-charset.c].
1909 (decoding_table_remove_char): New inline function [moved from
1911 (decoding_table_put_char): Likewise.
1913 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1915 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
1918 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1920 * mule-charset.c (decode_builtin_char): Support mother charsets.
1922 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1924 * mule-charset.c (Q94x94x60): New variable.
1925 (charset_code_point): Support conversion `94x94x60'.
1926 (Fmake_charset): Likewise.
1927 (syms_of_mule_charset): Add new symbol `94x94x60'.
1929 * char-ucs.h (CONVERSION_94x94x60): New macro.
1931 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1933 * mule-charset.c (charset_code_point): Unify code about
1936 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1938 * mule-charset.c (charset_code_point): Merge code about builtin
1939 characters into code about mother charsets; don't use
1940 `range_charset_code_point'.
1941 (range_charset_code_point): Deleted.
1943 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1945 * mule-charset.c (Qcode_offset): New variable.
1946 (Fmake_charset): Use `XUINT' to get value of `min-code' and
1947 `max-code'; accept new property `code-offset'.
1948 (syms_of_mule_charset): Add new symbol `code-offset'.
1950 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1952 * mule-charset.c (range_charset_code_point): Fixed.
1954 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1956 * mule-charset.c (decode_builtin_char): Change semantics of
1957 code-offset of coded-charset.
1958 (charset_code_point): Likewise.
1959 (range_charset_code_point): Likewise.
1960 (complex_vars_of_mule_charset): Modify for the change.
1962 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1964 * mule-charset.c (Fencode_char): Reverse arguments.
1966 * mule-charset.c (charset_code_point): Fixed.
1968 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1970 * mule-charset.c (Vcharset_mojikyo): Deleted.
1971 (Vcharset_mojikyo_2022_1): Deleted.
1972 (Vcharset_mojikyo_pj_{1..21}): Deleted.
1973 (Qmin_code): New variable in UTF-2000.
1974 (Qmax_code): Likewise.
1975 (Qmother): Likewise.
1976 (Qconversion): Likewise.
1978 (Qmojikyo): Deleted.
1979 (Qmojikyo_2022_1): Deleted.
1980 (Qmojikyo_pj_{1..22}): Deleted.
1981 (mark_charset): Mark `cs->mother'.
1982 (charset_description): Add description for `mother'.
1983 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
1984 new arguments `mother' and `conversion'; use
1985 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
1986 (charset_code_point): Moved from char-ucs.h; support `mother'
1988 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
1989 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
1990 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
1991 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
1992 allow 2 as the value of `graphic' in UTF-2000; add new properties
1993 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
1994 require `final' in UTF-2000; modify for `make_charset'.
1995 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
1996 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
1997 (Fcharset_property): Support `mother', `min-code' and `max-code'.
1998 (Fencode_char): New function.
1999 (syms_of_mule_charset): Add new builtin function `encode-char' in
2000 UTF-2000; add new symbols `min-code', `max-code', `mother',
2001 `conversion' and `94x60'; delete symbols `mojikyo',
2002 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
2003 (complex_vars_of_mule_charset): Modify for `make_charset' change;
2004 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
2005 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
2007 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
2008 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
2010 * char-ucs.h (Vcharset_mojikyo): Deleted.
2011 (Vcharset_mojikyo_2022_1): Deleted.
2012 (LEADING_BYTE_MOJIKYO): Deleted.
2013 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
2014 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
2015 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
2016 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
2017 add new member `mother'; add new member `conversion'.
2018 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
2019 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
2020 (CHARSET_MOTHER): New macro.
2021 (CHARSET_CONVERSION): New macro.
2022 (CONVERSION_IDENTICAL): New macro.
2023 (CONVERSION_94x60): New macro.
2024 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
2025 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
2026 (XCHARSET_MOTHER): New macro.
2027 (XCHARSET_CONVERSION): New macro.
2028 (MIN_CHAR_MOJIKYO): Deleted.
2029 (MAX_CHAR_MOJIKYO): Deleted.
2030 (DECODE_MOJIKYO_2022): Deleted.
2031 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
2032 (charset_code_point): Changed to non-inline function.
2033 (encode_char_1): Use `charset_code_point'.
2034 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
2036 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2038 * lread.c (read_compiled_function): Fix prototype.
2039 (read_vector): Likewise.
2041 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2043 * lrecord.h (struct lrecord_header): Delete `older'.
2044 (set_lheader_implementation): Delete code for `older'.
2045 (set_lheader_older_implementation): Deleted.
2046 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
2047 (OLDER_RECORD_P): Deleted.
2048 (OLDER_RECORD_HEADER_P): Deleted.
2049 (alloc_older_lcrecord): Deleted.
2050 (alloc_older_lcrecord_type): Deleted.
2052 * alloc.c (all_older_lcrecords): Deleted.
2053 (alloc_older_lcrecord): Deleted.
2054 (disksave_object_finalization_1): Delete code for older objects.
2055 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
2056 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
2058 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2060 * mule-charset.c (decoding_table_put_char): Use `make_vector'
2061 instead of `make_older_vector'.
2062 (put_char_ccs_code_point): Likewise.
2063 (mark_charset): Mark `cs->decoding_table'.
2064 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
2066 * lisp.h (make_older_vector): Deleted.
2067 (make_vector_newer): Deleted.
2069 * config.h.in (HAVE_GGC): Deleted.
2071 * alloc.c (make_older_vector): Deleted.
2072 (make_vector_newer_1): Deleted.
2073 (make_vector_newer): Deleted.
2075 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2077 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
2078 (Qideograph_daikanwa_2): New variable.
2079 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
2080 (complex_vars_of_mule_charset): Add new coded-charset
2081 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
2082 `LEADING_BYTE_DAIKANWA'.
2084 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
2085 (LEADING_BYTE_DAIKANWA_1): New macro.
2086 (LEADING_BYTE_DAIKANWA_2): New macro.
2087 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
2089 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2091 * mule-charset.c (complex_vars_of_mule_charset): Change
2092 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
2093 the second revised version.
2095 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2097 * mule-charset.c (Vcharset_ucs_smp): New variable.
2098 (Vcharset_ucs_sip): New variable.
2099 (Qucs_smp): New variable.
2100 (Qucs_sip): New variable.
2101 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
2102 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
2103 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
2104 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
2105 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
2106 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
2108 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
2109 (LEADING_BYTE_UCS_SIP): New macro.
2110 (MIN_CHAR_SMP): New macro.
2111 (MAX_CHAR_SMP): New macro.
2112 (MIN_CHAR_SIP): New macro.
2113 (MAX_CHAR_SIP): New macro.
2115 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
2117 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
2120 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2122 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
2123 value; don't store value into `encoding_table' of `Lisp_Charset'.
2124 (mark_charset): `encoding_table' was deleted.
2125 (charset_description): Likewise.
2126 (make_charset): Likewise.
2127 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
2128 `put_char_ccs_code_point'.
2130 * chartab.h (Fput_char_attribute): New EXFUN.
2132 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
2133 is unified with normal symbol space.
2134 (Fget_char_attribute): Likewise.
2135 (Fput_char_attribute): Likewise; behavior of
2136 `put_char_ccs_code_point' is changed.
2138 * char-ucs.h: Include "elhash.h".
2139 (Vchar_attribute_hash_table): New external variable.
2140 (struct Lisp_Charset): Delete `encoding_table'.
2141 (CHARSET_ENCODING_TABLE): New implementation; refer
2142 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
2145 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2147 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
2150 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2152 * text-coding.c (char_encode_big5): Prefer charset-g1 than
2155 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2157 * chartab.c (uint8_byte_table_description): New constant.
2158 (uint8-byte-table): Use `uint8_byte_table_description'.
2159 (uint16_byte_table_description): New constant.
2160 (uint16-byte-table): Use `uint16_byte_table_description'.
2162 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2164 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
2165 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
2167 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2169 * mule-charset.c (Vcharset_ucs_ks): New variable.
2170 (Qucs_ks): New variable.
2171 (syms_of_mule_charset): Add new symbol `ucs-ks'.
2172 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
2174 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
2176 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2178 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
2179 (Fdecode_char): Likewise.
2181 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
2183 (Fdefine_char): Modify for Fdecode_char.
2184 (Ffind_char): Likewise.
2186 * mule-charset.c (Fdecode_char): Add new optional argument
2188 (Fdecode_builtin_char): Modify for `Fdecode_char'.
2190 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2192 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
2193 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
2194 (allocate_coding_system): Initialize initial-charsets of
2195 CODESYS_BIG5 in XEmacs UTF-2000.
2196 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
2197 CODESYS_BIG5 in XEmacs UTF-2000.
2198 (decode_coding_big5): Use initial-charset-g0 and -g1 of
2199 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
2201 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
2203 (Qideograph_hanziku_{1 .. 12}): Likewise.
2204 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
2206 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
2207 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
2208 `ideograph-hanziku-{1 .. 12}'.
2210 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
2211 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
2212 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
2213 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
2214 (DECODE_DEFINED_CHAR): New inline function.
2215 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
2217 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2219 * mule-charset.c (Vcharset_china3_jef): Renamed from
2220 `Vcharset_japanese_jef_china3'.
2221 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
2222 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
2223 `{MIN|MAX}_CHAR_JEF_CHINA3'..
2224 (syms_of_mule_charset): Rename `china3-jef' from
2225 `japanese-jef-china3'.
2226 (complex_vars_of_mule_charset): Likewise; rename
2227 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
2229 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
2230 `LEADING_BYTE_JEF_CHINA3'.
2231 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
2232 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
2234 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2236 * mule-charset.c (encode_builtin_char_1): Comment out special code
2237 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
2239 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
2240 (MAX_CHAR_MOJIKYO_0): Comment out.
2241 (MIN_CHAR_CBETA): Changed to 0x00E20000.
2242 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
2243 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
2244 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
2246 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2248 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
2249 (Qideograph_cbeta): New variable.
2250 (encode_builtin_char_1): Comment out special code for
2251 coded-charset `mojikyo' and `japanese-jef-china3'.
2252 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
2253 (complex_vars_of_mule_charset): Add new coded-charset
2256 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
2257 (MIN_CHAR_CBETA): New macro.
2258 (MAX_CHAR_CBETA): New macro.
2260 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2262 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
2263 (LEADING_BYTE_JEF_CHINA3): New macro.
2264 (MIN_CHAR_JEF_CHINA3): New macro.
2265 (MAX_CHAR_JEF_CHINA3): Likewise.
2266 (DECODE_CHAR): Fixed.
2268 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2270 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
2271 (Qjapanese_jef_china3): New variable.
2272 (encode_builtin_char_1): Support `japanese-jef-china3'.
2273 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
2274 (complex_vars_of_mule_charset): Add new coded-charset
2275 `japanese-jef-china3'.
2277 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2279 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
2280 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
2281 94^4, 96^3, 96^4, 128^n and 256^n set.
2282 (put_char_table): Use `XCHARSET_CELL_RANGE'.
2283 (map_char_table): Likewise.
2285 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2287 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
2290 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2292 * chartab.h (get_char_id_table): New inline function.
2294 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
2297 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2299 * chartab.h (decode_char_table_range): New prototype in XEmacs
2301 (put_char_id_table): New inline function in XEmacs UTF-2000.
2303 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
2305 (decode_char_table_range): Delete static declaration in XEmacs
2308 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2310 * chartab.c (put_char_id_table): Use `put_char_table'.
2312 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2314 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
2315 (map_over_uint16_byte_table): Likewise.
2316 (map_over_byte_table): Likewise.
2317 (map_char_table): Modify for `map_over_uint8_byte_table',
2318 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
2321 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2323 * chartab.c (struct map_char_table_for_charset_arg): New
2325 (map_char_table_for_charset_fun): New function.
2326 (map_char_table): Use `map_char_table' for encoding_table of
2329 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2331 * chartab.c (map_char_table): Check a character is found in
2332 range->charset instead of non default value is defined in
2333 char-table when range is CHARTAB_RANGE_ROW.
2335 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2337 * chartab.c (map_char_id_table): Deleted.
2338 (Fmap_char_attribute): Use `map_char_table' instead of
2339 `map_char_id_table'.
2341 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2343 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
2345 (update_syntax_table): Deleted in XEmacs UTF-2000.
2347 * syntax.c (find_defun_start): Use `syntax_table' instead of
2348 `mirror_syntax_table' in XEmacs UTF-2000.
2349 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
2351 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
2353 (Fmatching_paren): Likewise.
2354 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
2356 (find_start_of_comment): Likewise.
2357 (find_end_of_comment): Likewise.
2358 (Fforward_comment): Likewise.
2359 (scan_lists): Likewise.
2360 (char_quoted): Likewise.
2361 (Fbackward_prefix_chars): Likewise.
2362 (scan_sexps_forward): Likewise.
2363 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
2364 (update_syntax_table): Likewise.
2366 * search.c (skip_chars): Use `syntax_table' instead of
2367 `mirror_syntax_table' in XEmacs UTF-2000.
2368 (wordify): Likewise.
2369 (Freplace_match): Likewise.
2371 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
2372 `mirror_syntax_table' in XEmacs UTF-2000.
2373 (WORDCHAR_P_UNSAFE): Likewise.
2374 (re_match_2_internal): Likewise.
2376 * font-lock.c (find_context): Use `buf->syntax_table' instead of
2377 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2379 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
2380 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
2382 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
2385 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
2387 (print_char_table): Print `default_value' in XEmacs UTF-2000.
2388 (char_table_description): Delete `mirror_table' in XEmacs
2390 (fill_char_table): Don't call `update_syntax_table' in XEmacs
2392 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
2393 (Fcopy_char_table): Likewise.
2394 (put_char_table): Don't call `update_syntax_table' in XEmacs
2397 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
2398 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2399 (casify_region_internal): Likewise.
2401 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
2403 * buffer.c (common_init_complex_vars_of_buffer): Don't use
2404 `mirror_syntax_table' in XEmacs UTF-2000.
2406 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
2407 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2408 (Fexpand_abbrev): Likewise.
2410 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2412 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
2414 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2416 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
2417 (map_over_uint16_byte_table): Likewise.
2418 (map_over_byte_table): Likewise.
2419 (get_char_id_table): Refer `cit->default_value'.
2420 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2421 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
2422 of character-id ranges.
2423 (mark_char_table): Mark `ct->default_value'.
2424 (char_table_description): Add `default_value'.
2425 (fill_char_table): Use `default_value'.
2426 (decode_char_table_range): Decode `nil' as
2427 `CHARTAB_RANGE_DEFAULT'.
2428 (get_char_id_table): Refer `cit->default_value'.
2429 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2430 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
2431 temporary hack; check value of char-table is bound or not.
2432 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
2434 * chartab.h (struct Lisp_Char_Table): Add new member
2435 `default_value' in XEmacs UTF-2000.
2436 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
2437 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
2440 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2442 * chartab.h (Lisp_Char_ID_Table): Deleted.
2444 * chartab.c (char_table_description): Fix typo.
2445 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
2446 `Lisp_Char_ID_Table'.
2448 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2450 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
2453 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
2456 * chartab.h (XCHAR_ID_TABLE): Deleted.
2457 (XSETCHAR_ID_TABLE): Deleted.
2458 (CHAR_ID_TABLE_P): Deleted.
2460 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
2462 (Fget_composite_char): Likewise.
2463 (put_char_table): Likewise.
2464 (add_char_attribute_alist_mapper): Fixed.
2465 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
2467 (Fget_char_attribute): Likewise.
2468 (Fget_char_attribute): Likewise.
2469 (Fmap_char_attribute): Likewise.
2471 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
2473 (encode_char_1): Likewise.
2475 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2477 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
2480 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
2481 instead of `XCHAR_ID_TABLE'.
2482 (remove_char_ccs): Likewise.
2484 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
2486 (Fget_composite_char): Likewise.
2487 (Fchar_variants): Likewise.
2488 (put_char_table): Likewise.
2489 (add_char_attribute_alist_mapper): Likewise.
2490 (Fchar_attribute_alist): Likewise.
2491 (Fget_char_attribute): Likewise.
2492 (Fput_char_attribute): Likewise.
2493 (Fmap_char_attribute): Likewise.
2494 (Fmap_char_attribute): Likewise.
2496 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
2498 (encode_char_1): Likewise.
2500 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2502 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
2503 `Lisp_Char_ID_Table'.
2504 (mark_char_id_table): Deleted.
2505 (print_char_id_table): Likewise.
2506 (char_id_table_equal): Likewise.
2507 (char_id_table_hash): Likewise.
2508 (char_id_table_description): Likewise.
2509 (char_id_table): Likewise.
2510 (make_char_id_table): Use `Fmake_char_table' and
2512 (get_char_id_table): Use `Lisp_Char_Table' instead of
2513 `Lisp_Char_ID_Table'.
2514 (put_char_id_table): Likewise.
2515 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
2517 (Fremove_char_attribute): Likewise.
2518 (syms_of_chartab): Don't define type `char-id-table'.
2520 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
2521 (char_id_table): Likewise.
2522 (GC_CHAR_ID_TABLE_P): Likewise.
2523 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
2524 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
2525 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
2526 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
2527 (get_char_id_table): Use `Lisp_Char_Table' instead of
2528 `Lisp_Char_ID_Table'.
2529 (put_char_id_table_0): Likewise.
2530 (put_char_id_table): Likewise.
2532 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2534 * chartab.h: Lisp_Byte_Table related codes are moved from
2537 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
2539 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2541 * chartab.h: Don't include "chartab.h".
2542 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
2543 (Lisp_Char_ID_Table): Likewise.
2544 (char_id_table): Likewise.
2545 (XCHAR_ID_TABLE): Likewise.
2546 (XSETCHAR_ID_TABLE): Likewise.
2547 (CHAR_ID_TABLE_P): Likewise.
2548 (GC_CHAR_ID_TABLE_P): Likewise.
2549 (get_char_id_table): Likewise.
2551 * char-ucs.h: Include "chartab.h".
2552 (struct Lisp_Char_ID_Table): Moved to chartab.h.
2553 (Lisp_Char_ID_Table): Likewise.
2554 (char_id_table): Likewise.
2555 (XCHAR_ID_TABLE): Likewise.
2556 (XSETCHAR_ID_TABLE): Likewise.
2557 (CHAR_ID_TABLE_P): Likewise.
2558 (GC_CHAR_ID_TABLE_P): Likewise.
2559 (get_char_id_table): Likewise.
2561 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2563 * chartab.c (copy_uint8_byte_table): New function.
2564 (copy_uint16_byte_table): New function.
2565 (copy_byte_table): New function.
2566 (map_over_uint8_byte_table): Modify to avoid huge numbers of
2568 (map_over_uint16_byte_table): Likewise.
2569 (map_over_byte_table): Likewise.
2570 (get_byte_table): Move prototype to chartab.h.
2571 (put_byte_table): Likewise.
2572 (put_char_id_table_0): Moved to chartab.h.
2573 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
2574 (char_table_entry_equal): Likewise.
2575 (char_table_entry_hash): Likewise.
2576 (char_table_entry_description): Likewise.
2577 (char_table_entry): Likewise.
2578 (make_char_table_entry): Likewise.
2579 (copy_char_table_entry): Likewise.
2580 (get_non_ascii_char_table_value): Likewise.
2581 (map_over_charset_ascii): Likewise.
2582 (map_over_charset_control_1): Likewise.
2583 (map_over_charset_row): Likewise.
2584 (map_over_other_charset): Likewise.
2585 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
2586 (print_char_table): Likewise.
2587 (char_table_equal): Likewise.
2588 (char_table_hash): Likewise.
2589 (char_table_description): Likewise.
2590 (fill_char_table): Likewise.
2591 (Fcopy_char_table): Likewise.
2592 (get_char_table): Likewise.
2593 (Fget_range_char_table): Likewise.
2594 (put_char_table): Likewise.
2595 (map_char_table): Likewise.
2596 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
2599 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2601 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
2602 `Vauto_fill_chars' in XEmacs UTF-2000.
2604 * chartab.h (get_byte_table): New prototype [moved from
2606 (put_byte_table): Likewise [moved from chartab.c].
2607 (put_char_id_table_0): New inline function [moved from chartab.c].
2608 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
2609 (Lisp_Char_Table_Entry): Likewise.
2610 (char_table_entry): Likewise.
2611 (XCHAR_TABLE_ENTRY): Likewise.
2612 (XSETCHAR_TABLE_ENTRY): Likewise.
2613 (CHAR_TABLE_ENTRYP): Likewise.
2614 (CHECK_CHAR_TABLE_ENTRY): Likewise.
2615 (NUM_ASCII_CHARS): Likewise.
2616 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
2617 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
2619 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2621 * chartab.c (get_char_id_table): Change interface.
2622 (put_char_id_table_0): New function.
2623 (put_char_id_table): Change interface; new implementation.
2624 (Fget_composite_char): Modify for interface change of
2625 `get_char_id_table'.
2626 (Fchar_variants): Likewise.
2627 (add_char_attribute_alist_mapper): Likewise.
2628 (Fchar_attribute_alist): Likewise.
2629 (Fget_char_attribute): Likewise.
2630 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
2631 as same as character as the first argument like `put-char-table';
2632 modify for interface change of `put_char_id_table'.
2633 (Fremove_char_attribute): Modify for interface change of
2634 `put_char_id_table'.
2636 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2638 * text-coding.c: Sync up with XEmacs 21.2.41.
2639 (COMPOSE_ADD_CHAR): Modify for interface change of
2640 `get_char_id_table'.
2642 * mule-charset.c (put_char_ccs_code_point): Modify for interface
2643 change of `put_char_id_table'.
2644 (remove_char_ccs): Likewise.
2646 * chartab.h (put_char_id_table): Change interface.
2648 * char-ucs.h (get_char_id_table): Change interface.
2649 (charset_code_point): Modify for interface change of
2650 `get_char_id_table'.
2651 (encode_char_1): Likewise.
2653 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2655 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
2657 (map_over_uint16_byte_table): Likewise.
2658 (map_over_byte_table): Likewise.
2659 (map_char_id_table): Add new argument `range' like
2661 (Fmap_char_attribute): Add new argument `range' like
2664 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2666 * chartab.c (map_over_uint8_byte_table): Change interface of
2667 mapping function to use struct chartab_range instead of Emchar.
2668 (map_over_uint16_byte_table): Likewise.
2669 (map_over_byte_table): Likewise.
2670 (map_char_id_table): Likewise.
2671 (struct slow_map_char_id_table_arg): Deleted.
2672 (slow_map_char_id_table_fun): Deleted.
2673 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
2674 function `slow_map_char_table_fun' instead of struct
2675 `slow_map_char_id_table_arg' and function
2676 `slow_map_char_id_table_fun'.
2678 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2680 * mule-charset.c: Move char-it-table related codes to chartab.c.
2681 (Vutf_2000_version): Moved to chartab.c.
2682 (Fdefine_char): Likewise.
2683 (Ffind_char): Likewise.
2684 (syms_of_mule_charset): Move types `uint8-byte-table',
2685 `uint16-byte-table', `byte-table' and `char-id-table' to
2686 chartab.c; move functions `char_attribute_list,
2687 `find_char_attribute_table, `char_attribute_alist,
2688 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
2689 `map_char_attribute, `define_char, `find_char, `char_variants and
2690 `get_composite_char to chartab.c; move symbols `=>ucs',
2691 `->decomposition', `compat', `isolated', `initial', `medial',
2692 `final', `vertical', `noBreak', `fraction', `super', `sub',
2693 `circle', `square', `wide', `narrow', `small' and `font' to
2695 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
2696 setting codes for `Vcharacter_composition_table' and
2697 `Vcharacter_variant_table' to chartab.c.
2698 (complex_vars_of_mule_charset): Move setting code for
2699 `Vchar_attribute_hash_table' to chartab.c.
2701 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
2702 (make_char_id_table): New prototype.
2703 (put_char_id_table): Likewise.
2704 (Fget_char_attribute): Likewise.
2706 * chartab.c: Move char-id-table related code from mule-charset.c.
2707 (Vutf_2000_version): Moved from mule-charset.c.
2709 * char-ucs.h (Qucs): New external variable.
2710 (put_char_ccs_code_point): New prototype.
2711 (remove_char_ccs): Likewise.
2713 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2715 * mule-charset.c (Vcharset_ucs_jis): New variable.
2716 (Qucs_jis): Likewise.
2717 (syms_of_mule_charset): Add new symbol `ucs-jis'.
2718 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
2720 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
2722 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2724 * mule-charset.c (map_over_uint8_byte_table): New function.
2725 (map_over_uint16_byte_table): Likewise.
2726 (map_over_byte_table): Likewise.
2727 (map_char_id_table): Likewise.
2728 (slow_map_char_id_table_fun): Likewise.
2729 (Fmap_char_attribute): Likewise.
2730 (syms_of_mule_charset): Add new function `map-char-attribute'.
2732 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2734 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
2735 (syms_of_mule_charset): Add new function `find-char'.
2737 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2739 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
2741 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
2742 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
2744 (complex_vars_of_mule_charset): Add new coded-charset
2745 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
2746 `ideograph-gt-pj-*'.
2748 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
2750 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2752 * mule-charset.c (encode_builtin_char_1): Purge codes about
2753 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
2754 {MIN|MAX}_CHAR_HEBREW.
2755 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
2756 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
2758 * char-ucs.h (MIN_CHAR_GREEK): Purged.
2759 (MAX_CHAR_GREEK): Purged.
2760 (MIN_CHAR_CYRILLIC): Purged.
2761 (MAX_CHAR_CYRILLIC): Purged.
2762 (MIN_CHAR_HEBREW): Commented out.
2763 (MAX_CHAR_HEBREW): Likewise.
2765 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2767 * mule-charset.c (Qto_ucs): New variable.
2768 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
2769 (Fdefine_char): Likewise.
2770 (syms_of_mule_charset): Add new symbol `=>ucs'.
2772 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2774 * mule-charset.c (Fdecode_char): Fixed.
2776 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2778 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
2779 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
2782 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2784 * mule-charset.c (Vcharset_ucs_big5): New variable.
2785 (Qucs_big5): Likewise.
2786 (syms_of_mule_charset): Add new symbol `ucs-big5'.
2787 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
2789 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
2791 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2793 * mule-charset.c (decode_builtin_char): Check Big5 code range
2794 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
2796 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2798 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
2799 (Qchinese_gb12345): Likewise.
2800 (Fdecode_builtin_char): Fixed.
2801 (syms_of_mule_charset): Add `chinese-gb12345'.
2802 (complex_vars_of_mule_charset): Add coded-charset
2805 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
2806 (LEADING_BYTE_CHINESE_GB12345): New macro.
2808 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2810 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
2811 and `latin-viscii-upper' for `latin-viscii'.
2813 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2815 * mule-charset.c (Fdecode_builtin_char): Comment out
2816 regularization code for ISO-IR GR representation.
2818 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2820 * mule-charset.c (decode_builtin_char): New function; renamed from
2821 `make_builtin_char'; return -1 instead of signal.
2822 (Fdecode_builtin_char): Use `decode_builtin_char'.
2824 * char-ucs.h (decode_builtin_char): New prototype; renamed from
2825 `make_builtin_char'.
2826 (DECODE_CHAR): Use `decode_builtin_char' instead of
2827 `make_builtin_char'; use mapping table of `chinese-big5' for
2828 `chinese-big5-{1,2}'.
2830 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2832 * text-coding.c (char_encode_big5): New function.
2833 (char_finish_big5): Likewise.
2834 (reset_encoding_stream): Use `char_encode_big5' and
2835 `char_finish_big5' for CODESYS_BIG5.
2836 (mule_encode): Don't use `encode_coding_big5'.
2837 (encode_coding_big5): Deleted.
2839 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2841 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
2842 0x81- in XEmacs UTF-2000.
2843 (detect_coding_big5): Likewise.
2845 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2847 * mule-charset.c (Fdefine_char): Don't use a CCS property to
2848 generate character-id if the CCS property does not have
2849 corresponding predefined character.
2850 (make_builtin_char): Return -1 if corresponding predefined
2851 character is not found.
2852 (Fdecode_char): Return nil if corresponding character is not
2854 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
2855 don't map to builtin ucs space.
2857 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2859 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
2860 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
2862 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2864 * mule-charset.c (Vcharset_ideograph_gt): New variable.
2865 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
2866 (Qideograph_gt): Likewise.
2867 (Qideograph_gt_pj_{1..11}): Likewise.
2868 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
2869 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
2870 `ideograph-gt-pj-11'.
2871 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
2872 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
2873 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
2875 * char-ucs.h (LEADING_BYTE_GT): New macro.
2876 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
2877 (MIN_CHAR_GT): Likewise.
2878 (MAX_CHAR_GT): Likewise.
2880 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2882 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
2883 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
2885 * doprnt.c (unsigned_int_converters): Add `c'.
2886 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
2888 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
2889 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
2891 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
2892 (MAX_CHAR_MOJIKYO_0): New macro.
2893 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
2895 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2897 * mule-charset.c (Fdefine_char): Delete cemented out code.
2898 (encode_builtin_char_1): Modify for new allocation of builtin
2901 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
2903 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2905 * mule-charset.c (Vcharset_ucs_cns): New variable.
2906 (Qucs_cns): New variable.
2907 (syms_of_mule_charset): Add new symbol `ucs-cns'.
2908 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
2910 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2912 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
2914 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2916 * search.c (search_buffer): Make `charset_base_code' as
2917 character-id >> 6 to eliminate the corresponding last byte in
2918 UTF-8 representation [I'm not sure it is right thing].
2919 (boyer_moore): Likewise.
2921 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2923 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
2924 representation in MULE.
2926 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2928 * text-coding.c (Fmake_coding_system): Use
2929 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
2930 `EXTERNAL_PROPERTY_LIST_LOOP'.
2932 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2934 * text-coding.c (decode_output_utf8_partial_char): New function.
2935 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
2937 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2939 * text-coding.c (decode_coding_utf8): Output original byte
2940 sequence if it is broken; change order of conditions.
2942 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
2945 * mb-multibyte.h (BYTE_ASCII_P):
2946 Use bit ops for char-signedness safety.
2947 (BYTE_C0_P): Use bit ops for char-signedness safety.
2948 (BYTE_C1_P): Use bit ops for char-signedness safety.
2950 * character.h: (XCHAR_OR_CHAR_INT):
2951 Always use inline function.
2952 Remove redundant type checking assert() - XINT will abort quite
2955 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2957 * text-coding.c: (Fencode_shift_jis_char):
2958 (Fencode_big5_char):
2959 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
2960 Replace 0 with '\0' when working with bytes.
2961 Replace initial "(" with "\(" in docstrings.
2963 (Fmake_coding_system):
2964 When type is ccl and value is vector, register it with a proper
2965 symbol. And checks whether the given ccl program is valid.
2966 (mule_decode): When calling ccl_driver, if src indicates
2967 NULL pointer, set an empty string instead.
2968 (mule_encode): Likewise.
2971 (detect_coding_sjis):
2972 (decode_coding_sjis):
2973 (detect_coding_big5):
2974 (decode_coding_big5):
2975 (detect_coding_ucs4):
2976 (decode_coding_ucs4):
2977 (detect_coding_utf8):
2978 (decode_coding_utf8):
2979 (detect_coding_iso2022):
2980 (decode_coding_iso2022):
2981 (decode_coding_no_conversion):
2983 Make all detecting and decoding functions take an Extbyte * arg.
2984 (text_encode_generic):
2985 (encode_coding_big5):
2986 (encode_coding_no_conversion):
2988 Make all encoding functions take a Bufbyte * arg.
2989 Use size_t instead of unsigned int for memory sizes.
2990 Only cast to unsigned char whenever dereferencing Extbyte *.
2992 (struct lrecord_description fcd_description_1): Use countof.
2993 (complex_vars_of_file_coding):
2994 Use countof instead of sizeof.
2995 Use CHECK_NATNUM instead of CHECK_INT.
2997 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2999 * mule-charset.c (Fget_char_attribute): Add new optional argument
3001 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
3002 (remove_char_ccs): Likewise.
3004 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3006 * text-coding.c (char_encode_shift_jis): New implementation in
3008 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
3011 * mule-charset.c (Vcharset_chinese_big5): New variable in
3013 (Qchinese_big5): New variable in UTF-2000.
3014 (BIG5_SAME_ROW): New macro in UTF-2000.
3015 (make_builtin_char): Use builtin characters of
3016 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
3017 characters of `Vcharset_chinese_big5'.
3018 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
3019 (complex_vars_of_mule_charset): Add new coded-charset
3020 `chinese-big5' in UTF-2000.
3022 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
3023 (Vcharset_chinese_big5): New external variable declaration.
3024 (Vcharset_japanese_jisx0208_1990): Likewise.
3026 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3028 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
3030 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
3032 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3034 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
3035 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
3036 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
3039 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3041 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
3043 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3045 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3048 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3050 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
3051 for `CHARSET_BY_ATTRIBUTES'.
3052 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3053 `CHARSET_BY_ATTRIBUTES'.
3055 * text-coding.c (struct decoding_stream): Rename member `CH' to
3057 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
3058 (decode_coding_sjis): Likewise.
3059 (decode_coding_big5): Likewise.
3060 (decode_coding_ucs4): Likewise.
3061 (decode_coding_utf8): Likewise.
3062 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3063 `CHARSET_BY_ATTRIBUTES'.
3064 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
3065 `str->counter'; decode 3, 4 bytes sets.
3066 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
3068 (decode_coding_no_conversion): Use `str->cpos' instead of
3071 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
3072 (Qmojikyo_2022_1): New variable.
3073 (make_charset): Don't use `CHARSET_TYPE_*'.
3074 (range_charset_code_point): Support coded-charset
3076 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
3077 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
3078 `CHARSET_BY_ATTRIBUTES'.
3079 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
3080 `CHARSET_BY_ATTRIBUTES'.
3081 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
3082 (complex_vars_of_mule_charset): Add new coded-charset
3085 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
3086 interface; changed to inline function.
3088 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
3089 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
3090 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
3091 (CHARSET_TYPE_94): Deleted.
3092 (CHARSET_TYPE_94X94): Deleted.
3093 (CHARSET_TYPE_96): Deleted.
3094 (CHARSET_TYPE_96X96): Deleted.
3095 (CHARSET_TYPE_128): Deleted.
3096 (CHARSET_TYPE_128X128): Deleted.
3097 (CHARSET_TYPE_256): Deleted.
3098 (CHARSET_TYPE_256X256): Deleted.
3099 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
3101 (DECODE_MOJIKYO_2022): New inline function.
3102 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
3103 `Vcharset_mojikyo_2022_1'.
3105 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3107 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
3109 (put_byte_table): Likewise.
3110 (char_id_table_equal): Use `get_byte_table' [new implementation].
3112 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3114 * mule-charset.c: Include <limits.h> in UTF-2000.
3115 (BT_UINT8_MIN): New macro in UTF-2000.
3116 (BT_UINT8_MAX): New macro in UTF-2000.
3117 (BT_UINT8_t): New macro in UTF-2000.
3118 (BT_UINT8_nil): New macro in UTF-2000.
3119 (BT_UINT8_unbound): New macro in UTF-2000.
3120 (INT_UINT8_P): New inline function in UTF-2000.
3121 (UINT8_VALUE_P): New inline function in UTF-2000.
3122 (UINT8_ENCODE): New inline function in UTF-2000.
3123 (UINT8_DECODE): New inline function in UTF-2000.
3124 (mark_uint8_byte_table): New function in UTF-2000.
3125 (print_uint8_byte_table): New function in UTF-2000.
3126 (uint8_byte_table_equal): New function in UTF-2000.
3127 (uint8_byte_table_hash): New function in UTF-2000.
3128 (make_uint8_byte_table): New function in UTF-2000.
3129 (uint8_byte_table_same_value_p): New function in UTF-2000.
3130 (BT_UINT16_MIN): New macro in UTF-2000.
3131 (BT_UINT16_MAX): New macro in UTF-2000.
3132 (BT_UINT16_t): New macro in UTF-2000.
3133 (BT_UINT16_nil): New macro in UTF-2000.
3134 (BT_UINT16_unbound): New macro in UTF-2000.
3135 (INT_UINT16_P): New inline function in UTF-2000.
3136 (UINT16_VALUE_P): New inline function in UTF-2000.
3137 (UINT16_ENCODE): New inline function in UTF-2000.
3138 (UINT16_DECODE): New inline function in UTF-2000.
3139 (UINT8_TO_UINT16): New inline function in UTF-2000.
3140 (mark_uint16_byte_table): New function in UTF-2000.
3141 (print_uint16_byte_table): New function in UTF-2000.
3142 (uint16_byte_table_equal): New function in UTF-2000.
3143 (uint16_byte_table_hash): New function in UTF-2000.
3144 (make_uint16_byte_table): New function in UTF-2000.
3145 (uint16_byte_table_same_value_p): New function in UTF-2000.
3146 (print_byte_table): New function in UTF-2000.
3147 (byte-table): Use `print_byte_table' as printer.
3148 (make_byte_table): Delete second argument `older'.
3149 (byte_table_same_value_p): New function in UTF-2000.
3150 (copy_byte_table): Deleted.
3151 (get_byte_table): New function in UTF-2000.
3152 (put_byte_table): New function in UTF-2000.
3153 (print_char_id_table): New function in UTF-2000.
3154 (char-id-table): Use `print_char_id_table' as printer.
3155 (make_char_id_table): Delete second argument `older'.
3156 (get_char_id_table): Use `get_byte_table [new implementation].
3157 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
3159 (Ffind_char_attribute_table): New function in UTF-2000.
3160 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3161 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
3162 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
3163 (syms_of_mule_charset): Add new function
3164 `find-char-attribute-table' in UTF-2000.
3166 * lrecord.h (enum lrecord_type): Add
3167 `lrecord_type_uint16_byte_table' and
3168 `lrecord_type_uint8_byte_table'.
3170 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
3171 (Lisp_Uint8_Byte_Table): New type.
3172 (XUINT8_BYTE_TABLE): New macro.
3173 (XSETUINT8_BYTE_TABLE): New macro.
3174 (UINT8_BYTE_TABLE_P): New macro.
3175 (GC_UINT8_BYTE_TABLE_P): New macro.
3176 (struct Lisp_Uint16_Byte_Table): New structure.
3177 (Lisp_Uint16_Byte_Table): New type.
3178 (XUINT16_BYTE_TABLE): New macro.
3179 (XSETUINT16_BYTE_TABLE): New macro.
3180 (UINT16_BYTE_TABLE_P): New macro.
3181 (GC_UINT16_BYTE_TABLE_P): New macro.
3183 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3185 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
3186 (Vcharacter_ideographic_strokes_table): Deleted.
3187 (Vcharacter_total_strokes_table): Deleted.
3188 (Vcharacter_morohashi_daikanwa_table): Deleted.
3189 (Vcharacter_decomposition_table): Deleted.
3190 (Qname): Deleted because it is duplicated.
3191 (Qideographic_radical): Deleted.
3192 (Qideographic_strokes): Deleted.
3193 (Qtotal_strokes): Deleted.
3194 (Qmorohashi_daikanwa): Deleted.
3195 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
3196 `ideographic-radical', `ideographic-strokes', `total-strokes',
3197 `morohashi-daikanwa' and `->decomposition'.
3198 (Fget_char_attribute): Likewise.
3199 (Fput_char_attribute): Likewise; use `make-vector' instead of
3200 `make_older_vector' for `->decomposition' value.
3201 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
3202 `ideograph-daikanwa'.
3203 (syms_of_mule_charset): Delete builtin symbols `name',
3204 `ideographic-radical', `ideographic-strokes', `total-strokes' and
3205 `morohashi-daikanwa'.
3206 (vars_of_mule_charset): Don't setup
3207 `Vcharacter_ideographic_radical_table',
3208 `Vcharacter_ideographic_strokes_table',
3209 `Vcharacter_total_strokes_table',
3210 `Vcharacter_morohashi_daikanwa_table' and
3211 `Vcharacter_decomposition_table'.
3213 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3215 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
3216 `make_older_vector', `make_vector_newer_1' and
3217 `make_vector_newer'.
3219 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
3220 `make_older_vector' and `make_vector_newer'.
3222 * config.h.in (HAVE_GGC): New macro.
3224 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3226 * mule-charset.c (struct char_attribute_list_closure): New
3227 structure in UTF-2000.
3228 (add_char_attribute_to_list_mapper): New function in UTF-2000.
3229 (Fchar_attribute_list): Likewise.
3230 (Fset_charset_mapping_table): Use `make_vector_newer'.
3231 (Fdecode_builtin_char): New function in UTF-2000.
3232 (syms_of_mule_charset): Add new function `char-attribute-list' and
3233 `decode-builtin-char' in UTF-2000.
3235 * lisp.h (make_vector_newer): New prototype.
3237 * alloc.c (make_vector_newer_1): New function.
3238 (make_vector_newer): New function.
3240 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3242 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
3245 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3247 * mule-charset.c (Vchar_attribute_hash_table): New variable.
3248 (Vcharacter_attribute_table): Deleted.
3249 (Vcharacter_name_table): Deleted.
3250 (put_char_attribute): Deleted.
3251 (remove_char_attribute): Deleted.
3252 (struct char_attribute_alist_closure): New structure.
3253 (add_char_attribute_alist_mapper): New function.
3254 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
3255 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
3256 (Fget_char_attribute): Likewise.
3257 (Fput_char_attribute): Likewise.
3258 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
3259 of `remove_char_attribute'.
3260 (Fdefine_char): Return character.
3261 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
3262 and `Vcharacter_name_table'.
3263 (complex_vars_of_mule_charset): Likewise
3264 `Vchar_attribute_hash_table'.
3266 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3268 * character.h (CHARC_CHARSET): New macro.
3269 (CHARC_CHARSET_ID): New macro.
3270 (CHARC_CODE_POINT): New macro.
3271 (CHARC_COLUMNS): New macro.
3272 (CHARC_TO_CHAR): New inline function.
3273 (CHARC_EQ): New inline function.
3274 (CHARC_ASCII_EQ): New inline function.
3275 (CHARC_IS_SPACE): New inline function.
3276 (ASCII_TO_CHARC): New inline function.
3278 * char-ucs.h (encode_char_2): Deleted.
3279 (ENCODE_CHAR): Use `encode_char_1' again.
3280 (breakup_char_1): Likewise.
3281 (CHAR_TO_CHARC): New inline function.
3283 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
3285 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3287 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
3288 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
3289 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
3290 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
3291 (create_string_text_block): Use `CHARC_ASCII_EQ' and
3293 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
3295 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
3297 (x_output_display_block): Use `CHARC_CHARSET' and
3300 * redisplay-tty.c (tty_output_display_block): Use
3302 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
3304 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
3306 * insdel.c (find_charsets_in_charc_string): Use
3308 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
3309 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
3310 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
3311 (convert_charc_string_into_malloced_string): Likewise.
3313 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3315 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
3316 instead of <Emchar_dynarr *> for buf; use
3317 `convert_bufbyte_string_into_charc_dynarr' instead of
3318 `convert_bufbyte_string_into_emchar_dynarr'; use
3319 `find_charsets_in_charc_string' instead of
3320 `find_charsets_in_emchar_string'.
3323 - Include "character.h".
3324 (struct rune): New member `cglyph'; delete member `chr'.
3326 * redisplay.c (redisplay_text_width_charc_string): New function;
3327 delete `redisplay_text_width_emchar_string'.
3328 (rtw_charc_dynarr): New variable; renamed from
3329 `rtw_emchar_dynarr'.
3330 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
3331 `rtw_emchar_dynarr'; use
3332 `convert_bufbyte_string_into_charc_dynarr' instead of
3333 `convert_bufbyte_string_into_emchar_dynarr'; use
3334 `redisplay_text_width_charc_string' instead of
3335 `redisplay_text_width_emchar_string'.
3336 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
3337 instead of `rtw_emchar_dynarr'; use
3338 `convert_bufbyte_string_into_charc_dynarr' instead of
3339 `convert_bufbyte_string_into_emchar_dynarr'.
3340 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
3341 `redisplay_text_width_charc_string' instead of
3342 `redisplay_text_width_emchar_string'.
3343 (create_text_block): Modify for <struct rune> change.
3344 (generate_formatted_string_db): Likewise.
3345 (create_string_text_block): Likewise.
3346 (pixel_to_glyph_translation): Likewise.
3348 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
3349 instead of <const Emchar *>.
3350 (x_text_width): Likewise.
3351 (x_output_display_block): Use <Charc_dynarr *> instead
3352 <Emchar_dynarr *>; modify for <structure rune> change.
3353 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
3356 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
3357 <const Emchar *>; use `charc_string_displayed_columns' instead of
3358 `emchar_string_displayed_columns'.
3359 (tty_output_display_block): Use <Charc_dynarr *> instead of
3360 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
3361 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
3362 (tty_output_charc_dynarr_dynarr): New variable; renamed from
3363 `tty_output_emchar_dynarr_dynarr'.
3364 (tty_output_charc_dynarr): New function; delete
3365 `tty_output_charc_dynarr'.
3367 * redisplay-output.c (compare_runes): Modify for `struct rune'.
3368 (redisplay_output_layout): Use <Charc_dynarr *> instead of
3369 <Emchar_dynarr *> for buf; use
3370 `convert_bufbyte_string_into_charc_dynarr' instead of
3371 `convert_bufbyte_string_into_emchar_dynarr'.
3373 * frame.c (title_string_charc_dynarr): New variable; renamed from
3374 `title_string_emchar_dynarr'.
3375 (generate_title_string): Use `title_string_charc_dynarr' instead
3376 of `title_string_emchar_dynarr'; use
3377 `convert_charc_string_into_malloced_string' instead of
3378 `convert_emchar_string_into_malloced_string'.
3379 (init_frame): Use `title_string_charc_dynarr' instead of
3380 `title_string_emchar_dynarr'.
3383 - Include "character.h".
3384 (struct console_methods): Use <const Charc *> instead of <const
3385 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
3386 <Emchar_dynarr *> in output_string_method.
3388 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
3391 * console-stream.c (stream_text_width): Use <const Charc *>
3392 instead of <const Emchar *>.
3394 * character.h (Charc_dynarr): New type.
3396 * char-ucs.h (structure Charc): New structure; define new type
3399 * char-lb.h (DECODE_CHAR): New inline function.
3400 (encode_char_1): New inline function.
3401 (ENCODE_CHAR): New macro.
3402 (structure Charc): New structure; define new type `Charc'.
3404 * char-1byte.h (Vcharset_control_1): New macro.
3405 (Vcharset_latin_iso8859_1): New macro.
3406 (DECODE_CHAR): New inline function.
3407 (encode_char_1): New inline function.
3408 (ENCODE_CHAR): New macro.
3409 (structure Charc): New structure; define new type `Charc'.
3411 * insdel.c (find_charsets_in_charc_string): New function; delete
3412 `find_charsets_in_emchar_string'.
3413 (charc_string_displayed_columns): New function; delete
3414 `emchar_string_displayed_columns'.
3415 (convert_bufbyte_string_into_charc_dynarr): New function; delete
3416 `convert_bufbyte_string_into_emchar_dynarr'.
3417 (convert_charc_string_into_bufbyte_dynarr): New function; delete
3418 `convert_charc_string_into_bufbyte_dynarr'.
3419 (convert_charc_string_into_malloced_string): New function; delete
3420 `convert_charc_string_into_malloced_string'.
3422 * buffer.h (find_charsets_in_charc_string): New prototype; delete
3423 `find_charsets_in_emchar_string'.
3424 (charc_string_displayed_columns): New prototype; delete
3425 `emchar_string_displayed_columns'.
3426 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
3427 `convert_charc_string_into_bufbyte_dynarr'.
3428 (convert_charc_string_into_malloced_string): New prototype; delete
3429 `convert_charc_string_into_malloced_string'.
3431 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3433 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
3435 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3437 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
3439 * char-ucs.h: Use <short> for <Charset_ID>.
3441 * mule-charset.h, char-1byte.h: Use <unsigned char> for
3444 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3446 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3449 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3451 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
3453 (Qmorohashi_daikanwa): New variable.
3454 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
3455 for `morohashi-daikanwa' attribute.
3456 (Fget_char_attribute): Likewise.
3457 (Fput_char_attribute): Likewise.
3458 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
3459 has the same value of `ideograph-daikanwa'.
3460 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
3461 (vars_of_mule_charset): Setup
3462 `Vcharacter_morohashi_daikanwa_table'.
3464 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3466 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
3468 (add_charset_to_list_mapper): Add `key' instead of
3469 `XCHARSET_NAME (value)' to return aliases.
3471 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3473 * mule-charset.c (Vcharacter_ideographic_radical_table): New
3475 (Vcharacter_ideographic_strokes_table): New variable.
3476 (Qideographic_radical): New variable.
3477 (Qideographic_strokes): New variable.
3478 (Fchar_attribute_alist): Use
3479 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
3480 attribute; use `Vcharacter_ideographic_strokes_table' for
3481 `ideographic-strokes' attribute.
3482 (Fget_char_attribute): Likewise.
3483 (Fput_char_attribute): Likewise.
3484 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
3485 `ideographic-strokes'.
3486 (vars_of_mule_charset): Setup
3487 `Vcharacter_ideographic_radical_table' and
3488 `Vcharacter_ideographic_strokes_table'.
3490 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3492 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
3493 (Qtotal_strokes): New variable.
3494 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
3495 `total-strokes' attribute.
3496 (Fget_char_attribute): Likewise.
3497 (Fput_char_attribute): Likewise.
3498 (syms_of_mule_charset): Add new symbol `total-strokes'.
3499 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
3501 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3503 * mule-charset.c (Vcharacter_decomposition_table): New variable.
3504 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
3506 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
3507 `->decomposition' attribute.
3508 (Fput_char_attribute): Likewise.
3509 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
3511 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3513 * mule-charset.c (decoding_table_check_elements): New function.
3514 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
3516 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3518 * mule-charset.c (Fset_charset_mapping_table): Use
3519 `put_char_ccs_code_point'.
3521 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3523 * mule-charset.c (decoding_table_put_char): New inline function.
3524 (put_char_ccs_code_point): Use `decoding_table_put_char'.
3526 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3528 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
3529 (XCHARSET_BYTE_SIZE): New macro.
3530 (decoding_table_remove_char): New inline function.
3531 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
3532 `decoding_table_remove_char'.
3533 (remove_char_ccs): Use `decoding_table_remove_char'.
3534 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
3536 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3538 * mule-charset.c (Vcharacter_name_table): New variable.
3539 (Qname): New variable.
3540 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
3542 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
3543 `Vcharacter_name_table' for `name' attribute.
3544 (Fremove_char_attribute): Use function `remove_char_ccs'.
3545 (put_char_ccs_code_point): New function.
3546 (remove_char_ccs): New function.
3547 (syms_of_mule_charset): Add new symbol `name'.
3548 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
3550 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3552 * mule-charset.c (make_byte_table): Add new argument `older'.
3553 (make_char_id_table): Likewise.
3554 (copy_char_id_table): Comment out because it is not used.
3555 (put_char_id_table): Modify for `make_byte_table'.
3556 (Fput_char_attribute): Make encoding_table as older object;
3557 inherit older bit of `Vcharacter_composition_table'.
3558 (mark_charset): Don't mark `cs->encoding_table'.
3559 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
3560 normal object; make `Vcharacter_composition_table' as an older
3561 object; delete staticpro for `Vcharacter_composition_table'; make
3562 `Vcharacter_variant_table' as a normal object.
3564 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
3565 (mark_object): Don't check older object in UTF-2000.
3567 * lrecord.h (struct lrecord_header): Add new member `older' in
3569 (set_lheader_implementation): Setup `SLI_header->older' in
3571 (set_lheader_older_implementation): New macro in UTF-2000.
3572 (OLDER_RECORD_P): New macro in UTF-2000.
3573 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
3574 (alloc_older_lcrecord): New prototype in UTF-2000.
3575 (alloc_older_lcrecord_type): New macro in UTF-2000.
3577 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3579 * mule-charset.c (byte_table_description): Use
3580 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
3581 (char_id_table_description): Delete bogus `, 1'.
3582 (Fget_char_attribute): Refer encoding_table of each coded-charset
3583 to get value of coded-charset attribute of a character.
3584 (Fput_char_attribute): Use `make_older_vector' instead of
3585 `make_vector'; use encoding_table of each coded-charset to store
3586 value of coded-charset attribute of a character.
3587 (Fremove_char_attribute): Use encoding_table of each coded-charset
3588 to store value of coded-charset attribute of a character.
3589 (mark_charset): Mark `cs->encoding_table'; don't mark
3590 `cs->decoding_table'.
3591 (charset_description): Add description of new member
3593 (make_charset): Initialize `encoding_table'.
3595 * char-ucs.h (struct Lisp_Charset): Add new member
3597 (CHARSET_ENCODING_TABLE): New macro.
3598 (XCHARSET_ENCODING_TABLE): New macro.
3599 (charset_code_point): New implementation.
3600 (encode_char_1): Likewise.
3602 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
3603 (disksave_object_finalization_1): Call finalizers of
3604 `all_older_lcrecords' in UTF-2000.
3605 (make_older_vector): New function in UTF-2000.
3606 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
3609 * lisp.h (make_older_vector): New prototype in UTF-2000.
3611 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3613 * lrecord.h (enum lrecord_type): Rename
3614 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
3616 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
3617 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
3618 `get_char_code_table'.
3620 * mule-charset.c (mark_char_id_table): Renamed from
3621 `mark_char_code_table'.
3622 (char_id_table_equal): Renamed from `char_code_table_equal'.
3623 (char_id_table_hash): Renamed from `char_code_table_hash'.
3624 (make_char_id_table): Renamed from `make_char_code_table'.
3625 (copy_char_id_table): Renamed from `copy_char_code_table'.
3626 (get_char_id_table): Renamed from `get_char_code_table'.
3627 (put_char_id_table): Renamed from `put_char_code_table'.
3628 (to_char_id): Renamed from `to_char_code'.
3630 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
3631 `Lisp_Char_Code_Table'.
3632 (char_id_table): Renamed from `char_code_table'.
3633 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
3634 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
3635 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
3636 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
3637 (get_char_id_table): Renamed from `get_char_code_table'.
3639 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3641 * lrecord.h (enum lrecord_type): Rename
3642 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
3644 * mule-charset.c (mark_byte_table): Renamed from
3645 `mark_char_byte_table'.
3646 (byte_table_equal): Renamed from `char_byte_table_equal'.
3647 (byte_table_hash): Renamed from `byte_table_hash'.
3648 (make_byte_table): Renamed from `make_byte_table'.
3649 (copy_byte_table): Renamed from `copy_char_byte_table'.
3651 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
3652 `Lisp_Char_Byte_Table'.
3653 (byte_table): Renamed from `char_byte_table'.
3654 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
3655 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
3656 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
3657 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
3659 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3661 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
3662 (dfc_convert_to_internal_format): Likewise.
3664 * text-coding.c (Fcoding_system_canonical_name_p): New function.
3665 * text-coding.c (Fcoding_system_alias_p): New function.
3666 * text-coding.c (Fcoding_system_aliasee): New function.
3667 * text-coding.c (append_suffix_to_symbol): New function.
3668 * text-coding.c (dangling_coding_system_alias_p): New function.
3669 * text-coding.c (Ffind_coding_system):
3670 * text-coding.c (Fcopy_coding_system):
3671 * text-coding.c (encode_coding_no_conversion):
3672 * text-coding.c (syms_of_file_coding):
3673 * text-coding.c (vars_of_file_coding):
3674 Rewrite coding system alias code.
3675 Allow nested aliases, like symbolic links.
3676 Allow redefinition of coding system aliases.
3677 Prevent existence of dangling coding system aliases.
3678 Eliminate convert_to_external_format.
3679 Eliminate convert_to_internal_format.
3681 * text-coding.c: Change enum eol_type to eol_type_t.
3683 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3685 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
3686 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3688 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
3689 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3691 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3693 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
3694 `ideograph-daikanwa'.
3696 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
3697 (Vcharset_ucs_bmp): Likewise.
3698 (Vcharset_mojikyo): Add new extern variable definition.
3699 (Vcharset_latin_iso8859_2): Deleted because it is not used.
3700 (Vcharset_latin_iso8859_3): Likewise.
3701 (Vcharset_latin_iso8859_4): Likewise.
3702 (Vcharset_latin_iso8859_9): Likewise.
3703 (Vcharset_latin_viscii_lower): Likewise.
3704 (Vcharset_latin_viscii_upper): Likewise.
3705 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
3706 `mojikyo' code-point is used to decode.
3707 (encode_char_2): New function [to convert `mojikyo' code-point to
3708 Mojikyo font encoding].
3709 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
3710 (breakup_char_1): Likewise.
3711 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
3713 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3715 * text-coding.c (Fmake_coding_system): Add document about
3716 `disable-composition' property.
3718 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3720 * text-coding.c (Qdisable_composition): New variable; delete
3722 (Fmake_coding_system): Add new property `disable-composite';
3723 delete property `composite'.
3724 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
3725 instead of `!CODING_SYSTEM_COMPOSITE'.
3726 (syms_of_file_coding): Add new symbol `disable-composition';
3727 delete symbol `composite'.
3729 * file-coding.h (struct Lisp_Coding_System): Add
3730 `disable_composition'; delete `enable_composition'.
3731 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3732 `CODING_SYSTEM_COMPOSITE'.
3733 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3734 `XCODING_SYSTEM_COMPOSITE'.
3736 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3738 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3741 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3743 * text-coding.c (Qcomposite): New variable.
3744 (Fmake_coding_system): Add new property `composite'.
3745 (struct decoding_stream): Add `combined_char_count',
3746 `combined_chars' and `combining_table' in UTF-2000.
3747 (COMPOSE_FLUSH_CHARS): New macro.
3748 (COMPOSE_ADD_CHAR): New macro.
3749 (reset_decoding_stream): Reset `str->combined_char_count' and
3750 `str->combining_table' in UTF-2000.
3751 (decode_coding_iso2022): Modify for character-decomposition.
3752 (syms_of_file_coding): Add new symbol `composite'.
3754 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3756 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
3757 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
3758 of `Vcharacter_composition_table' if `->decomposition' property
3760 (Qlatin_tcvn5712): New variable.
3761 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
3762 (complex_vars_of_mule_charset): Add new coded-charset
3765 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
3767 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3769 * file-coding.h (struct Lisp_Coding_System): Add
3770 `enable_composition'.
3771 (CODING_SYSTEM_COMPOSITE): New macro.
3772 (XCODING_SYSTEM_COMPOSITE): New macro.
3774 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
3776 * mule-canna.c (c2mu): Fix problem with UTF-2000.
3778 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
3780 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
3781 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
3783 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
3785 * mule-charset.c (Vcharset_mojikyo): New variable.
3786 (Fdefine_char): Don't use coded-charset which does not have
3787 non-builtin character range to allocate character-id.
3788 (Qmojikyo): New variable.
3789 (syms_of_mule_charset): Add new symbol `mojikyo'.
3790 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
3792 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
3793 (LEADING_BYTE_MOJIKYO): New macro.
3794 (MIN_CHAR_MOJIKYO): New macro.
3795 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
3796 (MAX_CHAR_MOJIKYO): New macro.
3798 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
3800 * mule-charset.c (remove_char_attribute): Fixed.
3802 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
3804 * mule-charset.c (remove_char_attribute): New function.
3805 (Fremove_char_attribute): New function.
3806 (encode_builtin_char_1): Comment out builtin-support for
3807 greek-iso8859-7 and cyrillic-iso8859-5.
3808 (Fdecode_char): Check `code' is an integer.
3809 (syms_of_mule_charset): Add `remove-char-attribute'.
3810 (MIN_CHAR_GREEK): Deleted.
3811 (MAX_CHAR_GREEK): Likewise.
3812 (MIN_CHAR_CYRILLIC): Likewise.
3813 (MAX_CHAR_CYRILLIC): Likewise.
3814 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
3815 MAX_CHAR_GREEK for `greek-iso8859-7'.
3817 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
3818 (MAX_CHAR_GREEK): Likewise.
3819 (MIN_CHAR_CYRILLIC): Likewise.
3820 (MAX_CHAR_CYRILLIC): Likewise.
3822 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
3824 * mule-charset.c (Fdefine_char): Fix problem when new code-point
3825 format is used without `ucs' property.
3826 (Fdecode_char): Fix problem with GR representation.
3827 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
3828 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
3830 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3832 * mule-charset.c (make_builtin_char): New function.
3833 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
3834 (Fset_charset_mapping_table): Modify for new representation of
3836 (Fdecode_char): New function.
3837 (syms_of_mule_charset): Add new builtin function `decode-char' in
3840 * char-ucs.h (make_builtin_char): New prototype.
3841 (DECODE_CHAR): New inline function.
3842 (MAKE_CHAR): Use `DECODE_CHAR'.
3844 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
3846 * text-coding.c (parse_charset_conversion_specs): Use
3847 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
3849 (iso2022_designate): Likewise.
3851 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
3852 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
3854 * mule-charset.c (Vcharset_ucs): New variable.
3855 (print_charset): Change design; use `CHARSET_CHARS' and
3856 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
3857 (make_charset): Change signature to specify `chars' and
3858 `dimension' instead of `type'.
3859 (range_charset_code_point): Modify for 256^n-set.
3860 (encode_builtin_char_1): Encode as `ucs' in default.
3861 (Fmake_charset): Modify for `make_charset'.
3862 (Fmake_reverse_direction_charset): Likewise.
3863 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
3865 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
3868 * char-ucs.h (Vcharset_ucs): New variable.
3869 (LEADING_BYTE_UCS): New macro.
3870 (struct Lisp_Charset): Delete `type'; change type of `dimension'
3871 and `chars' to `unsigned short' from `unsigned int'.
3872 (CHARSET_TYPE): Deleted.
3873 (XCHARSET_TYPE): Deleted.
3875 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
3877 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
3879 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
3880 (ENCODE_CHAR): New macro.
3882 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3884 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3885 to 0.14 (Kawachi-Katakami).
3887 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3889 * text-coding.c (char_encode_shift_jis): Modify for
3890 `charset_code_point'.
3891 (char_encode_iso2022): Likewise.
3893 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
3894 (integer) instead of list of <Lisp_Object>s (integers) as the
3895 format of code-point of a coded-charset.
3896 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3897 (encode_builtin_char_1): New function; delete
3898 `split_builtin_char'.
3899 (charset_code_point): Return <int> instead of <Lisp_Object>.
3900 (Fsplit_char): Don't use `SPLIT_CHAR'.
3902 * char-ucs.h (encode_builtin_char_1): New prototype; delete
3903 prototype for `split_builtin_char'.
3904 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3905 (charset_code_point): Likewise.
3906 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
3907 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
3909 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
3911 * mule-charset.c (complex_vars_of_mule_charset): Don't define
3912 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
3914 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3916 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
3918 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
3919 (MAX_CHAR_OBS_94x94): Deleted.
3921 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3923 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
3925 * char-ucs.h (MAX_CHAR_BMP): New macro.
3927 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3929 * text-coding.c: Sync with r21-2-24.
3931 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3933 * file-coding.c: Modify for UTF-2000.
3935 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3937 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3940 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3942 * mule-charset.c (split_builtin_char): Delete builtin support for
3943 `katakana-jisx0201'.
3944 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
3945 BMP area in builtin representation.
3947 * char-ucs.h (MAKE_CHAR): Delete builtin support for
3948 `Vcharset_katakana_jisx0201'.
3950 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
3952 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
3953 (Qisolated): New variable.
3954 (Qinitial): New variable.
3955 (Qmedial): New variable.
3956 (Qfinal): New variable.
3957 (Qvertical): New variable.
3958 (Qsmall): New variable.
3959 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
3960 `Qvertical' and `Qsmall'.
3961 (Qmojikyo_pj_[1 .. 21]): New variable.
3962 (syms_of_mule_charset): Add new symbols `isolated', `initial',
3963 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
3964 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
3967 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3969 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
3970 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
3971 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
3973 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3975 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
3976 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
3978 (Qjapanese_jisx0208_1990): New variable.
3979 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
3980 (complex_vars_of_mule_charset): Add new coded-charset
3981 `japanese-jisx0208-1990'.
3983 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
3984 (MIN_CHAR_JIS_X0208_1990): New macro.
3985 (MAX_CHAR_JIS_X0208_1990): New macro.
3987 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3989 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
3990 coded-charset is not found.
3992 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3994 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
3995 (Fdefine_char): Use `Fmake_char'.
3997 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3999 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
4000 (Vcharset_hiragana_jisx0208): Deleted.
4001 (Vcharset_katakana_jisx0208): Deleted.
4002 (Qideograph_daikanwa): New variable.
4003 (Qhiragana_jisx0208): Deleted.
4004 (Qkatakana_jisx0208): Deleted.
4005 (split_builtin_char): Split `ideograph-daikanwa'.
4006 (Fsplit_char): New implementation for UTF-2000.
4007 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
4008 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
4009 (complex_vars_of_mule_charset): Add new coded-charset
4010 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
4011 `katakana-jisx0208'.
4013 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
4014 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
4015 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
4016 (MIN_CHAR_DAIKANWA): New macro.
4017 (MAX_CHAR_DAIKANWA): New macro.
4019 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4021 * data.c (Fstring_to_number): Don't recognize floating point if
4024 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4026 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
4028 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4030 * mule-charset.c (Qsquare): New variable.
4031 (to_char_code): Add `Qsquare'.
4032 (syms_of_mule_charset): Add new symbol `square'.
4034 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4036 * mule-charset.c (Qcircle): New variable.
4037 (to_char_code): Add `Qcircle'.
4038 (syms_of_mule_charset): Add new symbol `circle'.
4040 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4042 * mule-charset.c (Qfont): New variable.
4043 (to_char_code): Add `Qfont'.
4044 (syms_of_mule_charset): Add new symbol `font'.
4046 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4048 * mule-charset.c (Qsub): New variable.
4049 (to_char_code): Add `Qsub'.
4050 (syms_of_mule_charset): Add new symbol `sub'.
4052 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4054 * mule-charset.c (Fput_char_attribute): Convert each element of
4055 VALUE to GL position if ATTRIBUTE is a GR-set,
4057 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4059 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
4060 coded-charset is a GR-set.
4062 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4064 * mule-charset.c (Fput_char_attribute): Check each element of
4065 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
4067 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4069 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
4071 (Qethiopic_ucs): New variable in UTF-2000.
4072 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
4073 (complex_vars_of_mule_charset): Add new coded-charset
4074 `ethiopic-ucs' in UTF-2000.
4076 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
4077 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4079 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4081 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
4083 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4085 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
4088 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4090 * mule-charset.c (Vcharacter_variant_table): New variable.
4091 (Q_ucs): New variable.
4092 (Fchar_variants): New function.
4093 (Fput_char_attribute): Register `->ucs' value to
4094 `Vcharacter_variant_table'.
4095 (syms_of_mule_charset): Add new function `char-variants' and new
4097 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
4099 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4101 * mule-charset.c (get_char_code_table): Allow negative character
4103 (put_char_code_table): Likewise.
4104 (Vcharacter_composition_table): New variable.
4105 (Q_decomposition): New variable.
4106 (Qwide): New variable.
4107 (Qnarrow): New variable.
4108 (Qcompat): New variable.
4109 (QnoBreak): New variable.
4110 (Qsuper): New variable.
4111 (Qfraction): New variable.
4112 (to_char_code): New function.
4113 (Fget_composite_char): New function.
4114 (Fput_char_attribute): Register `->decomposition' value to
4115 `Vcharacter_composition_table'.
4116 (syms_of_mule_charset): Add new function `get-composite-char', new
4117 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
4118 `super' and `fraction'.
4119 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
4121 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4123 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
4124 character; copy the return value.
4126 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4128 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
4130 * mule-charset.c (range_charset_code_point): Must use make_int.
4131 (split_builtin_char): New function.
4133 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4135 * mule-charset.c (char_byte_table): Change name from
4136 "char-code-table" to "char-byte-table".
4137 (mark_char_code_table): New function.
4138 (char_code_table_equal): New function.
4139 (char_code_table_hash): New function.
4140 (char_code_table_description): New constant.
4141 (char_code_table): New type.
4142 (make_char_code_table): New function.
4143 (copy_char_code_table): New function.
4144 (get_char_code_table): Modify for `char_code_table' type.
4145 (put_char_code_table): Likewise.
4146 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
4149 * char-ucs.h (char_code_table): New type.
4150 (XCHAR_CODE_TABLE): New macro.
4151 (XSETCHAR_CODE_TABLE): New macro.
4152 (CHAR_CODE_TABLE_P): New macro.
4153 (GC_CHAR_CODE_TABLE_P): New macro.
4154 (struct Lisp_Char_Code_Table): New structure.
4156 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4158 * mule-charset.c (Fmake_charset): Setup byte_offset for
4161 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
4163 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
4166 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4168 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
4171 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4173 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
4174 charset, it is regarded as a charset.
4175 (put_char_attribute): New function in UTF-2000.
4176 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
4177 charset, mapping-table of the charset is modified.
4178 (Fdefine_char): New function in UTF-2000.
4179 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
4180 `Fput_char_attribute'.
4181 (syms_of_mule_charset): Add new function `define-char' and new
4182 symbol `ucs' in UTF-2000.
4183 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
4185 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4187 * mule-charset.c (Fcharset_name): Define `byte_offset' in
4188 non-UTF-2000 configuration.
4190 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4192 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
4193 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
4195 * mule-charset.c (mark_charset): `cs->encoding_table' has been
4197 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
4198 (Fset_charset_mapping_table): Likewise.
4200 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
4201 (CHARSET_ENCODING_TABLE): Delete.
4202 (XCHARSET_ENCODING_TABLE): Delete.
4203 (charset_code_point): New interface.
4205 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4207 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
4208 instead of `charset_get_byte1' and `charset_get_byte2'.
4210 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
4211 (charset_get_byte2): Deleted.
4213 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4215 * char-ucs.h (SPLIT_CHAR): New inline function.
4216 (breakup_char_1): Use `SPLIT_CHAR'.
4218 * mule-charset.c (range_charset_code_point): New function.
4219 (charset_code_point): New function.
4221 * char-ucs.h (range_charset_code_point): New interface.
4222 (breakup_char_1): Use `range_charset_code_point'.
4224 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4226 * mule-charset.c (Fmake_charset): Delete unused local variable
4229 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
4230 (breakup_char_1): Find a charset and code-point in
4231 `Vcharacter_attribute_table'.
4233 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4235 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4238 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4240 * mule-charset.c (Vcharacter_attribute_table): New variable.
4241 (Fchar_attribute_alist): New function.
4242 (Fget_char_attribute): New function.
4243 (Fput_char_attribute): New function.
4244 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
4246 (syms_of_mule_charset): Add new function `char-attribute-alist',
4247 `get-char-attribute' and `put-char-attribute'.
4248 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
4250 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
4252 * mule-charset.c (Fmake_charset): Just use
4253 `get_unallocated_leading_byte'.
4255 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
4256 sets; don't use final-byte based number for private sets.
4258 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4260 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
4263 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4265 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4268 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4270 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
4271 of `CHAR_LEADING_BYTE' in UTF-2000.
4273 * insdel.c (find_charsets_in_bufbyte_string): Use
4274 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4275 (find_charsets_in_emchar_string): Likewise.
4277 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
4278 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4280 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
4281 (CHAR_CHARSET_ID): New macro.
4283 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4285 * chartab.c (get_char_table): Don't use type `Charset_ID' for
4286 charset-id - MIN_LEADING_BYTE.
4287 (put_char_table): Likewise.
4289 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4291 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
4292 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
4293 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
4294 (CHARSET_ID_OFFSET): New macro.
4295 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
4296 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
4297 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
4298 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4300 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4302 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
4303 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
4304 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
4305 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
4306 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
4308 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4310 * mule-charset.c (next_allocated_leading_byte): New variable in
4312 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
4313 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
4314 (get_unallocated_leading_byte): Simply use
4315 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
4316 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
4319 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
4320 (MAX_LEADING_BYTE_PRIVATE): New macro.
4321 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
4322 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
4324 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4326 * mule-charset.c (Fmake_charset): Allocate final-byte based
4327 charset-id for 94-set, 96-set and 94x94-set.
4329 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4331 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
4333 (Fmake_charset): Likewise.
4334 (complex_vars_of_mule_charset): Modify the font registry of
4335 `ucs-bmp' not to match `Ethiopic-Unicode'.
4337 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4339 * mule-charset.c (complex_vars_of_mule_charset): Add font
4340 registory of `ucs-bmp'.
4342 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4344 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
4345 coded-charsets in `default-coded-charset-priority-list' when
4346 breaking up a character.
4348 * mule-charset.c (Vcharset_latin_viscii): New variable.
4349 (Qlatin_viscii): New variable.
4350 (make_charset): Don't use `decoding_table'.
4351 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
4353 (Fset_charset_mapping_table): New implementation.
4354 (syms_of_mule_charset): Add new symbol `latin-viscii'.
4355 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
4356 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
4357 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
4358 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
4359 charset `latin_viscii'.
4361 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
4362 (CHARSET_TYPE_94X94): Change to 1 from 2.
4363 (CHARSET_TYPE_96): Change to 2 from 1.
4364 (CHARSET_TYPE_128): New macro.
4365 (CHARSET_TYPE_128X128): Change to 5 from 4.
4366 (CHARSET_TYPE_256): New macro.
4367 (CHARSET_TYPE_256X256): Change to 7 from 5.
4368 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
4370 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4372 * text-coding.c (char_encode_shift_jis): Refer
4373 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
4374 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
4376 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
4377 (char_byte_table_equal): New function in UTF-2000.
4378 (char_byte_table_hash): New function in UTF-2000.
4379 (char_byte_table_description): New constant in UTF-2000.
4380 (char_byte_table): New type in UTF-2000.
4381 (make_char_byte_table): New function in UTF-2000.
4382 (copy_char_byte_table): New function in UTF-2000.
4383 (make_char_code_table): New macro in UTF-2000.
4384 (get_char_code_table): New function in UTF-2000.
4385 (put_char_code_table): New function in UTF-2000.
4386 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
4387 (charset_description): Add setting in UTF-2000.
4388 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
4389 `CHARSET_TO_BYTE1_TABLE(cs)'.
4390 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
4391 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
4392 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
4393 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
4394 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
4395 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
4396 `CHARSET_TO_BYTE2_TABLE(cs)'.
4398 * char-ucs.h (char_byte_table): New type.
4399 (XCHAR_BYTE_TABLE): New macro.
4400 (XSETCHAR_BYTE_TABLE): New macro.
4401 (CHAR_BYTE_TABLE_P): New macro.
4402 (GC_CHAR_BYTE_TABLE_P): New macro.
4403 (struct Lisp_Char_Byte_Table): New structure.
4404 (get_char_code_table): New interface.
4405 (Emchar_to_byte_table): Deleted.
4406 (get_byte_from_character_table): Deleted.
4407 (struct Lisp_Charset): Add `encoding_table'; delete
4408 `to_byte1_table' and `to_byte2_table'.
4409 (CHARSET_ENCODING_TABLE): New macro.
4410 (CHARSET_TO_BYTE1_TABLE): Deleted.
4411 (CHARSET_TO_BYTE2_TABLE): Deleted.
4412 (XCHARSET_ENCODING_TABLE): New macro.
4413 (XCHARSET_TO_BYTE1_TABLE): Deleted.
4414 (XCHARSET_TO_BYTE2_TABLE): Deleted.
4416 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4418 * mule-charset.c (syms_of_mule_charset): Delete charset alias
4419 `vietnamese-viscii-*'.
4421 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4423 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
4424 (Qvietnamese_viscii_upper): New variable.
4425 (Fdefine_charset_alias): New function.
4426 (syms_of_mule_charset): Add new function `define-charset-alias'.
4427 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
4428 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
4431 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
4433 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
4434 (MAX_CHAR_OBS_94x94): New macro.
4435 (breakup_char_1): Support obsolete XEmacs-UCS private code space
4438 * mule-charset.c (put_byte_from_character_table): Change unit size
4440 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
4442 (Fmake_reverse_direction_charset): Modify dummy argument of
4443 `make_charset' for non-UTF-2000 environment.
4445 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4447 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
4449 * mule-charset.c (destroy_byte_from_character_table): New macro.
4450 (latin_jisx0201_to_ucs): Deleted.
4451 (latin_iso8859_2_to_ucs): Deleted.
4452 (latin_iso8859_3_to_ucs): Deleted.
4453 (latin_iso8859_4_to_ucs): Deleted.
4454 (latin_iso8859_9_to_ucs): Deleted.
4455 (latin_viscii_lower_to_ucs): Deleted.
4456 (latin_viscii_upper_to_ucs): Deleted.
4457 (mark_charset): Mark `cs->decoding_table'.
4458 (Fcharset_mapping_table): Fix DOC-string.
4459 (Fset_charset_mapping_table): New function.
4460 (syms_of_mule_charset): Add nwe function
4461 `set-charset-mapping-table'.
4462 (complex_vars_of_mule_charset): Don't setup and use
4465 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
4467 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
4470 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
4472 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
4473 (Vcharset_katakana_jisx0208): New variable.
4474 (Qhiragana_jisx0208): New variable.
4475 (Qkatakana_jisx0208): New variable.
4476 (make_charset): Add new argument `byte_offset'.
4477 (charset_get_byte1): Modify for new coded-charset definition; use
4478 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4479 `XCHARSET_BYTE_OFFSET'.
4480 (Fmake_charset): Modify for `make_charset'.
4481 (Fmake_reverse_direction_charset): Likewise.
4482 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
4483 `katakana-jisx0208'.
4484 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
4485 `.' in font registry of charset `katakana-jisx0201',
4486 `latin-jisx0201', `vietnamese-viscii-lower' and
4487 `vietnamese-viscii-upper'; modify DOC-string of charset
4488 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
4489 registry of charset `japanese-jisx0208' not to use font for JIS
4490 X0208:1990; add new charset `hiragana-jisx0208' and
4491 `katakana-jisx0208'.
4493 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
4494 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
4495 (struct Lisp_Charset): Add `byte_offset'.
4496 (CHARSET_BYTE_OFFSET): New macro.
4497 (XCHARSET_UCS_MIN): New macro.
4498 (XCHARSET_UCS_MAX): New macro.
4499 (XCHARSET_CODE_OFFSET): New macro.
4500 (XCHARSET_BYTE_OFFSET): New macro.
4501 (MIN_CHAR_HIRAGANA): New macro.
4502 (MAX_CHAR_HIRAGANA): New macro.
4503 (MIN_CHAR_KATAKANA): New macro.
4504 (MAX_CHAR_KATAKANA): New macro.
4505 (MAKE_CHAR): Modify for new coded-charset definition; use
4506 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4507 `XCHARSET_BYTE_OFFSET'.
4509 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4511 * mule-charset.c (CHAR96): Deleted.
4512 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
4514 (latin_iso8859_2_to_ucs): Likewise.
4515 (latin_iso8859_3_to_ucs): Likewise.
4516 (latin_iso8859_4_to_ucs): Likewise.
4517 (latin_iso8859_9_to_ucs): Likewise.
4518 (latin_viscii_lower_to_ucs): Likewise.
4519 (latin_viscii_upper_to_ucs): Likewise.
4520 (latin_tcvn5712_to_ucs): Commented out.
4521 (make_charset): Change type of argument `decoding_table' from
4522 <Emchar*> to <Lisp_Object> [vector of characters].
4523 (Fmake_charset): Modify for `make_charset'.
4524 (Fmake_reverse_direction_charset): Likewise.
4525 (Fcharset_mapping_table): New function in UTF-2000.
4526 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
4528 (complex_vars_of_mule_charset): Modify for type change of
4529 `*_to_ucs'; modify for `make_charset'.
4531 * char-ucs.h (struct Lisp_Charset): Change type of
4532 `decoding_table' from <Emchar*> to <Lisp_Object>.
4533 (MAKE_CHAR): Modify for new specification of `decoding_table'.
4535 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4537 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
4538 error with non-UTF-2000-Mule.
4540 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
4542 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
4544 (Vcharset_chinese_cns11643_4): Likewise.
4545 (Vcharset_chinese_cns11643_5): Likewise.
4546 (Vcharset_chinese_cns11643_6): Likewise.
4547 (Vcharset_chinese_cns11643_7): Likewise.
4548 (Qchinese_cns11643_3): Likewise.
4549 (Qchinese_cns11643_4): Likewise.
4550 (Qchinese_cns11643_5): Likewise.
4551 (Qchinese_cns11643_6): Likewise.
4552 (Qchinese_cns11643_7): Likewise.
4553 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
4554 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4555 and `chinese-cns11643-7' to lisp/mule/chinese.el.
4556 (complex_vars_of_mule_charset): Likewise.
4558 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4560 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
4562 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
4563 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
4565 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4567 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
4569 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
4570 (breakup_char_1): Likewise.
4572 * text-coding.c (char_encode_iso2022): Keep designated charsets if
4573 one of them includes the specified character.
4575 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4577 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
4579 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4581 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
4583 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4585 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
4586 definition for non-UTF-2000 Mule.
4587 (latin_iso8859_3_to_ucs): Likewise.
4588 (latin_iso8859_4_to_ucs): Likewise.
4589 (latin_iso8859_9_to_ucs): Likewise.
4590 (latin_jisx0201_to_ucs): Likewise.
4591 (MIN_CHAR_THAI): Likewise.
4592 (MAX_CHAR_THAI): Likewise.
4593 (MIN_CHAR_GREEK): Likewise.
4594 (MAX_CHAR_GREEK): Likewise.
4595 (MIN_CHAR_HEBREW): Likewise.
4596 (MAX_CHAR_HEBREW): Likewise.
4597 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
4598 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
4599 (MIN_CHAR_CYRILLIC): Likewise.
4600 (MAX_CHAR_CYRILLIC): Likewise.
4602 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4604 * char-ucs.h (breakup_char_1): Use
4605 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
4606 thai-tis620 and katakana-jisx0201 area.
4608 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4610 * char-ucs.h (breakup_char_1): Use
4611 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
4614 * text-coding.c (reset_encoding_stream): Fixed.
4615 (char_encode_ucs4): Delete `& 255'.
4617 * char-ucs.h (breakup_char_1): Use
4618 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
4620 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4622 * file-coding.c (Fmake_coding_system): Don't set up
4623 `codesys->fixed.size'.
4624 (encode_coding_no_conversion): Don't refer
4625 `str->codesys->fixed.size'.
4627 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4629 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
4630 (latin_a_char_to_byte1): Deleted.
4631 (latin_a_char_to_byte2): Deleted.
4633 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4635 * mule-charset.c (make_charset): Add new argument `ucs_min',
4636 `ucs_max' and `code_offset'.
4637 (charset_get_byte1): New implementation [delete specific charset
4638 depended implementations].
4639 (Fmake_charset): Modify for `make_charset'.
4640 (Fmake_reverse_direction_charset): Likewise.
4641 (complex_vars_of_mule_charset): Likewise.
4643 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
4645 (CHARSET_UCS_MIN): New macro.
4646 (CHARSET_UCS_MAX): New macro.
4647 (CHARSET_CODE_OFFSET): New macro.
4648 (MAKE_CHAR): Delete charset depended definitions [except
4651 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4653 * char-ucs.h (breakup_char_1): Use
4654 `Vdefault_coded_charset_priority_list' for C0-Controls,
4655 Basic-Latin, C1-Controls and Latin-1-Supplement area.
4657 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4659 * char-ucs.h (charset_get_byte1): New function.
4660 (XCHARSET_GET_BYTE1): Deleted.
4661 (charset_get_byte2): New function.
4662 (XCHARSET_GET_BYTE2): Deleted.
4663 (Vdefault_coded_charset_priority_list): New external variable.
4664 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
4665 `Vdefault_preferred_coded_charset_list'.
4667 * mule-charset.c (charset_get_byte1): New function.
4668 (charset_get_byte2): New function.
4669 (Vdefault_coded_charset_priority_list): New variable.
4670 (vars_of_mule_charset): Add new variable
4671 `default-coded-charset-priority-list'.
4673 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4675 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
4676 (XCHARSET_GET_BYTE2): New inline function.
4677 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
4678 `XCHARSET_GET_BYTE2'.
4680 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4682 * mule-charset.c (make_charset): Initialize
4683 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
4684 NULL if table is not defined.
4686 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4688 * text-coding.c (char_encode_shift_jis): Use
4689 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
4690 `ucs_to_latin_jisx0201'.
4692 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
4693 (ucs_to_latin_iso8859_2): Deleted.
4694 (ucs_to_latin_iso8859_3): Deleted.
4695 (ucs_to_latin_iso8859_4): Deleted.
4696 (ucs_to_latin_iso8859_9): Deleted.
4697 (ucs_to_latin_viscii_lower): Deleted.
4698 (ucs_to_latin_viscii_upper): Deleted.
4699 (ucs_to_latin_tcvn5712): Deleted.
4700 (make_charset): Add new argument `decoding_table'; set up
4701 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
4702 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
4703 `decoding_table' is defined in UTF-2000.
4704 (Fmake_charset): Modify for `make_charset'.
4705 (Fmake_reverse_direction_charset): Likewise.
4706 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
4707 and `GENERATE_96_SET'.
4709 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
4710 (ucs_to_latin_jisx0201): Deleted.
4711 (latin_iso8859_2_to_ucs): Deleted.
4712 (ucs_to_latin_iso8859_2): Deleted.
4713 (latin_iso8859_3_to_ucs): Deleted.
4714 (ucs_to_latin_iso8859_3): Deleted.
4715 (latin_iso8859_4_to_ucs): Deleted.
4716 (ucs_to_latin_iso8859_4): Deleted.
4717 (latin_iso8859_9_to_ucs): Deleted.
4718 (ucs_to_latin_iso8859_9): Deleted.
4719 (latin_viscii_lower_to_ucs): Deleted.
4720 (ucs_to_latin_viscii_lower): Deleted.
4721 (latin_viscii_upper_to_ucs): Deleted.
4722 (ucs_to_latin_viscii_upper): Deleted.
4723 (struct Lisp_Charset): Renamed `encoding_table' to
4724 `to_byte1_table'; add `to_byte2_table'.
4725 (CHARSET_DECODING_TABLE): New macro.
4726 (CHARSET_TO_BYTE1_TABLE): New macro.
4727 (CHARSET_TO_BYTE2_TABLE): New macro.
4728 (XCHARSET_DECODING_TABLE): New macro.
4729 (XCHARSET_TO_BYTE1_TABLE): New macro.
4730 (XCHARSET_TO_BYTE2_TABLE): New macro.
4731 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
4733 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
4734 don't use `ucs_to_*' tables.
4736 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4738 * text-coding.c (Fmake_coding_system): Don't set up
4739 `codesys->fixed.size'.
4740 (encode_coding_no_conversion): Use `if' instead of `switch'.
4742 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
4744 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4746 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
4747 (Fmake_charset): Modify for `make_charset'.
4748 (Fmake_reverse_direction_charset): Likewise.
4749 (complex_vars_of_mule_charset): Likewise.
4751 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4753 * text-coding.c (char_encode_shift_jis): Use table
4754 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
4756 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4758 * text-coding.c (text_encode_generic): Use `if' instead of
4760 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
4763 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4765 * text-coding.c (encode_coding_sjis): Deleted.
4766 (char_encode_shift_jis): New function.
4767 (char_finish_shift_jis): New function.
4768 (reset_encoding_stream): Set up `encode_char' and `finish' for
4769 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
4770 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
4771 (char_encode_utf8): Treat `eol_type'.
4773 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4775 * file-coding.c (decode_coding_iso2022): Use
4776 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
4778 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4780 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4783 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4785 * char-lb.h (CHAR_COLUMNS): New macro.
4787 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4789 * text-coding.c (char_encode_ucs4): New function.
4790 (char_finish_ucs4): New function.
4791 (encode_coding_ucs4): Deleted.
4792 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
4793 (text_encode_generic): Delete local variable `charset' and `half'.
4794 (ucs_to_mule_table): Deleted.
4795 (mule_to_ucs_table): Deleted.
4796 (Fset_ucs_char): Deleted.
4797 (ucs_to_char): Deleted.
4798 (Fucs_char): Deleted.
4799 (Fset_char_ucs): Deleted.
4800 (Fchar_ucs): Deleted.
4801 (decode_ucs4): Deleted.
4802 (mule_char_to_ucs4): Deleted.
4803 (encode_ucs4): Deleted.
4804 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
4805 (decode_coding_utf8): Likewise.
4806 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
4807 (char_encode_iso2022): Fixed.
4808 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
4809 `Fset_char_ucs' and `Fchar_ucs'.
4810 (complex_vars_of_file_coding): Don't initialize
4811 `ucs_to_mule_table'.
4813 * objects-tty.c (tty_initialize_font_instance): Don't use
4816 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
4819 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
4820 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4822 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
4823 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4824 (emchar_string_displayed_columns): Likewise.
4826 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
4827 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4828 (string_column_at_point): Likewise.
4829 (Fmove_to_column): Likewise.
4831 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
4832 `encoding_table' and `decoding_table'.
4833 (CHARSET_REP_BYTES): Deleted.
4834 (XCHARSET_REP_BYTES): Deleted.
4835 (XCHARSET_COLUMNS): Deleted.
4836 (CHAR_COLUMNS): New macro.
4837 (lookup_composite_char): Deleted unconditionally.
4838 (composite_char_string): Likewise.
4840 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4842 * char-ucs.h (Emchar_to_byte_table): New type.
4843 (get_byte_from_character_table): New function interface.
4844 (Vcharset_latin_jisx0201): New variable.
4845 (latin_jisx0201_to_ucs): New variable.
4846 (ucs_to_latin_jisx0201): New variable.
4847 (Vcharset_latin_iso8859_2): New variable.
4848 (latin_iso8859_2_to_ucs): New variable.
4849 (ucs_to_latin_iso8859_2): New variable.
4850 (Vcharset_latin_iso8859_3): New variable.
4851 (latin_iso8859_3_to_ucs): New variable.
4852 (ucs_to_latin_iso8859_3): New variable.
4853 (Vcharset_latin_iso8859_4): New variable.
4854 (latin_iso8859_4_to_ucs): New variable.
4855 (ucs_to_latin_iso8859_4): New variable.
4856 (Vcharset_latin_iso8859_9): New variable.
4857 (latin_iso8859_9_to_ucs): New variable.
4858 (ucs_to_latin_iso8859_9): New variable.
4859 (Vcharset_latin_viscii_lower): New variable.
4860 (latin_viscii_lower_to_ucs): New variable.
4861 (ucs_to_latin_viscii_lower): New variable.
4862 (Vcharset_latin_viscii_upper): New variable.
4863 (latin_viscii_upper_to_ucs): New variable.
4864 (ucs_to_latin_viscii_upper): New variable.
4865 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
4866 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
4867 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
4868 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
4869 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
4870 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
4871 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
4872 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
4873 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
4874 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
4876 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
4877 (Vcharset_latin_viscii_upper): New variable.
4878 (make_byte_from_character_table): New function.
4879 (put_byte_from_character_table): New function.
4880 (get_byte_from_character_table): New function.
4881 (CHAR96): New macro.
4882 (ucs_to_latin_jisx0201): New variable.
4883 (latin_jisx0201_to_ucs): New variable.
4884 (ucs_to_latin_iso8859_2): New variable.
4885 (latin_iso8859_2_to_ucs): New variable.
4886 (ucs_to_latin_iso8859_3): New variable.
4887 (latin_iso8859_3_to_ucs): New variable.
4888 (ucs_to_latin_iso8859_4): New variable.
4889 (latin_iso8859_4_to_ucs): New variable.
4890 (ucs_to_latin_iso8859_9): New variable.
4891 (latin_iso8859_9_to_ucs): New variable.
4892 (ucs_to_latin_viscii_lower): New variable.
4893 (latin_viscii_lower_to_ucs): New variable.
4894 (ucs_to_latin_viscii_upper): New variable.
4895 (latin_viscii_upper_to_ucs): New variable.
4896 (ucs_to_latin_tcvn5712): New variable.
4897 (latin_tcvn5712_to_ucs): New variable.
4898 (Qlatin_viscii_lower): New variable.
4899 (Qlatin_viscii_upper): New variable.
4900 (syms_of_mule_charset): Set up new symbol
4901 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
4902 (complex_vars_of_mule_charset): Set up new charset
4903 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
4904 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
4905 `ucs_to_<CHARSET>' tables.
4907 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4909 * text-coding.c: New file.
4911 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4913 * mule-charset.c (Fmake_char): Fix problem of 256-set.
4915 * char-ucs.h (Vcharset_ucs_bmp): New variable.
4916 (MAKE_CHAR): Modify for `ucs-bmp'.
4917 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
4918 non-MULE characters of BMP.
4920 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
4922 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4925 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
4928 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
4929 - Include character.h for `CHAR_ASCII_P'.
4931 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
4933 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
4934 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
4936 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
4937 (BYTE_C0_P): Likewise.
4938 (BYTE_C1_P): Likewise.
4939 (Lstream_get_emchar_1): Likewise.
4940 (Lstream_fput_emchar): Likewise.
4941 (Lstream_funget_emchar): Likewise.
4942 (copy_internal_to_external): Likewise.
4943 (copy_external_to_internal): Likewise.
4945 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
4946 (BYTE_C0_P): Likewise.
4947 (BYTE_C1_P): Likewise.
4948 (Lstream_get_emchar_1): Likewise.
4949 (Lstream_fput_emchar): Likewise.
4950 (Lstream_funget_emchar): Likewise.
4951 (copy_internal_to_external): Likewise.
4952 (copy_external_to_internal): Likewise.
4954 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
4955 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4957 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
4958 (BYTE_ASCII_P): Moved to mb-1byte.h.
4960 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
4962 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
4964 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
4965 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
4966 (VALID_CHARPTR_P): Moved to mb-*byte.h.
4967 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4968 (VALIDATE_CHARPTR_FORWARD): Likewise.
4969 (simple_charptr_emchar): Moved to mb-multibyte.h.
4970 (simple_set_charptr_emchar): Likewise.
4971 (simple_charptr_copy_char): Likewise.
4972 (non_ascii_charptr_emchar): Likewise.
4973 (non_ascii_set_charptr_emchar): Likewise.
4974 (non_ascii_charptr_copy_char): Likewise.
4975 (charptr_emchar): Moved to mb-*byte.h.
4976 (set_charptr_emchar): Likewise.
4977 (charptr_copy_char): Likewise.
4979 * mb-1byte.h, mb-multibyte.h: New files.
4981 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4983 * mb-utf-8.h (MULTIBYTE): New macro.
4984 (MAX_EMCHAR_LEN): Moved from buffer.h.
4985 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
4987 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
4989 * mb-lb.h, multibyte.h: New files.
4991 * char-1byte.h (Charset_ID): Moved from buffer.h.
4992 (MIN_LEADING_BYTE): Likewise.
4993 (LEADING_BYTE_ASCII): Likewise.
4994 (NUM_LEADING_BYTES): Likewise.
4995 (CHARSETP): Likewise.
4996 (CHARSET_BY_LEADING_BYTE): Likewise.
4997 (XCHARSET_LEADING_BYTE): Likewise.
4998 (XCHARSET_GRAPHIC): Likewise.
4999 (XCHARSET_COLUMNS): Likewise.
5000 (XCHARSET_DIMENSION): Likewise.
5001 (CHAR_CHARSET): Likewise.
5002 (CHAR_LEADING_BYTE): Likewise.
5003 (BREAKUP_CHAR): Likewise.
5004 (Vcharset_ascii): Likewise.
5006 * buffer.h: Include multibyte.h unconditionally.
5007 (VALID_CHARPTR_P): Moved to multibyte.h.
5008 (ASSERT_VALID_CHARPTR): Likewise.
5009 (REAL_INC_CHARPTR): Likewise.
5010 (REAL_INC_CHARBYTIND): Likewise.
5011 (REAL_DEC_CHARPTR): Likewise.
5012 (INC_CHARPTR): Likewise.
5013 (INC_CHARBYTIND): Likewise.
5014 (DEC_CHARPTR): Likewise.
5015 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5016 (VALIDATE_CHARPTR_FORWARD): Likewise.
5017 (charptr_n_addr): Likewise.
5018 (MAX_EMCHAR_LEN): Moved to mb-*.h.
5019 (simple_charptr_emchar): Moved to multibyte.h.
5020 (simple_set_charptr_emchar): Likewise.
5021 (simple_charptr_copy_char): Likewise.
5022 (non_ascii_charptr_emchar): Likewise.
5023 (non_ascii_set_charptr_emchar): Likewise.
5024 (non_ascii_charptr_copy_char): Likewise.
5025 (charptr_emchar): Likewise.
5026 (set_charptr_emchar): Likewise.
5027 (charptr_copy_char): Likewise.
5028 (charptr_emchar_n): Likewise.
5029 (Charset_ID): Moved to char-1byte.h.
5030 (Vcharset_ascii): Likewise.
5031 (CHAR_CHARSET): Likewise.
5032 (CHAR_LEADING_BYTE): Likewise.
5033 (LEADING_BYTE_ASCII): Likewise.
5034 (NUM_LEADING_BYTES): Likewise.
5035 (MIN_LEADING_BYTE): Likewise.
5036 (CHARSETP): Likewise.
5037 (CHARSET_BY_LEADING_BYTE): Likewise.
5038 (XCHARSET_LEADING_BYTE): Likewise.
5039 (XCHARSET_GRAPHIC): Likewise.
5040 (XCHARSET_COLUMNS): Likewise.
5041 (XCHARSET_DIMENSION): Likewise.
5042 (BREAKUP_CHAR): Likewise.
5044 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5046 * character.h: Add document about interface for characters.
5048 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
5049 (MAKE_CHAR): Delete comment about
5050 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
5051 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
5052 (BREAKUP_CHAR): Modify name of arguments.
5053 (CHAR_CHARSET): Modify name of argument.
5055 * buffer.h: Delete document about Emchar accessors.
5057 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5059 * character.h (CHAR_INTP): Moved from buffer.h
5060 (CHAR_OR_CHAR_INTP): Likewise.
5061 (XCHAR_OR_CHAR_INT): Likewise.
5062 (CHECK_CHAR_COERCE_INT): Likewise.
5064 * buffer.h (CHAR_INTP): Moved to character.h
5065 (CHAR_OR_CHAR_INTP): Likewise.
5066 (XCHAR_OR_CHAR_INT): Likewise.
5067 (CHECK_CHAR_COERCE_INT): Likewise.
5069 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5072 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
5073 - Include char-1byte.h, char-lb.h or char-ucs.h.
5075 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
5077 * buffer.h: Include character unconditionally.
5078 (valid_char_p): Moved to char-*.h.
5079 (non_ascii_valid_char_p): Moved to char-lb.h.
5081 * char-1byte.h, char-lb.h, char-ucs.h: New files.
5083 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5085 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
5086 in UTF-2000 because it is not ported yet and not to use
5087 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
5088 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
5089 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
5091 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
5092 (CHAR_ASCII_P): Moved from character.h.
5094 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
5095 (CHAR_ASCII_P): Likewise.
5096 (CHAR_FIELD1_MASK): Deleted.
5097 (CHAR_FIELD2_MASK): Deleted.
5098 (CHAR_FIELD3_MASK): Deleted.
5099 (MAX_CHAR_BASIC_LATIN): New macro.
5100 (CHAR_FIELD1): Deleted.
5101 (CHAR_FIELD2_INTERNAL): Deleted.
5102 (CHAR_FIELD3_INTERNAL): Deleted.
5103 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
5104 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
5105 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
5106 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
5107 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
5108 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
5109 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
5110 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
5111 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
5112 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
5113 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
5114 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
5115 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
5116 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
5117 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
5118 (MIN_CHAR_COMPOSITION): Deleted.
5119 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
5120 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
5122 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
5124 * buffer.h: Include mb-utf-8.h in UTF-2000.
5126 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
5128 * mb-utf-8.h: New file.
5130 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
5132 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
5135 * mule-charset.h, buffer.h (Charset_ID): New type.
5137 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5139 * mule-canna.c (c2mu): Use `MAKE_CHAR',
5140 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
5141 instead of `MULE_CHAR_PRIVATE_OFFSET',
5142 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
5143 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
5144 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
5146 * character.h (Vcharset_japanese_jisx0212): New variable
5149 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5151 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
5152 (charset_by_attributes): Delete array about direction.
5153 (latin_a_char_to_charset): New variable in UTF-2000.
5154 (latin_a_char_to_byte1): New variable in UTF-2000.
5155 (latin_a_char_to_byte2): New variable in UTF-2000.
5156 (Qucs_bmp): New variable.
5157 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
5159 (next_allocated_2_byte_leading_byte): Likewise.
5160 (non_ascii_set_charptr_emchar): Likewise.
5161 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
5162 `CHARSET_TYPE_256X256' in UTF-2000; modify for
5163 `charset_by_attributes'.
5164 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
5165 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
5166 and `CHARSET_BY_LEADING_BYTE'.
5167 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
5168 `utf-2000-version' to `vars_of_mule_charset'.
5169 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
5170 define `leading-code-private-11' in UTF-2000; move setting of
5171 `utf-2000-version' from `syms_of_mule_charset'.
5172 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
5175 * character.h (Charset_ID): New type.
5176 (LEADING_BYTE_UCS_BMP): New macro.
5177 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
5178 (CHARSET_ID_OFFSET_94): New macro.
5179 (MIN_CHARSET_ID_PRIVATE_94): New macro.
5180 (MAX_CHARSET_ID_PRIVATE_94): New macro.
5181 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
5183 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
5184 (LEADING_BYTE_LATIN_JISX0201): Likewise.
5185 (CHARSET_ID_OFFSET_96): New macro.
5186 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
5187 CHARSET_ID_OFFSET_96 and final-byte.
5188 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
5189 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
5190 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
5191 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
5192 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
5193 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
5194 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
5195 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
5196 (LEADING_BYTE_THAI_TIS620): Likewise.
5197 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
5198 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
5199 (CHARSET_ID_OFFSET_94x94): New macro.
5200 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
5201 CHARSET_ID_OFFSET_94x94 and final-byte.
5202 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
5203 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
5204 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
5205 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
5206 (LEADING_BYTE_CHINESE_GB2312): Likewise.
5207 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
5208 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
5209 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
5210 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
5211 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
5212 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
5213 (CHARSET_TYPE_128X128): New macro.
5214 (CHARSET_TYPE_256X256): New macro.
5215 (XCHARSET_PRIVATE_P): Delete unconditionally.
5216 (charset_by_attributes): Delete array about direction.
5217 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
5218 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
5219 (MIN_CHAR_94): New macro.
5220 (MAX_CHAR_94): New macro.
5221 (MIN_CHAR_96): New macro.
5222 (MAX_CHAR_96): New macro.
5223 (MIN_CHAR_94x94): New macro.
5224 (MAX_CHAR_94x94): New macro.
5225 (MIN_CHAR_96x96): New macro.
5226 (MAX_CHAR_96x96): New macro.
5227 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
5228 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5229 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
5231 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
5232 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
5233 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
5234 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
5235 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
5236 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
5237 `XCHARSET_LEADING_BYTE' to make code-point.
5238 (latin_a_char_to_charset): New variable.
5239 (latin_a_char_to_byte1): New variable.
5240 (latin_a_char_to_byte2): New variable.
5241 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
5242 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
5243 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
5245 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
5246 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
5247 (find_charsets_in_emchar_string): Likewise.
5248 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
5250 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
5252 (decode_coding_iso2022): Likewise.
5254 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
5257 * redisplay.c (redisplay_text_width_emchar_string): Use
5258 `Charset_ID' instead of `unsigned char'.
5259 (redisplay_frame_text_width_string): Likewise.
5261 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
5264 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
5265 instead of `unsigned char'.
5266 (face_cachel_charset_font_metric_info): Likewise.
5268 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
5269 (get_non_ascii_char_table_value): Likewise.
5270 (get_char_table): Likewise.
5271 (put_char_table): Likewise.
5272 (map_over_other_charset): Likewise.
5273 (map_char_table): Likewise.
5275 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
5276 instead of `unsigned char'.
5278 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
5280 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
5281 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
5283 * mule-charset.c (leading_code_private_11): Don't define in
5286 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
5287 in UTF-2000 because it is not ported yet and not to use
5288 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
5290 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
5292 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
5294 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5296 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
5299 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
5300 of unsigned char to store leading-byte.
5302 * chartab.c (get_non_ascii_char_table_value): Don't use
5303 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
5305 * file-coding.c (encode_coding_big5): Delete bogus implementation
5308 * character.h (LEADING_BYTE_*): Delete definition for
5310 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
5311 (LEADING_BYTE_PREFIX_P): Deleted.
5312 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
5313 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
5314 (BUFBYTE_LEADING_BYTE_P): Deleted.
5315 (CHARSET_PRIVATE_P): Deleted unconditionally.
5316 (rep_bytes_by_first_byte): Deleted unconditionally.
5317 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
5318 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
5319 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5320 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
5321 (CHAR_FIELD2): Deleted.
5322 (CHAR_FIELD3): Deleted.
5323 (MAKE_CHAR): Delete definition for non-UTF-2000.
5324 (BREAKUP_CHAR_1_UNSAFE): Deleted.
5325 (breakup_char_1): New implementation.
5326 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
5327 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
5329 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5331 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
5334 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5336 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
5337 (CHARSET_PRIVATE_P): Likewise.
5338 (XCHARSET_PRIVATE_P): Likewise.
5339 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
5341 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
5343 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
5345 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5347 * character.h (LEADING_BYTE_*): Changed in UTF2000.
5348 (NUM_LEADING_BYTES): Changed from 128 to 256.
5349 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5350 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
5352 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5354 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
5356 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
5357 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
5358 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
5359 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
5360 (Qchinese_cns11643_3): New variable in UTF2000.
5361 (Qchinese_cns11643_4): New variable in UTF2000.
5362 (Qchinese_cns11643_5): New variable in UTF2000.
5363 (Qchinese_cns11643_6): New variable in UTF2000.
5364 (Qchinese_cns11643_7): New variable in UTF2000.
5365 (syms_of_mule_charset): Define `chinese-cns11643-3',
5366 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
5367 and `chinese-cns11643-7' in UTF2000.
5368 (vars_of_mule_charset): Initialize
5369 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
5371 (complex_vars_of_mule_charset): Setup charset
5372 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
5373 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
5375 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5377 * mule-charset.c: Move setting for `leading-code-private-11' from
5378 `syms_of_mule_charset' to `vars_of_mule_charset'.
5380 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5382 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
5383 and `NUM_LEADING_BYTES' in assert.
5385 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5387 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
5389 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
5390 `NUM_LEADING_BYTES' instead of 128.
5392 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
5394 * mule-charset.h (charset_by_leading_byte): Use
5395 `NUM_LEADING_BYTES' instead of 128.
5396 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
5398 * mule-charset.c (charset_by_leading_byte): Use
5399 `NUM_LEADING_BYTES' instead of 128.
5400 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
5402 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
5405 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
5407 * mule-charset.c (syms_of_mule_charset): Update to
5410 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
5412 * file-coding.c (encode_coding_sjis): New implementation for
5413 UTF2000. (decode_coding_sjis): Ditto.
5415 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5417 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
5418 Don't define in UTF2000.
5420 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
5423 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5424 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
5427 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5429 * config.h.in (CHAR_IS_UCS4): New macro.
5431 * mule-charset.c (rep_bytes_by_first_byte): Modify for
5432 conventional MULE representation.
5433 (syms_of_mule_charset): Update to 0.3 (Imamiya).
5435 * mule-charset.h: Reverted to original.
5437 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5438 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
5439 "mule-charset.h" if CHAR_IS_UCS4 is defined.
5441 * character.h: New file.
5443 * file-coding.c (Fmake_coding_system): Set 1 to
5444 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
5446 (encode_coding_no_conversion): New implementation for UTF2000.
5448 * file-coding.h (struct Lisp_Coding_System): Add new member
5451 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
5453 * file-coding.c (decode_coding_iso2022): Code-point arguments of
5454 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
5455 (encode_coding_iso2022): New implementation for UTF2000.
5457 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5459 * mule-canna.c (c2mu): New implementation for UTF2000.
5462 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5464 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
5466 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5468 * file-coding.c (reset_encoding_stream): Set 0 to
5469 `str->iso2022.current_char_boundary' in UTF2000.
5470 (encode_utf8): Don't define in UTF2000.
5471 (encode_coding_utf8): New implementation for UTF-8 representation
5473 (complex_vars_of_file_coding): Define coding-system `utf-8'.
5475 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5477 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
5479 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
5481 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5483 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
5485 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
5486 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
5487 as UTF-8 in UTF2000.
5488 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
5489 (non_ascii_valid_char_p): Don't define in UTF2000.
5490 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
5491 (Lstream_get_emchar_1): Likewise.
5492 (utf-2000-version): New variable in UTF2000.
5494 * lread.c (read_escape): Add new reader `u'.
5496 * insdel.c (three_to_one_table): Don't define in UTF2000.
5497 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
5498 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5500 (bytind_to_bufpos_func): Likewise.
5501 (buffer_mule_signal_inserted_region): Likewise.
5502 (vars_of_insdel): Don't initialize `three_to_one_table'.
5503 (init_buffer_text): Use `buf->text->mule_size' instead of
5504 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5507 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
5508 UTF-8 representation in UTF2000.
5509 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
5510 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
5511 (decode_coding_iso2022): Don't define local variable `lb' in
5512 UTF2000; don't use LEADING_BYTE in UTF2000; use
5513 `DECODE_ADD_UCS_CHAR' in UTF2000.
5514 (convert_to_external_format): Decode as UTF-8 in UTF2000.
5516 * config.h.in (UTF2000): New macro.
5518 * buffer.h (struct buffer_text): Add new member `mule_size' and
5519 don't add `mule_shifter' and `mule_three_p' in UTF2000.
5520 (valid_char_p): Return always 1 in UTF2000.
5521 (MAX_EMCHAR_LEN): 6 in UTF2000.
5522 (three_to_one_table): Don't define in UTF2000.
5523 (real_bufpos_to_bytind): Modify for UTF-8 representation in
5525 (real_bytind_to_bufpos): Likewise.
5527 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
5529 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5531 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
5532 representation change.
5533 (Vutf_2000_version): New variable.
5534 (leading_code_private_11): New variable.
5535 (syms_of_mule_charset): Add new variables `utf-2000-version' and
5536 `leading-code-private-11'.
5538 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
5539 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
5540 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
5541 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
5542 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
5543 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
5544 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
5545 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
5546 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
5547 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
5548 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
5549 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
5550 (MIN_CHAR_GREEK): New macro.
5551 (MAX_CHAR_GREEK): New macro.
5552 (MIN_CHAR_CYRILLIC): New macro.
5553 (MAX_CHAR_CYRILLIC): New macro.
5554 (MIN_CHAR_HEBREW): New macro.
5555 (MAX_CHAR_HEBREW): New macro.
5556 (MIN_CHAR_THAI): New macro.
5557 (MAX_CHAR_THAI): New macro.
5558 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
5559 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
5560 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
5561 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
5562 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
5563 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
5564 (CHAR_FIELD2): New inline function.
5565 (CHAR_FIELD3): New inline function.
5566 (MULE_CHAR_PRIVATE_OFFSET): New macro.
5567 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
5568 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
5569 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
5570 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
5571 (MIN_CHAR_COMPOSITION): Likewise.
5572 (CHAR_LEADING_BYTE): Modified for character representation change.
5573 (MAKE_CHAR): Likewise.
5575 * lisp.h (Vcharset_latin_iso8859_1): New variable.
5576 (Vcharset_greek_iso8859_7): Likewise.
5577 (Vcharset_cyrillic_iso8859_5): Likewise.
5578 (Vcharset_hebrew_iso8859_8): Likewise.
5579 (Vcharset_thai_tis620): Likewise.
5580 (Vcharset_katakana_jisx0201): Likewise.
5582 2004-02-02 Vin Shelton <acs@xemacs.org>
5584 * XEmacs 21.4.15 is released
5586 2004-01-30 Glynn Clements <glynn.clements@virgin.net>
5588 * device-x.c (x_error_handler): Don't call stderr_out
5590 2003-11-07 Katsumi Yamaoka <yamaoka@jpl.org>
5592 * buffer.c (other-buffer): Clarify documentation of order of
5593 arguments for FSF Emacs.
5595 2003-10-11 Olivier Galibert <galibert@pobox.com>
5597 * window.c (Fdelete_window): Dirty the mirror structure _before_
5598 marking the window deleted.
5600 2003-09-15 Jerry James <james@xemacs.org>
5602 * event-msw.c (debug_mswin_messages): Conditionally compile
5603 messages missing from the Cygwin headers.
5605 2003-06-16 Stephen J. Turnbull <stephen@xemacs.org>
5607 * data.c (eq_with_ebola_notice): Fix typo in comment.
5608 (Ftrue_list_p): Improve docstring.
5610 2003-10-13 Stephen J. Turnbull <stephen@xemacs.org>
5612 * frame-x.c (x_update_frame_external_traits): Fix XtSetArg idiom.
5614 2003-09-27 Stephen J. Turnbull <stephen@xemacs.org>
5616 * search.c (trivial_regexp_p): Regexps containing "\{" are
5617 nontrivial. Thanks to Manfred Bartz for reporting the bug and
5618 Stefan Monnier for suggesting a diagnosis.
5620 2003-09-25 Stephen J. Turnbull <stephen@xemacs.org>
5622 * elhash.c (make-hash-table): Clarify use of :test #'equal.
5624 2003-09-12 Stephen J. Turnbull <stephen@xemacs.org>
5626 * search.c (Fsearch_forward):
5628 Document negative count.
5630 2003-09-13 Stephen J. Turnbull <stephen@xemacs.org>
5632 * regex.c (re_max_failures): Bump to 20000 for REGEX_MALLOC, too.
5634 2003-09-13 Martin Buchholz <martin@xemacs.org>
5636 * s/sol2.h: Use OS_RELEASE=os_release_major*100+os_release_minor
5638 2003-09-15 Vin Shelton <acs@xemacs.org>
5640 * .gdbinit (pobj): Remove Ilya's fix that was only intended for
5643 2003-09-12 Yoshiki Hayashi <yoshiki@xemacs.org>
5645 * regex.c (TRANSLATE_EXTENDED_UNSAFE): Remove.
5646 (re_search_2): Match the first byte of Bufbyte, not Emchar.
5647 (re_match_2_internal): Use TRANSLATE instead of
5648 TRANSLATE_EXTENDED_UNSAFE. The latter was a hack to bypass
5649 non-ASCII char case conversion.
5651 2003-09-08 Mike Sperber <mike@xemacs.org>
5653 * symbols.c (Fvariable_binding_locus): Add, as per suggestion from
5654 RMS at: http://article.gmane.org/gmane.emacs.pretest.bugs/1010
5656 2003-06-14 Ilya N. Golubev <gin@mo.msk.ru>
5658 * .gdbinit (pobj): fix printing of symbol name.
5660 2003-08-01 Ilya N. Golubev <gin@mo.msk.ru>
5662 * frame-x.c (x_layout_widgets): When resizing is about to cause
5663 frame size slip, mark it for redisplay.
5665 2003-08-18 Jerry James <james@xemacs.org>
5667 * opaque.h: Remove unused (X)OPAQUE_MARKFUN definitions.
5669 2003-09-03 Vin Shelton <acs@xemacs.org>
5671 * XEmacs 21.4.14 is released
5673 2003-08-15 Stephen J. Turnbull <stephen@xemacs.org>
5675 * config.h.in (REGEX_MALLOC): Make it configure'able.
5677 2003-08-14 Andrew Begel <abegel@CS.Berkeley.EDU>
5679 * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic
5681 * sysdll.c (dll_init):
5682 * sysdll.c (dll_open):
5683 * sysdll.c (dll_close):
5684 * sysdll.c (dll_function):
5685 * sysdll.c (dll_variable):
5686 * sysdll.c (dll_error):
5687 Add support for loading bundles using Darwin/MacOSX
5690 2003-08-12 Stephen J. Turnbull <stephen@xemacs.org>
5692 * process.c (start-process-internal): Document coding systems.
5694 2003-07-30 Jerry James <james@xemacs.org>
5696 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
5698 2003-07-31 René Kyllingstad <listmailxemacs@kyllingstad.com>
5700 * event-msw.c (mswindows_enqueue_mouse_button_event):
5701 * event-msw.c (mswindows_wnd_proc):
5702 enqueue button event when scrollwheel event isn't handled by
5703 mswindows_handle_mousewheel_event, such as when the scrollbars
5706 2003-07-29 Stephen J. Turnbull <stephen@xemacs.org>
5708 * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*.
5710 2003-03-24 Stephen J. Turnbull <stephen@xemacs.org>
5712 * database.c (Fopen_database): Don't use DB_AUTO_COMMIT.
5714 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org>
5716 * regex.c (re_match_2_internal): Fix matching degenerate word
5719 2003-05-25 XEmacs Build Bot <builds@cvs.xemacs.org>
5721 * XEmacs 21.4.13 is released
5723 2003-03-20 Stephen J. Turnbull <stephen@xemacs.org>
5725 * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H):
5726 * lisp.h (<inttypes.h>):
5727 Cygwin defines these types in <cygwin/types.h>. Don't duplicate
5730 2003-03-15 Martin Buchholz <martin@xemacs.org>
5732 * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file.
5733 Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs'
5734 Result: "temacs can only be run in -batch mode."
5735 Fix: Check xemacs executable candidate for directory-ness.
5737 2003-03-03 Robert Pluim <rpluim@bigfoot.com>
5739 * database.c: Don't use the u_int8_t etc typedefs on FreeBSD,
5740 they conflict with <sys/types.h>.
5742 2003-02-14 Martin Buchholz <martin@xemacs.org>
5744 * database.c: Berkeley DB wants __STDC__ to be defined.
5746 2003-02-13 Martin Buchholz <martin@xemacs.org>
5748 * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'.
5750 2003-02-01 Martin Buchholz <martin@xemacs.org>
5752 * process-unix.c (unix_send_process): Fix C++ compile error.
5754 2003-02-25 Andrew Begel <abegel@cs.berkeley.edu>
5756 * Added .dylib as an acceptable shared library file extension
5757 * to support MacOSX.
5759 2003-02-01 Martin Buchholz <martin@xemacs.org>
5761 * EmacsFrameP.h (EmacsFramePart):
5762 Kludge to allow compiling with Motif1, but linking with Motif2.
5764 2003-01-28 Martin Buchholz <martin@xemacs.org>
5766 * config.h.in (_ALL_SOURCE): Guard against multiple definition.
5769 2003-02-23 Stephen J. Turnbull <stephen@xemacs.org>
5771 * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin.
5773 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
5775 * sysdll.c: Included lisp.h to define needed alloca_array.
5777 2003-02-13 Martin Buchholz <martin@xemacs.org>
5779 Make XEmacs redisplay 10 times faster.
5780 If, that is, you're using a slow X connection and MoveOpaque.
5781 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
5782 Use compress_motion = TRUE.
5783 * EmacsFrame.c (emacsFrameClassRec):
5784 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
5785 * EmacsManager.c (emacsManagerClassRec):
5786 * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
5788 2003-01-30 Vin Shelton <acs@xemacs.org>
5790 * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux.
5792 2003-01-17 Stephen J. Turnbull <stephen@xemacs.org>
5794 * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef.
5795 Patch by Martin Buchholz.
5797 2003-01-16 Stephen J. Turnbull <stephen@xemacs.org>
5799 * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison.
5800 Thanks to icc for warning and Martin Buchholz for reporting.
5802 2003-01-29 Vin Shelton <acs@xemacs.org>
5804 Patch courtesy of Andrew Begel <abegel@cs.berkeley.edu>
5806 * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so
5807 remember to multiply by the element size.
5809 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
5811 * XEmacs 21.4.12 "Portable Code" is released.
5813 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
5815 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
5816 * s/cygwin.sc: new linker file.
5818 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
5820 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
5822 * redisplay-x.c (x_output_string): Use X11-specified types.
5823 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
5824 * emacs.c (__free_hook): Use typeof with Intel compiler.
5825 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
5827 2003-01-08 Andy Piper <andy@xemacs.org>
5829 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
5830 reserve size during unexec().
5832 2003-01-07 Daiki Ueno <daiki@xemacs.org>
5834 * process-unix.c (unix_create_process): Don't let outchannel block.
5836 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
5838 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
5839 Needed for IsBadReadPtr().
5841 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
5843 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
5845 2002-12-14 Ben Wing <ben@xemacs.org>
5847 * callint.c: Declaration error.
5849 * dumper.c (pdump_load): Warning fix.
5850 * process.c: GCPRO error.
5851 * glyphs.c (unmap_subwindow):
5852 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
5853 * event-stream.c (maybe_kbd_translate): Wrong argument to
5854 character_to_event().
5856 * alloc.c (garbage_collect_1):
5858 * emacs.c (debug_can_access_memory):
5859 * emacs.c (fatal_error_signal):
5860 * emacs.c (mswindows_handle_hardware_exceptions):
5863 * emacs.c (assert_failed):
5864 * emacs.c (syms_of_emacs):
5867 * print.c (std_handle_out_va):
5868 * print.c (write_string_to_stdio_stream):
5869 * print.c (write_fmt_string):
5870 * print.c (printing_badness):
5871 * print.c (printing_major_badness):
5872 * print.c (print_internal):
5873 * print.c (debug_print_no_newline):
5874 * print.c (debug_backtrace):
5875 Be more defensive in handling bad values when printing. Add code
5876 from trunk involving inhibit_non_essential_printing_operations.
5877 When going down or in debug_print(), don't do external conversion
5878 and such and try really, really hard when printing to avoid core
5879 dumping. Add force-debugging-signal, debug_break().
5881 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
5883 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
5884 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
5886 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
5888 * database.c: Fix open_database. Berkeley DB API has changed in
5889 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
5891 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
5893 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
5895 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
5897 * event-Xt.c (Xt_timeout):
5898 (Xt_timeout_callback):
5899 (emacs_Xt_add_timeout):
5900 (emacs_Xt_remove_timeout):
5901 (Xt_timeout_to_emacs_event):
5902 Turn completed_timeouts from a stack into a queue. Fixes
5903 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
5905 2002-11-07 Wolfram Gloger <wg@malloc.de>
5907 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
5908 * emacs.c (main): Assert that mmap'd allocation is disabled.
5910 2002-10-14 Andy Piper <andy@xemacs.org>
5912 * glyphs-widget.c (layout_query_geometry): add in fiddle
5913 factor. Include border text in width layout calculation.
5914 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
5916 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
5918 * XEmacs 21.4.10 "Military Intelligence" is released.
5920 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
5922 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
5923 using the NAS private array SoundFileInfo that no longer exists in
5924 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
5925 and earlier. This is broken for some versions between 1.5a and
5928 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
5930 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
5932 * emacs.c (shut_down_emacs): Improve crash message.
5934 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
5936 * file-coding.c (determine_real_coding_system): Check for coding
5937 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
5938 shebangs and Python PEP 263.
5940 2002-10-08 Andy Piper <andy@xemacs.org>
5942 * glyphs-widget.c (layout_query_geometry): only resize dynamically
5943 if static sizes haven't been set.
5945 2002-08-30 Mike Alexander <mta@arbortext.com>
5947 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
5950 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
5952 * callproc.c (child_setup): 21.4 doesn't have retry_close.
5954 2002-09-20 Mike Sperber <mike@xemacs.org>
5956 (This partially gets back my patch from 2002-07-20 without the
5958 * callproc.c (child_setup): Remove Ben's comment noting confusion
5959 over the file descriptors >= 3: close_process_descs() doesn't
5960 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
5961 * process-unix.c (unix_create_process): Call
5962 begin_dont_check_for_quit to inhibit unwanted interaction (and
5963 thus breaking of X event synchronicity) in the child.
5965 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
5967 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
5970 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
5972 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
5973 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
5974 the xemacs process did not exit, but looped infinitely here. This
5977 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
5979 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
5980 (find_context): Improve comments.
5982 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
5983 (re_match_2): An XCHAR_TABLE operation was missing.
5985 Many of the following changes were inspired by Andy Piper's (now
5986 obsolete) patch to make syntax-table text property lookup optional.
5990 * syntax.h (top level): Document semantics of syntax flags.
5991 * syntax.c (comstr_start, Fforward_comment): Improve comments.
5992 * syntax.c, syntax.h (top level): Document syntax cache better in
5995 [Instrument syntax caching (temporary change)]
5997 * syntax.h (enum syntax_cache_statistics_functions, struct
5998 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
5999 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
6000 * syntax.c (scan_words, Fforward_comment, scan_lists,
6001 Fbackward_prefix_characters):
6002 * font-lock.c (find_context):
6003 Use them to instrument syntax caching.
6004 * syntax.c (struct syntax_cache_statistics, scs_statistics,
6005 syntax_cache_statistics_function_names): New type and variables.
6006 * syntax.c (update_syntax_cache): Update and report statistics.
6008 [Major syntax cache optimizations]
6010 syntax.c (lookup_syntax_properties): Default off.
6012 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
6013 * syntax.c (update_syntax_cache):
6014 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
6016 [Minor syntax cache optimizations and code clarifications]
6018 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
6019 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
6020 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
6021 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
6022 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
6023 (Code clarification.)
6025 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
6026 scan_lists): Compute code from syncode, use Boolean macros instead
6027 of redundant masking operations. (Code clarification; any decent
6028 compiler can do this optimization.)
6030 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
6033 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
6034 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
6035 use F*_single_property_change instead of F*_extent_change.
6036 Currently F*_single_property_change is _much_ less efficient.
6038 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
6039 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
6040 syntax_cache.object properly, don't leave Qt or Qnil.
6041 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
6042 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
6043 tests for Qt or Qnil.
6045 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
6047 * redisplay.c (point_in_line_start_cache):
6048 * extents.c (print_extent_1):
6051 * extents.c (Fset_extent_property): Document `syntax-table' property.
6053 * extents.h (Fnext_single_property_change): EXFUN it.
6055 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
6057 * search.c (clear_unused_search_regs): New static function.
6061 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
6062 Minor clarifications in comments.
6064 * regex.c (re_match_2_internal): Ensure no stale submatches.
6066 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
6068 * event-Xt.c (enqueue_focus_event): Add missing prototype.
6070 2002-08-29 Jerry James <james@xemacs.org>
6072 * lisp.h: structrures -> structures.
6074 2002-06-03 Andy Piper <andy@xemacs.org>
6076 * frame.c (frame_conversion_internal): add conversion appropriate
6077 for setting frame dimensions in pixels.
6079 * console.h (struct console_methods): add device-specific widget
6082 * emacs.c (main_1): initialize glyph vars.
6084 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
6085 (handle_focus_event_2): new function. Allow focus to
6086 be set to a particular window and widget.
6087 (enqueue_focus_event): new function. Create a
6088 synthetic focus event.
6089 (emacs_Xt_handle_magic_event): call
6090 handle_focus_event_2.
6092 * frame.c (Fset_frame_pixel_height): new function. Allow
6093 pixel-based sizing. Does the right thing on character-oriented
6095 (Fset_frame_pixel_width): ditto.
6096 (Fset_frame_pixel_size): ditto.
6097 (syms_of_frame): declare.
6099 * general-slots.h: add :vertically-justify and
6100 :horizontally-justify.
6102 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
6103 (mswindows_widget_border_width): new function.
6104 (mswindows_combo_box_instantiate): set border widths.
6105 (console_type_create_glyphs_mswindows): declare.
6108 (check_valid_justification): allow vertical and horizontal
6110 (widget_border_width): new function. Call device methods.
6111 (widget_instance_border_width): ditto.
6112 (logical_unit_height): new function. Determine the height of a
6113 logical-unit. Logical units are intended to provide grid-like
6114 layout for subcontrols in a layout. If the layout is
6115 :vertically-justify top then subcontrols will be positioned on
6116 logical-unit boundaries, thus allowing adjacent subcontrols to
6118 (widget_logical_unit_height): ditto for widgets.
6119 (redisplay_widget): misc cleanup.
6120 (widget_spacing): new function. Call device specific
6121 methods. Intended to be the default gap between adjacent widgets.
6122 (widget_query_geometry): use new spacing functions to determine
6123 appropriate geometry.
6124 (initialize_widget_image_instance): initialize horizontal and
6125 vertical justification.
6126 (widget_instantiate): use logica-units where appropriate for
6127 sizing large widgets.
6128 (button_query_geometry): use widget_instance_border_width.
6129 (tree_view_query_geometry): ditto.
6130 (tab_control_query_geometry): ditto.
6131 (edit_field_query_geometry): new function.
6132 (layout_update): pick up :justify, :horizontally-justify and
6133 :vertically-justify none of which worked previously. :justify is
6134 used as a fallback for both horizontal and vertical justification.
6135 (layout_query_geometry): use logical units to size appropriately.
6136 (layout_layout): ditto.
6137 (Fwidget_logical_to_character_width): new function. Allow users to
6138 convert from logical units to characters so that frame sizes can
6139 be set appropriately.
6140 (Fwidget_logical_to_character_height): ditto.
6141 (syms_of_glyphs_widget): declare.
6142 (image_instantiator_edit_fields): add edit_field_query_geometry.
6143 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
6144 :horizontally-justify.
6145 (specifier_vars_of_glyphs_widget): new function. Declare
6146 Vwidget_border_width which is not yet used.
6148 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
6149 (x_widget_border_width): new function.
6150 (x_widget_instantiate): create a sensible name for widgets.
6151 (console_type_create_glyphs_x): declare x_widget_border_width.
6153 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
6154 (struct Lisp_Image_Instance): add :vertically-justify and
6155 :horizontally-justify.
6156 (LAYOUT_JUSTIFY_TOP): new.
6157 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
6158 (ROUND_UP): new macro. Round argument up to next integral
6161 * redisplay-output.c (redisplay_output_layout): misc formatting.
6163 * symsinit.h: declare specifier_vars_of_glyphs_widget.
6165 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
6167 * XEmacs 21.4.9 "Informed Management" is released.
6169 2002-08-19 Andy Piper <andy@xemacs.org>
6171 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
6174 * realpath.c (xrealpath): normalize drive spec also so that dir
6175 sep chars are not mixed on cygwin.
6177 2002-08-06 Jerry James <james@xemacs.org>
6179 * window.c (Fsplit_window): Count only half of the divider width
6180 against the left window when splitting horizontally.
6182 2002-06-24 Andy Piper <andy@xemacs.org>
6184 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
6185 toolbar was cleared.
6187 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
6188 function. Split out from mswindows_output_frame_toolbars.
6189 (mswindows_output_frame_toolbars): move clear pieces to
6190 mswindows_output_frame_toolbars.
6192 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
6193 out from gtk_output_frame_toolbars.
6194 (gtk_output_frame_toolbars): move clear pieces to
6195 gtk_clear_frame_toolbars.
6197 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
6198 the frame is cleared. How this ever worked before is a mystery.
6199 (x_output_frame_toolbars): Only output toolbars.
6200 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
6202 * gutter.c (update_gutter_geometry):
6203 Mark frame layout changed.
6204 (update_frame_gutter_geometry, update_frame_gutters):
6205 Respect frame_layout_changed.
6207 * console.h (struct console_methods): add
6208 clear_frame_toolbars_method.
6210 * redisplay.c (redisplay_frame): call
6211 update_frame_toolbars_geometry and re-order update_frame_toolbars.
6213 * toolbar.h: declare update_frame_toolbars_geometry.
6215 * toolbar.c (update_frame_toolbars_geometry): new function. Split
6216 out from update_frame_toolbars. Call clear_frame_toolbars.
6217 (update_frame_toolbars): only output, do not change geometry.
6219 * redisplay.c: add frame_layout_changed.
6221 * redisplay.h: add frame_layout_changed.
6222 (CLASS_RESET_CHANGED_FLAGS): set it.
6223 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
6224 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
6225 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
6227 * device.h (struct device): add frame_layout_changed.
6228 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
6230 * frame.h (struct frame): add frame_layout_changed.
6231 (MARK_FRAME_LAYOUT_CHANGED): new.
6233 2002-06-30 Mike Alexander <mta@arbortext.com>
6235 * event-msw.c (mswindows_need_event): Don't wait for a new message
6236 if the queue is not empty. Suggested by Paul Moore.
6238 2002-06-12 Andy Piper <andy@xemacs.org>
6240 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
6241 for printing on accurately.
6243 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
6245 * event-msw.c (mswindows_wnd_proc): Add a handler for the
6246 WM_ACTIVATE message. Make sure that the frame is visible if the
6247 window is visible. This seemss to fix the problem where XEmacs
6248 appears to freeze after switching desktops with certain virtual
6250 (debug_output_mswin_message): Added code to output message
6251 parameters for WM_WINDOWPOSCHANGED,
6252 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
6254 2002-05-25 Andy Piper <andy@xemacs.org>
6256 * select-x.c (vars_of_select_x): Fix docstring of
6257 x-selection-strict-motif-ownership
6259 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6261 * keymap.c (get_keymap):
6262 Add comment about do_autoload GCPROs own args.
6264 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6266 * bytecode.c (execute_optimized_program): check_opcode ifdef
6267 ERROR_CHECK_BYTE_CODE.
6269 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6271 Thanks to Ben Wing and Michael Sperber.
6273 * eval.c (Fcommand_execute):
6276 (Fmacroexpand_internal):
6277 (function_argcount):
6278 callint.c (Fcall_interactively):
6279 Add comment about do_autoload GCPROs own args.
6281 * (do_autoload): GCPRO both args as well as local Lisp_Object.
6283 * eval.c (Ffuncall): Extra braces to placate GCC.
6285 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
6287 * backtrace.h (grow_specpdl):
6289 * EmacsFrame.c (EmacsFrameSetValues):
6290 * eval.c (grow_specpdl):
6291 * ExternalShell.c (hack_event_masks_1):
6292 * glyphs-x.c (convert_EImage_to_XImage):
6293 (x_finalize_image_instance):
6294 * ralloc.c (page_size):
6296 * xgccache.c (gc_cache_hash):
6297 Fix unsigned comparison warnings.
6299 2002-07-29 Jerry James <james@xemacs.org>
6301 * lread.c (locate_file): Any nonnegative return value indicates
6302 success if MODE is nonnegative.
6304 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
6306 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
6309 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
6311 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
6313 * dumper.c (pdump_get_indirect_count):
6314 (pdump_scan_by_alignment):
6315 (pdump_dump_root_struct_ptrs):
6316 (pdump_dump_rtables):
6317 (pdump_dump_root_objects):
6319 * nas.c (WaveOpenDataForReading):
6320 * fns.c (print_bit_vector):
6321 * font-lock.c (SINGLE_SYNTAX_STYLE):
6322 * glyphs.c (check_for_ignored_expose):
6323 (find_matching_subwindow):
6325 * imgproc.c (get_histogram):
6326 * redisplay.c (point_in_line_start_cache):
6327 * redisplay-output.c (redisplay_unmap_subwindows):
6328 * symbols.c (defsymbol_massage_name_1):
6329 (defkeyword_massage_name):
6330 (deferror_massage_name_and_message):
6331 * redisplay-x.c (x_output_string):
6332 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
6333 * frame.h (struct frame):
6334 * filelock.c (current_lock_owner):
6335 * doprnt.c (emacs_doprnt_1):
6336 * lisp.h (struct Lisp_Bit_Vector):
6340 2002-02-13 Ben Wing <ben@xemacs.org>
6342 * event-stream.c (reset_key_echo):
6343 * event-stream.c (reset_this_command_keys):
6344 * event-stream.c (execute_command_event):
6345 If console is dead as a result of C-x 5 0, then post-command stuff
6346 needs to be careful and do only non-console-specific stuff.
6348 2002-07-01 Mike Sperber <mike@xemacs.org>
6350 * process-unix.c (unix_send_process): Mark coding_outstream as
6351 non-open upon SIGPIPE.
6353 * event-stream.c (Fnext_event): Reorder switch cases to something
6356 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
6358 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
6359 Don't bogusly reinitialize ascii_character property.
6361 2002-07-08 Mike Sperber <mike@xemacs.org>
6363 * process.c (Fstart_process_internal): Do error checking before we
6364 fork off the child, so the child can't muck with the state of the
6367 2002-07-08 Mike Sperber <mike@xemacs.org>
6369 * ralloc.c (init_ralloc): Allocate properly for pdump.
6371 2002-06-12 Andy Piper <andy@xemacs.org>
6373 * glyphs.c (query_string_geometry): check the string.
6375 * glyphs-widget.c (widget_logical_unit_height): cope with nil
6378 2002-06-17 Jerry James <james@xemacs.org>
6380 * sysdll.c: Remove RTLD_GLOBAL initialization.
6381 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
6383 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
6385 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
6387 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
6389 * sysdep.c (sys_rename): Make sys_rename work for the case where
6390 Windows rename sets errno to EACCES if target file exists.
6392 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
6394 * device-msw.c (mswindows_handle_page_setup_dialog_box):
6395 Fix detection of metric units to work on Win95
6397 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
6399 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
6401 2002-04-25 Andy Piper <andy@xemacs.org>
6403 * redisplay.c (create_text_block): Remove extra comment trailer.
6405 2002-04-24 Andy Piper <andy@xemacs.org>
6407 * redisplay.c (create_text_block): Don't actually add propagation
6408 data if the line ends after we have added a glyph.
6410 2002-04-22 Andy Piper <andy@xemacs.org>
6412 * extents.c (extent_fragment_update): check for glyphs we have
6413 previously displayed.
6414 * extents.c (print_extent_1): warning removal.
6415 * extents.h: change prototype.
6416 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
6417 widths correctly for wide glyphs.
6418 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
6419 * redisplay.c (prop_type): add PROP_GLYPH.
6420 * redisplay.c (struct prop_block): add glyph type
6421 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
6422 to the propagation data.
6423 * redisplay.c (create_text_block): if there is a glyph in the
6424 propagation data use it to salt extent_fragment_update.
6425 * redisplay.c (create_string_text_block): ditto.
6427 2002-04-13 Nix <nix@esperi.demon.co.uk>
6429 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
6430 * redisplay-output.c (compare_runes): Compare them.
6431 * redisplay.c: Update copyright date.
6432 * redisplay.c (pos_data): Add need_baseline_computation field.
6433 * redisplay.c (add_glyph_rune): Update ascent, descent, and
6434 need_baseline_computation; zero yoffset. Set max_pixmap_height
6435 for all pixmaps, not just automatically positioned ones.
6436 * redisplay.c (calculate_yoffset): New, compute yoffset values.
6437 * redisplay.c (calculate_baseline): New, compute textual baseline.
6438 * redisplay.c (add_glyph_rune): Call them.
6439 * redisplay.c (create_text_block): Likewise.
6440 * redisplay.c (create_overlay_glyph_block): Likewise.
6441 * redisplay.c (add_margin_runes): Likewise.
6442 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
6444 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
6445 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
6446 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
6447 * redisplay-msw.c (mswindows_output_string): Likewise.
6448 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
6449 * redisplay-gtk.c (gtk_output_display_block): Likewise.
6450 * redisplay-x.c (x_output_display_block): Likewise.
6452 2002-03-28 Ben Wing <ben@xemacs.org>
6454 * redisplay.c: Fixed bug in redisplay
6455 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
6456 and down of the lines, since they're bigger than the line
6457 size. (It was seen most obviously when there's a horizontal scroll
6458 bar, e.g. do C-h a glyph or something like that.) The problem was
6459 that the glyph-contrib-p setting on glyphs was ignored even if it
6460 was set properly, which it wasn't until now.
6462 2002-04-24 Andy Piper <andy@xemacs.org>
6464 * lisp.h (Dynarr_end): Fix definition.
6466 2002-02-06 Adrian Aichner <adrian@xemacs.org>
6468 * redisplay.c (mark_redisplay): Remove call to
6469 update_frame_window_mirror.
6471 2001-11-15 Andy Piper <andy@xemacs.org>
6473 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
6476 2002-02-13 Andy Piper <andy@xemacs.org>
6478 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
6479 we did in fact enqueue the XM_MAPFRAME event.
6481 2002-01-15 Adrian Aichner <adrian@xemacs.org>
6483 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
6484 to fix problem switching between virtual desktops under virtuawin
6485 virtual window manager.
6487 2001-07-30 Adrian Aichner <adrian@xemacs.org>
6489 * event-msw.c: Typo fix.
6490 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
6491 magic XM_MAPFRAME event has been sent.
6493 2001-11-23 Andy Piper <andy@xemacs.org>
6495 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
6497 2001-11-21 Andy Piper <andy@xemacs.org>
6499 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
6500 mouse events outside the frame.
6502 2002-03-20 Andy Piper <andy@xemacs.org>
6504 * menubar-msw.c (mswindows_popup_menu): warning removal.
6505 * dialog-msw.c (dialog_popped_down): ditto.
6507 2001-12-11 Andy Piper <andy@xemacs.org>
6509 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
6510 * dialog-msw.c (mswindows_make_dialog_box_internal): set
6512 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
6513 * menubar-msw.c (mswindows_handle_wm_command): ditto.
6514 * menubar-msw.c (mswindows_popup_menu): ditto.
6516 2001-10-29 Andy Piper <andy@xemacs.org>
6518 * dialog-msw.c (handle_directory_dialog_box): quit if the user
6521 2002-01-03 Andy Piper <andy@xemacs.org>
6523 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
6527 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
6529 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
6530 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
6531 * device-msw.c (mswindows_handle_page_setup_dialog_box):
6532 Detect and handle case where machine is set up for metric units
6534 2002-04-02 Andy Piper <andy@xemacs.org>
6536 * dired-msw.c (mswindows_get_files):
6537 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
6538 completely handled by XEmacs. Suggested by Thomas Vogler
6539 <mail@thomas-vogler.de>.
6541 2001-11-14 Andy Piper <andy@xemacs.org>
6543 * nt.c (REG_ROOT): change registry key to XEmacs.
6545 2002-04-27 Andy Piper <andy@xemacs.org>
6547 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
6549 2002-04-26 Andy Piper <andy@xemacs.org>
6551 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
6554 2002-03-14 Mike Alexander <mta@arbortext.com>
6556 * event-msw.c (mswindows_unwait_process): New, remove process from
6558 * process-nt.c (nt_finalize_process_data): Call
6559 mswindows_unwait_process
6560 * console-msw.h: Declare mswindows_unwait_process
6562 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
6564 * editfns.c (Fdecode_time):
6565 (Fformat_time_string):
6566 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
6567 (make_time): Warning elimination (change arg name).
6569 2001-11-24 Andy Piper <andy@xemacs.org>
6571 * window.c (Fsplit_window): Doc return type.
6573 2002-04-01 Andy Piper <andy@xemacs.org>
6575 * emacs.c (Fkill_emacs): Only output message box in interactive
6578 2002-04-26 Andy Piper <andy@xemacs.org>
6580 * config.h.in: pull in 21.5.x change to stop alloca warnings under
6583 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
6585 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
6588 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
6590 * XEmacs 21.4.8 "Honest Recruiter" is released.
6592 2002-05-07 Nix <nix@esperi.demon.co.uk>
6594 Supersedes 2002-04-17 patch.
6596 * process.h (PROCESS_LIVE_P): Use the process status as
6597 evidence of health, not the state of the input stream.
6598 (PROCESS_READABLE_P): Say if the process is readable
6599 from. (It may be dead nonetheless.)
6600 (CHECK_READABLE_PROCESS): Test for that condition.
6602 * process.c (create_process): Use PROCESS_READABLE_P.
6603 (read_process_output, set_process_filter): Likewise.
6605 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
6606 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
6608 This code is #if 0'd, this is not the time to add new functions:
6610 * process.c (Fprocess_readable_p): Report readability status.
6611 * process.c (Qprocess_readable_p): New, associated symbol...
6612 * process.c (syms_of_process): ... initialize it.
6614 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
6616 * XEmacs 21.4.7 "Economic Science" is released.
6618 2002-04-17 Nix <nix@esperi.demon.co.uk>
6620 * process.h (PROCESS_LIVE_P): Use the process status as
6621 evidence of health, not the state of the input stream.
6623 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
6625 * sysdep.c (sys_siglist): change "signum" to "signal"
6627 2001-04-21 Martin Buchholz <martin@xemacs.org>
6629 * s/darwin.h: New file.
6630 Thanks to Greg Parker <gparker@cs.stanford.edu>.
6632 2002-04-23 Andreas Jaeger <aj@suse.de>
6634 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
6635 which use lib64 for 64-bit libs.
6636 (START_FILES): Likewise.
6638 2002-02-11 Mike Sperber <mike@xemacs.org>
6641 (x_IO_error_handler):
6642 (x_init_device): Temporarily keep device in static variable
6643 `device_being_initialized' so we can recover gracefully from
6644 internal XOpenDevice failure. (XOpenDevice is documented to
6645 return NULL on failure, but sometimes calls the IO error handler
6648 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
6650 * dired.c (Ffile_name_all_completions): Change documentation --
6651 remove reference to completion-ignored-extensions.
6652 * dired.c (vars_of_dired): Change documentation for
6653 completion-ignored-extensions -- remove reference to
6654 file-name-all-completions.
6656 2002-03-06 Jerry James <james@xemacs.org>
6658 * emodules.c (emodules_load): Fix multiple loading of same module.
6660 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
6661 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
6662 RTLD_LAZY to avoid incorrect symbol binding when using nested
6663 shared libraries on Solaris.
6665 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
6667 * fileio.c (Ffind_file_name_handler): Improve docstring.
6669 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
6671 * fns.c (Fmapconcat): Improve docstring.
6673 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
6675 * device-gtk.c: Add prototype for
6676 emacs_gtk_selection_clear_event_handle.
6677 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
6678 selection. Setup signal handler for "selection_clear_event"
6679 (emacs_gtk_selection_clear_event_handle).
6681 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
6682 other applications owning the clipboard (based on
6683 x_handle_selection_clear).
6685 2001-12-23 William M. Perry <wmperry@gnu.org>
6687 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
6689 2002-01-04 Martin Buchholz <martin@xemacs.org>
6691 * keymap.c (define_key_alternate_name): Parenthesize EQ.
6693 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
6695 * XEmacs 21.4.6 "Common Lisp" is released.
6697 2001-12-16 Torsten Duwe <duwe@caldera.de>
6699 * search.c (Freplace_match): Add missing sub-expression functionality.
6701 * buffer.c (decode_buffer): Add a check for pointer type to
6702 decode_buffer, before gcc's CSE optimization reorders a
6703 dereference in front of the allow_string test.
6705 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
6707 * window.c (window_loop): Fix bug that sometimes prevented
6708 window_loop() from iterating across multiple devices. Also, at
6709 Ben's request, changed infloop-detecting code to abort() instead
6710 of silently terminating window_loop().
6712 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
6714 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
6715 * editfns.c (make_time): New function.
6716 (Fencode_time): Use it instead of wasteful_word_to_lisp.
6717 * lisp.h (make_time): Prototype and comment it.
6718 * dired.c (wasteful_word_to_lisp): Deprecate.
6719 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
6721 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
6723 * fileio.c (auto_save_1): Use current coding system, not
6726 2001-11-13 Ben Wing <ben@xemacs.org>
6729 * window.c (window_truncation_on):
6730 * window.c (syms_of_window):
6731 truncate-partial-width-windows should respect the buffer being
6732 displayed, like other redisplay vars.
6734 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
6736 * event-stream.c (Fread_key_sequence): save current buffer.
6738 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
6740 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
6742 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
6744 * alloc.c (lcrecord_stats): Add space for types defined in modules.
6746 2001-10-26 Mike Alexander <mta@arbortext.com>
6748 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
6750 2001-10-25 Andy Piper <andy@xemacs.org>
6753 * dialog-msw.c (handle_directory_proc): new function.
6754 (handle_directory_dialog_box): new fucntion.
6755 (handle_file_dialog_box): use new directory dialog support.
6756 (mswindows_make_dialog_box_internal): ditto.
6757 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
6759 (mswindows_find_frame): make global.
6760 * fileio.c (Fexpand_file_name): build fix.
6761 * general-slots.h: add Qdirectory.
6762 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
6764 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
6765 cygwin not leaving win32 paths unchanged.
6766 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
6767 cygwin runtime to do path conversion.
6768 (Fmswindows_shell_execute): fix cygwin handling of URLs.
6769 (syms_of_win32): add new function.
6770 * window.c (window_loop): build fix.
6772 2001-10-15 Andy Piper <andy@xemacs.org>
6774 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
6776 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
6778 * XEmacs 21.4.5 "Civil Service" is released.
6780 2001-04-08 Danny Colascione <qtmstr@optonline.net>
6782 * glyphs-x.c: Force buffer-tab highlight update when moving the
6783 buffer, avoiding an ugly black border, used for keyboard focus
6784 indication, on a widget that can never have keyboard focus, the
6787 2001-08-30 Daiki Ueno <ueno@unixuser.org>
6789 * process-unix.c (unix_open_multicast_group): Remove too much
6790 conversion between host and network byte order.
6792 2001-09-10 Nix <nix@esperi.demon.co.uk>
6794 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
6795 before replacing them.
6797 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
6800 * src/window.c (undedicate_windows): Use it.
6801 * src/window.h: Add prototype.
6803 2001-09-17 Ben Wing <ben@xemacs.org>
6805 * fileio.c (normalize_filename):
6806 * fileio.c (Fexpand_file_name):
6807 Fix various C++ compile errors in Andy's recent code.
6809 * callint.c (Fcall_interactively):
6810 * editfns.c (Ftemp_directory):
6811 * editfns.c (Fuser_full_name):
6812 * emacs.c (argmatch):
6813 * lread.c (locate_file_map_suffixes):
6814 * redisplay-x.c (x_ring_bell):
6815 Fix sign-compare warnings.
6817 2001-09-08 Andy Piper <andy@xemacs.org>
6819 * fileio.c (normalize_filename): copied from nt.c
6820 * (Ffile_name_directory): enable win32 paths under cygwin.
6821 * (Ffile_name_nondirectory): ditto.
6822 * (directory_file_name): ditto.
6823 * (Fexpand_file_name): ditto.
6824 * (Ffile_truename): ditto.
6825 * (Fsubstitute_in_file_name): ditto.
6826 * (Ffile_name_absolute_p): ditto.
6827 * (Ffile_readable_p): ditto.
6829 2001-09-08 Andy Piper <andy@xemacs.org>
6831 * device-msw.c (mswindows_finish_init_device): remove dde
6833 * device-msw.c (mswindows_init_dde): factor out from
6834 mswindows_finish_init_device()
6835 * device-msw.c (init_mswindows_very_early): new function
6836 initialize but don't enable dde.
6837 * emacs.c (main_1): call init_mswindows_very_early.
6839 * event-msw.c (mswindows_dde_callback): only execute when we are
6841 * symsinit.h: declare init_mswindows_very_early.
6843 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6845 [sjt: This has been in 21.5 for months with no complaints.]
6847 * console.h (struct console_methods): Added flags member.
6848 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
6849 (CONMETH_IMPL_FLAG):
6850 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
6851 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
6853 * device.c (window_system_pixelated_geometry): Use the above macros.
6855 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
6856 implememntation flag.
6857 * device.h (DEVICE_DISPLAY_P): Use it.
6859 * frame.c (delete_frame_internal): Use the above macro.
6861 * redisplay.c (redisplay_device): Use it.
6862 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
6863 (redisplay_frame): Ditto.
6865 * device-msw.c (mswindows_device_implementation_flags): Removed.
6866 (msprinter_device_implementation_flags): Removed.
6867 (console_type_create_device_mswindows): Removed references to
6868 implementation_flags methods, set implementation flags here.
6869 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
6871 * device-gtk.c (gtk_device_implementation_flags): Removed method.
6872 (console_type_create_device_gtk): Removed method declaration.
6873 Added commented out statement which semantically matches the
6874 commented out statement in the above removed method.
6876 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
6878 The attached patch fixes a few warnings.
6880 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
6881 * src/frame-gtk.c: guard against GNOME calls in GTK only
6882 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
6883 * src/select-gtk.c: prototype lisp_to_time
6885 2001-06-08 Ben Wing <ben@xemacs.org>
6887 ------ gc-in-window-procedure fixes ------
6890 * alloc.c (struct post_gc_action):
6891 * alloc.c (register_post_gc_action):
6892 * alloc.c (run_post_gc_actions):
6893 * alloc.c (garbage_collect_1):
6894 Create "post-gc actions", to avoid those dreaded "GC during window
6895 procedure" problems.
6898 Abort, clean and simple, when GC in window procedure. We want
6899 to flush these puppies out.
6902 * glyphs-msw.c (finalize_destroy_window):
6903 * glyphs-msw.c (mswindows_finalize_image_instance):
6904 Use a post-gc action when destroying subwindows.
6907 Declare register_post_gc_action().
6910 * scrollbar-msw.c (unshow_that_mofo):
6911 Use a post-gc action when unshowing scrollbar windows, if in gc.
6913 * redisplay.c (mark_redisplay):
6914 Add comment about the utter evilness of what's going down here.
6916 ------ cygwin setitimer fixes ------
6918 * Makefile.in.in (sheap_objs):
6919 * Makefile.in.in (profile_objs):
6920 * Makefile.in.in (objs):
6921 Compile profile.c only when HAVE_SETITIMER.
6923 * nt.c (mswindows_sigset):
6924 * nt.c (mswindows_sighold):
6925 * nt.c (mswindows_sigrelse):
6926 * nt.c (mswindows_sigpause):
6927 * nt.c (mswindows_raise):
6928 * nt.c (close_file_data):
6932 Move setitimer() emulation to win32.c, because Cygwin needs it too.
6935 * profile.c (Fstart_profiling):
6936 * profile.c (Fstop_profiling):
6937 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
6938 instead of just plain setitimer().
6941 * signal.c (set_one_shot_timer):
6943 Define qxe_setitimer() as an encapsulation around setitimer() --
6944 call setitimer() directly unless Cygwin or MS Win, in which case
6945 we use our simulated version in win32.c.
6948 * systime.h (struct itimerval):
6949 * systime.h (ITIMER_REAL):
6950 Prototype mswindows_setitimer() and qxe_setitimer(). Long
6951 comment about "qxe" and the policy regarding encapsulation.
6954 * win32.c (setitimer_helper_proc):
6955 * win32.c (setitimer_helper_period):
6956 * win32.c (setitimer_helper):
6957 * win32.c (mswindows_setitimer):
6958 Move setitimer() emulation here, so Cygwin can use it.
6959 Rename a couple of functions and variables to be longer and more
6960 descriptive. In setitimer_helper_proc(), send the signal
6961 using either mswindows_raise() or (on Cygwin) kill(). If for
6962 some reason we are still getting lockups, we'll change the kill()
6963 to directly invoke the signal handlers.
6965 ------ windows shell fixes ------
6969 Comments about how these two files must die.
6971 * callproc.c (init_callproc):
6972 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
6973 not just COMSPEC. (more correct and closer to FSF.) Don't
6974 force a value for SHELL into the environment. (Comments added
6975 to explain why not.)
6977 * nt.c (init_user_info):
6978 Don't shove a fabricated SHELL into the environment. See above.
6980 2001-06-01 Ben Wing <ben@xemacs.org>
6982 * Makefile.in.in (ldflags):
6983 eliminate that pesky "defaulting to 00401000" warning.
6987 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
6989 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
6990 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
6992 2001-04-24 Jerry James <james@xemacs.org>
6994 * faces.h: pass parameters to Fadd_spec_to_specifier in the
6997 2001-06-01 Ben Wing <ben@xemacs.org>
6999 * event-msw.c (debug_mswin_messages):
7000 conditionalize the messages that were causing compile errors.
7001 (if only macros could generate #ifdef statements ...)
7003 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
7005 * XEmacs 21.4.4 "Artificial Intelligence" is released.
7007 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
7009 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
7011 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
7013 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
7014 * process-unix.c (unix_canonicalize_host_name):
7015 sysdep.c (init_system_name):
7016 Use it to conditionally support IPv6 canonicalization.
7018 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
7021 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
7023 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
7025 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
7026 attempt is made to scroll when no scroll bar is available.
7028 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
7030 * input-method-motif.c (XIM_delete_frame): New callback.
7031 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
7032 got deleted from 21.4.3.)
7034 2001-06-01 Ben Wing <ben@xemacs.org>
7036 * nt.c (mswindows_utime):
7037 * nt.c (close_file_data):
7038 fix off-by-one-indirection error.
7040 2001-05-29 Adrian Aichner <adrian@xemacs.org>
7042 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
7043 because set_file_times() now takes Lisp_Object path, instead of
7045 * nt.c: Include buffer.h.
7046 * nt.c (convert_from_time_t): New.
7047 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
7048 not set mtime correctly.
7049 * nt.h: Declare mswindows_utime().
7050 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
7051 path, instead of char*.
7052 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
7054 2001-05-30 Ben Wing <ben@xemacs.org>
7058 (Stephen, just take all event-msw.c patches. This includes
7059 the "iconify" fix below.)
7062 * event-msw.c (mswindows_dequeue_dispatch_event):
7063 * event-msw.c (assert):
7064 * event-msw.c (emacs_mswindows_quit_p):
7065 * event-msw.c (debug_mswin_messages):
7066 * event-msw.c (debug_output_mswin_message):
7067 * event-msw.c (vars_of_event_mswindows):
7068 Fix yet more problems with C-g handling.
7069 Implement debug-mswindows-events.
7071 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7073 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
7075 2001-05-23 Ben Wing <ben@xemacs.org>
7077 * event-msw.c (winsock_writer):
7078 * event-msw.c (winsock_closer):
7079 prior kludgy code was clobbering the buffer, thinking it was
7080 "unused" space to store an unneeded return value; instead, use
7081 the variable we've already got staring us in the face.
7083 2001-05-17 Andy Piper <andy@xemacs.org>
7085 * sysfile.h: don't assume that file attributes are boolean
7087 2001-05-23 Ben Wing <ben@xemacs.org>
7089 * device-msw.c (msprinter_init_device):
7090 signal an error rather than crash with an unavailable network
7091 printer (from Mike Alexander).
7094 * event-msw.c (struct winsock_stream):
7095 * event-msw.c (winsock_writer):
7096 * event-msw.c (winsock_closer):
7097 * event-msw.c (make_winsock_stream_1):
7098 cleanup headers. fix (hopefully) an error with data corruption
7099 when sending to a network connection.
7101 * fileio.c (Fexpand_file_name): Fix evil code that attempts
7102 to handle the ~user prefix by (a) always assuming we're referencing
7103 ourselves and not even verifying the user -- hence any file with
7104 a tilde as its first char is invalid! (b) if there wasn't a slash
7105 following the filename, the pointer was set *past* the end of
7106 file and we started reading from uninitialized memory. Now we
7107 simply treat these as files, always.
7109 * buffer.c (common_init_complex_vars_of_buffer): comment change.
7111 2001-05-19 Ben Wing <ben@xemacs.org>
7113 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
7116 * process-nt.c (vars_of_process_nt):
7117 remove unused mswindows-quote-process-args. rec for 21.4.
7119 2001-05-12 Ben Wing <ben@xemacs.org>
7121 * event-msw.c (mswindows_dde_callback):
7122 * event-msw.c (mswindows_wnd_proc):
7123 eliminate cygwin warnings.
7125 2001-05-06 Ben Wing <ben@xemacs.org>
7129 * device-msw.c (print_dialog_worker):
7130 * device-msw.c (mswindows_handle_print_dialog_box):
7131 * device-msw.c (syms_of_device_mswindows):
7132 * dialog-msw.c (mswindows_make_dialog_box_internal):
7134 implement printing the selection when it's selected.
7136 2001-05-20 Drazen Kacar <dave@arsdigita.com>
7138 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
7140 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
7142 * lisp.h (EMACS_INT_MAX): This should be one bit less since
7143 EMACS_INT is signed.
7145 2001-04-15 Michael Lausch <mla@1012surf.net>
7147 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
7148 gtk_widget_request_size() to give scrollbar >0 width for
7151 2001-05-30 William M. Perry <wmperry@gnu.org>
7153 * event-gtk.c: Check for buttons as modifier keys.
7155 2001-05-25 Craig Lanning <CraigL@Knology.net>
7158 Properly find MinGW's <process.h> inside Cygwin's restructured
7159 include directories. Don't try to include <cygwin/version.h>
7160 since we are dropping support for MinGW in versions of Cygwin
7163 Drop support for MinGW in versions of Cygwin before b21.
7165 Properly find MinGW's <process.h> inside Cygwin's restructured
7166 include directories.
7168 Drop support for MinGW in versions of Cygwin before b21.
7170 Even though a.out.h is no longer detected by configure, allow
7171 MinGW to use it until we figure out how to do the job with Win32.
7173 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
7175 * syntax.c (find_start_of_comment):
7176 Fix `unbalanced parentheses' bug when dealing with mixed comment
7177 styles in c++/java/etc. mode
7179 2001-05-29 Mike Alexander <mta@arbortext.com>
7181 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
7182 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
7184 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
7186 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
7188 2001-03-31 Mike Sperber <mike@xemacs.org>
7190 * search.c (Freplace_match): Support FSF-style specification of
7191 match subexpression when applied to a buffer.
7193 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
7195 * event-stream.c (is_scrollbar_event): add missing semicolon
7197 2001-05-22 Isaac Hollander <ysh@mindspring.com>
7199 * Makefile.in.in: Use TAR macro instead of hardcoding
7200 tar. Allows use of GNU tar instead of system tar
7202 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
7204 * event-stream.c (is_scrollbar_event): add missing semicolon
7206 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
7208 * XEmacs 21.4.3 "Academic Rigor" is released.
7210 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
7212 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
7214 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
7216 * buffer.c (Vcase_fold_search): Remove obsolete
7217 comment about non ASCII case-fold-search. This
7218 bug has been fixed by case-table changes.
7220 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
7222 * event-msw.c: Restore include of events-mod.h.
7224 2001-04-22 zhaoway <zw@debian.org>
7226 * event-stream.c (is_scrollbar_event): Noop returning 0 if
7229 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
7231 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
7233 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
7235 * mule-charset.c (Fmake_charset): Add missing else.
7237 2001-04-23 Ben Wing <ben@xemacs.org>
7239 * event-msw.c (FAKE_MOD_QUIT):
7240 * event-msw.c (mswindows_dequeue_dispatch_event):
7241 * event-msw.c (mswindows_wnd_proc):
7242 * event-msw.c (emacs_mswindows_quit_p):
7243 Get critical quit working.
7245 2001-05-05 Ben Wing <ben@xemacs.org>
7249 * device-msw.c (mswindows_get_default_margin):
7250 * frame-msw.c (mswindows_size_frame_internal):
7251 * frame-msw.c (msprinter_init_frame_1):
7252 * frame-msw.c (vars_of_frame_mswindows):
7253 Change top/bottom margin defaults to 0.5 inches.
7255 2001-05-01 Martin Buchholz <martin@xemacs.org>
7257 Fix link error with gcc 3.0 on Linux.
7258 * terminfo.c (UP): Remove.
7259 * terminfo.c (BC): Remove.
7260 * terminfo.c (PC): Remove.
7261 They weren't used, and in any case, these symbols should be
7262 defined in the *library*.
7264 2001-05-03 Martin Buchholz <martin@xemacs.org>
7266 * s/aix4.h: Fix crash with xlc -O3.
7267 Improve comment explaining how -O3 works.
7269 2001-04-15 Ben Wing <ben@xemacs.org>
7272 * event-stream.c (Fnext_event):
7273 * event-stream.c (is_scrollbar_event):
7274 * event-stream.c (execute_command_event):
7275 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
7276 crash' problem. His fix introduces other problems. We filter
7277 out scrollbar events specifically, making them somewhat invisible
7278 to command-building, and not appearing in `this-command-keys'.
7279 More work is still needed (see comments in event-stream.c), but
7280 this fixes all the major problems.
7282 2001-04-20 Ben Wing <ben@xemacs.org>
7284 * .cvsignore: Added stuff for Windows.
7286 2001-04-28 Ben Wing <ben@xemacs.org>
7288 * buffer.c (Ferase_buffer):
7289 * editfns.c (buffer_insert1):
7290 * editfns.c (Finsert_before_markers):
7291 * editfns.c (Finsert_string):
7292 * editfns.c (Finsert_char):
7293 * editfns.c (Fdelete_region):
7294 * editfns.c (Fwiden):
7295 * editfns.c (Fnarrow_to_region):
7296 remove bogus lines setting zmacs_region_stays to 0.
7298 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
7300 * process-unix.c (unix_open_network_stream): If connect() fails
7301 invalidate file descriptor after closing it.
7303 2001-03-08 Mike Alexander <mta@arbortext.com>
7305 * event-msw.c (mswindows_need_event_in_modal_loop):
7306 Don't dispatch a message if we didn't get one.
7307 (mswindows_need_event):
7308 Terminate the correct process when one exits instead of the first
7309 one on Vprocess_list and look for process termination when in
7310 mswindows_protect_modal_loop.
7312 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
7314 * XEmacs 21.4.1 "Copyleft" is released.
7316 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
7318 * input-method-motif.c (XIM_delete_frame): New callback.
7319 (XIM_init_frame): Register it.
7321 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
7323 * XEmacs 21.4.0 "Solid Vapor" is released.
7325 2001-04-15 Ben Wing <ben@xemacs.org>
7327 * cmdloop.c (call_command_loop):
7328 Fix braino in bit-rotting code.
7330 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
7332 * extents.c (Fset_extent_endpoints): Force creation of extent info
7333 in buffer_or_string.
7335 * extents.c (process_extents_for_insertion_mapper): Correctly
7336 check for open-open zero-length extents.
7338 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
7340 * lisp.h: New typedefs Memory_count, Element_count.
7343 Sign-compare warning elimination: several unsigned -> signed.
7344 Based on work by Ben Wing <ben@xemacs.org>.
7346 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
7348 * XEmacs 21.2.47 "Zephir" is released.
7350 2001-04-02 Jan Vroonhof <jan@xemacs.org>
7352 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
7354 2001-04-03 Mike Sperber <mike@xemacs.org>
7356 * search.c: Revert previous patch due because of release.
7358 2001-03-30 Ben Wing <ben@xemacs.org>
7361 Add missing killpg prototype.
7364 Add a comment about fixing problems when a new entry is added
7367 * frame-msw.c (mswindows_init_frame_1):
7368 Fix compile warnings.
7370 * menubar.c (vars_of_menubar):
7371 Provide `menu-accelerator-support' to indicate that we properly
7372 support %_ in menu specifications, so that package code can
7373 conditionalize on this (and remove %_ from menu specifications
7378 * scrollbar-msw.c (can_scroll):
7380 Fix handling of mouse wheel under Windows to follow standards --
7381 now scrolls window under pointer, not selected window.
7383 2001-03-31 Mike Sperber <mike@xemacs.org>
7385 * search.c (Freplace_match): Support FSF-style specification of
7386 match subexpression when applied to a buffer.
7388 2001-03-15 Martin Buchholz <martin@xemacs.org>
7390 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
7391 function to modify KEYMAP, so map over a copy of the hash table.
7393 2001-03-21 Martin Buchholz <martin@xemacs.org>
7395 * XEmacs 21.2.46 "Urania" is released.
7397 2001-03-20 Dan Holmsand <dan@eyebee.com>
7399 * realpath.c (xrealpath): Make file-truename work with symlinks to
7400 /cygdrive paths on cygwin. Always lowercase drive-letters on
7402 (cygwin_readlink): Don't try to find canonical filename unless
7405 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
7407 * ChangeLog: Log GTK merge.
7413 Revert gratuitous whitespace changes from GTK merge.
7415 * emacs.c: Document end of complex #ifdef @ l. 1495.
7418 2001-03-12 Andy Piper <andy@xemacs.org>
7420 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
7421 have to do likewise.
7423 2001-03-12 Andy Piper <andy@xemacs.org>
7425 * sysdep.c: we only support mingw now.
7427 2001-03-09 Andy Piper <andy@xemacs.org>
7429 * unexcw.c (copy_executable_and_dump_data_section): making approx
7430 overrun a warning only.
7432 2001-03-10 William M. Perry <wmperry@aventail.com>
7434 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
7435 satisfy Stephen's identical-after-cpp plea.
7437 2001-03-02 Ben Wing <ben@xemacs.org>
7440 * cmds.c (Fforward_char):
7444 Augment documentation of the most common motion commands to make
7445 note of the shifted-motion support.
7447 2001-03-02 Ben Wing <ben@xemacs.org>
7449 * nt.c (mswindows_fstat):
7450 * nt.c (mswindows_stat):
7451 * search.c (boyer_moore):
7452 Fix compile warnings under Windows.
7454 * sysdep.c (sys_readdir):
7455 Fix buggy filename-conversion code under Mule.
7457 2001-03-09 William M. Perry <wmperry@aventail.com>
7479 * redisplay-output.c:
7485 The Great GTK Merge.
7492 * emacs-widget-accessors.c:
7506 * native-gtk-toolbar.c:
7517 The Great GTK Merge: new files.
7519 2001-02-26 Ben Wing <ben@xemacs.org>
7521 Reapplied Lstream change.
7523 2001-02-26 Ben Wing <ben@xemacs.org>
7525 Undid the last change, since it is more controversial than I
7526 thought. It should be back in at some point soon.
7528 2001-02-25 Ben Wing <ben@xemacs.org>
7531 * callproc.c (Fold_call_process_internal):
7532 * event-msw.c (ntpipe_slurp_reader):
7533 * event-msw.c (ntpipe_shove_writer):
7534 * event-msw.c (winsock_reader):
7535 * event-msw.c (winsock_writer):
7537 * file-coding.c (detect_eol_type):
7538 * file-coding.c (detect_coding_type):
7539 * file-coding.c (determine_real_coding_system):
7540 * file-coding.c (Fdetect_coding_region):
7541 * file-coding.c (decoding_reader):
7542 * file-coding.c (decoding_writer):
7543 * file-coding.c (mule_decode):
7544 * file-coding.c (Fdecode_coding_region):
7545 * file-coding.c (encoding_reader):
7546 * file-coding.c (encoding_writer):
7547 * file-coding.c (mule_encode):
7548 * file-coding.c (Fencode_coding_region):
7549 * file-coding.c (detect_coding_sjis):
7550 * file-coding.c (decode_coding_sjis):
7551 * file-coding.c (encode_coding_sjis):
7552 * file-coding.c (detect_coding_big5):
7553 * file-coding.c (decode_coding_big5):
7554 * file-coding.c (encode_coding_big5):
7555 * file-coding.c (detect_coding_ucs4):
7556 * file-coding.c (decode_coding_ucs4):
7557 * file-coding.c (encode_coding_ucs4):
7558 * file-coding.c (detect_coding_utf8):
7559 * file-coding.c (decode_coding_utf8):
7560 * file-coding.c (encode_coding_utf8):
7561 * file-coding.c (detect_coding_iso2022):
7562 * file-coding.c (decode_coding_iso2022):
7563 * file-coding.c (encode_coding_iso2022):
7564 * file-coding.c (decode_coding_no_conversion):
7565 * file-coding.c (encode_coding_no_conversion):
7566 * glyphs-x.c (write_lisp_string_to_temp_file):
7567 * gpmevent.c (tty_get_foreign_selection):
7570 * lstream.c (Lstream_flush_out):
7571 * lstream.c (Lstream_adding):
7572 * lstream.c (Lstream_write_1):
7573 * lstream.c (Lstream_write):
7574 * lstream.c (Lstream_raw_read):
7575 * lstream.c (Lstream_read_more):
7576 * lstream.c (Lstream_read):
7577 * lstream.c (Lstream_unread):
7578 * lstream.c (Lstream_fputc):
7579 * lstream.c (stdio_reader):
7580 * lstream.c (stdio_writer):
7581 * lstream.c (filedesc_reader):
7582 * lstream.c (filedesc_writer):
7583 * lstream.c (lisp_string_reader):
7584 * lstream.c (struct fixed_buffer_stream):
7585 * lstream.c (make_fixed_buffer_input_stream):
7586 * lstream.c (make_fixed_buffer_output_stream):
7587 * lstream.c (fixed_buffer_reader):
7588 * lstream.c (fixed_buffer_writer):
7589 * lstream.c (struct resizing_buffer_stream):
7590 * lstream.c (resizing_buffer_writer):
7591 * lstream.c (dynarr_writer):
7592 * lstream.c (lisp_buffer_reader):
7593 * lstream.c (lisp_buffer_writer):
7595 * lstream.h (lstream_implementation):
7596 * lstream.h (struct lstream):
7598 * process-nt.c (nt_send_process):
7599 * process-unix.c (unix_send_process):
7601 Correct Lstream lossage due to mixing of signed and unsigned
7602 quantities. All Lstream uses of size_t and ssize_t are now a
7603 single signed data type Lstream_data_count. This fixes problems
7604 under Windows with sending large quantities of data to a process,
7605 and may well fix other subtle bugs.
7607 2001-02-23 Martin Buchholz <martin@xemacs.org>
7609 * XEmacs 21.2.45 "Thelxepeia" is released.
7611 2001-02-21 Martin Buchholz <martin@xemacs.org>
7613 * lisp-union.h (XSETINT):
7616 Reverse previous change of 2001-02-06.
7618 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
7620 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
7622 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
7623 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
7624 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
7625 * regex.c (POS_AS_IN_BUFFER): removed
7626 * regex.c (re_search_2):
7627 * regex.c (re_match_2):
7628 Don't use an offset of 1 when calculating buffer positions, since
7629 `BI_BUF_BEGV' does it already.
7631 2001-02-18 Wim Dumon <wim@easics.be>
7633 * insdel.c (prepare_to_modify_buffer): Also check for
7634 supersession when clash-detection is enabled.
7636 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
7638 * regex.c (re_match_2_internal):
7639 Convert temp characters from 'const unsigned char' to 're_char'.
7640 Fix crashing bug with extended characters under mule.
7641 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
7642 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
7643 font-lock, pdump, and new syntax-table code.
7644 * syntax.c (find_start_of_comment):
7645 (find_end_of_comment):
7647 Fix crashing bugs involving moving beyond end of buffer.
7648 * syntax.c (find_start_of_comment):
7649 Fixed logic to allow proper detection of cases where the same
7650 character is used to end both a two-char comment start and a
7651 two-char comment end sequence. Fixes `(forward-comment -1)'.
7652 * syntax.c (find_start_of_comment):
7653 Return position just past last comment-end character for all cases
7654 (previously was only done for two-char comment-end sequences).
7655 * syntax.c (forward-comment):
7656 Take value returned from `find_end_of_comment', rather than
7658 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
7659 Properly deal with BUFFERP (syntax_cache.object)
7661 2001-02-17 Martin Buchholz <martin@xemacs.org>
7663 * alloc.c (Fgarbage_collect):
7664 * alloc.c (make_bit_vector_from_byte_vector):
7665 -Wsign-compare-correctness.
7667 2001-02-16 Martin Buchholz <martin@xemacs.org>
7669 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
7670 (XSETCHAR): Likewise.
7671 (XSETOBJ): Likewise.
7673 2001-02-15 Martin Buchholz <martin@xemacs.org>
7675 * mule-canna.c (canna-func-delete_previous):
7676 Rename to canna-func-delete-previous.
7678 2001-02-14 Martin Buchholz <martin@xemacs.org>
7680 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
7682 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
7684 * font-lock.c (find_context): Fix C++ compile errors introduced by
7687 2001-02-13 Martin Buchholz <martin@xemacs.org>
7689 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
7690 pragma, but earlier ones barf on the same pragma.
7692 2001-02-06 Mike Sperber <mike@xemacs.org>
7694 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
7695 `configure-mule-lisp-directory'.
7697 2001-02-12 Martin Buchholz <martin@xemacs.org>
7699 Make sure dump-id.c is compiled in the same way as other .c's.
7700 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
7701 * dump-id.h: Remove.
7702 * emacs.c: Move dump-id.h into dumper.h.
7703 * dumper.h: Move dump-id.h into dumper.h.
7705 Use standard .c.o rule for building dump-id.o.
7706 Remove preprocessor flags from link command.
7707 Add dump-id.o to ${otherobjs} if PDUMP.
7709 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
7711 Port FSF 20.7 syntax table improvements.
7715 Fixups for new syntax table stuff.
7716 * dired.c: Include syntax.c.
7717 (Fdirectory_files): Initialize regex_match_object and
7719 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
7720 and Fget_char_property.
7722 Use ported FSF 20.7 syntax table improvements.
7727 2001-02-09 Martin Buchholz <martin@xemacs.org>
7729 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
7730 Unixware's enum boolean from sys/types.h.
7732 2001-02-10 Martin Buchholz <martin@xemacs.org>
7734 Fix support for building with latest Purify.
7735 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
7736 (PURIFY_FLAGS): Likewise.
7738 2001-02-09 Martin Buchholz <martin@xemacs.org>
7740 * fileio.c (lisp_string_set_file_times): New.
7741 * fileio.c (Fcopy_file): Use it.
7743 (copy-file filename non-ascii-filename t t)
7744 ==> No such file or directory, non-ascii-filename
7746 2001-02-10 Martin Buchholz <martin@xemacs.org>
7748 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
7749 USHRT_MAX seems clearer than ~0 anyways.
7751 2001-02-09 Martin Buchholz <martin@xemacs.org>
7753 dumper improvements. Inspired by Olivier.
7754 * dumper.c (pdump_max_align): New.
7755 * dumper.c (pdump_add_entry): Use pdump_max_align.
7756 * dumper.c (pdump_get_entry_list): Likewise.
7757 * dumper.c (pdump_scan_by_alignment): Likewise.
7758 Don't iterate through unnecessary alignments.
7759 * dumper.c (pdump_file_get): No need to align result of malloc().
7760 * dumper.c (pdump_mallocadr): Remove.
7761 The result of malloc() is guaranteed to be maximally aligned.
7762 * dumper.c: s/elmt/elt/g;
7763 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
7764 * dumper.c (pdump_alert_undump_object): Likewise.
7765 * dumper.c (pdump_align_table):
7766 Don't support alignments > 64.
7767 Store ALIGNOF's, not shift counts, in table.
7769 2001-02-09 Martin Buchholz <martin@xemacs.org>
7771 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
7772 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
7773 * systime.h: Use HAVE_UTIME.
7774 * sysdep.c (struct utimbuf): Remove.
7775 * sysdep.c (set_file_times): Prefer utime() to utimes().
7776 * config.h.in (HAVE_UTIME): New.
7777 * config.h.in (HAVE_UTIME_H): Remove.
7778 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
7780 2001-02-09 Martin Buchholz <martin@xemacs.org>
7782 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
7784 2001-02-08 Martin Buchholz <martin@xemacs.org>
7786 * s/irix6-0.h: Use the standard system memmove, not bcopy.
7788 2001-02-08 Martin Buchholz <martin@xemacs.org>
7790 * XEmacs 21.2.44 "Thalia" is released.
7792 2001-02-06 Martin Buchholz <martin@xemacs.org>
7794 Fixes crashes in kill-emacs on some systems.
7795 * process-unix.c (unix_kill_child_process):
7796 It's OK for kill() to fail with ESRCH.
7798 2001-02-07 Martin Buchholz <martin@xemacs.org>
7800 Contortions to make .gdbinit tricks work on most systems.
7801 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
7802 * alloc.c (dbg_valmask): Make non-const.
7803 * alloc.c (dbg_typemask): Make non-const.
7804 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
7805 * alloc.c (dbg_valbits): Make non-const.
7806 * alloc.c (dbg_gctypebits): Make non-const.
7807 * .gdbinit (decode_object): Make it work with AIX cc.
7809 2001-02-06 Martin Buchholz <martin@xemacs.org>
7811 * elhash.c (make_general_lisp_hash_table):
7812 Use simpler and more efficient calloc to clear entries.
7814 2001-02-07 Martin Buchholz <martin@xemacs.org>
7816 * window.c (window_scroll): Work around an AIX C compiler bug.
7817 Fixes 'scroll-up' does nothing problem with xlC.
7819 2001-02-05 Martin Buchholz <martin@xemacs.org>
7821 * .gdbinit: Remove obsolete comment.
7823 2001-01-31 Mike Alexander <mta@arbortext.com>
7825 * select.c (Fown_selection_internal): Set owned_p for device
7828 2001-02-01 Martin Buchholz <martin@xemacs.org>
7831 "not" cannot be used as a macro name as it is an operator in C++
7832 * config.h.in: Stop #defining `not'.
7833 * chartab.c (check_category_char): not ==> not_p
7834 * chartab.h: Likewise.
7835 * regex.c (re_match_2_internal): Likewise.
7837 2001-02-02 Martin Buchholz <martin@xemacs.org>
7839 * lisp-disunion.h: Fix up comments.
7841 2001-01-31 Martin Buchholz <martin@xemacs.org>
7843 * keymap.c (define_key_check_and_coerce_keysym):
7845 Support mouse-6 and mouse-7 bindings in the obvious way.
7847 2001-02-01 Martin Buchholz <martin@xemacs.org>
7849 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
7851 2001-01-30 Martin Buchholz <martin@xemacs.org>
7853 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
7854 Previous patch missed DEFVAR_INT_MAGIC.
7855 Make sure future DEFVAR_foo use correct types.
7856 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
7857 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
7858 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
7859 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
7860 * (DEFVAR_INT): Likewise.
7861 * redisplay.c (vertical_clip): Should be of type Fixnum.
7862 * redisplay.c (horizontal_clip): Likewise.
7863 * lisp.h (dump_add_opaque_int): New.
7864 (dump_add_opaque_fixnum): New.
7866 2001-01-29 Andy Piper <andy@xemacs.org>
7868 * glyphs-widget.c (check_valid_int_or_function): allow symbols
7869 since they can be eval'ed
7871 2001-01-29 Martin Buchholz <martin@xemacs.org>
7873 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
7874 Oops, XEmacs redefines `class'. Use `typename' instead.
7876 2001-01-28 Martin Buchholz <martin@xemacs.org>
7878 * dumper.c: Fix C++ compile errors.
7880 2001-01-29 Martin Buchholz <martin@xemacs.org>
7882 * tparam.c: Use correct prototypes.
7884 2001-01-28 Martin Buchholz <martin@xemacs.org>
7886 * sysproc.h: #include util.h for NetBSD's openpty.
7888 2001-01-27 Martin Buchholz <martin@xemacs.org>
7890 More 64-bit correctness.
7891 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
7892 Use a typedef `fixnum' for the type used for DEFVAR_INT.
7894 This finally finishes the 64-bit SGI port.
7895 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
7896 * symbols.c: Fix up comments and type casts.
7897 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
7898 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
7899 * symeval.h (Fixnum): New type.
7900 * symeval.h (symbol_value_type): Fix up comment.
7916 * mule-canna.c: A million DEFVAR_INTs here...
7917 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
7930 s/int/Fixnum/g in DEFVAR_INT declarations.
7932 2001-01-26 Martin Buchholz <martin@xemacs.org>
7934 Port pdump to SGI alignment-sensitive environment.
7935 Lisp Object sizeof methods now return aligned sizes. Rely on that.
7936 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
7938 Define and use aligned reading and writing macros.
7939 Use buffered stdio instead of posix i/o for faster dumping.
7940 Eliminate kludgy 256 byte space for header.
7941 Read and write from dump file using structs for alignment safety.
7942 * dumper.c (pdump_align_stream): New.
7943 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
7944 * dumper.c (PDUMP_READ_ALIGNED): New.
7945 * dumper.c (PDUMP_WRITE_ALIGNED): New.
7946 * dumper.c (pdump_static_Lisp_Object): New struct.
7947 * dumper.c (pdump_static_pointer): New struct.
7948 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
7949 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
7950 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
7951 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
7953 * dumper.c (pdump_backtrace):
7954 * dumper.c (pdump_get_indirect_count):
7955 * dumper.c (pdump_register_object):
7956 * dumper.c (pdump_register_struct):
7957 * dumper.c (pdump_reloc_one):
7958 * dumper.c (pdump_scan_by_alignment):
7959 * dumper.c (pdump_dump_from_root_struct_ptrs):
7960 * dumper.c (pdump_dump_opaques):
7961 * dumper.c (pdump_dump_rtables):
7962 * dumper.c (pdump_dump_from_root_objects):
7964 * dumper.c (pdump_load_finish):
7965 Use aligned reading and writing.
7967 * dumper.c (pdump_free): Make static.
7968 * dumper.c (pdump_hFile): Likewise.
7969 * dumper.c (pdump_hMap): Likewise.
7971 2001-01-26 Martin Buchholz <martin@xemacs.org>
7973 * XEmacs 21.2.43 "Terspichore" is released.
7975 2001-01-25 Martin Buchholz <martin@xemacs.org>
7977 Type fiddling for window_config.saved_windows_count
7978 * window.c (struct window_config):
7979 Make saved_windows_count member unsigned.
7980 * window.c (sizeof_window_config_for_n_windows):
7981 Make parameter unsigned.
7982 * window.c (mark_window_config):
7983 * window.c (window_config_equal):
7984 * window.c (free_window_configuration):
7985 * window.c (Fset_window_configuration):
7986 * window.c (count_windows):
7987 * window.c (Fcurrent_window_configuration):
7988 * window.c (reinit_vars_of_window):
7989 Update all callers and users.
7991 2001-01-25 Martin Buchholz <martin@xemacs.org>
7993 Alignment correctness for flexible arrays.
7994 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
7995 Make alignment-correct. Add interesting comments.
7996 * alloc.c (size_vector):
7997 * alloc.c (make_vector_internal):
7998 * alloc.c (make_bit_vector_internal):
7999 * alloc.c (sweep_bit_vectors_1):
8000 * fns.c (size_bit_vector):
8001 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
8002 * window.c (sizeof_window_config_for_n_windows):
8003 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
8005 2001-01-24 Martin Buchholz <martin@xemacs.org>
8007 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
8009 2001-01-23 Andy Piper <andy@xemacs.org>
8011 * select.c (Fown_selection_internal): pass owned_p
8013 * select-msw.c (mswindows_own_selection): New Signature.
8015 * console.h (struct console_methods): add owned_p to
8018 * select-x.c (x_own_selection): pass owned_p
8019 (hack_motif_clipboard_selection): use owned_p
8020 (vars_of_select_x): new variable -
8021 x_selection_strict_motif_ownership.
8023 2001-01-23 Martin Buchholz <martin@xemacs.org>
8025 * specifier.h (specifier_data_offset): Remove pointless parens.
8026 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
8028 2001-01-24 Martin Buchholz <martin@xemacs.org>
8030 Make Lisp_Object sizeof methods be alignment-correct.
8031 pdump must restore objects to the same alignment as the C compiler
8032 assumes. It really matters on SGIs.
8033 * lstream.c (aligned_sizeof_lstream): New.
8034 (sizeof_lstream): Use aligned_sizeof_lstream.
8035 (Lstream_new): Likewise.
8036 * opaque.c (aligned_sizeof_opaque): New.
8037 (sizeof_opaque): Use aligned_sizeof_opaque.
8038 (make_opaque): Likewise.
8039 * specifier.c (aligned_sizeof_specifier): New.
8040 (sizeof_specifier): Use aligned_sizeof_specifier.
8041 (make_specifier_internal): Likewise.
8043 2001-01-23 Martin Buchholz <martin@xemacs.org>
8045 * lstream.h (struct lstream): Use max_align_t for trailing data.
8046 * specifier.h (struct Lisp_Specifier): Likewise.
8048 2001-01-22 Martin Buchholz <martin@xemacs.org>
8050 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
8051 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
8052 (CCL_SUSPEND): Likewise.
8053 (CCL_INVALID_CMD): Likewise.
8054 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
8055 (ccl_driver): Likewise.
8056 (CCL_WRITE_CHAR): Macro hygiene.
8057 (CCL_WRITE_STRING): Macro hygiene.
8059 2001-01-22 Martin Buchholz <martin@xemacs.org>
8061 Port "portable" dumper to SunOS 4 and HP-UX.
8062 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
8063 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
8064 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
8066 2001-01-22 Martin Buchholz <martin@xemacs.org>
8068 * lisp.h (ALIGNOF): A better definition for C++.
8070 2001-01-20 Martin Buchholz <martin@xemacs.org>
8073 Fix printf warnings: int format, long int arg.
8074 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
8075 (PUSH_FAILURE_POINT): Use correct printf formats.
8076 (POP_FAILURE_POINT): Use correct printf formats.
8077 Use do {...} while (0)
8079 2001-01-20 Martin Buchholz <martin@xemacs.org>
8081 * XEmacs 21.2.42 "Poseidon" is released.
8083 2001-01-20 Martin Buchholz <martin@xemacs.org>
8085 * console-x.h: typo fix du jour. Remove #if 0'ed code.
8087 2001-01-19 Martin Buchholz <martin@xemacs.org>
8089 De-kludgify FIXED_TYPE free list frobbing.
8090 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
8091 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
8092 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
8093 * alloc.c (Lisp_Free): New pseudo lisp object definition.
8094 * alloc.c (LRECORD_FREE_P): New.
8095 * alloc.c (MARK_LRECORD_AS_FREE): New.
8096 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
8097 * alloc.c (STRUCT_FREE_P): Deleted.
8098 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
8099 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
8100 * alloc.c (STRING_CHARS_FREE_P): New.
8101 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
8102 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
8103 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
8104 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
8105 * alloc.c (resize_string): Use new definitions.
8106 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
8107 * alloc.c (verify_string_chars_integrity): Use new definitions.
8108 * alloc.c (compact_string_chars): Use new definitions.
8109 * alloc.c: Update monster comments.
8110 * lrecord.h (lrecord_type): Add some new lrecord types for
8113 2001-01-18 Martin Buchholz <martin@xemacs.org>
8115 Improve alignment hackery.
8116 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
8117 (max_align_t): Moved from opaque.h - general purpose.
8118 (ALIGN_PTR): Use size_t, not long.
8119 * opaque.h (max_align_t): Move to lisp.h.
8121 2001-01-18 Norbert Koch <nk@LF.net>
8123 * gui.h: Fix and add prototypes to fix build problems.
8125 2001-01-18 Martin Buchholz <martin@xemacs.org>
8127 temacs is going away, so `dump-temacs' is now a bad name.
8128 * .dbxrc (dump-temacs): Rename to `dmp'.
8129 * .gdbinit (dump-temacs): Rename to `dmp'.
8131 2001-01-17 Andy Piper <andy@xemacs.org>
8133 * glyphs.c (print_image_instance): comment to make martin happy.
8135 * glyphs-x.c (x_redisplay_widget): update faces after a frame
8138 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
8140 (mswindows_tab_control_redisplay): warning suppression.
8142 * glyphs-widget.c (widget_update): re-write to cope with updated
8144 (widget_instantiate): use new gui_item functions.
8145 (tab_control_update): deleted.
8146 (progress_gauge_update): deleted.
8147 (image_instantiator_progress_guage): take out update reference.
8148 (image_instantiator_tree_view): ditto.
8149 (image_instantiator_tab_control): ditto.
8151 * gui.c (widget_gui_parse_item_keywords): new function. Do things
8153 (gui_item_add_keyval_pair): re-write to cope with descriptors and
8154 return whether anything was changed.
8155 (update_gui_item_keywords): as it sounds.
8157 * gui.h: declare widget_gui_parse_item_keywords.
8159 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
8160 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
8162 2001-01-17 Martin Buchholz <martin@xemacs.org>
8164 * XEmacs 21.2.41 "Polyhymnia" is released.
8166 2001-01-16 Didier Verna <didier@xemacs.org>
8168 * glyphs.c (image_instantiate): don't use fallbacks when
8169 instantiating a face's background pixmap by inheritance.
8171 2001-01-14 Mike Sperber <mike@xemacs.org>
8173 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
8174 Conditionalize accordingly.
8176 2001-01-16 Martin Buchholz <martin@xemacs.org>
8178 * dumper.c (pdump_file_get): Fix a compiler warning.
8180 2001-01-15 Martin Buchholz <martin@xemacs.org>
8182 Make Purify happy when pdumping.
8183 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
8184 iniitalizing all bits of new lisp object memory.
8185 * symbols.c (Fmake_local_variable): Likewise.
8186 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
8187 * symbols.c (Fdefvaralias): Likewise.
8188 * mule-charset.c (vars_of_mule_charset): Likewise.
8190 2001-01-15 Martin Buchholz <martin@xemacs.org>
8191 Add the `-nd' flag when running pre-dump operations under the debugger.
8192 * .dbxrc (run-temacs): Add `-nd'.
8193 * .dbxrc (update-elc): Likewise.
8194 * .dbxrc (dump-temacs): Likewise.
8195 * .gdbinit (run-temacs): Likewise.
8196 * .gdbinit (check-temacs): Likewise.
8197 * .gdbinit (update-elc): Likewise.
8198 * .gdbinit (dump-temacs): Likewise.
8200 2001-01-14 Martin Buchholz <martin@xemacs.org>
8202 Allow building 64-bit executables on AIX with GNU malloc, e.g.
8203 export OBJECT_MODE=64
8204 configure --pdump --use-union-type=no
8205 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
8206 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
8208 * miscplay.c (sndcnv8U_2mono):
8209 Avoid two uses of `++' in the same expression.
8210 Suppresses a GCC warning.
8212 2001-01-13 Martin Buchholz <martin@xemacs.org>
8214 Make sure future compilers don't miscompile alloc.c.
8216 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
8217 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
8219 2001-01-12 Martin Buchholz <martin@xemacs.org>
8221 * dumper.c: A little post-pdump-rename comment fixup.
8223 2001-01-09 Jerry James <james@eecs.ku.edu>
8225 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
8227 2001-01-13 Martin Buchholz <martin@xemacs.org>
8229 * *.[ch]: Globally rename symbols using the following `pdump-rename'
8233 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
8236 replace_symbol pdump_wire_lists pdump_weak_object_chains
8237 replace_symbol pdump_wire_list dump_add_weak_object_chain
8239 replace_symbol pdump_wires pdump_root_objects
8240 replace_symbol pdump_wire dump_add_root_object
8242 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
8243 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
8245 replace_symbol dumpstructinfos pdump_root_struct_ptrs
8246 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
8247 replace_symbol dumpstructinfo pdump_root_struct_ptr
8248 replace_symbol dumpstruct dump_add_root_struct_ptr
8250 replace_symbol dumpopaque dump_add_opaque
8251 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
8252 replace_symbol dumpopaqueinfos pdump_opaques
8253 replace_symbol dumpopaqueinfo pdump_opaque
8255 replace_symbol nb_structdump nb_root_struct_ptrs
8256 replace_symbol nb_opaquedump nb_opaques
8258 replace_symbol align_table pdump_align_table
8259 replace_symbol dump_header pdump_header
8261 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
8262 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
8265 2001-01-12 Martin Buchholz <martin@xemacs.org>
8267 * s/aix4.h: Keep the C for AIX compiler from overaggressively
8268 optimizing bytecount_to_charcount().
8270 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
8273 (HAVE_DLFCN_H): Removed.
8274 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
8276 2001-01-06 Martin Buchholz <martin@xemacs.org>
8278 Portable dumper maintainability improvements.
8279 * alloc.c (staticpro):
8280 * alloc.c (staticpro_nodump):
8281 * alloc.c (garbage_collect_1):
8282 * alloc.c (reinit_alloc_once_early):
8283 * alloc.c (init_alloc_once_early):
8284 * alloc.c: Move dumper functions to alloc.c.
8285 * dumper.c (pdump_backtrace):
8286 * dumper.c (pdump_dump_structs):
8287 * dumper.c (pdump_dump_opaques):
8288 * dumper.c (pdump_dump_rtables):
8289 * dumper.c (pdump_dump_wired):
8291 * dumper.c (pdump_load_check):
8292 * dumper.c (pdump_load_finish):
8293 * dumper.c (pdump_file_unmap):
8294 * dumper.c (pdump_file_get):
8295 * dumper.c (pdump_resource_free):
8296 * dumper.c (pdump_resource_get):
8297 * dumper.c (pdump_file_free):
8298 * dumper.c (pdump_file_try):
8299 * dumper.c (pdump_load):
8300 Remove fixed size limits on staticpro(), staticpro_nodump(),
8301 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
8302 Remove custom code for dumping lrecord_implementations_table - use
8304 Remove (most of the) custom code for dumping staticpros - dump it
8305 like any other dynarr.
8307 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
8308 * dumper.c: Moved functions from alloc.c.
8309 * alloc.c (dumpstruct): Moved to dumper.c.
8310 * alloc.c (dumpopaque): Likewise.
8311 * alloc.c (pdump_wire): Likewise.
8312 * alloc.c (pdump_wire_list): Likewise.
8314 * lisp.h (Dynarr_sizeof): New.
8315 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
8316 * lisp.h (Dynarr_end): New. Very slightly C++oid.
8317 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
8319 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
8320 * lisp.h (dumpopaque): ditto.
8321 * lisp.h (pdump_wire): ditto.
8322 * lisp.h (pdump_wire_list): ditto.
8324 2001-01-09 Martin Buchholz <martin@xemacs.org>
8326 * make-src-depend (PrintPatternDeps):
8327 Use `sort' to make output independent of perl version.
8329 2001-01-08 Martin Buchholz <martin@xemacs.org>
8332 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
8333 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
8335 2001-01-03 Didier Verna <didier@xemacs.org>
8337 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
8338 that `focus_frame' is alive before thinking of calling
8339 `redisplay_redraw_cursor' on it.
8341 2001-01-08 Martin Buchholz <martin@xemacs.org>
8343 * XEmacs 21.2.40 is released.
8345 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
8347 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
8349 2001-01-06 Martin Buchholz <martin@xemacs.org>
8351 * alloc.c (dbg_valmask): Make const.
8352 * alloc.c (dbg_typemask): Make const.
8353 * alloc.c (dbg_USE_UNION_TYPE): Make const.
8354 * alloc.c (dbg_valbits): Make const.
8355 * alloc.c (dbg_gctypebits): Make const.
8357 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
8359 * redisplay-x.c (x_bevel_area):
8360 redisplay.h (struct rune):
8361 Typo fixes in comments.
8363 2001-01-05 Andy Piper <andy@xemacs.org>
8365 * glyphs-x.c (x_redisplay_widget): use size changed for offset
8368 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
8370 2001-01-05 Martin Buchholz <martin@xemacs.org>
8372 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
8374 * mule-ccl.c (stack_idx_of_map_multiple):
8375 Non const global data must not be initialized!
8376 Found by MIYASHITA Hisashi.
8378 2001-01-02 Andy Piper <andy@xemacs.org>
8380 * frame.c (change_frame_size): make sure frame size is always
8383 * glyphs.c (image_instance_layout): minor code reuse.
8385 * window.c (Fcurrent_window_configuration): revert previous
8388 2001-01-02 Martin Buchholz <martin@xemacs.org>
8391 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
8393 2000-12-31 Andy Piper <andy@xemacs.org>
8395 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
8396 when widget gets unmapped.
8398 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
8399 function. Make sure widgets losing focus don't just drop it.
8400 (handle_focus_event_1): record the widget with focus.
8402 2000-12-31 Andy Piper <andy@xemacs.org>
8404 * window.c (allocate_window): use
8405 make_image_instance_cache_hash_table.
8406 (make_dummy_parent): ditto.
8407 (Fset_window_configuration): ditto.
8409 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
8411 * glyphs.c (process_image_string_instantiator): use
8413 (get_image_instantiator_governing_domain): ditto.
8414 (normalize_image_instantiator): ditto.
8415 (instantiate_image_instantiator): ditto.
8416 (make_image_instance_1): ditto.
8417 (image_instantiate): ditto. Key on glyph *and* instantiator type.
8418 (instantiator_eq_equal): new function for use with instance hash
8420 (instantiator_eq_hash): ditto.
8421 (make_image_instance_cache_hash_table): create a suitable hash
8422 table for storing image instances.
8424 * elhash.h (hash_table_weakness): new internal weakness type
8425 HASH_TABLE_KEY_CAR_VALUE_WEAK.
8426 declare new functions.
8428 * elhash.c (finish_marking_weak_hash_tables): introduce yet
8429 another weakness type for glyphs.
8430 (make_standard_lisp_hash_table): new function split out from
8431 make_general_lisp_hash_table.
8432 (make_lisp_hash_table): call make_standard_lisp_hash_table.
8433 (hash_table_instantiate): ditto.
8434 (Fmake_hash_table): ditto.
8436 2000-12-31 Martin Buchholz <martin@xemacs.org>
8438 * XEmacs 21.2.39 is released.
8440 2000-12-29 Andy Piper <andy@xemacs.org>
8442 * menubar.c (menubar_visible_p_changed): signal the frame changed.
8444 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
8445 the frame has changed so that we pick up geometry changes such as
8448 2000-12-28 Andy Piper <andy@xemacs.org>
8450 * lastfile.c (my_ebss): make a char array so we can pad the
8451 bss. Fixes cygwin unexec.
8453 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
8455 2000-12-26 Andy Piper <andy@xemacs.org>
8457 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
8458 comments and try and be more precise about a non-/SIGIO world.
8459 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
8462 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
8463 we don't normalize to zero width or height.
8465 2000-12-24 Andy Piper <andy@xemacs.org>
8467 * Makefile.in.in (ldflags): add -mwindows when appropriate.
8469 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
8471 * s/sco5.h: SCO 5 has pty support.
8473 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
8475 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
8476 input-method-xlib.c contains whole contents of input-method-xfs.c,
8477 so we can use input-method-xlib.c's code for USE_XFONTSET
8479 * input-method-xfs.c: removed.
8481 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
8483 * file-coding.h (enum coding_category_type): reorder enumerators to
8484 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
8485 (now one greater than largest real coding_category_type enumerator).
8486 * file-coding.c (coding_category_symbol, coding_category_by_priority,
8487 coding_category_system, fcd_descriptihon_1, decode_coding_category,
8488 Fcoding_category_list, Fset_coding_priority_list,
8489 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
8490 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
8492 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
8494 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
8495 * redisplay-output.c (redisplay_output_window): Clear top of window
8496 when face is changed.
8497 * redisplay-x.c (x_redraw_exposed_window): Call
8498 redisplay_clear_top_of_window.
8499 * redisplay.h: Publish redisplay_clear_top_of_window.
8501 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
8503 * buffer.c (Fkill_buffer): Map over all devices.
8504 * window.c (window_loop): Remove UNSHOW_BUFFER code.
8505 (list_windows): New function.
8506 (list_all_windows): Ditto.
8507 (Freplace_buffer_in_windows): Use them.
8509 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
8511 * database.c (berkdb_subtype): Recognize new subtype `queue'.
8512 (Fopen_database): Use `db_create' instead of `db_open'.
8513 (syms_of_database): Initialize Qqueue.
8515 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
8517 * buffer.c (common_init_complex_vars_of_buffer): Initialize
8518 buffer_local_face_property.
8519 * buffer.h (struct buffer): New member buffer_local_face_property.
8520 * window.c (Fset_window_buffer): Mark window's face as changed
8521 when buffer has buffer local face.
8522 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
8523 * objects.c (color_after_change): Set buffer_local_face_property
8524 when locale of face specifier is buffer.
8525 * objects.c (font_after_change): Ditto.
8526 * objects.c (face_boolean_after_change): Ditto.
8527 * glyphs.c (image_after_change): Ditto.
8529 2000-12-09 Dan Holmsand <dan@eyebee.com>
8531 * nt.c (mswindows_fstat): Report file permissions, volume serial
8532 number, etc. Code adapted from FSF Emacs 20.7.
8534 2000-12-09 Dan Holmsand <dan@eyebee.com>
8536 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
8537 of stat when we don't have symbolic links, to make sure
8538 mswindows_stat is called on mswindows.
8540 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
8542 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
8544 2000-12-12 Martin Buchholz <martin@xemacs.org>
8546 * doprnt.c (emacs_doprnt_1): More printing fixes.
8547 Make printing of numbers compatible with libc and FSF Emacs.
8548 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
8549 Use the system printf to do most of the hard work of formatting,
8550 instead of doprnt_1().
8551 Calculate memory to allocate for format string.
8552 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
8553 (doprnt_1): Cleaner code and documentation.
8555 2000-12-01 Jerry James <james@eecs.ukans.edu>
8557 * Makefile.in.in: Use the loop variable to install headers.
8559 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8561 * window.c (Fsplit_window): Don't invalidate face cache.
8563 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8565 * minibuf.c (Fall_completions): Undo the previous change
8566 which removed checking elements start with space.
8568 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
8570 * mule-canna.c: Didier suppression.
8572 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
8574 * mule-canna.c: rename static unsigned char buf[] to key_buffer
8575 (warning suppression). Add English comment translations.
8577 2000-12-05 Martin Buchholz <martin@xemacs.org>
8579 * unexelfsgi.c (unexec): Better test for mmap failure.
8581 2000-12-05 Martin Buchholz <martin@xemacs.org>
8583 * XEmacs 21.2.38 is released.
8585 2000-12-05 Martin Buchholz <martin@xemacs.org>
8587 * redisplay.c (bar-cursor): Make a user variable.
8589 * symsinit.h: Add init_postgresql_from_environment.
8591 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8593 * regex.c: Convert to clean C.
8595 2000-12-05 Dan Holmsand <dan@eyebee.com>
8598 Don't #include sysfile.h. Revert to duplicating PATH_MAX
8600 (sys_readlink): renamed to system_readlink to avoid conflict with
8601 the other sys_readlink.
8603 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
8605 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
8607 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
8609 * postgresql.c (init_postgresql_from_environment): new function.
8610 (vars_of_postgresql): Move code initializing Lisp variables out and
8611 into init_postgresql_from_environment.
8612 emacs.c (main_1): Call init_postgresql_from_environment if and only
8613 if running a dumped XEmacs.
8615 2000-08-31 Dan Holmsand <dan@eyebee.com>
8617 * buffer.c: Make find-file-compare-truenames default to true on
8620 * realpath.c (win32_abs_start):
8622 (win32_readlink): New functions.
8623 (xrealpath): Return really real filenames on windows.
8625 * fileio.c (Ffile_truename): Make file-truename work on windows.
8627 2000-11-29 Didier Verna <didier@xemacs.org>
8629 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
8630 * faces.c (update_face_cachel_data): use it.
8631 * faces.c (add_face_cachel): use it. Complete background pixmap
8632 frobbing in face cache if `update_face_cachel_data' has not done so.
8634 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
8636 * search.c (string_match_1): Don't set last_thing_searched
8639 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
8641 * buffer.c: Include casetab.h
8642 (common_init_complex_vars_of_buffer): Use new case-table object.
8643 * buffer.h: Include casetab.h
8644 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
8645 (DOWNCASE_TABLE_OF): Ditto.
8646 * bufslots.h: Remove char-tables and add case-table.
8647 * casetab.c: Include casetab.h
8648 (CASE_TABLE_P): Removed.
8649 (mark_case_table): New function.
8650 (allocate_case_table): New function.
8651 (Fcase_table_p): Use new case-table.
8652 (case_table_char): New function.
8653 (Fget_case_table): Ditto.
8654 (Fput_case_table): Ditto.
8655 (Fput_case_table_pair): Ditto.
8656 (Fcopy_case_table): Ditto.
8657 (Fcurrent_case_table): Return case-table.
8658 (Fstandard_case_table): Return case-table.
8659 (Fset_case_table): Fix doc-string.
8660 (set_case_table): Use case-table
8661 (syms_of_casetab): DEFSUBR new functions.
8662 (complex_vars_of_casetab): Set up standard case-table.
8663 * casetab.h: New file.
8664 * editfns.c: Include casetab.h
8665 (Fcompare_buffer_substrings): Use case-table.
8666 * inline.c: Include casetab.h
8667 * lisp.h: Remove bogus extern.
8668 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
8669 * search.c: Include casetab.h
8670 (TRANSLATE_ASCII): Removed.
8671 (TRANSLATE): Unconditionally translate character.
8672 (looking_at_1): Use case-table.
8673 (string_match_1): Ditto.
8674 (fast_string_match): Ditto.
8675 (search_command): Ditto.
8676 (search_buffer): Separate boyer_moore. Check whether
8677 boyer_moore is possible.
8678 (simple_search): New function.
8679 (boyer_moore): Separated from search_buffer. Translate char.
8681 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
8683 * regex.c (RE_TR_ASCII): Removed.
8684 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
8685 (PATFETCH): Call PATFETCH_RAW.
8686 (PATFETCH_RAW): Fetch Emchar.
8687 (PATUNFETCH): Decrement charptr.
8688 (GET_BUFFER_SPACE): Rename b to buf_end.
8690 (BUF_PUSH_2): Ditto.
8691 (BUF_PUSH_3): Ditto.
8692 (EXTEND_BUFFER): Ditto.
8693 (SET_LIST_BIT): Ditto.
8694 (regex_compile): Ditto. Translate non ASCII char.
8695 (compile_range): Ditto.
8696 (re_search_2): Ditto.
8697 (re_match_2_internal): Compare Emchar.
8698 (bcmp_translate): Ditto.
8700 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
8702 * lisp.h (basic char/int typedefs): comment improvement.
8704 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
8706 * emacs.c (main_1): unconditional pdump unstomping; don't save and
8707 unstomp inhibit_site_lisp. Improve comments.
8709 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
8711 * mule-charset.c (Fcharset_property): improve type checking, comments.
8713 2000-11-28 Andy Piper <andy@xemacs.org>
8715 * redisplay-output.c (redisplay_output_subwindow): make sure we do
8716 clipped display for windows in the gutter also.
8717 (redisplay_display_boxes_in_window_p): change semantics of return
8718 codes to be more intuitive.
8720 * gutter.h: declare display_boxes_in_gutter_p.
8722 * gutter.c (display_boxes_in_gutter_p): new function for
8725 2000-11-22 Andy Piper <andy@xemacs.org>
8727 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
8730 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
8732 * callproc.c (Fold_call_process_internal):
8733 * gpm.c (Freceive_gpm_event):
8734 (tty_get_foreign_selection): Might be just warning supression.
8735 * fileio.c (Fwrite_region_internal):
8736 (Fset_visited_file_modtime):
8737 * keymap.c (event_matches_key_specifier_p):
8738 Initialize GCPROed variable.
8740 * menubar-x.c (command_builder_find_menu_accelerator):
8741 Initialize before use.
8743 2000-11-23 Andy Piper <andy@xemacs.org>
8745 * unexcw.c (unexec): make the resulting executable executable.
8747 2000-11-21 Martin Buchholz <martin@xemacs.org>
8749 * doc.c (get_doc_string):
8750 Use size_t, not int, for result of XSTRING_LENGTH.
8752 * cmds.c (Fdelete_char):
8753 * cmds.c (Fpoint_at_eol):
8754 * cmds.c (Fself_insert_command):
8755 Use EMACS_INT, not int, for result of XINT.
8756 Someday, someone will want to insert more than 2**31 identical characters.
8758 * cmds.c (Fdelete_char):
8759 * cmds.c (Fdelete_backward_char):
8760 * syntax.c (Fforward_word):
8761 * syntax.c (Fforward_comment):
8762 Make COUNT argument optional, for consistency with forward-char et al.
8764 2000-11-22 Martin Buchholz <martin@xemacs.org>
8767 * print.c (long_to_string):
8768 Return a useful value: the pointer at end of data written.
8771 Use `static const char * const' for constant strings.
8772 (union printf_arg): Delete `i', `ui' members.
8775 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
8776 Do all printf-ing via the `l' specifier.
8777 Use EMACS_INT instead of int.
8780 2000-11-20 Didier Verna <didier@xemacs.org>
8782 * faces.c (update_face_cachel_data): don't frob the background
8783 pixmap when the window is being created. The face is needed but
8786 2000-11-20 Andy Piper <andy@xemacs.org>
8788 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
8789 messing with a debug environment.
8791 2000-11-20 Martin Buchholz <martin@xemacs.org>
8793 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
8795 2000-11-20 Martin Buchholz <martin@xemacs.org>
8797 * casetab.c (Fcase_table_p): Fix compile error and crash.
8799 2000-11-18 Philip Aston <philipa@mail.com>
8801 * s/cygwin32.h: Cygwin has SVR4-like pty support.
8803 2000-11-18 Martin Buchholz <martin@xemacs.org>
8805 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
8806 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
8808 2000-11-17 Martin Buchholz <martin@xemacs.org>
8810 * config.h.in: Define HAVE_ELF_H if elf.h exists.
8811 * unexelf.c: Use HAVE_ELF_H.
8812 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
8813 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
8814 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
8815 Greg Harrington <greg_harrington@hotmail.com> provided a machine
8817 So this is an unexelfsgi.c from a different line of development.
8819 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
8821 * regex.c (RE_TR_ASCII): New function.
8822 (RE_TRANSLATE): Call it.
8824 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
8826 * buffer.h (TRT_TABLE_OF): Remove assert.
8827 (IN_TRT_TABLE_DOMAIN): Removed.
8829 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
8831 * free-hook.c (log_gcpro):
8832 (show_gcprohist): Add support for GCPRO5.
8834 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
8836 * emacs.c (main_1): Improve -sd error message when --pdump=no.
8838 2000-11-16 Olivier Galibert <galibert@xemacs.org>
8840 * symeval.h: Declare flush_all_buffer_local_cache.
8842 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
8843 (flush_buffer_local_cache): Added.
8844 (flush_all_buffer_local_cache): Added.
8846 * lrecord.h: Remove unused XD_LO_RESET_NIL.
8848 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
8849 (pdump_dump_data): Ditto.
8850 (pdump_reloc_one): Ditto.
8851 (pdump): Remove unused pdump_qnil. Flush buffer local caches
8855 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
8857 * buffer.c: Remove if 0'ed entry.
8858 * buffer.h: Rewrite TRT to use char-table.
8859 * bufslots.h: Remove mirror tables.
8860 * casetab.c: Remove mirror tables.
8861 (CASE_TABLE_P): New macro.
8862 (Fcase_table_p): Element of a case table is string or char-table.
8863 (make_mirror_trt_table): Removed.
8864 (set_case_table): Setup char-table from strings for backward
8866 * dired.c (Fdirectory_files):
8867 * dired-msw.c: (mswindows_get_files):
8868 * lisp.h: Change prototype of re_pattern_buffer.
8869 * regex.c: (RE_TRANSLATE): New macro.
8870 (TRANSLATE_P): Ditto.
8871 Change translate to type RE_TRANSLATE_TYPE.
8872 * regex.h: Define RE_TRANSLATE_TYPE
8873 * search.c (TRANSLATE): New macro.
8874 (TRANSLATE_ASCII): New macro.
8875 Translate table is changed to Lisp_Object.
8876 (signal_failure): Inhibit return.
8878 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
8885 Do UNGCPRO before return.
8887 2000-11-14 Martin Buchholz <martin@xemacs.org>
8889 * XEmacs 21.2.37 is released.
8891 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
8893 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
8894 Add comments about discarded return value.
8896 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
8899 * event-stream.c: Fix comments. Remove some #if 0'ed part.
8901 2000-10-27 Andy Piper <andy@xemacs.org>
8903 * gutter.c (Fset_default_gutter_position): default left and right
8905 (calculate_gutter_size): calculate resonable heuristic for left
8906 and right gutter sizes.
8907 (specifier_vars_of_gutter): change left and right gutter sizes to
8909 (calculate_gutter_size_from_display_lines): new function.
8910 (output_gutter): check for resizing on left and right gutters.
8911 (clear_gutter): don't special case top and left gutters.
8912 (specifier_vars_of_gutter): use new signature for
8913 set_specifier_caching.
8915 * glyphs-x.c (x_redisplay_widget): spelling fix.
8916 * glyphs.c (specifier_vars_of_glyphs):
8917 * menubar.c (specifier_vars_of_menubar):
8918 * redisplay.c (specifier_vars_of_redisplay):
8919 * toolbar.c (specifier_vars_of_toolbar):
8920 * window.c (specifier_vars_of_window):
8921 * scrollbar.c (specifier_vars_of_scrollbar):
8922 (complex_vars_of_scrollbar): use new signature for
8923 set_specifier_caching.
8925 * specifier.c (set_specifier_caching): include recompute flag.
8926 (recompute_one_cached_specifier_in_window): always recompute if
8928 (recompute_one_cached_specifier_in_frame): ditto.
8930 * specifier.h (struct specifier_caching): add recompute flag.
8932 2000-10-24 Andy Piper <andy@xemacs.org>
8934 * unexcw.c (copy_executable_and_dump_data_section): add new
8935 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
8938 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8940 * console-x.h (x_device): New member modifier_release_time.
8941 * event-Xt.c (x_handle_sticky_modifiers):
8942 Bound interval modifier keys are sticky.
8943 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
8944 * events.h: extern it.
8946 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8948 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
8950 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8952 * event-stream.c (execute_command_event): Preserve current_events
8953 and the like when event is misc-user-event.
8954 Inhibit quit during the call to maybe_echo_keys.
8956 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
8958 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
8959 symlink when buffer is killed.
8960 (inhibit_clash_detection): New variable.
8962 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8964 * console.c (Fset_input_method): Trigger redisplay on tty.
8966 2000-11-07 Martin Buchholz <martin@xemacs.org>
8968 * process.c (Fprocess_status): Revert to previous behavior:
8969 (process-status "nosuchprocess") ==> nil
8971 2000-11-06 Martin Buchholz <martin@xemacs.org>
8973 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
8974 Work around another GCC 2.95.2 optimizer bug.
8976 2000-11-02 Martin Buchholz <martin@xemacs.org>
8978 * process.c (Fget_process): Use LIST_LOOP_2.
8979 (kill_buffer_processes): Use LIST_LOOP_2.
8981 * minibuf.c (Fall_completions):
8982 Delete old non-functional code for FSF fourth argument.
8984 * frame.c (frame_matches_frame_spec):
8985 Renamed from `frame_matches_frametype'. Update all callers.
8986 (device_matches_device_spec):
8987 Renamed from 'device_matches_console_spec'. Update all callers.
8989 * doc.c (Fsubstitute_command_keys):
8990 Remove buffer overflow crash. Small code cleanups.
8992 * casetab.c (check_case_table): Simpler code.
8994 * window.c (Freplace_buffer_in_windows):
8995 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
8996 (and similar implementation) as Fdelete_windows_on.
8999 * alloc.c (Fmake_list):
9000 * alloc.c (make_vector):
9001 * alloc.c (Fmake_vector):
9002 * alloc.c (make_bit_vector):
9003 * alloc.c (Fmake_bit_vector):
9004 * alloc.c (Fbit_vector):
9005 * alloc.c (Fmake_string):
9006 * alloc.c (Fpurecopy):
9007 * alloc.c (Fmemory_limit):
9009 * buffer.c (Fget_buffer):
9010 * buffer.c (Fkill_buffer):
9011 * buffer.c (complex_vars_of_buffer):
9012 * bytecode.c (Fcompiled_function_stack_depth):
9013 * callint.c (Fprefix_numeric_value):
9015 * event-stream.c (Fread_key_sequence):
9017 * casetab.c (Fcase_table_p):
9018 * casetab.c (check_case_table):
9019 * casetab.c (Fset_case_table):
9020 * casetab.c (Fset_standard_case_table):
9022 * chartab.c (Fchar_table_type):
9023 * chartab.c (Freset_char_table):
9024 * chartab.c (Fget_char_table):
9025 * chartab.c (Fget_range_char_table):
9026 * chartab.c (Fput_char_table):
9027 * chartab.c (Fmap_char_table):
9028 * chartab.c (Fcategory_table_p):
9029 * chartab.c (Fcheck_category_at):
9030 * chartab.c (Fchar_in_category_p):
9031 * chartab.c (Fcategory_table):
9032 * chartab.c (Fcopy_category_table):
9033 * chartab.c (Fset_category_table):
9034 * chartab.c (Fcategory_designator_p):
9035 * chartab.c (Fcategory_table_value_p):
9036 * cmds.c (Fdelete_char):
9037 * cmds.c (Fdelete_backward_char):
9038 * cmds.c (Fself_insert_command):
9039 * cmds.c (Fself_insert_internal):
9040 * console.c (Fvalid_console_type_p):
9041 * console.c (Fcdfw_console):
9042 * console.c (Fconsole_type):
9043 * console.c (Fconsole_name):
9044 * console.c (Fconsole_device_list):
9045 * console.c (Fconsole_on_window_system_p):
9049 * data.c (Fsubr_interactive):
9050 * data.c (Fchar_to_int):
9051 * data.c (Fint_to_char):
9054 * data.c (Fnumber_to_string):
9055 * data.c (Fstring_to_number):
9057 * database.c (mark_database):
9058 * database.c (finalize_database):
9059 * database.c (Fdatabase_live_p):
9060 * database.c (Fdatabasep):
9061 * device-x.c (Fx_get_resource):
9062 * device.c (Fdfw_device):
9064 * dired.c (Ffile_name_completion):
9065 * dired.c (Ffile_name_all_completions):
9066 * dired.c (Fuser_name_completion):
9067 * dired.c (Fuser_name_completion_1):
9068 * dired.c (Fuser_name_all_completions):
9069 * doc.c (Fdocumentation):
9070 * doc.c (Fdocumentation_property):
9071 * doc.c (Fsubstitute_command_keys):
9073 * editfns.c (Fchar_to_string):
9074 * editfns.c (Fstring_to_char):
9075 * editfns.c (Ftemp_directory):
9076 * editfns.c (Finsert_char):
9077 * editfns.c (Fbuffer_substring_no_properties):
9078 * editfns.c (Fnarrow_to_region):
9079 * editfns.c (Fchar_equal):
9080 * editfns.c (Fchar_Equal):
9081 * editfns.c (Ftranspose_regions):
9082 * emacs.c (Fdump_emacs):
9084 * eval.c (Fcommand_execute):
9085 * eval.c (Fautoload):
9086 * eval.c (Fbacktrace):
9087 * eval.c (Fbacktrace_frame):
9089 * events.c (Fcopy_event):
9090 * events.c (Fcharacter_to_event):
9091 * events.c (Fevent_button):
9092 * events.c (Fevent_process):
9094 * extents.c (Fnext_extent_change):
9095 * extents.c (Fextent_property):
9097 * faces.c (Fmake_face):
9099 * file-coding.c (Fencode_shift_jis_char):
9100 * file-coding.c (Fencode_big5_char):
9101 * fileio.c (Ffile_name_directory):
9102 * fileio.c (Ffile_name_nondirectory):
9103 * fileio.c (Ffile_name_as_directory):
9104 * fileio.c (Fdirectory_file_name):
9105 * fileio.c (Ffile_truename):
9106 * fileio.c (Fsubstitute_in_file_name):
9107 * fileio.c (Ffile_modes):
9108 * fileio.c (Fset_file_modes):
9109 * fileio.c (Fset_default_file_modes):
9110 * fileio.c (Fverify_visited_file_modtime):
9111 * floatfns.c (Facos):
9112 * floatfns.c (Fasin):
9113 * floatfns.c (Fatan):
9114 * floatfns.c (Fcos):
9115 * floatfns.c (Fsin):
9116 * floatfns.c (Ftan):
9117 * floatfns.c (Fbessel_j0):
9118 * floatfns.c (Fbessel_j1):
9119 * floatfns.c (Fbessel_jn):
9120 * floatfns.c (Fbessel_y0):
9121 * floatfns.c (Fbessel_y1):
9122 * floatfns.c (Fbessel_yn):
9123 * floatfns.c (Ferf):
9124 * floatfns.c (Ferfc):
9125 * floatfns.c (Flog_gamma):
9126 * floatfns.c (Fexp):
9127 * floatfns.c (Fexpt):
9128 * floatfns.c (Flog):
9129 * floatfns.c (Flog10):
9130 * floatfns.c (Fsqrt):
9131 * floatfns.c (Fcube_root):
9132 * floatfns.c (Facosh):
9133 * floatfns.c (Fasinh):
9134 * floatfns.c (Fatanh):
9135 * floatfns.c (Fcosh):
9136 * floatfns.c (Fsinh):
9137 * floatfns.c (Ftanh):
9138 * floatfns.c (Fabs):
9139 * floatfns.c (Ffloat):
9140 * floatfns.c (Flogb):
9141 * floatfns.c (Fceiling):
9142 * floatfns.c (Ffloor):
9143 * floatfns.c (Fround):
9144 * floatfns.c (Ftruncate):
9145 * floatfns.c (Ffceiling):
9146 * floatfns.c (Fffloor):
9147 * floatfns.c (Ffround):
9148 * floatfns.c (Fftruncate):
9149 * fns.c (Fstring_equal):
9150 * fns.c (Fstring_lessp):
9155 * fns.c (Fsubstring):
9157 * fns.c (Fold_assoc):
9158 * fns.c (assoc_no_quit):
9160 * fns.c (Fold_assq):
9161 * fns.c (assq_no_quit):
9163 * fns.c (Fold_rassoc):
9165 * fns.c (Fold_rassq):
9166 * fns.c (rassq_no_quit):
9167 * fns.c (Fremassoc):
9168 * fns.c (remassoc_no_quit):
9170 * fns.c (remassq_no_quit):
9171 * fns.c (Fremrassoc):
9172 * fns.c (Fremrassq):
9173 * fns.c (remrassq_no_quit):
9175 * fns.c (Fplist_get):
9176 * fns.c (Fplist_put):
9177 * fns.c (Fplist_remprop):
9178 * fns.c (Fplist_member):
9179 * fns.c (Flax_plist_get):
9180 * fns.c (Flax_plist_put):
9181 * fns.c (Flax_plist_remprop):
9182 * fns.c (Flax_plist_member):
9184 * fns.c (Fold_equal):
9186 * fns.c (Fbase64_encode_region):
9187 * fns.c (Fbase64_encode_string):
9188 * fns.c (Fbase64_decode_region):
9190 * frame.c (frame_matches_frame_spec):
9191 * frame.c (device_matches_device_spec):
9192 * frame.c (next_frame):
9193 * frame.c (previous_frame):
9194 * frame.c (Fnext_frame):
9195 * frame.c (Fprevious_frame):
9196 * frame.c (Fframe_property):
9197 * frame.c (Fset_frame_height):
9198 * frame.c (Fset_frame_size):
9202 * glyphs.c (decode_error_behavior_flag):
9203 * glyphs.c (Fmake_image_instance):
9204 * indent.c (Findent_to):
9205 * intl.c (Fignore_defer_gettext):
9206 * keymap.c (Fkeymapp):
9207 * keymap.c (Flookup_key):
9209 * lread.c (Fload_internal):
9210 * lread.c (Feval_buffer):
9211 * lread.c (Feval_region):
9212 * macros.c (Fexecute_kbd_macro):
9213 * marker.c (set_marker_internal):
9214 * marker.c (Fset_marker):
9215 * marker.c (set_marker_restricted):
9216 * marker.c (Fcopy_marker):
9217 * marker.c (noseeum_copy_marker):
9219 * menubar.c (Fpopup_menu):
9221 * mule-charset.c (Fcharset_name):
9222 * mule-charset.c (Fchar_charset):
9223 * mule-charset.c (Fchar_octet):
9224 * mule-charset.c (Fsplit_char):
9225 * mule-wnnfns.c (Fwnn_open):
9226 * mule-wnnfns.c (Fwnn_dict_comment):
9227 * mule-wnnfns.c (Fwnn_quit_henkan):
9228 * mule-wnnfns.c (Fwnn_word_toroku):
9229 * mule-wnnfns.c (Fwnn_word_sakujo):
9230 * mule-wnnfns.c (Fwnn_word_use):
9231 * mule-wnnfns.c (Fwnn_hindo_set):
9233 * objects.c (Fmake_color_instance):
9234 * objects.c (Fmake_font_instance):
9235 * print.c (Fwrite_char):
9237 * process.c (mark_process):
9238 * process.c (print_process):
9239 * process.c (get_process_from_usid):
9240 * process.c (Fprocessp):
9241 * process.c (Fprocess_live_p):
9242 * process.c (Fget_process):
9243 * process.c (Fget_buffer_process):
9244 * process.c (get_process):
9245 * process.c (Fprocess_id):
9246 * process.c (Fprocess_name):
9247 * process.c (Fprocess_command):
9248 * process.c (init_process_io_handles):
9249 * process.c (start_process_unwind):
9250 * process.c (Fstart_process_internal):
9251 * process.c (Fopen_multicast_group_internal):
9252 * process.c (Fset_process_window_size):
9253 * process.c (read_process_output):
9254 * process.c (send_process):
9255 * process.c (Fprocess_tty_name):
9256 * process.c (Fset_process_buffer):
9257 * process.c (Fprocess_buffer):
9258 * process.c (Fprocess_mark):
9259 * process.c (set_process_filter):
9260 * process.c (Fset_process_filter):
9261 * process.c (Fprocess_filter):
9262 * process.c (Fprocess_send_region):
9263 * process.c (Fprocess_send_string):
9264 * process.c (exec_sentinel):
9265 * process.c (Fset_process_sentinel):
9266 * process.c (Fprocess_sentinel):
9267 * process.c (status_notify):
9268 * process.c (Fprocess_status):
9269 * process.c (Fprocess_exit_status):
9270 * process.c (process_send_signal):
9271 * process.c (Fprocess_send_eof):
9272 * process.c (deactivate_process):
9273 * process.c (remove_process):
9274 * process.c (Fdelete_process):
9275 * process.c (kill_buffer_processes):
9276 * process.c (Fprocess_kill_without_query):
9277 * process.c (Fprocess_kill_without_query_p):
9279 * rangetab.c (Fget_range_table):
9280 * rangetab.c (Fput_range_table):
9281 * rangetab.c (Fremove_range_table):
9282 * rangetab.c (Fclear_range_table):
9284 * search.c (Fskip_chars_forward):
9285 * search.c (Fskip_chars_backward):
9286 * search.c (Fskip_syntax_forward):
9287 * search.c (Fskip_syntax_backward):
9288 * search.c (search_command):
9289 * search.c (Freplace_match):
9290 * search.c (Fregexp_quote):
9291 * select.c (Fown_selection_internal):
9292 * select.c (Fselection_owner_p):
9293 * select.c (Fselection_exists_p):
9294 * select.c (Fget_selection_internal):
9297 * symbols.c (Fintern):
9298 * symbols.c (Fintern_soft):
9299 * symbols.c (Funintern):
9300 * symbols.c (Fapropos_internal):
9301 * symbols.c (Fset_default):
9303 * syntax.c (Fsyntax_table_p):
9304 * syntax.c (Fcopy_syntax_table):
9305 * syntax.c (Fset_syntax_table):
9306 * syntax.c (Fchar_syntax):
9307 * syntax.c (syntax_match):
9308 * syntax.c (Fmatching_paren):
9309 * syntax.c (Fforward_word):
9310 * syntax.c (scan_lists):
9311 * syntax.c (Fscan_lists):
9312 * syntax.c (Fscan_sexps):
9313 * syntax.c (Fparse_partial_sexp):
9314 * toolbar.c (Fcheck_toolbar_button_syntax):
9317 * window.c (Fwindowp):
9318 * window.c (Fwindow_live_p):
9319 * window.c (Fwindow_point):
9320 * window.c (Fdelete_window):
9321 * window.c (Fnext_window):
9322 * window.c (Fprevious_window):
9323 * window.c (Fother_window):
9324 * window.c (window_loop):
9325 * window.c (Fget_lru_window):
9326 * window.c (Fsplit_window):
9327 * window.c (Fenlarge_window):
9328 * window.c (Fenlarge_window_pixels):
9329 * window.c (Fshrink_window):
9330 * window.c (Fshrink_window_pixels):
9331 * window.c (change_window_height):
9332 * window.c (Fwindow_configuration_p):
9333 * window.c (Fcurrent_window_configuration):
9335 * casefiddle.c (casify_object):
9336 * casefiddle.c (Fupcase):
9337 * casefiddle.c (Fdowncase):
9338 * casefiddle.c (Fcapitalize):
9339 * casefiddle.c (Fupcase_initials):
9340 * casefiddle.c (casify_region_internal):
9341 * casefiddle.c (casify_region):
9342 * casefiddle.c (Fupcase_region):
9343 * casefiddle.c (Fdowncase_region):
9344 * casefiddle.c (Fcapitalize_region):
9345 * casefiddle.c (Fupcase_initials_region):
9346 * casefiddle.c (Fupcase_word):
9347 * casefiddle.c (Fdowncase_word):
9348 * casefiddle.c (Fcapitalize_word):
9349 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
9350 Replace 0 with '\0' when working with bytes.
9351 Replace initial "(" with "\(" in docstrings.
9353 2000-11-01 Martin Buchholz <martin@xemacs.org>
9355 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
9357 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
9359 2000-10-31 Martin Buchholz <martin@xemacs.org>
9361 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
9363 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
9365 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
9368 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
9370 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
9371 (inhibit_auto_save_session): New variable.
9372 (vars_of_fileio): Declare and initialize them.
9373 * fileio.c (Fdo_auto_save): Don't create session file if
9374 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
9376 2000-10-31 Martin Buchholz <martin@xemacs.org>
9378 * sgiplay.c (play_internal): C++ compilability.
9379 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
9380 * callproc.c (Fold_call_process_internal):
9381 Remove unused vars `env', `first'.
9382 * scrollbar.c (update_scrollbar_instance):
9383 #### unused var `current_window'.
9384 * redisplay-tty.c: Put currently unused vars insert_mode_on,
9385 etc. within #ifdef NOT_YET.
9386 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
9387 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
9388 * specifier.c (specifier_instance):
9389 #### unused var `tag'.
9390 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
9392 2000-10-27 Martin Buchholz <martin@xemacs.org>
9395 * fns.c (list_sort):
9396 * fns.c (Ffillarray):
9397 * fns.c (bytecode_nconc2):
9400 * fns.c (Fmapconcat):
9401 Be pedantically 64-bit correct. For the time when someone will
9402 want to have a list with length > 2**32.
9404 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
9405 Work around MIPSpro compiler bug.
9407 * process-unix.c (unix_kill_child_process): Add snarky comment.
9408 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
9410 * config.h.in: Oops, _getpt ==> _getpty
9412 2000-10-26 Martin Buchholz <martin@xemacs.org>
9416 Use void*, not char*, as return type of alloca().
9418 * alloc.c (free_marker): Side effect inside assert expression!
9420 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
9422 * mule-charset.c (Fset_charset_ccl_program): To check
9423 if the given ccl program is valid, use setup_ccl_program()
9424 instead of CHECK_VECTOR().
9425 (Fmake_charset): Likewise.
9427 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
9429 * faces.c (get_extent_fragment_face_cache_index):
9430 Fix cachel.merged_faces memory leak.
9432 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
9434 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
9435 Reset MSB of octets obtained by DECODE_SJIS
9436 because of the incompatibility with Emacs.
9437 (ccl_driver)<CCL_ENCODE_SJIS>:
9438 Set MSB of octets before passing them to
9439 ENCODE_SJIS because of the incompatibility
9442 2000-10-18 Daiki Ueno <ueno@unixuser.org>
9444 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
9445 (DECLARE_LRECORD): Undo the last change.
9446 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
9448 2000-10-17 Daiki Ueno <ueno@unixuser.org>
9450 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
9451 the implementation to lrecord_implementations_table.
9453 2000-10-14 Daiki Ueno <ueno@unixuser.org>
9455 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
9456 initial value of `lrecord_type_##c_name' and
9457 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
9458 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
9459 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
9460 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
9461 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
9463 2000-10-17 Martin Buchholz <martin@xemacs.org>
9465 * miscplay.c (sndcnv8S_2mono):
9466 (sndcnv2monounsigned):
9467 (sndcnvULaw_2linear):
9469 Remove implementation-defined behavior.
9471 2000-10-12 Martin Buchholz <martin@xemacs.org>
9473 * input-method-xlib.c: Warning suppression.
9475 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
9477 * mule-ccl.c: Sync up with Emacs 21.0.90.
9478 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
9480 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
9482 (ccl_driver[WriteMultibyteChar2]): Bug fix.
9483 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
9484 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
9485 leading char belongs to official 2-dimensional charset.
9486 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
9487 write the given character as is. Otherwise,
9488 if it is a multibyte char, convert it by
9489 non_ascii_set_charptr_emchar, then write it.
9490 (CCL_WRITE_STRING): Likewise.
9491 (ccl_get_compiled_code): New function.
9492 (setup_ccl_program): When ccl_prog is invalid,
9494 (Fregister_code_conversion_map): New function.
9495 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
9497 * mule-ccl.h: Sync up with Emacs 21.0.90.
9498 (Fregister_ccl_program): export it.
9500 * redisplay-msw.c (separate_textual_runs):
9501 If ccl program is not valid, don't do ccl conversion.
9503 * redisplay-x.c (separate_textual_runs): Ditto.
9505 * file-coding.c (Fmake_coding_system):
9506 When type is ccl and value is vector, register it
9507 with a proper symbol. And checks whether the
9508 given ccl program is valid.
9509 (mule_decode): When calling ccl_driver, if src indicates
9510 NULL pointer, set an empty string instead.
9511 (mule_encode): Likewise.
9513 2000-10-11 Martin Buchholz <martin@xemacs.org>
9515 The following large batch of changes gets us back to a state of
9516 C++ compilability. Extbyte is now a char, which means that
9517 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
9519 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
9521 * sound.c (Fplay_sound): Type correctness.
9523 * select-x.c (hack_motif_clipboard_selection): Type correctness.
9524 (x_get_window_property): Type correctness.
9525 (receive_incremental_selection): unsigned char ==> Extbyte
9526 (selection_data_to_lisp_data): unsigned char ==> Extbyte
9527 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
9528 (Fx_store_cutbuffer_internal): Type correctness.
9530 * process-unix.c (try_to_initialize_subtty): Type correctness.
9532 * objects-x.c (x_print_color_instance): Type correctness.
9533 (x_print_font_instance): Type correctness.
9534 (x_list_fonts): SExtbyte ==> Extbyte.
9535 (valid_x_font_name_p): SExtbyte ==> Extbyte.
9536 (x_find_charset_font): SExtbyte ==> Extbyte.
9537 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
9538 (truename_via_XListFonts): SExtbyte ==> Extbyte.
9539 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
9542 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
9543 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
9544 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
9545 (BYTE_C0_P): Use bit ops for char-signedness safety.
9546 (BYTE_C1_P): Use bit ops for char-signedness safety.
9547 (CHARSET_BY_LEADING_BYTE):
9548 (CHARSET_BY_ATTRIBUTES):
9549 Always use inline function.
9550 Use type_checking_assert.
9553 * mule-charset.c (non_ascii_charptr_copy_char):
9554 Modify to work with both ASCII and non-ASCII characters.
9555 Improve docs and variable names.
9556 Replace over-clever fall-through switch with a simple loop.
9557 (Lstream_get_emchar_1):
9558 Replace over-clever fall-through switch with a simple loop.
9560 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9561 Warning suppression.
9563 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
9564 the return value of Lstream_getc, which could be EOF as well.
9566 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
9568 * lisp.h: Make Extbyte a char, not unsigned char, so that external
9569 APIs can be used on Extbytes without casts. Risky!
9573 * input-method-xlib.c (XIM_init_device):
9574 Use Xlib.h instead of IntrinsicP.h.
9575 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
9576 which will break in X11R7.
9577 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
9578 to call XRegisterIMInstantiateCallback with correct types.
9580 * gui-x.c (button_item_to_widget_value): Type correctness.
9582 * glyphs.c (bitmap_to_lisp_data): Type correctness.
9584 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
9585 (xbm_instantiate_1): Type correctness.
9586 (BUILD_GLYPH_INST): Type correctness.
9588 * fileio.c (Fsubstitute_in_file_name): Type correctness.
9591 (decode_coding_sjis):
9592 (decode_coding_big5):
9593 (decode_coding_ucs4):
9594 (decode_coding_utf8):
9595 (decode_coding_iso2022):
9596 (decode_coding_no_conversion):
9597 Make all decoding functions take an Extbyte * arg.
9598 (encode_coding_sjis):
9599 (encode_coding_big5):
9600 (encode_coding_ucs4):
9601 (encode_coding_utf8):
9602 (encode_coding_iso2022):
9603 (encode_coding_no_conversion):
9604 Make all encoding functions take a Bufbyte * arg.
9605 Use size_t instead of unsigned int for memory sizes.
9606 Only cast to unsigned char whenever dereferencing Extbyte *.
9608 * doc.c (unparesseuxify_doc_string): Type correctness.
9610 * console-x.c (split_up_display_spec):
9611 Rewrite without using details of internal string representation.
9612 (x_semi_canonicalize_device_connection): Type correctness.
9615 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
9616 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
9617 (HAVE_XFREE386): Removed.
9619 * buffer.h (DEC_CHARPTR): `const' correctness.
9620 (bufbyte_strcmp): New.
9621 (bufbyte_memcmp): New.
9623 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
9625 * buffer.h (XCHAR_OR_CHAR_INT):
9626 Always use inline function.
9627 Remove redundant type checking assert() - XINT will abort quite nicely.
9629 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9631 * search.c (Freplace_match): Set newtext to an empty string.
9633 2000-10-10 Martin Buchholz <martin@xemacs.org>
9635 * s/decosf1-3.h: Remove #include of stropts.h
9636 * s/ptx.h: Remove #include of stropts.h
9637 * s/usg5-4.h: Remove #include of stropts.h
9640 Use stropts.h, not sys/stropts.h.
9641 Use strtio.h, not sys/strtio.h.
9643 2000-10-04 Martin Buchholz <martin@xemacs.org>
9645 * XEmacs 21.2.36 is released.
9647 2000-09-21 Andy Piper <andy@xemacs.org>
9649 * glyphs-x.c (x_redisplay_widget): make sure non-structural
9650 changes still involve copying the widget tree.
9651 (update_widget_face): make sure a change is register in the widget
9652 tree. Call update_tab_widget_face appropriately.
9653 (update_tab_widget_face): ditto.
9654 (x_tab_control_redisplay): make sure non-structural changes still
9655 involve copying the widget tree.
9657 2000-08-31 Daiki Ueno <ueno@unixuser.org>
9659 * lread.c (locate_file): Check the path element is non-nil.
9661 2000-10-02 Martin Buchholz <martin@xemacs.org>
9663 * lisp.h: Warning suppression for SCO compilers.
9665 * redisplay-tty.c (reset_tty_modes): Fix crash.
9666 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
9668 2000-09-27 Martin Buchholz <martin@xemacs.org>
9670 Big signal/process handling overhaul. Bugs fixed:
9671 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
9672 M-x comint-kill-subjob should work for both values nil and t of
9673 process-connection-type. It was broken on most platforms.
9674 Testing on Irix and Cygwin still needed. Other plaforms tested.
9675 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
9676 * process-unix.c: Signal/Process handling overhaul.
9677 (pty_name): make 64 bytes, as `expect' does, for paranoia.
9678 (allocate_pty): Use all available modern methods of allocating
9679 ptys, falling back to old style BSD allocation as a last resort.
9680 Use allegedly more secure Unix98 pty allocation by default.
9681 (allocate_pty_the_old_fashioned_way): New. the last resort.
9682 (unix_create_process): Push ptem, ldterm, ttcompat where
9683 available. Autoconfiscate.
9684 (try_to_initialize_subtty): New.
9685 (unix_kill_child_process): Proper signal handling for ptys on most
9686 platforms, using special knowledge of AIX, BSD, etc...
9687 (unix_create_process): Always disconnect_controlling_terminal() for
9688 subprocesses, whether using ptys or not.
9689 * process.h: Remove old getpt-dependent PTY code.
9690 * process.c (Fprocess_send_signal): New, obvious generic function.
9691 (decode_signal): New.
9692 (Finterrupt_process):
9696 (Fcontinue_process):
9697 (Fsignal_process): Use decode_signal.
9698 (process_send_signal):
9699 Many docstring corrections.
9700 Allow any signal to be sent to a process object.
9701 * config.h.in: Add symbols for big signal/process overhaul.
9702 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
9703 * sysproc.h: Include process-related headers, where available:
9704 sys/stropts.h sys/strtio.h pty.h libutil.h
9712 Remove old S&M pty stuff.
9713 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
9714 * systty.h: Simplify cpp hackery, improve comments.
9715 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
9717 * editfns.c (Fformat_time_string):
9718 Be a little more paranoid with the return value of ctime.
9720 * fileio.c (check_executable):
9722 Use symbolic constants X_OK, W_OK.
9724 * console-x.c (split_up_display_spec): Fix a warning.
9726 2000-10-02 Martin Buchholz <martin@xemacs.org>
9728 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
9729 * ntproc.c (sys_spawnve): make_string ==> build_string
9730 Small clarity improvements.
9732 2000-09-30 Martin Buchholz <martin@xemacs.org>
9734 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
9736 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
9738 * config.h.in (HAVE_STRCASECMP): Remove.
9740 2000-09-29 Martin Buchholz <martin@xemacs.org>
9742 * redisplay-output.c (redisplay_output_pixmap):
9743 Cleaner and possibly more 64-bit correct code.
9745 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
9747 * dumper.c (pdump_load_finish): move restoration of
9748 `noninteractive1' to emacs.c (main_1).
9749 * emacs.c (main_1): protect LISP-visible command-line flags
9752 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
9754 * Makefile.in.in (versionclean): Use EXE_TARGET and
9755 DUMP_TARGET instead of literal program names.
9757 2000-09-20 Martin Buchholz <martin@xemacs.org>
9759 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
9761 2000-09-19 Martin Buchholz <martin@xemacs.org>
9763 * *: Spelling mega-patch
9765 2000-09-19 Martin Buchholz <martin@xemacs.org>
9767 * fns.c (bad_bad_turtle):
9768 Delete "Eek!" comment, since we fixed the bug to which it refers.
9770 2000-09-16 Martin Buchholz <martin@xemacs.org>
9772 * alloca.c: Replace REGISTER with register.
9774 2000-09-16 Daiki Ueno <ueno@unixuser.org>
9776 * file-coding.c (ucs_to_char): Use countof.
9778 2000-09-16 Martin Buchholz <martin@xemacs.org>
9780 * file-coding.c: (ucs_to_char):
9781 (complex_vars_of_file_coding):
9782 Use countof instead of sizeof.
9783 Use CHECK_NATNUM instead of CHECK_INT.
9785 * sysdep.c (strcasecmp): Remove.
9786 * device-x.c (ascii_strcasecmp): New.
9787 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
9788 Avoid using non-standard non-portable strcasecmp.
9790 2000-09-16 Martin Buchholz <martin@xemacs.org>
9792 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
9793 * font-lock.c: remove reference to emacsfns.h.
9794 * search.c: small doc improvement.
9795 * event-Xt.c: correct file names in comments.
9796 * console-x.h Correct file names in comments.
9797 * frame.c: Correct file names in comments.
9798 * event-stream.c: remove Energize from comments.
9800 2000-09-15 Martin Buchholz <martin@xemacs.org>
9802 * symeval.h (DEFERROR_STANDARD):
9805 (DEFSYMBOL_NO_DUMP):
9806 (DEFSYMBOL_MULTIWORD_PREDICATE):
9807 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
9809 The construct &##name is not sensible C.
9810 Fixes compilation errors with Unixware native compiler.
9812 2000-09-14 Martin Buchholz <martin@xemacs.org>
9814 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
9815 (next_frame_internal): Removed. We now just have next_frame.
9817 Write a simpler and cleaner one-pass algorithm.
9818 Remove called_from_delete_device arg and #ifdefed-out code.
9820 Renamed from prev_frame. Update callers.
9821 Cleaned up to have an analogous implementation to next_frame.
9822 (other_visible_frames_internal): Remove the
9823 called_from_delete_device bogus arg, and hence, remove this
9824 function. Just use other_visible_frames().
9826 * window.c (Fnext_window):
9828 Since next_frame() is guaranteed to return a frame, remove check
9829 for nil inserted in previous patch.
9832 Make code look more like Fnext_window.
9834 Respect the `console' arg when iterating through windows.
9835 Fixes bug: (get-buffer-window buffer t device) not respecting
9837 This function needs more work, as others have pointed out.
9839 * frame.h: Rename prev_frame to previous_frame.
9840 device_matches_console_spec no longer takes a `frame' arg.
9845 Use EMACS_BLOCK_SIGNAL instead of sigblock.
9846 From "Golubev I. N." <gin@mo.msk.ru>.
9848 * make-src-depend: Fix typo.
9850 2000-09-13 Martin Buchholz <martin@xemacs.org>
9852 * window.c (Fnext_window):
9853 next_frame() might return nil, not a frame.
9855 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
9857 * frame.c (next_frame_internal):
9858 We've passed a frame if we've passed its device.
9860 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
9861 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
9863 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
9865 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
9866 Allow option to suppress accelerators in menu/dialog items.
9867 (populate_or_checksum_helper): Pass dialog title through above.
9869 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
9871 * event-msw.c (mswindows_key_to_emacs_keysym):
9872 Add "pause" key, fix "menu" key.
9874 2000-09-09 Martin Buchholz <martin@xemacs.org>
9876 * eval.c (reinit_vars_of_eval):
9877 Increase max_lisp_eval_depth to 1000,
9878 required for thai-xtis.el to byte-compile under some circumstances.
9880 2000-09-04 Martin Buchholz <martin@xemacs.org>
9882 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
9885 2000-09-01 Martin Buchholz <martin@xemacs.org>
9887 * make-src-depend: Make the generated Makefiles smaller.
9889 * s/hpux.h (SETUP_SLAVE_PTY):
9890 Provide a %d in the format string for the errno argument.
9892 * editfns.c (Ftemp_directory):
9894 Avoid buffer overrun on very long file name.
9896 * input-method-xlib.c (XIM_init_device):
9897 6th parameter of XRegisterIMInstantiateCallback has different
9898 pointer types on different OSes, so simply cast to (void *).
9900 * unexhp9k800.c: Warning fixes. Fiddly changes.
9902 * sysdll.c (dll_open):
9903 shl_load will hang hard if passed a NULL filename.
9904 Simply return NULL for compatibility with dlopen.
9905 * sysdll.c: Conform to XEmacs coding standards.
9907 * sysdep.c (get_pty_max_bytes):
9908 Support pty input lines longer than 512 bytes on HP-UX 10.20.
9910 2000-08-31 Martin Buchholz <martin@xemacs.org>
9912 * tooltalk.c: Add #include <syssignal.h>
9914 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
9916 * s/hpux.h: Don't use undefined function sigunblock().
9918 2000-08-31 Martin Buchholz <martin@xemacs.org>
9920 * config.h.in: Add HAVE_BALLOON_HELP.
9921 * emacs.c: Use HAVE_BALLOON_HELP.
9922 * Makefile.in.in (x_objs):
9923 Make Balloon Help conditional on finding shape.h.
9925 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
9927 * syntax.c (regex_emacs_buffer_p): New variable.
9928 * syntax.h (regex_emacs_buffer_p): extern.
9929 * search.c (looking_at_1):
9931 (fast_string_match):
9932 (search_buffer): Set regex_emacs_buffer_p.
9933 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
9934 when before_dot, at_dot, after_dot.
9936 2000-08-23 Andy Piper <andy@xemacs.org>
9938 * gui-x.c (popup_selection_callback): Only set action_occurred
9939 when we really have an image instance.
9940 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
9942 2000-08-23 Andy Piper <andy@xemacs.org>
9944 * gui-msw.c (mswindows_handle_gui_wm_command): set
9946 * gui-x.c (popup_selection_callback): ditto.
9948 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
9949 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
9950 (struct Lisp_Image_Instance): add action_occurred flag.
9952 * glyphs.c (redisplay_subwindow): use action_occurred flag.
9953 (image_instance_changed): ditto.
9954 (reset_frame_subwindow_instance_cache): only unmap windows - do
9955 not remove them from the cache also.
9957 * glyphs-widget.c (tab_control_update): better debug.
9958 (progress_gauge_update): ditto.
9959 (layout_update): ditto.
9960 (layout_instantiate): ditto.
9961 (tab_control_order_only_changed): cope with null pending items.
9963 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
9964 debug. Force selection of an item when an action occurred. Cope
9965 with null pending_items.
9966 (mswindows_progress_gauge_redisplay): better debug.
9967 * glyphs-x.c (x_tab_control_redisplay): ditto.
9969 * redisplay.c (redisplay_frame): reset the frame cache if the
9972 * window.c (Fset_window_configuration): potentially re-enable
9974 (window_unmap_subwindows): need to finalize instances here since
9975 it is only used in mark_window_as_deleted.
9977 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
9979 * nas.c (SndOpenDataForReading):
9980 nas.c (WaveOpenDataForReading):
9981 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
9982 Somehow escaped from the 2000-08-14 patch.
9984 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
9986 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
9987 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
9989 2000-08-21 Andy Piper <andy@xemacs.org>
9991 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
9992 window if it is not already displayed.
9994 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
9995 it is not already displayed.
9997 * window.c (Fset_window_configuration): don't reset the frame
10000 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
10001 instances from the frame cache if we are actually finalizing them.
10002 (reset_frame_subwindow_instance_cache): reset frame cache only
10003 after unmapping everything.
10004 (map_subwindow): set displayed flag after mapping.
10006 2000-08-21 Martin Buchholz <martin@xemacs.org>
10008 * data.c (indirect_function):
10009 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
10011 * eval.c (function_argcount):
10012 Use original function when signaling errors.
10014 2000-08-18 Andy Piper <andy@xemacs.org>
10016 * frame.c (delete_frame_internal): use new
10017 free_frame_subwindow_instances name.
10019 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
10020 (add_tab_item): make return type correct.
10021 (mswindows_tab_control_instantiate): assert index of tab.
10022 (mswindows_tab_control_redisplay): Re-code to use
10023 gui_item_equal_sans_selected and gui_item_list_find_selected.
10025 * glyphs-widget.c (tab_control_update): Correct comment.
10027 * window.c (window_unmap_subwindows): use new
10028 unmap_subwindow_instance_cache_mapper.
10029 (window_unmap_subwindows_cache_mapper): deleted.
10030 (Fset_window_configuration): comparisons should now be with
10031 EQ. Preserve the subwindow instance cache across configuration
10033 (allocate_window): ditto.
10034 (make_dummy_parent): ditto.
10036 * glyphs.c (free_frame_subwindow_instances): rename from
10037 free_frame_subwindow_instance_cache. finalize all instances rather
10038 than just those in the display cache.
10039 (finalize_all_subwindow_instances): walk windows unmapping and
10040 finalizing subwindows.
10041 (unmap_subwindow_instance_cache_mapper): moved from
10042 window.c. Allow finalization as well as unmapping.
10044 * gui.c (gui_item_list_find_selected): new function.
10046 * gui.h (gui_item_list_find_selected): declare.
10048 * glyphs-x.c (x_tab_control_redisplay): pick tab
10049 explicitly. Re-code to use gui_item_equal_sans_selected and
10050 gui_item_list_find_selected.
10052 * glyphs-x.h: add lwlib-utils.h
10054 * buffer.c (Frecord_buffer): undo previous change.
10056 2000-08-09 Vin Shelton <acs@xemacs.org>
10058 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
10059 possible. Create temporary files more securely. The patch was
10060 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
10061 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
10062 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
10065 2000-08-07 Ben Wing <ben@xemacs.org>
10067 * getloadavg.c: remove duplicate (and windows-breaking)
10068 includes of fcntl.h and sys/file.h.
10070 * nt.c: remove duplicate getloadavg() definition.
10072 * sysdll.h (Qdll_filename_encoding): add missing stand-in
10075 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
10077 * eval.c (function_argcount): If function needs to be autoloaded
10078 actually use the loaded definition.
10081 2000-08-05 Ben Wing <ben@xemacs.org>
10083 * getloadavg.c: add prototype for getloadavg(). remove
10084 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
10085 of the code). remove duplicate header includes.
10087 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
10089 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
10090 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
10091 useful load average.
10093 * alloc.c (reinit_alloc_once_early): removed references to
10094 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
10095 the lisp vars are the only things referencing the malloc_sbrk_*
10096 vars, and they were already if 0'd out. these vars only exist
10097 in the older malloc.c, which is basically unused, and they're
10098 only for informational purposes.
10100 * m\*.h: removed useless VIRT_ADDR_VARIES.
10102 * m\powerpc.h: removed stray NO_ARG_ARRAY.
10104 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
10106 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
10107 color if the image is a mono pixmap.
10109 2000-07-30 Ben Wing <ben@xemacs.org>
10111 * Makefile.in.in (release):
10114 * buffer.c (directory_is_current_directory):
10115 * dired-msw.c (mswindows_get_files):
10117 * dired.c (Fdirectory_files):
10118 * dired.c (file_name_completion_stat):
10119 * dired.c (Ffile_attributes):
10120 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
10121 preprocessor tricks, to avoid problems on some machines
10124 * callproc.c (egetenv): GC docs.
10127 * console-msw.h (struct mswindows_dialog_id):
10128 * lrecord.h (lrecord_type):
10129 New object for use with MSW dialogs.
10131 * console.h (struct console_methods):
10132 New enable/disable frame methods, for proper modal dialogs.
10134 * device-msw.c (msprinter_default_printer): Fix to follow
10135 proper Mule conventions.
10138 * device-msw.c (signal_open_printer_error):
10139 * device-msw.c (msprinter_init_device):
10140 * device-msw.c (ensure_not_printing):
10141 * device-msw.c (plist_get_margin):
10142 * device-msw.c (Fmsprinter_select_settings):
10143 * device-msw.c (finalize_devmode):
10144 * device-msw.c (Fmsprinter_settings_despecialize):
10145 * device-msw.c (signal_enum_priner_error):
10146 * extents.c (decode_extent):
10147 * extents.c (decode_map_extents_flags):
10148 * extents.c (decode_extent_at_flag):
10149 * extents.c (Fextent_at):
10150 * extents.c (Fextents_at):
10151 * extents.c (symbol_to_glyph_layout):
10152 [[[[2]]]] Use structured errors.
10155 * dialog-msw.c (mswindows_is_dialog_msg):
10156 * dialog-msw.c (mark_mswindows_dialog_id):
10157 * dialog-msw.c (dialog_proc):
10158 * dialog-msw.c (handle_question_dialog_box):
10159 * dialog-msw.c (syms_of_dialog_mswindows):
10160 Define new object to clean up marking; use it as a dialog identifier.
10161 Call new delete-dialog-box-hook.
10163 * dialog-x.c (dbox_selection_callback):
10164 * dialog-x.c (dbox_descriptor_to_widget_value):
10165 * dialog-x.c (x_make_dialog_box_internal):
10166 Call new delete-dialog-box-hook.
10170 * dialog.c (syms_of_dialog):
10171 * dialog.c (vars_of_dialog):
10172 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
10175 * eval.c (signal_call_debugger):
10176 when noninteractive, output stack traces on the console instead
10177 of in a (never-seen) buffer.
10179 * eval.c (signal_type_error):
10180 * eval.c (invalid_argument_2):
10182 new funs for use w/structured errors.
10185 * event-Xt.c (x_to_emacs_keysym):
10186 * event-Xt.c (describe_event):
10187 * event-Xt.c (emacs_Xt_event_handler):
10188 * event-Xt.c (vars_of_event_Xt):
10190 * event-msw.c (mswindows_wnd_proc):
10191 * event-msw.c (vars_of_event_mswindows):
10192 rename {x,mswindows}-debug-events to debug-{}-events for
10193 consistency with other debug-foo variables.
10196 document next-event more clearly.
10198 * fileio.c (Ffile_name_directory):
10199 * fileio.c (Ffile_name_nondirectory):
10200 * fileio.c (Funhandled_file_name_directory):
10201 * fileio.c (file_name_as_directory):
10202 * fileio.c (Ffile_name_as_directory):
10203 * fileio.c (directory_file_name):
10204 * fileio.c (Fdirectory_file_name):
10205 * fileio.c (Fmake_temp_name):
10206 * fileio.c (Ffile_truename):
10207 * fileio.c (Fsubstitute_in_file_name):
10208 * fileio.c (expand_and_dir_to_file):
10209 * fileio.c (barf_or_query_if_file_exists):
10210 * fileio.c (check_executable):
10211 * fileio.c (Ffile_exists_p):
10212 * fileio.c (Ffile_writable_p):
10213 * fileio.c (Ffile_directory_p):
10214 * fileio.c (Ffile_regular_p):
10215 * fileio.c (Ffile_modes):
10216 * fileio.c (Ffile_newer_than_file_p):
10217 * fileio.c (Fverify_visited_file_modtime):
10218 * fileio.c (Fset_visited_file_modtime):
10219 * fileio.c (auto_save_1):
10224 * frame-msw.c (mswindows_init_frame_1):
10225 * frame-msw.c (mswindows_enable_frame):
10226 * frame-msw.c (error_frame_unsizable):
10227 * frame-msw.c (msprinter_init_frame_1):
10228 * frame-msw.c (msprinter_init_frame_3):
10229 * frame-msw.c (console_type_create_frame_mswindows):
10231 implement new enable/disable frame methods.
10234 * frame-x.c (x_enable_frame):
10235 * frame-x.c (console_type_create_frame_x):
10236 implement new enable/disable frame methods.
10239 * frame.c (Fdisable_frame):
10240 * frame.c (syms_of_frame):
10241 * frame.h (struct frame):
10242 implement new enable/disable frame methods/functions.
10247 * glyphs-msw.c (mswindows_widget_instantiate):
10248 comment that initial-focus should be implemented.
10251 * glyphs-widget.c (check_valid_instantiator):
10252 * glyphs-widget.c (check_valid_orientation):
10253 * glyphs-widget.c (check_valid_tab_orientation):
10254 * glyphs-widget.c (check_valid_justification):
10255 * glyphs-widget.c (check_valid_border):
10256 * glyphs-widget.c (check_valid_callback):
10257 * glyphs-widget.c (check_valid_int_or_function):
10258 * glyphs-widget.c (check_valid_string_or_vector):
10259 * glyphs-widget.c (check_valid_item_list_1):
10260 * glyphs-widget.c (widget_validate):
10261 * glyphs-widget.c (combo_box_validate):
10262 * glyphs-widget.c (widget_instantiate):
10263 * glyphs-widget.c (syms_of_glyphs_widget):
10264 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
10265 * glyphs-widget.c (image_instantiator_combo_box):
10266 * glyphs-widget.c (image_instantiator_scrollbar):
10267 * glyphs-widget.c (image_instantiator_tab_control):
10268 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
10270 support (unimplemented) keyword initial-focus.
10271 reindent long macros.
10273 * glyphs-x.c (x_redisplay_widget):
10274 * glyphs-x.c (x_button_instantiate):
10275 * glyphs-x.c (x_button_redisplay):
10276 * glyphs-x.c (x_progress_gauge_instantiate):
10277 * glyphs-x.c (x_edit_field_instantiate):
10278 * glyphs-x.c (x_combo_box_instantiate):
10279 * glyphs-x.c (x_tab_control_instantiate):
10280 * glyphs-x.c (x_label_instantiate):
10282 * gui-x.c (button_item_to_widget_value):
10283 * gui-x.c (gui_items_to_widget_values_1):
10284 * gui-x.c (gui_item_children_to_widget_values):
10285 * gui-x.c (gui_items_to_widget_values):
10287 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10288 add new flag to gui-parsing routines to indicate whether
10289 accelerator specs should be supported.
10291 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
10293 * glyphs.h (struct Lisp_Image_Instance):
10294 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
10295 add initial-focus flag.
10298 * gui.c (syms_of_gui):
10299 * gui.c (vars_of_gui):
10300 clean up menu-no-selection-hook.
10303 support delete-dialog-box-hook.
10305 * lread.c (Fload_internal):
10306 * lread.c (locate_file_in_directory_mapper):
10310 * lrecord.h (struct toolbar_button):
10311 * lrecord.h (syms_of_toolbar):
10312 document how to create a new object.
10314 * menubar-msw.c (mswindows_char_is_accelerator):
10315 may be called on frames w/o menus.
10317 * menubar.c (vars_of_menubar):
10318 clean up :filter docs.
10325 * process-nt.c (validate_signal_number):
10326 * process-nt.c (signal_cannot_launch):
10327 * process-nt.c (nt_create_process):
10328 * process-nt.c (nt_send_process):
10329 * process-nt.c (nt_kill_child_process):
10330 * process-nt.c (nt_open_network_stream):
10331 * process-nt.c (syms_of_process_nt):
10333 delete quote-handling. call new lisp code that does it better.
10335 * process-unix.c (connect_to_file_descriptor):
10336 * process-unix.c (allocate_pty):
10337 * process-unix.c (unix_send_process):
10338 * process-unix.c (unix_kill_child_process):
10339 * process-unix.c (unix_open_network_stream):
10340 * process-unix.c (unix_open_multicast_group):
10344 * process.c (Fstart_process_internal):
10345 (2). need to canonicalize process path even if absolute.
10347 * select-msw.c (symbol_to_ms_cf):
10348 * select-msw.c (ms_cf_to_symbol):
10349 * select-msw.c (cf_is_autofreed):
10350 * select-msw.c (mswindows_destroy_selection):
10352 * select.c (syms_of_select):
10354 support dibv5, fix bugs. (from Mike Alexander)
10356 * select.c (Fget_selection_internal):
10357 * select.c (select_convert_out):
10360 * sysdep.c (xemacs_stat):
10363 * sysdep.c (mkdir):
10364 * sysdep.c (rmdir):
10365 but keep original stat() here because we provide encapsulation
10369 * sysfile.h (fstat):
10370 remove stat garbage.
10373 fix X/MSW conflict.
10374 don't include tchar.h. it's inappropriate because it makes
10375 compile-time distinctions when we want runtime distinctions.
10376 (we provide our own tchar replacements)
10379 use default object printer for toolbar-button.
10382 make sure we don't encapsulate.
10384 * window.c (vars_of_window):
10385 emphasize that temp-buffer-show-hook is obsolete.
10387 2000-08-05 Martin Buchholz <martin@xemacs.org>
10389 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
10390 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
10392 * events.c (Fevent_timestamp_lessp):
10393 Not 64-bit clean. Use EMACS_INT, not int.
10395 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
10397 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
10398 unsigned int and changed the last enum to
10399 lrecord_type_last_built_in_type.
10400 (lrecord_implementations_table): changed prototype to know how
10401 long the array is supposed to be.
10402 (lrecord_type_count): new unsigned int to keep track of the
10403 current number of lisp lrecord types.
10404 (DEFINE_EXTERNAL_LRECORD):
10405 (DECLARE_EXTERNAL_LRECORD): Added these two for external
10406 dynamic-modules to declare new lisp types. They are the same
10407 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
10408 int for each new type, and increment lrecord_type_count by 1.
10410 * alloc.c (lrecord_implementations_table): Changed to reference
10411 lrecord_type_last_built_in_type for the size of the array.
10412 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
10414 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
10416 * glyphs.h (check_valid_item_list): Renamed from
10417 check_valid_item_list_1.
10419 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
10421 * select.c (Qselect_coerce): New.
10422 * select.c (Vselection_coercion_alist): New.
10423 * select.c (syms_of_select): Declare.
10424 * select.c (get-selection-internal): Use it.
10425 Use the new select-coerce functionality.
10427 * select.c (select_coerce): New.
10428 * select.h (select_coerce): Declare.
10429 New function to coerce one type of data into another.
10431 2000-08-03 Martin Buchholz <martin@xemacs.org>
10433 * callproc.c (Fcall_process_internal):
10434 (Fcall_process_internal):
10435 * process-unix.c (unix_create_process):
10436 Save and restore the value of errno, so that error messages are accurate.
10438 2000-08-01 Martin Buchholz <martin@xemacs.org>
10440 * elhash.c (print_hash_table):
10441 Fix printing of hash tables to also use `key-and-value' instead of `t'.
10442 Prettify docstrings and indentation.
10444 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
10446 * window.c (Fwindow_pixel_edges): Subtract frame border and
10449 2000-07-31 Andy Piper <andy@xemacs.org>
10451 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
10452 will acknowledge the change.
10454 * glyphs.h: declare tab_control_order_only_changed.
10456 * glyphs-x.c (x_tab_control_redisplay): use
10457 tab_control_order_only_changed.
10459 * glyphs-widget.c (tab_control_order_only_changed): new function.
10461 * glyphs-msw.c (mswindows_tab_control_redisplay): use
10462 tab_control_order_only_changed.
10464 * gui.c (gui_item_equal_sans_selected): new function.
10465 (gui_item_equal): use it.
10467 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
10468 :properties in favor of :items..
10470 * glyphs-widget.c (check_valid_item_list): rename from
10471 check_valid_item_list_1.
10472 (check_valid_item_list_1): renamed.
10473 (combo_box_validate): deprecate :properties in favor of :items.
10474 (widget_instantiate): ditto.
10475 (tab_control_update): ditto.
10476 (image_instantiator_combo_box): ditto.
10477 (image_instantiator_tree_view): ditto.
10478 (image_instantiator_tab_control): ditto.
10479 (layout_post_instantiate): remove dead code.
10481 * print.c (debug_print_no_newline): only write to debugger if in
10484 * elhash.c (Fmake_hash_table): update doc string.
10486 * event-msw.c (mswindows_wnd_proc): don't allow processing of
10487 messages whilst in GC. This at least stops XEmacs crashing but has
10488 the potential for wierd behaviour.
10490 2000-07-31 Martin Buchholz <martin@xemacs.org>
10493 Make existence of s&m files optional.
10495 * s/bsd386.h: Remove HAVE_GETLOADAVG.
10496 * s/freebsd.h: Remove HAVE_GETLOADAVG.
10497 * s/gnu.h: Remove HAVE_GETLOADAVG.
10498 * s/netbsd.h: Remove HAVE_GETLOADAVG.
10499 * s/sol2.h: Remove HAVE_GETLOADAVG.
10500 * lisp.h: Remove getloadavg() declaration.
10502 Include <sys/loadavg.h> if available.
10503 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
10504 * config.h.in: Group together getloadavg()-related macros.
10505 Use only configure-time tests to detect getloadavg().
10507 2000-07-30 Martin Buchholz <martin@xemacs.org>
10509 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
10511 2000-07-25 Andy Piper <andy@xemacs.org>
10513 * syswindows.h: add tchar.h for native builds.
10515 * frame.c (syms_of_frame): remove set-glyph-image.
10517 * general-slots.h: add Qset_glyph_image.
10519 * glyphs-widget.c (layout_update): add domain arg to
10521 (syms_of_glyphs_widget): remove set-glyph-image.
10523 2000-07-23 Ben Wing <ben@xemacs.org>
10525 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
10528 2000-07-22 Andy Piper <andy@xemacs.org>
10530 * symsinit.h: add syms_of_win32().
10532 * gui-msw.c (syms_of_gui_mswindows): remove
10533 Fmswindows_shell_execute.
10534 (Fmswindows_shell_execute): moved to win32.c.
10536 * emacs.c (main_1): add syms_of_win32 ().
10538 * win32.c (init_potentially_nonexistent_functions): rewrite in
10539 compiler-friendly terms.
10540 (Fmswindows_shell_execute): move here from gui-msw.c.
10541 (syms_of_win32): new.
10543 * device-msw.c (Fmswindows_printer_list): clean up args to
10545 Don't include tchar under cygwin or mingw.
10546 (msprinter_default_printer): make cygwin-friendly.
10548 2000-07-21 Andy Piper <andy@xemacs.org>
10550 * glyphs-widget.c (image_instantiator_tree_view): use tab
10551 control's update function.
10552 (layout_property): new function. Retrieve items.
10554 * glyphs-msw.c (mswindows_tree_view_redisplay): new
10555 function. Re-populate the tree view from the pending items.
10557 * glyphs.c (instantiate_image_instantiator): Make sure the domain
10558 is designated the parent if the domain is an image instance. This
10559 is needed so that dirtiness can be cascade up the hierarchy and
10560 thus for layout children to be redisplayed correctly.
10561 (allocate_image_instance): rename glyph -> parent.
10563 * redisplay.h: change redisplay_output_layout signature.
10565 * redisplay-msw.c (mswindows_output_display_block): use domain
10568 * redisplay-x.c (x_output_display_block): use domain arg.
10570 2000-07-10 Andy Piper <andy@xemacs.org>
10572 * window.c (Fset_window_configuration): add comment.
10574 * redisplay-output.c (compare_runes):
10575 (redisplay_output_subwindow): redisplay rather than update subwindow.
10576 (redisplay_output_layout): ditto.
10578 * redisplay-msw.c (mswindows_frame_output_end):
10579 (mswindows_frame_output_end): make defer window pos optional.
10581 * lisp.h: add Flast.
10583 * glyphs.h (struct image_instantiator_methods): add dest_mask top
10584 normalize method. Change update method to be for changed
10585 instantiators. Add redisplay method. Change signature of layout
10587 (struct Lisp_Image_Instance): add instantiator.
10588 (IMAGE_INSTANCE_INSTANTIATOR): new.
10589 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
10590 (XIMAGE_INSTANCE_INSTANTIATOR): new.
10591 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
10594 (find_instantiator_differences): new function.
10595 (Fset_instantiator_property): new convenience function.
10596 (check_image_instance_structure): strictly check for vector
10598 (normalize_image_instantiator): make non-static.
10599 (instantiate_image_instantiator): pass on dest_mask and use new
10600 signatures for image_instance_layout and friends.
10601 (mark_image_instance): mark the instantiator. Mark the subwindow
10602 face not the widget face.
10603 (image_instance_equal): add instantiator.
10604 (image_instance_hash): ditto.
10605 (allocate_image_instance): ditto.
10606 (Fset_image_instance_property): removed.
10607 (Fimage_instance_file_name): ditto.
10608 (Fcolorize_image_instance): ditto.
10609 (image_instance_layout): add offsets to be set.
10610 (update_image_instance): new function. update an image instance
10611 from its changed instantiator.
10612 (inherit_normalize): add dest_mask.
10613 (xbm_normalize): ditto.
10614 (xface_normalize): ditto.
10615 (xpm_normalize): ditto.
10616 (text_update): set_property -> update.
10617 (image_instantiate): use the glyph identity as a hash key, not the
10619 (glyph_width): use new image_instance_layout signature.
10620 (glyph_ascent): ditto.
10621 (glyph_descent): ditto.
10622 (glyph_height): ditto.
10623 (glyph_query_geometry): ressurrect.
10624 (glyph_layout): ditto.
10625 (redisplay_subwindow): update -> redisplay.
10626 (syms_of_glyphs): add Fset_instantiator_property.
10627 (image_instantiator_format_create): set_property -> update.
10630 (autodetect_normalize): add dest_maks to signature.
10631 (x_redisplay_subwindow): update -> redisplay.
10632 (x_redisplay_widget): ditto.
10633 (x_button_redisplay): ditto.
10634 (x_progress_gauge_redisplay): ditto.
10635 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
10637 (console_type_create_glyphs_x): update -> redisplay.
10638 (image_instantiator_format_create_glyphs_x): ditto.
10641 (check_valid_instantiator): disallow glyphs in the instantiator,
10642 they must now be vectors.
10643 (check_valid_instantiator_list): ditto.
10644 (glyph_instantiator_to_glyph): use internal symbol rather than
10646 (widget_update): renamed from widget_set_property. Call cascaded
10648 (redisplay_widget): renamed from update_widget.
10649 (widget_layout): image_instance_layout now takes position as well
10651 (widget_normalize): ditto.
10652 (widget_instantiate): ditto.
10653 (tab_control_query_geometry) ditto.:
10654 (tab_control_update): renamed from tab_control_set_property.
10655 (progress_gauge_update): set_property -> update.
10656 (layout_normalize): rewrite so that child instantiators are
10658 (layout_update): new function. Create glyphs from the normalized
10659 children and cope with any other layout keywords. We do not
10660 instantiate children here that will be take care of by
10661 redisplay_output_layout.
10662 (layout_instantiate): call layout_update and not much else.
10663 (layout_post_instantiate): not sure whether this is needed
10665 (layout_query_geometry): query glyph geometry rather than
10666 image_instance geometry.
10667 (layout_layout): set offsets from pass in parameters. Use glyph
10668 geometry and layout functions rather than image instance ones.
10669 (native_layout_layout): ditto.
10670 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
10671 (image_instantiator_widget): set_property -> update.
10672 (image_instantiator_buttons): ditto.
10673 (image_instantiator_progress_guage): ditto.
10674 (image_instantiator_tab_control): ditto.
10675 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
10676 (image_instantiator_layout): add update method.
10678 * glyphs-msw.c (bmp_normalize):
10679 (mswindows_resource_normalize): add dest_mask so that it can be
10680 proprogated by layout_normalize.
10681 (begin_defer_window_pos): make optional because it may not be the
10682 right thing to do and it introduces differences with X.
10683 (mswindows_unmap_subwindow): ditto.
10684 (mswindows_map_subwindow): ditto.
10685 (mswindows_redisplay_subwindow): renamed from
10686 mswindows_update_subwindow.
10687 (mswindows_redisplay_widget): ditto.
10688 (mswindows_button_redisplay): renamed from
10689 mswindows_button_update. Update is now what the instantiation
10690 function does for a changed instantiator.
10691 (mswindows_progress_gauge_instantiate): set the progress value
10692 here if appropriate.
10693 (mswindows_tab_control_redisplay): cope with re-ordering of the
10694 members of the tab widget by simply selecting the new top
10695 widget. This makes things appear ok if you click on a tab.
10696 (mswindows_combo_box_instantiate): image_instance_layout now takes
10697 position as well as size.
10698 (mswindows_progress_gauge_redisplay): renamed from
10699 mswindows_progress_gauge_update.
10700 (console_type_create_glyphs_mswindows): fix update -> redisplay.
10701 (image_instantiator_format_create_glyphs_mswindows): ditto.
10703 * glyphs-eimage.c (jpeg_normalize):
10706 (tiff_normalize): add dest_mask so that it can be proprogated by
10710 (print_hash_table):
10711 (hash_table_weakness_validate):
10712 (decode_hash_table_weakness):
10713 (Fhash_table_weakness):
10714 (Fhash_table_type):
10715 (syms_of_elhash): use Ben's naming scheme for hashtable types..
10717 * console.h (struct console_methods): move update_* to
10720 2000-07-20 Ben Wing <ben@xemacs.org>
10722 * *.[ch] (XSETOBJ): remove unused middle argument.
10723 lisp-disunion.h: correct wrap_object() to one argument.
10725 2000-07-15 Ben Wing <ben@xemacs.org>
10728 * s/cygwin32.h (CYGWIN_CONV_PATH):
10729 Add missing logb prototype for v1.1.
10730 Use post-b20 names and alias to pre-b20 names when pre-b20.
10732 * s/windowsnt.h: [5].
10734 2000-07-15 Ben Wing <ben@xemacs.org>
10736 * Makefile.in.in (x_objs):
10737 * Makefile.in.in (sheap_objs):
10738 * Makefile.in.in (objs):
10739 added win32.o, cosmetic cleanups.
10741 * alloc.c (Fmake_byte_code):
10742 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
10743 etc. macros which declare their own args now.
10745 * alloc.c (syms_of_alloc):
10746 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
10749 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
10751 * buffer.c (Fget_file_buffer):
10752 Fixed GCPRO problem.
10754 * buffer.c (get_truename_buffer):
10755 Fixed comment about GC checking.
10757 * buffer.c (syms_of_buffer):
10758 Undeclared those dedicated frame funs.
10762 Define convenience macros for internal/external conversions.
10763 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
10764 and Qenvironment_variable_encoding for cleaner code.
10767 Remove dedicated-frame; in lisp.
10769 * bytecode.c (funcall_compiled_function):
10772 * bytecode.c (syms_of_bytecode):
10776 * console-msw.c (mswindows_show_console): Rewrote.
10778 * console-msw.c (Fmswindows_debugging_output): New.
10779 Sends to OutputDebugString (special MSWin debugger interface).
10781 * console-msw.c (Fmswindows_message_box):
10782 Fixed stupid bugs so it works when called from kill-emacs.
10784 * console-msw.c (syms_of_console_mswindows):
10785 Declare Fmswindows_debugging_output.
10788 New MSWin prototypes.
10790 * console-msw.h (struct mswindows_frame):
10791 New entry last-click-mods for improved button-modifier support.
10793 * console-msw.h (FRAME_MSWINDOWS_POPUP):
10794 New struct entry `popup' with corresponding accessor.
10797 * console-x.c (split_up_display_spec):
10798 * console-x.c (get_display_arg_connection):
10799 * console-x.c (x_semi_canonicalize_console_connection):
10800 * console-x.c (x_canonicalize_device_connection):
10801 [[[6]]]: Change char to more specific type.
10802 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
10804 * console-x.c (x_semi_canonicalize_console_connection):
10805 * console-x.c (x_canonicalize_device_connection):
10806 [[[9]]]: Fix up error signalling to use new structured error system.
10809 [[[4]]]: Define codesys aliases:
10810 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
10811 Qx_color_name_encoding, Qx_display_name_encoding.
10813 * console.h (struct console_methods):
10814 New method make_dialog_box_internal supersedes older
10815 popup_dialog_box method.
10818 Define many new errors, part of new structured errors.
10820 * data.c (init_errors_once_early):
10821 * data.c (syms_of_data):
10824 * device-msw.c (mswindows_init_device):
10825 [[[5]]]: Cleanup to support NT 3.51.
10827 * device-msw.c (decode_devmode): Cleanup.
10829 * device-msw.c (mswindows_handle_print_setup_dialog_box):
10830 * device-msw.c (mswindows_handle_print_dialog_box):
10831 * device-msw.c (mswindows_handle_page_setup_dialog_box):
10832 * device-msw.c (syms_of_device_mswindows):
10833 Delete the dialog box primitives recently introduced by Kirill and
10834 instead interface to general dialog box interface.
10837 * device-x.c (compute_x_app_name):
10838 * device-x.c (x_init_device):
10839 * device-x.c (Fx_valid_keysym_name_p):
10840 * device-x.c (Fx_set_font_path):
10844 * device.h (wrap_device): New.
10845 First of its kind; meant to replace XSETDEVICE.
10847 * dialog-msw.c: Many file-dialog symbols.
10849 * dialog-msw.c (mswindows_register_popup_frame): New.
10850 * dialog-msw.c (mswindows_is_dialog_msg): New.
10851 For supporting kbd traversal in dialog boxes.
10853 * dialog-msw.c (dialog_proc):
10854 Support hitting ESC in dialogs.
10856 * dialog-msw.c (struct):
10857 Common dialog box errors.
10859 * dialog-msw.c (handle_file_dialog_box): New.
10860 Add file dialog code.
10862 * dialog-msw.c (handle_question_dialog_box):
10863 Redo existing code to support new question dialog syntax.
10865 * dialog-msw.c (console_type_create_dialog_mswindows):
10866 We support new dialog console method.
10868 * dialog-msw.c (syms_of_dialog_mswindows):
10869 * dialog-msw.c (vars_of_dialog_mswindows):
10870 New file dialog symbols, vars.
10873 * dialog-x.c (maybe_run_dbox_text_callback):
10874 * dialog-x.c (dbox_descriptor_to_widget_value):
10875 * dialog-x.c (x_make_dialog_box_internal):
10876 * dialog-x.c (console_type_create_dialog_x):
10877 Mule-ize entire file.
10878 Redo to support question dialog syntax.
10882 * dialog.c (Fmake_dialog_box_internal):
10883 * dialog.c (syms_of_dialog):
10884 Kill old popup-dialog-box, replace with new primitive.
10885 Just call device method or signal error.
10887 * eldap.c (Fldap_open):
10888 * eldap.c (Fldap_search_basic):
10889 * eldap.c (Fldap_add):
10890 * eldap.c (Fldap_modify):
10895 * emacs.c (make_arg_list_1):
10896 * emacs.c (make_arg_list):
10897 Mule-ize call to dll_init().
10901 * emacs.c (make_argc_argv):
10902 * emacs.c (free_argc_argv):
10903 * emacs.c (init_cmdargs):
10904 * emacs.c (main_1):
10905 * emacs.c (Fkill_emacs):
10906 * emacs.c (Fdump_emacs):
10907 Update comments about what can be used in syms_* etc.
10908 Call init_win32() when necessary.
10909 Fix up MS Win dialog box in kill-buffer to actually work right.
10920 * eval.c (condition_case_3):
10922 * eval.c (function_argcount):
10923 * eval.c (funcall_lambda):
10926 * eval.c (type_error): New.
10927 * eval.c (maybe_type_error): New.
10928 * eval.c (continuable_type_error): New.
10929 * eval.c (maybe_continuable_type_error): New.
10930 * eval.c (type_error_with_frob): New.
10931 * eval.c (maybe_type_error_with_frob): New.
10932 * eval.c (continuable_type_error_with_frob): New.
10933 * eval.c (maybe_continuable_type_error_with_frob): New.
10934 New functions for use with structured errors.
10937 * event-Xt.c (x_event_to_emacs_event):
10938 Buttons are now modifiers too.
10940 * event-Xt.c (emacs_Xt_current_event_timestamp):
10941 Implement new event method.
10942 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
10945 * event-msw.c (ntpipe_shove_writer): [5].
10946 * event-msw.c (mswindows_enqueue_mouse_button_event):
10947 * event-msw.c (mswindows_drain_windows_queue):
10948 * event-msw.c (mswindows_wnd_proc): [7].
10949 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
10950 * event-msw.c (mswindows_modifier_state):
10951 Throughout: support new button modifiers.
10953 * event-msw.c (emacs_mswindows_current_event_timestamp):
10954 Implement new event method.
10955 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
10958 * event-stream.c (event_stream_current_event_timestamp): New.
10959 * event-stream.c (maybe_kbd_translate): New functionality.
10960 * event-stream.c (vars_of_event_stream):
10961 Document new kbd-translate-table functionality.
10963 * event-stream.c (Fcurrent_event_timestamp): New.
10964 New primitive for use in fabricated events.
10965 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
10967 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
10970 * events.c (Fmake_event):
10971 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
10975 * events.c (format_event_object): fix gcc warnings.
10977 * events.c (Fevent_timestamp): Document new primitives.
10979 * events.c (TIMESTAMP_HALFSPACE): New.
10981 * events.c (Fevent_timestamp_lessp): New. New primitive for
10982 comparing timestamps correctly (half-space algorithm).
10984 * events.c (Fevent_modifier_bits): Doc fix.
10986 * events.c (Fevent_modifiers): Major doc addition.
10987 * events.c (event_x_y_pixel_internal): Typo fix.
10988 * events.c (syms_of_events): Declare new primitives.
10991 Update long comment for button modifiers, timestamps.
10993 * events.h (struct event_stream):
10994 New current_event_timestamp method.
10997 * extents.c (extent_in_region_p):
10998 * extents.c (decode_extent):
10999 * extents.c (Fset_extent_parent):
11000 * extents.c (decode_map_extents_flags):
11004 * extents.c (struct extent_at_arg):
11005 * extents.c (decode_extent_at_flag):
11006 * extents.c (extent_at_mapper):
11007 * extents.c (extent_at_bytind):
11008 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
11009 * extents.c (Fextents_at): New primitive. [9].
11010 * extents.c (symbol_to_glyph_layout): [9].
11011 Support new primitive `extents-at'.
11014 * extents.c (get_text_property_bytind):
11015 extent_at_bytind has another arg.
11018 * extents.c (syms_of_extents): New primitive.
11020 * file-coding.c (Fmake_coding_system): [1].
11021 * file-coding.c (subsidiary_coding_system): fix gcc warning
11022 * file-coding.c (syms_of_file_coding): [2].
11024 * fileio.c (Fexpand_file_name):
11025 * fileio.c (Fsysnetunam):
11026 * fileio.c (Ffile_exists_p):
11027 * fileio.c (Ffile_executable_p):
11028 * fileio.c (Fverify_visited_file_modtime):
11031 * fileio.c (syms_of_fileio): [2].
11033 * filelock.c (lock_file_1):
11034 * filelock.c (current_lock_owner):
11035 * filelock.c (lock_if_free):
11036 * filelock.c (lock_file):
11037 * filelock.c (unlock_file):
11040 * fns.c (concat): Fix gcc warning.
11043 * fns.c (Fold_member):
11045 * fns.c (Fold_memq):
11046 * fns.c (memq_no_quit):
11048 * fns.c (Fold_assoc):
11050 * fns.c (Fold_assq):
11051 * fns.c (assq_no_quit):
11053 * fns.c (Fold_rassoc):
11055 * fns.c (Fold_rassq):
11056 * fns.c (rassq_no_quit):
11058 * fns.c (Fold_delete):
11060 * fns.c (Fold_delq):
11061 * fns.c (delq_no_quit):
11062 * fns.c (Fremassoc):
11063 * fns.c (Fremassq):
11064 * fns.c (remassq_no_quit):
11065 * fns.c (Fremrassoc):
11066 * fns.c (Fremrassq):
11067 * fns.c (remrassq_no_quit):
11068 * fns.c (Freverse):
11072 * frame-msw.c (mswindows_init_frame_1):
11073 * frame-msw.c (mswindows_delete_frame):
11074 Register popups with dialog code so keyboard traversing works.
11076 * frame-tty.c (tty_raise_frame_no_select): [1].
11079 * frame-x.c (x_set_frame_text_value):
11080 * frame-x.c (x_set_frame_properties):
11081 * frame-x.c (x_create_widgets):
11085 * frame.c (Fmouse_pixel_position): Minor doc fixes.
11087 * frame.h (wrap_frame): New.
11088 Macro like wrap_device.
11091 * general.c (SYMBOL):
11092 * general.c (syms_of_general):
11093 Major reorg. This is now just a wrapper and symbols themselves
11094 are listed in general-slots.h.
11096 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
11097 * glyphs-msw.c (mswindows_resource_instantiate): [5].
11099 * glyphs-msw.c (mswindows_native_layout_instantiate):
11100 Add DS_CONTROL so keyboard traversal will work.
11103 * glyphs-widget.c (syms_of_glyphs_widget):
11104 Move some symbols to general-slots.h.
11107 * glyphs-x.c (xbm_instantiate_1):
11108 * glyphs-x.c (x_xbm_instantiate):
11109 * glyphs-x.c (x_xface_instantiate):
11110 * glyphs-x.c (autodetect_instantiate):
11111 * glyphs-x.c (cursor_font_instantiate):
11112 * glyphs-x.c (x_update_widget):
11113 * glyphs-x.c (x_widget_instantiate):
11114 * glyphs.c (bitmap_to_lisp_data):
11115 * glyphs.c (pixmap_to_lisp_data):
11118 * glyphs.c (syms_of_glyphs):
11122 * gui-x.c (print_widget_value):
11123 * gui-x.c (menu_separator_style_and_to_external):
11124 * gui-x.c (add_accel_and_to_external):
11125 * gui-x.c (button_item_to_widget_value):
11126 * gui-x.c (gui_items_to_widget_values_1):
11127 * gui-x.c (gui_items_to_widget_values):
11128 * gui-x.c (syms_of_gui_x):
11129 * gui-x.c (vars_of_gui_x):
11130 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
11134 Muleize, prototype changes matching gui-x.c.
11137 * gui.c (separator_string_p):
11138 * gui.c (gui_item_add_keyval_pair):
11139 * gui.c (make_gui_item_from_keywords_internal):
11140 * gui.c (signal_too_long_error):
11141 * gui.c (parse_gui_item_tree_item):
11142 * gui.c (syms_of_gui):
11143 * gui.c (vars_of_gui):
11145 menu-no-selection-hook moved here (used by MSWin).
11146 Move some symbols to general-slots.h.
11150 * insdel.c (get_buffer_pos_char):
11151 * insdel.c (get_buffer_range_char):
11154 * keymap.c (keymap_lookup_directly):
11155 * keymap.c (keymap_store):
11156 * keymap.c (ensure_meta_prefix_char_keymapp):
11157 * keymap.c (describe_map):
11159 Support new button modifiers.
11161 * lisp-disunion.h (wrap_object):
11162 * lisp-disunion.h (XSETOBJ):
11163 Rename make_obj to wrap_object.
11166 * lisp-union.h (make_int):
11167 * lisp-union.h (make_char):
11168 Support wrap_object.
11171 * lisp.h (LIST_LOOP):
11172 * lisp.h (EXTERNAL_LIST_LOOP):
11173 * lisp.h (LIST_LOOP_2):
11174 * lisp.h (EXTERNAL_LIST_LOOP_1):
11175 * lisp.h (EXTERNAL_LIST_LOOP_2):
11176 * lisp.h (EXTERNAL_LIST_LOOP_3):
11177 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
11178 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
11179 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
11180 * lisp.h (EXTERNAL_ALIST_LOOP_5):
11181 * lisp.h (EXTERNAL_ALIST_LOOP_6):
11182 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
11183 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
11184 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
11185 * lisp.h (struct Lisp_Symbol):
11186 * lisp.h (maybe_continuable_error_with_frob):
11187 Fix up section comments.
11188 Add new types for char to indicate usage.
11189 Delete symbols auto-generated from general-slots.h.
11190 Add prototypes for structured error functions.
11191 Add long comments describing looping macros and change interface
11192 so that lvalues are automatically declared.
11193 Add NO_DECLARE macro in case callers want to declare lvalues
11196 * lread.c (read_syntax_error):
11197 * lread.c (continuable_read_syntax_error):
11198 * lread.c (read_structure):
11199 * lread.c (sequence_reader):
11200 * lread.c (read_list_conser):
11201 * lread.c (read_compiled_function):
11202 Rename syntax_error and continuable_syntax_error to avoid clash
11203 with same-named structured error functions.
11205 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11206 * menubar-msw.c (populate_menu_add_item):
11207 * menubar-msw.c (populate_or_checksum_helper):
11212 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11213 Mule-ize whole file.
11215 * menubar.c (Fnormalize_menu_item_name): Add optimization.
11217 * mule-charset.c (Fmake_charset):
11218 * mule-wnnfns.c (Fwnn_set_param):
11221 * ntproc.c (create_child):
11222 * ntproc.c (Fwin32_set_current_locale):
11223 Add comments portending doom.
11226 * objects-msw.c (old_font_enum_callback_2):
11227 * objects-msw.c (font_enum_callback_1):
11228 * objects-msw.c (mswindows_enumerate_fonts):
11232 * objects-x.c (allocate_nearest_color):
11233 * objects-x.c (x_parse_nearest_color):
11234 * objects-x.c (x_initialize_color_instance):
11235 * objects-x.c (x_print_color_instance):
11236 * objects-x.c (x_finalize_color_instance):
11237 * objects-x.c (x_valid_color_name_p):
11238 * objects-x.c (x_initialize_font_instance):
11239 * objects-x.c (x_print_font_instance):
11240 * objects-x.c (valid_x_font_name_p):
11241 * objects-x.c (truename_via_FONT_prop):
11242 * objects-x.c (truename_via_random_props):
11243 * objects-x.c (truename_via_XListFonts):
11244 * objects-x.c (x_font_truename):
11245 * objects-x.c (x_font_instance_truename):
11246 * objects-x.c (x_font_instance_properties):
11247 * objects-x.c (x_list_fonts):
11248 * objects-x.c (x_find_charset_font):
11249 Mule-ize entire file.
11256 * print.c (std_handle_out_external):
11257 * print.c (debug_print_no_newline):
11258 * print.c (syms_of_print):
11259 Output to all debugger kinds in debug-print.
11260 Fix console-output code under MSWin to actually work.
11262 * process-nt.c (send_signal):
11263 * process-nt.c (nt_create_process):
11264 Use newer Unicode macros.
11266 * process-unix.c (unix_create_process):
11267 * process-unix.c (unix_canonicalize_host_name):
11268 * process-unix.c (unix_open_network_stream):
11274 * search.c (syms_of_search):
11277 * select-msw.c (mswindows_destroy_selection):
11280 * select-x.c (symbol_to_x_atom):
11283 * select.c (syms_of_select):
11286 * sound.c (Fplay_sound_file):
11290 * specifier.c (decode_specifier_type):
11291 * specifier.c (Fvalid_specifier_locale_type_p):
11292 * specifier.c (check_valid_locale_or_locale_type):
11293 * specifier.c (decode_locale):
11294 * specifier.c (decode_locale_type):
11295 * specifier.c (decode_locale_list):
11296 * specifier.c (check_valid_domain):
11297 * specifier.c (decode_specifier_tag_set):
11298 * specifier.c (Fcanonicalize_tag_set):
11299 * specifier.c (Fdefine_specifier_tag):
11300 * specifier.c (Fspecifier_tag_predicate):
11301 * specifier.c (check_valid_inst_list):
11302 * specifier.c (check_valid_spec_list):
11303 * specifier.c (decode_how_to_add_specification):
11304 * specifier.c (check_modifiable_specifier):
11305 * specifier.c (specifier_add_spec):
11306 * specifier.c (boolean_validate):
11307 * specifier.c (display_table_validate):
11310 * specifier.c (syms_of_specifier):
11311 Move some symbols to general-slots.h.
11315 * symbols.c (Fmapatoms):
11316 * symbols.c (Fapropos_internal):
11319 * symbols.c (set_default_buffer_slot_variable):
11320 * symbols.c (set_default_console_slot_variable):
11323 * symbols.c (defsymbol_massage_name_1):
11324 * symbols.c (defkeyword_massage_name):
11325 * symbols.c (deferror_1):
11326 * symbols.c (deferror):
11327 * symbols.c (deferror_massage_name_and_message):
11329 * symeval.h (DEFSYMBOL):
11330 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
11332 * symbols.c (syms_of_symbols):
11336 * symsinit.h (init_win32): New.
11337 Also new is syms_of_dialog_mswindows.
11340 Add new Unicode macros, missing Cygwin wide-char functions,
11341 convenience conversion macros for Qmswindows_tstr, macros for
11342 encapsulating required MSWin <-> Cygwin filename conversions,
11343 prototype for dynamically-extracted (not in NT 3.51) functions.
11348 * tooltalk.c (Fadd_tooltalk_message_arg):
11349 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
11350 * tooltalk.c (Fadd_tooltalk_pattern_arg):
11353 * tooltalk.c (syms_of_tooltalk):
11357 * unexnt.c (unexec):
11358 Fix up headers, declaration of unexec() to be more standard.
11360 2000-07-20 Martin Buchholz <martin@xemacs.org>
11362 * offix.h: Revert change to guard macros - they're used in offix.c!
11364 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11366 * lisp.h: Defsubred Fdelete.
11368 * console-msw.h: (msprinter_default_printer): Added.
11370 * console-msw.c (msprinter_canonicalize_console_connection):
11371 (msprinter_canonicalize_device_connection): Added.
11373 * device-msw.c (msprinter_default_printer):
11374 (Fmswingows_get_default_printer):
11375 (signal_enum_priner_error):
11376 (Fmswingows_printer_list): Added.
11378 2000-07-19 Martin Buchholz <martin@xemacs.org>
11380 * XEmacs 21.2.35 is released.
11382 2000-07-19 Martin Buchholz <martin@xemacs.org>
11384 * select-x.c (x_handle_selection_request):
11385 Text selected in xemacs and pasted into xterm failed to appear.
11386 Spelling fixes and cosmetic changes.
11388 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11390 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
11391 XEmacs frame (fix for doubling chars in dialog boxes).
11393 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
11395 * select.c (select_convert_in, select_convert_out):
11396 Don't call intern() every time.
11398 * select.c (Qselect_convert_in, Qselect_convert_out): New.
11399 * select.c (vars_of_select): Initialise them.
11401 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
11403 * select.c (selection-coercible-types): New.
11405 * select.c (own-selection-internal):
11406 * select.c (get-selection-internal):
11407 MULE bug fix - these should default to COMPOUND_TEXT and not
11408 STRING for MULE. I think.
11410 * select.c (select_convert_out): Use selection-coercible-types
11411 to find types that we can attempt to perform coercions on.
11413 2000-07-18 Martin Buchholz <martin@xemacs.org>
11417 Add coding: cookie to identify encoding.
11419 * mule-canna.c (CANNA_mode_keys): make static.
11420 Use proper prototypes, even for functions of no arguments.
11421 Remove external prototype for Fding().
11423 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
11425 * select.c (syms_of_select): Add missing DEFSUBR.
11427 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
11429 * select.c (get_selection_internal, own_selection_internal):
11430 Make the type default to STRING, rather than placing a nil type
11431 into Vselection_alist.
11433 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
11435 * gpmevent.c (tty_selection_exists_p):
11436 * gpmevent.c (tty_own_selection):
11437 Updated parameter lists.
11439 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
11441 * select.h (selection-alist): Removed declaration.
11443 * select.h (get_local_selection):
11444 * select.c (get_local_selection):
11447 * select.h (convert_selection): Removed declaration.
11448 * select.c (convert_selection): Removed.
11449 This function belongs in Lisp.
11451 * select.h (select_convert_in): Declare.
11452 * select.h (select_convert_out): Declare.
11453 * select.c (select_convert_in): New.
11454 * select.c (select_convert_out): New.
11455 New conversion functions for other files to call.
11457 * select.h (select_notify_buffer_kill): Declare.
11458 * select.c (select_notify_buffer_kill): New.
11459 New functions that get called from kill-buffer.
11461 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
11462 X-specific lisp code.
11464 * select.h: Declare some of the lisp-visible functions for
11467 * select.c (clean_local_selection_data): Removed. This was
11468 a disgusting function, and previously should have been in
11469 select-x.c in any case. The functionality is now provided
11470 in select-convert-from-integer (select.el).
11472 * select.c (available-selection-types): Fixed stupidity where
11473 INTEGER and ATOM got added twice. Also add STRING when we see an
11476 * select.c (get-selection-internal): Removed symbol stripping. No
11477 longer causes conversion when data comes from the internal cache.
11479 * select.c (syms_of_select): Added new functions.
11481 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
11482 error checking - previously this called abort!
11484 * select-x.c (x_own_selection): Changed comment.
11486 * select-x.c (x_handle_selection_request): Use select_convert_out.
11487 Don't mess with selection-alist; it's an internal variable of select.c.
11489 * select-x.c (x_get_foreign_selection): Use select_convert_in.
11491 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
11492 rather than messing with selection-alist.
11494 * select-msw.c (mswindows_get_foreign_selection):
11495 Use TO_INTERNAL_FORMAT rather than hacking.
11497 2000-07-14 Martin Buchholz <martin@xemacs.org>
11499 * process-unix.c (unix_open_multicast_group):
11500 (unix_open_multicast_group): Remove useless casts.
11502 2000-07-13 Martin Buchholz <martin@xemacs.org>
11504 * sound.c (Fplay_sound): Fix `unused variable' warning.
11506 * emacs.c (main): Use correct type for _environ on SCO5.
11508 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
11510 * console.h (own_selection_method):
11511 * console.h (selection_exists_p_method):
11512 * console.h (available_selection_types_method): New.
11513 * console.h (register_selection_data_type_method): New.
11514 * console.h (selection_data_type_name): New.
11516 * console-msw.h (mswindows_destroy_selection): Declare it. New
11517 function & alist to track GlobalAlloc()'d handles that need
11518 releasing when the clipboard data gets replaced or emptied.
11520 * event-msw.c (mswindows_wnd_proc): Call it.
11522 * lisp.h, general.c (Qappend): New symbol representing a
11525 * select.c (own-selection-internal):
11526 * select.c (selection-exists-p):
11527 * select.c (available-selection-types): New.
11528 * select.c (register-selection-data-type): New.
11529 * select.c (selection-data-type-name): New. New functions to deal
11530 with device-specific selection data formats.
11531 * select.c (selection-converter-out-alist): Renamed.
11532 * select.c (selection-converter-in-alist): New.
11533 * select.c (selection-appender-alist): New. Added new alists.
11534 * select.c (syms_of_select, vars_of_select): Added new symbols &
11536 * select.c (get_local_selection): Split.
11537 * select.c: Removed spurious type checking - selections may now be
11538 of any type, not just strings.
11539 * select.c (own-selection-internal):
11541 * select.h, select.c (convert_selection): New. Created
11542 convert_selection() function based on get_local_selection().
11543 * select.h, select.c (QCF_*): New symbols representing mswindows
11545 * select.h, select.c (Qreplace_all, Qreplace_existing): New
11546 symbols representing `how-to-add' modes.
11548 * select-msw.c (x_sym_p): New.
11549 * select-msw.c (symbol_to_ms_cf): New.
11550 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
11551 symbols & clipboard formats. Can also handle string names.
11552 * select-msw.c (mswindows_own_selection):
11553 * select-msw.c (mswindows_selection_exists_p):
11554 Added `data-type' parameter. Use it.
11555 * select-msw.c (mswindows_available_selection_types): New.
11556 * select-msw.c (mswindows_register_selection_data_type): New.
11557 * select-msw.c (mswindows_selection_data_type_name): New.
11558 * select-msw.c (mswindows_own_selection):
11559 * select-msw.c (mswindows_get_foreign_selection):
11560 * select-msw.c (mswindows_selection_exists_p): Rewrote.
11561 * select-msw.c (console_create_select_mswindows): Added new methods.
11562 * select-msw.c (mswindows_destroy_selection): New.
11563 * select-msw.c (Vhandle_alist): New list.
11564 * select-msw.c (mswindows_own_selection):
11566 * select-x.c (x_own_selection):
11567 * select-x.c (x_selection_exists_p):
11568 * select-x.c: Added some comments about maybe using new
11570 * select-x.c (x_own_selection):
11572 * specifier.c: Remove definition of Qappend (now in general.c)
11573 * specifier.c (syms_of_specifier): Remove Qappend.
11575 2000-07-12 Martin Buchholz <martin@xemacs.org>
11577 * config.h.in: Add socklen_t.
11579 * s/decosf4-0.h: No special compiler flags needed or desired.
11580 In particular, undefine _BSD for DEC OSF 4.0.
11582 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11584 * redisplay-msw.c (msprinter_frame_output_end): Added.
11585 (console_type_create_redisplay_mswindows): Referred the above.
11587 * frame.c (setup_frame_without_minibuffer): Do not create a
11588 default minibuffer frame on a printer device.
11590 * frame-msw.c (apply_dc_geometry): Added.
11591 (msprinter_start_page):
11592 (msprinter_init_frame_3):
11593 (msprinter_eject_page): Use it.
11595 * console-msw.h (struct msprinter_frame): Added pix_left and top,
11596 and removed residual duplex and orientation properties.
11598 2000-07-11 Martin Buchholz <martin@xemacs.org>
11600 * eval.c (function_argcount): Work around a DEC CC compiler bug.
11602 * unexalpha.c: Remove system prototypes from C sources!
11604 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
11606 * eval.c: Remove references to M-x edit-options in DEFUNs for
11607 `defvar' and `defconst'.
11609 2000-07-09 Martin Buchholz <martin@xemacs.org>
11611 * config.h.in: Remove SMART_INCLUDE hackery.
11613 PostgreSQL hacking:
11614 * config.h.in: Don't use SMART_INCLUDE.
11616 * postgresql.h: Include libpq-fe.h here. Fix typo.
11617 * inline.c: Simply #include "postgresql.h"
11619 - Don't use SMART_INCLUDE
11620 - Use simply "const".
11621 - Use standard doc string conventions.
11622 - Use correct type for result of PQstatus.
11624 2000-07-09 Martin Buchholz <martin@xemacs.org>
11626 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
11628 C++ compilation changes.
11629 * config.h.in (EXTERN_C): Define.
11630 * config.h.in (not): This is also a C++ keyword.
11631 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
11632 * cm.c: Use EXTERN_C.
11633 * redisplay-tty.c: Use EXTERN_C.
11634 * sysdep.c: Use EXTERN_C. Remove Gould support.
11636 2000-07-09 Martin Buchholz <martin@xemacs.org>
11638 * general.c: Remove duplicate definition for Qfunction.
11640 2000-07-08 Ben Wing <ben@xemacs.org>
11642 * device-msw.c (msprinter_init_device):
11643 * device-msw.c (sync_printer_with_devmode):
11644 * device-msw.c (handle_devmode_changes):
11645 * device-msw.c (print_dialog_worker):
11646 * device-msw.c (Fmsprinter_apply_settings):
11647 * device-msw.c (hash_devmode):
11648 * device-msw.c (Fmsprinter_settings_despecialize):
11649 use Qmswindows_tstr, not Qctext.
11651 * vm-limit.c (check_memory_limits):
11652 avoid infinite loop printing warning messages.
11654 2000-07-05 Craig Lanning <lanning@scra.org>
11656 * Makefile.in.in: Add support for including the Windows resources
11657 when building with the cygwin and mingw targets.
11659 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
11660 not set or not correct.
11661 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
11662 (init_initial_directory): Don't try to use $PWD on the
11663 WIN32_NATIVE target.
11666 [[Add -mwindows to eliminate console window.]] not required --ben
11667 (HAVE_NATIVE_SOUND): removed; now handled by configure.
11668 (MAIL_USE_POP): removed; now handled by configure.
11670 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
11671 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
11672 (HAVE_NATIVE_SOUND): removed; now handled by configure.
11673 (MAIL_USE_POP): removed; now handled by configure.
11674 (ENCAPSULATE_STAT): from Dan Holmsand, added.
11675 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
11676 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
11678 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
11679 up from <winsock.h> via systime.h.
11680 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
11681 (getpagesize): from Dan Holmsand, added.
11682 Added #endif which was left dangling by Ben's mega patch; added
11683 comment to help prevent this in the future.
11685 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
11687 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11689 * console-msw.h (struct mswindows_device): Removed unnecessary
11690 cached device geometry values.
11691 Added update_tick and an accessor macro.
11692 (Lisp_Devmode): Added lrecord declaration.
11693 (struct msprinter_device): Contain devmode as a Lisp object.
11694 Added mswindows_get_selected_frame_hwnd();
11696 * console.h (struct console_methods): Indentation nitpicking.
11698 * device-msw.c (mswindows_init_device): Do not initialize geometry
11699 cache. Initialize update tick.
11700 (mswindows_device_system_metrics): Ask the device for its geometry.
11701 (global_free_2_maybe):
11702 (devmode_to_hglobal):
11703 (handle_printer_changes):
11704 (ensure_not_printing):
11705 (print_dialog_worker):
11706 (Fmsprinter_print_setup_dialog):
11707 (Fmsprinter_print_dialog):
11708 (plist_get_margin):
11709 (plist_set_margin):
11710 (Fmsprinter_page_setup_dialog): Added functions.
11711 (sync_printer_with_devmode):
11712 (handle_devmode_changes):
11713 (Fmsprinter_get_settings):
11714 (Fmsprinter_select_settings):
11715 (Fmsprinter_apply_settings):
11716 (allocate_devmode):
11717 (Fmsprinter_settings_copy):
11718 (Fmsprinter_settings_despecialize):
11720 (finalize_devmode):
11722 (hash_devmode): Added functions
11723 (syms_of_device_mswindows): Init devmode lrecord class.
11725 * device.h: Added an exfun for find-device.
11727 * event-msw.c (mswindows_wnd_proc): Do not update the cached
11728 geometry; although, recreate the device compatible DC.
11730 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
11731 (msprinter_init_frame_3):
11732 (msprinter_frame_property):
11733 (msprinter_internal_frame_property_p):
11734 (msprinter_frame_properties):
11735 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
11736 print job properties (will move to device settings).
11738 * lisp.h: Added symbols.
11740 * general.c (syms_of_general): Declared them.
11742 * hash.c (string_hash): Added.
11744 * lrecord.h (lrecord_type): Added devmode lrecord type.
11746 2000-07-02 Mike Sperber <mike@xemacs.org>
11748 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
11751 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
11753 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
11756 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
11758 * data.c (Fstring_to_number): Don't recognize floating point if
11761 2000-06-22 Martin Buchholz <martin@xemacs.org>
11763 * glyphs-widget.c (tab_control_query_geometry):
11764 (widget_query_geometry):
11765 (button_query_geometry):
11766 * glyphs.c (text_query_geometry):
11767 Enforce type correctness.
11769 2000-06-18 Martin Buchholz <martin@xemacs.org>
11771 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
11772 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
11774 2000-06-17 Martin Buchholz <martin@xemacs.org>
11776 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
11777 conflicts with gcc's fixincluded version of FOO.h.
11779 * glyphs.h (image_instance_geometry): Remove trailing `,'
11781 2000-06-08 Mike Alexander <mta@arbortext.com>
11783 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
11784 (shove_thread): Don't write the same output twice
11785 (make_ntpipe_output_stream): Increase priority of shove thread
11786 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
11788 (ntpipe_shove_closer): Don't delete the pipe until we're done with
11791 2000-06-12 Ben Wing <ben@xemacs.org>
11793 * s\mingw32.h (sigset):
11794 * s\windowsnt.h (sigset):
11795 rename msw_ to mswindows_ for consistency with general convention.
11797 2000-06-12 Ben Wing <ben@xemacs.org>
11800 * console-msw.c (mswindows_get_console_hwnd):
11801 * console-msw.c (mswindows_ensure_console_allocated):
11802 * console-msw.c (mswindows_hide_console):
11803 * console-msw.c (mswindows_show_console):
11804 * console-msw.c (mswindows_ensure_console_buffered):
11805 * console-msw.c (mswindows_output_console_string):
11806 * console-msw.c (mswindows_windows9x_p):
11808 * device-msw.c (mswindows_get_workspace_coords):
11809 * device-msw.c (mswindows_device_system_metrics):
11810 * dialog-msw.c (mswindows_popup_dialog_box):
11811 * event-msw.c (mswindows_wnd_proc):
11812 * frame-msw.c (mswindows_size_frame_internal):
11813 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11814 * menubar-msw.c (displayable_menu_item):
11815 * menubar-msw.c (mswindows_char_is_accelerator):
11817 * nt.c (mswindows_sigset):
11818 * nt.c (mswindows_sigrelse):
11819 * nt.c (mswindows_sigpause):
11820 * nt.c (mswindows_raise):
11821 * nt.c (timer_proc):
11823 * ntproc.c (find_child_console):
11824 * ntproc.c (sys_kill):
11826 * print.c (std_handle_out_external):
11827 * process-nt.c (find_child_console):
11828 * process-nt.c (send_signal_the_95_way):
11829 * process-nt.c (ensure_console_window_exists):
11830 * process-nt.c (nt_create_process):
11832 rename msw_ to mswindows_ for consistency with general convention.
11836 include nt.h, not syswindows.h.
11838 * nt.c (mswindows_fstat):
11839 * nt.c (mswindows_stat):
11840 prefix mswindows_ instead of attempting to directly override the
11841 library functions. fix declarations.
11844 include syswindows.h. move some sysdep.h stuff here.
11847 include syswindows.h, not <windows.h>.
11855 * sysdep.c (sys_fstat):
11856 * sysdep.c (sys_stat):
11857 call mswindows versions when appropriate.
11860 move mswin decls to nt.h.
11863 add long comment describing appropriate use of the various windows
11866 2000-06-11 Ben Wing <ben@xemacs.org>
11868 * device-x.c: Correct doc string for sixth arg of x-get-resource.
11870 2000-06-10 Ben Wing <ben@xemacs.org>
11872 * Makefile.in.in (release):
11873 Correction to make sure xemacs.exe always dumped when correct.
11877 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
11879 * buffer.c (set_buffer_internal):
11880 [[[[2]]]]: Remove HAVE_FEP code.
11882 * buffer.c (init_initial_directory):
11886 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
11890 * callproc.c (call_process_cleanup):
11891 * callproc.c (Fold_call_process_internal):
11892 * callproc.c (child_setup):
11893 * callproc.c (getenv_internal):
11894 * callproc.c (init_callproc):
11895 * callproc.c (vars_of_callproc):
11896 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
11897 __CYGWIN32__ -> CYGWIN.
11898 DOS_NT -> WIN32_NATIVE.
11899 Remove MSDOS support/references, converting to WIN32_NATIVE
11901 __MINGW32__ -> MINGW.
11902 Fix windows.h includes.
11903 Remove bogus HAVE_NTGUI.
11909 mswindows_message_outputted added for use in allowing startup
11910 errors on the console to be seen.
11912 * console-msw.c (msw_ensure_console_allocated):
11913 * console-msw.c (msw_output_console_string):
11914 * console-msw.c (DHEADER):
11915 * console-msw.c (DOPAQUE_DATA):
11916 * console-msw.c (DEVENT):
11917 * console-msw.c (DCONS):
11918 * console-msw.c (DCONSCDR):
11919 * console-msw.c (DSTRING):
11920 * console-msw.c (DVECTOR):
11921 * console-msw.c (DSYMBOL):
11922 * console-msw.c (DSYMNAME):
11925 * console-stream.c (stream_init_console):
11926 Fix text/binary problems.
11929 * device-msw.c (mswindows_finish_init_device):
11930 * device-msw.c (mswindows_delete_device):
11933 * device.c (handle_asynch_device_change):
11937 * dgif_lib.c (DGifOpenFileName):
11938 * dgif_lib.c (DGifOpenFileHandle):
11939 * dgif_lib.c (DGifGetLine):
11940 * dgif_lib.c (DGifGetPixel):
11941 Added config.h/lisp.h, fix up includes.
11948 * dired.c (file_name_completion):
11949 * dired.c (Ffile_attributes):
11950 * dired.c (syms_of_dired):
11954 * dumper.c (pdump_file_unmap):
11955 * dumper.c (pdump_load):
11959 * editfns.c (Ftemp_directory):
11960 * editfns.c (user_login_name):
11961 * editfns.c (Fuser_real_login_name):
11962 * editfns.c (get_home_directory):
11965 * elhash.c (finish_marking_weak_hash_tables):
11966 [[[[5]]]]: Fix GCC warnings.
11969 * emacs.c (mswindows_handle_hardware_exceptions):
11970 * emacs.c (make_arg_list_1):
11971 * emacs.c (main_1):
11972 * emacs.c (Fkill_emacs):
11973 * emacs.c (Fdump_emacs):
11975 Fix problems with nested crashes, add long comment.
11977 * event-Xt.c (init_event_Xt_late):
11981 * event-msw.c (mswindows_dde_callback):
11982 * event-msw.c (mswindows_handle_sticky_modifiers):
11983 * event-msw.c (mswindows_wnd_proc):
11987 * events.c (character_to_event):
11991 * fileio.c (Ffile_name_directory):
11992 * fileio.c (Ffile_name_nondirectory):
11993 * fileio.c (directory_file_name):
11994 * fileio.c (Fexpand_file_name):
11995 * fileio.c (Fsubstitute_in_file_name):
11996 * fileio.c (Ffile_name_absolute_p):
11997 * fileio.c (check_executable):
11998 * fileio.c (Ffile_readable_p):
11999 * fileio.c (Ffile_accessible_directory_p):
12000 * fileio.c (Ffile_modes):
12001 * fileio.c (Funix_sync):
12002 * fileio.c (vars_of_fileio):
12005 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
12007 Expand getdefdir defn.
12008 Fix bogus rename() comment.
12010 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
12011 to use standard XEmacs include files, e.g. sysfile.h, rather
12012 than system-specific includes.
12018 * frame.c (vars_of_frame):
12022 * getloadavg.c (getloadavg):
12024 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
12025 (We don't use it elsewhere in the code; just add a comment.)
12032 * glyphs-msw.c (mswindows_resource_instantiate):
12035 * glyphs-x.c (x_native_layout_instantiate):
12038 * gui-msw.c (Fmswindows_shell_execute):
12047 * lread.c (locate_file_in_directory_mapper):
12054 * mem-limits.h (get_lim_data):
12066 * nt.c (rva_to_section):
12067 * nt.c (mswindows_executable_type):
12069 Fix closedir() defn.
12072 [[[[8]]]]: *_OK defs moved to sysfile.h.
12081 * print.c (std_handle_out_external):
12085 * process-nt.c (nt_create_process):
12087 try to fix process quoting somewhat.
12089 * process-unix.c (unix_create_process):
12093 * process.c (vars_of_process):
12100 * realpath.c (xrealpath):
12103 * redisplay-tty.c (init_tty_for_redisplay):
12113 * sheap.c (more_static_core):
12114 * sheap.c (report_sheap_usage):
12118 * signal.c (alarm_signal):
12125 * strftime.c (zone_name):
12128 * symsinit.h (init_sunpro):
12132 commctrl.h not in Cygwin b20.1.
12135 * sysdep.c (endif):
12136 * sysdep.c (sys_subshell):
12137 * sysdep.c (init_baud_rate):
12138 * sysdep.c (emacs_get_tty):
12139 * sysdep.c (emacs_set_tty):
12140 * sysdep.c (tty_init_sys_modes_on_device):
12141 * sysdep.c (init_system_name):
12142 * sysdep.c (sys_open):
12143 * sysdep.c (interruptible_open):
12144 * sysdep.c (sys_fopen):
12145 * sysdep.c (sys_mkdir):
12146 * sysdep.c (sys_rename):
12147 * sysdep.c (get_process_times_1):
12154 * sysdir.h (DIRENTRY_NONEMPTY):
12157 * sysdll.c (dll_init):
12163 added text/binary defs.
12169 * sysproc.h (EDESTADDRREQ):
12170 * sysproc.h (poll_fds_for_input):
12187 Always define WIN32_LEAN_AND_MEAN.
12189 * unexcw.c (unexec):
12193 * unexec.c (copy_text_and_data):
12194 * unexec.c (adjust_lnnoptrs):
12198 * unexnt.c (_start):
12201 2000-06-07 Ben Wing <ben@xemacs.org>
12203 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
12204 was used only as a model. We've long since extracted any useful
12205 logic or code out of this. (I just did an exhaustive search.)
12207 * s\msdos.h: Removed.
12209 * s\windows95.h: Removed.
12211 2000-06-10 Ben Wing <ben@xemacs.org>
12215 Don't use extern with fun defs.
12219 Remove nt\inc include.
12220 Remove getdisk, getdefdir. (The former is unused, the latter
12221 expanded in fileio.h.)
12224 * s\windowsnt.h (WIN32_NATIVE):
12225 * s\windowsnt.h (HAVE_STRCASECMP):
12227 Add long comment about preprocessor changes.
12228 Remove getdisk, getdefdir. (The former is unused, the latter
12229 expanded in fileio.h.)
12231 2000-06-10 Ben Wing <ben@xemacs.org>
12240 Remove bogus/unused NO_SOCK_SIGIO.
12242 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
12244 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
12247 2000-06-04 Mike Sperber <mike@xemacs.org>
12249 * casetab.c (set_case_table): For `set-standard-case-table',
12250 actually deposit the new case tables where the rest of XEmacs can
12253 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
12255 * data.c (Faset): Don't cast XCHAR() to unsigned char.
12257 2000-06-05 Ben Wing <ben@xemacs.org>
12259 * callproc.c (child_setup): Don't do close_load_descs() under
12260 MS Windows. Put in a comment explaining why.
12262 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
12264 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
12265 Toolkit shell" which breaks `kill-compilation' on Windows NT
12266 native, retaining STDERR handling improvements.
12268 2000-06-01 Andreas Jaeger <aj@suse.de>
12270 * s/s390.h: Support for S390, based on a patch by Martin
12271 Schwidefsky <schwidefsky@de.ibm.com>.
12273 2000-05-30 Andy Piper <andy@xemacs.org>
12275 * window.c (allocate_window):
12276 (make_dummy_parent):
12277 (Fset_window_configuration): use new hashtable type.
12279 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
12280 (struct image_instantiator_methods):
12281 (struct Lisp_Image_Instance): make instance geometry signed.
12283 * glyphs.c (instantiate_image_instantiator):
12284 (image_instance_query_geometry):
12285 (image_instance_layout):
12286 (image_instance_layout):
12287 (query_string_geometry):
12288 (text_query_geometry):
12289 (image_instantiate):
12290 (image_instantiate):
12291 (cache_subwindow_instance_in_frame_maybe):
12292 (subwindow_query_geometry): make instance geometry signed.
12294 * glyphs-widget.c (widget_query_geometry):
12296 (button_query_geometry):
12297 (tree_view_query_geometry):
12298 (tab_control_query_geometry):
12299 (layout_query_geometry):
12301 (native_layout_layout): make instance geometry signed.
12303 2000-05-29 Olivier Galibert <galibert@pobox.com>
12305 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
12308 * general.c (syms_of_general): Add Qfull_assoc symbol.
12310 * data.c (finish_marking_weak_lists): Mark full-assoc lists
12312 (decode_weak_list_type): Decode full-assoc type.
12313 (encode_weak_list_type): Encode full-assoc type.
12314 (Fmake_weak_list): Update doc string.
12316 2000-05-30 Andy Piper <andy@xemacs.org>
12318 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
12320 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
12321 (decode_hash_table_weakness): ditto.
12322 (Fhash_table_weakness): ditto.
12323 (Fhash_table_type): ditto.
12324 (finish_marking_weak_hash_tables): ditto.
12325 (hash_table_weakness_validate): ditto.
12326 (syms_of_elhash): ditto.
12328 2000-05-28 Martin Buchholz <martin@xemacs.org>
12330 * XEmacs 21.2.34 is released.
12332 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
12334 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
12336 (updating_line_start_cache): Gone.
12337 (regenerate_window): Replace resetting of VERTICAL_CLIP by
12338 generic code to force a minimum of 1 line laid out in the
12341 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
12343 * glyphs.c (instantiate_image_instantiator): Check for initialized
12344 height & width no longer special cases IMAGE_NOTHING.
12345 (nothing_instantiate): Set height and width of instance.
12347 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
12349 * unexelf.c (unexec): Search for ".data" section.
12350 Initialize new_data2_offset from old_data_index.
12351 Remove redundant check for ElfW.
12353 2000-05-23 Andy Piper <andy@xemacs.org>
12355 * glyphs.c (get_image_instantiator_governing_domain): allow more
12356 specific domains as the governing domain rather than expecting an
12357 exact match. This fixes problems with layouts.
12359 2000-05-22 Andy Piper <andy@xemacs.org>
12361 * redisplay-output.c (compare_runes): check for non-images
12363 * glyphs.c (set_glyph_dirty_p): ditto.
12364 (update_glyph_cachel_data): ditto.
12366 * glyphs-widget.c (layout_post_instantiate): ditto.
12367 (layout_post_instantiate): ditto.
12369 * event-msw.c (mswindows_wnd_proc): warning removal.
12371 2000-05-12 Craig Lanning <CraigL@DyCon.com>
12373 * s\mingw32.h: Added #undef for CLASH_DETECTION.
12375 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
12377 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
12379 * nt.c (rva_to_section): mingw32 needs rva_to_section.
12380 (mswindows_executable_type): mingw32 now has enough headers for
12383 2000-05-20 Andy Piper <andy@xemacs.org>
12385 * console-msw.c (mswindows_output_last_error): ; -> ,
12387 2000-05-12 Andy Piper <andy@xemacs.org>
12389 * console-msw.c (FROB): compare ints with ints.
12391 2000-05-11 Andy Piper <andy@xemacs.org>
12393 * glyphs-x.c (x_finalize_image_instance): make minimal build
12396 2000-05-20 Ben Wing <ben@xemacs.org>
12399 * event-Xt.c (vars_of_event_Xt):
12400 move modifier-keys-are-sticky to event-stream.c.
12403 * event-msw.c (mswindows_enqueue_mouse_button_event):
12404 * event-msw.c (key_needs_default_processing_p):
12405 * event-msw.c (XEMSW_LCONTROL):
12406 * event-msw.c (mswindows_handle_sticky_modifiers):
12407 * event-msw.c (FROB):
12408 * event-msw.c (clear_sticky_modifiers):
12409 * event-msw.c (output_modifier_keyboard_state):
12410 * event-msw.c (output_alt_keyboard_state):
12411 * event-msw.c (mswindows_wnd_proc):
12412 * event-msw.c (mswindows_modifier_state):
12413 * event-msw.c (emacs_mswindows_handle_magic_event):
12414 implement sticky modifiers.
12417 * event-stream.c (vars_of_event_stream):
12418 move modifier-keys-are-sticky here.
12421 add CHECK_FUNCTION.
12424 implement map-range-table.
12427 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
12429 * redisplay-tty.c (reset_tty_modes):
12430 (tty_redisplay_shutdown): Adjust argument type to
12431 tty_frame_output_end.
12433 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
12435 * eval.c (Fbacktrace): Don't output a line with only right
12438 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
12440 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
12441 (Fpq_reset_poll): Ditto.
12443 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
12445 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
12447 2000-05-16 Ben Wing <ben@xemacs.org>
12450 * buffer.c (dfc_convert_to/from_internal_format):
12451 * buffer.c (reinit_vars_of_buffer):
12452 Fix conversion functions to allow reentrancy.
12455 * console-msw.c (mswindows_output_last_error):
12456 New fun, generally useful -- output a human-readable
12457 version of GetLastError() on the console.
12460 * console-msw.h (struct mswindows_frame):
12461 Changes for DeferWindowPos. Declare mswindows_output_last_error().
12463 * console-stream.c (stream_output_begin):
12464 * console-stream.c (stream_output_end):
12465 * console-stream.c (stream_output_vertical_divider):
12466 * console-stream.c (stream_clear_region):
12467 * console-stream.c (stream_flash):
12468 * console-stream.c (console_type_create_stream):
12469 Delete blank stream methods, not needed.
12471 * console.h (struct console_methods):
12472 Split begin/end methods into window and frame.
12475 * event-msw.c (mswindows_handle_paint):
12476 * event-msw.c (output_alt_keyboard_state):
12477 * event-msw.c (mswindows_wnd_proc):
12478 * event-msw.c (vars_of_event_mswindows):
12479 Comment about problems with ignored-expose.
12480 Define mswindows-debug-events; not really implemented.
12482 * frame-msw.c (mswindows_init_frame_1):
12486 * glyphs-msw.c (begin_defer_window_pos):
12487 * glyphs-msw.c (mswindows_unmap_subwindow):
12488 * glyphs-msw.c (mswindows_map_subwindow):
12489 * glyphs-msw.c (mswindows_resize_subwindow):
12490 Use DeferWindowPos to reduce flashing when mapping/unmapping.
12492 * glyphs.c (make_image_instance_1):
12495 * gutter.c (Fredisplay_gutter_area):
12496 Use new begin/end methods.
12498 * lisp.h (Dynarr_new2):
12502 * redisplay-msw.c (mswindows_frame_output_begin):
12503 * redisplay-msw.c (mswindows_frame_output_end):
12504 * redisplay-msw.c (console_type_create_redisplay_mswindows):
12505 New begin/end methods -- handle DeferWindowPos.
12507 * redisplay-output.c (redisplay_move_cursor):
12508 * redisplay-output.c (redraw_cursor_in_window):
12509 * redisplay-output.c (redisplay_update_line):
12510 * redisplay-output.c (redisplay_output_window):
12511 New begin/end methods.
12514 * redisplay-tty.c (tty_frame_output_begin):
12515 * redisplay-tty.c (tty_frame_output_end):
12516 * redisplay-tty.c (console_type_create_redisplay_tty):
12517 New begin/end methods.
12520 * redisplay-x.c (x_window_output_begin):
12521 * redisplay-x.c (x_window_output_end):
12522 * redisplay-x.c (console_type_create_redisplay_x):
12523 New begin/end methods.
12525 * redisplay.c (redisplay_frame):
12526 * redisplay.c (Fredisplay_echo_area):
12527 New begin/end methods.
12528 use MAYBE_DEVMETH for clear_frame; it may not exist.
12530 * window.h (WINDOW_XFRAME):
12531 WINDOW_XFOO macros -- get locale and decode struct pointer.
12534 2000-05-12 Ben Wing <ben@xemacs.org>
12537 * emacs.c (ensure_no_quitting_from_now_on):
12538 * emacs.c (fatal_error_signal):
12539 * emacs.c (mswindows_handle_hardware_exceptions):
12541 * emacs.c (Fkill_emacs):
12542 * emacs.c (shut_down_emacs):
12543 * emacs.c (assert_failed):
12544 various improvements in fatal error handling.
12547 move preparing_for_armageddon to emacs.c.
12550 declare fatal_error_in_progress.
12553 * print.c (std_handle_out_external):
12554 * print.c (std_handle_out_va):
12555 * print.c (stderr_out):
12556 * print.c (stdout_out):
12557 use console under mswin when no standard output.
12558 don't do code conversion during fatal error.
12560 * scrollbar.c (Fscrollbar_page_up):
12561 * scrollbar.c (Fscrollbar_page_down):
12562 fix missing else. reindent.
12564 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
12568 * glyphs.h (GLYPH_CACHEL_DESCENT):
12569 (GLYPH_CACHEL_DESCENT):
12570 (GLYPH_CACHEL_DESCENT):
12571 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
12572 used in case these are inline functions.
12573 Use more absurd values to error check.
12575 include window.h for error check functions.
12577 2000-05-11 Ben Wing <ben@xemacs.org>
12579 * cmdloop.c (Freally_early_error_handler):
12580 Display message box under windows; otherwise, message will disappear
12581 before it can be viewed.
12584 * console-msw.c (Fmswindows_message_box):
12585 * console-msw.c (FROB):
12586 * console-msw.c (syms_of_console_mswindows):
12587 Define new fun `mswindows-message-box'.
12588 #### I will merge this into `popup-dialog-box'; just give me
12592 * general.c (syms_of_general):
12593 Some new symbols used in `mswindows-message-box'.
12596 * glyphs.c (Fset_image_instance_property):
12597 put warning in this fun.
12600 * glyphs.h (GLYPH_CACHEL_WIDTH):
12601 * glyphs.h (GLYPH_CACHEL_ASCENT):
12602 * glyphs.h (GLYPH_CACHEL):
12603 * glyphs.h (GLYPH_CACHEL_GLYPH):
12604 define error-checking versions to try to catch a bug i've seen --
12605 redisplay gets in an infinite loop because the glyph width of the
12606 continuation glyph is 65535.
12609 Extern message-box stuff.
12611 * window.c (allocate_window):
12612 * window.c (make_dummy_parent):
12613 * window.c (Fset_window_configuration):
12614 Use EQUAL not EQ for subwindow caches to make them work a bit
12615 better. (Something is still very broken.)
12618 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
12620 * glyphs.c (image_instantiate): Suppress gcc warnings.
12621 (Fmake_image_instance): Fix doc string.
12622 * specifier.c (Fmake_specifier): Ditto.
12624 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
12626 * paths.h.in (PATH_LOCK): Removed.
12627 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
12628 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
12630 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
12632 * fns.c (Ffeaturep): Update e-mail address in doc-string.
12633 Document (featurep '(and xemacs 21.02)).
12635 2000-05-09 Ben Wing <ben@xemacs.org>
12637 * buffer.c (complex_vars_of_buffer):
12638 update modeline-format doc.
12641 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
12644 timeline of all released versions of Emacs, for use in creating
12645 authorship comments and in synching up.
12647 * glyphs-widget.c (image_instantiator_buttons):
12648 * glyphs-widget.c (image_instantiator_edit_fields):
12649 * glyphs-widget.c (image_instantiator_combo_box):
12650 * glyphs-widget.c (image_instantiator_scrollbar):
12651 * glyphs-widget.c (image_instantiator_progress_guage):
12652 * glyphs-widget.c (image_instantiator_tree_view):
12653 * glyphs-widget.c (image_instantiator_tab_control):
12654 * glyphs-widget.c (image_instantiator_labels):
12655 * glyphs-widget.c (image_instantiator_layout):
12656 * glyphs-widget.c (image_instantiator_native_layout):
12657 rename decode_domain method to governing_domain.
12660 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
12661 * glyphs.c (add_entry_to_device_ii_format_list):
12662 make sure we don't put an entry more than once into the list.
12663 * glyphs.c (check_instance_cache_mapper):
12664 *************************************************************
12665 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
12667 *************************************************************
12668 * glyphs.c (get_image_instantiator_governing_domain):
12669 clean up, expand on new concept of governing domain.
12670 * glyphs.c (instantiate_image_instantiator):
12671 * glyphs.c (allocate_image_instance):
12672 use governing_domain instead of cache_domain in naming.
12673 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
12674 * glyphs.c (make_image_instance_1):
12675 * glyphs.c (Fmake_image_instance):
12676 allow for any domain (not just device), and process the
12677 governing domain correctly. very big doc fix.
12678 * glyphs.c (Fimage_instance_domain):
12679 new primitive, to retrieve the governing domain of an image instance.
12680 * glyphs.c (image_instantiate):
12681 use new governing_domain stuff. this fixes a crash you could get
12682 by instantiating certain widget glyphs in frame locales. (should
12683 signal an error instead of crashing.)
12684 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
12685 * glyphs.c (Fglyphp): clean up doc.
12686 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
12687 * glyphs.c (syms_of_glyphs):
12688 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
12689 * glyphs.c (image_instantiator_format_create): add some comments about
12691 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
12692 for current-display-table. (Apparently Hrjove implemented in 1998 a
12693 design I wrote up in 1996, but didn't update the doc string.)
12695 * glyphs.h: clean up a doc string.
12696 * glyphs.h (governing_domain):
12697 * glyphs.h (struct image_instantiator_methods):
12698 changes for governing_domain stuff.
12701 * gutter.c (Fgutter_specifier_p):
12702 * gutter.c (Fgutter_size_specifier_p):
12703 * gutter.c (Fgutter_visible_specifier_p):
12705 * objects.c (Fcolor_specifier_p):
12706 * objects.c (Ffont_specifier_p):
12707 * objects.c (Fface_boolean_specifier_p):
12708 doc strings moved to make-*-specifier.
12710 * redisplay.c (add_disp_table_entry_runes_1):
12711 * redisplay.c (generate_fstring_runes):
12712 * redisplay.c (screen):
12713 add random comments and doc strings.
12716 * specifier.c (Fmake_specifier):
12717 major overhaul of this doc string.
12719 * specifier.c (Fvalid_specifier_domain_p):
12720 comment about the bogosity of image instances being domains.
12721 * specifier.c (decode_domain):
12722 now non-static, used in glyphs.c.
12723 * specifier.c (specifier_instance):
12724 comment about the bogosity of image instances being domains.
12725 * specifier.c (Fgeneric_specifier_p):
12726 move doc string to make-generic-specifier.
12727 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
12731 * specifier.h (DOMAIN_FRAME):
12732 * specifier.h (DOMAIN_LIVE_P):
12733 * specifier.h (DOMAIN_XDEVICE):
12735 add comments about problems with these macros.
12736 prototype for decode_domain.
12739 * toolbar.c (Ftoolbar_specifier_p):
12740 move doc string to `make-toolbar-specifier'.
12742 * window.c (window_unmap_subwindows_cache_mapper):
12743 *************************************************************
12744 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
12746 *************************************************************
12748 2000-05-09 Andy Piper <andy@xemacs.org>
12750 * glyphs.h: declare reset_frame_subwindow_instance_cache.
12752 * window.c (Fset_window_configuration): reset the frame subwindow
12753 cache and re-initialize the window subwindow caches.
12755 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
12757 2000-05-09 Ben Wing <ben@xemacs.org>
12759 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
12762 2000-04-26 Mike Woolley <mike@bulsara.com>
12764 * ntheap.c: Changed recreate_heap to limit the amount reserved
12765 for the heap to that which is actually available. Also now
12766 displays a message box (with some dignostics) in the event that
12767 it still can't start.
12769 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
12771 * callproc.c (Fold_call_process_internal): GCPRO path
12773 2000-05-08 Jan Vroonhof <jan@xemacs.org>
12775 Patch by Bill Perry.
12777 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
12778 back data instead of #ifdef.
12779 (Fscrollbar_page_down): ditto.
12781 2000-05-07 Ben Wing <ben@xemacs.org>
12784 Kludge for defining Qmswindows_tstr.
12787 * nt.c (open_input_file):
12788 * nt.c (open_output_file):
12789 * nt.c (rva_to_section):
12790 * nt.c (mswindows_executable_type):
12791 Move all memory-mapped-file routines here (some were in unexnt.c,
12792 which is bad because they are used by process-nt.c, and unexnt
12793 won't be around when portable dumping). Synched the above routines
12797 Removed ifdef'd out bogus code.
12798 Fixed some prototypes.
12800 * nt.h (file_data):
12801 * nt.h (OFFSET_TO_RVA):
12802 * nt.h (RVA_TO_OFFSET):
12803 * nt.h (RVA_TO_PTR):
12804 Moved the memory-mapped-file structures, macros and prototypes
12805 here, to parallel nt.c. ntheap.h should really be removed
12806 entirely, and it's a non-portable-dumper specific file.
12808 * ntheap.h (round_to_next):
12809 Moved the memory-mapped-file structures, macros and prototypes
12812 * ntproc.c (compare_env):
12813 Moved rva_to_section and mswindows_executable_type to nt.c.
12814 Moved compare_env to process-nt.c.
12815 ntproc.c will die, one day.
12817 * ntproc.c (sys_spawnve):
12818 Account for win32_ -> mswindows_.
12821 * process-nt.c (struct nt_process_data):
12822 * process-nt.c (ensure_console_window_exists):
12823 * process-nt.c (compare_env):
12824 * process-nt.c (nt_create_process):
12825 * process-nt.c (nt_kill_process_by_pid):
12826 * process-nt.c (syms_of_process_nt):
12827 * process-nt.c (vars_of_process_nt):
12828 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
12829 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
12830 changes). Eliminate our old `nt-quote-process-args' mechanism.
12831 Synch up nt_create_process with FSF 20.6 sys_spawnve.
12832 Move compare_env here from ntproc.c.
12834 * process.c (Fprocess_send_region):
12835 Takes an optional fourth argument, BUFFER, which should fix some
12836 problems with call-process.
12839 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
12842 Move ICC_BAR_CLASSES to syscommctrl.h.
12843 Add preliminary macros for MSWindows/Mule. More to come.
12846 * unexnt.c (unexec):
12847 open_output_file moved to nt.c.
12850 2000-05-05 Andy Piper <andy@xemacs.org>
12852 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
12853 instance from the frame cache also since GC may catch up too late
12854 to make frame deletion sane.
12856 2000-05-04 Andy Piper <andy@xemacs.org>
12858 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
12859 (x_finalize_image_instance): ungcpro on deletion.
12861 * glyphs.c (image_instantiator_format_create): give pointers a
12862 query geometry method so that the geometry is at least set.
12864 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
12865 initialize layouts if using widgets.
12867 2000-05-03 Andy Piper <andy@xemacs.org>
12869 * nt.c: remove bogus reference to sysmmsystem.h
12871 * gui-x.c (popup_selection_callback): fix no selection abort.
12873 2000-05-02 Andy Piper <andy@xemacs.org>
12875 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
12876 (mswindows_widget_instantiate): ditto.
12878 * glyphs-widget.c (initialize_widget_image_instance): initialize
12879 children correctly.
12880 (widget_instantiate): cope with children and items in the same
12883 * glyphs.c (mark_image_instance): cope with children as a first
12885 (image_instance_equal): ditto.
12886 (image_instance_hash): ditto.
12887 (image_instance_changed): ditto.
12889 2000-04-30 Andy Piper <andy@xemacs.org>
12891 * glyphs.c (subwindow_query_geometry): new function. Return some
12893 (subwindow_instantiate): don't assign dimensions if none have been
12895 (image_instantiator_format_create): add subwindow_query_geometry.
12896 (print_image_instance): cope with layouts as widgets.
12898 2000-04-29 Andy Piper <andy@xemacs.org>
12900 * frame.c (delete_frame_internal): call
12901 free_frame_subwindow_instance_cache so that all subwindows are
12902 finalized before their parent.
12903 (mark_frame): remove subwindow_cachels.
12904 (Fmake_frame): remove subwindow_cachel manipulation.
12905 (allocate_frame_core): subwindow_instance_cache is a weak list.
12906 (delete_frame_internal): set subwindow_instance_cache to nil.
12908 * glyphs-msw.c (mswindows_finalize_image_instance): make double
12910 (mswindows_finalize_image_instance): use the device
12911 not the domain as the domain may have died already.
12913 * glyphs-x.c (x_finalize_image_instance): ditto.
12914 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
12917 * redisplay-output.c (redisplay_unmap_subwindows): update for
12918 subwindow instance cache as a weak list.
12919 (redisplay_unmap_subwindows_maybe): ditto.
12920 (redisplay_unmap_subwindows_except_us): ditto.
12922 * glyphs.c (unmap_subwindow): error checking will check the domain
12923 so don't deal with it here. Don't use cachels anymore.
12924 (map_subwindow): ditto.
12925 (update_subwindow_cachel_data): remove old accessor names.
12926 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
12927 (Fresize_subwindow): don't update cachel.
12928 (mark_subwindow_cachels):
12929 (update_subwindow_cachel_data):
12930 (add_subwindow_cachel):
12931 (get_subwindow_cachel_index):
12932 (update_subwindow_cachel):
12933 (reset_subwindow_cachels):
12934 (mark_subwindow_cachels_as_not_updated): deleted.
12935 (cache_subwindow_instance_in_frame_maybe): new function. Add a
12936 subwindow instance to the frame cache.
12937 (find_matching_subwindow): update for subwindow instance cache as
12939 (update_widget_instances): ditto.
12940 (image_instance_type_to_mask):inlined.
12941 (free_frame_subwindow_instance_cache): new function. finalize all
12942 subwindows that are instantiated.
12944 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
12945 of cachel information.
12946 (IMAGE_INSTANCE_DISPLAY_X):
12947 (IMAGE_INSTANCE_DISPLAY_Y):
12948 (IMAGE_INSTANCE_DISPLAY_WIDTH):
12949 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
12950 (XIMAGE_INSTANCE_DISPLAY_X):
12951 (XIMAGE_INSTANCE_DISPLAY_Y):
12952 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
12953 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
12954 remove subwindow_cachel structure and function references.
12955 (image_instance_type_to_mask): inline from glyphs.c
12957 * redisplay.c (redisplay_frame): remove subwindow_cachel
12960 * frame.h (struct frame): remove subwindow_cachels.
12961 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
12963 * frameslots.h: add subwindow_instance_cache.
12965 * window.c (replace_window): check subwindow cache of replacement.
12966 (window_unmap_subwindows_cache_mapper):
12967 (window_unmap_subwindows): new functions. Unmap all subwindows
12968 cached on this window.
12969 (mark_window_as_deleted): unmap all subwindows.
12971 2000-04-27 Andy Piper <andy@xemacs.org>
12973 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
12975 * glyphs-widget.c (widget_layout): return something.
12976 (layout_layout): return something. Fail if not initialized.
12977 (layout_query_geometry): ditto.
12978 (image_instantiator_native_layout): new function. Initialized the
12979 native layout type.
12980 (widget_instantiate): don't do layout stuff here.
12982 * glyphs.c (instantiate_image_instantiator): reorded calling or
12983 instantiate and post_instantiate with layout in between.
12984 (image_instance_layout): be more selective about deciding whether
12985 the layout has been done or not.
12987 * glyphs.h (struct image_instantiator_methods): return a value
12988 from layout_method.
12990 2000-04-26 Andy Piper <andy@xemacs.org>
12992 * glyphs.c (allocate_image_instance): make initial width and
12993 height unspecified. Set initialized to 0.
12995 * syscommctrl.h new file. Encapsulates commctrl.h.
12997 * syswindows.h new file. Encapsulates windows.h.
12999 * ntplay.c: use new syswindows.h and syscommctrl.h header.
13001 * console-msw.h: ditto.
13003 * redisplay-tty.c (tty_output_display_block): remove layout references.
13005 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
13006 window handle rather than just the frame.
13008 * glyphs.c (mark_image_instance): remove layout references.
13009 (print_image_instance): ditto.
13010 (image_instance_equal): ditto.
13011 (image_instance_hash): ditto.
13012 (decode_image_instance_type): ditto.
13013 (encode_image_instance_type): ditto.
13014 (image_instantiate): ditto.
13015 (allocate_glyph): ditto.
13016 (Fimage_instance_height): ditto.
13017 (Fimage_instance_width): ditto.
13018 (update_subwindow): ditto.
13020 * redisplay-x.c (x_output_display_block): recode for layouts as
13023 * redisplay-output.c (redisplay_output_layout): recode for layouts
13025 (compare_runes): remove layout references.
13027 * redisplay-msw.c (mswindows_output_display_block): recode for
13028 layouts as widgets.
13030 * glyphs-widget.c (image_instantiator_layout): remove
13031 layout_possible_dest_types.
13032 (layout_possible_dest_types): deleted.
13034 * glyphs.h (image_instance_type): remove layout references.
13035 (struct Lisp_Image_Instance): ditto. Add initialized flag.
13036 (IMAGE_INSTANCE_INITIALIZED): new accessor.
13037 (XIMAGE_INSTANCE_INITIALIZED): ditto.
13039 2000-04-25 Andy Piper <andy@xemacs.org>
13041 * glyphs-widget.c (image_instantiator_buttons):
13042 (image_instantiator_edit_fields):
13043 (image_instantiator_combo_box):
13044 (image_instantiator_scrollbar):
13045 (image_instantiator_progress_guage):
13046 (image_instantiator_tree_view):
13047 (image_instantiator_tab_control):
13048 (image_instantiator_labels):
13049 (image_instantiator_layout): call default post_instantiate method.
13050 (widget_post_instantiate): new function. Simply lays out the
13053 * glyphs.h (struct image_instantiator_methods): add
13054 post_instantiate method.
13056 * glyphs.c (instantiate_image_instantiator): add post_instantiate
13059 2000-04-23 Andy Piper <andy@xemacs.org>
13061 * glyphs.h (struct image_instantiator_methods): add
13062 decode_domain_method.
13063 (struct Lisp_Image_Instance): remove subwindow frame - it can be
13064 derived from the domain.
13065 (IMAGE_INSTANCE_FRAME): new accessor.
13066 (XIMAGE_INSTANCE_FRAME): ditto.
13068 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
13069 instead of _SUBWINDOW_FRAME.
13070 (finalize_image_instance): ditto.
13071 (Fimage_instance_foreground): ditto.
13072 (Fimage_instance_background): ditto.
13073 (image_instantiate): ditto.
13074 (update_subwindow_cachel): ditto.
13075 (update_subwindow): ditto.
13076 (unmap_subwindow): ditto.
13077 (map_subwindow): ditto
13078 (subwindow_instantiate): ditto.
13079 * glyphs-msw.c (mswindows_update_widget): ditto.
13080 (mswindows_progress_gauge_instantiate): ditto.
13081 (mswindows_tab_control_update): ditto.
13082 * glyphs-x.c (x_update_widget): ditto.
13083 (x_widget_instantiate): ditto.
13084 (x_tab_control_instantiate): ditto.
13085 (x_tab_control_update): ditto.
13086 * event-msw.c (mswindows_wnd_proc): ditto
13088 * glyphs-widget.c (image_instantiator_layout): use
13089 subwindow_decode_domain.
13090 (image_instantiator_buttons): ditto.
13091 (image_instantiator_edit_fields): ditto.
13092 (image_instantiator_combo_box): ditto.
13093 (image_instantiator_scrollbar): ditto.
13094 (image_instantiator_progress_guage): ditto.
13095 (image_instantiator_tree_view): ditto.
13096 (image_instantiator_tab_control): ditto.
13097 (image_instantiator_labels): ditto.
13098 (image_instantiator_layout): ditto.
13100 * glyphs.c: add instance error checking to many functions.
13101 (instantiate_image_instantiator): decode device from cache_domain.
13102 (image_instantiate): partially rewrite by using
13103 decode_image_instantiator_domain to determine what domain the
13104 instance needs to be cached in.
13105 (decode_image_instantiator_domain): new function. Determine what
13106 domain the image needs to be cached in.
13107 (check_window_subwindow_cache): new error checking function.
13108 (check_instance_cache_mapper): ditto.
13109 (check_image_instance_structure): ditto.
13110 (subwindow_decode_domain): new function. Encodes a window as a
13111 subwindow's cache domain.
13112 (image_instantiator_format_create): use it for text and
13115 2000-04-21 Andy Piper <andy@xemacs.org>
13117 * glyphs.c (image_instance_device): new function.
13118 (image_instance_frame): new function.
13119 (image_instance_window): new function.
13120 (image_instance_live_p): new function.
13122 * window.c (mark_window_as_deleted): reset the subwindow_instance_
13125 * glyphs.h (struct Lisp_Image_Instance): device->domain.
13126 (IMAGE_INSTANCE_DOMAIN): new accessor.
13127 (XIMAGE_INSTANCE_DOMAIN): ditto.
13129 * glyphs-x.c (x_finalize_image_instance): device->domain.
13131 * glyphs-msw.c (init_image_instance_geometry): device->domain.
13132 (mswindows_finalize_image_instance): ditto.
13134 * glyphs-eimage.c (jpeg_instantiate): device->domain.
13135 (gif_instantiate): ditto.
13136 (png_instantiate): ditto.
13137 (tiff_instantiate): ditto.
13139 * glyphs.c (instantiate_image_instantiator): use domain rather
13141 (mark_image_instance): device -> domain.
13142 (print_image_instance): ditto.
13143 (finalize_image_instance): ditto.
13144 (image_instance_equal): ditto.
13145 (allocate_image_instance): ditto.
13146 (Fcolorize_image_instance): ditto.
13147 (query_string_geometry): ditto.
13148 (image_instantiate): ditto
13149 (query_string_font): ditto.
13150 (image_instantiate): ditto.
13151 (update_subwindow): ditto.
13152 (unmap_subwindow): ditto.
13153 (map_subwindow): ditto.
13154 (subwindow_instantiate): ditto.
13156 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
13157 (DOMAIN_FRAME): ditto.
13158 (DOMAIN_WINDOW): ditto.
13159 (DOMAIN_LIVE_P): ditto.
13160 (XDOMAIN_DEVICE): ditto.
13161 (XDOMAIN_FRAME): ditto.
13162 (XDOMAIN_WINDOW): ditto.
13164 * specifier.c (Fvalid_specifier_domain_p): add image instances as
13165 a valid specifier domain.
13167 2000-04-19 Andy Piper <andy@xemacs.org>
13169 * glyphs-widget.c (syms_of_glyphs_widget): remove
13170 widget-callback-current-channel.
13171 (vars_of_glyphs_widget): ditto.
13174 * gui.c (get_gui_callback): revert to previous behaviour.
13176 2000-04-18 Andy Piper <andy@xemacs.org>
13178 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
13179 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
13180 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
13182 * glyphs.c (image_instance_equal): add margin_width.
13183 (image_instance_hash): ditto.
13185 * glyphs-widget.c (widget_instantiate): deal with margin-width.
13186 (layout_query_geometry): ditto.
13187 (layout_layout): ditto.
13188 (syms_of_glyphs_widget): add margin-width.
13189 (image_instantiator_layout): allow margin-width.
13191 * glyphs.c (update_widget_instances): make a normal function.
13192 (syms_of_glyphs): remove Qupdate_widget_instances.
13195 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
13196 so that we don't corrupt ideas about the last event or
13197 command. Remove widget-callback-current-channel fiddling.
13198 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
13200 2000-05-01 Martin Buchholz <martin@xemacs.org>
13202 * XEmacs 21.2.33 is released.
13204 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
13206 * make-src-depend: Allow dots in header file name.
13208 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
13210 * mule-charset.h (struct charset_lookup): Add
13211 next_allocated_1_byte_leading_byte and
13212 next_allocated_2_byte_leading_byte.
13213 * mule-charset.c: Move above two variables so that those values
13216 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
13218 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
13219 when string length is zero.
13220 (find_charsets_in_emchar_string): Ditto.
13222 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
13224 * lisp.h: extern Qdialog and Qmenubar.
13226 * gui-x.c: added events.h.
13227 also fixed typo which made the file uncompilable.
13229 * general.c: Added Qmenubar and Qdialog
13231 2000-04-28 Ben Wing <ben@xemacs.org>
13233 * frame-msw.c (mswindows_init_frame_1):
13234 * frame-msw.c (mswindows_mark_frame):
13235 * event-msw.c (mswindows_enqueue_dispatch_event):
13237 * console-msw.h (struct mswindows_frame):
13238 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
13239 there are now three hash tables for callbacks.
13240 mswindows_enqueue_dispatch_event is no longer static.
13242 * dialog-x.c (maybe_run_dbox_text_callback):
13243 * dialog-x.c (dbox_descriptor_to_widget_value):
13244 switch to new cons3 form for callbacks.
13246 * glyphs-msw.c (mswindows_register_gui_item):
13247 * glyphs-msw.c (mswindows_widget_instantiate):
13248 * glyphs-msw.c (add_tree_item):
13249 * glyphs-msw.c (add_tab_item):
13250 new image instance parameter, so it can be passed to callback-ex.
13251 respect :callback-ex as well as :callback.
13253 * glyphs-widget.c (VALID_GUI_KEYWORDS):
13256 * glyphs.c (print_image_instance):
13257 prettify, e.g. now prints widget type.
13260 certain funs have new image instance parameter.
13263 * gui.c (get_gui_callback):
13264 * gui.c (gui_item_add_keyval_pair):
13265 * gui.c (gui_item_init):
13266 * gui.c (gui_add_item_keywords_to_plist):
13267 * gui.c (mark_gui_item):
13268 * gui.c (gui_item_hash):
13269 * gui.c (gui_item_equal):
13270 * gui.c (copy_gui_item):
13271 * gui.c (syms_of_gui):
13272 recognize callback-ex in a number of places.
13273 also, fix the annoying "can't get out of yes-no dialog" bug.
13276 * gui.h (struct Lisp_Gui_Item):
13277 recognize callback-ex in a number of places.
13279 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
13280 new parameter in button_item_to_widget_value.
13282 * glyphs-x.c (x_update_widget):
13283 * glyphs-x.c (x_button_instantiate):
13284 * glyphs-x.c (x_button_update):
13285 * glyphs-x.c (x_progress_gauge_instantiate):
13286 * glyphs-x.c (x_edit_field_instantiate):
13287 * glyphs-x.c (x_combo_box_instantiate):
13288 * glyphs-x.c (x_tab_control_instantiate):
13289 * glyphs-x.c (x_label_instantiate):
13290 new image instance parameter in various places.
13293 * event-Xt.c (enqueue_Xt_dispatch_event):
13294 this fun gets exported.
13297 * gui-msw.c (mswindows_handle_gui_wm_command):
13298 handle both :callback and :callback-ex, and generate our own
13299 event because it's one of the callback-ex arguments.
13302 * gui-x.c (popup_selection_callback):
13303 handle both :callback and :callback-ex, and generate our own
13304 event because it's one of the callback-ex arguments.
13305 * gui-x.c (button_item_to_widget_value):
13306 * gui-x.c (gui_items_to_widget_values_1):
13307 * gui-x.c (gui_item_children_to_widget_values):
13308 * gui-x.c (gui_items_to_widget_values):
13309 new image instance parameter in various places.
13311 * fns.c (Freplace_list):
13312 fix small typo in doc string.
13315 declare enqueue_Xt_dispatch_event.
13317 2000-04-28 Ben Wing <ben@xemacs.org>
13320 * buffer.c (Frecord_buffer):
13321 * buffer.c (syms_of_buffer):
13322 delete record-buffer-hook.
13325 * fns.c (Freplace_list):
13326 * fns.c (syms_of_fns):
13327 new primitive replace-list.
13330 slot for old buffer-alist.
13333 exfun replace-list.
13336 * redisplay.c (redisplay_frame):
13337 * redisplay.c (syms_of_redisplay):
13338 * redisplay.c (vars_of_redisplay):
13339 new hook buffer-list-changed-hook.
13342 2000-04-27 Ben Wing <ben@xemacs.org>
13344 * extents.h: extern in_modeline_generation.
13346 * redisplay.c (generate_formatted_string_db): set
13347 in_modeline_generation.
13349 * extents.c (extent_changed_for_redisplay): don't mark redisplay
13350 flags if in modeline generation. otherwise frame-modified-tick
13351 is ticked far too often.
13352 Declare in_modeline_generation.
13354 2000-04-26 Ben Wing <ben@xemacs.org>
13356 * emacs.c (vars_of_emacs): document quick-build "error-checking"
13358 (vars_of_emacs): add quick-build as an error-checking option.
13359 A bit kludgy, but there doesn't seem much point in creating
13360 a real var for this.
13362 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
13364 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
13366 * redisplay.h (struct display_line): Add a new variable,
13369 * redisplay.c (create_text_block): Set dl->line_continuation if
13370 the line continues.
13371 (create_string_text_block): Ditto.
13372 (regenerate_window_incrementally): Use line_continuation instead
13373 of searching continuation glyph.
13374 (add_margin_runes): Call add_glyph_rune.
13375 (add_glyph_rune): Handle margin glyph.
13377 2000-04-20 Martin Buchholz <martin@xemacs.org>
13379 * filelock.c (fill_in_lock_file_name):
13381 Check for IS_ANY_SEP instead of '/'.
13383 Avoid generating gratuitous garbage. Call user_login_name() directly.
13384 Never check errno without first seeing that system call failed.
13385 (unlock_file): Add GCPRO.
13386 (Flock_buffer): Fix docstring.
13387 (Ffile_locked_p): Fix docstring. Add GCPRO.
13389 2000-04-19 Martin Buchholz <martin@xemacs.org>
13391 * sysdep.c (get_pty_max_bytes):
13392 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
13393 strings longer than 252 bytes.
13395 * md5.c: Unconditionally include ANSI header <limits.h>
13397 * glyphs-x.c (convert_EImage_to_XImage):
13398 * lisp-union.h (union Lisp_Object):
13399 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
13401 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
13403 * filelock.c (current_lock_owner): Remove unused variable o, p.
13405 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
13407 * callint.c: Remove multiply defined symbol Qlet
13408 (syms_of_callint): ditto.
13410 2000-04-14 Andy Piper <andy@xemacs.org>
13412 * general.c (syms_of_general): add last-command, this-command, let
13415 * lisp.h: declare various symbols.
13417 * glyphs.h: declare Qwidget_callback_current_channel;
13419 * glyphs-widget.c (syms_of_glyphs_widget): add
13420 Qgui_callback_current_channel.
13421 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
13423 * gui-msw.c (mswindows_handle_gui_wm_command): bind
13424 widget-callback-current-channel when invoking the interactive
13425 arg. Also bind last-command and next-command when invoking the
13427 * gui-x.c (popup_selection_callback): ditto.
13429 * gui.c (get_gui_callback): massage args so that we are always
13430 calling eval. This allows us to add our own variable bindings
13433 * glyphs-x.c (x_button_instantiate): use
13434 gui_items_to_widget_values since this is GC safe.
13435 (x_progress_gauge_instantiate): ditto.
13436 (x_edit_field_instantiate): ditto.
13437 (x_label_instantiate): ditto.
13439 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
13440 (emacs_Xt_event_widget_focus_out): new function
13441 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
13443 (emacs_Xt_event_add_widget_actions): new function. add focus
13444 functions as actions.
13445 (init_event_Xt_late): use it.
13447 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
13449 * event-stream.c (Fdispatch_event): Doc fix.
13451 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
13453 * postgresql.c: Remove all references to PQsetenv*.
13455 * postgresql.h: Remove references to PGsetenvHandler object.
13456 * lrecord.h (lrecord_type): Ditto.
13458 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13460 * glyphs-msw.h (struct mswindows_image_instance_data): Added
13461 real_heigh and real_width members, and accessor macros for these.
13463 * glyphs-msw.c (init_image_instance_geometry): New function.
13464 (init_image_instance_from_dibitmap): Use it.
13465 (mswindows_resource_instantiate): Use it.
13466 (init_image_instance_from_xbm_inline): Use it.
13467 (mswindows_initialize_image_instance_mask): Use real bitmap
13469 (mswindows_create_resized_bitmap): Ditto.
13470 (mswindows_create_resized_mask): Ditto.
13472 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
13473 and bitmap to their surface size.
13475 2000-04-11 Jan Vroonhof <jan@xemacs.org>
13477 * process-unix.c (unix_send_process): Guard against process MIA
13478 after Faccept_process_output.
13480 2000-04-11 Ben Wing <ben@xemacs.org>
13482 * eval.c (unbind_to_hairy): fix brokenness introduced by
13483 nanosecond speed improvements.
13485 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
13487 * sunplay.c (init_device): To play sounds correctly, the device
13488 apparently needs to be initialized at least once by XEmacs. Make
13491 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
13493 * redisplay.c (add_margin_runes): Add text image glyph
13496 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
13498 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
13499 gcc is newer than 2.5.
13501 2000-04-06 Colin Rafferty <colin@xemacs.org>
13503 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
13505 * fns.c (size_bit_vector):
13506 * alloc.c (size_vector):
13507 (make_vector_internal):
13508 (make_bit_vector_internal):
13509 (sweep_bit_vectors_1):
13510 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
13512 2000-04-06 Andy Piper <andy@xemacs.org>
13514 * gmalloc.c (malloc): undo previous change.
13519 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
13521 * line-number.c (buffer_line_number): Revert to former version.
13523 2000-04-06 Andy Piper <andy@xemacs.org>
13525 * gmalloc.c (malloc): add error checking.
13530 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
13531 button_item_to_widget_value arg.
13533 * glyphs-x.c (x_button_instantiate): add extra
13534 button_item_to_widget_value arg.
13535 (x_progress_gauge_instantiate): ditto.
13536 (x_edit_field_instantiate): ditto.
13537 (x_label_instantiate): ditto.
13539 * gui-x.c (gui_items_to_widget_values_1): add extra
13540 button_item_to_widget_value arg.
13541 (button_item_to_widget_value): add extra menu_item_p arg.
13543 * gui-x.h: change signature of button_item_to_widget_value.
13545 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
13546 button_item_to_widget_value arg.
13548 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
13550 * buffer.h (struct buffer): auto_save_modified should be long.
13552 2000-04-05 Andy Piper <andy@xemacs.org>
13554 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
13556 (button_query_geometry): give a little more room so that athena
13559 2000-04-05 Andy Piper <andy@xemacs.org>
13561 * faces.c (complex_vars_of_faces): The widget face should inherit
13562 the font of the gui-element face.
13564 2000-04-04 Andy Piper <andy@xemacs.org>
13566 * glyphs-x.c (x_button_update): new function. unconditionally
13567 update a button's state when the instance is dirty.
13568 (image_instantiator_format_create_glyphs_x): add x_button_update.
13569 (x_widget_instantiate): remove old resize cruft.
13571 2000-04-02 Andy Piper <andy@xemacs.org>
13573 * frame.c (change_frame_size_1): The introduction of gutters means
13574 that we need to allow 0 as a potential frame dimension.
13576 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
13578 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
13579 image glyph if allow_cursor.
13580 (add_hscroll_rune): Don't allow cursor to border glyph.
13581 (create_text_block): Ditto.
13583 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
13584 text not in buffer.
13585 (redisplay_output_layout): Call ensure_face_cachel_complete for
13589 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
13591 * redisplay.c (add_glyph_rune): Adding text image as text runes.
13593 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
13596 * redisplay-tty.c (tty_output_display_block): Delete the routine
13597 for text image glyph
13598 * redisplay-x.c (x_output_display_block): ditto
13599 * redisplay-msw.c (mswindows_output_display_block): ditto
13601 2000-02-02 Mike Alexander <mta@arbortext.com>
13603 Note: Some of these were committed by accident as part of other
13606 * regex.c (regex_compile): Avoid compiler warnings.
13608 * ntproc.c (sys_spawnve): Avoid compiler warnings.
13610 * nt.h: Declare term_ntproc correctly.
13612 * nt.c: Remove incorrect declaration of get_home_directory which
13613 is declared correctly in lisp.h.
13615 * keymap.c (get_keyelt): Avoid compiler warnings.
13616 (raw_lookup_key_mapper): Avoid compiler warnings.
13618 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
13620 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
13622 * filemode.c (mode_string): Avoid compiler warnings.
13624 * file-coding.c (Fcoding_system_aliasee): Add return statement to
13627 * events-mod.h: Undef some things that winuser.h defines differently.
13629 * data.c (Faset): Avoid compiler warnings.
13631 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
13633 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
13635 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
13636 Fall through to simple beep on error.
13637 Replace "extern" by real header file.
13639 * linuxplay.c: Use nativesound.h
13640 (play_sound_data): Return error code. Be less verbose on error.
13642 * sunplay.c: Use nativesound.h
13643 (play_sound_data): Return error code. Be less verbose on error.
13645 * ntplay.c: Use nativesound.h
13646 (play_sound_data): Return fake error code
13648 * sgiplay.c: Use nativesound.h
13649 (play_sound_data): Return error code
13651 * hpplay.c: Use nativesound.h, partially implement
13652 new error code. Break compilation until finished.
13653 (play_sound_data): error code.
13655 * nativesound.h (play_sound_file):
13656 (play_sound_data): Prototype in new header.
13658 2000-03-31 Andy Piper <andy@xemacs.org>
13660 * glyphs-widget.c: (button_query_geometry): new function. Adjust
13661 for toggle and radio buttons.
13662 (image_instantiator_buttons): use it.
13664 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
13666 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
13667 (x_update_horizontal_scrollbar_callback): Return if no mirror was
13668 found. Scrollbar event probably belonged to some old config.
13670 2000-03-31 Andy Piper <andy@xemacs.org>
13672 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
13674 (initialize_widget_image_instance): default layout to
13675 LAYOUT_HORIZONTAL rather than 0.
13676 (widget_instantiate): reverse the item list at the end rather than
13678 (layout_layout): re-code for the border text at the front of the
13679 item list rather than at the end.
13680 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
13681 provided by the user.
13682 (widget_query_geometry): comment.
13684 2000-03-30 Andy Piper <andy@xemacs.org>
13686 * glyphs-widget.c (image_instantiator_layout): allow standard
13687 widget keywords in layouts.
13689 * gutter.c (output_gutter): cope with nil gutter contents.
13691 * frame.c (Fset_frame_properties): add gutter docs.
13693 2000-03-29 Andy Piper <andy@xemacs.org>
13695 * toolbar-msw.c (TBSTYLE_FLAT): add.
13696 (mswindows_output_toolbar): minor fiddling.
13698 2000-03-29 Andy Piper <andy@xemacs.org>
13700 * gutter.c (output_gutter): force gutter size recalculation if
13701 what we are trying to display won't fit.
13702 (update_gutter_geometry): new function. A per-gutter version of
13703 update_frame_gutter_geometry.
13704 (update_frame_gutter_geometry): use it.
13705 (redraw_exposed_gutter): add extra debugging output.
13707 2000-03-28 Mike Alexander <mta@arbortext.com>
13709 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
13710 (pdump_file_unmap): Implement it on Windows
13711 (pdump_file_get): Save alocated handles for pdump_file_unmap
13713 2000-03-28 Andy Piper <andy@xemacs.org>
13715 * gui.c (get_gui_callback): treat Quit specially.
13717 2000-03-27 Andy Piper <andy@xemacs.org>
13719 * glyphs.c (image_instantiate): be careful to check in the same
13722 2000-03-27 Didier Verna <didier@xemacs.org>
13724 * config.h.in: define the proper SMART_INCLUDE macro.
13725 handle renaming of `foo_h_path' to `foo_h_file'.
13727 * database.c: ditto.
13731 * linuxplay.c: ditto.
13733 * terminfo.c: ditto.
13735 * tooltalk.h: ditto.
13737 2000-03-27 Andy Piper <andy@xemacs.org>
13739 * glyphs-msw.c (mswindows_update_widget): make sure the widget
13740 gets updated whenever the face might have changed.
13742 2000-03-26 Mike Alexander <mta@arbortext.com>
13744 * dumper.c (pdump_resource_free): Fix the comment.
13746 2000-03-21 Olivier Galibert <galibert@pobox.com>
13748 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
13750 2000-03-22 Mike Alexander <mta@arbortext.com>
13752 * dumper.c: Include Windows headers on Windows
13753 (pdump_resource_free): Add a body to the function
13754 (pdump_load): exe_name -> exe_path and add some comments.
13756 2000-03-25 Mike Alexander <mta@arbortext.com>
13758 * gui.c (copy_gui_item_tree): Return a value in all cases
13760 2000-03-21 Didier Verna <didier@xemacs.org>
13762 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
13764 (SMART_INCLUDE): new macro.
13765 (POSTGRES_INCLUDE): new macro to include postgresql headers from
13766 the proper location.
13768 * postgresql.c: use it.
13772 2000-03-24 Andy Piper <andy@xemacs.org>
13774 * gutter.c (redraw_exposed_gutters): must be "in display" when we
13777 2000-03-24 Andy Piper <andy@xemacs.org>
13779 * redisplay-output.c (compare_runes): use image_instance_changed
13780 to detect changes. Do not depend on glyphs_changed, only depend on
13782 (redisplay_output_layout): add debug messages.
13783 (compare_runes): ditto.
13785 * glyphs.h: declare new functions.
13786 (struct Lisp_Image_Instance): remove percent and associated
13789 * gui.h: declare new copying functions.
13791 * gui.c (copy_gui_item_tree): new function.
13792 (copy_gui_item): new function.
13793 (gui_item_id_hash): revert to standard hash.
13794 (gui_item_hash): ditto.
13795 (gui_item_hash_internal): deleted.
13796 (mark_gui_item): mark value.
13797 (gui_item_add_keyval_pair): add value.
13798 (gui_item_init): ditto.
13799 (gui_add_item_keywords_to_plist): ditto.
13800 (gui_item_equal): ditto.
13801 (syms_of_gui): add Q_value.
13803 * glyphs-x.c (x_progress_gauge_update): use pending items and
13804 value for setting the state.
13805 (x_update_widget): don't set items from pending here.
13807 * glyphs-widget.c (update_widget): update items here.
13808 (progress_gauge_set_property): use items for storing value. Put
13809 new value in pending items.
13811 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
13812 items for new value. Convert percent -> value.
13813 (mswindows_tab_control_update): don't update items here.
13815 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
13816 (update_subwindow): ditto.
13817 (image_instance_changed): new function. Compare hash values and
13818 past and present widget items.
13819 (image_instantiate): We more careful about where we instantiate
13821 (image_instantiate): add error checking.
13823 * gutter.c (syms_of_gutter): use -hook.
13825 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
13827 * console-tty.c (Fset_console_tty_input_coding_system): Use
13829 (Fset_console_tty_output_coding_system): Use Qterminal.
13830 (tty_init_console): Use Qkeyboard and Qterminal.
13832 2000-03-21 Ben Wing <ben@xemacs.org>
13834 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
13835 From Mike Alexander <mta@arbortext.com>.
13837 2000-03-21 Ben Wing <ben@xemacs.org>
13839 * event-msw.c (mswindows_need_event): Horrible kludge to fix
13840 process brokenness. Proper implementation to come.
13842 Rename call-process-internal to old-call-process-internal.
13843 New impl. in process.el.
13845 2000-03-21 Martin Buchholz <martin@xemacs.org>
13847 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
13849 2000-03-20 Andy Piper <andy@xemacs.org>
13851 * glyphs.c (full_list_hash): make hashes of the same elements in
13852 different orders return different values.
13854 2000-03-20 Martin Buchholz <martin@xemacs.org>
13856 * XEmacs 21.2.32 is released.
13858 2000-03-20 Martin Buchholz <martin@xemacs.org>
13860 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
13861 (DFC_MALLOC_USE_CONVERTED_DATA):
13862 Add aliasing-safe casts to allow use with char* or unsigned char*
13865 * eldap.c (Fldap_open):
13866 (Fldap_search_basic):
13869 Make C++-compilable.
13870 Make sure GCPRO'ed variables are initialized.
13871 Use temp variables to avoid repeated calls to Flength.
13873 2000-03-16 Martin Buchholz <martin@xemacs.org>
13876 Make sure PATH_MAX is always defined.
13877 Include limits.h for PATH_MAX.
13878 Deprecate use of MAXPATHLEN.
13880 2000-03-10 Martin Buchholz <martin@xemacs.org>
13882 * emacs.c: Add reinit_vars_of_fileio.
13883 * symsinit.h: Add reinit_vars_of_fileio.
13884 * fileio.c (reinit_vars_of_fileio): New.
13885 * fileio.c (Fmake_temp_name):
13886 Initialize temp_name random number from microseconds to make
13887 collisions even less likely. Initialize always at process startup
13888 time. (make-temp-name) used to return the same file name twice in
13890 Random stylistic fiddling.
13893 2000-03-20 Andy Piper <andy@xemacs.org>
13895 * glyphs.c (image_instantiate): allow text glyphs to be
13896 instantiated in the minibuffer window.
13898 2000-03-19 Andy Piper <andy@xemacs.org>
13900 * glyphs.c (image_instance_hash): be careful about which items we
13903 * glyphs-widget.c (tab_control_set_property): record into pending
13904 items rather than the actual items.
13906 * glyphs-x.c (x_update_widget): use pending items to update with.
13908 * glyphs-msw.c (mswindows_tab_control_update): use pending items
13911 * glyphs.c (mark_image_instance): mark pending items.
13913 * window.c (Fset_window_configuration): record the buffer.
13914 (Fselect_window): totally revert previous change which breaks many
13917 2000-03-18 Andy Piper <andy@xemacs.org>
13919 * glyphs-msw.c (mswindows_tab_control_update): force selected
13922 * glyphs.c (image_instantiate): don't allow the minibuffer as a
13923 window domain cache, otherwise we get inconsistencies at
13924 startup. There is something fishy at startup which can lead to the
13925 minibuffer being the selected window when the gutter content is
13928 * gui.c (parse_gui_item_tree_list): add probably unnecessary
13930 (parse_gui_item_tree_children): ditto.
13931 (parse_gui_item_tree_item): ditto.
13933 * glyphs.c (Fupdate_widget_instances): return something.
13935 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
13937 * window.c (Fselect_window): Undo 2000-03-17 change.
13939 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
13941 * postgresql.c (Fpq_setenv): Remove this turkey when linking
13942 against v7.0 libraries. Insta-coredump city until the postgres
13945 2000-03-17 Andy Piper <andy@xemacs.org>
13947 * faces.c (complex_vars_of_faces): don't give the widget face an
13948 inherited background pixmap.
13950 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
13953 * event-stream.c (Fdispatch_non_command_events): return something.
13955 * gutter.c (output_gutter): use widget face.
13956 (clear_gutter): ditto.
13958 * NEWS: adjust again.
13960 * window.c (Fselect_window): make sure this runs to completion to
13961 avoid oddities with Fset_window_configuration.
13962 (Fcurrent_window_configuration): in general do not save the
13963 minibuffer as the selected window.
13965 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
13967 2000-03-16 Olivier Galibert <galibert@pobox.com>
13969 * emacs.c (Frunning_temacs_p): Revert previous patch.
13970 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
13972 2000-03-16 Andy Piper <andy@xemacs.org>
13974 * glyphs-x.c (x_tab_control_update): if no widget values then
13977 * NEWS: update for new features.
13979 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
13980 synthetic event to the native system.
13981 (reinit_vars_of_event_Xt): set force_event_pending to
13982 emacs_Xt_force_event_pending.
13984 * events.h (struct event_stream): add force_event_pending.
13986 * specifier.c (recompute_one_cached_specifier_in_window): add
13989 * redisplay.c (redisplay_frame): don't call
13990 update_frame_subwindows. Reset subwindow cachels when
13991 subwindows_changed, removing this was an optimization too far.
13993 * redisplay-output.c (compare_runes): reorganize so that we catch
13994 glyph changes when we want them. Set optimize_output when this
13995 would help layouts.
13996 (redisplay_output_layout): remove frame_really_changed, use
13997 optimize_output instead.
13999 * redisplay-msw.c (mswindows_output_display_block): reset
14000 optimize_output after outputting a glyph.
14001 * redisplay-x.c (x_output_display_block): ditto.
14002 * redisplay-tty.c (tty_output_display_block): ditto.
14004 * gutter.c: (specifier_vars_of_gutter): use new spec changed
14006 (gutter_specs_changed): do specific gutter positions.
14007 (top_gutter_specs_changed): new function. Only update the
14008 specified gutter specs.
14009 (bottom_gutter_specs_changed): ditto.
14010 (left_gutter_specs_changed): ditto.
14011 (right_gutter_specs_changed): ditto.
14013 * gui.c (gui_item_hash_internal): new function, does a real hash.
14014 (gui_item_id_hash): use it.
14015 (gui_item_hash): hash the eval'ed gui_item.
14017 * gui-x.c (popup_selection_callback): send an eval event to call
14018 Fupdate_widget_instances.
14020 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
14021 to call Fupdate_widget_instances.
14023 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
14024 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
14026 * glyphs.c: (update_frame_subwindows): deleted.
14027 (Fupdate_widget_instances): new function for updating the dirty
14028 state of widgets that might have changed.
14029 (syms_of_glyphs): add Qupdate_widget_instances.
14030 (full_list_hash): hash a list completely.
14031 (image_instance_hash): use it for items and properties.
14033 * frame-msw.c (mswindows_size_frame_internal): remove unused
14036 * faces.h (struct face_cachel): fix comment.
14038 * event-stream.c (Fdispatch_non_command_events): new
14039 function. Process non-command events, forcing an event cycle
14041 (syms_of_event_stream): declare.
14042 (event_stream_force_event_pending): new function. Force an event
14043 on the native event queue so that an event cycle will occur next
14047 (struct ntpipe_shove_stream):
14048 (mswindows_enqueue_dispatch_event):
14049 (mswindows_dequeue_dispatch_event):
14050 (mswindows_cancel_dispatch_event):
14051 (mswindows_pump_outstanding_events):
14052 (mswindows_drain_windows_queue):
14053 (mswindows_handle_paint):
14054 (mswindows_wnd_proc):
14055 (mswindows_key_to_emacs_keysym):
14056 (get_process_input_waitable):
14057 (emacs_mswindows_delete_stream_pair): re-indent file.
14058 (mswindows_need_event): do not process further fds if the windows
14059 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
14060 fixes the 100% cpu problem.
14061 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
14063 2000-03-15 Olivier Galibert <galibert@pobox.com>
14069 * emacs.c: Moved dump file searching to dumper.c.
14070 (Frunning_temacs_p): Fixed.
14072 * alloc.c: Moved everything pdump-related to dumper.c. Removed
14073 last_lrecord_type_index_assigned.
14075 2000-02-20 Olivier Galibert <galibert@pobox.com>
14077 * symsinit.h: Added reinit parameter to init_console_stream
14080 * lisp.h: Added file parameter to pdump_load declaration.
14082 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
14083 support. Added dump file searching.
14085 * config.h.in: Added EMACS_PROGNAME.
14087 * console-stream.c (init_console_stream): Fix reinitialisation
14088 when running from temacs.
14090 * alloc.c (pdump): Add id support.
14091 (pdump_load): Add file parameter and signature/id support.
14093 * Makefile.in.in: Add full pdump support.
14095 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
14097 * postgresql.c: Update documentation to reflect latest code
14099 (print_result): Show tuple counts in printed representation when
14101 (Fpq_put_nbytes): MULE-ize.
14102 (Fpq_get_line_async): Ditto.
14104 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
14106 * postgresql.c (Fpq_lo_import): Fix return value.
14107 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
14109 2000-03-13 Ben Wing <ben@xemacs.org>
14111 * alloc.c (pdump_load):
14112 Fix compile warning under mswin.
14114 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
14116 * postgresql.c: Mule-ization, bug fixes.
14117 Use PG_CODING to encapsulate coding system name changes.
14118 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
14119 (pg-coding-system): Create.
14121 (Fpq_conn_defaults): Mule-ize.
14122 (Fpq_connectdb): Mule-ize & bug fix.
14123 (Fpq_connect_start): Mule-ize.
14124 (Fpq_set_client_encoding): Mule-ize.
14125 (Fpq_finish): Document `DEAD' connection status.
14126 (Fpq_clear): Ditto.
14127 (Fpq_pgconn): Mule-ize.
14128 (Fpq_exec): Mule-ize & bug fix.
14129 (Fpq_send_query): Ditto.
14130 (Fpq_get_result): Ditto.
14131 (Fpq_res_status): Mule-ize.
14132 (Fpq_result_error_message): Mule-ize.
14133 (Fpq_ntuples): fix comments.
14134 (Fpq_fname): Mule-ize.
14135 (Fpq_fnumber): Mule-ize.
14136 (Fpq_ftype): fix comments.
14137 (Fpq_get_value): Mule-ize.
14138 (Fpq_cmd_status): Ditto.
14139 (Fpq_cmd_tuples): Ditto.
14140 (Fpq_oid_value): Ditto.
14141 (Fpq_notifies): Ditto.
14142 (Fpq_lo_import): Ditto.
14143 (Fpq_lo_export): Ditto.
14144 (Fpq_get_line): Ditto.
14145 (Fpq_put_line): Mule-ize and bug fix.
14146 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
14148 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
14150 * postgresql.c (vars_of_postgresql): Mule-ize.
14151 (Fpq_conn_defaults): Ditto.
14153 2000-03-12 Ben Wing <ben@xemacs.org>
14155 * alloc.c (Fmake_byte_code):
14156 * alloc.c (debug_string_purity_print):
14157 * alloc.c (pdump_backtrace):
14158 * alloc.c (pdump_get_indirect_count):
14159 * alloc.c (pdump_register_sub):
14160 * alloc.c (pdump_register_object):
14161 * alloc.c (pdump_register_struct):
14162 * alloc.c (pdump_dump_data):
14163 * alloc.c (pdump_reloc_one):
14167 * console-msw.c (GetConsoleHwnd):
14168 * console-msw.c (msw_hide_console):
14169 * console-msw.c (msw_show_console):
14170 * console-msw.c (msw_ensure_console_buffered):
14171 * console-msw.c (msw_output_console_string):
14172 * console-msw.c (console_type_create_mswindows):
14174 a) Added functions to manipulate the console window for use with
14177 b) Added support for writing text to the console, which is now
14178 used under Windows when xemacs is not being run non-interactively,
14179 to write text that would otherwise be destined for stdout because
14180 under these circumstances, text written to stdout tends to
14181 disappear and not be seen.
14185 * event-Xt.c (x_event_to_emacs_event):
14186 * event-Xt.c (describe_event_window):
14187 * events-mod.h (XEMACS_MOD_CONTROL):
14189 * events.c (Fmake_event):
14190 * events.c (character_to_event):
14191 * events.c (event_to_character):
14192 * events.c (format_event_object):
14193 * events.c (Fevent_modifiers):
14195 * events.h (struct key_data):
14196 * events.h (struct button_data):
14197 * events.h (struct misc_user_data):
14198 * frame-x.c (Fcde_start_drag_internal):
14199 * frame-x.c (Foffix_start_drag_internal):
14200 * gpmevent.c (Freceive_gpm_event):
14202 * keymap.c (bucky_sym_to_bucky_bit):
14203 * keymap.c (control_meta_superify):
14204 * keymap.c (make_key_description):
14205 * keymap.c (keymap_lookup_directly):
14206 * keymap.c (create_bucky_submap):
14207 * keymap.c (keymap_store):
14208 * keymap.c (define_key_check_and_coerce_keysym):
14209 * keymap.c (define_key_parser):
14210 * keymap.c (define_key_alternate_name):
14211 * keymap.c (Fdefine_key):
14212 * keymap.c (raw_lookup_key_mapper):
14213 * keymap.c (struct map_keymap_unsorted_closure):
14214 * keymap.c (map_keymap_unsorted_mapper):
14215 * keymap.c (map_keymap_sort_predicate):
14216 * keymap.c (map_keymap_sorted):
14217 * keymap.c (accessible_keymaps_mapper_1):
14218 * keymap.c (where_is_recursive_mapper):
14219 * keymap.c (describe_map_mapper):
14220 * keymap.c (describe_map_sort_predicate):
14221 * keymap.c (describe_map):
14222 * keymap.c (complex_vars_of_keymap):
14223 And a number of other files, the key modifier preprocessor
14224 constants that xemacs uses have names that conflict with constants
14225 defined under MS Windows for other purposes, so they were renamed
14226 to begin with the prefix XEMACS_. The variables that hold such
14227 modifiers were changed to consistently be of type int to fix
14228 various compile warnings.
14230 * console.c (complex_vars_of_console):
14233 * device-msw.c (mswindows_finish_init_device):
14234 * device-msw.c (msw_get_workspace_coords):
14235 * device-msw.c (mswindows_device_system_metrics):
14236 and various other files, added support for a new
14237 device property called offset-workspace which returns the position
14238 of the upper left corner of the workspace area and goes along with
14239 the existing size-workspace property.
14242 * dialog-msw.c (push_bufbyte_string_as_unicode):
14243 * dialog-msw.c (mswindows_popup_dialog_box):
14244 Added support for XEmacs-style accelerator specifications in
14245 button text. Note: I didn't add support for this under X Windows,
14246 and somebody needs to do this.
14249 * dialog.c (Fpopup_dialog_box):
14250 Documented the support for accelerators that was just mentioned.
14252 editfns.c (get_home_directory): Changed behavior under Windows
14253 when HOME not defined; former behavior was irretrievably broken.
14256 * emacs.c (main_1):
14258 * minibuf.c (clear_echo_area_internal):
14259 * minibuf.c (echo_area_append):
14261 * print.c (std_handle_out_external):
14262 * print.c (std_handle_out_va):
14264 * print.c (write_string_to_stdio_stream):
14265 * print.c (output_string):
14266 * print.c (debug_print):
14267 * print.c (debug_backtrace):
14268 * print.c (debug_short_backtrace):
14269 Cleaned up the code that prints text to stdout so that this can be
14270 changed to output into a console window instead under MS Windows,
14271 as described above.
14274 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
14275 * eval.c (internal_catch):
14276 * eval.c (unwind_to_catch):
14277 * eval.c (throw_or_bomb_out):
14278 * eval.c (condition_case_1):
14279 * eval.c (signal_1):
14280 * eval.c (check_error_state_sanity):
14281 * eval.c (call_with_suspended_errors_1):
14282 * eval.c (call_with_suspended_errors):
14283 * eval.c (reinit_vars_of_eval):
14284 Added code to catch throw loops and check for a pesky bug that may
14288 * event-msw.c (key_needs_default_processing_p):
14289 * event-msw.c (mswindows_wnd_proc):
14290 * event-msw.c (mswindows_modifier_state):
14291 * event-msw.c (emacs_mswindows_quit_p):
14292 * event-msw.c (vars_of_event_mswindows):
14293 a) Added support for using the alt key to select menu items as is
14294 standard under MS Windows. This is controlled using the variable
14295 menu-accelerator-enabled, just like under X Windows. There is an
14296 option on the options menu to turn this support on. I really
14297 think that it should be on by default under Windows, but I'm not
14298 going to make this change yet.
14300 b) Added support for dynamic display size changes under Windows.
14303 * event-stream.c (maybe_echo_keys):
14304 * event-stream.c (Fnext_event):
14305 * event-stream.c (command_builder_find_leaf):
14306 * event-stream.c (lookup_command_event):
14307 * event-stream.c (execute_command_event):
14308 * event-stream.c (pre_command_hook):
14309 * event-stream.c (post_command_hook):
14310 * event-stream.c (syms_of_event_stream):
14311 * event-stream.c (vars_of_event_stream):
14312 * event-stream.c (complex_vars_of_event_stream):
14313 * events.h (struct command_builder):
14315 a) Tried to clean up a little bit the horribly written x-specific
14316 accelerator code that crept into this file. I moved this code
14317 into menubar-x.c where it belongs. I also needed to move the
14318 command builder structure into the file events.h because it is
14319 accessed directly by this accelerator code. What I didn't do, but
14320 which should be done at some point, is to properly abstract this
14321 code using device methods instead of the kludgy way that it
14322 currently hooks into the event code.
14324 b) Added the lisp variables this-command-properties and
14325 last-command- properties, which should be used to synchronize two
14326 adjacent commands in preference to playing games with the variable
14327 this-command, which is typically what happens.
14329 c) Added some slightly nasty code to hook into the lisp support
14330 for shifted- motion-key selection. This is actually necessary for
14331 somewhat complicated reasons, which are described in
14332 simple.el. (NB: I think the proper thing would be to have the code
14333 that calls the pre and post command hooks also call out to generic
14334 lisp functions in simple.el, where all built-in stuff could be
14335 added. I will think about this more.)
14337 * event-unixoid.c (poll_fds_for_input):
14338 * lread.c (readchar):
14339 * redisplay-tty.c (tty_clear_frame):
14340 * redisplay-x.c (x_get_gc):
14341 * signal.c (interrupt_signal):
14342 And a whole bunch of other files: fixed up places that printed
14343 directly to stderr to instead call the function stderr_out so that
14344 the changes I made under Windows work correctly.
14346 * filemode.c (mode_string):
14350 * frame-msw.c (mswindows_size_frame_internal):
14351 Fixed the computation of frame size and position to keep the frame
14352 within the workspace area, rather than within the physical
14353 dimensions of the screen, so that the frame doesn't overlap window
14354 manager decorations, such as the start menu and toolbar, typically
14355 at the bottom of the screen.
14357 * frame.c (vars_of_frame):
14358 Changed the default frame title format under MS Windows to consist
14359 of buffername-XEmacs, which is standard under MS Windows. I think
14360 it might be a good idea to change this everywhere because I think
14361 it is superior to the current frame title format, but this is the
14362 kind of change that is likely to cause some people to get annoyed,
14363 so I'm not making it.
14365 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
14367 * gui-msw.c (mswindows_handle_gui_wm_command):
14368 Fixed compile warnings.
14371 * gui-x.c (strdup_and_add_accel):
14372 * gui-x.c (button_item_to_widget_value):
14374 Added code to automatically put an accelerator onto the beginning
14375 of menu items that don't have one as is now the standard, and is
14376 described more later. Also fixed things so that the menu item
14377 name can be an evaluated expression, again a new standard.
14380 * gui.c (gui_item_add_keyval_pair):
14381 * gui.c (make_gui_item_from_keywords_internal):
14382 * gui.c (gui_add_item_keywords_to_plist):
14383 * gui.c (gui_item_accelerator):
14384 * gui.c (gui_name_accelerator):
14385 * gui.c (gui_item_included_p):
14386 * gui.c (gui_item_display_flush_left):
14387 * gui.c (gui_item_display_flush_right):
14388 * gui.c (parse_gui_item_tree_item):
14389 * gui.c (parse_gui_item_tree_children):
14390 * gui.c (parse_gui_item_tree_list):
14391 Mule-ized. Cleanup. GCPRO addition.
14393 * line-number.c (buffer_line_number):
14395 * lisp.h (EMACS_INT_MAX):
14396 Added the manifest constant EMACS_INT_MIN corresponding to the
14397 existing constant EMACS_INT_MAX. This is partially to fix compile
14398 warnings under Windows, and partly for cleanliness.
14401 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
14402 * menubar-msw.c (msw_translate_menu_or_dialog_item):
14403 * menubar-msw.c (displayable_menu_item):
14404 * menubar-msw.c (populate_menu_add_item):
14405 * menubar-msw.c (populate_or_checksum_helper):
14406 * menubar-msw.c (populate_menu):
14407 * menubar-msw.c (update_frame_menubar_maybe):
14408 * menubar-msw.c (prune_menubar):
14409 * menubar-msw.c (msw_char_is_accelerator):
14410 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
14411 * menubar-msw.c (mswindows_handle_wm_command):
14412 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
14413 * menubar-msw.c (mswindows_handle_wm_initmenu):
14414 * menubar-msw.c (mswindows_update_frame_menubars):
14415 * menubar-msw.c (mswindows_free_frame_menubars):
14416 * menubar-msw.c (mswindows_popup_menu):
14417 Fixed a bug in handling accelerators where an extra character
14418 would be displayed in the menu item. Also generalized the
14419 function displayable_menu_item because it is now used by the
14420 dialog box code as well. And finally, added code in the functions
14421 that create the menubar to extract a list of accelerators for the
14422 top level menubar, which is used in the event code to determine
14423 whether a particular alt-key combination should be used to invoke
14424 a menu item, or should be passed through to access the standard
14425 XEmacs keymap binding for this key combination.
14427 Much needed GCPROing.
14430 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
14431 * menubar-x.c (menu_item_descriptor_to_widget_value):
14432 * menubar-x.c (restore_in_menu_callback):
14433 * menubar-x.c (x_popup_menu):
14434 * menubar-x.c (menu_move_up):
14435 * menubar-x.c (menu_move_down):
14436 * menubar-x.c (menu_move_left):
14437 * menubar-x.c (menu_move_right):
14438 * menubar-x.c (menu_select_item):
14439 * menubar-x.c (command_builder_operate_menu_accelerator):
14440 * menubar-x.c (menu_accelerator_junk_on_error):
14441 * menubar-x.c (command_builder_find_menu_accelerator):
14442 * menubar-x.c (Faccelerate_menu):
14444 Moved a whole bunch of code here that was previously in
14445 event-stream.c as described above. There is also code connected
14446 to the new standard of adding an accelerator to the beginning of
14447 menu items that don't have one as described above and below.
14450 * menubar.c (menu_parse_submenu_keywords):
14451 * menubar.c (Fmenu_find_real_submenu):
14452 * menubar.c (Fnormalize_menu_item_name):
14453 * menubar.c (syms_of_menubar):
14454 * menubar.c (vars_of_menubar):
14455 * menubar.c (complex_vars_of_menubar):
14457 a) Cleaned up a bunch of documentation and improved it.
14459 b) XEmacs now automatically adds an accelerator onto the beginning
14460 of any menu items that don't have one. I did this because there
14461 will inevitably be some menu items on the main menubar that don't
14462 have accelerators on them because the package that adds that
14463 particular menu item hasn't yet been fixed up to have accelerators
14464 in them and it looked rather strange to have some items with and
14465 some items without accelerators, especially since even in items
14466 without accelerators, you can, at least under windows, still
14467 access the item through an accelerator corresponding to the first
14468 character in the item's name. If people don't like this behavior,
14469 I can add a variable to turn it off optionally, but I'm not sure
14470 this is a good idea because we really do need to have accelerators
14471 on all of the menu items, and if a package doesn't like the
14472 accelerators being put on the first character, then it should put
14473 the accelerators where they belong.
14475 c) I made a behavior change, which is that the descriptor that
14476 specifies the text of the menu item, which formerly was just a
14477 string, can now also be an evaluated expression. This makes this
14478 descriptor parallel with all of the others, which could also be
14479 evaluated expressions. This also obviates the need for the
14480 keyword :label, which was previously listed in the documentation
14481 as unimplemented, and which was for the same purpose.
14486 * ntproc.c (new_child):
14487 * ntproc.c (sys_spawnve):
14488 * ntproc.c (find_child_console):
14489 * ntproc.c (sys_kill):
14490 Fixed compile warnings. By the way, this file should really go
14491 away entirely, and this will happen as soon as Kirill makes his
14492 final round of process cleanups, which affect the function
14496 * process-nt.c (struct nt_process_data):
14497 * process-nt.c (find_process_from_pid):
14498 * process-nt.c (send_signal_the_nt_way):
14499 * process-nt.c (enable_child_signals):
14500 * process-nt.c (find_child_console):
14501 * process-nt.c (send_signal_the_95_way):
14502 * process-nt.c (nt_finalize_process_data):
14503 * process-nt.c (ensure_console_window_exists):
14504 * process-nt.c (nt_create_process):
14505 * process-nt.c (nt_kill_child_process):
14506 * process-nt.c (nt_kill_process_by_pid):
14507 * process-nt.c (nt_open_network_stream):
14508 * process-nt.c (vars_of_process_nt):
14509 Copied over code from Emacs 20.5 to correctly send signals to sub-
14510 processes under Windows 95. Also added code to automatically
14511 create and hide console window when a sub-process is created under
14512 Windows 95, which obviates the need for the separate runemacs.exe
14513 executable, and finally implemented some variables that were
14514 implemented in Emacs 20.5, but previously not in XEmacs. These
14515 include mswindows- start-process-share-console and
14516 mswindows-start-process-inherit-error-mode. (Both of these only
14517 apply to Windows 95.)
14519 * regex.c (regex_compile): Fixed a compile warning.
14522 * select-msw.c (mswindows_own_selection):
14523 * select-msw.c (mswindows_get_foreign_selection):
14524 * select-msw.c (mswindows_disown_selection):
14525 * select-msw.c (console_type_create_select_mswindows):
14526 * select-msw.c (syms_of_select_mswindows):
14527 Cleaned up the file and implemented the device method
14528 selection_exists_p, which had accidentally been left out. Also
14529 removed four lisp functions that were remnants from before the
14530 time when the selection code was properly device abstracted.
14531 These functions are no longer needed because there are generic
14532 equivalents, and because they were added recently and don't exist
14533 in FSF Emacs, I don't think there's any problem with just deleting
14537 * sysdep.c (sys_subshell):
14538 Fixed a compile warning, although in this case there's probably
14539 something wrong with this code, and it ought to be looked into
14540 more thoroughly by somebody who understands it.
14543 * window.c (Fwindow_text_area_height):
14544 * window.c (Fwindow_width):
14545 * window.c (Fwindow_full_width):
14546 * window.c (Fwindow_pixel_width):
14547 * window.c (debug_print_window):
14548 * window.c (syms_of_window):
14549 Added functions window-text-area-height and window-full-width,
14550 which are functions for returning various width and height
14551 characteristics of a window. (One of these functions is necessary
14552 for making the file dialog box work correctly, and the other one
14553 was added for completeness.) Also added a table to the
14554 documentation for window-height which describes the entire scheme
14555 for accessing width and height characteristics of a window.
14557 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14559 * nt.c (fstat): Added a comment for another problem with
14560 non-encapsulated [f]stat(), reported by Adrian Aichner
14561 <aichner@ecf.teradyne.com>.
14563 2000-03-11 Andy Piper <andy@xemacs.org>
14565 * window.c (make_dummy_parent): initialize subwindow instance
14567 (Fset_window_configuration): zero extent_modiff.
14569 2000-03-10 Andy Piper <andy@xemacs.org>
14571 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
14572 more changes can be triggered.
14573 (Fredisplay_frame): ditto.
14574 (Fredraw_device): ditto.
14575 (Fredisplay_device): ditto.
14576 (redisplay_frame): make non-static.
14577 (redisplay_frame): call update_frame_gutter_geometry outside of
14580 * gutter.h: declare update_frame_gutter_geometry.
14582 * redisplay.h: declare redisplay_frame.
14584 * gutter.c (update_frame_gutter_geometry): move geometry changes
14585 in update_frame_gutters here. Geometry changes can only occur
14586 outside of redisplay.
14587 (update_frame_gutters): remove geometry change code.
14588 (Fredisplay_gutter_area): make sure that we are in display when we
14589 update and that we have flushed any size changes.
14591 2000-03-11 Andy Piper <andy@xemacs.org>
14593 * alloc.c (pdump_dump_data): remove i & count shadows.
14595 2000-02-27 Mike Alexander <mta@arbortext.com>
14597 * sysdep.h: Declare pdump_read_file
14599 * sysdep.c (pdump_read_file): New function
14601 * alloc.c (pdump_load): Call pdump_read_file to get the portable
14604 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
14606 * lrecord.h: add `lrecord_type_pgsetenv'.
14608 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
14610 * symsinit.h: declare (vars|syms)_of* functions.
14611 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
14613 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
14615 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
14617 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
14620 * emacs.c (main_1): Call postgres initialization code.
14622 * postgresql.h: New file. PostgreSQL RDBMS support.
14623 * postgresql.c: New file.
14625 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
14627 * redisplay-output.c (redisplay_output_display_block): Disable
14630 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14632 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
14633 (Fcanna_henkan_next): Ditto.
14634 (Fcanna_bunsetu_henkou): Ditto.
14635 (Fcanna_henkan_kakutei): Ditto.
14636 (Fcanna_henkan_end): Ditto.
14637 (Fcanna_henkan_quit): Ditto.
14638 (Fcanna_henkan_next): Set retun value correctly.
14639 (c2mu): Use unsigned char instead of signed char.
14641 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14643 * emacs.c (main_1): Always call syms_of_gui.
14644 * inline.c: include gui.h
14646 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14648 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
14649 converted to Lisp_Object.
14650 (Qtop_bottom): New variable.
14651 (syms_of_redisplay): Initialize it.
14652 * redisplay.h (Vvisible_bell): Ditto.
14653 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
14654 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
14655 only flash top and bottom.
14657 2000-03-08 Andy Piper <andy@xemacs.org>
14659 * buffer.c (Frename_buffer): record new buffer name the right way.
14661 2000-03-08 Andy Piper <andy@xemacs.org>
14663 * glyphs.c (update_subwindow): increase hash depth so that widget
14664 items get picked up properly.
14666 * redisplay-output.c (compare_runes): increase hash depth so that
14667 widget items get picked up properly.
14669 2000-03-08 Andy Piper <andy@xemacs.org>
14671 * gutter.c (output_gutter): add some debug.
14673 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
14674 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
14675 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
14677 * redisplay-output.c (compare_runes): use display_hash to
14678 determine if glyphs really are not the same.
14680 * glyphs.c (update_subwindow): check display_hash to see if
14681 anything really needs to be updated. If not then do
14682 nothing. Record the display_hash after updating.
14683 (image_instance_equal): compare the image_instance face also.
14685 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
14687 * redisplay.h: Fix comment style.
14689 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
14691 * consle-msw.h (struct mswindows_frame):
14692 Added new member paint_pending to indicate whether a WM_PAINT
14693 magic event has been queued for this frame.
14695 * event-msw.c (mswindows_drain_windows_queue):
14696 Don't queue a WM_PAINT magic event if one is already queued.
14697 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
14699 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
14701 2000-03-07 Didier Verna <didier@xemacs.org>
14703 * dired.c: #include `regex.h' after `sysfile.h'.
14705 2000-03-06 Martin Buchholz <martin@xemacs.org>
14707 * sound.c (init_nas_sound): Fix compiler warning.
14709 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
14711 (MARK_STRUCT_AS_FREE):
14712 (MARK_STRUCT_AS_NOT_FREE):
14713 Make `gcc -fstrict-aliasing' work properly.
14715 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
14717 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
14718 (mswindows_delete_device): Call CoUnnitialize().
14720 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
14722 2000-02-25 <CraigL@DyCon.com>
14724 * process-nt.c: MinGW now has <shellapi.h>, but still needs
14727 * sysdep.c: This extern declaration for environ prevents MinGW
14728 from finding the variable in CRTDLL.DLL.
14730 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
14732 (SHGFI_EXETYPE): ..
14733 (WM_MOUSEWHEEL): ..
14734 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
14736 (MMRESULT): Removed, now defined in cygwin's windows headers.
14738 (uid_t,gid_t,pid_t,ssize_t): ..
14739 (_timeb): Removed, MinGW defines both _timeb and timeb.
14740 (HAVE_H_ERRNO): Added.
14741 (HAVE_TZNAME): Added, configure is not detecting this.
14743 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
14745 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
14746 * syntax.c (syntax_match): Use it.
14748 * cmds.c: Import auto-fill-chars from FSF Emacs.
14749 (Vauto_fill_chars): New variables.
14750 (internal_self_insert): Check Vauto_fill_chars.
14752 Declare auto-fill-chars as a Lisp variable and initialize it.
14754 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
14756 * fileio.c (Fmake_symbolic_link):
14758 Run handlers even if local machine doesn't have symlinks.
14760 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
14762 * event-msw.c (mswindows_drain_windows_queue):
14763 Don't generate paint magic events for non-XEmacs frames.
14765 2000-03-05 Andy Piper <andy@xemacs.org>
14767 * redisplay.c (redisplay_frame): generate_displayable_area and
14768 friends assumes that we are not in GC, we therefore have to make
14769 sure that this doesn't happen.
14771 * gutter.c (calculate_gutter_size): generate_displayable_area
14772 assumes that we are not in GC, we therefore have to make sure that
14773 this doesn't happen.
14775 2000-03-05 Martin Buchholz <martin@xemacs.org>
14777 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
14779 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14781 * redisplay.c (regenerate_window): Make sure we set a sane value
14782 for end_pos even if we jump out of the loop.
14783 (regenerate_window): Answer Ben's question :-).
14784 (start_end_of_last_line): Add may_error argument.
14785 (start_of_last_line):
14786 (end_of_last_line): Pass may_error = 0.
14787 (end_of_last_line_may_error): New function.
14788 (pixel_to_glyph_translation): Use it, so we don't crash in
14791 2000-03-04 Andy Piper <andy@xemacs.org>
14793 * window.h (struct window): add gutter_extent_modiff.
14795 * window.c (allocate_window): zero out gutter_extent_modiff.
14797 * redisplay.h: declare sync_display_line_structs.
14799 * redisplay.c (add_glyph_rune): add a better comment.
14801 * redisplay-output.c (sync_display_line_structs): made non-static.
14802 (compare_runes): remove unneccesary glyph cachel access.
14804 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
14806 * gutter.c (output_gutter): don't output the gutter if extent
14807 changes only involve extents in buffers. use 4 sets of display
14809 (gutter_extent_signal_changed_region_maybe): new function. Mark
14810 extents in gutters as changed.
14811 (update_frame_gutters): use 4 sets of display lines.
14812 (reset_gutter_display_lines): ditto.
14813 (free_frame_gutters): ditto.
14814 (redraw_exposed_gutter): force output of gutters.
14816 * frame.h (struct frame): add 4 sets of gutter display lines.
14818 * extents.c: (extent_changed_for_redisplay): signal changes to
14819 extents in strings in the gutter as well as extents in buffers.
14821 2000-03-02 Andy Piper <andy@xemacs.org>
14823 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
14825 * frame.c (Fmake_frame): make sure the gutters get initialized
14826 after the frame is visible.
14827 (set_frame_selected_window): re-arrange compilation macros a
14829 (change_frame_size_1): mark gutters changed.
14831 * device.c (Fset_device_class): mark gutters changed.
14833 2000-03-01 Andy Piper <andy@xemacs.org>
14835 * window.c (window_top_frame_gutter_height): deleted.
14836 (window_bottom_frame_gutter_height): ditto.
14837 (window_left_frame_gutter_height): ditto.
14838 (window_right_frame_gutter_height): ditto.
14839 (window_top_gutter_height): don't use them.
14840 (window_bottom_gutter_height): ditto.
14841 (window_left_gutter_width): ditto.
14842 (window_right_gutter_width): ditto.
14843 (Fsplit_window): ditto.
14844 (Fwindow_pixel_edges): don't use border dimensions here.
14846 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
14847 (update_scrollbar_instance): ditto.
14849 * redisplay.c (generate_modeline): don't take gutters into account.
14850 (generate_modeline): ditto.
14851 (redisplay_frame): small gutter display optimization.
14853 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
14855 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
14856 gutters into account.
14858 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
14859 for window position and type.
14861 * gutter.c (get_gutter_coords): fix for frame gutters.
14862 (update_frame_gutters): update frame geometry if the gutters have
14864 (init_frame_gutters): record current gutter geometries.
14866 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
14868 (mswindows_widget_instantiate): ditto.
14870 * frame.h (struct frame): add current_gutter_bounds.
14872 * frame.c (change_frame_size_1): position window and minibuffer
14873 appropriately taking into account the frame gutters.
14875 * frame-x.c: (x_initialize_frame_size): take into account the
14878 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
14880 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
14882 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
14884 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
14886 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14888 * file-coding.c (reset_decoding_stream): Clear previous
14889 detection state when autodetect.
14891 2000-02-29 Didier Verna <didier@xemacs.org>
14893 * extents.c (set_extent_glyph_1): don't require extents to be
14896 2000-02-27 Andy Piper <andy@xemacs.org>
14898 * gutter.c (Fset_default_gutter_position): don't default left and
14899 right gutter visibility to t.
14900 (Fset_default_gutter_position): run
14901 default-gutter-position-changed-hook.
14902 (syms_of_gutter): add default-gutter-position-changed-hook.
14904 2000-02-26 Andy Piper <andy@xemacs.org>
14906 * specifier.c (Fmake_specifier): add gutter references.
14908 * gutter.h (RAW_WINDOW_GUTTER): new macro.
14910 * lisp.h: declare Fvalid_plist_p.
14912 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
14914 (default_gutter_visible_p_changed_in_window): invalidate gutter as
14915 well as its visibility so that it gets reconstructed.
14916 (construct_window_gutter_spec): new function. Construct a string
14917 to be displayed in the gutter from a plist of strings. Take care
14918 to only use elements that are declared as visible.
14919 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
14921 (gutter_validate): allow plists of strings in the specifier.
14922 (gutter_specs_changed): construct the real_gutter from the gutter
14923 specs using construct_window_gutter_spec.
14924 (gutter_visible_validate): gutter-visible is a new specifier type.
14925 (Fgutter_visible_specifier_p): new function for the new specifier.
14926 (syms_of_gutter): declare gutter-visible and
14927 Fgutter_visible_specifier_p.
14928 (specifier_type_create_gutter): intitalize new gutter-visible
14930 (reinit_specifier_type_create_gutter): ditto.
14931 (specifier_vars_of_gutter): use new specifier type for gutter
14933 (init_frame_gutters): construct real_gutter correctly.
14934 (Fgutter_specifier_p): beef up documentation.
14935 (Fgutter_size_specifier_p): ditto.
14937 * winslots.h: add real_gutter slots.
14939 2000-02-25 Andy Piper <andy@xemacs.org>
14941 * device-msw.c: Be kind to older cygwin versions. From Raymond
14942 Toy <toy@rtp.ericsson.se>.
14944 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
14945 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
14947 2000-02-25 Martin Buchholz <martin@xemacs.org>
14949 * elhash.c (MARK_OBJ): Practice macro hygiene.
14951 2000-02-24 Martin Buchholz <martin@xemacs.org>
14953 * miscplay.c: s/__inline__/inline/g;
14954 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
14955 (get_device_compdc): INLINE ==> static inline
14956 * *.[ch]: Change INLINE to INLINE_HEADER globally.
14957 find -name '*.h' | \
14958 xargs global-replace \
14959 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
14961 2000-02-25 Andy Piper <andy@xemacs.org>
14963 * window.c (window_top_frame_gutter_height): new function.
14964 (window_top_window_gutter_height): ditto.
14965 (window_top_gutter_height): use them.
14966 (window_bottom_frame_gutter_height): new function.
14967 (window_bottom_window_gutter_height): ditto.
14968 (window_bottom_gutter_height): use them.
14969 (window_left_window_gutter_width): new function.
14970 (window_left_frame_gutter_width): ditto.
14971 (window_left_gutter_width): use them.
14972 (window_right_window_gutter_width): new function.
14973 (window_right_frame_gutter_width): ditto.
14974 (window_right_gutter_width): use them.
14975 (window_pixel_height): new function. calulate window pixel height
14976 with frame gutter involvement.
14977 (Fsplit_window): calculate new sizes taking frame gutters into
14979 (window_char_height_to_pixel_height): don't include frame gutters.
14980 (window_char_height): use window_pixel_height.
14981 (window_pixheight): rename from window_pixel_height.
14982 (change_window_height): use it.
14983 (window_pixel_height_to_char_height): don't include frame gutters.
14984 (window_char_width_to_pixel_width): ditto.
14986 2000-02-25 Andy Piper <andy@xemacs.org>
14988 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
14991 2000-02-24 Martin Buchholz <martin@xemacs.org>
14993 * alloc.c (staticpro):
14994 (staticpro_nodump):
14999 (compact_string_chars):
15000 (pdump_dump_wired):
15001 Convert: if (foo) abort(); ==> assert (! foo);
15003 * eldap.c (Fldap_search_basic):
15007 Fix compiler warnings, and possible crashes if (random) return
15008 value were to be used.
15010 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15012 * device-msw.c: Workaround ResetDC failure.
15014 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
15015 applying a devmode.
15017 * redisplay-msw.c (get_frame_dc): Added start_page_p.
15018 (mswindows_text_width): Do not start printer page.
15020 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
15022 * glyphs-msw.c: Added image methods to msprinter console and
15023 msprinter-specific image instantiation.
15025 2000-02-20 Mike Alexander <mta@arbortext.com>
15027 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
15028 to avoid crashes when selection-sets-clipboard is on
15029 (mswindows_own_selection): ditto
15031 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15034 * redisplay-msw.c (get_frame_dc):
15035 (get_frame_compdc):
15037 * device-msw.c (mswindows_init_device):
15038 (mswindows_delete_device):
15039 (msprinter_init_device):
15040 (msprinter_delete_device):
15041 * frame-msw.c (mswindows_init_frame_1):
15042 (mswindows_delete_frame):
15043 (msprinter_init_frame_3):
15044 (msprinter_delete_frame): Move compatible DC to device object from
15045 frame object, for both mswindows and msprinter. Only one at a time
15046 is needed, it is a real waste to have one per frame!
15048 2000-02-23 Andy Piper <andy@xemacs.org>
15050 * glyphs.c: add dynamic width and height elements.
15051 (image_instance_equal): ditto.
15053 * glyphs-widget.c (widget_query_geometry): calculate width and
15054 height dynamically if required.
15055 (initialize_widget_image_instance): initialize dynamic dimensions.
15056 (widget_instantiate): pick-up dynamic dimensions.
15058 * glyphs.h (struct Lisp_Image_Instance): add width and height for
15059 dynamic determination. Add appropriate macros.
15061 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
15063 (WINDOW_GUTTER_SIZE): ditto.
15064 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
15066 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
15068 (get_frame_dc): ditto.
15070 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
15073 2000-02-23 Martin Buchholz <martin@xemacs.org>
15075 * XEmacs 21.2.31 is released.
15077 2000-02-22 Ben Wing <ben@xemacs.org>
15079 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
15081 2000-02-22 Andy Piper <andy@xemacs.org>
15083 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
15085 2000-02-21 Mike Sperber <mike@xemacs.org>
15089 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
15092 2000-02-21 Mike Sperber <mike@xemacs.org>
15094 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
15096 2000-02-21 Martin Buchholz <martin@xemacs.org>
15098 * XEmacs 21.2.30 is released.
15100 2000-02-20 Martin Buchholz <martin@xemacs.org>
15102 Performance hacking.
15104 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
15105 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
15106 * emacs.c (main_1):
15108 * console.c (DEFVAR_CONSOLE_LOCAL_1):
15109 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
15110 * symeval.h (DEFVAR_SYMVAL_FWD):
15111 * symbols.c (guts_of_unbound_marker):
15112 Make all c_readonly objects also lisp_readonly and marked for life.
15113 * lrecord.h (struct lrecord_implementation):
15114 Document flags better.
15115 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
15116 * lrecord.h (DECLARE_LRECORD):
15117 * lrecord.h (XSETRECORD):
15118 * lrecord.h (RECORDP):
15119 * lrecord.h (RECORD_TYPEP):
15120 * lrecord.h (RECORD_MARKER): New.
15121 * lrecord.h (error_check_*):
15122 * lrecord.h (CONCHECK_NONRECORD):
15123 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
15124 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
15125 * lrecord.h (set_lheader_implementation):
15126 * lrecord.h (enum lrecord_type): New.
15127 * symeval.h (SYMBOL_VALUE_MAGIC_P):
15128 * alloc.c (disksave_object_finalization_1):
15129 * alloc.c (mark_object):
15130 * alloc.c (lrecord_type_index):
15131 * alloc.c (tick_lcrecord_stats):
15132 * alloc.c (Fgarbage_collect):
15133 * alloc.c (init_alloc_once_early):
15134 * alloc.c (pdump_load):
15135 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
15136 * alloc.c (lrecord_type_index): Delete.
15137 Make lisp object type indexes be constant.
15138 Makes (byte-compile) 5% faster.
15139 Put all marker functions into their own array.
15140 Makes (garbage-collect) 5% faster.
15141 Optimize SYMBOL_VALUE_MAGIC_P.
15142 Makes (byte-compile) 2-3% faster.
15143 * config.h.in (gc_checking_assert): New.
15144 * alloc.c: Use gc_checking_assert().
15145 * .dbxrc: Make compatible with new object type implementation.
15146 * .gdbinit: Make compatible with new object type implementation.
15147 * alloc.c: Delete all symbols defined only for debugging, such as
15148 Lisp_Type_Vector and lrecord_charset.
15150 2000-02-21 Andy Piper <andy@xemacs.org>
15152 * gui-msw.c (Fmswindows_shell_execute): fix file location
15155 * buffer.c (Fkill_buffer): remove buffer from alist buffer
15156 unshowing so that set_window_buffer doesn't undo
15157 kill_buffer_hook's hard work.
15159 * glyphs-widget.c (tab_control_query_geometry): don't count the
15160 first item when calculating geometry.
15162 * glyphs.c (map_subwindow): remove redundant code.
15163 (update_frame_subwindows): be more circumspect about when to
15166 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
15167 when items haven't changed. Update faces if faces have changed as
15168 well as just the widget face.
15169 (x_tab_control_update): Update faces if faces have changed as well
15170 as just the widget face.
15172 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
15174 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
15176 (build_syscolor_string): Use mswindows_color_to_string to try to
15178 (mswindows_device_system_metrics): Reverse the foreground and
15179 background colors so that they match the documentation.
15181 * objects-msw.c: (mswindows_X_color_map): tweak some values so
15182 they match the default Windows palette.
15183 (mswindows_color_to_string): New function.
15185 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
15187 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
15189 2000-02-18 Olivier Galibert <galibert@pobox.com>
15191 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
15192 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
15194 * symbols.c (init_symbols_once_early): Removed obsolete
15195 DATA_SEG_BITS related kludge.
15196 (defvar_magic): Ditto.
15198 * malloc.c: Removed obsolete DATA_SEG_BITS
15200 * mem-limits.h: Ditto.
15202 * Makefile.in.in: Removed obsolete HAVE_SHM
15205 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
15207 * device-msw.c (mswindows_delete_device): Free DDE string
15210 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15212 * keymap.c (get_keyelt):
15213 * unexnt.c (unexec):
15214 * vm-limit.c (memory_warnings):
15215 * ntheap.c (recreate_heap):
15216 * ntheap.h (UNINIT_PTR):
15217 * select-msw.c (Fmswindows_get_clipboard):
15218 (Fmswindows_set_clipboard):
15219 * objects-msw.h (MSWINDOWS_BAD_HFONT):
15221 * menubar-msw.c (displayable_menu_item):
15223 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
15224 * sysdep.c (sys_subshell):
15225 * process-nt.c (nt_create_process):
15226 * nt.c (normalize_filename):
15227 (dostounix_filename):
15228 (unixtodos_filename):
15229 * ntproc.c (win32_executable_type):
15230 * ntplay.c (play_sound_data_1):
15232 * editfns.c (get_home_directory):
15233 * event-msw.c (struct winsock_stream):
15234 (mswindows_dde_callback):
15235 * device-msw.c (msprinter_init_device):
15236 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
15238 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
15239 mswindows_clear_toolbar were swapped!
15241 * objects-msw.c:(colormap_t):
15243 * emacs.c (struct standard_args): Fixed const jumble.
15245 * glyphs-widget.c (update_widget): Fixed comparison notation.
15247 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
15249 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
15250 __declspec(noreturn) syntax.
15252 2000-02-19 Martin Buchholz <martin@xemacs.org>
15254 * eldap.c (Fldap_open):
15255 (Fldap_search_basic):
15258 Use new coding system conversion macros.
15260 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15262 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
15264 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
15266 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
15267 (Fldap_add, Fldap_modify, Fldap_delete): New functions
15269 * eldap.c (Qadd, Qreplace): New constant symbols
15270 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
15271 interruptions by XEmacs signals
15272 Remove unnecessary calls to slow_down_interrupts and
15273 speed_up_interrupts
15274 (Fldap_search_basic): Renamed from Fldap_search_internal
15275 Added new optional parameter VERBOSE that triggers the
15276 display of progress messages
15277 Remove unnecessary calls to slow_down_interrupts and
15278 speed_up_interrupts
15279 LDAP result code analysis rewritten
15280 (Fldap_add, Fldap_modify, Fldap_delete): New functions
15281 (syms_of_eldap): Define the new symbols and functions
15284 2000-02-17 Martin Buchholz <martin@xemacs.org>
15286 * realpath.c: Determine PATH_MAX maximally portably.
15288 * insdel.c (bytecount_to_charcount): Optimize.
15289 The function used to be optimized for entirely ASCII sequences.
15290 Now it is optimized for successive characters from the same
15291 charset. This also wins big for _mostly_ ASCII sequences.
15293 * fileio.c (Ffile_truename): convert return from realpath() using
15294 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
15295 - Rewrite GCPROing slightly.
15297 * sysdep.c (sys_open): Do filename conversion, like all other
15298 sys_* functions. Fixes bug:
15299 (let ((file-name-coding-system 'iso-8859-2))
15300 (write-region x y latin2-name))
15301 ==> writes filename using internal encoding.
15303 2000-02-18 Martin Buchholz <martin@xemacs.org>
15305 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
15306 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
15307 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
15308 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
15309 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
15310 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
15311 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
15312 (CONST_IF_NOT_DEBUG): Delete.
15313 * alloc.c (this_one_is_unmarkable): Delete.
15314 (mark_object): Don't check for this_one_is_unmarkable. Use the
15315 c_readonly flag instead.
15316 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
15318 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
15320 * event-msw.c (mswindows_drain_windows_queue):
15321 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
15322 away redundant repaint events.
15324 2000-02-17 Andy Piper <andy@xemacs.org>
15326 * redisplay.h: declare mark_redisplay_structs.
15328 * redisplay.c (redisplay_window):
15329 (redisplay_frame): don't check subwindows_state_changed.
15330 (mark_redisplay): mark gutters here.
15332 * glyphs.c: (instantiate_image_instantiator): always layout if we
15333 haven't done so already.
15334 (allocate_image_instance): don't mark as dirty.
15335 (update_subwindow): bind inhibit_quit.
15337 * gutter.c (mark_gutters): new function.
15339 * glyphs-x.c (x_update_widget): Always resize to get round a
15342 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
15343 breaking absolutely everything.
15345 * gutter.h: declare mark_gutters.
15347 2000-02-16 Martin Buchholz <martin@xemacs.org>
15349 * XEmacs 21.2.29 is released.
15351 2000-02-15 Olivier Galibert <galibert@pobox.com>
15353 * fns.c (size_bit_vector): Fix computation of the size.
15355 2000-02-15 Martin Buchholz <martin@xemacs.org>
15357 * *.[ch]: Change CONST to const globally.
15358 find -name '*.[ch]' | \
15359 xargs global-replace \
15360 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
15361 - Remove vestigial references to CONST_IS_LOSING
15363 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
15365 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
15366 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
15367 events instead of dispatching them directly.
15368 (mswindows_handle_paint): New function to do repainting.
15369 (mswindows_wnd_proc):
15370 (emacs_mswindows_handle_magic_event): Call above function.
15372 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
15374 * objects-msw.c (mswindows_create_font_variant): Return the new
15376 (initialize_font_instance): Get font metrics from the underlined
15377 variant of the font to cope with the case where the underlined
15378 font has a bigger descent.
15380 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
15382 * gui.c (gui_item_accelerator): Return the first underlined
15383 character in item name.
15385 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15387 * lisp.h: Added Qprinter.
15389 * general.c (syms_of_general): Initialized it.
15391 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
15393 (get_frame_compdc): Made inline.
15395 * console.h (struct console_methods): Added eject_page method.
15397 * frame.h: Added FRAME_DISPLAY_P and friends.
15398 Aligned backslahes in many macros in more readable fashion.
15399 Added page_number to struct frame, and an accessor macro
15402 * defice.h: Added DEVICE_DISPLAY_P and friends.
15404 * device.c (Fdevice_printer_p): Used these.
15406 * frame.c (allocate_frame_core): Initialize page number.
15407 (Fprint_job_page_number):
15408 (Fprint_job_eject_page): Implemented.
15410 * frame-msw.c (msprinter_eject_page): Added method.
15411 (msprinter_start_page): Added.
15413 * window.c (Fwindow_truncated_p): Fixed docstring.
15414 (Fwindow_last_line_visible_height): Implemented.
15416 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15418 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
15420 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15422 * syntax.c (scan_words): Always advance at least one character.
15424 2000-02-13 Andy Piper <andy@xemacs.org>
15426 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
15427 to make sure the glyph is in the cachels.
15429 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
15430 global image instance flag.
15431 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
15432 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
15434 * glyphs.c (allocate_image_instance): set dirty bits correctly.
15435 (Fset_image_instance_property): mark layout as changed.
15436 (invalidate_glyph_geometry_maybe): mark layout as changed.
15437 (glyph_width): use new NEEDS_LAYOUT macro.
15438 (glyph_ascent): ditto.
15439 (glyph_descent): ditto.
15440 (glyph_height): ditto.
15441 (image_instance_layout): mark layout as clean after laying out.
15442 (update_subwindow): don't mark layout as clean here.
15444 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
15445 should no longer be needed.
15447 * glyphs-x.c (x_update_widget): sanitize asserts.
15448 (x_finalize_image_instance): sanitize assignment to widgets.
15450 * glyphs-widget.c (widget_instantiate): don't need to clear the
15453 2000-02-13 Martin Buchholz <martin@xemacs.org>
15455 * sysdep.c (getcwd): Use standard prototype.
15456 * sysdep.h (getcwd): Use standard prototype.
15458 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
15459 (sequence, start, end).
15460 Remove redundant type checking.
15461 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
15462 view of `caller-protects') to avoid a crash where the real fix was
15465 2000-02-12 Martin Buchholz <martin@xemacs.org>
15467 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
15469 * s/sol2.h: Remove feature macro initialization.
15471 * alloc.c (alloc_lcrecord): Add more type checking assertions.
15472 (vector_hash): New. Code from internal_hash.
15474 Fix up allocation subsystem comments.
15476 * config.h.in: Add __EXTENSIONS__ for Solaris.
15478 * systime.h (EMACS_GETTIMEOFDAY): New.
15479 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
15480 Remove Solaris-specific code.
15481 Use void* for the (ignored) second arg for gettimeofday().
15483 * elhash.c (hash_table_hash): Implement it, finally.
15484 * elhash.c: Use hashcode_t.
15486 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
15487 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
15489 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
15490 * fns.c (size_bit_vector):
15491 * alloc.c (size_vector):
15492 (make_vector_internal):
15493 (make_bit_vector_internal):
15494 (sweep_bit_vectors_1):
15495 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
15497 2000-02-10 Martin Buchholz <martin@xemacs.org>
15499 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
15500 Include strings.h to avoid warnings for bzero and strcasecmp.
15502 2000-02-10 Olivier Galibert <galibert@pobox.com>
15504 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
15505 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
15507 * fns.c (size_bit_vector): New. Declare bit vectors as a
15510 2000-02-10 Olivier Galibert <galibert@pobox.com>
15512 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
15513 use a value field instead.
15514 (symbol_value_forward_forward): Use value field.
15515 (DEFVAR_SYMVAL_FWD): Use value field.
15516 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
15517 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
15518 (DEFVAR_CONST_INT): Ditto.
15519 (DEFVAR_BOOL): Ditto.
15520 (DEFVAR_CONST_BOOL): Ditto.
15521 (DEFVAR_INT_MAGIC): Ditto.
15522 (DEFVAR_BOOL_MAGIC): Ditto.
15524 * symbols.c (guts_of_unbound_marker): Use value field.
15525 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
15526 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
15528 * lisp.h: Declare dumpopaque and noninteractive1.
15530 * alloc.c (dumpopaque): Added.
15531 (pdump_dump_opaquevec): Added.
15532 (pdump): Call pdump_dump_opaquevec to dump opaque data.
15533 (pdump_load): Reload opaque data. Sync noninteractive1 with
15536 2000-02-10 Andy Piper <andy@xemacs.org>
15538 * glyphs.c (image_instance_layout): if the size changes, mark it
15541 * redisplay-output.c (redisplay_output_layout): Update the
15543 (redisplay_output_subwindow): ditto.
15545 * glyphs.c (update_subwindow): make sure we reset flags for
15546 layouts as well as everything else.
15548 * glyphs-widget.c (layout_layout): don't need to set the instances
15551 2000-02-09 Martin Buchholz <martin@xemacs.org>
15553 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
15554 not HAVE_DLOPEN, which is a lower-level thing.
15556 * .cvsignore: Ignore gmon.out
15558 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
15560 * .cvsignore: Ignore portable dumper xemacs.dmp file
15562 2000-02-09 Andy Piper <andy@xemacs.org>
15564 * redisplay-output.c (redisplay_output_layout): be more clever
15565 about when we output based on the changed flags.
15567 * glyphs.h (struct image_instantiator_methods): add update_method.
15568 (struct Lisp_Image_Instance): add changed flags. Declare new
15569 macros for manipulating them.
15571 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
15572 (image_instance_parent_glyph): find an image_instance's parent
15573 glyph or image_instance.
15574 (image_instance_layout): mark the size as changed.
15575 (set_image_instance_dirty_p): new function. mark an image
15576 instance, plus all of its parents, as dirty.
15577 (Fset_image_instance_property): use it.
15578 (Fglyph_animated_timeout_handler): use it.
15579 (update_subwindow): call update_widget and device methods for
15580 update_subwindow. Mark all changed flags as clean.
15581 (Fresize_subwindow): mark size as changed.
15583 * glyphs-x.c (x_finalize_image_instance): try and detect gc
15585 (x_update_subwindow): only resize subwindows here.
15586 (x_update_widget): new function. Update all changed properties of
15588 (x_resize_subwindow): deleted.
15589 (x_widget_set_property): deleted.
15590 (x_progress_gauge_set_property): deleted.
15591 (x_progress_gauge_update): new function. Implement recorded
15593 (x_tab_control_update): ditto.
15594 (x_tab_control_set_property): deleted.
15595 (console_type_create_glyphs_x): declare new functions.
15596 (image_instantiator_format_create_glyphs_x): ditto.
15598 * glyphs-widget.c (widget_set_property): mark text changed.
15599 (update_widget): new function. Update properties of a widget.
15600 (widget_instantiate): for layouts make sure we set their
15601 children's parent correctly.
15602 (tab_control_set_property): new function. Record changes that will
15603 take place under redisplay's control.
15604 (progress_gauge_set_property): ditto.
15605 (image_instantiator_progress_guage): declare new functions.
15606 (image_instantiator_tab_control): ditto.
15608 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
15610 (mswindows_update_widget): new function. Update all properties on
15611 a widget that have changed.
15612 (mswindows_button_update): new function. Update a button's set
15614 (mswindows_tab_control_update): new function. Update the items in
15616 (mswindows_tab_control_set_property): deleted.
15617 (mswindows_progress_gauge_update): new function. Update the
15618 progress gauge's progress.
15619 (mswindows_widget_set_property): deleted. This is all done
15620 asynchronously now.
15621 (mswindows_progress_gauge_set_property): ditto.
15622 (console_type_create_glyphs_mswindows): declare new methods.
15623 (image_instantiator_format_create_glyphs_mswindows): ditto.
15625 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
15626 (msprinter_set_frame_properties): ditto.
15628 * console.h (struct console_methods): Add update_widget_method.
15630 2000-02-09 Andy Piper <andy@xemacs.org>
15632 * gui-msw.c (Fmswindows_shell_execute): Make
15633 mswindows-shell-execute industrial strength.
15635 2000-02-08 Martin Buchholz <martin@xemacs.org>
15637 * lrecord.h: Make macro argument `props' match member function `plist'.
15640 * fns.c (Fremprop):
15641 * fns.c (Fobject_plist):
15644 Object property list frobbing cleanup.
15645 - Allow any lisp object (compared with `eq'), not just symbols, as
15646 keys in object plists.
15647 - Move symbol plist frobbing into symbols.c, where it belongs.
15648 - Move string plist frobbing into alloc.c, where it belongs.
15649 - Everything's an lrecord now, so no need to test for symbolp, etc.
15650 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
15652 * extents.c: Reorder code to remove declarations.
15654 * frame.h (store_in_alist): Remove useless declaration.
15656 2000-02-07 Martin Buchholz <martin@xemacs.org>
15658 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
15659 * config.h.in: Add HAVE_XCONVERTCASE.
15661 2000-02-07 Andy Piper <andy@xemacs.org>
15663 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
15664 it breaks many things.
15666 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
15668 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
15669 actually can start a common comment type.
15670 * src/syntax.h (SYNTAX_END_P): ditto for end.
15672 2000-02-07 Martin Buchholz <martin@xemacs.org>
15674 * XEmacs 21.2.28 is released.
15676 2000-02-06 Martin Buchholz <martin@xemacs.org>
15678 * event-Xt.c (x_keysym_to_character): New.
15679 (maybe_define_x_key_as_self_inserting_character): New.
15680 (x_has_keysym): New.
15681 Auto-define all keys on the keyboard as self-insert-key.
15683 2000-02-02 Martin Buchholz <martin@xemacs.org>
15685 * menubar.c (vars_of_menubar): A small code simplification.
15687 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
15690 * ExternalClient.c:
15691 * EmacsShell-sub.c:
15694 Use consistent style for specifying X resources.
15696 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
15697 This makes (dontusethis-set-symbol-value-handler) actually usable.
15699 * lrecord.h (lrecord_decription_type):
15700 * alloc.c (pdump_register_sub):
15703 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
15704 Comply with XEmacs coding style.
15705 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
15706 args, and XD_LISP_OBJECT_ARRAY with 3 args.
15708 * keymap.c (Faccessible_keymaps):
15709 Make (accessible-keymaps map "\C-h") do the Right Thing.
15710 Make (accessible-keymaps map []) do the Right Thing.
15711 Make (accessible-keymaps map "") do the Right Thing.
15712 (check_keymap_definition_loop): New function.
15713 (keymap_store_internal): Keep luser from shooting self in foot,
15714 via (define-key ctl-x-4-map "p" global-map).
15715 Remove fullness slot from struct Lisp_Keymap, since hash tables
15717 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
15719 2000-01-30 Martin Buchholz <martin@xemacs.org>
15721 * redisplay.c (init_redisplay): Fix small memory leak.
15723 * elhash.c (pdump_reorganize_hash_table):
15724 Rename from reorganize_hash_table. Change prototype.
15725 Reuse the original memory for hentries. Save 100k.
15726 * alloc.c (PDUMP_READ): new macro.
15727 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
15728 * alloc.c: No need to #ifndef before #undef.
15730 * print.c: Allow debug_print() to print readably by modifying
15731 debug_print_readably. Use consistent variable names.
15733 * .dbxrc: Try to get things to work even if stopped in a function
15734 without source available by explicitly specifying source files.
15735 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15737 * unexnt.c (_start): Removed bogus code which caused loading heap
15738 from differrent executable file.
15739 Removed bogus assignment to _fmode, which caused inconsistencies.
15741 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15743 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
15744 Have spawnve encapsulation regard DONT_ENCAPSULATE.
15745 Do not preliminary `#define signal sigset'.
15747 * systime.h: Do not prototype environ on windows nt and cygwin,
15748 this conflicts with system header.
15750 * syssignal.h: Use correct define for WINDOWSNT
15752 * sysdep.h: Do not prototype environ on windows nt, this conflicts
15753 with system header.
15755 * sysdep.c (near start of file): Fixed commentary and rearranged
15756 ifdefs in readable order.
15757 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
15760 (end_of_data): Do not compile in if using PDUMP.
15762 * symsinit.h: Prototyped vars_of_nt().
15764 * ntproc.c (windows9x_p): Added, instead of os_subtype.
15765 (find_child_console): Use it.
15766 (sys_kill): Use it.
15768 * ntheap.h: Do not extern os_subtype.
15770 * ntheap.c (cache_system_info): Do not cache unneeded:
15771 nt_major_version, nt_minor_version and os_subtype.
15772 (recreate_heap): Do not compile in when PDUMPing.
15774 * nt.c (geteuid and friends): Use the new varibale
15775 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
15776 (init_user_info): Removed the above mentioned hackery.
15777 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
15778 stat has been fixed in the C runtime.
15779 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
15781 * file-coding.c (struct file_coding_dump): Do not define
15782 ucs_to_mule_table in the struct if not MULE.
15783 (struct struct lrecord_description fcd_description_1): Do not dump
15786 * emacs.c (main_1): Call vars_of_nt().
15787 (right before Fdump_emacs_data): Don't need lastfile if using both
15788 portabe dumper and system malloc.
15790 * alloc.c (Fmemory_limit): Conditionalized out.
15791 (pdump): Use OPEN_BINARY for the portable dump file.
15792 (pdump_load): Ditto.
15794 2000-02-02 Mike Alexander <mta@arbortext.com>
15796 * nt.c (convert_time): Set tm_isdst before calling mktime and
15797 avoid calling it at all if the compiler supports 64 bit integers.
15798 Also initialize utc_base_ft before using it.
15800 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
15802 * frame.c (change_frame_size_1): Take f->internal_border_width
15803 into consideration when calculating the width of the frame.
15805 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15807 * window.c (frame_min_height):
15808 (frame_size_valid_p):
15809 (frame_pixsize_valid_p): Added.
15810 (check_frame_size): Generalized.
15812 * window.h: Prototyped the above.
15815 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
15816 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
15817 Deleted Vwin32_* and Vbinary_process_* unused variables.
15819 * device-msw.c (msprinter_init_device): Do not get printer font
15820 list; Added DEVMODE functions.
15822 * frame-msw.c: Added lots of printer code.
15824 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
15827 * console-msw.h: Added more msprinter device private slots.
15829 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15831 * event-msw.c (key_needs_default_processing_p): Added.
15832 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
15834 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15836 * glyphs.c (image_instance_layout): Mark image instance as clean
15838 (glyph_dirty_p): Removed redundant function.
15839 (invalidate_glyph_geometry_maybe): Added.
15840 (update_glyph_cachel_data): Call it.
15842 * glyphs.h: Prototyped it.
15844 * redisplay.c (add_glyph_rune): Call it.
15845 (redisplay_window): Reset glyphs cachels when frame faces have
15846 changed, thus forcing recomputation of built-in border glyphs.
15848 2000-01-30 Martin Buchholz <martin@xemacs.org>
15850 * Makefile.in.in: Make portable dumper and purify play well together.
15851 Add imperfect, but better than nothing, support for pdump.
15852 Remove xemacs.dmp when temacs is re-generated.
15853 Don't ignore errors when dumping xemacs.
15855 * symbols.c (maybe_call_magic_handler): Remove one magic number.
15857 2000-01-28 Andy Piper <andy@xemacs.org>
15859 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
15860 (setup_normal_frame): ditto.
15861 (setup_frame_without_minibuffer): ditto.
15862 (setup_minibuffer_frame): ditto.
15863 (delete_frame_internal): ditto.
15864 (Fmake_frame_invisible): ditto.
15865 (Ficonify_frame): ditto.
15867 * window.h: change Fset_window_buffer signature.
15869 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
15870 (Fset_window_buffer): allow recording of buffer if the window is
15871 the selected window.
15872 (window_loop): Use new Fset_window signature.
15874 2000-01-23 Daniel Pittman <daniel@danann.net>
15876 * config.h.in: Added template for `HAVE_ATHENA_3D'
15878 2000-01-29 Andy Piper <andy@xemacs.org>
15880 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
15882 * gutter.c (output_gutter): Don't output if the window isn't live.
15884 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15886 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
15887 of 01/12/00: Moved SetFocus back here where it belongs.
15889 2000-01-23 Andy Piper <andy@xemacs.org>
15891 * s/cygwin32.h: declare printer things.
15893 2000-01-26 Andy Piper <andy@xemacs.org>
15895 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
15898 2000-01-24 Andy Piper <andy@xemacs.org>
15900 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
15901 (mswindows_button_instantiate): Make sure glyph is a pixmap.
15903 * glyphs-widget.c (widget_instantiate): Avoid shadows.
15905 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
15907 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
15909 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
15910 (mswindows_output_display_block): Avoid local shadows.
15912 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
15913 (mswindows_enqueue_mouse_button_event): ditto.
15914 (mswindows_handle_gui_wm_command): remove declaration.
15916 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
15919 * console-msw.h: Avoid shadows.
15920 (mswindows_get_toolbar_button_text):
15921 (emacs_mswindows_create_stream_pair):
15922 (emacs_mswindows_delete_stream_pair):
15923 (mswindows_handle_toolbar_wm_command): declare.
15925 * device-msw.c (build_syscolor_string): Avoid shadows.
15927 2000-01-23 Andy Piper <andy@xemacs.org>
15929 * glyphs-widget.c (widget_instantiate): reverse the items for
15930 layouts so that children are in the expected order.
15932 2000-01-28 Martin Buchholz <martin@xemacs.org>
15934 * ralloc.c: safe_bcopy ==> memmove
15935 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
15936 * s/msdos.h: Remove BCOPY macros.
15937 * insdel.c (gap_right): Remove BCOPY conditional code.
15938 * insdel.c (gap_left): Remove BCOPY conditional code.
15939 XEmacs demands a working ANSI C compiler - hence memmove.
15941 * regex.c (regex_compile): Remove accidental use of trigraphs.
15943 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15945 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
15948 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15950 * event-msw.c (mswindows_drain_windows_queue): Added the
15952 (mswindows_need_event): Commented the call to
15953 mswindows_drain_windows_queue().
15954 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
15957 * console-msw.h: Moved a few function prototypes here from
15960 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
15961 parameter from unsigned short to unsigned long.
15962 (Fmswindows_shell_execute): Added return value.
15964 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
15966 * sysdep.c (init_system_name):
15967 process-unix.c (unix_canonicalized_host_name):
15968 Don't call freeaddrinfo() if getaddrinfo() fails.
15970 * process-unix.c (unix_open_unix_network_stream):
15971 Moved the code to get a port # into address loop.
15973 2000-01-27 Martin Buchholz <martin@xemacs.org>
15975 * buffer.c (reinit_vars_of_buffer):
15976 The right place to initialize conversion_in_dynarr and
15977 conversion_out_dynarr.
15979 * alloc.c (pdump): Use the real open() till sys_open() is functional.
15981 * process-unix.c (unix_canonicalize_host_name): Muleize.
15982 (unix_open_network_stream): Muleize.
15984 * buffer.h: Fix up prototypes for ralloc.c functions.
15986 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
15987 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
15988 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
15989 instead of gethostbyname()
15990 * process-unix.c: In unix_canonicalize_host_name() and
15991 unix_open_network_stream(), add code to use getaddrinfo()
15992 instead of gethostbyname().
15994 2000-01-27 Daniel Pittman <daniel@danann.net>
15996 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
15997 libs when built with flat Athena.
15999 2000-01-27 Martin Buchholz <martin@xemacs.org>
16001 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
16002 Use coding standards for function prototypes.
16004 2000-01-25 Martin Buchholz <martin@xemacs.org>
16006 * dialog-msw.c (push_lisp_string_as_unicode):
16007 * doc.c (unparesseuxify_doc_string):
16008 * dired.c (Fuser_name_completion_1):
16009 * dired.c (Fuser_name_all_completions):
16010 * dired.c (free_user_cache):
16011 * dired.c (user_name_completion):
16012 * console-x.c (get_display_arg_connection):
16013 * minibuf.c (clear_echo_area_internal):
16014 * minibuf.c (echo_area_append):
16015 * eldap.c (Fldap_open):
16016 * eldap.c (Fldap_search_internal):
16017 * frame-x.c (x_set_frame_text_value):
16018 * frame-x.c (x_set_frame_properties):
16019 * frame-x.c (x_create_widgets):
16020 * redisplay-tty.c (term_get_fkeys_1):
16021 * objects-x.c (x_parse_nearest_color):
16022 * objects-x.c (x_valid_color_name_p):
16023 * objects-x.c (x_initialize_font_instance):
16024 * objects-x.c (x_list_fonts):
16025 * objects-x.c (x_find_charset_font):
16026 * tooltalk.c (Fadd_tooltalk_message_arg):
16027 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
16028 * tooltalk.c (Fadd_tooltalk_pattern_arg):
16029 * process-unix.c (unix_create_process):
16030 * ntproc.c (sys_spawnve):
16031 * sound.c (Fplay_sound_file):
16032 * sound.c (Fplay_sound):
16033 * buffer.c (init_initial_directory):
16034 * buffer.c (init_buffer):
16035 * editfns.c (init_editfns):
16036 * editfns.c (Ftemp_directory):
16037 * editfns.c (Fuser_full_name):
16038 * editfns.c (uncache_home_directory):
16039 * editfns.c (get_home_directory):
16040 * editfns.c (Fuser_home_directory):
16041 * editfns.c (Fformat_time_string):
16042 * editfns.c (Fcurrent_time_string):
16043 * gui-x.c (button_item_to_widget_value):
16044 * database.c (Fopen_database):
16045 * event-Xt.c (x_to_emacs_keysym):
16046 * event-Xt.c (x_event_to_emacs_event):
16047 * event-Xt.c (describe_event_window):
16048 * event-msw.c (mswindows_wnd_proc):
16049 * glyphs-eimage.c (jpeg_instantiate):
16050 * glyphs-eimage.c (gif_instantiate):
16051 * glyphs-eimage.c (png_instantiate):
16052 * glyphs-eimage.c (tiff_instantiate):
16053 * glyphs-x.c (xbm_instantiate_1):
16054 * glyphs-x.c (x_xbm_instantiate):
16055 * glyphs-x.c (x_xface_instantiate):
16056 * glyphs-x.c (autodetect_instantiate):
16057 * glyphs-x.c (cursor_font_instantiate):
16058 * glyphs-x.c (x_widget_instantiate):
16059 * glyphs-x.c (x_widget_set_property):
16060 * glyphs-x.c (x_widget_property):
16061 * glyphs-x.c (BUILD_GLYPH_INST):
16062 * print.c (write_string_to_stdio_stream):
16063 * print.c (output_string):
16064 * print.c (Falternate_debugging_output):
16065 * print.c (Fexternal_debugging_output):
16066 * glyphs-msw.c (extract_xpm_color_names):
16067 * glyphs-msw.c (mswindows_xpm_instantiate):
16068 * glyphs-msw.c (bmp_instantiate):
16069 * glyphs-msw.c (resource_name_to_resource):
16070 * glyphs-msw.c (mswindows_resource_instantiate):
16071 * glyphs-msw.c (xbm_instantiate_1):
16072 * glyphs-msw.c (mswindows_xbm_instantiate):
16073 * glyphs-msw.c (mswindows_xface_instantiate):
16074 * glyphs-msw.c (mswindows_widget_instantiate):
16075 * glyphs-msw.c (add_tree_item):
16076 * glyphs-msw.c (add_tab_item):
16077 * glyphs-msw.c (mswindows_combo_box_instantiate):
16078 * glyphs-msw.c (mswindows_widget_property):
16079 * glyphs-msw.c (mswindows_combo_box_property):
16080 * glyphs-msw.c (mswindows_widget_set_property):
16081 * console.c (stuff_buffered_input):
16082 * objects-msw.c (mswindows_initialize_color_instance):
16083 * objects-msw.c (mswindows_valid_color_name_p):
16084 * objects-msw.c (mswindows_list_fonts):
16085 * objects-msw.c (mswindows_font_instance_truename):
16086 * bytecode.c (optimize_compiled_function):
16087 * select-x.c (symbol_to_x_atom):
16088 * select-x.c (x_atom_to_symbol):
16089 * select-x.c (hack_motif_clipboard_selection):
16090 * select-x.c (selection_data_to_lisp_data):
16091 * select-x.c (lisp_data_to_selection_data):
16092 * select-x.c (Fx_get_cutbuffer_internal):
16093 * select-x.c (Fx_store_cutbuffer_internal):
16094 * buffer.h (TO_EXTERNAL_FORMAT): New function.
16095 * buffer.h (TO_INTERNAL_FORMAT): New function.
16096 * emacs.c (make_arg_list_1):
16097 * emacs.c (make_argc_argv):
16098 * emacs.c (main_1):
16099 * emacs.c (Fdump_emacs):
16100 * emacs.c (split_string_by_emchar_1):
16105 * device-x.c (x_init_device):
16106 * device-x.c (Fx_valid_keysym_name_p):
16107 * device-x.c (Fx_get_font_path):
16108 * device-x.c (Fx_set_font_path):
16109 * glyphs.c (bitmap_to_lisp_data):
16110 * glyphs.c (pixmap_to_lisp_data):
16111 * alloc.c (make_ext_string): Use coding system arguments. Update
16113 * alloc.c (build_string):
16114 * callproc.c (child_setup):
16115 * callproc.c (init_callproc):
16116 * fileio.c (lisp_strerror):
16117 * fileio.c (directory_file_name):
16118 * fileio.c (Fexpand_file_name):
16119 * fileio.c (Ffile_truename):
16120 * fileio.c (Fsysnetunam):
16121 * fileio.c (Fdo_auto_save):
16122 * sysdep.c (sys_readdir):
16123 * tests.c: New file. Allow adding C tests.
16124 Replace GET_* macros with a more comprehensible and flexible
16125 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
16127 Any coding system can be used to do format conversion.
16128 Eliminate enum external_data_format.
16129 Eliminate convert_to_external_format.
16130 Eliminate convert_to_internal_format.
16131 Make sure file-name, keyboard, terminal, and ctext are always
16132 defined as coding systems or aliases. Make
16133 file-name-coding-system, terminal-coding-system, and
16134 keyboard-coding-system magical variables that are equivalent to
16135 defining the corresponding coding system aliases.
16137 * file-coding.c (Fcoding_system_canonical_name_p): New function.
16138 * file-coding.c (Fcoding_system_alias_p): New function.
16139 * file-coding.c (Fcoding_system_aliasee): New function.
16140 * file-coding.c (append_suffix_to_symbol): New function.
16141 * file-coding.c (dangling_coding_system_alias_p): New function.
16142 * file-coding.c (Ffind_coding_system):
16143 * file-coding.c (Fcopy_coding_system):
16144 * file-coding.c (encode_coding_no_conversion):
16145 * file-coding.c (syms_of_file_coding):
16146 * file-coding.c (vars_of_file_coding):
16147 Rewrite coding system alias code.
16148 Allow nested aliases, like symbolic links.
16149 Allow redefinition of coding system aliases.
16150 Prevent existence of dangling coding system aliases.
16152 * dired.c (Fuser_name_completion_1):
16153 * dired.c (Fuser_name_all_completions):
16154 A crash would happen if user did QUIT in the middle of building
16155 user_name_cache. Remove redundant code in mainline and unwind_protect.
16158 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
16160 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
16161 an unsigned char *. Update all callers.
16163 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16165 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
16167 2000-01-25 Martin Buchholz <martin@xemacs.org>
16169 * elhash.c (hentry_description): Use more portable definition.
16170 (resize_hash_table): Initialize new hentries using
16171 xnew_array_and_zero, thereby simplifying the code.
16173 * mule-charset.c (make_charset): Make sure entire object is
16174 initialized, to avoid Purify warnings.
16176 * alloc.c (resize_string): Fix unlikely crash with big strings.
16178 2000-01-24 Martin Buchholz <martin@xemacs.org>
16180 * realpath.c (xrealpath):
16181 Don't call getwd().
16183 2000-01-25 Martin Buchholz <martin@xemacs.org>
16185 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
16187 1999-12-28 Max Matveev <max@melbourne.sgi.com>
16189 * unexelfsgi.c (unexec): Change the way we decide which segment
16190 should be extended.
16192 Assumption that .bss section should be outside the PT_LOADable
16193 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
16194 it's present) is inside the 'data' segment. This would fail the
16195 test which was used to find a segment to grow and cover new
16196 heap. Instead of this assumption, I created another one - on IRIX
16197 the segment to grow should start below .bss and it's address
16198 should extent above the end of .bss. Once this segment is
16199 identified, it's grown to accommodate the new heap and new
16200 zero-length .bss section is added at the end of .data2.
16202 2000-01-25 Martin Buchholz <martin@xemacs.org>
16204 * eval.c (Feval): Wrong number of arguments should use original
16205 function, not the indirect_function version of it.
16207 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
16209 * glyphs-x.c (x_button_instantiate): Don't add image if
16210 it is not a pixmap.
16211 (x_locate_pixmap_file): Call Fexpand_file_name when file name
16214 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
16216 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
16218 (DEFVAR_INT_MAGIC): Ditto.
16219 (DEFVAR_BOOL_MAGIC): Ditto.
16220 * glyphs.h: Reindent backslash.
16222 2000-01-24 Martin Buchholz <martin@xemacs.org>
16224 * glyphs-widget.c (layout_query_geometry):
16225 (layout_layout): Use correct types for gheight, gwidth.
16227 2000-01-24 Martin Buchholz <martin@xemacs.org>
16229 * EmacsManager.c (QueryGeometry): Purified.
16231 2000-01-23 Martin Buchholz <martin@xemacs.org>
16233 * alloc.c (make_float): Make sure entire object is initialized, to
16234 avoid Purify warnings.
16235 (pdump_register_sub): Remove useless assignment.
16236 (pdump): Use xmalloc, not malloc.
16237 (pdump_load): Use xmalloc, not malloc.
16239 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16246 * sysdep.c: Removed redundant #include <windows.h>
16248 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16250 * frame.c (delete_frame_internal): Do not delete device when its
16251 implementation so declares.
16252 (delete_frame_internal): Set device selected frame to nil when
16253 last frame goes away.
16255 * device-msw.c (msprinter_device_system_metrics): Implemented.
16256 (mswindows_device_system_metrics): Added 'device-dpi property.
16258 * device.c: (Fdevice_printer_p): Added.
16259 Added 'offset-workspace device metric.
16261 * console.h (device_metrics): Declared DM_offset_workspace.
16263 2000-01-23 Martin Buchholz <martin@xemacs.org>
16265 * fileio.c (Ffile_truename): Remove pointless and confusing
16266 initialization of elen.
16268 * glyphs-widget.c: Compiler warning fixes.
16270 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
16272 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
16273 instead of a Lisp_Object as argument to make it consistent with
16274 the other LIVE_P macros.
16275 (CHECK_LIVE_PROCESS): New macro.
16277 * process.c: Declare Qprocess_live_p.
16278 (Fprocess_live_p): New function.
16279 (create_process): Use PROCESS_LIVE_P.
16280 (read_process_output): Ditto.
16281 (set_process_filter): Ditto.
16282 (Fdelete_process): Ditto.
16283 (kill_buffer_processes): Ditto
16284 (process_send_signal): Use CHECK_LIVE_PROCESS.
16285 (Fprocess_input_coding_system): Check whether process is still
16286 alive (fix PR#1061).
16287 (Fprocess_output_coding_system): Ditto.
16288 (Fprocess_coding_system): Ditto.
16289 (Fset_process_input_coding_system): Ditto.
16290 (Fset_process_output_coding_system): Ditto.
16292 2000-01-23 Andy Piper <andy@xemacs.org>
16294 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
16297 * glyphs.c (mark_image_instance): take into account changed
16298 image_instance format.
16299 (image_instance_equal): ditto.
16300 (image_instance_hash): ditto.
16302 * glyphs-widget.c (widget_instantiate): Incorporate layout
16303 instantiation here. Delay layout of the layout until later.
16304 (layout_instantiate): deleted.
16305 (layout_query_geometry): new function. get the geometry of a
16307 (layout_layout): layout a layout dynamically.
16308 (image_instantiator_widget): New function - splitting up
16309 image_instantiator_format_create_glyphs_widget for netwinder
16311 (image_instantiator_buttons):
16312 (image_instantiator_edit_fields):
16313 (image_instantiator_combo_box):
16314 (image_instantiator_scrollbar):
16315 (image_instantiator_progress_guage):
16316 (image_instantiator_tree_view):
16317 (image_instantiator_tab_control):
16318 (image_instantiator_labels):
16319 (image_instantiator_layout): ditto.
16320 (image_instantiator_format_create_glyphs_widget): Call preceding
16323 2000-01-22 Martin Buchholz <martin@xemacs.org>
16325 * process.c (Fset_process_coding_system):
16326 * device-x.c (Fx_keysym_hash_table):
16329 * lstream.c (Lstream_write): Return documented value, not 0.
16331 * fileio.c (directory_file_name):
16332 (Fsubstitute_in_file_name):
16333 (Fsubstitute_insert_file_contents_internal):
16334 (Fwrite_region_internal):
16339 Remove vestigial APOLLO-conditional code.
16341 2000-01-21 Martin Buchholz <martin@xemacs.org>
16343 * getpagesize.h: Add guard macros.
16344 * libsst.h: Add guard macros.
16345 * libst.h: Add guard macros.
16346 * line-number.h: Add guard macros.
16347 * ndir.h: Add guard macros.
16348 * sysfloat.h: Add guard macros.
16349 * sysfile.h: Add guard macros.
16350 * sysproc.h: Add guard macros.
16351 * syswait.h: Add guard macros.
16352 * xintrinsic.h: Add guard macros.
16353 * xintrinsicp.h: Add guard macros.
16354 * xmmanager.h: Add guard macros.
16355 * xmmanagerp.h: Add guard macros.
16356 * xmprimitive.h: Add guard macros.
16357 * xmu.h: Add guard macros.
16358 * gpmevent.h: Add copyright statement. Add guard macros.
16359 * miscplay.h: Add guard macros.
16360 * *.h: Use consistent C-standards-approved guard macro names.
16362 * opaque.c (make_opaque): Switch parameter order.
16363 * opaque.h (make_opaque): Switch parameter order.
16364 Update all callers.
16365 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
16367 * config.h.in (type_checking_assert): Added.
16368 (bufpos_checking_assert): Added.
16370 2000-01-21 Martin Buchholz <martin@xemacs.org>
16372 * alloc.c: Harmless pdump changes.
16374 - spell alignment correctly.
16375 * sysdep.c: Use countof()
16377 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16379 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
16380 initially_selected_for_input() console method, default to 0.
16381 (semi_canonicalize_console_connection): Try to delegate to
16382 canonicalize_console_connection if no such console method.
16383 (canonicalize_console_connection): Vice versa.
16384 (print_console): Do not print nil connection.
16386 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
16387 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
16388 (XDEVIMPF_FRAMELESS_OK): Added.
16389 (CONSOLE_INHERITS_METHOD): Added.
16391 * console-msw.c (mswindows_canonicalize_console_connection):
16393 (mswindows_canonicalize_device_connection): Added.
16395 * console-msw.h (struct msprinter_device): Added this struct and
16397 (mswindows_device): Made fontlist a lisp object.
16399 * device.c (semi_canonicalize_device_connection): Try to delegate
16400 to canonicalize_device_connection if no such console method.
16401 (canonicalize_device_connection): Vice versa.
16402 (print_device): Do not print nil connection.
16404 * device-msw.c (mswindows_init_device): Call InitCommonControls
16406 (mswindows_delete_device): Removed fontlist deallocation.
16407 (mswindows_mark_device): Added.
16409 * events.c (event_equal): Added abort() at unreached code.
16410 (event_hash): Ditto.
16412 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
16413 fallback tags of Windows devices.
16415 * general.c (syms_of_general): Initialized Qmsprinter.
16417 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
16418 of fallback tags of Windows devices.
16420 * lisp.h: Declared Qmsprinter.
16422 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
16424 (mswindows_list_fonts): Ditto.
16425 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
16426 that it can be used by both mswindows and msprinter devices.
16427 (initialize_font_instance): Added.
16428 (mswindows_initialize_font_instance): Use it.
16429 (msprinter_initialize_font_instance): Added.
16431 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
16432 and implementation flags check.
16433 (redisplay_without_hooks): Changed the call to the above.
16434 (Fredraw_device): Ditto.
16435 (Fredisplay_device): Ditto.
16437 * redisplay-msw.c (get_frame_dc): Implemented.
16438 (get_frame_compdc): Implemented.
16439 (many functions): Use the two functions above to get device
16440 contexts, ether for a window or a printer.
16442 2000-01-21 Olivier Galibert <galibert@pobox.com>
16444 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
16445 initialization here.
16446 (init_symbols_once_early): Call it.
16447 * emacs.c (main_1): Call it.
16448 * symsinit.h: Declare it.
16450 2000-01-19 Olivier Galibert <galibert@pobox.com>
16452 * alloc.c: Use a lrecord_header * in the backtrace instead of a
16454 (pdump_backtrace): Ditto.
16455 (pdump_register_object): Ditto. Cleanup use of the pointers.
16456 (pdump_get_entry): Abort if trying to register a null pointer.
16457 (pdump_dump_data): Cleanup types when relocating.
16458 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
16459 (pdump_dump_rtables): Remove bad casts.
16460 (pdump_load): Cleanup relocation w.r.t union type. Use a
16461 Lisp_Object instead of a EMACS_INT for the hashtable
16464 2000-01-20 Martin Buchholz <martin@xemacs.org>
16466 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
16468 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
16470 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
16472 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
16474 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16476 * faces.h (FACE_STRIKETHRU_P): Added.
16478 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
16481 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
16482 (mswindows_set_dc_font): New function, aware of font variants,
16483 separated from mswindows_update_dc.
16485 * objects-msw.h (struct mswindows_font_instance_data): Added
16488 * objects-msw.c (mswindows_finalize_font_instance): Delete all
16489 cached fonts and the data structure.
16490 (mswindows_initialize_font_instance): Added creation of font data
16492 (mswindows_print_font_instance): Print at least something.
16493 (mswindows_create_font_variant): Implemented.
16494 (mswindows_get_hfont): Implemented.
16496 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
16498 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
16499 prototyping problem with msvc.
16501 * emacs.c (main_1): added syms_of_gui_mswindows() call
16503 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
16504 syms_of_gui_mswindows() function
16506 * symsinit.h: added the prototype for syms_of_gui_mswindows()
16508 2000-01-18 Martin Buchholz <martin@xemacs.org>
16510 * XEmacs 21.2.27 is released.
16512 2000-01-18 Martin Buchholz <martin@xemacs.org>
16514 * glyphs-eimage.c (struct tiff_error_struct):
16516 (tiff_warning_func):
16517 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
16522 * unexec.c: Remove vestigial Lucid C code.
16526 * libsst.c: Ansify.
16527 Remove declarations of errno and strerror().
16529 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
16531 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
16533 2000-01-16 Martin Buchholz <martin@xemacs.org>
16535 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
16538 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16543 Change enum eol_type to eol_type_t.
16545 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16547 * gui.c (get_gui_callback): Check cons before accessing car.
16549 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16551 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
16552 (XSETSPECIFIER_TYPE): Ditto.
16554 2000-01-17 Didier Verna <didier@xemacs.org>
16556 * redisplay.c (generate_fstring_runes): compute string size in
16557 characters, not bytes.
16559 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
16561 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
16563 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
16565 * print.c (print_error_message): Call print_prepare().
16567 2000-01-14 Martin Buchholz <martin@xemacs.org>
16569 * .dbxrc: Renamed from dbxrc.
16571 * events.c (event_to_character):
16572 Use `assert (foo)' instead of `if (!foo) abort()'
16574 * .gdbinit (xtype): Add documentation.
16575 * .gdbinit (check-temacs): New function.
16576 * .gdbinit (check-xemacs): New function.
16577 * dbxrc (check-xemacs): New function.
16578 * dbxrc (check-xemacs): New function.
16580 2000-01-14 Andy Piper <andy@xemacs.org>
16582 * glyphs-widget.c (widget_query_geometry): Make sure that we
16583 calculate default dimensions correctly.
16585 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16587 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
16589 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
16590 pdump_wire'd variable.
16592 * emacs.c: (main_1): Conditionalized calls to
16593 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
16595 2000-01-13 Martin Buchholz <martin@xemacs.org>
16597 * window.c (Fset_window_configuration):
16598 * sysdep.c (_start):
16599 * input-method-motif.c (res):
16600 * event-Xt.c (Xt_process_to_emacs_event):
16601 Simple compiler warning fixes.
16603 * bytecode.c (funcall_compiled_function): Use the original
16604 function symbol on the backtrace list in preference to the
16605 compiled_function object in error messages.
16607 2000-01-13 Andy Piper <andy@xemacs.org>
16609 * glyphs-x.c (update_widget_face): Make sure we update the widget
16610 background as well as foreground.
16612 2000-01-13 Andy Piper <andy@xemacs.org>
16614 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
16615 fields to subwindow.
16616 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
16617 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
16618 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
16619 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
16621 * glyphs-widget.c (check_valid_tab_orientation): new function.
16622 (initialize_widget_image_instance): zero orientation and
16624 (widget_instantiate): pick up orientation.
16625 (tab_control_query_geometry): return appropriate values for
16628 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
16629 appropriate creation flags for left, right and bottom tabs.
16631 * s/cygwin32.h: add tab definitions.
16633 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16635 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
16636 frame upon hiding a subwindow.
16637 (mswindows_button_instantiate): Changed the push button style to
16639 (mswindows_button_instantiate): Removed button BS_NOTIFY
16641 (mswindows_button_instantiate): Removed redundant check for
16642 a disabled gui item.
16643 (mswindows_button_instantiate): Made use of WS_TABSTOP
16644 consistent: "operable" controls (edit, button, tree, scroll) have
16645 this style, "display-only" ones (static, progress gauge) do
16646 not. This style is currently ignored by XEmacs though. Also,
16647 removed the WS_EX_CONTROLPARENT style - it is not for children,
16648 it is for their parents!
16649 (mswindows_edit_field_instantiate): Ditto.
16650 (mswindows_progress_gauge_instantiate): Ditto.
16651 (mswindows_tree_view_instantiate): Ditto.
16652 (mswindows_tab_control_instantiate): Ditto.
16653 (mswindows_scrollbar_instantiate): Ditto.
16654 (mswindows_combo_box_instantiate): Ditto.
16655 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
16656 style to the "clip" window.
16657 (mswindows_button_instantiate): Removed compilation warning by
16658 equally typing terms of the ?: operator.
16660 2000-01-12 Didier Verna <didier@xemacs.org>
16662 * redisplay.c (generate_fstring_runes): new parameter holding the
16663 last modeline-format extent.
16664 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
16665 extent, fill the glyph block with it.
16666 (generate_fstring_runes): handle these parameters.
16667 (generate_formatted_string_db): ditto.
16669 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
16670 glyphs'extents in the modeline.
16672 1999-01-11 Mike Woolley <mike@bulsara.com>
16674 * ntheap.c: Reduced the reserved heap space from 1Gb down to
16675 256Mb, as a workaround for the non-starting problem many people
16678 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16680 * console-tty.c (Fset_console_tty_output_coding_system):
16681 Force redrawing tty frame.
16683 2000-01-10 Didier Verna <didier@xemacs.org>
16685 * redisplay.c (generate_fstring_runes): fix size computation bug.
16687 2000-01-09 William M. Perry <wmperry@aventail.com>
16689 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
16691 2000-01-09 Andy Piper <andy@xemacs.org>
16693 * glyphs-msw.c: index -> i to avoid shadows.
16694 (xbm_create_bitmap_from_data): make static.
16695 (check_valid_string_or_int): deleted.
16696 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
16698 * glyphs-x.c (x_update_subwindow): remove unused args.
16700 * glyphs.c (glyph_image_instance): return the thing. Don't set the
16701 back pointer - this is done in allocate_image_instance.
16702 (query_string_font): return Qnil to make the compiler happy.
16703 (unmap_subwindow): set to ~0 to make the compiler happy.
16704 (glyph_query_geometry): comment out until used.
16705 (glyph_layout): ditto.
16707 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
16709 * insdel.c (signal_after_change): Remove extraneous unbind_to().