1 2005-08-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * chartab.c (Q_halfwidth_of): New variable.
4 (put_char_composition): Return `<-halfwidth' instead of
5 `=decomposition' for compatibility mapping to single character
7 (Fput_char_attribute): Convert char-specs in value of
8 `{<-|->}halfwidth[^*]*' to characters and put reverse links.
9 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
11 (syms_of_chartab): Add new symbol `<-halfwidth'.
13 2005-08-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
15 * chartab.c (put_char_composition): Return
16 `<-formed@{isolated|initial|medial|final}' for compatibility
17 mapping to single character tagged
18 `{isolated|initial|medial|final}'.
20 2005-08-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
22 * chartab.c (Q_compat_of): Deleted.
23 (put_char_composition): Return `<-FOO' for compatibility mapping
24 to single character tagged `FOO'; use `Fsymbol_name (...)' instead
25 of `symbol_name (XSYMBOL(...))'.
26 (Fput_char_attribute): Convert char-specs in value of
27 `{<-|->}font[^*]*' to characters and put reverse links.
28 (Fsave_char_attribute_table): Don't refer Q_compat_of.
29 (syms_of_chartab): Delete builtin symbol `<-compat'.
31 2005-08-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
33 * chartab.c (Q_circled_of): New variable.
34 (put_char_composition): Return `<-circled' instead of
35 `=decomposition' for compatibility mapping to single character
37 (Fput_char_attribute): Convert char-specs in value of
38 `{<-|->}circled[^*]*' to characters and put reverse links.
39 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
41 (syms_of_chartab): Add new symbol `<-circled'.
43 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
45 * chartab.c (Qto_decomposition_at_circled): New variable.
46 (put_char_composition): Return `=>decomposition@circled' instead
47 of `=decomposition' for compatibility decomposition mapping tagged
49 (syms_of_chartab): Add new symbol `=>decomposition@circled'.
51 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
53 * chartab.c (Q_subscript_of): New variable.
54 (put_char_composition): Return `<-subscript' instead of
55 `=decomposition' for compatibility mapping to single character
57 (Fput_char_attribute): Convert char-specs in value of
58 `{<-|->}subscript[^*]*' to characters and put reverse links.
59 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
61 (syms_of_chartab): Add new symbol `<-subscript'.
63 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
65 * chartab.c (Q_superscript_of): New variable.
66 (put_char_composition): Return `<-superscript' instead of
67 `=decomposition' for compatibility mapping to single character
69 (Fput_char_attribute): Convert char-specs in value of
70 `{<-|->}superscript[^*]*' to characters and put reverse links.
71 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
73 (syms_of_chartab): Add new symbol `<-superscript'.
75 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
77 * chartab.c (Qto_decomposition_at_compat): Deleted.
78 (Qto_decomposition_at_superscript): New variable.
79 (put_char_composition): Use `=>decomposition@superscript' instead
80 of `=decomposition' for compatibility decomposition mapping tagged
82 (Fput_char_attribute): Fix condition about `put_char_composition'.
83 (syms_of_chartab): Delete builtin symbol `=>decomposition@compat';
84 add news symbol `=>decomposition@superscript'.
86 2005-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
88 * chartab.c (put_char_composition): Return `=>decomposition@FOO'
89 for compatibility decomposition mapping tagged FOO.
90 (Fput_char_attribute): Modify for `put_char_composition'.
92 2005-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
94 * chartab.c (Qto_decomposition_at_compat): New variable.
95 (Q_compat_of): Renamed from `Q_compatibility_of'.
96 (put_char_composition): Rename `Q_compatibility_of' to
97 `Q_compat_of'; return `=>decomposition@compat' for compatibility
98 decomposition mapping.
99 (Fsave_char_attribute_table): Rename `Q_compatibility_of' to
101 (syms_of_chartab): Add new symbol `=>decomposition@compat'; rename
102 `<-compatibility' to `<-compat'.
104 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
106 * chartab.c (Q_compatibility_of): New variable.
107 (put_char_composition): Use XCAR/XCDR instead of Fcar/Fcdr if an
108 object is proved to be a cons cell; return `<-compatibility' if
109 the first element of argument `value' is `compat'.
110 (Fput_char_attribute): Eliminate the first value if
111 `put_char_composition' returns `<-compatibility'.
112 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
113 for `<-compatibility'.
114 (syms_of_chartab): Add new symbol `<-compatibility'.
116 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
118 * chartab.c (Q_canonical): New variable.
119 (put_char_composition): Return a feature name: return
120 `->canonical' if argument `value' specifies single character.
121 (Fput_char_attribute): Use `put_char_composition' to determine
122 feature name for `=decomposition' or `->denotational'.
123 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
125 (syms_of_chartab): Add new symbol `->canonical'.
127 2005-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
129 * chartab.c (Qmap_decomposition): New variable.
130 (Fput_char_attribute): Convert `->decomposition' to
132 (syms_of_chartab): Add new symbol `=decomposition'.
134 2005-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
136 * chartab.c (Fget_range_char_table): Fix serious problem when
139 2005-06-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
141 * chartab.c (char_table_get_db): Use `read_from_c_string'.
143 2005-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
145 * lread.c (read_from_c_string): New function.
147 * lisp.h (read_from_c_string): New prototype.
149 2005-05-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
151 * chartab.c (Fput_char_attribute): Convert char-specs in value of
152 `{<-|->}Oracle-Bones[^*]*' to characters and put reverse links.
153 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
154 for `{<-|->}Oracle-Bones[^*]*'.
156 2005-05-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
158 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.22
161 2005-02-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
163 * text-coding.c (Qccs_priority_list): New variable in XEmacs
165 (Fmake_coding_system): Support new property `ccs-priority-list' in
167 (Fcoding_system_property): Likewise.
168 (char_encode_iso2022): Prefer CODING_SYSTEM_CCS_PRIORITY_LIST than
169 Vdefault_coded_charset_priority_list in XEmacs CHISE.
170 (syms_of_file_coding): Add builtin symbol `ccs-priority-list' in
172 (complex_vars_of_file_coding): Define new coding-system-property
173 `ccs-priority-list' in XEmacs CHISE.
175 * file-coding.h (XCODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
177 2004-12-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
179 * char-ucs.h (decoding_table_put_char): Moved to mule-charset.c;
180 changed to normal function.
181 (encode_char_2): Likewise.
183 * mule-charset.c (decoding_table_put_char): Copied from
184 char-ucs.h; changed to normal function.
185 (encode_char_2): Likewise.
187 2004-12-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
189 * char-ucs.h (Vdisplay_coded_charset_priority_use_inheritance):
191 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
192 (encode_char_2_search_children): New inline function.
193 (encode_char_2): Refer
194 `Vdisplay_coded_charset_priority_use_{inheritance|hierarchy_order}'
195 and use `encode_char_2_search_children'.
197 2004-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
200 (Vdisplay_coded_charset_priority_use_inheritance): New variable.
201 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
202 (vars_of_mule_charset): Add new variable
203 `display-coded-charset-priority-use-inheritance' and
204 `display-coded-charset-priority-use-hierarchy-order'.
206 2004-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
208 * char-ucs.h (Q_subsumptive): New extern.
209 (Q_denotational): Likewise.
210 (encode_char_2): Search children specified by `->subsumptive' and
213 2004-11-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
215 * mule-charset.c (complex_vars_of_mule_charset): Modify the
216 X-registry of `ucs-bmp'.
218 2004-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
220 * chartab.c (char-variants): Refer `->subsumptive',
221 `->denotational' and `->identical' as same as `->ucs-unified'.
223 2004-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
225 * chartab.c (Fput_char_attribute): Convert char-specs in value of
226 `{<-|->}{fullwidth|halfwidth}[^*]*' to characters and put reverse
229 2004-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
231 * text-coding.c: Add EXFUN for `Fregexp_quote'.
232 (decode_add_er_char): Fix problem about infinite loop when a CCS
233 specified in `coded-charset-entity-reference-alist' is not
236 2004-09-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
238 * mule-charset.c (syms_of_mule_charset): Rename
239 `=jis-x0208-{1978|1983|1990}' to `=jis-x0208@{1978|1983|1990}'.
241 2004-08-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
243 * fns.c (simplify_char_spec): Don't allocate new character-object
244 if specified char_spec does not have any CCS-features.
246 * chartab.h: Add EXFUN for Fdefine_char.
248 * chartab.c: Delete EXFUN for Fdefine_char.
250 2004-08-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
252 * fns.c (simplify_char_spec): Use Fdefine_char instead of
253 Ffind_char for char-spec.
255 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
257 * lisp-disunion.h (XCHARVAL): Fix condition about
260 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
262 * mule-charset.c (decode_builtin_char): Use <EMACS_INT> instead of
264 (Fdecode_builtin_char): Use <EMACS_INT> instead of <int> for code
265 point; use <Emchar> instead of <int> for character-id.
267 2004-07-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
269 * lisp-disunion.h (make_int): Cast the argument into <EMACS_INT>.
270 (make_char): Likewise.
271 (XCHARVAL): Don't use the inline function for UTF-2000 in 64 bit
273 (XCHARVAL[for UTF-2000 in 32 bit environment]): Use <Emchar>
274 instead of <int> as the type of return value; use <Lisp_Object>
275 instead of <Emchar> as the type of argument.
276 (XCHARVAL[macro version]): Cast the result into <Emchar>.
278 * syntax.h (SYNTAX_CODE_UNSAFE): Use <Lisp_Object> and <enum
279 syntaxcode> instead of <int>.
281 2004-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
283 * chartab.c (put_char_composition): Use DECODE_CHAR to get
284 character corresponding with UCS code point.
285 (Fput_char_attribute): Likewise.
287 * mule-charset.c (put_char_ccs_code_point): Don't omit a UCS
288 character in the UCS decoding-table if the char-id is not equal to
291 2004-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
293 * mule-charset.c (Fsave_charset_properties): Use `true-name' only
294 for aliases; write `description'; write
295 `mother-code-{min|max|offset|conversion}' if CHARSET_MAX_CODE is
298 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
300 * chartab.c (Fsave_char_attribute_table): Don't use
301 `save_charset_properties'.
303 * mule-charset.c (Fsave_charset_properties): Renamed from
304 `save_charset_properties' and changed to Lisp function again;
305 write property `type' as `CCS'; write properties `final-byte' and
306 `mother' if they exists.
307 (syms_of_mule_charset): Revive builtin function
308 `save-charset-properties' when HAVE_LIBCHISE is defined.
310 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
312 * chartab.c (open_chise_data_source_maybe): Use Vdata_directory
313 instead of Vexec_directory.
314 (char_attribute_system_db_file): Likewise.
316 2004-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
318 * chartab.c (Fsave_char_attribute_table): Use
319 `save_charset_properties' for CCS features when HAVE_LIBCHISE is
322 * mule-charset.c (save_charset_properties): Renamed from
323 `Fsave_charset_properties'; changed to non-Lisp function.
324 (syms_of_mule_charset): Abolish builtin function
325 `save-charset-properties'.
327 2004-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
329 * mule-charset.c (Fsave_charset_properties): New function when
330 HAVE_LIBCHISE is defined.
331 (syms_of_mule_charset): Add new builtin function
332 `save-charset-properties' when HAVE_LIBCHISE is defined.
334 2004-06-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
336 * chartab.c (Fput_char_attribute): Convert char-specs in value of
337 `{<-|->}ancient[^*]*' to characters and put reverse links.
338 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
339 for `{<-|->}ancient[^*]*'.
341 2004-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
343 * chartab.c (Fput_char_attribute): Convert char-specs in value of
344 `{<-|->}original[^*]*' to characters and put reverse links.
345 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
346 for `{<-|->}original[^*]*'.
348 2004-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
350 * mule-canna.c (m2c): Fix problem with XEmacs CHISE.
352 2004-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
354 * mule-charset.c (Qsystem_char_id): New variable.
356 * chartab.c (Qsystem_char_id): Deleted even if HAVE_CHISE is
357 defined and HAVE_LIBCHISE_LIBCHISE is not defined.
359 2004-05-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
361 * chartab.c (Fput_char_attribute): When processing a reference of
362 a character, put into the end of the reversed reference of each
365 2004-05-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
367 * chartab.c (Q_same): Deleted.
368 (Q_same_of): Deleted.
369 (Fput_char_attribute): Use Fstring_match to find `{<-|->}same'.
370 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
372 (syms_of_chartab): Delete builtin symbol `{<-|->}same'.
374 2004-05-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
376 * chartab.c (Q_vulgar): Deleted.
377 (Q_vulgar_of): Deleted.
378 (Fput_char_attribute): Use Fstring_match to find `{<-|->}vulgar'.
379 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
381 (syms_of_chartab): Don't define `{<-|->}vulgar'.
383 2004-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
385 * chartab.c (Fput_char_attribute): Convert char-specs in value of
386 `{<-|->}wrong[^*]*' to characters and put reverse links.
387 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
388 for `{<-|->}wrong[^*]*'.
390 2004-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
392 * chartab.c (Q_vulgar): New variable.
393 (Q_vulgar_of): New variable.
394 (Fput_char_attribute): Convert char-specs in value of
395 `{->|<-}vulgar' to characters and put reverse links.
396 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
398 (syms_of_chartab): Add new symbols `{->|<-}vulgar'.
400 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
402 * text-coding.c (decode_add_er_char): Must to quote prefix string
405 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
407 * mule-charset.c (put_char_ccs_code_point): Store characters of
408 =ucs whose code_points >= 0xF0000.
410 2004-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
412 * mule-charset.c (Vcharset_system_char_id): New variable in XEmacs
414 (syms_of_mule_charset): Add new symbol `system-char-id' in XEmacs
416 (complex_vars_of_mule_charset): Add new coded-charset
417 `system-char-id' in XEmacs CHISE; modify `=ucs' to eliminate
418 builtin characters over 0xEFFFF.
420 * chartab.c (syms_of_chartab): Don't define symbol
421 `system-char-id' in every case.
423 * char-ucs.h (Qsystem_char_id): New extern variable.
424 (LEADING_BYTE_SYSTEM_CHAR_ID): New macro.
426 2004-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
428 * text-coding.c (char_encode_utf8): Try to use entity-references
429 for U-000F0000 ... U-0010FFFF.
431 2004-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
433 * text-coding.c (ER_BUF_SIZE): New macro.
434 (struct decoding_stream): Use `ER_BUF_SIZE' to specify size of
436 (decode_add_er_char): Use `ER_BUF_SIZE' instead of 16.
437 (char_encode_as_entity_reference): Use `ER_BUF_SIZE'.
439 2004-03-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
441 * chartab.c (find_char_feature_in_family): New function.
442 (Fchar_feature): Use `find_char_feature_in_family' with
443 `->identical', `<-subsumptive' and `<-denotational'.
445 2004-03-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
447 * text-coding.c (char_encode_as_entity_reference): Allow prefix
448 within 8 characters; fix infinite loop.
450 2004-03-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
452 * chartab.c (Q_same): New variable.
453 (Q_same_of): New variable.
454 (Fput_char_attribute): Convert char-specs in value of
455 `{->|<-}same' to characters and put reverse links.
456 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
458 (syms_of_chartab): Add new symbols `{->|<-}same'.
460 2004-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
462 * chartab.c (Q_component): New variable.
463 (Q_component_of): Likewise.
464 (Fput_char_attribute): Convert char-specs in value of
465 `{->|<-}ideographic-component-forms' to characters and put reverse
467 (syms_of_chartab): Add new symbols
468 `{->|<-}ideographic-component-forms'.
470 2004-02-24 MORIOKA Tomohiko <tomo@m17n.org>
472 * chartab.c (Q_identical): New variable.
473 (Q_identical_from): New variable.
474 (Fchar_feature): Regard `->identical' as a feature to find
476 (Fput_char_attribute): Add reversed link for `{->|<-}identical'.
477 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
478 for `{->|<-}identical'.
479 (syms_of_chartab): Add new symbols `{->|<-}identical'.
481 2004-02-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
483 * char-ucs.h (encode_char_2): New inline function.
484 (CHAR_TO_CHARC): Use `encode_char_2' instead of `encode_char_1'.
486 2004-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
488 * chartab.c (Fput_char_attribute): Convert char-specs to
489 characters in value of `ideographic-structure'.
490 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
491 for `{<-|->}simplified(@...)'.
492 (Fdefine_char): Try to use predefined character's id.
494 2004-02-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
496 * fns.c (simplify_char_spec): Try to convert builtin chars to
499 2004-02-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
501 * chartab.c (Fput_char_attribute): Convert char-specs in value of
502 `<-simplified[^*]*' to characters and put reverse links.
504 2004-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
506 * chartab.c (Q_subsumptive): Renamed from Q_unified.
507 (Q_subsumptive_from): Renamed from Q_unified_from.
508 (Fchar_feature): Use `Q_subsumptive_from' instead of
510 (Fput_char_attribute): Likewise; Use `Q_subsumptive' instead of
512 (syms_of_chartab): Rename `->unified' to `->subsumptive' and
513 `<-unified' to `<-subsumptive'.
515 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
517 * chartab.c (Fchar_feature): Check `<-denotational' to avoid
518 inheritance itself; fix typo; stop recursive search if cyclic
519 inheritance is found.
521 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
523 * chartab.c (Q_denotational): New variable.
524 (Q_denotational_from): New variable.
525 (Fchar_feature): Refer `<-denotational' as same as `<-unified'.
526 (put_char_attribute): New function.
527 (Fput_char_attribute): Use `put_char_attribute'; regard
528 `->denotational' and `<-denotational' as same as `->unified' and
530 (syms_of_chartab): Add new symbols `->denotational' and
533 2004-02-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
535 * chartab.c (Fget_composite_char): Use `Fchar_feature' instead of
536 `Fget_char_attribute'.
537 (Fchar_variants): Likewise.
538 (get_char_table): Likewise.
539 (Fchar_feature): New function.
540 (put_char_composition): Use `Fchar_feature' instead of
541 `Fget_char_attribute'.
542 (Fput_char_attribute): Likewise; don't put the target character
543 into its `->unified' value.
544 (syms_of_chartab): Add new builtin function `char-feature'.
546 2004-01-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
548 * text-coding.c (COMPOSE_ADD_CHAR): Use `Fchar_feature' instead of
549 `Fget_char_attribute'.
550 (char_encode_utf8): Likewise.
552 * chartab.h: Add an EXFUN for `Fchar_feature'.
554 2004-01-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
556 * chartab.c (Vnext_defined_char_id): New variable.
557 (Fput_char_attribute): Accept characters in `->unified'.
558 (Fdefine_char): Refer and update Vnext_defined_char_id to allocate
559 new characters which are not related with builtin char-id ranges.
560 (vars_of_chartab): Add new variable `next-defined-char-id'.
562 2004-01-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
564 * chartab.c (Q_unified): New variable.
565 (Q_unified_from): New variable.
566 (Fput_char_attribute): Add code for `->unified'.
567 (syms_of_chartab): Add new symbols `->unified' and `<-unified' in
570 2003-11-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
572 * mule-charset.c (decode_ccs_conversion): New function.
573 (decode_defined_char): Use `decode_ccs_conversion'.
574 (decode_builtin_char): Likewise.
576 2003-11-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
578 * char-ucs.h: Change some charset-ids of private coded-charsets.
580 2003-11-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
582 * text-coding.c (decode_add_er_char): Modify for `DECODE_CHAR'.
583 (char_encode_as_entity_reference): Likewise.
584 (decode_coding_big5): Modify for `decode_defined_char' and
586 (decode_coding_utf8): Modify for `decode_defined_char'; modify to
587 avoid compiler warning.
588 (decode_coding_iso2022): Modify for `DECODE_CHAR'.
590 * mule-charset.c (decode_defined_char): Add new argument
591 `without_inheritance'.
592 (Fdecode_char): Add new optional argument `without_inheritance'.
593 (Fdecode_builtin_char): Modify for `Fdecode_char'.
595 * fns.c (ids_format_unit): Modify for `Fdecode_char'.
596 (simplify_char_spec): Likewise.
598 * chartab.h (Fdecode_char): Modify number of arguments of EXFUN
601 * chartab.c (put_char_table): Modify for `DECODE_CHAR'.
602 (map_char_table): Likewise.
603 (Fdefine_char): Use `Fdecode_char' without inheritance.
604 (Ffind_char): Modify for `Fdecode_char'.
606 * character.h (CHARC_TO_CHAR): Modify for `DECODE_CHAR'.
608 * char-ucs.h (decode_defined_char): Add new argument
609 `without_inheritance'.
610 (DECODE_CHAR): Likewise.
611 (MAKE_CHAR): Modify for `DECODE_CHAR'.
613 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
615 * chartab.c (Vchise_system_db_directory): New variable.
616 (vars_of_chartab): Add new variable `chise-system-db-directory'.
618 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
620 * chartab.c: EXFUN `Fmount_char_attribute_table'.
621 (print_chartab_range): Don't define when `UTF2000' is defined.
622 (open_chise_data_source_maybe): Specify 0 instead of DB_HASH for
625 2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
627 * chartab.c (Fchar_attribute_list): When HAVE_LIBCHISE is defined
628 and optional argument `rehash' is specified, call
629 `open_chise_data_source_maybe' before
630 `chise_ds_foreach_char_feature_name' is called.
632 2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
634 * chartab.c (char_attribute_list_reset_map_func): New function
635 when HAVE_LIBCHISE is defined.
636 (Fchar_attribute_list): Add new optional argument `rehash' when
637 HAVE_LIBCHISE is defined.
638 (open_chise_data_source_maybe): Use "chise-db" instead of
640 (char_attribute_system_db_file): Likewise.
641 (Fload_char_attribute_table): Use
642 `chise_feature_foreach_char_with_value' instead of
643 `chise_char_feature_value_iterate'.
645 2003-10-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
647 * chartab.c (Vchise_db_directory): New variable.
648 (vars_of_chartab): Add new built-in variable `chise-db-directory'.
650 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
652 * mule-charset.c (Freset_charset_mapping_table): Use HAVE_LIBCHISE
653 instead of HAVE_CHISE to specify using with libchise.
655 * config.h.in (HAVE_CHISE_CLIENT): Deleted.
657 * chartab.h: Don't use HAVE_CHISE_CLIENT.
659 * chartab.c (Qsystem_char_id): Don't define when HAVE_CHISE is not
660 defined or HAVE_LIBCHISE_LIBCHISE is defined.
661 (char_attribute_system_db_file): Don't define when HAVE_LIBCHISE
663 (Freset_char_attribute_table): Use HAVE_LIBCHISE instead of
664 HAVE_CHISE to specify using with libchise.
665 (syms_of_chartab): Don't define symbol `system-char-id' when
666 HAVE_CHISE is not defined or HAVE_LIBCHISE_LIBCHISE is defined.
668 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
670 * mule-charset.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
671 specify CHISE DB support.
672 (Freset_charset_mapping_table): Use `chise_ccs_setup_db' instead
673 of `char_attribute_system_db_file' to check feature DB file.
675 * chartab.h, casetab.c, char-ucs.h: Use HAVE_CHISE instead of
676 HAVE_CHISE_CLIENT to specify CHISE DB support.
678 * chartab.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
679 specify CHISE DB support.
680 (open_chise_data_source_maybe): Don't define when HAVE_LIBCHISE is
682 (Freset_char_attribute_table): Use `chise_feature_setup_db'
683 instead of `char_attribute_system_db_file' to check feature DB
686 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
688 * mule.c (vars_of_mule): Use `HAVE_CHISE' instead of `CHISE' and
691 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
693 * mule-charset.c: Use HAVE_LIBCHISE instead of CHISE.
694 (Fsave_charset_mapping_table): Don't use
695 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
697 * config.h.in (HAVE_CHISE): Renamed from `CHISE'.
698 (HAVE_LIBCHISE): New macro.
700 * chartab.h: Use HAVE_LIBCHISE instead of CHISE.
702 * chartab.c: Use HAVE_LIBCHISE instead of CHISE.
703 (Fsave_char_attribute_table): Don't use
704 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
706 2003-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
708 * chartab.c (save_uint8_byte_table): Use libchise when CHISE is
710 (save_uint16_byte_table): Likewise.
711 (save_byte_table): Likewise.
712 (char_table_get_db): Use `chise_ds_load_char_feature_value'
713 instead of `chise_char_load_feature_value'.
714 (Fsave_char_attribute_table): Use libchise when CHISE is defined.
716 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
718 * chartab.h (struct Lisp_Char_Table): Delete member
719 `feature_table' if CHISE is defined.
721 * chartab.c (Fmake_char_table): Don't refer `ct->feature_table'.
722 (Fcopy_char_table): Likewise.
723 (char_table_open_db_maybe): Likewise.
724 (char_table_close_db_maybe): Likewise.
725 (char_table_get_db): Likewise.
726 (Fmount_char_attribute_table): Likewise.
727 (Fload_char_attribute_table): Likewise.
729 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
731 * mule-charset.c (load_char_decoding_entry_maybe): Use
732 `chise_ds_decode_char' instead of `chise_ds_get_ccs' and
735 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
737 * chartab.c (open_chise_data_source_maybe): Use `CHISE_DS_open'
738 instead of `chise_open_data_source'.
739 (Fclose_char_data_source): Use `CHISE_DS_close' instead of
742 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
744 * chartab.c (char_table_open_db_maybe): Use `chise_ds_get_feature'
745 instead of `chise_ds_open_feature_table'.
746 (char_table_close_db_maybe): Don't use `chise_ft_close'.
748 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
750 * mule-charset.c (Fsave_charset_mapping_table): Use
751 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
752 `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
753 `chise_ccs_sync' instead of `chise_ccst_close'.
754 (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
756 * chartab.c (open_chise_data_source_maybe): Modify for
757 `chise_open_data_source'.
758 (char_table_open_db_maybe): Modify for
759 `chise_ds_open_feature_table'.
761 2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
763 * mule-charset.c (load_char_decoding_entry_maybe): Use
764 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
767 2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
769 * mule-charset.c (Fsave_charset_mapping_table): Use
770 `chise_ds_open_ccs_table', `chise_ccst_put_char' and
771 `chise_ccst_close' instead of `chise_ds_open_decoding_table',
772 `chise_dt_put_char' and `chise_dt_close'.
773 (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
774 `chise_ccs_decode' and `chise_ccst_close' instead of
775 `chise_ds_open_decoding_table', `chise_dt_get_char' and
778 * chartab.c (char_table_get_db): Use
779 `chise_char_load_feature_value' instead of `chise_ft_get_value'.
780 (load_char_attribute_table_map_func): Modify for
781 `chise_char_feature_value_iterate'.
782 (Fload_char_attribute_table): Use
783 `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
785 2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
787 * text-coding.c (COMPOSE_ADD_CHAR): Fixed.
789 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
791 * chartab.c (put_char_table): Modify for inherited coded-charsets
794 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
796 * chartab.c (Fput_char_table_map_function): Fixed.
797 (word_boundary_p): Don't check charset in XEmacs CHISE.
799 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
801 * mule-charset.c (Fsave_charset_mapping_table): Use
802 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
803 instead of `chise_open_decoding_table'; refer
804 `default_chise_data_source'; use `chise_dt_close' instead of
805 `chise_close_decoding_table'.
806 (load_char_decoding_entry_maybe): Likewise.
808 * chartab.c (default_chise_data_source): New variable when `CHISE'
810 (Fcopy_char_table): `ct->ds' is deleted.
811 (open_chise_data_source_maybe): New function.
812 (Fclose_char_data_source): New function.
813 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
814 use `chise_ds_open_feature_table' instead of
815 `chise_open_feature_table'.
816 (char_table_close_db_maybe): Use `chise_ft_close' instead of
817 `chise_close_feature_table'; `cit->ds' is deleted.
818 (syms_of_chartab): Add new builtin function
819 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
821 * chartab.h (default_chise_data_source): New extern variable.
822 (open_chise_data_source_maybe): New prototype.
823 (struct Lisp_Char_Table): Delete `ds'.
825 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
827 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
830 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
832 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
833 not defined; add code for non-libchise setting.
834 (char_table_close_db_maybe): Likewise.
835 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
837 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
838 even if `CHISE' is not defined.
839 (Freset_char_attribute_table): Likewise.
840 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
841 `char_table_close_db_maybe' even if `CHISE' is not defined; use
843 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
844 `char_table_close_db_maybe' even if `CHISE' is not defined.
846 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
848 * chartab.c (char_table_open_db_maybe): New function.
849 (char_table_close_db_maybe): New function.
850 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
851 (Freset_char_attribute_table): Likewise.
852 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
853 `char_table_close_db_maybe'.
854 (Fload_char_attribute_table): Likewise.
856 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
858 * chartab.c: Don't include <chise.h> because it is included in
860 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
862 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
864 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
866 (Fclose_char_attribute_table): Close `ct->feature_table' and
867 `ct->ds' when `CHISE' is defined.
868 (Freset_char_attribute_table): Likewise.
869 (load_char_attribute_maybe): Use `cit->ds' and
870 `cit->feature_table' when `CHISE' is defined.
871 (Fload_char_attribute_table): Likewise.
873 * chartab.h: Include <chise.h> when `CHISE' is defined.
874 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
875 when `CHISE' is defined.
877 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
879 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
881 (char_table_description): Likewise.
882 (Fmake_char_table): Likewise.
883 (Fcopy_char_table): Likewise.
884 (Fmount_char_attribute_table): Likewise.
885 (Fclose_char_attribute_table): Likewise.
886 (Freset_char_attribute_table): Likewise.
887 (load_char_attribute_maybe): Likewise.
888 (Fload_char_attribute_table): Likewise.
890 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
893 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
895 * chartab.c (load_char_attribute_table_map_func): New function
896 when CHISE is defined.
897 (Qload_char_attribute_table_map_function): Don't define when CHISE
899 (Fload_char_attribute_table_map_function): Likewise.
900 (Fload_char_attribute_table): Use libchise when `CHISE' is
902 (syms_of_chartab): Don't define
903 `load-char-attribute-table-map-function' when CHISE is defined.
905 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
907 * chartab.c: Include <chise.h> when `CHISE' is defined.
908 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
910 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
912 * mule-charset.c (charset_code_point): Fix problem when searching
913 in mother CCS fails with `defined_only' mode.
915 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
917 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
918 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
919 (put_char_composition): Likewise.
920 (Fput_char_attribute): Likewise.
921 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
923 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
925 * chartab.c (Q_ucs): Deleted.
926 (Fput_char_attribute): Don't refer `->ucs'.
927 (Fdefine_char): Likewise.
928 (Ffind_char): Likewise.
929 (syms_of_chartab): Delete `->ucs'.
931 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
933 * mule-charset.c (Qmap_cns11643_2): Renamed from
934 `Qchinese_cns11643_2'.
935 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
936 `chinese-cns11643-2'.
937 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
940 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
942 * mule-charset.c (Qmap_cns11643_1): Renamed from
943 `Qchinese_cns11643_1'.
944 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
945 `chinese-cns11643-1'.
946 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
949 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
951 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
952 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
954 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
957 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
959 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
960 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
962 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
965 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
967 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
968 (syms_of_mule_charset): Add new symbol `=big5' instead of
970 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
972 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
974 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
975 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
977 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
980 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
982 * mule-charset.c (Qmap_jis_x0212): Renamed from
983 `Qjapanese_jisx0212'.
984 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
986 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
989 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
991 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
992 `Qjapanese_jisx0208'.
993 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
994 of `japanese-jisx0208'.
995 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
998 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1000 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
1001 `Qjapanese_jisx0208_1978'.
1002 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
1003 of `japanese-jisx0208-1978'.
1004 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
1007 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1009 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
1010 only for XEmacs CHISE.
1012 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1014 * char-ucs.h: Compact non-ISO-IR charset-ids.
1015 (LEADING_BYTE_UCS): Changed to -177.
1016 (LEADING_BYTE_CONTROL_1): Changed to -77.
1017 (LEADING_BYTE_UCS_BMP): Changed to -176.
1018 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
1020 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1022 * mule-charset.c (Qiso_ir): New variable.
1023 (Fmake_charset): Recognise new property `iso-ir'.
1024 (syms_of_mule_charset): Add new symbol `iso-ir'.
1026 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1028 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
1029 n to -n; charset-id of non ISO-IR sets are changed to positive
1032 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1034 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
1035 for &MCS-XXXXXXXX; values.
1037 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1039 * mule.c (Vxemacs_chise_version): Renamed from
1040 `Vutf_2000_version'.
1041 (vars_of_mule): Add new variable `xemacs-chise-version'; define
1042 `utf-2000-version' as an alias for `xemacs-chise-version'.
1044 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1046 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
1047 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
1050 * config.h.in (CHISE): New macro.
1052 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1054 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
1056 (Qmap_ucs): New variable.
1057 (syms_of_mule_charset): Add new symbol `=ucs'.
1058 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
1060 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
1061 (simplify_char_spec): Likewise.
1063 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
1065 * char-ucs.h (Qmap_ucs): New extern variable.
1067 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1069 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
1070 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
1071 don't define it when UTF2000 is not defined.
1072 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
1073 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
1074 when UTF2000 is not defined.
1075 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
1076 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
1078 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1080 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
1082 * mule-charset.c (Vcharset_ucs_gb): Deleted.
1084 (syms_of_mule_charset): Delete `ucs-gb'.
1085 (complex_vars_of_mule_charset): Likewise.
1087 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1089 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
1091 * mule-charset.c (Vcharset_ucs_cns): Deleted.
1092 (Qucs_cns): Deleted.
1093 (syms_of_mule_charset): Delete `ucs-cns'.
1094 (complex_vars_of_mule_charset): Likewise.
1096 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1098 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
1100 * mule-charset.c (Vcharset_ucs_jis): Deleted.
1101 (Qucs_jis): Deleted.
1102 (syms_of_mule_charset): Delete `ucs-jis'.
1103 (complex_vars_of_mule_charset): Likewise.
1105 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1107 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
1109 * mule-charset.c (Vcharset_ucs_ks): Deleted.
1111 (syms_of_mule_charset): Delete `ucs-ks'.
1112 (complex_vars_of_mule_charset): Likewise.
1114 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1116 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
1117 (Qideograph_daikanwa_2): Deleted.
1118 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
1119 (complex_vars_of_mule_charset): Likewise.
1121 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
1122 (LEADING_BYTE_DAIKANWA_1): Deleted.
1123 (LEADING_BYTE_DAIKANWA_2): Deleted.
1124 (MIN_CHAR_DAIKANWA): Deleted.
1125 (MAX_CHAR_DAIKANWA): Deleted.
1127 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1129 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
1130 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
1131 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
1133 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
1134 (Vcharset_ideograph_daikanwa): Deleted.
1135 (Qideograph_hanziku_{1..12}): Deleted.
1136 (Qideograph_daikanwa): Deleted.
1137 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
1138 Vcharset_ideograph_daikanwa.
1139 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
1140 `ideograph-hanziku-{1..12}'.
1141 (complex_vars_of_mule_charset): Likewise.
1143 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1145 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
1147 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
1148 (Qideograph_gt_pj_{1..11}): Deleted.
1149 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
1150 (complex_vars_of_mule_charset): Likewise.
1152 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1154 * mule-charset.c (Vcharset_ucs_big5): Deleted.
1155 (Vcharset_ideograph_gt): Deleted.
1156 (Qucs_big5): Deleted.
1157 (Qideograph_gt): Deleted.
1158 (syms_of_mule_charset): Delete symbol `ucs-big5' and
1160 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
1163 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
1164 (LEADING_BYTE_GT): Deleted.
1165 (MIN_CHAR_GT): Deleted.
1166 (MAX_CHAR_GT): Deleted.
1168 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1170 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
1172 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1174 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
1175 (save_uint16_byte_table): Likewise.
1176 (save_byte_table): Likewise; convert values by it.
1177 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
1178 for `ideographic-structure'.
1179 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
1180 as the filter for `ideographic-structure'.
1182 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1184 * chartab.c (put_char_composition): New function.
1185 (Fput_char_attribute): Use `put_char_composition'; use
1186 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
1188 * fns.c (simplify_char_spec): New function.
1189 (char_ref_simplify_spec): New function.
1190 (Fchar_refs_simplify_char_specs): New function.
1191 (syms_of_fns): Add new builtin function
1192 `char-refs-simplify-char-specs'.
1194 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1196 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
1197 (Qideograph_cbeta): Deleted.
1198 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
1199 (complex_vars_of_mule_charset): Likewise.
1201 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
1202 (MIN_CHAR_CBETA): Comment out.
1203 (MAX_CHAR_CBETA): Likewise.
1205 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1207 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
1208 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
1209 CHISE client feature.
1211 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1213 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
1215 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1217 * mule-charset.c (charset_lookup_description_1): Use
1218 `NUM_LEADING_BYTES' in UTF-2000.
1220 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1222 * char-ucs.h (GC_CHARSETP): Deleted.
1224 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1226 * char-ucs.h (MAX_CHAR_GT): Updated.
1228 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1230 * text-coding.c: Sync with XEmacs 21.4.10.
1232 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1234 * mule-charset.c (Vcharset_china3_jef): Deleted.
1235 (Qchina3_jef): Deleted.
1236 (syms_of_mule_charset): Don't define `china3-jef'.
1237 (complex_vars_of_mule_charset): Likewise.
1239 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
1240 (MIN_CHAR_CHINA3_JEF): Comment out.
1241 (MAX_CHAR_CHINA3_JEF): Comment out.
1243 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1245 * mule-charset.c (Vcharset_ucs_gb): New variable.
1246 (Qucs_gb): New variable.
1247 (syms_of_mule_charset): Add new symbol `ucs-gb'.
1248 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
1250 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
1252 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1254 * mule-charset.c (charset_code_point): if a coded-charset has a
1255 final-byte, don't inherit the builtin range of the mother CCS.
1257 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1259 * mule-charset.c (charset_code_point): Fix problem about
1262 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1264 * mule-charset.c (decode_builtin_char): Reorganized.
1266 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1268 * text-coding.c (char_encode_as_entity_reference): Modify for
1269 `charset_code_point'.
1270 (char_encode_shift_jis): Likewise.
1271 (char_encode_big5): Likewise.
1272 (char_encode_utf8): Likewise.
1273 (char_encode_iso2022): Likewise.
1275 * mule-charset.c (charset_code_point): Add new argument
1277 (Fencode_char): Add new optional argument `defined_only'.
1279 * chartab.c (put_char_table): Modify for `charset_code_point'.
1281 * char-ucs.h (charset_code_point): Add new argument
1283 (encode_char_1): Modify for `charset_code_point'.
1285 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1287 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
1288 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
1290 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1292 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
1293 (Qjis_x0208): Likewise.
1294 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
1295 XCHARSET_FINAL(charset).
1296 (charset_code_point): Modify condition for final-byte based
1298 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
1299 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
1300 in UTF-2000; specify `=jis-x0208' as the mother of
1301 `japanese-jisx0208-1978', `japanese-jisx0208' and
1302 `japanese-jisx0208-1990' in UTF-2000.
1304 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1306 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
1308 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1310 * text-coding.c (decode_coding_utf16): Support UTF-16.
1311 (char_encode_utf16): Fixed.
1313 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1315 * text-coding.c (Qutf16): New variable in MULE.
1316 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
1317 (Fcoding_system_type): Add `utf-16' in MULE.
1318 (struct detection_state): Add a structure for utf16 in MULE.
1319 (detect_coding_type): Setup st->utf16.mask in MULE.
1320 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
1322 (reset_encoding_stream): Use `char_encode_utf16' and
1323 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
1324 (detect_coding_utf16): New function [incomplete].
1325 (decode_coding_utf16): New function [support only UCS-2].
1326 (char_encode_utf16): New function.
1327 (char_finish_utf16): New function.
1328 (syms_of_file_coding): Add new symbol `utf-16'; setup
1329 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
1331 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
1333 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
1334 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
1336 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1338 * chartab.c (put_char_table): When a charset is specified as a
1339 range in UTF-2000, don't support builtin characters.
1341 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1343 * mule-charset.c (decode_defined_char): Don't refer external
1344 database if Qunbound or Qnil are found.
1345 (Fsave_charset_mapping_table): Don't define it if
1346 HAVE_CHISE_CLIENT is not defined.
1347 (Freset_charset_mapping_table): New function.
1348 (load_char_decoding_entry_maybe): Store Qnil if a character is not
1349 found in external database.
1350 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
1351 if HAVE_CHISE_CLIENT is not defined; add new builtin function
1352 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
1354 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1356 * text-coding.c (decode_coding_utf8): Check CCS is specified or
1359 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1361 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
1362 Q_lowercase, Q_uppercase in UTF-2000.
1364 * chartab.c (get_char_table): Add special code for the standard
1365 case table to use character attribute `->downcase' and
1366 `->uppercase' for case operations in UTF-2000.
1368 * casetab.c (Qflippedcase): New variable in UTF-2000.
1369 (Q_lowercase): Likewise.
1370 (Q_uppercase): Likewise.
1371 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
1372 and `->uppercase' in UTF-2000.
1373 (complex_vars_of_casetab): Assign attribute name `downcase' to
1374 downcase and CANON table of Vstandard_case_table in UTF-2000;
1375 assign attribute name `flippedcase' to upcase and EQV table of
1376 Vstandard_case_table in UTF-2000.
1378 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1380 * text-coding.c (decode_add_er_char): Support isolated-chars.
1381 (char_encode_as_entity_reference): Likewise.
1383 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1385 * emacs.c (Vutf_2000_lisp_directory): New variable.
1386 (Vconfigure_utf_2000_lisp_directory): Likewise.
1387 (complex_vars_of_emacs): Add new variable
1388 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
1390 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1392 * char-ucs.h (DECODE_CHAR): Delete special code for
1393 `chinese-big5-1' and `chinese-big5-2'.
1395 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
1396 (Qbig5_2): Likewise.
1397 (decode_defined_char): Support CONVERSION_BIG5_1 and
1399 (decode_builtin_char): Likewise.
1400 (charset_code_point): Likewise.
1401 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
1402 'conversion in UTF-2000.
1403 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
1404 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
1405 `chinese-big5-2' as children of `chinese-big5'.
1407 * char-ucs.h (CONVERSION_BIG5_1): New macro.
1408 (CONVERSION_BIG5_2): New macro.
1410 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1412 * text-coding.c (char_encode_big5): Support entity-reference.
1414 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1416 * text-coding.c (char_encode_as_entity_reference): New function.
1417 (char_encode_utf8): Use `char_encode_as_entity_reference'.
1419 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1421 * text-coding.c (decode_coding_big5): Support entity-reference
1424 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1426 * text-coding.c (allocate_coding_system): Initialize initial
1427 charsets for CODESYS_UTF8.
1428 (Fmake_coding_system): Accept charset-g0, charset-g1 and
1429 charset-g2 for CODESYS_UTF8.
1430 (decode_coding_utf8): Use charset-g0.
1431 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
1432 to force variants to map to UCS.
1434 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1436 * text-coding.c (Qutf_8_mcs): New variable.
1437 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
1438 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
1439 instead of `utf-8' in UTF-2000.
1441 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1443 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
1444 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
1445 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
1446 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
1447 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
1448 CONVERSION_96x96x96x96 are introduced.
1449 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
1450 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
1451 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
1453 * char-ucs.h (CONVERSION_94): New macro.
1454 (CONVERSION_96): New macro.
1455 (CONVERSION_94x94): New macro.
1456 (CONVERSION_96x96): New macro.
1457 (CONVERSION_94x94x94): New macro.
1458 (CONVERSION_96x96x96): New macro.
1459 (CONVERSION_94x94x94x60): New macro.
1460 (CONVERSION_94x94x94x94): New macro.
1461 (CONVERSION_96x96x96x96): New macro.
1463 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1465 * chartab.c (Vcharacter_variant_table): Deleted.
1466 (Fchar_variants): Use character-attribute `->ucs-variants' instead
1467 of `Vcharacter_variant_table'.
1468 (Fput_char_attribute): Likewise.
1469 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
1470 (complex_vars_of_chartab): Likewise.
1472 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1474 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
1476 * fns.c (Qideographic_structure): New variable.
1477 (Qkeyword_char): New variable.
1478 (ids_format_unit): New function.
1479 (Fideographic_structure_to_ids): New function.
1480 (syms_of_fns): Add new symbols `ideographic-structure' and
1481 `:char'; add new builtin function `ideographic-structure-to-ids'.
1483 * data.c (Fchar_ref_p): New function.
1484 (syms_of_data): Add new builtin function `char-ref-p'.
1486 * chartab.h: Add an EXFUN for `Ffind_char'.
1488 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1490 * text-coding.c (Vcharacter_composition_table): Deleted.
1491 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
1494 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
1496 (Vcharacter_composition_table): Deleted.
1497 (Fget_composite_char): Use the implementation for external-DB
1498 support in every UTF-2000.
1499 (Fput_char_attribute): Likewise.
1500 (char_attribute_system_db_file): Don't define if external-DB
1501 feature is not available.
1502 (Fsave_char_attribute_table): Likewise.
1503 (Fmount_char_attribute_table): Likewise.
1504 (Fclose_char_attribute_table): Likewise.
1505 (Freset_char_attribute_table): Likewise.
1506 (Fload_char_attribute_table): Likewise.
1507 (syms_of_chartab): Don't define `save-char-attribute-table',
1508 `mount-char-attribute-table', `reset-char-attribute-table',
1509 `close-char-attribute-table' and `load-char-attribute-table' if
1510 external-DB feature is not available.
1511 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
1513 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1515 * text-coding.c (Qcomposition): Add extern if external-DB feature
1517 (Vcharacter_composition_table): Don't add extern if external-DB
1518 feature is supported.
1519 (COMPOSE_ADD_CHAR): Modify for new data-representation of
1520 character composition rule if external-DB feature is supported.
1522 * chartab.c (Vcharacter_composition_table): Don't define if
1523 external-DB feature is supported.
1524 (Qcomposition): New variable.
1525 (Fget_composite_char): New implementation for external-DB support.
1526 (Fput_char_attribute): Use `composition' property of each
1527 character instead of `Vcharacter_composition_table' to store
1528 character-composition rules if external-DB feature is supported.
1529 (syms_of_chartab): Add new symbol `composition'.
1530 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
1531 external-DB feature is supported.
1533 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1535 * chartab.c (Vchar_db_stingy_mode): New variable.
1536 (load_char_attribute_maybe): Close database if
1537 Vchar_db_stingy_mode is not NIL.
1538 (Fload_char_attribute_table_map_function): Use
1539 `get_char_id_table_0' instead of `get_char_id_table'.
1540 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
1542 * chartab.h (get_char_id_table_0): New inline function.
1543 (get_char_id_table): Use `get_char_id_table_0'.
1545 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1547 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
1548 and `COMPOSE_ADD_CHAR'.
1549 (decode_coding_iso2022): Use `decode_flush_er_chars'.
1551 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1553 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
1554 instead of `DECODE_ADD_UCS_CHAR'.
1555 (COMPOSE_ADD_CHAR): Likewise.
1557 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1559 * text-coding.c (decode_flush_er_chars): New inline function.
1560 (decode_add_er_char): New function.
1561 (decode_coding_utf8): Use `decode_flush_er_chars' and
1562 `decode_add_er_char'.
1564 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1566 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
1567 done before `decode_output_utf8_partial_char'.
1569 * mule-charset.c (complex_vars_of_mule_charset): Specify
1570 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
1571 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
1573 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1575 * mule-charset.c (decode_defined_char): New function; search
1577 (decode_builtin_char): Don't search mother if
1578 XCHARSET_MAX_CODE(charset) == 0.
1579 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
1580 == 0 even if code >= XCHARSET_MAX_CODE(charset).
1581 (Fdecode_char): Use `decode_defined_char' instead of
1582 `DECODE_DEFINED_CHAR'.
1583 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
1584 mother of `Vcharset_ucs_jis'.
1586 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
1587 instead of `DECODE_DEFINED_CHAR'.
1589 * char-ucs.h (decode_defined_char): Renamed from
1590 `DECODE_DEFINED_CHAR'; changed to normal function.
1591 (DECODE_CHAR): Use `decode_defined_char' instead of
1592 `DECODE_DEFINED_CHAR'.
1594 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
1596 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1598 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
1600 * text-coding.c (Vcoded_charset_entity_reference_alist): New
1602 (Quse_entity_reference): New variable.
1606 (coding_system_description): Add description for
1607 `ccs_priority_list'.
1608 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
1609 (allocate_coding_system): Initialize `ccs_priority_list' in
1611 (Fmake_coding_system): Add description about
1612 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
1614 (Fcoding_system_property): Accept `disable-composition' and
1615 `use-entity-reference' in UTF-2000.
1616 (struct decoding_stream): Add new member `er_counter' and `er_buf'
1618 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
1619 (decode_coding_utf8): Decode entity-reference if
1620 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
1621 (char_encode_utf8): Encode non-Unicode characters as
1622 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
1624 (syms_of_file_coding): Add new symbols `use-entity-reference',
1626 (vars_of_file_coding): Add new variable
1627 `coded-charset-entity-reference-alist'.
1628 (complex_vars_of_file_coding): Declare `disable-composition' and
1629 `use-entity-reference' to be coding-system-properties in UTF-2000.
1631 * file-coding.h (struct Lisp_Coding_System): Add new member
1632 `use_entity_reference' and `ccs_priority_list'.
1633 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1634 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
1635 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1637 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1639 * chartab.c (save_uint8_byte_table): Don't clear the table.
1640 (save_uint16_byte_table): Likewise.
1641 (save_byte_table): Likewise.
1642 (Fmount_char_attribute_table): New function.
1643 (syms_of_chartab): Add new builtin function
1644 `mount-char-attribute-table'.
1646 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1648 * mule-charset.c (Fsave_charset_mapping_table): Open database as
1650 (load_char_decoding_entry_maybe): Open database as read-only mode.
1652 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
1653 open database as "w+" mode.
1654 (load_char_attribute_maybe): Open database as read-only mode.
1655 (Fload_char_attribute_table): Likewise.
1657 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1659 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
1660 (char_table_description): Delete member `db_file'.
1661 (Fmake_char_table): Don't refer `ct->db_file'.
1662 (Fcopy_char_table): Likewise.
1663 (Fsave_char_attribute_table): Likewise.
1664 (Fclose_char_attribute_table): Likewise.
1665 (Freset_char_attribute_table): Likewise.
1666 (load_char_attribute_maybe): Likewise.
1667 (Fload_char_attribute_table): Likewise.
1669 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
1671 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1673 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
1674 (Fsave_char_attribute_table): Don't check `ct->db_file' if
1676 (load_char_attribute_maybe): Likewise.
1677 (Fload_char_attribute_table): Likewise.
1679 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1681 * chartab.c (Fclose_char_attribute_table): Set Qnil on
1682 `ct->db_file' unconditionally.
1684 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1686 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
1688 (char_table_description): Add description for `db_file' and `db'
1690 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
1692 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
1693 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
1694 (Fclose_char_attribute_table): New function.
1695 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
1696 (load_char_attribute_maybe): Change interface; use `cit->db_file'
1698 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
1699 (syms_of_chartab): Add new builtin function
1700 `Fclose_char_attribute_table'.
1702 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1704 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
1706 (load_char_attribute_maybe): Change interface.
1707 (get_char_id_table): Modify for `load_char_attribute_maybe'.
1709 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1711 * database.h: Add an EXFUN for `Fdatabase_live_p'.
1713 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1715 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
1716 instead of `DECODE_CHAR' for mother; don't use special code for
1717 chinese-big5 to use code space of chinese-big5-1 and
1719 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
1720 `MAX_CHAR_BIG5_CDP' for chinese-big5.
1722 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
1723 (MAX_CHAR_BIG5_CDP): Revival.
1725 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1727 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
1728 the XLFD registry-encoding name of `chinese-big5'.
1730 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1732 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
1733 (Qchinese_big5_cdp): Deleted.
1734 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
1735 (complex_vars_of_mule_charset): Delete coded-charset
1738 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
1739 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
1740 `CHARSET_ID_OFFSET - n' for private CCS.
1741 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
1742 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
1743 of `MIN_LEADING_BYTE'.
1744 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
1745 `(CHARSET_ID_OFFSET - 97)'.
1746 (MIN_CHAR_BIG5_CDP): Deleted.
1747 (MAX_CHAR_BIG5_CDP): Deleted.
1749 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1751 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
1753 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1755 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
1756 (vars_of_mule): Add new variable `utf-2000-version' [moved from
1759 * chartab.c (Vutf_2000_version): Moved to mule.c.
1760 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
1762 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1764 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
1765 when HAVE_CHISE_CLIENT is not defined.
1767 * mule.c (vars_of_mule): Provide feature `chise' when
1768 HAVE_CHISE_CLIENT is defined.
1770 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1772 * config.h.in (UTF2000): Add comment.
1773 (HAVE_CHISE_CLIENT): New macro.
1775 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1777 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
1779 (Fput_char_attribute): Likewise.
1780 (char_attribute_system_db_file): Encode file-name of attribute.
1781 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
1784 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1786 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
1787 (Fsave_charset_mapping_table): Use
1788 `char_attribute_system_db_file'.
1789 (load_char_decoding_entry_maybe): Likewise.
1791 * chartab.h (Qsystem_char_id): New external variable.
1792 (char_attribute_system_db_file): New prototype.
1794 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
1795 (char_attribute_system_db_file): New function.
1796 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
1797 (Freset_char_attribute_table): Likewise.
1798 (load_char_attribute_maybe): Likewise.
1799 (Fload_char_attribute_table): Likewise.
1800 (syms_of_chartab): Add new symbol `system-char-id'.
1802 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1804 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
1805 `XCHARSET_GRAPHIC(ccs)'.
1807 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1809 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
1811 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1813 * chartab.c (Q_ucs_variants): New variable.
1814 (syms_of_chartab): Add new symbol `->ucs-variants'.
1815 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
1816 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
1817 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
1819 * mule-charset.c (load_char_decoding_entry_maybe): New function.
1821 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
1822 `HAVE_DATABASE' is defined.
1823 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
1824 `HAVE_DATABASE' is defined.
1826 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1828 * chartab.c (Fsave_char_attribute_table): Don't clear internal
1830 (Freset_char_attribute_table): New function.
1831 (syms_of_chartab): Add new builtin function
1832 `reset-char-attribute-table'.
1834 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1836 * chartab.c (load_char_attribute_maybe): Don't make directories.
1838 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1840 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
1842 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
1845 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1847 * mule-charset.c (Fsave_charset_mapping_table): Use
1848 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
1850 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
1851 instead of `XCHARSET_CHARS'.
1853 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1855 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
1856 (XCHARSET_BYTE_SIZE): Likewise.
1858 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
1860 (XCHARSET_BYTE_SIZE): Likewise.
1862 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1864 * chartab.c (Fput_char_attribute): Use exec-directory instead of
1865 data-directory to store database.
1866 (Fsave_char_attribute_table): Likewise.
1867 (load_char_attribute_maybe): Likewise.
1868 (Fload_char_attribute_table): Likewise.
1870 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1872 * mule-charset.c (Fsave_charset_mapping_table): New function.
1873 (syms_of_mule_charset): Add new builtin function
1874 `save-charset-mapping-table'.
1876 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1878 * char-ucs.h (decoding_table_check_elements): Delete prototype.
1879 (get_ccs_octet_table): New inline function.
1880 (put_ccs_octet_table): Likewise.
1881 (decoding_table_put_char): Use `get_ccs_octet_table' and
1882 `put_ccs_octet_table'.
1883 (decoding_table_remove_char): Use `decoding_table_put_char'.
1884 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
1886 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
1887 into encoding_table.
1888 (make_charset): Use Qunbound instead Qnil as initial value of
1891 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1893 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
1894 element is Qunloaded.
1895 (map_over_uint16_byte_table): Likewise.
1896 (map_over_byte_table): Likewise.
1897 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
1898 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
1899 database support, load encoding-table of the specified
1900 coded-charset if it is not loaded yet.
1901 (save_uint8_byte_table): New function of UTF-2000 with external
1903 (save_uint16_byte_table): Likewise.
1904 (save_byte_table): Likewise.
1905 (Fput_char_attribute): Don't store value into external database
1906 even if the external database feature is supported in UTF-2000;
1907 set `attribute' as name of char-table if the external database
1908 feature is supported.
1909 (Fsave_char_attribute_table): New function in UTF-2000.
1910 (syms_of_chartab): Add new builtin function
1911 `save-char-attribute-table' in UTF-2000.
1913 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1915 * chartab.c (char_attribute_table_to_put): New variable in
1917 (Qput_char_table_map_function): Likewise.
1918 (value_to_put): Likewise.
1919 (Fput_char_table_map_function): New function in UTF-2000.
1920 (put_char_table): Use `Fmap_char_attribute' for
1921 CHARTAB_RANGE_CHARSET in UTF-2000.
1922 (Fput_char_attribute): Store symbol instead of string in
1923 `XCHAR_TABLE_NAME (table)'.
1924 (load_char_attribute_maybe): Likewise.
1925 (syms_of_chartab): Add new symbol/function
1926 `put-char-table-map-function'.
1928 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1930 * database.h: Add new EXFUN for `Fmap_database'.
1932 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
1933 (syms_of_database): Likewise.
1935 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
1937 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
1938 (XCHAR_TABLE_UNLOADED): Likewise.
1940 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
1941 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
1942 HAVE_DATABASE is defined.
1943 (char_attribute_table_to_load): New variable of UTF-2000 with
1944 external database support.
1945 (Qload_char_attribute_table_map_function): Likewise.
1946 (Fload_char_attribute_table_map_function): New function of
1947 UTF-2000 with external database support.
1948 (Fload_char_attribute_table): New function of UTF-2000.
1949 (Fmap_char_attribute): Call Fload_char_attribute_table if
1950 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
1951 (syms_of_chartab): Add new symbol and function
1952 `load-char-attribute-table-map-function' in UTF-2000 with external
1953 database support; add new function `load-char-attribute-table' in
1956 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1958 * chartab.h (load_char_attribute_maybe): New prototype for
1959 UTF-2000 with DATABASE support.
1960 (get_char_id_table): Use `load_char_attribute_maybe' if
1961 HAVE_DATABASE is defined.
1963 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
1964 with DATABASE support.
1966 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1968 * chartab.c (Fput_char_attribute): Use S-expression as key of
1971 * chartab.h (get_char_id_table): Use S-expression as key of
1974 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1976 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
1977 if an element is not loaded, load the corresponding attributes
1978 from an external database.
1979 (map_over_uint16_byte_table): Likewise.
1980 (map_over_byte_table): Likewise.
1981 (map_char_table): Modify for `map_over_uint8_byte_table',
1982 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
1983 element is not loaded, load the corresponding attributes from an
1985 (Fput_char_attribute): Change initial values to Qunloaded.
1987 * chartab.h (get_char_id_table): If a character attribute is not
1988 loaded and the attribute value is not found in an external
1989 database, store Qunbound as the attribute value.
1991 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1993 * chartab.c (BT_UINT8_unloaded): New macro.
1994 (UINT8_VALUE_P): Accept Qunloaded.
1995 (UINT8_ENCODE): Likewise.
1996 (UINT8_DECODE): Likewise.
1997 (BT_UINT16_unloaded): New macro.
1998 (UINT16_VALUE_P): Accept Qunloaded.
1999 (UINT16_ENCODE): Likewise.
2000 (UINT16_DECODE): Likewise.
2001 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
2003 (mark_char_table): Mark `ct->name' in UTF-2000.
2004 (char_table_description): Add `name' in UTF-2000.
2005 (Fmake_char_table): Initialize `ct->name'.
2006 (Fcopy_char_table): Copy `ct->name'.
2007 (Fput_char_attribute): Store value into an external database if
2008 HAVE_DATABASE is defined.
2010 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
2012 (CHAR_TABLE_NAME): New macro in UTF-2000.
2013 (XCHAR_TABLE_NAME): New macro in UTF-2000.
2014 (get_char_id_table): Try to read an external database if Qunloaded
2015 is stored in a table.
2017 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
2020 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2022 * database.h: Add EXFUN definitions for Fopen_database,
2023 Fput_database, Fget_database and Fclose_database.
2025 * data.c (Qunloaded): New variable in UTF-2000.
2027 * lisp.h (Qunloaded): New variable in UTF-2000.
2029 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2031 * mule-charset.c (put_char_ccs_code_point): Modify for
2032 `decoding_table_remove_char' and `decoding_table_put_char'.
2033 (remove_char_ccs): Modify for `decoding_table_remove_char'.
2035 * char-ucs.h (decoding_table_remove_char): Change arguments to
2036 hide decoding_table vector.
2037 (decoding_table_put_char): Likewise.
2039 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2041 * mule-charset.c (decoding_table_remove_char): Moved to
2043 (decoding_table_put_char): Likewise.
2045 * char-ucs.h (decoding_table_check_elements): New prototype [moved
2046 from mule-charset.c].
2047 (decoding_table_remove_char): New inline function [moved from
2049 (decoding_table_put_char): Likewise.
2051 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2053 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
2056 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2058 * mule-charset.c (decode_builtin_char): Support mother charsets.
2060 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2062 * mule-charset.c (Q94x94x60): New variable.
2063 (charset_code_point): Support conversion `94x94x60'.
2064 (Fmake_charset): Likewise.
2065 (syms_of_mule_charset): Add new symbol `94x94x60'.
2067 * char-ucs.h (CONVERSION_94x94x60): New macro.
2069 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2071 * mule-charset.c (charset_code_point): Unify code about
2074 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2076 * mule-charset.c (charset_code_point): Merge code about builtin
2077 characters into code about mother charsets; don't use
2078 `range_charset_code_point'.
2079 (range_charset_code_point): Deleted.
2081 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2083 * mule-charset.c (Qcode_offset): New variable.
2084 (Fmake_charset): Use `XUINT' to get value of `min-code' and
2085 `max-code'; accept new property `code-offset'.
2086 (syms_of_mule_charset): Add new symbol `code-offset'.
2088 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2090 * mule-charset.c (range_charset_code_point): Fixed.
2092 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2094 * mule-charset.c (decode_builtin_char): Change semantics of
2095 code-offset of coded-charset.
2096 (charset_code_point): Likewise.
2097 (range_charset_code_point): Likewise.
2098 (complex_vars_of_mule_charset): Modify for the change.
2100 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2102 * mule-charset.c (Fencode_char): Reverse arguments.
2104 * mule-charset.c (charset_code_point): Fixed.
2106 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2108 * mule-charset.c (Vcharset_mojikyo): Deleted.
2109 (Vcharset_mojikyo_2022_1): Deleted.
2110 (Vcharset_mojikyo_pj_{1..21}): Deleted.
2111 (Qmin_code): New variable in UTF-2000.
2112 (Qmax_code): Likewise.
2113 (Qmother): Likewise.
2114 (Qconversion): Likewise.
2116 (Qmojikyo): Deleted.
2117 (Qmojikyo_2022_1): Deleted.
2118 (Qmojikyo_pj_{1..22}): Deleted.
2119 (mark_charset): Mark `cs->mother'.
2120 (charset_description): Add description for `mother'.
2121 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
2122 new arguments `mother' and `conversion'; use
2123 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
2124 (charset_code_point): Moved from char-ucs.h; support `mother'
2126 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
2127 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
2128 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
2129 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
2130 allow 2 as the value of `graphic' in UTF-2000; add new properties
2131 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
2132 require `final' in UTF-2000; modify for `make_charset'.
2133 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
2134 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
2135 (Fcharset_property): Support `mother', `min-code' and `max-code'.
2136 (Fencode_char): New function.
2137 (syms_of_mule_charset): Add new builtin function `encode-char' in
2138 UTF-2000; add new symbols `min-code', `max-code', `mother',
2139 `conversion' and `94x60'; delete symbols `mojikyo',
2140 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
2141 (complex_vars_of_mule_charset): Modify for `make_charset' change;
2142 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
2143 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
2145 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
2146 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
2148 * char-ucs.h (Vcharset_mojikyo): Deleted.
2149 (Vcharset_mojikyo_2022_1): Deleted.
2150 (LEADING_BYTE_MOJIKYO): Deleted.
2151 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
2152 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
2153 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
2154 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
2155 add new member `mother'; add new member `conversion'.
2156 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
2157 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
2158 (CHARSET_MOTHER): New macro.
2159 (CHARSET_CONVERSION): New macro.
2160 (CONVERSION_IDENTICAL): New macro.
2161 (CONVERSION_94x60): New macro.
2162 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
2163 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
2164 (XCHARSET_MOTHER): New macro.
2165 (XCHARSET_CONVERSION): New macro.
2166 (MIN_CHAR_MOJIKYO): Deleted.
2167 (MAX_CHAR_MOJIKYO): Deleted.
2168 (DECODE_MOJIKYO_2022): Deleted.
2169 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
2170 (charset_code_point): Changed to non-inline function.
2171 (encode_char_1): Use `charset_code_point'.
2172 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
2174 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2176 * lread.c (read_compiled_function): Fix prototype.
2177 (read_vector): Likewise.
2179 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2181 * lrecord.h (struct lrecord_header): Delete `older'.
2182 (set_lheader_implementation): Delete code for `older'.
2183 (set_lheader_older_implementation): Deleted.
2184 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
2185 (OLDER_RECORD_P): Deleted.
2186 (OLDER_RECORD_HEADER_P): Deleted.
2187 (alloc_older_lcrecord): Deleted.
2188 (alloc_older_lcrecord_type): Deleted.
2190 * alloc.c (all_older_lcrecords): Deleted.
2191 (alloc_older_lcrecord): Deleted.
2192 (disksave_object_finalization_1): Delete code for older objects.
2193 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
2194 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
2196 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2198 * mule-charset.c (decoding_table_put_char): Use `make_vector'
2199 instead of `make_older_vector'.
2200 (put_char_ccs_code_point): Likewise.
2201 (mark_charset): Mark `cs->decoding_table'.
2202 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
2204 * lisp.h (make_older_vector): Deleted.
2205 (make_vector_newer): Deleted.
2207 * config.h.in (HAVE_GGC): Deleted.
2209 * alloc.c (make_older_vector): Deleted.
2210 (make_vector_newer_1): Deleted.
2211 (make_vector_newer): Deleted.
2213 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2215 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
2216 (Qideograph_daikanwa_2): New variable.
2217 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
2218 (complex_vars_of_mule_charset): Add new coded-charset
2219 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
2220 `LEADING_BYTE_DAIKANWA'.
2222 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
2223 (LEADING_BYTE_DAIKANWA_1): New macro.
2224 (LEADING_BYTE_DAIKANWA_2): New macro.
2225 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
2227 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2229 * mule-charset.c (complex_vars_of_mule_charset): Change
2230 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
2231 the second revised version.
2233 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2235 * mule-charset.c (Vcharset_ucs_smp): New variable.
2236 (Vcharset_ucs_sip): New variable.
2237 (Qucs_smp): New variable.
2238 (Qucs_sip): New variable.
2239 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
2240 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
2241 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
2242 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
2243 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
2244 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
2246 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
2247 (LEADING_BYTE_UCS_SIP): New macro.
2248 (MIN_CHAR_SMP): New macro.
2249 (MAX_CHAR_SMP): New macro.
2250 (MIN_CHAR_SIP): New macro.
2251 (MAX_CHAR_SIP): New macro.
2253 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
2255 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
2258 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2260 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
2261 value; don't store value into `encoding_table' of `Lisp_Charset'.
2262 (mark_charset): `encoding_table' was deleted.
2263 (charset_description): Likewise.
2264 (make_charset): Likewise.
2265 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
2266 `put_char_ccs_code_point'.
2268 * chartab.h (Fput_char_attribute): New EXFUN.
2270 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
2271 is unified with normal symbol space.
2272 (Fget_char_attribute): Likewise.
2273 (Fput_char_attribute): Likewise; behavior of
2274 `put_char_ccs_code_point' is changed.
2276 * char-ucs.h: Include "elhash.h".
2277 (Vchar_attribute_hash_table): New external variable.
2278 (struct Lisp_Charset): Delete `encoding_table'.
2279 (CHARSET_ENCODING_TABLE): New implementation; refer
2280 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
2283 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2285 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
2288 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2290 * text-coding.c (char_encode_big5): Prefer charset-g1 than
2293 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2295 * chartab.c (uint8_byte_table_description): New constant.
2296 (uint8-byte-table): Use `uint8_byte_table_description'.
2297 (uint16_byte_table_description): New constant.
2298 (uint16-byte-table): Use `uint16_byte_table_description'.
2300 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2302 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
2303 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
2305 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2307 * mule-charset.c (Vcharset_ucs_ks): New variable.
2308 (Qucs_ks): New variable.
2309 (syms_of_mule_charset): Add new symbol `ucs-ks'.
2310 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
2312 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
2314 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2316 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
2317 (Fdecode_char): Likewise.
2319 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
2321 (Fdefine_char): Modify for Fdecode_char.
2322 (Ffind_char): Likewise.
2324 * mule-charset.c (Fdecode_char): Add new optional argument
2326 (Fdecode_builtin_char): Modify for `Fdecode_char'.
2328 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2330 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
2331 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
2332 (allocate_coding_system): Initialize initial-charsets of
2333 CODESYS_BIG5 in XEmacs UTF-2000.
2334 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
2335 CODESYS_BIG5 in XEmacs UTF-2000.
2336 (decode_coding_big5): Use initial-charset-g0 and -g1 of
2337 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
2339 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
2341 (Qideograph_hanziku_{1 .. 12}): Likewise.
2342 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
2344 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
2345 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
2346 `ideograph-hanziku-{1 .. 12}'.
2348 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
2349 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
2350 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
2351 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
2352 (DECODE_DEFINED_CHAR): New inline function.
2353 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
2355 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2357 * mule-charset.c (Vcharset_china3_jef): Renamed from
2358 `Vcharset_japanese_jef_china3'.
2359 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
2360 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
2361 `{MIN|MAX}_CHAR_JEF_CHINA3'..
2362 (syms_of_mule_charset): Rename `china3-jef' from
2363 `japanese-jef-china3'.
2364 (complex_vars_of_mule_charset): Likewise; rename
2365 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
2367 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
2368 `LEADING_BYTE_JEF_CHINA3'.
2369 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
2370 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
2372 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2374 * mule-charset.c (encode_builtin_char_1): Comment out special code
2375 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
2377 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
2378 (MAX_CHAR_MOJIKYO_0): Comment out.
2379 (MIN_CHAR_CBETA): Changed to 0x00E20000.
2380 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
2381 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
2382 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
2384 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2386 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
2387 (Qideograph_cbeta): New variable.
2388 (encode_builtin_char_1): Comment out special code for
2389 coded-charset `mojikyo' and `japanese-jef-china3'.
2390 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
2391 (complex_vars_of_mule_charset): Add new coded-charset
2394 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
2395 (MIN_CHAR_CBETA): New macro.
2396 (MAX_CHAR_CBETA): New macro.
2398 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2400 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
2401 (LEADING_BYTE_JEF_CHINA3): New macro.
2402 (MIN_CHAR_JEF_CHINA3): New macro.
2403 (MAX_CHAR_JEF_CHINA3): Likewise.
2404 (DECODE_CHAR): Fixed.
2406 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2408 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
2409 (Qjapanese_jef_china3): New variable.
2410 (encode_builtin_char_1): Support `japanese-jef-china3'.
2411 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
2412 (complex_vars_of_mule_charset): Add new coded-charset
2413 `japanese-jef-china3'.
2415 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2417 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
2418 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
2419 94^4, 96^3, 96^4, 128^n and 256^n set.
2420 (put_char_table): Use `XCHARSET_CELL_RANGE'.
2421 (map_char_table): Likewise.
2423 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2425 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
2428 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2430 * chartab.h (get_char_id_table): New inline function.
2432 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
2435 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2437 * chartab.h (decode_char_table_range): New prototype in XEmacs
2439 (put_char_id_table): New inline function in XEmacs UTF-2000.
2441 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
2443 (decode_char_table_range): Delete static declaration in XEmacs
2446 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2448 * chartab.c (put_char_id_table): Use `put_char_table'.
2450 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2452 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
2453 (map_over_uint16_byte_table): Likewise.
2454 (map_over_byte_table): Likewise.
2455 (map_char_table): Modify for `map_over_uint8_byte_table',
2456 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
2459 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2461 * chartab.c (struct map_char_table_for_charset_arg): New
2463 (map_char_table_for_charset_fun): New function.
2464 (map_char_table): Use `map_char_table' for encoding_table of
2467 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2469 * chartab.c (map_char_table): Check a character is found in
2470 range->charset instead of non default value is defined in
2471 char-table when range is CHARTAB_RANGE_ROW.
2473 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2475 * chartab.c (map_char_id_table): Deleted.
2476 (Fmap_char_attribute): Use `map_char_table' instead of
2477 `map_char_id_table'.
2479 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2481 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
2483 (update_syntax_table): Deleted in XEmacs UTF-2000.
2485 * syntax.c (find_defun_start): Use `syntax_table' instead of
2486 `mirror_syntax_table' in XEmacs UTF-2000.
2487 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
2489 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
2491 (Fmatching_paren): Likewise.
2492 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
2494 (find_start_of_comment): Likewise.
2495 (find_end_of_comment): Likewise.
2496 (Fforward_comment): Likewise.
2497 (scan_lists): Likewise.
2498 (char_quoted): Likewise.
2499 (Fbackward_prefix_chars): Likewise.
2500 (scan_sexps_forward): Likewise.
2501 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
2502 (update_syntax_table): Likewise.
2504 * search.c (skip_chars): Use `syntax_table' instead of
2505 `mirror_syntax_table' in XEmacs UTF-2000.
2506 (wordify): Likewise.
2507 (Freplace_match): Likewise.
2509 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
2510 `mirror_syntax_table' in XEmacs UTF-2000.
2511 (WORDCHAR_P_UNSAFE): Likewise.
2512 (re_match_2_internal): Likewise.
2514 * font-lock.c (find_context): Use `buf->syntax_table' instead of
2515 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2517 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
2518 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
2520 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
2523 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
2525 (print_char_table): Print `default_value' in XEmacs UTF-2000.
2526 (char_table_description): Delete `mirror_table' in XEmacs
2528 (fill_char_table): Don't call `update_syntax_table' in XEmacs
2530 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
2531 (Fcopy_char_table): Likewise.
2532 (put_char_table): Don't call `update_syntax_table' in XEmacs
2535 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
2536 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2537 (casify_region_internal): Likewise.
2539 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
2541 * buffer.c (common_init_complex_vars_of_buffer): Don't use
2542 `mirror_syntax_table' in XEmacs UTF-2000.
2544 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
2545 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2546 (Fexpand_abbrev): Likewise.
2548 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2550 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
2552 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2554 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
2555 (map_over_uint16_byte_table): Likewise.
2556 (map_over_byte_table): Likewise.
2557 (get_char_id_table): Refer `cit->default_value'.
2558 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2559 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
2560 of character-id ranges.
2561 (mark_char_table): Mark `ct->default_value'.
2562 (char_table_description): Add `default_value'.
2563 (fill_char_table): Use `default_value'.
2564 (decode_char_table_range): Decode `nil' as
2565 `CHARTAB_RANGE_DEFAULT'.
2566 (get_char_id_table): Refer `cit->default_value'.
2567 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2568 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
2569 temporary hack; check value of char-table is bound or not.
2570 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
2572 * chartab.h (struct Lisp_Char_Table): Add new member
2573 `default_value' in XEmacs UTF-2000.
2574 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
2575 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
2578 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2580 * chartab.h (Lisp_Char_ID_Table): Deleted.
2582 * chartab.c (char_table_description): Fix typo.
2583 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
2584 `Lisp_Char_ID_Table'.
2586 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2588 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
2591 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
2594 * chartab.h (XCHAR_ID_TABLE): Deleted.
2595 (XSETCHAR_ID_TABLE): Deleted.
2596 (CHAR_ID_TABLE_P): Deleted.
2598 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
2600 (Fget_composite_char): Likewise.
2601 (put_char_table): Likewise.
2602 (add_char_attribute_alist_mapper): Fixed.
2603 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
2605 (Fget_char_attribute): Likewise.
2606 (Fget_char_attribute): Likewise.
2607 (Fmap_char_attribute): Likewise.
2609 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
2611 (encode_char_1): Likewise.
2613 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2615 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
2618 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
2619 instead of `XCHAR_ID_TABLE'.
2620 (remove_char_ccs): Likewise.
2622 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
2624 (Fget_composite_char): Likewise.
2625 (Fchar_variants): Likewise.
2626 (put_char_table): Likewise.
2627 (add_char_attribute_alist_mapper): Likewise.
2628 (Fchar_attribute_alist): Likewise.
2629 (Fget_char_attribute): Likewise.
2630 (Fput_char_attribute): Likewise.
2631 (Fmap_char_attribute): Likewise.
2632 (Fmap_char_attribute): Likewise.
2634 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
2636 (encode_char_1): Likewise.
2638 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2640 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
2641 `Lisp_Char_ID_Table'.
2642 (mark_char_id_table): Deleted.
2643 (print_char_id_table): Likewise.
2644 (char_id_table_equal): Likewise.
2645 (char_id_table_hash): Likewise.
2646 (char_id_table_description): Likewise.
2647 (char_id_table): Likewise.
2648 (make_char_id_table): Use `Fmake_char_table' and
2650 (get_char_id_table): Use `Lisp_Char_Table' instead of
2651 `Lisp_Char_ID_Table'.
2652 (put_char_id_table): Likewise.
2653 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
2655 (Fremove_char_attribute): Likewise.
2656 (syms_of_chartab): Don't define type `char-id-table'.
2658 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
2659 (char_id_table): Likewise.
2660 (GC_CHAR_ID_TABLE_P): Likewise.
2661 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
2662 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
2663 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
2664 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
2665 (get_char_id_table): Use `Lisp_Char_Table' instead of
2666 `Lisp_Char_ID_Table'.
2667 (put_char_id_table_0): Likewise.
2668 (put_char_id_table): Likewise.
2670 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2672 * chartab.h: Lisp_Byte_Table related codes are moved from
2675 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
2677 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2679 * chartab.h: Don't include "chartab.h".
2680 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
2681 (Lisp_Char_ID_Table): Likewise.
2682 (char_id_table): Likewise.
2683 (XCHAR_ID_TABLE): Likewise.
2684 (XSETCHAR_ID_TABLE): Likewise.
2685 (CHAR_ID_TABLE_P): Likewise.
2686 (GC_CHAR_ID_TABLE_P): Likewise.
2687 (get_char_id_table): Likewise.
2689 * char-ucs.h: Include "chartab.h".
2690 (struct Lisp_Char_ID_Table): Moved to chartab.h.
2691 (Lisp_Char_ID_Table): Likewise.
2692 (char_id_table): Likewise.
2693 (XCHAR_ID_TABLE): Likewise.
2694 (XSETCHAR_ID_TABLE): Likewise.
2695 (CHAR_ID_TABLE_P): Likewise.
2696 (GC_CHAR_ID_TABLE_P): Likewise.
2697 (get_char_id_table): Likewise.
2699 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2701 * chartab.c (copy_uint8_byte_table): New function.
2702 (copy_uint16_byte_table): New function.
2703 (copy_byte_table): New function.
2704 (map_over_uint8_byte_table): Modify to avoid huge numbers of
2706 (map_over_uint16_byte_table): Likewise.
2707 (map_over_byte_table): Likewise.
2708 (get_byte_table): Move prototype to chartab.h.
2709 (put_byte_table): Likewise.
2710 (put_char_id_table_0): Moved to chartab.h.
2711 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
2712 (char_table_entry_equal): Likewise.
2713 (char_table_entry_hash): Likewise.
2714 (char_table_entry_description): Likewise.
2715 (char_table_entry): Likewise.
2716 (make_char_table_entry): Likewise.
2717 (copy_char_table_entry): Likewise.
2718 (get_non_ascii_char_table_value): Likewise.
2719 (map_over_charset_ascii): Likewise.
2720 (map_over_charset_control_1): Likewise.
2721 (map_over_charset_row): Likewise.
2722 (map_over_other_charset): Likewise.
2723 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
2724 (print_char_table): Likewise.
2725 (char_table_equal): Likewise.
2726 (char_table_hash): Likewise.
2727 (char_table_description): Likewise.
2728 (fill_char_table): Likewise.
2729 (Fcopy_char_table): Likewise.
2730 (get_char_table): Likewise.
2731 (Fget_range_char_table): Likewise.
2732 (put_char_table): Likewise.
2733 (map_char_table): Likewise.
2734 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
2737 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2739 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
2740 `Vauto_fill_chars' in XEmacs UTF-2000.
2742 * chartab.h (get_byte_table): New prototype [moved from
2744 (put_byte_table): Likewise [moved from chartab.c].
2745 (put_char_id_table_0): New inline function [moved from chartab.c].
2746 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
2747 (Lisp_Char_Table_Entry): Likewise.
2748 (char_table_entry): Likewise.
2749 (XCHAR_TABLE_ENTRY): Likewise.
2750 (XSETCHAR_TABLE_ENTRY): Likewise.
2751 (CHAR_TABLE_ENTRYP): Likewise.
2752 (CHECK_CHAR_TABLE_ENTRY): Likewise.
2753 (NUM_ASCII_CHARS): Likewise.
2754 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
2755 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
2757 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2759 * chartab.c (get_char_id_table): Change interface.
2760 (put_char_id_table_0): New function.
2761 (put_char_id_table): Change interface; new implementation.
2762 (Fget_composite_char): Modify for interface change of
2763 `get_char_id_table'.
2764 (Fchar_variants): Likewise.
2765 (add_char_attribute_alist_mapper): Likewise.
2766 (Fchar_attribute_alist): Likewise.
2767 (Fget_char_attribute): Likewise.
2768 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
2769 as same as character as the first argument like `put-char-table';
2770 modify for interface change of `put_char_id_table'.
2771 (Fremove_char_attribute): Modify for interface change of
2772 `put_char_id_table'.
2774 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2776 * text-coding.c: Sync up with XEmacs 21.2.41.
2777 (COMPOSE_ADD_CHAR): Modify for interface change of
2778 `get_char_id_table'.
2780 * mule-charset.c (put_char_ccs_code_point): Modify for interface
2781 change of `put_char_id_table'.
2782 (remove_char_ccs): Likewise.
2784 * chartab.h (put_char_id_table): Change interface.
2786 * char-ucs.h (get_char_id_table): Change interface.
2787 (charset_code_point): Modify for interface change of
2788 `get_char_id_table'.
2789 (encode_char_1): Likewise.
2791 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2793 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
2795 (map_over_uint16_byte_table): Likewise.
2796 (map_over_byte_table): Likewise.
2797 (map_char_id_table): Add new argument `range' like
2799 (Fmap_char_attribute): Add new argument `range' like
2802 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2804 * chartab.c (map_over_uint8_byte_table): Change interface of
2805 mapping function to use struct chartab_range instead of Emchar.
2806 (map_over_uint16_byte_table): Likewise.
2807 (map_over_byte_table): Likewise.
2808 (map_char_id_table): Likewise.
2809 (struct slow_map_char_id_table_arg): Deleted.
2810 (slow_map_char_id_table_fun): Deleted.
2811 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
2812 function `slow_map_char_table_fun' instead of struct
2813 `slow_map_char_id_table_arg' and function
2814 `slow_map_char_id_table_fun'.
2816 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2818 * mule-charset.c: Move char-it-table related codes to chartab.c.
2819 (Vutf_2000_version): Moved to chartab.c.
2820 (Fdefine_char): Likewise.
2821 (Ffind_char): Likewise.
2822 (syms_of_mule_charset): Move types `uint8-byte-table',
2823 `uint16-byte-table', `byte-table' and `char-id-table' to
2824 chartab.c; move functions `char_attribute_list,
2825 `find_char_attribute_table, `char_attribute_alist,
2826 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
2827 `map_char_attribute, `define_char, `find_char, `char_variants and
2828 `get_composite_char to chartab.c; move symbols `=>ucs',
2829 `->decomposition', `compat', `isolated', `initial', `medial',
2830 `final', `vertical', `noBreak', `fraction', `super', `sub',
2831 `circle', `square', `wide', `narrow', `small' and `font' to
2833 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
2834 setting codes for `Vcharacter_composition_table' and
2835 `Vcharacter_variant_table' to chartab.c.
2836 (complex_vars_of_mule_charset): Move setting code for
2837 `Vchar_attribute_hash_table' to chartab.c.
2839 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
2840 (make_char_id_table): New prototype.
2841 (put_char_id_table): Likewise.
2842 (Fget_char_attribute): Likewise.
2844 * chartab.c: Move char-id-table related code from mule-charset.c.
2845 (Vutf_2000_version): Moved from mule-charset.c.
2847 * char-ucs.h (Qucs): New external variable.
2848 (put_char_ccs_code_point): New prototype.
2849 (remove_char_ccs): Likewise.
2851 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2853 * mule-charset.c (Vcharset_ucs_jis): New variable.
2854 (Qucs_jis): Likewise.
2855 (syms_of_mule_charset): Add new symbol `ucs-jis'.
2856 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
2858 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
2860 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2862 * mule-charset.c (map_over_uint8_byte_table): New function.
2863 (map_over_uint16_byte_table): Likewise.
2864 (map_over_byte_table): Likewise.
2865 (map_char_id_table): Likewise.
2866 (slow_map_char_id_table_fun): Likewise.
2867 (Fmap_char_attribute): Likewise.
2868 (syms_of_mule_charset): Add new function `map-char-attribute'.
2870 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2872 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
2873 (syms_of_mule_charset): Add new function `find-char'.
2875 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2877 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
2879 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
2880 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
2882 (complex_vars_of_mule_charset): Add new coded-charset
2883 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
2884 `ideograph-gt-pj-*'.
2886 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
2888 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2890 * mule-charset.c (encode_builtin_char_1): Purge codes about
2891 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
2892 {MIN|MAX}_CHAR_HEBREW.
2893 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
2894 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
2896 * char-ucs.h (MIN_CHAR_GREEK): Purged.
2897 (MAX_CHAR_GREEK): Purged.
2898 (MIN_CHAR_CYRILLIC): Purged.
2899 (MAX_CHAR_CYRILLIC): Purged.
2900 (MIN_CHAR_HEBREW): Commented out.
2901 (MAX_CHAR_HEBREW): Likewise.
2903 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2905 * mule-charset.c (Qto_ucs): New variable.
2906 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
2907 (Fdefine_char): Likewise.
2908 (syms_of_mule_charset): Add new symbol `=>ucs'.
2910 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2912 * mule-charset.c (Fdecode_char): Fixed.
2914 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2916 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
2917 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
2920 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2922 * mule-charset.c (Vcharset_ucs_big5): New variable.
2923 (Qucs_big5): Likewise.
2924 (syms_of_mule_charset): Add new symbol `ucs-big5'.
2925 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
2927 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
2929 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2931 * mule-charset.c (decode_builtin_char): Check Big5 code range
2932 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
2934 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2936 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
2937 (Qchinese_gb12345): Likewise.
2938 (Fdecode_builtin_char): Fixed.
2939 (syms_of_mule_charset): Add `chinese-gb12345'.
2940 (complex_vars_of_mule_charset): Add coded-charset
2943 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
2944 (LEADING_BYTE_CHINESE_GB12345): New macro.
2946 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2948 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
2949 and `latin-viscii-upper' for `latin-viscii'.
2951 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2953 * mule-charset.c (Fdecode_builtin_char): Comment out
2954 regularization code for ISO-IR GR representation.
2956 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2958 * mule-charset.c (decode_builtin_char): New function; renamed from
2959 `make_builtin_char'; return -1 instead of signal.
2960 (Fdecode_builtin_char): Use `decode_builtin_char'.
2962 * char-ucs.h (decode_builtin_char): New prototype; renamed from
2963 `make_builtin_char'.
2964 (DECODE_CHAR): Use `decode_builtin_char' instead of
2965 `make_builtin_char'; use mapping table of `chinese-big5' for
2966 `chinese-big5-{1,2}'.
2968 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2970 * text-coding.c (char_encode_big5): New function.
2971 (char_finish_big5): Likewise.
2972 (reset_encoding_stream): Use `char_encode_big5' and
2973 `char_finish_big5' for CODESYS_BIG5.
2974 (mule_encode): Don't use `encode_coding_big5'.
2975 (encode_coding_big5): Deleted.
2977 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2979 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
2980 0x81- in XEmacs UTF-2000.
2981 (detect_coding_big5): Likewise.
2983 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2985 * mule-charset.c (Fdefine_char): Don't use a CCS property to
2986 generate character-id if the CCS property does not have
2987 corresponding predefined character.
2988 (make_builtin_char): Return -1 if corresponding predefined
2989 character is not found.
2990 (Fdecode_char): Return nil if corresponding character is not
2992 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
2993 don't map to builtin ucs space.
2995 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2997 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
2998 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
3000 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3002 * mule-charset.c (Vcharset_ideograph_gt): New variable.
3003 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
3004 (Qideograph_gt): Likewise.
3005 (Qideograph_gt_pj_{1..11}): Likewise.
3006 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
3007 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
3008 `ideograph-gt-pj-11'.
3009 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
3010 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
3011 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
3013 * char-ucs.h (LEADING_BYTE_GT): New macro.
3014 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
3015 (MIN_CHAR_GT): Likewise.
3016 (MAX_CHAR_GT): Likewise.
3018 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3020 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
3021 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
3023 * doprnt.c (unsigned_int_converters): Add `c'.
3024 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
3026 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
3027 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
3029 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
3030 (MAX_CHAR_MOJIKYO_0): New macro.
3031 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
3033 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3035 * mule-charset.c (Fdefine_char): Delete cemented out code.
3036 (encode_builtin_char_1): Modify for new allocation of builtin
3039 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
3041 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3043 * mule-charset.c (Vcharset_ucs_cns): New variable.
3044 (Qucs_cns): New variable.
3045 (syms_of_mule_charset): Add new symbol `ucs-cns'.
3046 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
3048 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3050 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
3052 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3054 * search.c (search_buffer): Make `charset_base_code' as
3055 character-id >> 6 to eliminate the corresponding last byte in
3056 UTF-8 representation [I'm not sure it is right thing].
3057 (boyer_moore): Likewise.
3059 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3061 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
3062 representation in MULE.
3064 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3066 * text-coding.c (Fmake_coding_system): Use
3067 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
3068 `EXTERNAL_PROPERTY_LIST_LOOP'.
3070 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3072 * text-coding.c (decode_output_utf8_partial_char): New function.
3073 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
3075 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3077 * text-coding.c (decode_coding_utf8): Output original byte
3078 sequence if it is broken; change order of conditions.
3080 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
3083 * mb-multibyte.h (BYTE_ASCII_P):
3084 Use bit ops for char-signedness safety.
3085 (BYTE_C0_P): Use bit ops for char-signedness safety.
3086 (BYTE_C1_P): Use bit ops for char-signedness safety.
3088 * character.h: (XCHAR_OR_CHAR_INT):
3089 Always use inline function.
3090 Remove redundant type checking assert() - XINT will abort quite
3093 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3095 * text-coding.c: (Fencode_shift_jis_char):
3096 (Fencode_big5_char):
3097 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
3098 Replace 0 with '\0' when working with bytes.
3099 Replace initial "(" with "\(" in docstrings.
3101 (Fmake_coding_system):
3102 When type is ccl and value is vector, register it with a proper
3103 symbol. And checks whether the given ccl program is valid.
3104 (mule_decode): When calling ccl_driver, if src indicates
3105 NULL pointer, set an empty string instead.
3106 (mule_encode): Likewise.
3109 (detect_coding_sjis):
3110 (decode_coding_sjis):
3111 (detect_coding_big5):
3112 (decode_coding_big5):
3113 (detect_coding_ucs4):
3114 (decode_coding_ucs4):
3115 (detect_coding_utf8):
3116 (decode_coding_utf8):
3117 (detect_coding_iso2022):
3118 (decode_coding_iso2022):
3119 (decode_coding_no_conversion):
3121 Make all detecting and decoding functions take an Extbyte * arg.
3122 (text_encode_generic):
3123 (encode_coding_big5):
3124 (encode_coding_no_conversion):
3126 Make all encoding functions take a Bufbyte * arg.
3127 Use size_t instead of unsigned int for memory sizes.
3128 Only cast to unsigned char whenever dereferencing Extbyte *.
3130 (struct lrecord_description fcd_description_1): Use countof.
3131 (complex_vars_of_file_coding):
3132 Use countof instead of sizeof.
3133 Use CHECK_NATNUM instead of CHECK_INT.
3135 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3137 * mule-charset.c (Fget_char_attribute): Add new optional argument
3139 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
3140 (remove_char_ccs): Likewise.
3142 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3144 * text-coding.c (char_encode_shift_jis): New implementation in
3146 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
3149 * mule-charset.c (Vcharset_chinese_big5): New variable in
3151 (Qchinese_big5): New variable in UTF-2000.
3152 (BIG5_SAME_ROW): New macro in UTF-2000.
3153 (make_builtin_char): Use builtin characters of
3154 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
3155 characters of `Vcharset_chinese_big5'.
3156 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
3157 (complex_vars_of_mule_charset): Add new coded-charset
3158 `chinese-big5' in UTF-2000.
3160 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
3161 (Vcharset_chinese_big5): New external variable declaration.
3162 (Vcharset_japanese_jisx0208_1990): Likewise.
3164 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3166 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
3168 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
3170 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3172 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
3173 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
3174 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
3177 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3179 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
3181 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3183 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3186 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3188 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
3189 for `CHARSET_BY_ATTRIBUTES'.
3190 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3191 `CHARSET_BY_ATTRIBUTES'.
3193 * text-coding.c (struct decoding_stream): Rename member `CH' to
3195 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
3196 (decode_coding_sjis): Likewise.
3197 (decode_coding_big5): Likewise.
3198 (decode_coding_ucs4): Likewise.
3199 (decode_coding_utf8): Likewise.
3200 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3201 `CHARSET_BY_ATTRIBUTES'.
3202 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
3203 `str->counter'; decode 3, 4 bytes sets.
3204 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
3206 (decode_coding_no_conversion): Use `str->cpos' instead of
3209 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
3210 (Qmojikyo_2022_1): New variable.
3211 (make_charset): Don't use `CHARSET_TYPE_*'.
3212 (range_charset_code_point): Support coded-charset
3214 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
3215 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
3216 `CHARSET_BY_ATTRIBUTES'.
3217 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
3218 `CHARSET_BY_ATTRIBUTES'.
3219 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
3220 (complex_vars_of_mule_charset): Add new coded-charset
3223 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
3224 interface; changed to inline function.
3226 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
3227 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
3228 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
3229 (CHARSET_TYPE_94): Deleted.
3230 (CHARSET_TYPE_94X94): Deleted.
3231 (CHARSET_TYPE_96): Deleted.
3232 (CHARSET_TYPE_96X96): Deleted.
3233 (CHARSET_TYPE_128): Deleted.
3234 (CHARSET_TYPE_128X128): Deleted.
3235 (CHARSET_TYPE_256): Deleted.
3236 (CHARSET_TYPE_256X256): Deleted.
3237 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
3239 (DECODE_MOJIKYO_2022): New inline function.
3240 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
3241 `Vcharset_mojikyo_2022_1'.
3243 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3245 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
3247 (put_byte_table): Likewise.
3248 (char_id_table_equal): Use `get_byte_table' [new implementation].
3250 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3252 * mule-charset.c: Include <limits.h> in UTF-2000.
3253 (BT_UINT8_MIN): New macro in UTF-2000.
3254 (BT_UINT8_MAX): New macro in UTF-2000.
3255 (BT_UINT8_t): New macro in UTF-2000.
3256 (BT_UINT8_nil): New macro in UTF-2000.
3257 (BT_UINT8_unbound): New macro in UTF-2000.
3258 (INT_UINT8_P): New inline function in UTF-2000.
3259 (UINT8_VALUE_P): New inline function in UTF-2000.
3260 (UINT8_ENCODE): New inline function in UTF-2000.
3261 (UINT8_DECODE): New inline function in UTF-2000.
3262 (mark_uint8_byte_table): New function in UTF-2000.
3263 (print_uint8_byte_table): New function in UTF-2000.
3264 (uint8_byte_table_equal): New function in UTF-2000.
3265 (uint8_byte_table_hash): New function in UTF-2000.
3266 (make_uint8_byte_table): New function in UTF-2000.
3267 (uint8_byte_table_same_value_p): New function in UTF-2000.
3268 (BT_UINT16_MIN): New macro in UTF-2000.
3269 (BT_UINT16_MAX): New macro in UTF-2000.
3270 (BT_UINT16_t): New macro in UTF-2000.
3271 (BT_UINT16_nil): New macro in UTF-2000.
3272 (BT_UINT16_unbound): New macro in UTF-2000.
3273 (INT_UINT16_P): New inline function in UTF-2000.
3274 (UINT16_VALUE_P): New inline function in UTF-2000.
3275 (UINT16_ENCODE): New inline function in UTF-2000.
3276 (UINT16_DECODE): New inline function in UTF-2000.
3277 (UINT8_TO_UINT16): New inline function in UTF-2000.
3278 (mark_uint16_byte_table): New function in UTF-2000.
3279 (print_uint16_byte_table): New function in UTF-2000.
3280 (uint16_byte_table_equal): New function in UTF-2000.
3281 (uint16_byte_table_hash): New function in UTF-2000.
3282 (make_uint16_byte_table): New function in UTF-2000.
3283 (uint16_byte_table_same_value_p): New function in UTF-2000.
3284 (print_byte_table): New function in UTF-2000.
3285 (byte-table): Use `print_byte_table' as printer.
3286 (make_byte_table): Delete second argument `older'.
3287 (byte_table_same_value_p): New function in UTF-2000.
3288 (copy_byte_table): Deleted.
3289 (get_byte_table): New function in UTF-2000.
3290 (put_byte_table): New function in UTF-2000.
3291 (print_char_id_table): New function in UTF-2000.
3292 (char-id-table): Use `print_char_id_table' as printer.
3293 (make_char_id_table): Delete second argument `older'.
3294 (get_char_id_table): Use `get_byte_table [new implementation].
3295 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
3297 (Ffind_char_attribute_table): New function in UTF-2000.
3298 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3299 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
3300 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
3301 (syms_of_mule_charset): Add new function
3302 `find-char-attribute-table' in UTF-2000.
3304 * lrecord.h (enum lrecord_type): Add
3305 `lrecord_type_uint16_byte_table' and
3306 `lrecord_type_uint8_byte_table'.
3308 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
3309 (Lisp_Uint8_Byte_Table): New type.
3310 (XUINT8_BYTE_TABLE): New macro.
3311 (XSETUINT8_BYTE_TABLE): New macro.
3312 (UINT8_BYTE_TABLE_P): New macro.
3313 (GC_UINT8_BYTE_TABLE_P): New macro.
3314 (struct Lisp_Uint16_Byte_Table): New structure.
3315 (Lisp_Uint16_Byte_Table): New type.
3316 (XUINT16_BYTE_TABLE): New macro.
3317 (XSETUINT16_BYTE_TABLE): New macro.
3318 (UINT16_BYTE_TABLE_P): New macro.
3319 (GC_UINT16_BYTE_TABLE_P): New macro.
3321 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3323 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
3324 (Vcharacter_ideographic_strokes_table): Deleted.
3325 (Vcharacter_total_strokes_table): Deleted.
3326 (Vcharacter_morohashi_daikanwa_table): Deleted.
3327 (Vcharacter_decomposition_table): Deleted.
3328 (Qname): Deleted because it is duplicated.
3329 (Qideographic_radical): Deleted.
3330 (Qideographic_strokes): Deleted.
3331 (Qtotal_strokes): Deleted.
3332 (Qmorohashi_daikanwa): Deleted.
3333 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
3334 `ideographic-radical', `ideographic-strokes', `total-strokes',
3335 `morohashi-daikanwa' and `->decomposition'.
3336 (Fget_char_attribute): Likewise.
3337 (Fput_char_attribute): Likewise; use `make-vector' instead of
3338 `make_older_vector' for `->decomposition' value.
3339 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
3340 `ideograph-daikanwa'.
3341 (syms_of_mule_charset): Delete builtin symbols `name',
3342 `ideographic-radical', `ideographic-strokes', `total-strokes' and
3343 `morohashi-daikanwa'.
3344 (vars_of_mule_charset): Don't setup
3345 `Vcharacter_ideographic_radical_table',
3346 `Vcharacter_ideographic_strokes_table',
3347 `Vcharacter_total_strokes_table',
3348 `Vcharacter_morohashi_daikanwa_table' and
3349 `Vcharacter_decomposition_table'.
3351 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3353 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
3354 `make_older_vector', `make_vector_newer_1' and
3355 `make_vector_newer'.
3357 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
3358 `make_older_vector' and `make_vector_newer'.
3360 * config.h.in (HAVE_GGC): New macro.
3362 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3364 * mule-charset.c (struct char_attribute_list_closure): New
3365 structure in UTF-2000.
3366 (add_char_attribute_to_list_mapper): New function in UTF-2000.
3367 (Fchar_attribute_list): Likewise.
3368 (Fset_charset_mapping_table): Use `make_vector_newer'.
3369 (Fdecode_builtin_char): New function in UTF-2000.
3370 (syms_of_mule_charset): Add new function `char-attribute-list' and
3371 `decode-builtin-char' in UTF-2000.
3373 * lisp.h (make_vector_newer): New prototype.
3375 * alloc.c (make_vector_newer_1): New function.
3376 (make_vector_newer): New function.
3378 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3380 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
3383 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3385 * mule-charset.c (Vchar_attribute_hash_table): New variable.
3386 (Vcharacter_attribute_table): Deleted.
3387 (Vcharacter_name_table): Deleted.
3388 (put_char_attribute): Deleted.
3389 (remove_char_attribute): Deleted.
3390 (struct char_attribute_alist_closure): New structure.
3391 (add_char_attribute_alist_mapper): New function.
3392 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
3393 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
3394 (Fget_char_attribute): Likewise.
3395 (Fput_char_attribute): Likewise.
3396 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
3397 of `remove_char_attribute'.
3398 (Fdefine_char): Return character.
3399 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
3400 and `Vcharacter_name_table'.
3401 (complex_vars_of_mule_charset): Likewise
3402 `Vchar_attribute_hash_table'.
3404 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3406 * character.h (CHARC_CHARSET): New macro.
3407 (CHARC_CHARSET_ID): New macro.
3408 (CHARC_CODE_POINT): New macro.
3409 (CHARC_COLUMNS): New macro.
3410 (CHARC_TO_CHAR): New inline function.
3411 (CHARC_EQ): New inline function.
3412 (CHARC_ASCII_EQ): New inline function.
3413 (CHARC_IS_SPACE): New inline function.
3414 (ASCII_TO_CHARC): New inline function.
3416 * char-ucs.h (encode_char_2): Deleted.
3417 (ENCODE_CHAR): Use `encode_char_1' again.
3418 (breakup_char_1): Likewise.
3419 (CHAR_TO_CHARC): New inline function.
3421 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
3423 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3425 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
3426 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
3427 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
3428 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
3429 (create_string_text_block): Use `CHARC_ASCII_EQ' and
3431 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
3433 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
3435 (x_output_display_block): Use `CHARC_CHARSET' and
3438 * redisplay-tty.c (tty_output_display_block): Use
3440 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
3442 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
3444 * insdel.c (find_charsets_in_charc_string): Use
3446 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
3447 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
3448 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
3449 (convert_charc_string_into_malloced_string): Likewise.
3451 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3453 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
3454 instead of <Emchar_dynarr *> for buf; use
3455 `convert_bufbyte_string_into_charc_dynarr' instead of
3456 `convert_bufbyte_string_into_emchar_dynarr'; use
3457 `find_charsets_in_charc_string' instead of
3458 `find_charsets_in_emchar_string'.
3461 - Include "character.h".
3462 (struct rune): New member `cglyph'; delete member `chr'.
3464 * redisplay.c (redisplay_text_width_charc_string): New function;
3465 delete `redisplay_text_width_emchar_string'.
3466 (rtw_charc_dynarr): New variable; renamed from
3467 `rtw_emchar_dynarr'.
3468 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
3469 `rtw_emchar_dynarr'; use
3470 `convert_bufbyte_string_into_charc_dynarr' instead of
3471 `convert_bufbyte_string_into_emchar_dynarr'; use
3472 `redisplay_text_width_charc_string' instead of
3473 `redisplay_text_width_emchar_string'.
3474 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
3475 instead of `rtw_emchar_dynarr'; use
3476 `convert_bufbyte_string_into_charc_dynarr' instead of
3477 `convert_bufbyte_string_into_emchar_dynarr'.
3478 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
3479 `redisplay_text_width_charc_string' instead of
3480 `redisplay_text_width_emchar_string'.
3481 (create_text_block): Modify for <struct rune> change.
3482 (generate_formatted_string_db): Likewise.
3483 (create_string_text_block): Likewise.
3484 (pixel_to_glyph_translation): Likewise.
3486 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
3487 instead of <const Emchar *>.
3488 (x_text_width): Likewise.
3489 (x_output_display_block): Use <Charc_dynarr *> instead
3490 <Emchar_dynarr *>; modify for <structure rune> change.
3491 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
3494 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
3495 <const Emchar *>; use `charc_string_displayed_columns' instead of
3496 `emchar_string_displayed_columns'.
3497 (tty_output_display_block): Use <Charc_dynarr *> instead of
3498 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
3499 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
3500 (tty_output_charc_dynarr_dynarr): New variable; renamed from
3501 `tty_output_emchar_dynarr_dynarr'.
3502 (tty_output_charc_dynarr): New function; delete
3503 `tty_output_charc_dynarr'.
3505 * redisplay-output.c (compare_runes): Modify for `struct rune'.
3506 (redisplay_output_layout): Use <Charc_dynarr *> instead of
3507 <Emchar_dynarr *> for buf; use
3508 `convert_bufbyte_string_into_charc_dynarr' instead of
3509 `convert_bufbyte_string_into_emchar_dynarr'.
3511 * frame.c (title_string_charc_dynarr): New variable; renamed from
3512 `title_string_emchar_dynarr'.
3513 (generate_title_string): Use `title_string_charc_dynarr' instead
3514 of `title_string_emchar_dynarr'; use
3515 `convert_charc_string_into_malloced_string' instead of
3516 `convert_emchar_string_into_malloced_string'.
3517 (init_frame): Use `title_string_charc_dynarr' instead of
3518 `title_string_emchar_dynarr'.
3521 - Include "character.h".
3522 (struct console_methods): Use <const Charc *> instead of <const
3523 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
3524 <Emchar_dynarr *> in output_string_method.
3526 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
3529 * console-stream.c (stream_text_width): Use <const Charc *>
3530 instead of <const Emchar *>.
3532 * character.h (Charc_dynarr): New type.
3534 * char-ucs.h (structure Charc): New structure; define new type
3537 * char-lb.h (DECODE_CHAR): New inline function.
3538 (encode_char_1): New inline function.
3539 (ENCODE_CHAR): New macro.
3540 (structure Charc): New structure; define new type `Charc'.
3542 * char-1byte.h (Vcharset_control_1): New macro.
3543 (Vcharset_latin_iso8859_1): New macro.
3544 (DECODE_CHAR): New inline function.
3545 (encode_char_1): New inline function.
3546 (ENCODE_CHAR): New macro.
3547 (structure Charc): New structure; define new type `Charc'.
3549 * insdel.c (find_charsets_in_charc_string): New function; delete
3550 `find_charsets_in_emchar_string'.
3551 (charc_string_displayed_columns): New function; delete
3552 `emchar_string_displayed_columns'.
3553 (convert_bufbyte_string_into_charc_dynarr): New function; delete
3554 `convert_bufbyte_string_into_emchar_dynarr'.
3555 (convert_charc_string_into_bufbyte_dynarr): New function; delete
3556 `convert_charc_string_into_bufbyte_dynarr'.
3557 (convert_charc_string_into_malloced_string): New function; delete
3558 `convert_charc_string_into_malloced_string'.
3560 * buffer.h (find_charsets_in_charc_string): New prototype; delete
3561 `find_charsets_in_emchar_string'.
3562 (charc_string_displayed_columns): New prototype; delete
3563 `emchar_string_displayed_columns'.
3564 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
3565 `convert_charc_string_into_bufbyte_dynarr'.
3566 (convert_charc_string_into_malloced_string): New prototype; delete
3567 `convert_charc_string_into_malloced_string'.
3569 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3571 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
3573 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3575 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
3577 * char-ucs.h: Use <short> for <Charset_ID>.
3579 * mule-charset.h, char-1byte.h: Use <unsigned char> for
3582 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3584 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3587 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3589 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
3591 (Qmorohashi_daikanwa): New variable.
3592 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
3593 for `morohashi-daikanwa' attribute.
3594 (Fget_char_attribute): Likewise.
3595 (Fput_char_attribute): Likewise.
3596 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
3597 has the same value of `ideograph-daikanwa'.
3598 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
3599 (vars_of_mule_charset): Setup
3600 `Vcharacter_morohashi_daikanwa_table'.
3602 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3604 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
3606 (add_charset_to_list_mapper): Add `key' instead of
3607 `XCHARSET_NAME (value)' to return aliases.
3609 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3611 * mule-charset.c (Vcharacter_ideographic_radical_table): New
3613 (Vcharacter_ideographic_strokes_table): New variable.
3614 (Qideographic_radical): New variable.
3615 (Qideographic_strokes): New variable.
3616 (Fchar_attribute_alist): Use
3617 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
3618 attribute; use `Vcharacter_ideographic_strokes_table' for
3619 `ideographic-strokes' attribute.
3620 (Fget_char_attribute): Likewise.
3621 (Fput_char_attribute): Likewise.
3622 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
3623 `ideographic-strokes'.
3624 (vars_of_mule_charset): Setup
3625 `Vcharacter_ideographic_radical_table' and
3626 `Vcharacter_ideographic_strokes_table'.
3628 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3630 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
3631 (Qtotal_strokes): New variable.
3632 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
3633 `total-strokes' attribute.
3634 (Fget_char_attribute): Likewise.
3635 (Fput_char_attribute): Likewise.
3636 (syms_of_mule_charset): Add new symbol `total-strokes'.
3637 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
3639 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3641 * mule-charset.c (Vcharacter_decomposition_table): New variable.
3642 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
3644 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
3645 `->decomposition' attribute.
3646 (Fput_char_attribute): Likewise.
3647 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
3649 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3651 * mule-charset.c (decoding_table_check_elements): New function.
3652 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
3654 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3656 * mule-charset.c (Fset_charset_mapping_table): Use
3657 `put_char_ccs_code_point'.
3659 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3661 * mule-charset.c (decoding_table_put_char): New inline function.
3662 (put_char_ccs_code_point): Use `decoding_table_put_char'.
3664 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3666 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
3667 (XCHARSET_BYTE_SIZE): New macro.
3668 (decoding_table_remove_char): New inline function.
3669 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
3670 `decoding_table_remove_char'.
3671 (remove_char_ccs): Use `decoding_table_remove_char'.
3672 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
3674 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3676 * mule-charset.c (Vcharacter_name_table): New variable.
3677 (Qname): New variable.
3678 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
3680 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
3681 `Vcharacter_name_table' for `name' attribute.
3682 (Fremove_char_attribute): Use function `remove_char_ccs'.
3683 (put_char_ccs_code_point): New function.
3684 (remove_char_ccs): New function.
3685 (syms_of_mule_charset): Add new symbol `name'.
3686 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
3688 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3690 * mule-charset.c (make_byte_table): Add new argument `older'.
3691 (make_char_id_table): Likewise.
3692 (copy_char_id_table): Comment out because it is not used.
3693 (put_char_id_table): Modify for `make_byte_table'.
3694 (Fput_char_attribute): Make encoding_table as older object;
3695 inherit older bit of `Vcharacter_composition_table'.
3696 (mark_charset): Don't mark `cs->encoding_table'.
3697 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
3698 normal object; make `Vcharacter_composition_table' as an older
3699 object; delete staticpro for `Vcharacter_composition_table'; make
3700 `Vcharacter_variant_table' as a normal object.
3702 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
3703 (mark_object): Don't check older object in UTF-2000.
3705 * lrecord.h (struct lrecord_header): Add new member `older' in
3707 (set_lheader_implementation): Setup `SLI_header->older' in
3709 (set_lheader_older_implementation): New macro in UTF-2000.
3710 (OLDER_RECORD_P): New macro in UTF-2000.
3711 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
3712 (alloc_older_lcrecord): New prototype in UTF-2000.
3713 (alloc_older_lcrecord_type): New macro in UTF-2000.
3715 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3717 * mule-charset.c (byte_table_description): Use
3718 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
3719 (char_id_table_description): Delete bogus `, 1'.
3720 (Fget_char_attribute): Refer encoding_table of each coded-charset
3721 to get value of coded-charset attribute of a character.
3722 (Fput_char_attribute): Use `make_older_vector' instead of
3723 `make_vector'; use encoding_table of each coded-charset to store
3724 value of coded-charset attribute of a character.
3725 (Fremove_char_attribute): Use encoding_table of each coded-charset
3726 to store value of coded-charset attribute of a character.
3727 (mark_charset): Mark `cs->encoding_table'; don't mark
3728 `cs->decoding_table'.
3729 (charset_description): Add description of new member
3731 (make_charset): Initialize `encoding_table'.
3733 * char-ucs.h (struct Lisp_Charset): Add new member
3735 (CHARSET_ENCODING_TABLE): New macro.
3736 (XCHARSET_ENCODING_TABLE): New macro.
3737 (charset_code_point): New implementation.
3738 (encode_char_1): Likewise.
3740 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
3741 (disksave_object_finalization_1): Call finalizers of
3742 `all_older_lcrecords' in UTF-2000.
3743 (make_older_vector): New function in UTF-2000.
3744 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
3747 * lisp.h (make_older_vector): New prototype in UTF-2000.
3749 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3751 * lrecord.h (enum lrecord_type): Rename
3752 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
3754 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
3755 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
3756 `get_char_code_table'.
3758 * mule-charset.c (mark_char_id_table): Renamed from
3759 `mark_char_code_table'.
3760 (char_id_table_equal): Renamed from `char_code_table_equal'.
3761 (char_id_table_hash): Renamed from `char_code_table_hash'.
3762 (make_char_id_table): Renamed from `make_char_code_table'.
3763 (copy_char_id_table): Renamed from `copy_char_code_table'.
3764 (get_char_id_table): Renamed from `get_char_code_table'.
3765 (put_char_id_table): Renamed from `put_char_code_table'.
3766 (to_char_id): Renamed from `to_char_code'.
3768 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
3769 `Lisp_Char_Code_Table'.
3770 (char_id_table): Renamed from `char_code_table'.
3771 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
3772 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
3773 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
3774 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
3775 (get_char_id_table): Renamed from `get_char_code_table'.
3777 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3779 * lrecord.h (enum lrecord_type): Rename
3780 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
3782 * mule-charset.c (mark_byte_table): Renamed from
3783 `mark_char_byte_table'.
3784 (byte_table_equal): Renamed from `char_byte_table_equal'.
3785 (byte_table_hash): Renamed from `byte_table_hash'.
3786 (make_byte_table): Renamed from `make_byte_table'.
3787 (copy_byte_table): Renamed from `copy_char_byte_table'.
3789 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
3790 `Lisp_Char_Byte_Table'.
3791 (byte_table): Renamed from `char_byte_table'.
3792 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
3793 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
3794 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
3795 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
3797 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3799 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
3800 (dfc_convert_to_internal_format): Likewise.
3802 * text-coding.c (Fcoding_system_canonical_name_p): New function.
3803 * text-coding.c (Fcoding_system_alias_p): New function.
3804 * text-coding.c (Fcoding_system_aliasee): New function.
3805 * text-coding.c (append_suffix_to_symbol): New function.
3806 * text-coding.c (dangling_coding_system_alias_p): New function.
3807 * text-coding.c (Ffind_coding_system):
3808 * text-coding.c (Fcopy_coding_system):
3809 * text-coding.c (encode_coding_no_conversion):
3810 * text-coding.c (syms_of_file_coding):
3811 * text-coding.c (vars_of_file_coding):
3812 Rewrite coding system alias code.
3813 Allow nested aliases, like symbolic links.
3814 Allow redefinition of coding system aliases.
3815 Prevent existence of dangling coding system aliases.
3816 Eliminate convert_to_external_format.
3817 Eliminate convert_to_internal_format.
3819 * text-coding.c: Change enum eol_type to eol_type_t.
3821 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3823 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
3824 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3826 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
3827 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3829 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3831 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
3832 `ideograph-daikanwa'.
3834 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
3835 (Vcharset_ucs_bmp): Likewise.
3836 (Vcharset_mojikyo): Add new extern variable definition.
3837 (Vcharset_latin_iso8859_2): Deleted because it is not used.
3838 (Vcharset_latin_iso8859_3): Likewise.
3839 (Vcharset_latin_iso8859_4): Likewise.
3840 (Vcharset_latin_iso8859_9): Likewise.
3841 (Vcharset_latin_viscii_lower): Likewise.
3842 (Vcharset_latin_viscii_upper): Likewise.
3843 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
3844 `mojikyo' code-point is used to decode.
3845 (encode_char_2): New function [to convert `mojikyo' code-point to
3846 Mojikyo font encoding].
3847 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
3848 (breakup_char_1): Likewise.
3849 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
3851 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3853 * text-coding.c (Fmake_coding_system): Add document about
3854 `disable-composition' property.
3856 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3858 * text-coding.c (Qdisable_composition): New variable; delete
3860 (Fmake_coding_system): Add new property `disable-composite';
3861 delete property `composite'.
3862 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
3863 instead of `!CODING_SYSTEM_COMPOSITE'.
3864 (syms_of_file_coding): Add new symbol `disable-composition';
3865 delete symbol `composite'.
3867 * file-coding.h (struct Lisp_Coding_System): Add
3868 `disable_composition'; delete `enable_composition'.
3869 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3870 `CODING_SYSTEM_COMPOSITE'.
3871 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3872 `XCODING_SYSTEM_COMPOSITE'.
3874 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3876 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3879 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3881 * text-coding.c (Qcomposite): New variable.
3882 (Fmake_coding_system): Add new property `composite'.
3883 (struct decoding_stream): Add `combined_char_count',
3884 `combined_chars' and `combining_table' in UTF-2000.
3885 (COMPOSE_FLUSH_CHARS): New macro.
3886 (COMPOSE_ADD_CHAR): New macro.
3887 (reset_decoding_stream): Reset `str->combined_char_count' and
3888 `str->combining_table' in UTF-2000.
3889 (decode_coding_iso2022): Modify for character-decomposition.
3890 (syms_of_file_coding): Add new symbol `composite'.
3892 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3894 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
3895 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
3896 of `Vcharacter_composition_table' if `->decomposition' property
3898 (Qlatin_tcvn5712): New variable.
3899 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
3900 (complex_vars_of_mule_charset): Add new coded-charset
3903 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
3905 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3907 * file-coding.h (struct Lisp_Coding_System): Add
3908 `enable_composition'.
3909 (CODING_SYSTEM_COMPOSITE): New macro.
3910 (XCODING_SYSTEM_COMPOSITE): New macro.
3912 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
3914 * mule-canna.c (c2mu): Fix problem with UTF-2000.
3916 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
3918 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
3919 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
3921 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
3923 * mule-charset.c (Vcharset_mojikyo): New variable.
3924 (Fdefine_char): Don't use coded-charset which does not have
3925 non-builtin character range to allocate character-id.
3926 (Qmojikyo): New variable.
3927 (syms_of_mule_charset): Add new symbol `mojikyo'.
3928 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
3930 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
3931 (LEADING_BYTE_MOJIKYO): New macro.
3932 (MIN_CHAR_MOJIKYO): New macro.
3933 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
3934 (MAX_CHAR_MOJIKYO): New macro.
3936 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
3938 * mule-charset.c (remove_char_attribute): Fixed.
3940 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
3942 * mule-charset.c (remove_char_attribute): New function.
3943 (Fremove_char_attribute): New function.
3944 (encode_builtin_char_1): Comment out builtin-support for
3945 greek-iso8859-7 and cyrillic-iso8859-5.
3946 (Fdecode_char): Check `code' is an integer.
3947 (syms_of_mule_charset): Add `remove-char-attribute'.
3948 (MIN_CHAR_GREEK): Deleted.
3949 (MAX_CHAR_GREEK): Likewise.
3950 (MIN_CHAR_CYRILLIC): Likewise.
3951 (MAX_CHAR_CYRILLIC): Likewise.
3952 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
3953 MAX_CHAR_GREEK for `greek-iso8859-7'.
3955 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
3956 (MAX_CHAR_GREEK): Likewise.
3957 (MIN_CHAR_CYRILLIC): Likewise.
3958 (MAX_CHAR_CYRILLIC): Likewise.
3960 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
3962 * mule-charset.c (Fdefine_char): Fix problem when new code-point
3963 format is used without `ucs' property.
3964 (Fdecode_char): Fix problem with GR representation.
3965 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
3966 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
3968 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3970 * mule-charset.c (make_builtin_char): New function.
3971 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
3972 (Fset_charset_mapping_table): Modify for new representation of
3974 (Fdecode_char): New function.
3975 (syms_of_mule_charset): Add new builtin function `decode-char' in
3978 * char-ucs.h (make_builtin_char): New prototype.
3979 (DECODE_CHAR): New inline function.
3980 (MAKE_CHAR): Use `DECODE_CHAR'.
3982 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
3984 * text-coding.c (parse_charset_conversion_specs): Use
3985 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
3987 (iso2022_designate): Likewise.
3989 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
3990 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
3992 * mule-charset.c (Vcharset_ucs): New variable.
3993 (print_charset): Change design; use `CHARSET_CHARS' and
3994 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
3995 (make_charset): Change signature to specify `chars' and
3996 `dimension' instead of `type'.
3997 (range_charset_code_point): Modify for 256^n-set.
3998 (encode_builtin_char_1): Encode as `ucs' in default.
3999 (Fmake_charset): Modify for `make_charset'.
4000 (Fmake_reverse_direction_charset): Likewise.
4001 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
4003 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
4006 * char-ucs.h (Vcharset_ucs): New variable.
4007 (LEADING_BYTE_UCS): New macro.
4008 (struct Lisp_Charset): Delete `type'; change type of `dimension'
4009 and `chars' to `unsigned short' from `unsigned int'.
4010 (CHARSET_TYPE): Deleted.
4011 (XCHARSET_TYPE): Deleted.
4013 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
4015 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
4017 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
4018 (ENCODE_CHAR): New macro.
4020 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4022 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4023 to 0.14 (Kawachi-Katakami).
4025 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4027 * text-coding.c (char_encode_shift_jis): Modify for
4028 `charset_code_point'.
4029 (char_encode_iso2022): Likewise.
4031 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
4032 (integer) instead of list of <Lisp_Object>s (integers) as the
4033 format of code-point of a coded-charset.
4034 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4035 (encode_builtin_char_1): New function; delete
4036 `split_builtin_char'.
4037 (charset_code_point): Return <int> instead of <Lisp_Object>.
4038 (Fsplit_char): Don't use `SPLIT_CHAR'.
4040 * char-ucs.h (encode_builtin_char_1): New prototype; delete
4041 prototype for `split_builtin_char'.
4042 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4043 (charset_code_point): Likewise.
4044 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
4045 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
4047 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
4049 * mule-charset.c (complex_vars_of_mule_charset): Don't define
4050 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
4052 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4054 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
4056 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
4057 (MAX_CHAR_OBS_94x94): Deleted.
4059 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4061 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
4063 * char-ucs.h (MAX_CHAR_BMP): New macro.
4065 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4067 * text-coding.c: Sync with r21-2-24.
4069 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4071 * file-coding.c: Modify for UTF-2000.
4073 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4075 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4078 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4080 * mule-charset.c (split_builtin_char): Delete builtin support for
4081 `katakana-jisx0201'.
4082 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
4083 BMP area in builtin representation.
4085 * char-ucs.h (MAKE_CHAR): Delete builtin support for
4086 `Vcharset_katakana_jisx0201'.
4088 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
4090 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
4091 (Qisolated): New variable.
4092 (Qinitial): New variable.
4093 (Qmedial): New variable.
4094 (Qfinal): New variable.
4095 (Qvertical): New variable.
4096 (Qsmall): New variable.
4097 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
4098 `Qvertical' and `Qsmall'.
4099 (Qmojikyo_pj_[1 .. 21]): New variable.
4100 (syms_of_mule_charset): Add new symbols `isolated', `initial',
4101 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
4102 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
4105 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4107 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
4108 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
4109 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
4111 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4113 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
4114 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
4116 (Qjapanese_jisx0208_1990): New variable.
4117 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
4118 (complex_vars_of_mule_charset): Add new coded-charset
4119 `japanese-jisx0208-1990'.
4121 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
4122 (MIN_CHAR_JIS_X0208_1990): New macro.
4123 (MAX_CHAR_JIS_X0208_1990): New macro.
4125 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4127 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
4128 coded-charset is not found.
4130 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4132 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
4133 (Fdefine_char): Use `Fmake_char'.
4135 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4137 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
4138 (Vcharset_hiragana_jisx0208): Deleted.
4139 (Vcharset_katakana_jisx0208): Deleted.
4140 (Qideograph_daikanwa): New variable.
4141 (Qhiragana_jisx0208): Deleted.
4142 (Qkatakana_jisx0208): Deleted.
4143 (split_builtin_char): Split `ideograph-daikanwa'.
4144 (Fsplit_char): New implementation for UTF-2000.
4145 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
4146 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
4147 (complex_vars_of_mule_charset): Add new coded-charset
4148 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
4149 `katakana-jisx0208'.
4151 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
4152 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
4153 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
4154 (MIN_CHAR_DAIKANWA): New macro.
4155 (MAX_CHAR_DAIKANWA): New macro.
4157 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4159 * data.c (Fstring_to_number): Don't recognize floating point if
4162 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4164 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
4166 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4168 * mule-charset.c (Qsquare): New variable.
4169 (to_char_code): Add `Qsquare'.
4170 (syms_of_mule_charset): Add new symbol `square'.
4172 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4174 * mule-charset.c (Qcircle): New variable.
4175 (to_char_code): Add `Qcircle'.
4176 (syms_of_mule_charset): Add new symbol `circle'.
4178 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4180 * mule-charset.c (Qfont): New variable.
4181 (to_char_code): Add `Qfont'.
4182 (syms_of_mule_charset): Add new symbol `font'.
4184 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4186 * mule-charset.c (Qsub): New variable.
4187 (to_char_code): Add `Qsub'.
4188 (syms_of_mule_charset): Add new symbol `sub'.
4190 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4192 * mule-charset.c (Fput_char_attribute): Convert each element of
4193 VALUE to GL position if ATTRIBUTE is a GR-set,
4195 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4197 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
4198 coded-charset is a GR-set.
4200 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4202 * mule-charset.c (Fput_char_attribute): Check each element of
4203 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
4205 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4207 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
4209 (Qethiopic_ucs): New variable in UTF-2000.
4210 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
4211 (complex_vars_of_mule_charset): Add new coded-charset
4212 `ethiopic-ucs' in UTF-2000.
4214 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
4215 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4217 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4219 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
4221 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4223 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
4226 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4228 * mule-charset.c (Vcharacter_variant_table): New variable.
4229 (Q_ucs): New variable.
4230 (Fchar_variants): New function.
4231 (Fput_char_attribute): Register `->ucs' value to
4232 `Vcharacter_variant_table'.
4233 (syms_of_mule_charset): Add new function `char-variants' and new
4235 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
4237 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4239 * mule-charset.c (get_char_code_table): Allow negative character
4241 (put_char_code_table): Likewise.
4242 (Vcharacter_composition_table): New variable.
4243 (Q_decomposition): New variable.
4244 (Qwide): New variable.
4245 (Qnarrow): New variable.
4246 (Qcompat): New variable.
4247 (QnoBreak): New variable.
4248 (Qsuper): New variable.
4249 (Qfraction): New variable.
4250 (to_char_code): New function.
4251 (Fget_composite_char): New function.
4252 (Fput_char_attribute): Register `->decomposition' value to
4253 `Vcharacter_composition_table'.
4254 (syms_of_mule_charset): Add new function `get-composite-char', new
4255 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
4256 `super' and `fraction'.
4257 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
4259 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4261 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
4262 character; copy the return value.
4264 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4266 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
4268 * mule-charset.c (range_charset_code_point): Must use make_int.
4269 (split_builtin_char): New function.
4271 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4273 * mule-charset.c (char_byte_table): Change name from
4274 "char-code-table" to "char-byte-table".
4275 (mark_char_code_table): New function.
4276 (char_code_table_equal): New function.
4277 (char_code_table_hash): New function.
4278 (char_code_table_description): New constant.
4279 (char_code_table): New type.
4280 (make_char_code_table): New function.
4281 (copy_char_code_table): New function.
4282 (get_char_code_table): Modify for `char_code_table' type.
4283 (put_char_code_table): Likewise.
4284 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
4287 * char-ucs.h (char_code_table): New type.
4288 (XCHAR_CODE_TABLE): New macro.
4289 (XSETCHAR_CODE_TABLE): New macro.
4290 (CHAR_CODE_TABLE_P): New macro.
4291 (GC_CHAR_CODE_TABLE_P): New macro.
4292 (struct Lisp_Char_Code_Table): New structure.
4294 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4296 * mule-charset.c (Fmake_charset): Setup byte_offset for
4299 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
4301 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
4304 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4306 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
4309 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4311 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
4312 charset, it is regarded as a charset.
4313 (put_char_attribute): New function in UTF-2000.
4314 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
4315 charset, mapping-table of the charset is modified.
4316 (Fdefine_char): New function in UTF-2000.
4317 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
4318 `Fput_char_attribute'.
4319 (syms_of_mule_charset): Add new function `define-char' and new
4320 symbol `ucs' in UTF-2000.
4321 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
4323 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4325 * mule-charset.c (Fcharset_name): Define `byte_offset' in
4326 non-UTF-2000 configuration.
4328 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4330 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
4331 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
4333 * mule-charset.c (mark_charset): `cs->encoding_table' has been
4335 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
4336 (Fset_charset_mapping_table): Likewise.
4338 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
4339 (CHARSET_ENCODING_TABLE): Delete.
4340 (XCHARSET_ENCODING_TABLE): Delete.
4341 (charset_code_point): New interface.
4343 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4345 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
4346 instead of `charset_get_byte1' and `charset_get_byte2'.
4348 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
4349 (charset_get_byte2): Deleted.
4351 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4353 * char-ucs.h (SPLIT_CHAR): New inline function.
4354 (breakup_char_1): Use `SPLIT_CHAR'.
4356 * mule-charset.c (range_charset_code_point): New function.
4357 (charset_code_point): New function.
4359 * char-ucs.h (range_charset_code_point): New interface.
4360 (breakup_char_1): Use `range_charset_code_point'.
4362 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4364 * mule-charset.c (Fmake_charset): Delete unused local variable
4367 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
4368 (breakup_char_1): Find a charset and code-point in
4369 `Vcharacter_attribute_table'.
4371 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4373 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4376 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4378 * mule-charset.c (Vcharacter_attribute_table): New variable.
4379 (Fchar_attribute_alist): New function.
4380 (Fget_char_attribute): New function.
4381 (Fput_char_attribute): New function.
4382 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
4384 (syms_of_mule_charset): Add new function `char-attribute-alist',
4385 `get-char-attribute' and `put-char-attribute'.
4386 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
4388 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
4390 * mule-charset.c (Fmake_charset): Just use
4391 `get_unallocated_leading_byte'.
4393 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
4394 sets; don't use final-byte based number for private sets.
4396 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4398 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
4401 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4403 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4406 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4408 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
4409 of `CHAR_LEADING_BYTE' in UTF-2000.
4411 * insdel.c (find_charsets_in_bufbyte_string): Use
4412 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4413 (find_charsets_in_emchar_string): Likewise.
4415 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
4416 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4418 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
4419 (CHAR_CHARSET_ID): New macro.
4421 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4423 * chartab.c (get_char_table): Don't use type `Charset_ID' for
4424 charset-id - MIN_LEADING_BYTE.
4425 (put_char_table): Likewise.
4427 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4429 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
4430 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
4431 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
4432 (CHARSET_ID_OFFSET): New macro.
4433 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
4434 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
4435 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
4436 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4438 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4440 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
4441 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
4442 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
4443 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
4444 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
4446 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4448 * mule-charset.c (next_allocated_leading_byte): New variable in
4450 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
4451 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
4452 (get_unallocated_leading_byte): Simply use
4453 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
4454 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
4457 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
4458 (MAX_LEADING_BYTE_PRIVATE): New macro.
4459 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
4460 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
4462 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4464 * mule-charset.c (Fmake_charset): Allocate final-byte based
4465 charset-id for 94-set, 96-set and 94x94-set.
4467 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4469 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
4471 (Fmake_charset): Likewise.
4472 (complex_vars_of_mule_charset): Modify the font registry of
4473 `ucs-bmp' not to match `Ethiopic-Unicode'.
4475 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4477 * mule-charset.c (complex_vars_of_mule_charset): Add font
4478 registory of `ucs-bmp'.
4480 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4482 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
4483 coded-charsets in `default-coded-charset-priority-list' when
4484 breaking up a character.
4486 * mule-charset.c (Vcharset_latin_viscii): New variable.
4487 (Qlatin_viscii): New variable.
4488 (make_charset): Don't use `decoding_table'.
4489 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
4491 (Fset_charset_mapping_table): New implementation.
4492 (syms_of_mule_charset): Add new symbol `latin-viscii'.
4493 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
4494 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
4495 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
4496 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
4497 charset `latin_viscii'.
4499 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
4500 (CHARSET_TYPE_94X94): Change to 1 from 2.
4501 (CHARSET_TYPE_96): Change to 2 from 1.
4502 (CHARSET_TYPE_128): New macro.
4503 (CHARSET_TYPE_128X128): Change to 5 from 4.
4504 (CHARSET_TYPE_256): New macro.
4505 (CHARSET_TYPE_256X256): Change to 7 from 5.
4506 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
4508 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4510 * text-coding.c (char_encode_shift_jis): Refer
4511 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
4512 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
4514 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
4515 (char_byte_table_equal): New function in UTF-2000.
4516 (char_byte_table_hash): New function in UTF-2000.
4517 (char_byte_table_description): New constant in UTF-2000.
4518 (char_byte_table): New type in UTF-2000.
4519 (make_char_byte_table): New function in UTF-2000.
4520 (copy_char_byte_table): New function in UTF-2000.
4521 (make_char_code_table): New macro in UTF-2000.
4522 (get_char_code_table): New function in UTF-2000.
4523 (put_char_code_table): New function in UTF-2000.
4524 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
4525 (charset_description): Add setting in UTF-2000.
4526 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
4527 `CHARSET_TO_BYTE1_TABLE(cs)'.
4528 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
4529 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
4530 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
4531 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
4532 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
4533 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
4534 `CHARSET_TO_BYTE2_TABLE(cs)'.
4536 * char-ucs.h (char_byte_table): New type.
4537 (XCHAR_BYTE_TABLE): New macro.
4538 (XSETCHAR_BYTE_TABLE): New macro.
4539 (CHAR_BYTE_TABLE_P): New macro.
4540 (GC_CHAR_BYTE_TABLE_P): New macro.
4541 (struct Lisp_Char_Byte_Table): New structure.
4542 (get_char_code_table): New interface.
4543 (Emchar_to_byte_table): Deleted.
4544 (get_byte_from_character_table): Deleted.
4545 (struct Lisp_Charset): Add `encoding_table'; delete
4546 `to_byte1_table' and `to_byte2_table'.
4547 (CHARSET_ENCODING_TABLE): New macro.
4548 (CHARSET_TO_BYTE1_TABLE): Deleted.
4549 (CHARSET_TO_BYTE2_TABLE): Deleted.
4550 (XCHARSET_ENCODING_TABLE): New macro.
4551 (XCHARSET_TO_BYTE1_TABLE): Deleted.
4552 (XCHARSET_TO_BYTE2_TABLE): Deleted.
4554 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4556 * mule-charset.c (syms_of_mule_charset): Delete charset alias
4557 `vietnamese-viscii-*'.
4559 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4561 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
4562 (Qvietnamese_viscii_upper): New variable.
4563 (Fdefine_charset_alias): New function.
4564 (syms_of_mule_charset): Add new function `define-charset-alias'.
4565 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
4566 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
4569 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
4571 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
4572 (MAX_CHAR_OBS_94x94): New macro.
4573 (breakup_char_1): Support obsolete XEmacs-UCS private code space
4576 * mule-charset.c (put_byte_from_character_table): Change unit size
4578 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
4580 (Fmake_reverse_direction_charset): Modify dummy argument of
4581 `make_charset' for non-UTF-2000 environment.
4583 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4585 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
4587 * mule-charset.c (destroy_byte_from_character_table): New macro.
4588 (latin_jisx0201_to_ucs): Deleted.
4589 (latin_iso8859_2_to_ucs): Deleted.
4590 (latin_iso8859_3_to_ucs): Deleted.
4591 (latin_iso8859_4_to_ucs): Deleted.
4592 (latin_iso8859_9_to_ucs): Deleted.
4593 (latin_viscii_lower_to_ucs): Deleted.
4594 (latin_viscii_upper_to_ucs): Deleted.
4595 (mark_charset): Mark `cs->decoding_table'.
4596 (Fcharset_mapping_table): Fix DOC-string.
4597 (Fset_charset_mapping_table): New function.
4598 (syms_of_mule_charset): Add nwe function
4599 `set-charset-mapping-table'.
4600 (complex_vars_of_mule_charset): Don't setup and use
4603 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
4605 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
4608 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
4610 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
4611 (Vcharset_katakana_jisx0208): New variable.
4612 (Qhiragana_jisx0208): New variable.
4613 (Qkatakana_jisx0208): New variable.
4614 (make_charset): Add new argument `byte_offset'.
4615 (charset_get_byte1): Modify for new coded-charset definition; use
4616 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4617 `XCHARSET_BYTE_OFFSET'.
4618 (Fmake_charset): Modify for `make_charset'.
4619 (Fmake_reverse_direction_charset): Likewise.
4620 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
4621 `katakana-jisx0208'.
4622 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
4623 `.' in font registry of charset `katakana-jisx0201',
4624 `latin-jisx0201', `vietnamese-viscii-lower' and
4625 `vietnamese-viscii-upper'; modify DOC-string of charset
4626 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
4627 registry of charset `japanese-jisx0208' not to use font for JIS
4628 X0208:1990; add new charset `hiragana-jisx0208' and
4629 `katakana-jisx0208'.
4631 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
4632 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
4633 (struct Lisp_Charset): Add `byte_offset'.
4634 (CHARSET_BYTE_OFFSET): New macro.
4635 (XCHARSET_UCS_MIN): New macro.
4636 (XCHARSET_UCS_MAX): New macro.
4637 (XCHARSET_CODE_OFFSET): New macro.
4638 (XCHARSET_BYTE_OFFSET): New macro.
4639 (MIN_CHAR_HIRAGANA): New macro.
4640 (MAX_CHAR_HIRAGANA): New macro.
4641 (MIN_CHAR_KATAKANA): New macro.
4642 (MAX_CHAR_KATAKANA): New macro.
4643 (MAKE_CHAR): Modify for new coded-charset definition; use
4644 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4645 `XCHARSET_BYTE_OFFSET'.
4647 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4649 * mule-charset.c (CHAR96): Deleted.
4650 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
4652 (latin_iso8859_2_to_ucs): Likewise.
4653 (latin_iso8859_3_to_ucs): Likewise.
4654 (latin_iso8859_4_to_ucs): Likewise.
4655 (latin_iso8859_9_to_ucs): Likewise.
4656 (latin_viscii_lower_to_ucs): Likewise.
4657 (latin_viscii_upper_to_ucs): Likewise.
4658 (latin_tcvn5712_to_ucs): Commented out.
4659 (make_charset): Change type of argument `decoding_table' from
4660 <Emchar*> to <Lisp_Object> [vector of characters].
4661 (Fmake_charset): Modify for `make_charset'.
4662 (Fmake_reverse_direction_charset): Likewise.
4663 (Fcharset_mapping_table): New function in UTF-2000.
4664 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
4666 (complex_vars_of_mule_charset): Modify for type change of
4667 `*_to_ucs'; modify for `make_charset'.
4669 * char-ucs.h (struct Lisp_Charset): Change type of
4670 `decoding_table' from <Emchar*> to <Lisp_Object>.
4671 (MAKE_CHAR): Modify for new specification of `decoding_table'.
4673 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4675 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
4676 error with non-UTF-2000-Mule.
4678 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
4680 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
4682 (Vcharset_chinese_cns11643_4): Likewise.
4683 (Vcharset_chinese_cns11643_5): Likewise.
4684 (Vcharset_chinese_cns11643_6): Likewise.
4685 (Vcharset_chinese_cns11643_7): Likewise.
4686 (Qchinese_cns11643_3): Likewise.
4687 (Qchinese_cns11643_4): Likewise.
4688 (Qchinese_cns11643_5): Likewise.
4689 (Qchinese_cns11643_6): Likewise.
4690 (Qchinese_cns11643_7): Likewise.
4691 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
4692 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4693 and `chinese-cns11643-7' to lisp/mule/chinese.el.
4694 (complex_vars_of_mule_charset): Likewise.
4696 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4698 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
4700 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
4701 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
4703 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4705 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
4707 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
4708 (breakup_char_1): Likewise.
4710 * text-coding.c (char_encode_iso2022): Keep designated charsets if
4711 one of them includes the specified character.
4713 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4715 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
4717 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4719 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
4721 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4723 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
4724 definition for non-UTF-2000 Mule.
4725 (latin_iso8859_3_to_ucs): Likewise.
4726 (latin_iso8859_4_to_ucs): Likewise.
4727 (latin_iso8859_9_to_ucs): Likewise.
4728 (latin_jisx0201_to_ucs): Likewise.
4729 (MIN_CHAR_THAI): Likewise.
4730 (MAX_CHAR_THAI): Likewise.
4731 (MIN_CHAR_GREEK): Likewise.
4732 (MAX_CHAR_GREEK): Likewise.
4733 (MIN_CHAR_HEBREW): Likewise.
4734 (MAX_CHAR_HEBREW): Likewise.
4735 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
4736 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
4737 (MIN_CHAR_CYRILLIC): Likewise.
4738 (MAX_CHAR_CYRILLIC): Likewise.
4740 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4742 * char-ucs.h (breakup_char_1): Use
4743 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
4744 thai-tis620 and katakana-jisx0201 area.
4746 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4748 * char-ucs.h (breakup_char_1): Use
4749 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
4752 * text-coding.c (reset_encoding_stream): Fixed.
4753 (char_encode_ucs4): Delete `& 255'.
4755 * char-ucs.h (breakup_char_1): Use
4756 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
4758 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4760 * file-coding.c (Fmake_coding_system): Don't set up
4761 `codesys->fixed.size'.
4762 (encode_coding_no_conversion): Don't refer
4763 `str->codesys->fixed.size'.
4765 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4767 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
4768 (latin_a_char_to_byte1): Deleted.
4769 (latin_a_char_to_byte2): Deleted.
4771 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4773 * mule-charset.c (make_charset): Add new argument `ucs_min',
4774 `ucs_max' and `code_offset'.
4775 (charset_get_byte1): New implementation [delete specific charset
4776 depended implementations].
4777 (Fmake_charset): Modify for `make_charset'.
4778 (Fmake_reverse_direction_charset): Likewise.
4779 (complex_vars_of_mule_charset): Likewise.
4781 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
4783 (CHARSET_UCS_MIN): New macro.
4784 (CHARSET_UCS_MAX): New macro.
4785 (CHARSET_CODE_OFFSET): New macro.
4786 (MAKE_CHAR): Delete charset depended definitions [except
4789 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4791 * char-ucs.h (breakup_char_1): Use
4792 `Vdefault_coded_charset_priority_list' for C0-Controls,
4793 Basic-Latin, C1-Controls and Latin-1-Supplement area.
4795 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4797 * char-ucs.h (charset_get_byte1): New function.
4798 (XCHARSET_GET_BYTE1): Deleted.
4799 (charset_get_byte2): New function.
4800 (XCHARSET_GET_BYTE2): Deleted.
4801 (Vdefault_coded_charset_priority_list): New external variable.
4802 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
4803 `Vdefault_preferred_coded_charset_list'.
4805 * mule-charset.c (charset_get_byte1): New function.
4806 (charset_get_byte2): New function.
4807 (Vdefault_coded_charset_priority_list): New variable.
4808 (vars_of_mule_charset): Add new variable
4809 `default-coded-charset-priority-list'.
4811 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4813 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
4814 (XCHARSET_GET_BYTE2): New inline function.
4815 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
4816 `XCHARSET_GET_BYTE2'.
4818 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4820 * mule-charset.c (make_charset): Initialize
4821 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
4822 NULL if table is not defined.
4824 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4826 * text-coding.c (char_encode_shift_jis): Use
4827 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
4828 `ucs_to_latin_jisx0201'.
4830 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
4831 (ucs_to_latin_iso8859_2): Deleted.
4832 (ucs_to_latin_iso8859_3): Deleted.
4833 (ucs_to_latin_iso8859_4): Deleted.
4834 (ucs_to_latin_iso8859_9): Deleted.
4835 (ucs_to_latin_viscii_lower): Deleted.
4836 (ucs_to_latin_viscii_upper): Deleted.
4837 (ucs_to_latin_tcvn5712): Deleted.
4838 (make_charset): Add new argument `decoding_table'; set up
4839 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
4840 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
4841 `decoding_table' is defined in UTF-2000.
4842 (Fmake_charset): Modify for `make_charset'.
4843 (Fmake_reverse_direction_charset): Likewise.
4844 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
4845 and `GENERATE_96_SET'.
4847 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
4848 (ucs_to_latin_jisx0201): Deleted.
4849 (latin_iso8859_2_to_ucs): Deleted.
4850 (ucs_to_latin_iso8859_2): Deleted.
4851 (latin_iso8859_3_to_ucs): Deleted.
4852 (ucs_to_latin_iso8859_3): Deleted.
4853 (latin_iso8859_4_to_ucs): Deleted.
4854 (ucs_to_latin_iso8859_4): Deleted.
4855 (latin_iso8859_9_to_ucs): Deleted.
4856 (ucs_to_latin_iso8859_9): Deleted.
4857 (latin_viscii_lower_to_ucs): Deleted.
4858 (ucs_to_latin_viscii_lower): Deleted.
4859 (latin_viscii_upper_to_ucs): Deleted.
4860 (ucs_to_latin_viscii_upper): Deleted.
4861 (struct Lisp_Charset): Renamed `encoding_table' to
4862 `to_byte1_table'; add `to_byte2_table'.
4863 (CHARSET_DECODING_TABLE): New macro.
4864 (CHARSET_TO_BYTE1_TABLE): New macro.
4865 (CHARSET_TO_BYTE2_TABLE): New macro.
4866 (XCHARSET_DECODING_TABLE): New macro.
4867 (XCHARSET_TO_BYTE1_TABLE): New macro.
4868 (XCHARSET_TO_BYTE2_TABLE): New macro.
4869 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
4871 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
4872 don't use `ucs_to_*' tables.
4874 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4876 * text-coding.c (Fmake_coding_system): Don't set up
4877 `codesys->fixed.size'.
4878 (encode_coding_no_conversion): Use `if' instead of `switch'.
4880 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
4882 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4884 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
4885 (Fmake_charset): Modify for `make_charset'.
4886 (Fmake_reverse_direction_charset): Likewise.
4887 (complex_vars_of_mule_charset): Likewise.
4889 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4891 * text-coding.c (char_encode_shift_jis): Use table
4892 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
4894 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4896 * text-coding.c (text_encode_generic): Use `if' instead of
4898 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
4901 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4903 * text-coding.c (encode_coding_sjis): Deleted.
4904 (char_encode_shift_jis): New function.
4905 (char_finish_shift_jis): New function.
4906 (reset_encoding_stream): Set up `encode_char' and `finish' for
4907 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
4908 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
4909 (char_encode_utf8): Treat `eol_type'.
4911 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4913 * file-coding.c (decode_coding_iso2022): Use
4914 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
4916 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4918 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4921 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4923 * char-lb.h (CHAR_COLUMNS): New macro.
4925 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4927 * text-coding.c (char_encode_ucs4): New function.
4928 (char_finish_ucs4): New function.
4929 (encode_coding_ucs4): Deleted.
4930 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
4931 (text_encode_generic): Delete local variable `charset' and `half'.
4932 (ucs_to_mule_table): Deleted.
4933 (mule_to_ucs_table): Deleted.
4934 (Fset_ucs_char): Deleted.
4935 (ucs_to_char): Deleted.
4936 (Fucs_char): Deleted.
4937 (Fset_char_ucs): Deleted.
4938 (Fchar_ucs): Deleted.
4939 (decode_ucs4): Deleted.
4940 (mule_char_to_ucs4): Deleted.
4941 (encode_ucs4): Deleted.
4942 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
4943 (decode_coding_utf8): Likewise.
4944 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
4945 (char_encode_iso2022): Fixed.
4946 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
4947 `Fset_char_ucs' and `Fchar_ucs'.
4948 (complex_vars_of_file_coding): Don't initialize
4949 `ucs_to_mule_table'.
4951 * objects-tty.c (tty_initialize_font_instance): Don't use
4954 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
4957 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
4958 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4960 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
4961 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4962 (emchar_string_displayed_columns): Likewise.
4964 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
4965 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4966 (string_column_at_point): Likewise.
4967 (Fmove_to_column): Likewise.
4969 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
4970 `encoding_table' and `decoding_table'.
4971 (CHARSET_REP_BYTES): Deleted.
4972 (XCHARSET_REP_BYTES): Deleted.
4973 (XCHARSET_COLUMNS): Deleted.
4974 (CHAR_COLUMNS): New macro.
4975 (lookup_composite_char): Deleted unconditionally.
4976 (composite_char_string): Likewise.
4978 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4980 * char-ucs.h (Emchar_to_byte_table): New type.
4981 (get_byte_from_character_table): New function interface.
4982 (Vcharset_latin_jisx0201): New variable.
4983 (latin_jisx0201_to_ucs): New variable.
4984 (ucs_to_latin_jisx0201): New variable.
4985 (Vcharset_latin_iso8859_2): New variable.
4986 (latin_iso8859_2_to_ucs): New variable.
4987 (ucs_to_latin_iso8859_2): New variable.
4988 (Vcharset_latin_iso8859_3): New variable.
4989 (latin_iso8859_3_to_ucs): New variable.
4990 (ucs_to_latin_iso8859_3): New variable.
4991 (Vcharset_latin_iso8859_4): New variable.
4992 (latin_iso8859_4_to_ucs): New variable.
4993 (ucs_to_latin_iso8859_4): New variable.
4994 (Vcharset_latin_iso8859_9): New variable.
4995 (latin_iso8859_9_to_ucs): New variable.
4996 (ucs_to_latin_iso8859_9): New variable.
4997 (Vcharset_latin_viscii_lower): New variable.
4998 (latin_viscii_lower_to_ucs): New variable.
4999 (ucs_to_latin_viscii_lower): New variable.
5000 (Vcharset_latin_viscii_upper): New variable.
5001 (latin_viscii_upper_to_ucs): New variable.
5002 (ucs_to_latin_viscii_upper): New variable.
5003 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
5004 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
5005 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
5006 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
5007 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
5008 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
5009 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
5010 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
5011 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
5012 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
5014 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
5015 (Vcharset_latin_viscii_upper): New variable.
5016 (make_byte_from_character_table): New function.
5017 (put_byte_from_character_table): New function.
5018 (get_byte_from_character_table): New function.
5019 (CHAR96): New macro.
5020 (ucs_to_latin_jisx0201): New variable.
5021 (latin_jisx0201_to_ucs): New variable.
5022 (ucs_to_latin_iso8859_2): New variable.
5023 (latin_iso8859_2_to_ucs): New variable.
5024 (ucs_to_latin_iso8859_3): New variable.
5025 (latin_iso8859_3_to_ucs): New variable.
5026 (ucs_to_latin_iso8859_4): New variable.
5027 (latin_iso8859_4_to_ucs): New variable.
5028 (ucs_to_latin_iso8859_9): New variable.
5029 (latin_iso8859_9_to_ucs): New variable.
5030 (ucs_to_latin_viscii_lower): New variable.
5031 (latin_viscii_lower_to_ucs): New variable.
5032 (ucs_to_latin_viscii_upper): New variable.
5033 (latin_viscii_upper_to_ucs): New variable.
5034 (ucs_to_latin_tcvn5712): New variable.
5035 (latin_tcvn5712_to_ucs): New variable.
5036 (Qlatin_viscii_lower): New variable.
5037 (Qlatin_viscii_upper): New variable.
5038 (syms_of_mule_charset): Set up new symbol
5039 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
5040 (complex_vars_of_mule_charset): Set up new charset
5041 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
5042 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
5043 `ucs_to_<CHARSET>' tables.
5045 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
5047 * text-coding.c: New file.
5049 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
5051 * mule-charset.c (Fmake_char): Fix problem of 256-set.
5053 * char-ucs.h (Vcharset_ucs_bmp): New variable.
5054 (MAKE_CHAR): Modify for `ucs-bmp'.
5055 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
5056 non-MULE characters of BMP.
5058 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
5060 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5063 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
5066 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
5067 - Include character.h for `CHAR_ASCII_P'.
5069 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
5071 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
5072 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
5074 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
5075 (BYTE_C0_P): Likewise.
5076 (BYTE_C1_P): Likewise.
5077 (Lstream_get_emchar_1): Likewise.
5078 (Lstream_fput_emchar): Likewise.
5079 (Lstream_funget_emchar): Likewise.
5080 (copy_internal_to_external): Likewise.
5081 (copy_external_to_internal): Likewise.
5083 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
5084 (BYTE_C0_P): Likewise.
5085 (BYTE_C1_P): Likewise.
5086 (Lstream_get_emchar_1): Likewise.
5087 (Lstream_fput_emchar): Likewise.
5088 (Lstream_funget_emchar): Likewise.
5089 (copy_internal_to_external): Likewise.
5090 (copy_external_to_internal): Likewise.
5092 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
5093 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5095 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
5096 (BYTE_ASCII_P): Moved to mb-1byte.h.
5098 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
5100 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
5102 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
5103 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
5104 (VALID_CHARPTR_P): Moved to mb-*byte.h.
5105 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5106 (VALIDATE_CHARPTR_FORWARD): Likewise.
5107 (simple_charptr_emchar): Moved to mb-multibyte.h.
5108 (simple_set_charptr_emchar): Likewise.
5109 (simple_charptr_copy_char): Likewise.
5110 (non_ascii_charptr_emchar): Likewise.
5111 (non_ascii_set_charptr_emchar): Likewise.
5112 (non_ascii_charptr_copy_char): Likewise.
5113 (charptr_emchar): Moved to mb-*byte.h.
5114 (set_charptr_emchar): Likewise.
5115 (charptr_copy_char): Likewise.
5117 * mb-1byte.h, mb-multibyte.h: New files.
5119 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
5121 * mb-utf-8.h (MULTIBYTE): New macro.
5122 (MAX_EMCHAR_LEN): Moved from buffer.h.
5123 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
5125 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
5127 * mb-lb.h, multibyte.h: New files.
5129 * char-1byte.h (Charset_ID): Moved from buffer.h.
5130 (MIN_LEADING_BYTE): Likewise.
5131 (LEADING_BYTE_ASCII): Likewise.
5132 (NUM_LEADING_BYTES): Likewise.
5133 (CHARSETP): Likewise.
5134 (CHARSET_BY_LEADING_BYTE): Likewise.
5135 (XCHARSET_LEADING_BYTE): Likewise.
5136 (XCHARSET_GRAPHIC): Likewise.
5137 (XCHARSET_COLUMNS): Likewise.
5138 (XCHARSET_DIMENSION): Likewise.
5139 (CHAR_CHARSET): Likewise.
5140 (CHAR_LEADING_BYTE): Likewise.
5141 (BREAKUP_CHAR): Likewise.
5142 (Vcharset_ascii): Likewise.
5144 * buffer.h: Include multibyte.h unconditionally.
5145 (VALID_CHARPTR_P): Moved to multibyte.h.
5146 (ASSERT_VALID_CHARPTR): Likewise.
5147 (REAL_INC_CHARPTR): Likewise.
5148 (REAL_INC_CHARBYTIND): Likewise.
5149 (REAL_DEC_CHARPTR): Likewise.
5150 (INC_CHARPTR): Likewise.
5151 (INC_CHARBYTIND): Likewise.
5152 (DEC_CHARPTR): Likewise.
5153 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5154 (VALIDATE_CHARPTR_FORWARD): Likewise.
5155 (charptr_n_addr): Likewise.
5156 (MAX_EMCHAR_LEN): Moved to mb-*.h.
5157 (simple_charptr_emchar): Moved to multibyte.h.
5158 (simple_set_charptr_emchar): Likewise.
5159 (simple_charptr_copy_char): Likewise.
5160 (non_ascii_charptr_emchar): Likewise.
5161 (non_ascii_set_charptr_emchar): Likewise.
5162 (non_ascii_charptr_copy_char): Likewise.
5163 (charptr_emchar): Likewise.
5164 (set_charptr_emchar): Likewise.
5165 (charptr_copy_char): Likewise.
5166 (charptr_emchar_n): Likewise.
5167 (Charset_ID): Moved to char-1byte.h.
5168 (Vcharset_ascii): Likewise.
5169 (CHAR_CHARSET): Likewise.
5170 (CHAR_LEADING_BYTE): Likewise.
5171 (LEADING_BYTE_ASCII): Likewise.
5172 (NUM_LEADING_BYTES): Likewise.
5173 (MIN_LEADING_BYTE): Likewise.
5174 (CHARSETP): Likewise.
5175 (CHARSET_BY_LEADING_BYTE): Likewise.
5176 (XCHARSET_LEADING_BYTE): Likewise.
5177 (XCHARSET_GRAPHIC): Likewise.
5178 (XCHARSET_COLUMNS): Likewise.
5179 (XCHARSET_DIMENSION): Likewise.
5180 (BREAKUP_CHAR): Likewise.
5182 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5184 * character.h: Add document about interface for characters.
5186 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
5187 (MAKE_CHAR): Delete comment about
5188 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
5189 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
5190 (BREAKUP_CHAR): Modify name of arguments.
5191 (CHAR_CHARSET): Modify name of argument.
5193 * buffer.h: Delete document about Emchar accessors.
5195 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5197 * character.h (CHAR_INTP): Moved from buffer.h
5198 (CHAR_OR_CHAR_INTP): Likewise.
5199 (XCHAR_OR_CHAR_INT): Likewise.
5200 (CHECK_CHAR_COERCE_INT): Likewise.
5202 * buffer.h (CHAR_INTP): Moved to character.h
5203 (CHAR_OR_CHAR_INTP): Likewise.
5204 (XCHAR_OR_CHAR_INT): Likewise.
5205 (CHECK_CHAR_COERCE_INT): Likewise.
5207 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5210 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
5211 - Include char-1byte.h, char-lb.h or char-ucs.h.
5213 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
5215 * buffer.h: Include character unconditionally.
5216 (valid_char_p): Moved to char-*.h.
5217 (non_ascii_valid_char_p): Moved to char-lb.h.
5219 * char-1byte.h, char-lb.h, char-ucs.h: New files.
5221 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5223 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
5224 in UTF-2000 because it is not ported yet and not to use
5225 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
5226 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
5227 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
5229 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
5230 (CHAR_ASCII_P): Moved from character.h.
5232 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
5233 (CHAR_ASCII_P): Likewise.
5234 (CHAR_FIELD1_MASK): Deleted.
5235 (CHAR_FIELD2_MASK): Deleted.
5236 (CHAR_FIELD3_MASK): Deleted.
5237 (MAX_CHAR_BASIC_LATIN): New macro.
5238 (CHAR_FIELD1): Deleted.
5239 (CHAR_FIELD2_INTERNAL): Deleted.
5240 (CHAR_FIELD3_INTERNAL): Deleted.
5241 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
5242 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
5243 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
5244 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
5245 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
5246 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
5247 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
5248 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
5249 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
5250 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
5251 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
5252 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
5253 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
5254 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
5255 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
5256 (MIN_CHAR_COMPOSITION): Deleted.
5257 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
5258 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
5260 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
5262 * buffer.h: Include mb-utf-8.h in UTF-2000.
5264 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
5266 * mb-utf-8.h: New file.
5268 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
5270 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
5273 * mule-charset.h, buffer.h (Charset_ID): New type.
5275 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5277 * mule-canna.c (c2mu): Use `MAKE_CHAR',
5278 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
5279 instead of `MULE_CHAR_PRIVATE_OFFSET',
5280 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
5281 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
5282 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
5284 * character.h (Vcharset_japanese_jisx0212): New variable
5287 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5289 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
5290 (charset_by_attributes): Delete array about direction.
5291 (latin_a_char_to_charset): New variable in UTF-2000.
5292 (latin_a_char_to_byte1): New variable in UTF-2000.
5293 (latin_a_char_to_byte2): New variable in UTF-2000.
5294 (Qucs_bmp): New variable.
5295 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
5297 (next_allocated_2_byte_leading_byte): Likewise.
5298 (non_ascii_set_charptr_emchar): Likewise.
5299 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
5300 `CHARSET_TYPE_256X256' in UTF-2000; modify for
5301 `charset_by_attributes'.
5302 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
5303 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
5304 and `CHARSET_BY_LEADING_BYTE'.
5305 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
5306 `utf-2000-version' to `vars_of_mule_charset'.
5307 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
5308 define `leading-code-private-11' in UTF-2000; move setting of
5309 `utf-2000-version' from `syms_of_mule_charset'.
5310 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
5313 * character.h (Charset_ID): New type.
5314 (LEADING_BYTE_UCS_BMP): New macro.
5315 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
5316 (CHARSET_ID_OFFSET_94): New macro.
5317 (MIN_CHARSET_ID_PRIVATE_94): New macro.
5318 (MAX_CHARSET_ID_PRIVATE_94): New macro.
5319 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
5321 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
5322 (LEADING_BYTE_LATIN_JISX0201): Likewise.
5323 (CHARSET_ID_OFFSET_96): New macro.
5324 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
5325 CHARSET_ID_OFFSET_96 and final-byte.
5326 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
5327 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
5328 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
5329 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
5330 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
5331 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
5332 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
5333 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
5334 (LEADING_BYTE_THAI_TIS620): Likewise.
5335 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
5336 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
5337 (CHARSET_ID_OFFSET_94x94): New macro.
5338 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
5339 CHARSET_ID_OFFSET_94x94 and final-byte.
5340 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
5341 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
5342 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
5343 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
5344 (LEADING_BYTE_CHINESE_GB2312): Likewise.
5345 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
5346 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
5347 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
5348 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
5349 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
5350 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
5351 (CHARSET_TYPE_128X128): New macro.
5352 (CHARSET_TYPE_256X256): New macro.
5353 (XCHARSET_PRIVATE_P): Delete unconditionally.
5354 (charset_by_attributes): Delete array about direction.
5355 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
5356 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
5357 (MIN_CHAR_94): New macro.
5358 (MAX_CHAR_94): New macro.
5359 (MIN_CHAR_96): New macro.
5360 (MAX_CHAR_96): New macro.
5361 (MIN_CHAR_94x94): New macro.
5362 (MAX_CHAR_94x94): New macro.
5363 (MIN_CHAR_96x96): New macro.
5364 (MAX_CHAR_96x96): New macro.
5365 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
5366 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5367 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
5369 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
5370 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
5371 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
5372 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
5373 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
5374 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
5375 `XCHARSET_LEADING_BYTE' to make code-point.
5376 (latin_a_char_to_charset): New variable.
5377 (latin_a_char_to_byte1): New variable.
5378 (latin_a_char_to_byte2): New variable.
5379 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
5380 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
5381 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
5383 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
5384 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
5385 (find_charsets_in_emchar_string): Likewise.
5386 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
5388 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
5390 (decode_coding_iso2022): Likewise.
5392 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
5395 * redisplay.c (redisplay_text_width_emchar_string): Use
5396 `Charset_ID' instead of `unsigned char'.
5397 (redisplay_frame_text_width_string): Likewise.
5399 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
5402 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
5403 instead of `unsigned char'.
5404 (face_cachel_charset_font_metric_info): Likewise.
5406 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
5407 (get_non_ascii_char_table_value): Likewise.
5408 (get_char_table): Likewise.
5409 (put_char_table): Likewise.
5410 (map_over_other_charset): Likewise.
5411 (map_char_table): Likewise.
5413 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
5414 instead of `unsigned char'.
5416 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
5418 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
5419 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
5421 * mule-charset.c (leading_code_private_11): Don't define in
5424 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
5425 in UTF-2000 because it is not ported yet and not to use
5426 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
5428 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
5430 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
5432 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5434 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
5437 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
5438 of unsigned char to store leading-byte.
5440 * chartab.c (get_non_ascii_char_table_value): Don't use
5441 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
5443 * file-coding.c (encode_coding_big5): Delete bogus implementation
5446 * character.h (LEADING_BYTE_*): Delete definition for
5448 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
5449 (LEADING_BYTE_PREFIX_P): Deleted.
5450 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
5451 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
5452 (BUFBYTE_LEADING_BYTE_P): Deleted.
5453 (CHARSET_PRIVATE_P): Deleted unconditionally.
5454 (rep_bytes_by_first_byte): Deleted unconditionally.
5455 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
5456 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
5457 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5458 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
5459 (CHAR_FIELD2): Deleted.
5460 (CHAR_FIELD3): Deleted.
5461 (MAKE_CHAR): Delete definition for non-UTF-2000.
5462 (BREAKUP_CHAR_1_UNSAFE): Deleted.
5463 (breakup_char_1): New implementation.
5464 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
5465 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
5467 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5469 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
5472 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5474 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
5475 (CHARSET_PRIVATE_P): Likewise.
5476 (XCHARSET_PRIVATE_P): Likewise.
5477 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
5479 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
5481 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
5483 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5485 * character.h (LEADING_BYTE_*): Changed in UTF2000.
5486 (NUM_LEADING_BYTES): Changed from 128 to 256.
5487 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5488 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
5490 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5492 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
5494 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
5495 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
5496 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
5497 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
5498 (Qchinese_cns11643_3): New variable in UTF2000.
5499 (Qchinese_cns11643_4): New variable in UTF2000.
5500 (Qchinese_cns11643_5): New variable in UTF2000.
5501 (Qchinese_cns11643_6): New variable in UTF2000.
5502 (Qchinese_cns11643_7): New variable in UTF2000.
5503 (syms_of_mule_charset): Define `chinese-cns11643-3',
5504 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
5505 and `chinese-cns11643-7' in UTF2000.
5506 (vars_of_mule_charset): Initialize
5507 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
5509 (complex_vars_of_mule_charset): Setup charset
5510 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
5511 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
5513 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5515 * mule-charset.c: Move setting for `leading-code-private-11' from
5516 `syms_of_mule_charset' to `vars_of_mule_charset'.
5518 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5520 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
5521 and `NUM_LEADING_BYTES' in assert.
5523 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5525 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
5527 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
5528 `NUM_LEADING_BYTES' instead of 128.
5530 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
5532 * mule-charset.h (charset_by_leading_byte): Use
5533 `NUM_LEADING_BYTES' instead of 128.
5534 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
5536 * mule-charset.c (charset_by_leading_byte): Use
5537 `NUM_LEADING_BYTES' instead of 128.
5538 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
5540 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
5543 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
5545 * mule-charset.c (syms_of_mule_charset): Update to
5548 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
5550 * file-coding.c (encode_coding_sjis): New implementation for
5551 UTF2000. (decode_coding_sjis): Ditto.
5553 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5555 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
5556 Don't define in UTF2000.
5558 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
5561 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5562 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
5565 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5567 * config.h.in (CHAR_IS_UCS4): New macro.
5569 * mule-charset.c (rep_bytes_by_first_byte): Modify for
5570 conventional MULE representation.
5571 (syms_of_mule_charset): Update to 0.3 (Imamiya).
5573 * mule-charset.h: Reverted to original.
5575 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5576 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
5577 "mule-charset.h" if CHAR_IS_UCS4 is defined.
5579 * character.h: New file.
5581 * file-coding.c (Fmake_coding_system): Set 1 to
5582 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
5584 (encode_coding_no_conversion): New implementation for UTF2000.
5586 * file-coding.h (struct Lisp_Coding_System): Add new member
5589 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
5591 * file-coding.c (decode_coding_iso2022): Code-point arguments of
5592 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
5593 (encode_coding_iso2022): New implementation for UTF2000.
5595 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5597 * mule-canna.c (c2mu): New implementation for UTF2000.
5600 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5602 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
5604 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5606 * file-coding.c (reset_encoding_stream): Set 0 to
5607 `str->iso2022.current_char_boundary' in UTF2000.
5608 (encode_utf8): Don't define in UTF2000.
5609 (encode_coding_utf8): New implementation for UTF-8 representation
5611 (complex_vars_of_file_coding): Define coding-system `utf-8'.
5613 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5615 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
5617 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
5619 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5621 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
5623 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
5624 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
5625 as UTF-8 in UTF2000.
5626 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
5627 (non_ascii_valid_char_p): Don't define in UTF2000.
5628 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
5629 (Lstream_get_emchar_1): Likewise.
5630 (utf-2000-version): New variable in UTF2000.
5632 * lread.c (read_escape): Add new reader `u'.
5634 * insdel.c (three_to_one_table): Don't define in UTF2000.
5635 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
5636 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5638 (bytind_to_bufpos_func): Likewise.
5639 (buffer_mule_signal_inserted_region): Likewise.
5640 (vars_of_insdel): Don't initialize `three_to_one_table'.
5641 (init_buffer_text): Use `buf->text->mule_size' instead of
5642 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5645 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
5646 UTF-8 representation in UTF2000.
5647 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
5648 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
5649 (decode_coding_iso2022): Don't define local variable `lb' in
5650 UTF2000; don't use LEADING_BYTE in UTF2000; use
5651 `DECODE_ADD_UCS_CHAR' in UTF2000.
5652 (convert_to_external_format): Decode as UTF-8 in UTF2000.
5654 * config.h.in (UTF2000): New macro.
5656 * buffer.h (struct buffer_text): Add new member `mule_size' and
5657 don't add `mule_shifter' and `mule_three_p' in UTF2000.
5658 (valid_char_p): Return always 1 in UTF2000.
5659 (MAX_EMCHAR_LEN): 6 in UTF2000.
5660 (three_to_one_table): Don't define in UTF2000.
5661 (real_bufpos_to_bytind): Modify for UTF-8 representation in
5663 (real_bytind_to_bufpos): Likewise.
5665 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
5667 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5669 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
5670 representation change.
5671 (Vutf_2000_version): New variable.
5672 (leading_code_private_11): New variable.
5673 (syms_of_mule_charset): Add new variables `utf-2000-version' and
5674 `leading-code-private-11'.
5676 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
5677 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
5678 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
5679 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
5680 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
5681 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
5682 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
5683 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
5684 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
5685 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
5686 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
5687 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
5688 (MIN_CHAR_GREEK): New macro.
5689 (MAX_CHAR_GREEK): New macro.
5690 (MIN_CHAR_CYRILLIC): New macro.
5691 (MAX_CHAR_CYRILLIC): New macro.
5692 (MIN_CHAR_HEBREW): New macro.
5693 (MAX_CHAR_HEBREW): New macro.
5694 (MIN_CHAR_THAI): New macro.
5695 (MAX_CHAR_THAI): New macro.
5696 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
5697 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
5698 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
5699 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
5700 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
5701 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
5702 (CHAR_FIELD2): New inline function.
5703 (CHAR_FIELD3): New inline function.
5704 (MULE_CHAR_PRIVATE_OFFSET): New macro.
5705 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
5706 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
5707 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
5708 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
5709 (MIN_CHAR_COMPOSITION): Likewise.
5710 (CHAR_LEADING_BYTE): Modified for character representation change.
5711 (MAKE_CHAR): Likewise.
5713 * lisp.h (Vcharset_latin_iso8859_1): New variable.
5714 (Vcharset_greek_iso8859_7): Likewise.
5715 (Vcharset_cyrillic_iso8859_5): Likewise.
5716 (Vcharset_hebrew_iso8859_8): Likewise.
5717 (Vcharset_thai_tis620): Likewise.
5718 (Vcharset_katakana_jisx0201): Likewise.
5720 2005-02-06 Vin Shelton <acs@xemacs.org>
5722 * XEmacs 21.4.17 is released
5724 2005-01-31 Ben Wing <ben@xemacs.org>
5727 Define assert_failed() always.
5729 Always define ABORT().
5731 2005-01-25 Ben Wing <ben@xemacs.org>
5734 * Makefile.in.in (%.o):
5735 Don't compile executable as Windows (-mwindows) under Cygwin.
5736 Semi-recent changes to Cygwin's executable-startup handling make
5737 it impossible to access the TTY this way.
5739 Don't use special linker file under Cygwin (cygwin.sc) except
5740 when non-PDUMP (even in this case it is highly questionable); you
5743 1 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening input console handle after exec, errno 13, Win32 error 5
5744 5820 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening output console handle after exec, errno 13, Win32 error 5
5746 2005-01-29 Ben Wing <ben@xemacs.org>
5748 Port this: 2003-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5750 * mule-charset.c (get_unallocated_leading_byte): Compiler quietus.
5752 2005-01-29 Ben Wing <ben@xemacs.org>
5754 * bytecode.c (optimize_compiled_function):
5756 * print.c (long_to_string):
5757 Add casts to avoid warning.
5760 Some really nasty hacks to allow TIFF and JPEG to both be compiled.
5761 #### The better solution is to move the TIFF and JPEG code to
5764 * glyphs-msw.c (mswindows_xbm_instantiate):
5765 Define __STDC__ to avoid problems with compface.h.
5767 * EmacsFrame.c (EmacsFrameRecomputeCellSize):
5769 * EmacsShell-sub.c (ABORT):
5770 * EmacsShell-sub.c (SuperClassRootGeometryManager):
5771 * EmacsShell-sub.c (RootGeometryManager):
5773 * EmacsShell.c (ABORT):
5774 * EmacsShell.c (EmacsShellUpdateSizeHints):
5775 * alloc.c (free_lcrecord):
5776 * alloca.c (i00afunc):
5777 * buffer.c (delete_from_buffer_alist):
5778 * buffer.c (MARKED_SLOT):
5779 * bytecode.c (execute_rare_opcode):
5780 * bytecode.c (optimize_byte_code):
5781 * bytecode.c (Ffetch_bytecode):
5782 * chartab.c (char_table_type_to_symbol):
5783 * chartab.c (Freset_char_table):
5784 * chartab.c (decode_char_table_range):
5785 * chartab.c (Fget_range_char_table):
5786 * chartab.c (check_valid_char_table_value):
5787 * chartab.c (map_char_table):
5788 * chartab.c (slow_map_char_table_fun):
5789 * chartab.c (chartab_instantiate):
5790 * cm.c (cmcheckmagic):
5791 * console-msw.c (DHEADER):
5792 * console.c (MARKED_SLOT):
5793 * data.c (finish_marking_weak_lists):
5794 * data.c (encode_weak_list_type):
5795 * debug.h (DASSERT):
5796 * device-gtk.c (gtk_init_device):
5797 * device-msw.c (mswindows_get_default_margin):
5798 * device-tty.c (tty_init_device):
5799 * device-x.c (get_device_from_display):
5800 * device-x.c (x_get_visual_depth):
5801 * doprnt.c (parse_doprnt_spec):
5802 * doprnt.c (get_doprnt_args):
5803 * dumper.c (pdump_get_indirect_count):
5804 * dumper.c (pdump_register_sub):
5805 * dumper.c (pdump_register_object):
5806 * dumper.c (pdump_register_struct):
5807 * dumper.c (pdump_dump_data):
5808 * dumper.c (pdump_reloc_one):
5809 * elhash.c (print_hash_table):
5810 * elhash.c (make_standard_lisp_hash_table):
5811 * elhash.c (hash_table_instantiate):
5813 * emacs.c (Fforce_debugging_signal):
5814 * emacs.c (sort_args):
5816 * emacs.c (assert_failed):
5817 * eval.c (throw_or_bomb_out):
5818 * eval.c (signal_1):
5821 * event-Xt.c (emacs_Xt_mapping_action):
5822 * event-Xt.c (Xt_process_to_emacs_event):
5824 * event-stream.c (check_event_stream_ok):
5825 * event-stream.c (Fadd_timeout):
5826 * event-stream.c (Fadd_async_timeout):
5827 * event-stream.c (Fdiscard_input):
5828 * event-stream.c (execute_internal_event):
5829 * event-stream.c (Frecent_keys):
5830 * event-stream.c (extract_this_command_keys_nth_mouse_event):
5831 * event-stream.c (lookup_command_event):
5832 * event-unixoid.c (poll_fds_for_input):
5834 * events.c (mark_event):
5835 * events.c (event_equal):
5836 * events.c (event_hash):
5837 * events.c (Fmake_event):
5838 * events.c (Fdeallocate_event):
5839 * events.c (event_chain_find_previous):
5840 * events.c (event_to_character):
5841 * events.c (format_event_object):
5842 * events.c (Fevent_type):
5843 * events.c (event_pixel_translation):
5844 * events.c (Fevent_properties):
5845 * extents.c (extent_in_region_p):
5846 * extents.c (print_extent):
5847 * extents.c (process_extents_for_insertion_mapper):
5848 * extents.c (report_extent_modification_mapper):
5849 * extents.c (glyph_layout_to_symbol):
5850 * faces.c (face_validate):
5851 * file-coding.c (eol_type_to_symbol):
5852 * file-coding.c (subsidiary_coding_system):
5853 * file-coding.c (Fcoding_system_type):
5854 * file-coding.c (Fcoding_system_property):
5855 * file-coding.c (mule_decode):
5856 * file-coding.c (mule_encode):
5857 * file-coding.c (encode_coding_ucs4):
5858 * file-coding.c (encode_coding_utf8):
5859 * file-coding.c (parse_iso2022_esc):
5860 * file-coding.c (encode_coding_iso2022):
5865 * fns.c (Fbase64_encode_region):
5866 * fns.c (Fbase64_encode_string):
5867 * fns.c (Fbase64_decode_region):
5868 * fns.c (Fbase64_decode_string):
5869 * font-lock.c (find_context):
5870 * font-lock.c (context_to_symbol):
5871 * frame-gtk.c (gtk_set_frame_pointer):
5872 * frame-gtk.c (gtk_update_frame_external_traits):
5873 * frame-x.c (x_wm_mark_shell_size_user_specified):
5874 * frame-x.c (x_wm_mark_shell_position_user_specified):
5875 * frame-x.c (x_wm_set_shell_iconic_p):
5876 * frame-x.c (x_wm_set_cell_size):
5877 * frame-x.c (x_wm_set_variable_size):
5878 * frame-x.c (x_wm_store_class_hints):
5879 * frame-x.c (x_wm_maybe_store_wm_command):
5880 * frame-x.c (x_initialize_frame_size):
5881 * frame-x.c (x_update_frame_external_traits):
5883 * frame.c (delete_frame_internal):
5884 * frame.c (mouse_pixel_position_1):
5885 * frame.c (change_frame_size_1):
5886 * free-hook.c (check_free):
5887 * free-hook.c (check_realloc):
5888 * free-hook.c (note_block_input):
5889 * free-hook.c (log_gcpro):
5890 * gccache-gtk.c (gc_cache_lookup):
5891 * glyphs-eimage.c (tiff_memory_write):
5892 * glyphs-gtk.c (gtk_finalize_image_instance):
5893 * glyphs-gtk.c (init_image_instance_from_gdk_pixmap):
5894 * glyphs-gtk.c (init_image_instance_from_xbm_inline):
5895 * glyphs-gtk.c (gtk_xpm_instantiate):
5896 * glyphs-gtk.c (gtk_unmap_subwindow):
5897 * glyphs-gtk.c (gtk_map_subwindow):
5898 * glyphs-gtk.c (gtk_button_redisplay):
5900 * glyphs-msw.c (init_image_instance_from_xbm_inline):
5901 * glyphs-x.c (init_image_instance_from_xbm_inline):
5902 * glyphs-x.c (extract_xpm_color_names):
5903 * glyphs-x.c (x_xpm_instantiate):
5904 * glyphs.c (get_image_instantiator_governing_domain):
5905 * glyphs.c (print_image_instance):
5906 * glyphs.c (image_instance_equal):
5907 * glyphs.c (image_instance_hash):
5908 * glyphs.c (encode_image_instance_type):
5909 * glyphs.c (make_image_instance_1):
5910 * glyphs.c (inherit_instantiate):
5911 * glyphs.c (image_instantiate):
5912 * glyphs.c (allocate_glyph):
5913 * glyphs.c (Fglyph_type):
5914 * glyphs.c (redisplay_subwindow):
5915 * glyphs.c (display_table_entry):
5916 * gtk-glue.c (xemacs_list_to_gtklist):
5917 * gtk-glue.c (xemacs_gtklist_to_list):
5918 * gtk-glue.c (xemacs_list_to_array):
5919 * gutter.c (SET_GUTTER_WAS_VISIBLE_FLAG):
5920 * gutter.c (gutter_was_visible):
5921 * gutter.c (get_gutter_coords):
5922 * input-method-xlib.c (get_XIM_input):
5923 * insdel.c (bufpos_to_bytind_func):
5924 * insdel.c (bytind_to_bufpos_func):
5925 * insdel.c (move_gap):
5926 * intl.c (x_get_composed_input):
5927 * keymap.c (keymap_lookup_directly):
5928 * keymap.c (keymap_delete_inverse_internal):
5929 * keymap.c (ensure_meta_prefix_char_keymapp):
5930 * keymap.c (accessible_keymaps_mapper_1):
5931 * keymap.c (where_is_recursive_mapper):
5934 * lread.c (read_atom):
5935 * lstream.c (Lstream_delete):
5936 * lstream.c (make_lisp_buffer_stream_1):
5937 * macros.c (pop_kbd_macro_event):
5938 * malloc.c (malloc):
5940 * marker.c (bi_marker_position):
5941 * marker.c (set_bi_marker_position):
5942 * menubar-gtk.c (menu_descriptor_to_widget_1):
5943 * menubar-msw.c (prune_menubar):
5944 * menubar-x.c (set_frame_menubar):
5945 * mule-charset.c (get_unallocated_leading_byte):
5946 * mule-charset.h (CHAR_LEADING_BYTE):
5947 * native-gtk-toolbar.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
5948 * nt.c (init_environment):
5949 * nt.c (generate_inode_val):
5950 * ntproc.c (delete_child):
5951 * ntproc.c (_sys_read_ahead):
5952 * ntproc.c (create_child):
5953 * objects.c (color_instantiate):
5954 * objects.c (font_instantiate):
5955 * objects.c (face_boolean_instantiate):
5956 * print.c (printing_major_badness):
5957 * process-nt.c (nt_send_process):
5958 * process-unix.c (unix_send_process):
5959 * process.c (get_process):
5960 * ralloc.c (obtain):
5961 * ralloc.c (relinquish):
5962 * ralloc.c (relocate_blocs):
5963 * ralloc.c (resize_bloc):
5964 * ralloc.c (r_alloc_free):
5965 * ralloc.c (r_re_alloc):
5966 * ralloc.c (r_alloc_thaw):
5967 * ralloc.c (init_ralloc):
5968 * ralloc.c (Free_Addr_Block):
5969 * ralloc.c (r_alloc):
5970 * redisplay-gtk.c (gtk_output_display_block):
5971 * redisplay-msw.c (mswindows_output_display_block):
5972 * redisplay-output.c (get_next_display_block):
5973 * redisplay-output.c (get_cursor_size_and_location):
5974 * redisplay-output.c (redisplay_output_layout):
5975 * redisplay-output.c (redisplay_clear_region):
5976 * redisplay-tty.c (tty_output_display_block):
5977 * redisplay-x.c (x_output_display_block):
5978 * redisplay.c (add_propagation_runes):
5979 * redisplay.c (add_glyph_rune):
5980 * redisplay.c (create_text_block):
5981 * redisplay.c (add_margin_runes):
5982 * redisplay.c (create_left_glyph_block):
5983 * redisplay.c (create_right_glyph_block):
5984 * redisplay.c (create_string_text_block):
5985 * redisplay.c (regenerate_window):
5986 * redisplay.c (REGEN_INC_FIND_START_END):
5987 * redisplay.c (redisplay_frame):
5988 * redisplay.c (point_in_line_start_cache):
5991 * regex.c (re_compile_fastmap):
5992 * regex.c (re_match_2_internal):
5993 * regex.c (regerror):
5994 * scrollbar-gtk.c (gtk_scrollbar_loop):
5995 * scrollbar-gtk.c (scrollbar_cb):
5996 * scrollbar-gtk.c (gtk_update_frame_scrollbars):
5997 * scrollbar-msw.c (mswindows_handle_scrollbar_event):
5998 * scrollbar-x.c (x_update_scrollbar_instance_status):
5999 * scrollbar-x.c (x_scrollbar_loop):
6000 * scrollbar-x.c (x_update_frame_scrollbars):
6001 * search.c (search_command):
6002 * search.c (Fmatch_data):
6003 * select-x.c (motif_clipboard_cb):
6004 * signal.c (interrupt_signal):
6005 * specifier.c (specifier_add_spec):
6006 * specifier.c (specifier_instance_from_inst_list):
6007 * specifier.c (specifier_instance):
6009 * specifier.h (struct specifier_methods):
6010 * strftime.c (add_num_time_t):
6011 * sunplay.c (init_device):
6012 * symbols.c (Fsetplist):
6013 * symbols.c (do_symval_forwarding):
6014 * symbols.c (store_symval_forwarding):
6016 * symbols.c (Fbuilt_in_variable_type):
6017 * symbols.c (decode_magic_handler_type):
6018 * symbols.c (handler_type_from_function_symbol):
6019 * syntax.c (update_syntax_cache):
6020 * sysdep.c (init_baud_rate):
6021 * toolbar-gtk.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6022 * toolbar-msw.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6023 * toolbar-x.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6024 * toolbar.c (get_toolbar_coords):
6025 * ui-gtk.c (build_gtk_boxed):
6026 * ui-gtk.c (describe_gtk_arg):
6027 * ui-gtk.c (gtk_type_to_lisp):
6028 * ui-gtk.c (lisp_to_gtk_type):
6029 * ui-gtk.c (lisp_to_gtk_ret_type):
6030 * ui-gtk.c (lisp_to_flag):
6031 * unexnt.c (read_in_bss):
6032 * unexnt.c (map_in_heap):
6033 * window.c (real_window):
6034 * window.c (window_display_lines):
6035 * window.c (window_display_buffer):
6036 * window.c (set_window_display_buffer):
6037 * window.c (window_modeline_height):
6038 * window.c (unshow_buffer):
6039 * window.c (window_loop):
6040 * window.c (Fget_lru_window):
6041 * window.c (Fsplit_window):
6042 * window.c (Fset_window_configuration):
6043 * window.c (saved_window_index):
6044 * xgccache.c (gc_cache_lookup):
6045 abort() -> ABORT(). Eliminate preprocessor games with abort()
6046 since it creates huge problems in VC7, solvable only by including
6047 massive amounts of files in every compile (and not worth it).
6051 Inclusion of process.h does not need to be before lisp.h any more.
6052 Move later and remove comment about abort().
6054 2005-01-26 Arnaud Giersch <arnaud.giersch@free.fr>
6056 * regex.c (re_match_2_internal):
6057 Correctly initialize loop which clears uninitialized registers.
6059 2005-01-28 Vin Shelton <acs@xemacs.org>
6061 * sheap.c (more_static_core): Applied Ben's version of the long
6064 2005-01-24 Vin Shelton <acs@xemacs.org>
6066 * sheap.c (more_static_core): Reformatted printf string so
6067 gcc-3.3.3 will compile this on Cygwin.
6069 2004-02-22 Stephen J. Turnbull <stephen@xemacs.org>
6071 * console.c (function_key_map): Reference `key-binding'.
6073 * keymap.c (Vkey_translation_map): Improve docstring.
6075 2004-03-30 Zajcev Evgeny <zevlg@yandex.ru>
6077 * window.c: Declare `allow_deletion_of_last_visible_frame' extern.
6078 * window.c (window_loop): [fix] Take into account
6079 `allow-deletion-of-last-visible-frame' variable.
6080 * window.c (replace-buffer-in-windows): Ditto.
6082 2004-12-15 Stephen J. Turnbull <stephen@xemacs.org>
6084 * EmacsManager.c (EmacsManagerChangeSize): Respect XtGeometryNo.
6086 2005-01-20 Malcolm Purvis <malcolmp@xemacs.org>
6088 * event-gtk.c: Recognise AltGr as a valid modifier.
6090 2005-01-12 Ville Skyttä <scop@xemacs.org>
6092 * console-x.h: #include X11/keysym.h before xintrinsic.h.
6094 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6096 Fix backreference bug caught by test suite.
6098 * regex.c (regex_compile):
6099 Make backref duplicate internal register.
6101 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6103 Documentation, code clarification, and warning suppression.
6105 * regex.c (regex_compile):
6107 (re_match_2_internal):
6108 Improve comments and avoid redundant braces. [Most of the big hunk
6109 at l. 4710 is indentation; use diff -w to see the real changes.]
6110 (alt_match_null_string_p):
6111 (common_op_match_null_string_p):
6112 Avoid shadowing global on Mac OS X 10.4, at least.
6114 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6116 * regex.c (regcomp): Fix "unsigned comparison" warning (maybe
6117 introduced with shy groups fix). [Already applied, probably
6118 with the second "fix shy groups" patch of 2004-10-07.]
6120 2005-01-10 Steve Youngs <steve@sxemacs.org>
6122 From Andrey Slusar <anrays@gmail.com>:
6124 * unexelf.c: define `Elfw(type)' for FreeBSD alpha and amd64.
6126 2004-11-21 Malcolm Purvis <malcolmp@xemacs.org>
6128 * Makefile (RECURSIVE_MAKE): Removed.
6129 * Makefile (RECURSIVE_MAKE_ARGS): New. The new method for
6130 handling parallel builds.
6132 2004-09-08 Malcolm Purvis <malcolmp@xemacs.org>
6134 * Makefile.in.in: Enable support for parallel builds.
6136 2005-01-09 Steve Youngs <steve@sxemacs.org>
6138 From Andrey Slusar <anrays@gmail.com>:
6140 * s/freebsd.h (LIBS_SYSTEM): Only set to "-lutil -lxpg4" if
6141 FreeBSD version is >= 199701 _and_ < 600006.
6143 2005-01-06 Zajcev Evgeny <zevlg@yandex.ru>
6145 * scrollbar.c (compute_scrollbar_instance_usage):
6146 Only call device method compute_scrollbar_instance_usage() if it
6149 2004-12-05 Vin Shelton <acs@xemacs.org>
6151 * XEmacs 21.4.16 is released
6153 2004-12-04 Vin Shelton <acs@xemacs.org>
6155 * depend: Regenerated.
6157 2004-10-07 Stephen J. Turnbull <stephen@xemacs.org>
6159 * regex.c (re_match_2_internal): Map internal to external
6160 registers. Fixes bug identified by Steve Youngs 2004-09-30
6161 <microsoft-free.87ekkjhj7t.fsf@youngs.au.com>.
6163 2004-09-02 Yoshiki Hayashi <yoshiki@xemacs.org>
6165 * buffer.c (Frecord_buffer): Make sure the argument is buffer
6166 to fix a crash. Also, check the buffer is live and it
6167 really exists in buffer_list. If the buffer is not in the list,
6170 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6172 Fix shy groups by implementing recording of all groups for
6173 repetition and backtracking. Backport from 21.5.
6175 * regex.h (struct re_pattern_buffer): Add members re_ngroups,
6176 external_to_internal_register, external_to_internal_register_size,
6177 and update comments for re_nsub.
6179 * regex.c (re_opcode_t): Update comments.
6180 (print_compiled_pattern): Ouput external_to_internal_register,
6181 external_to_internal_register_size, and re_ngroups for debugging.
6182 (INIT_REG_TRANSLATE_SIZE): New manifest constant.
6183 (regex_compile): Update header comment.
6184 Ensure that all groups are recorded so that repeat matches and
6185 backtracking work correctly. Comment related warning for groups >
6187 (re_search_2): Construct map of API indexes (which count only
6188 nonshy groups) to internal register numbers, and keep it updated.
6190 2004-07-27 Malcolm Purvis <malcolmp@xemacs.org>
6192 * frame-gtk.c (gtk_make_frame_visible):
6193 * frame-gtk.c (gtk_make_frame_invisible): Use map/unmap instead of
6194 show/hide. This is what X uses and is prevents previously hidden
6195 widgets from suddenly reappearing.
6196 * gtk-xemacs.c (gtk_xemacs_paint):
6197 * gtk-xemacs.c (gtk_xemacs_draw):
6198 * gtk-xemacs.c (gtk_xemacs_expose): Only operate if the widget is
6200 * scrollbar-gtk.c (gtk_update_scrollbar_instance_status): Force
6201 size and location changes so that they can be seen before the next
6202 idle event. Without this rapid changes to scrollbar properties
6205 2004-07-02 Malcolm Purvis <malcolmp@xemacs.org>
6208 * console-gtk.h (struct gtk_frame):
6209 * console-gtk.h (FRAME_GTK_WIDGET_INSTANCE_HASH_TABLE):
6210 Add hash tables track tab_control callback data.
6211 Added #defines for GTK object data names.
6212 Declaration of gtk_widget_to_frame().
6213 * event-gtk.c (enqueue_gtk_dispatch_event) No longer static:
6214 * frame-gtk.c (gtk_widget_to_frame): New.
6215 * frame-gtk.c (gtk_create_widgets):
6216 * frame-gtk.c (allocate_gtk_frame_struct):
6217 * frame-gtk.c (gtk_mark_frame):
6218 Manage frame callbakc hash tables.
6219 * glyphs-gtk.c (gtk_map_subwindow): Fix size and moving bugs.
6220 * glyphs-gtk.c (gtk_redisplay_widget): Use correct size for widgets.
6221 * glyphs-gtk.c (gtk_widget_instantiate_1): Force reconsideration
6223 * glyphs-gtk.c (gtk_widget_query_geometry): New
6224 * glyphs-gtk.c (gtk_register_gui_item): New
6225 * glyphs-gtk.c (gtk_add_tab_item): New
6226 * glyphs-gtk.c (gtk_tab_control_callback): New
6227 * glyphs-gtk.c (gtk_tab_control_instantiate): New
6228 * glyphs-gtk.c (gtk_tab_control_redisplay): Set notebook page.
6229 Use correct list when loading item.
6230 * glyphs-gtk.c (image_instantiator_format_create_glyphs_gtk):
6231 Register new methods.
6232 * gtk-xemacs.c (gtk_xemacs_size_allocate): Use XEmacs size, not
6233 default size, for widgets.
6234 * gui-x.c: Improved comment.
6235 * menubar-gtk.c (__generic_button_callback): Use
6236 gtk_widget_to_frame instead of __get_channel.
6238 * ui-gtk.c: Use symbolic names for GTK object data.
6240 2004-06-23 Ilya N. Golubev <gin@mo.msk.ru>
6242 * s/usg5-4.h (NSIG): Define only inside emacs binary.
6244 2002-03-04 Stephen J. Turnbull <stephen@xemacs.org>
6246 * fileio.c (Fwrite_region_internal): Document use of start == Qnil.
6248 2004-06-16 Malcolm Purvis <malcolmp@xemacs.org>
6250 * malloc.c (morecore): siz is a long because in some architectures
6251 (eg ia-64) an int cannot hold the address range. Additional patch
6252 from the SuSe distribution.
6254 2004-06-13 Malcolm Purvis <malcolmp@xemacs.org>
6257 * malloc.c: lim_data is a long because in some architectures
6258 (eg ia-64) an int cannot hold the address range.
6259 * mem-limits.h: lim-data is a long. Linux uses getrlimit()
6260 instead of ulimit() because ulimit() always returns -1.
6262 2004-06-09 Stephen J. Turnbull <stephen@xemacs.org>
6264 * search.c: Reenable an ansync semaphore. Remove bogus comments.
6266 2004-06-11 David Kastrup <dak@gnu.org>
6268 * search.c (match_limit): Don't flag an error if match-data
6269 exceeding the allocated search_regs.num_regs gets requested, just
6272 2003-07-21 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6274 * glyphs-gtk.c (gtk_xpm_instantiate): Rewrite the XPM data to
6275 replace symbolic color entries with the real colors specified in
6276 xpm-color-symbols, before passing the XPM to gtk.
6277 * glyphs-gtk.h: Use the generic pixmap_image_instance.mask for masks,
6278 instead of a GTK specific field, so that it is used in by generic
6281 2004-05-05 Chuck Hines <chuck.hines@baesystems.com>
6283 * dgif_lib.c (DGifSlurp): Changed do-while to while to stop
6284 coredump from deref of NULL ptr (ExtData)
6286 2004-04-19 Jerry James <james@xemacs.org>
6288 * data.c (sign_extend_lisp_int): Use INT_VALBITS instead of
6289 VALBITS to compute the location of the sign bit.
6290 * event-stream.c (Fcurrent_event_timestamp): Replace incorrect use
6291 of VALBITS with EMACS_INT_MAX.
6292 * events.c (Fevent_timestamp): Ditto.
6293 * events.c (TIMESTAMP_HALFSPACE): Change VALBITS to INT_VALBITS to
6294 compute the halfway point to timestamp wraparound.
6295 * floatfns.c (float_to_int): Compare against EMACS_INT_MAX and
6296 EMACS_INT_MIN instead of using VALBITS.
6297 * floatfns.c (Flogb): Use EMACS_INT_MIN instead of building an
6298 incorrect number with VALBITS.
6299 * fns.c (Frandom): Correct number of integer bits in docstring.
6300 Use INT_VALBITS instead of VALBITS to compute the denominator.
6301 * sysdep.c (get_random): Use INT_VALBITS instead of VALBITS to
6302 build random numbers.
6304 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6306 * event-gtk.c (gtk_event_to_emacs_event):
6308 * menubar-gtk.c (gtk_xemacs_menubar_class_init):
6309 * menubar-gtk.c (gtk_xemacs_menubar_size_request):
6310 * menubar-gtk.c (gtk_xemacs_accel_label_get_type):
6311 * menubar-gtk.c (gtk_xemacs_set_accel_keys):
6312 * menubar-gtk.c (__activate_menu):
6313 * menubar-gtk.c (convert_underscores):
6314 * menubar-gtk.c (remove_underscores):
6315 * menubar-gtk.c (menu_convert):
6316 * menubar-gtk.c (menu_descriptor_to_widget_1):
6317 * menubar-gtk.c (menu_descriptor_to_widget):
6318 * menubar-gtk.c (menu_can_reuse_widget):
6319 * menubar-gtk.c (menu_create_menubar):
6320 * menubar-gtk.c (gtk_popup_menu):
6321 * menubar-gtk.c (Fgtk_build_xemacs_menu):
6322 Added support for Gtk menu bar and menu item mnemonics.
6324 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6326 * sysdll.c: (dll_function): Added support for finding symbols in
6327 Darwin shared libraries as well in Darwin bundles.
6328 * sysdll.c (image_for_address): New
6329 * sysdll.c (my_find_image): New
6330 * sysdll.c (search_linked_libs): New
6332 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6334 * ui-gtk.c (__internal_callback_marshal): Marshalling data to
6335 return to GTK requires a different API to marshalling data to use
6337 * ui-gtk.c (lisp_to_gtk_ret_type): New.
6339 2004-03-08 Lutz Euler <lutz.euler@freenet.de>
6341 * lstream.c (Lstream_pseudo_close): Fix test for LSTREAM_FL_IS_OPEN.
6343 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
6345 * glyphs.c (process_image_string_instantiator):
6346 (Fset_console_type_image_conversion_list):
6347 Stop GCC from warning about shadowing of `exp'.
6349 * redisplay-x.c (x_output_string): Fix unsigned lossage.
6351 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
6353 * regex.c (re_match_2_internal): Shut up GCC about syn1, syn2.
6355 2004-02-03 Vin Shelton <acs@xemacs.org>
6357 * glyphs.c (image_instance_layout): Remove pointless assertion.
6358 * regex.c (regex_grow_registers): Return type is void.
6360 2004-02-02 Vin Shelton <acs@xemacs.org>
6362 * XEmacs 21.4.15 is released
6364 2004-01-30 Glynn Clements <glynn.clements@virgin.net>
6366 * device-x.c (x_error_handler): Don't call stderr_out
6368 2003-11-07 Katsumi Yamaoka <yamaoka@jpl.org>
6370 * buffer.c (other-buffer): Clarify documentation of order of
6371 arguments for FSF Emacs.
6373 2003-10-11 Olivier Galibert <galibert@pobox.com>
6375 * window.c (Fdelete_window): Dirty the mirror structure _before_
6376 marking the window deleted.
6378 2003-09-15 Jerry James <james@xemacs.org>
6380 * event-msw.c (debug_mswin_messages): Conditionally compile
6381 messages missing from the Cygwin headers.
6383 2003-06-16 Stephen J. Turnbull <stephen@xemacs.org>
6385 * data.c (eq_with_ebola_notice): Fix typo in comment.
6386 (Ftrue_list_p): Improve docstring.
6388 2003-10-13 Stephen J. Turnbull <stephen@xemacs.org>
6390 * frame-x.c (x_update_frame_external_traits): Fix XtSetArg idiom.
6392 2003-09-27 Stephen J. Turnbull <stephen@xemacs.org>
6394 * search.c (trivial_regexp_p): Regexps containing "\{" are
6395 nontrivial. Thanks to Manfred Bartz for reporting the bug and
6396 Stefan Monnier for suggesting a diagnosis.
6398 2003-09-25 Stephen J. Turnbull <stephen@xemacs.org>
6400 * elhash.c (make-hash-table): Clarify use of :test #'equal.
6402 2003-09-12 Stephen J. Turnbull <stephen@xemacs.org>
6404 * search.c (Fsearch_forward):
6406 Document negative count.
6408 2003-09-13 Stephen J. Turnbull <stephen@xemacs.org>
6410 * regex.c (re_max_failures): Bump to 20000 for REGEX_MALLOC, too.
6412 2003-09-13 Martin Buchholz <martin@xemacs.org>
6414 * s/sol2.h: Use OS_RELEASE=os_release_major*100+os_release_minor
6416 2003-09-15 Vin Shelton <acs@xemacs.org>
6418 * .gdbinit (pobj): Remove Ilya's fix that was only intended for
6421 2003-09-12 Yoshiki Hayashi <yoshiki@xemacs.org>
6423 * regex.c (TRANSLATE_EXTENDED_UNSAFE): Remove.
6424 (re_search_2): Match the first byte of Bufbyte, not Emchar.
6425 (re_match_2_internal): Use TRANSLATE instead of
6426 TRANSLATE_EXTENDED_UNSAFE. The latter was a hack to bypass
6427 non-ASCII char case conversion.
6429 2003-09-08 Mike Sperber <mike@xemacs.org>
6431 * symbols.c (Fvariable_binding_locus): Add, as per suggestion from
6432 RMS at: http://article.gmane.org/gmane.emacs.pretest.bugs/1010
6434 2003-06-14 Ilya N. Golubev <gin@mo.msk.ru>
6436 * .gdbinit (pobj): fix printing of symbol name.
6438 2003-08-01 Ilya N. Golubev <gin@mo.msk.ru>
6440 * frame-x.c (x_layout_widgets): When resizing is about to cause
6441 frame size slip, mark it for redisplay.
6443 2003-08-18 Jerry James <james@xemacs.org>
6445 * opaque.h: Remove unused (X)OPAQUE_MARKFUN definitions.
6447 2003-09-03 Vin Shelton <acs@xemacs.org>
6449 * XEmacs 21.4.14 is released
6451 2003-08-15 Stephen J. Turnbull <stephen@xemacs.org>
6453 * config.h.in (REGEX_MALLOC): Make it configure'able.
6455 2003-08-14 Andrew Begel <abegel@CS.Berkeley.EDU>
6457 * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic
6459 * sysdll.c (dll_init):
6460 * sysdll.c (dll_open):
6461 * sysdll.c (dll_close):
6462 * sysdll.c (dll_function):
6463 * sysdll.c (dll_variable):
6464 * sysdll.c (dll_error):
6465 Add support for loading bundles using Darwin/MacOSX
6468 2003-08-12 Stephen J. Turnbull <stephen@xemacs.org>
6470 * process.c (start-process-internal): Document coding systems.
6472 2003-07-30 Jerry James <james@xemacs.org>
6474 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
6476 2003-07-31 René Kyllingstad <listmailxemacs@kyllingstad.com>
6478 * event-msw.c (mswindows_enqueue_mouse_button_event):
6479 * event-msw.c (mswindows_wnd_proc):
6480 enqueue button event when scrollwheel event isn't handled by
6481 mswindows_handle_mousewheel_event, such as when the scrollbars
6484 2003-07-29 Stephen J. Turnbull <stephen@xemacs.org>
6486 * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*.
6488 2003-03-24 Stephen J. Turnbull <stephen@xemacs.org>
6490 * database.c (Fopen_database): Don't use DB_AUTO_COMMIT.
6492 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org>
6494 * regex.c (re_match_2_internal): Fix matching degenerate word
6497 2003-05-25 XEmacs Build Bot <builds@cvs.xemacs.org>
6499 * XEmacs 21.4.13 is released
6501 2003-03-20 Stephen J. Turnbull <stephen@xemacs.org>
6503 * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H):
6504 * lisp.h (<inttypes.h>):
6505 Cygwin defines these types in <cygwin/types.h>. Don't duplicate
6508 2003-03-15 Martin Buchholz <martin@xemacs.org>
6510 * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file.
6511 Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs'
6512 Result: "temacs can only be run in -batch mode."
6513 Fix: Check xemacs executable candidate for directory-ness.
6515 2003-03-03 Robert Pluim <rpluim@bigfoot.com>
6517 * database.c: Don't use the u_int8_t etc typedefs on FreeBSD,
6518 they conflict with <sys/types.h>.
6520 2003-02-14 Martin Buchholz <martin@xemacs.org>
6522 * database.c: Berkeley DB wants __STDC__ to be defined.
6524 2003-02-13 Martin Buchholz <martin@xemacs.org>
6526 * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'.
6528 2003-02-01 Martin Buchholz <martin@xemacs.org>
6530 * process-unix.c (unix_send_process): Fix C++ compile error.
6532 2003-02-25 Andrew Begel <abegel@cs.berkeley.edu>
6534 * Added .dylib as an acceptable shared library file extension
6535 * to support MacOSX.
6537 2003-02-01 Martin Buchholz <martin@xemacs.org>
6539 * EmacsFrameP.h (EmacsFramePart):
6540 Kludge to allow compiling with Motif1, but linking with Motif2.
6542 2003-01-28 Martin Buchholz <martin@xemacs.org>
6544 * config.h.in (_ALL_SOURCE): Guard against multiple definition.
6547 2003-02-23 Stephen J. Turnbull <stephen@xemacs.org>
6549 * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin.
6551 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
6553 * sysdll.c: Included lisp.h to define needed alloca_array.
6555 2003-02-13 Martin Buchholz <martin@xemacs.org>
6557 Make XEmacs redisplay 10 times faster.
6558 If, that is, you're using a slow X connection and MoveOpaque.
6559 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
6560 Use compress_motion = TRUE.
6561 * EmacsFrame.c (emacsFrameClassRec):
6562 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
6563 * EmacsManager.c (emacsManagerClassRec):
6564 * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
6566 2003-01-30 Vin Shelton <acs@xemacs.org>
6568 * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux.
6570 2003-01-17 Stephen J. Turnbull <stephen@xemacs.org>
6572 * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef.
6573 Patch by Martin Buchholz.
6575 2003-01-16 Stephen J. Turnbull <stephen@xemacs.org>
6577 * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison.
6578 Thanks to icc for warning and Martin Buchholz for reporting.
6580 2003-01-29 Vin Shelton <acs@xemacs.org>
6582 Patch courtesy of Andrew Begel <abegel@cs.berkeley.edu>
6584 * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so
6585 remember to multiply by the element size.
6587 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
6589 * XEmacs 21.4.12 "Portable Code" is released.
6591 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
6593 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
6594 * s/cygwin.sc: new linker file.
6596 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
6598 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
6600 * redisplay-x.c (x_output_string): Use X11-specified types.
6601 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
6602 * emacs.c (__free_hook): Use typeof with Intel compiler.
6603 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
6605 2003-01-08 Andy Piper <andy@xemacs.org>
6607 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
6608 reserve size during unexec().
6610 2003-01-07 Daiki Ueno <daiki@xemacs.org>
6612 * process-unix.c (unix_create_process): Don't let outchannel block.
6614 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
6616 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
6617 Needed for IsBadReadPtr().
6619 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
6621 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
6623 2002-12-14 Ben Wing <ben@xemacs.org>
6625 * callint.c: Declaration error.
6627 * dumper.c (pdump_load): Warning fix.
6628 * process.c: GCPRO error.
6629 * glyphs.c (unmap_subwindow):
6630 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
6631 * event-stream.c (maybe_kbd_translate): Wrong argument to
6632 character_to_event().
6634 * alloc.c (garbage_collect_1):
6636 * emacs.c (debug_can_access_memory):
6637 * emacs.c (fatal_error_signal):
6638 * emacs.c (mswindows_handle_hardware_exceptions):
6641 * emacs.c (assert_failed):
6642 * emacs.c (syms_of_emacs):
6645 * print.c (std_handle_out_va):
6646 * print.c (write_string_to_stdio_stream):
6647 * print.c (write_fmt_string):
6648 * print.c (printing_badness):
6649 * print.c (printing_major_badness):
6650 * print.c (print_internal):
6651 * print.c (debug_print_no_newline):
6652 * print.c (debug_backtrace):
6653 Be more defensive in handling bad values when printing. Add code
6654 from trunk involving inhibit_non_essential_printing_operations.
6655 When going down or in debug_print(), don't do external conversion
6656 and such and try really, really hard when printing to avoid core
6657 dumping. Add force-debugging-signal, debug_break().
6659 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
6661 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
6662 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
6664 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
6666 * database.c: Fix open_database. Berkeley DB API has changed in
6667 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
6669 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
6671 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
6673 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
6675 * event-Xt.c (Xt_timeout):
6676 (Xt_timeout_callback):
6677 (emacs_Xt_add_timeout):
6678 (emacs_Xt_remove_timeout):
6679 (Xt_timeout_to_emacs_event):
6680 Turn completed_timeouts from a stack into a queue. Fixes
6681 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
6683 2002-11-07 Wolfram Gloger <wg@malloc.de>
6685 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
6686 * emacs.c (main): Assert that mmap'd allocation is disabled.
6688 2002-10-14 Andy Piper <andy@xemacs.org>
6690 * glyphs-widget.c (layout_query_geometry): add in fiddle
6691 factor. Include border text in width layout calculation.
6692 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
6694 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
6696 * XEmacs 21.4.10 "Military Intelligence" is released.
6698 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
6700 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
6701 using the NAS private array SoundFileInfo that no longer exists in
6702 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
6703 and earlier. This is broken for some versions between 1.5a and
6706 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
6708 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
6710 * emacs.c (shut_down_emacs): Improve crash message.
6712 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
6714 * file-coding.c (determine_real_coding_system): Check for coding
6715 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
6716 shebangs and Python PEP 263.
6718 2002-10-08 Andy Piper <andy@xemacs.org>
6720 * glyphs-widget.c (layout_query_geometry): only resize dynamically
6721 if static sizes haven't been set.
6723 2002-08-30 Mike Alexander <mta@arbortext.com>
6725 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
6728 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
6730 * callproc.c (child_setup): 21.4 doesn't have retry_close.
6732 2002-09-20 Mike Sperber <mike@xemacs.org>
6734 (This partially gets back my patch from 2002-07-20 without the
6736 * callproc.c (child_setup): Remove Ben's comment noting confusion
6737 over the file descriptors >= 3: close_process_descs() doesn't
6738 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
6739 * process-unix.c (unix_create_process): Call
6740 begin_dont_check_for_quit to inhibit unwanted interaction (and
6741 thus breaking of X event synchronicity) in the child.
6743 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
6745 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
6748 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
6750 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
6751 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
6752 the xemacs process did not exit, but looped infinitely here. This
6755 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
6757 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
6758 (find_context): Improve comments.
6760 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
6761 (re_match_2): An XCHAR_TABLE operation was missing.
6763 Many of the following changes were inspired by Andy Piper's (now
6764 obsolete) patch to make syntax-table text property lookup optional.
6768 * syntax.h (top level): Document semantics of syntax flags.
6769 * syntax.c (comstr_start, Fforward_comment): Improve comments.
6770 * syntax.c, syntax.h (top level): Document syntax cache better in
6773 [Instrument syntax caching (temporary change)]
6775 * syntax.h (enum syntax_cache_statistics_functions, struct
6776 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
6777 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
6778 * syntax.c (scan_words, Fforward_comment, scan_lists,
6779 Fbackward_prefix_characters):
6780 * font-lock.c (find_context):
6781 Use them to instrument syntax caching.
6782 * syntax.c (struct syntax_cache_statistics, scs_statistics,
6783 syntax_cache_statistics_function_names): New type and variables.
6784 * syntax.c (update_syntax_cache): Update and report statistics.
6786 [Major syntax cache optimizations]
6788 syntax.c (lookup_syntax_properties): Default off.
6790 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
6791 * syntax.c (update_syntax_cache):
6792 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
6794 [Minor syntax cache optimizations and code clarifications]
6796 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
6797 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
6798 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
6799 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
6800 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
6801 (Code clarification.)
6803 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
6804 scan_lists): Compute code from syncode, use Boolean macros instead
6805 of redundant masking operations. (Code clarification; any decent
6806 compiler can do this optimization.)
6808 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
6811 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
6812 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
6813 use F*_single_property_change instead of F*_extent_change.
6814 Currently F*_single_property_change is _much_ less efficient.
6816 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
6817 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
6818 syntax_cache.object properly, don't leave Qt or Qnil.
6819 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
6820 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
6821 tests for Qt or Qnil.
6823 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
6825 * redisplay.c (point_in_line_start_cache):
6826 * extents.c (print_extent_1):
6829 * extents.c (Fset_extent_property): Document `syntax-table' property.
6831 * extents.h (Fnext_single_property_change): EXFUN it.
6833 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
6835 * search.c (clear_unused_search_regs): New static function.
6839 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
6840 Minor clarifications in comments.
6842 * regex.c (re_match_2_internal): Ensure no stale submatches.
6844 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
6846 * event-Xt.c (enqueue_focus_event): Add missing prototype.
6848 2002-08-29 Jerry James <james@xemacs.org>
6850 * lisp.h: structrures -> structures.
6852 2002-06-03 Andy Piper <andy@xemacs.org>
6854 * frame.c (frame_conversion_internal): add conversion appropriate
6855 for setting frame dimensions in pixels.
6857 * console.h (struct console_methods): add device-specific widget
6860 * emacs.c (main_1): initialize glyph vars.
6862 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
6863 (handle_focus_event_2): new function. Allow focus to
6864 be set to a particular window and widget.
6865 (enqueue_focus_event): new function. Create a
6866 synthetic focus event.
6867 (emacs_Xt_handle_magic_event): call
6868 handle_focus_event_2.
6870 * frame.c (Fset_frame_pixel_height): new function. Allow
6871 pixel-based sizing. Does the right thing on character-oriented
6873 (Fset_frame_pixel_width): ditto.
6874 (Fset_frame_pixel_size): ditto.
6875 (syms_of_frame): declare.
6877 * general-slots.h: add :vertically-justify and
6878 :horizontally-justify.
6880 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
6881 (mswindows_widget_border_width): new function.
6882 (mswindows_combo_box_instantiate): set border widths.
6883 (console_type_create_glyphs_mswindows): declare.
6886 (check_valid_justification): allow vertical and horizontal
6888 (widget_border_width): new function. Call device methods.
6889 (widget_instance_border_width): ditto.
6890 (logical_unit_height): new function. Determine the height of a
6891 logical-unit. Logical units are intended to provide grid-like
6892 layout for subcontrols in a layout. If the layout is
6893 :vertically-justify top then subcontrols will be positioned on
6894 logical-unit boundaries, thus allowing adjacent subcontrols to
6896 (widget_logical_unit_height): ditto for widgets.
6897 (redisplay_widget): misc cleanup.
6898 (widget_spacing): new function. Call device specific
6899 methods. Intended to be the default gap between adjacent widgets.
6900 (widget_query_geometry): use new spacing functions to determine
6901 appropriate geometry.
6902 (initialize_widget_image_instance): initialize horizontal and
6903 vertical justification.
6904 (widget_instantiate): use logica-units where appropriate for
6905 sizing large widgets.
6906 (button_query_geometry): use widget_instance_border_width.
6907 (tree_view_query_geometry): ditto.
6908 (tab_control_query_geometry): ditto.
6909 (edit_field_query_geometry): new function.
6910 (layout_update): pick up :justify, :horizontally-justify and
6911 :vertically-justify none of which worked previously. :justify is
6912 used as a fallback for both horizontal and vertical justification.
6913 (layout_query_geometry): use logical units to size appropriately.
6914 (layout_layout): ditto.
6915 (Fwidget_logical_to_character_width): new function. Allow users to
6916 convert from logical units to characters so that frame sizes can
6917 be set appropriately.
6918 (Fwidget_logical_to_character_height): ditto.
6919 (syms_of_glyphs_widget): declare.
6920 (image_instantiator_edit_fields): add edit_field_query_geometry.
6921 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
6922 :horizontally-justify.
6923 (specifier_vars_of_glyphs_widget): new function. Declare
6924 Vwidget_border_width which is not yet used.
6926 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
6927 (x_widget_border_width): new function.
6928 (x_widget_instantiate): create a sensible name for widgets.
6929 (console_type_create_glyphs_x): declare x_widget_border_width.
6931 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
6932 (struct Lisp_Image_Instance): add :vertically-justify and
6933 :horizontally-justify.
6934 (LAYOUT_JUSTIFY_TOP): new.
6935 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
6936 (ROUND_UP): new macro. Round argument up to next integral
6939 * redisplay-output.c (redisplay_output_layout): misc formatting.
6941 * symsinit.h: declare specifier_vars_of_glyphs_widget.
6943 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
6945 * XEmacs 21.4.9 "Informed Management" is released.
6947 2002-08-19 Andy Piper <andy@xemacs.org>
6949 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
6952 * realpath.c (xrealpath): normalize drive spec also so that dir
6953 sep chars are not mixed on cygwin.
6955 2002-08-06 Jerry James <james@xemacs.org>
6957 * window.c (Fsplit_window): Count only half of the divider width
6958 against the left window when splitting horizontally.
6960 2002-06-24 Andy Piper <andy@xemacs.org>
6962 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
6963 toolbar was cleared.
6965 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
6966 function. Split out from mswindows_output_frame_toolbars.
6967 (mswindows_output_frame_toolbars): move clear pieces to
6968 mswindows_output_frame_toolbars.
6970 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
6971 out from gtk_output_frame_toolbars.
6972 (gtk_output_frame_toolbars): move clear pieces to
6973 gtk_clear_frame_toolbars.
6975 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
6976 the frame is cleared. How this ever worked before is a mystery.
6977 (x_output_frame_toolbars): Only output toolbars.
6978 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
6980 * gutter.c (update_gutter_geometry):
6981 Mark frame layout changed.
6982 (update_frame_gutter_geometry, update_frame_gutters):
6983 Respect frame_layout_changed.
6985 * console.h (struct console_methods): add
6986 clear_frame_toolbars_method.
6988 * redisplay.c (redisplay_frame): call
6989 update_frame_toolbars_geometry and re-order update_frame_toolbars.
6991 * toolbar.h: declare update_frame_toolbars_geometry.
6993 * toolbar.c (update_frame_toolbars_geometry): new function. Split
6994 out from update_frame_toolbars. Call clear_frame_toolbars.
6995 (update_frame_toolbars): only output, do not change geometry.
6997 * redisplay.c: add frame_layout_changed.
6999 * redisplay.h: add frame_layout_changed.
7000 (CLASS_RESET_CHANGED_FLAGS): set it.
7001 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
7002 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
7003 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
7005 * device.h (struct device): add frame_layout_changed.
7006 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
7008 * frame.h (struct frame): add frame_layout_changed.
7009 (MARK_FRAME_LAYOUT_CHANGED): new.
7011 2002-06-30 Mike Alexander <mta@arbortext.com>
7013 * event-msw.c (mswindows_need_event): Don't wait for a new message
7014 if the queue is not empty. Suggested by Paul Moore.
7016 2002-06-12 Andy Piper <andy@xemacs.org>
7018 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
7019 for printing on accurately.
7021 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
7023 * event-msw.c (mswindows_wnd_proc): Add a handler for the
7024 WM_ACTIVATE message. Make sure that the frame is visible if the
7025 window is visible. This seemss to fix the problem where XEmacs
7026 appears to freeze after switching desktops with certain virtual
7028 (debug_output_mswin_message): Added code to output message
7029 parameters for WM_WINDOWPOSCHANGED,
7030 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
7032 2002-05-25 Andy Piper <andy@xemacs.org>
7034 * select-x.c (vars_of_select_x): Fix docstring of
7035 x-selection-strict-motif-ownership
7037 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7039 * keymap.c (get_keymap):
7040 Add comment about do_autoload GCPROs own args.
7042 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7044 * bytecode.c (execute_optimized_program): check_opcode ifdef
7045 ERROR_CHECK_BYTE_CODE.
7047 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7049 Thanks to Ben Wing and Michael Sperber.
7051 * eval.c (Fcommand_execute):
7054 (Fmacroexpand_internal):
7055 (function_argcount):
7056 callint.c (Fcall_interactively):
7057 Add comment about do_autoload GCPROs own args.
7059 * (do_autoload): GCPRO both args as well as local Lisp_Object.
7061 * eval.c (Ffuncall): Extra braces to placate GCC.
7063 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
7065 * backtrace.h (grow_specpdl):
7067 * EmacsFrame.c (EmacsFrameSetValues):
7068 * eval.c (grow_specpdl):
7069 * ExternalShell.c (hack_event_masks_1):
7070 * glyphs-x.c (convert_EImage_to_XImage):
7071 (x_finalize_image_instance):
7072 * ralloc.c (page_size):
7074 * xgccache.c (gc_cache_hash):
7075 Fix unsigned comparison warnings.
7077 2002-07-29 Jerry James <james@xemacs.org>
7079 * lread.c (locate_file): Any nonnegative return value indicates
7080 success if MODE is nonnegative.
7082 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
7084 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
7087 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
7089 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
7091 * dumper.c (pdump_get_indirect_count):
7092 (pdump_scan_by_alignment):
7093 (pdump_dump_root_struct_ptrs):
7094 (pdump_dump_rtables):
7095 (pdump_dump_root_objects):
7097 * nas.c (WaveOpenDataForReading):
7098 * fns.c (print_bit_vector):
7099 * font-lock.c (SINGLE_SYNTAX_STYLE):
7100 * glyphs.c (check_for_ignored_expose):
7101 (find_matching_subwindow):
7103 * imgproc.c (get_histogram):
7104 * redisplay.c (point_in_line_start_cache):
7105 * redisplay-output.c (redisplay_unmap_subwindows):
7106 * symbols.c (defsymbol_massage_name_1):
7107 (defkeyword_massage_name):
7108 (deferror_massage_name_and_message):
7109 * redisplay-x.c (x_output_string):
7110 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
7111 * frame.h (struct frame):
7112 * filelock.c (current_lock_owner):
7113 * doprnt.c (emacs_doprnt_1):
7114 * lisp.h (struct Lisp_Bit_Vector):
7118 2002-02-13 Ben Wing <ben@xemacs.org>
7120 * event-stream.c (reset_key_echo):
7121 * event-stream.c (reset_this_command_keys):
7122 * event-stream.c (execute_command_event):
7123 If console is dead as a result of C-x 5 0, then post-command stuff
7124 needs to be careful and do only non-console-specific stuff.
7126 2002-07-01 Mike Sperber <mike@xemacs.org>
7128 * process-unix.c (unix_send_process): Mark coding_outstream as
7129 non-open upon SIGPIPE.
7131 * event-stream.c (Fnext_event): Reorder switch cases to something
7134 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
7136 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
7137 Don't bogusly reinitialize ascii_character property.
7139 2002-07-08 Mike Sperber <mike@xemacs.org>
7141 * process.c (Fstart_process_internal): Do error checking before we
7142 fork off the child, so the child can't muck with the state of the
7145 2002-07-08 Mike Sperber <mike@xemacs.org>
7147 * ralloc.c (init_ralloc): Allocate properly for pdump.
7149 2002-06-12 Andy Piper <andy@xemacs.org>
7151 * glyphs.c (query_string_geometry): check the string.
7153 * glyphs-widget.c (widget_logical_unit_height): cope with nil
7156 2002-06-17 Jerry James <james@xemacs.org>
7158 * sysdll.c: Remove RTLD_GLOBAL initialization.
7159 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
7161 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
7163 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
7165 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
7167 * sysdep.c (sys_rename): Make sys_rename work for the case where
7168 Windows rename sets errno to EACCES if target file exists.
7170 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
7172 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7173 Fix detection of metric units to work on Win95
7175 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
7177 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
7179 2002-04-25 Andy Piper <andy@xemacs.org>
7181 * redisplay.c (create_text_block): Remove extra comment trailer.
7183 2002-04-24 Andy Piper <andy@xemacs.org>
7185 * redisplay.c (create_text_block): Don't actually add propagation
7186 data if the line ends after we have added a glyph.
7188 2002-04-22 Andy Piper <andy@xemacs.org>
7190 * extents.c (extent_fragment_update): check for glyphs we have
7191 previously displayed.
7192 * extents.c (print_extent_1): warning removal.
7193 * extents.h: change prototype.
7194 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
7195 widths correctly for wide glyphs.
7196 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
7197 * redisplay.c (prop_type): add PROP_GLYPH.
7198 * redisplay.c (struct prop_block): add glyph type
7199 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
7200 to the propagation data.
7201 * redisplay.c (create_text_block): if there is a glyph in the
7202 propagation data use it to salt extent_fragment_update.
7203 * redisplay.c (create_string_text_block): ditto.
7205 2002-04-13 Nix <nix@esperi.demon.co.uk>
7207 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
7208 * redisplay-output.c (compare_runes): Compare them.
7209 * redisplay.c: Update copyright date.
7210 * redisplay.c (pos_data): Add need_baseline_computation field.
7211 * redisplay.c (add_glyph_rune): Update ascent, descent, and
7212 need_baseline_computation; zero yoffset. Set max_pixmap_height
7213 for all pixmaps, not just automatically positioned ones.
7214 * redisplay.c (calculate_yoffset): New, compute yoffset values.
7215 * redisplay.c (calculate_baseline): New, compute textual baseline.
7216 * redisplay.c (add_glyph_rune): Call them.
7217 * redisplay.c (create_text_block): Likewise.
7218 * redisplay.c (create_overlay_glyph_block): Likewise.
7219 * redisplay.c (add_margin_runes): Likewise.
7220 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
7222 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
7223 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
7224 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
7225 * redisplay-msw.c (mswindows_output_string): Likewise.
7226 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
7227 * redisplay-gtk.c (gtk_output_display_block): Likewise.
7228 * redisplay-x.c (x_output_display_block): Likewise.
7230 2002-03-28 Ben Wing <ben@xemacs.org>
7232 * redisplay.c: Fixed bug in redisplay
7233 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
7234 and down of the lines, since they're bigger than the line
7235 size. (It was seen most obviously when there's a horizontal scroll
7236 bar, e.g. do C-h a glyph or something like that.) The problem was
7237 that the glyph-contrib-p setting on glyphs was ignored even if it
7238 was set properly, which it wasn't until now.
7240 2002-04-24 Andy Piper <andy@xemacs.org>
7242 * lisp.h (Dynarr_end): Fix definition.
7244 2002-02-06 Adrian Aichner <adrian@xemacs.org>
7246 * redisplay.c (mark_redisplay): Remove call to
7247 update_frame_window_mirror.
7249 2001-11-15 Andy Piper <andy@xemacs.org>
7251 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
7254 2002-02-13 Andy Piper <andy@xemacs.org>
7256 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
7257 we did in fact enqueue the XM_MAPFRAME event.
7259 2002-01-15 Adrian Aichner <adrian@xemacs.org>
7261 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
7262 to fix problem switching between virtual desktops under virtuawin
7263 virtual window manager.
7265 2001-07-30 Adrian Aichner <adrian@xemacs.org>
7267 * event-msw.c: Typo fix.
7268 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
7269 magic XM_MAPFRAME event has been sent.
7271 2001-11-23 Andy Piper <andy@xemacs.org>
7273 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
7275 2001-11-21 Andy Piper <andy@xemacs.org>
7277 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
7278 mouse events outside the frame.
7280 2002-03-20 Andy Piper <andy@xemacs.org>
7282 * menubar-msw.c (mswindows_popup_menu): warning removal.
7283 * dialog-msw.c (dialog_popped_down): ditto.
7285 2001-12-11 Andy Piper <andy@xemacs.org>
7287 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
7288 * dialog-msw.c (mswindows_make_dialog_box_internal): set
7290 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
7291 * menubar-msw.c (mswindows_handle_wm_command): ditto.
7292 * menubar-msw.c (mswindows_popup_menu): ditto.
7294 2001-10-29 Andy Piper <andy@xemacs.org>
7296 * dialog-msw.c (handle_directory_dialog_box): quit if the user
7299 2002-01-03 Andy Piper <andy@xemacs.org>
7301 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
7305 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
7307 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
7308 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
7309 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7310 Detect and handle case where machine is set up for metric units
7312 2002-04-02 Andy Piper <andy@xemacs.org>
7314 * dired-msw.c (mswindows_get_files):
7315 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
7316 completely handled by XEmacs. Suggested by Thomas Vogler
7317 <mail@thomas-vogler.de>.
7319 2001-11-14 Andy Piper <andy@xemacs.org>
7321 * nt.c (REG_ROOT): change registry key to XEmacs.
7323 2002-04-27 Andy Piper <andy@xemacs.org>
7325 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
7327 2002-04-26 Andy Piper <andy@xemacs.org>
7329 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
7332 2002-03-14 Mike Alexander <mta@arbortext.com>
7334 * event-msw.c (mswindows_unwait_process): New, remove process from
7336 * process-nt.c (nt_finalize_process_data): Call
7337 mswindows_unwait_process
7338 * console-msw.h: Declare mswindows_unwait_process
7340 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
7342 * editfns.c (Fdecode_time):
7343 (Fformat_time_string):
7344 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
7345 (make_time): Warning elimination (change arg name).
7347 2001-11-24 Andy Piper <andy@xemacs.org>
7349 * window.c (Fsplit_window): Doc return type.
7351 2002-04-01 Andy Piper <andy@xemacs.org>
7353 * emacs.c (Fkill_emacs): Only output message box in interactive
7356 2002-04-26 Andy Piper <andy@xemacs.org>
7358 * config.h.in: pull in 21.5.x change to stop alloca warnings under
7361 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
7363 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
7366 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
7368 * XEmacs 21.4.8 "Honest Recruiter" is released.
7370 2002-05-07 Nix <nix@esperi.demon.co.uk>
7372 Supersedes 2002-04-17 patch.
7374 * process.h (PROCESS_LIVE_P): Use the process status as
7375 evidence of health, not the state of the input stream.
7376 (PROCESS_READABLE_P): Say if the process is readable
7377 from. (It may be dead nonetheless.)
7378 (CHECK_READABLE_PROCESS): Test for that condition.
7380 * process.c (create_process): Use PROCESS_READABLE_P.
7381 (read_process_output, set_process_filter): Likewise.
7383 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
7384 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
7386 This code is #if 0'd, this is not the time to add new functions:
7388 * process.c (Fprocess_readable_p): Report readability status.
7389 * process.c (Qprocess_readable_p): New, associated symbol...
7390 * process.c (syms_of_process): ... initialize it.
7392 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
7394 * XEmacs 21.4.7 "Economic Science" is released.
7396 2002-04-17 Nix <nix@esperi.demon.co.uk>
7398 * process.h (PROCESS_LIVE_P): Use the process status as
7399 evidence of health, not the state of the input stream.
7401 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
7403 * sysdep.c (sys_siglist): change "signum" to "signal"
7405 2001-04-21 Martin Buchholz <martin@xemacs.org>
7407 * s/darwin.h: New file.
7408 Thanks to Greg Parker <gparker@cs.stanford.edu>.
7410 2002-04-23 Andreas Jaeger <aj@suse.de>
7412 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
7413 which use lib64 for 64-bit libs.
7414 (START_FILES): Likewise.
7416 2002-02-11 Mike Sperber <mike@xemacs.org>
7419 (x_IO_error_handler):
7420 (x_init_device): Temporarily keep device in static variable
7421 `device_being_initialized' so we can recover gracefully from
7422 internal XOpenDevice failure. (XOpenDevice is documented to
7423 return NULL on failure, but sometimes calls the IO error handler
7426 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
7428 * dired.c (Ffile_name_all_completions): Change documentation --
7429 remove reference to completion-ignored-extensions.
7430 * dired.c (vars_of_dired): Change documentation for
7431 completion-ignored-extensions -- remove reference to
7432 file-name-all-completions.
7434 2002-03-06 Jerry James <james@xemacs.org>
7436 * emodules.c (emodules_load): Fix multiple loading of same module.
7438 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
7439 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
7440 RTLD_LAZY to avoid incorrect symbol binding when using nested
7441 shared libraries on Solaris.
7443 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
7445 * fileio.c (Ffind_file_name_handler): Improve docstring.
7447 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
7449 * fns.c (Fmapconcat): Improve docstring.
7451 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
7453 * device-gtk.c: Add prototype for
7454 emacs_gtk_selection_clear_event_handle.
7455 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
7456 selection. Setup signal handler for "selection_clear_event"
7457 (emacs_gtk_selection_clear_event_handle).
7459 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
7460 other applications owning the clipboard (based on
7461 x_handle_selection_clear).
7463 2001-12-23 William M. Perry <wmperry@gnu.org>
7465 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
7467 2002-01-04 Martin Buchholz <martin@xemacs.org>
7469 * keymap.c (define_key_alternate_name): Parenthesize EQ.
7471 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
7473 * XEmacs 21.4.6 "Common Lisp" is released.
7475 2001-12-16 Torsten Duwe <duwe@caldera.de>
7477 * search.c (Freplace_match): Add missing sub-expression functionality.
7479 * buffer.c (decode_buffer): Add a check for pointer type to
7480 decode_buffer, before gcc's CSE optimization reorders a
7481 dereference in front of the allow_string test.
7483 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
7485 * window.c (window_loop): Fix bug that sometimes prevented
7486 window_loop() from iterating across multiple devices. Also, at
7487 Ben's request, changed infloop-detecting code to abort() instead
7488 of silently terminating window_loop().
7490 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
7492 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
7493 * editfns.c (make_time): New function.
7494 (Fencode_time): Use it instead of wasteful_word_to_lisp.
7495 * lisp.h (make_time): Prototype and comment it.
7496 * dired.c (wasteful_word_to_lisp): Deprecate.
7497 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
7499 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
7501 * fileio.c (auto_save_1): Use current coding system, not
7504 2001-11-13 Ben Wing <ben@xemacs.org>
7507 * window.c (window_truncation_on):
7508 * window.c (syms_of_window):
7509 truncate-partial-width-windows should respect the buffer being
7510 displayed, like other redisplay vars.
7512 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
7514 * event-stream.c (Fread_key_sequence): save current buffer.
7516 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
7518 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
7520 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
7522 * alloc.c (lcrecord_stats): Add space for types defined in modules.
7524 2001-10-26 Mike Alexander <mta@arbortext.com>
7526 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
7528 2001-10-25 Andy Piper <andy@xemacs.org>
7531 * dialog-msw.c (handle_directory_proc): new function.
7532 (handle_directory_dialog_box): new fucntion.
7533 (handle_file_dialog_box): use new directory dialog support.
7534 (mswindows_make_dialog_box_internal): ditto.
7535 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
7537 (mswindows_find_frame): make global.
7538 * fileio.c (Fexpand_file_name): build fix.
7539 * general-slots.h: add Qdirectory.
7540 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
7542 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
7543 cygwin not leaving win32 paths unchanged.
7544 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
7545 cygwin runtime to do path conversion.
7546 (Fmswindows_shell_execute): fix cygwin handling of URLs.
7547 (syms_of_win32): add new function.
7548 * window.c (window_loop): build fix.
7550 2001-10-15 Andy Piper <andy@xemacs.org>
7552 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
7554 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
7556 * XEmacs 21.4.5 "Civil Service" is released.
7558 2001-04-08 Danny Colascione <qtmstr@optonline.net>
7560 * glyphs-x.c: Force buffer-tab highlight update when moving the
7561 buffer, avoiding an ugly black border, used for keyboard focus
7562 indication, on a widget that can never have keyboard focus, the
7565 2001-08-30 Daiki Ueno <ueno@unixuser.org>
7567 * process-unix.c (unix_open_multicast_group): Remove too much
7568 conversion between host and network byte order.
7570 2001-09-10 Nix <nix@esperi.demon.co.uk>
7572 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
7573 before replacing them.
7575 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
7578 * src/window.c (undedicate_windows): Use it.
7579 * src/window.h: Add prototype.
7581 2001-09-17 Ben Wing <ben@xemacs.org>
7583 * fileio.c (normalize_filename):
7584 * fileio.c (Fexpand_file_name):
7585 Fix various C++ compile errors in Andy's recent code.
7587 * callint.c (Fcall_interactively):
7588 * editfns.c (Ftemp_directory):
7589 * editfns.c (Fuser_full_name):
7590 * emacs.c (argmatch):
7591 * lread.c (locate_file_map_suffixes):
7592 * redisplay-x.c (x_ring_bell):
7593 Fix sign-compare warnings.
7595 2001-09-08 Andy Piper <andy@xemacs.org>
7597 * fileio.c (normalize_filename): copied from nt.c
7598 * (Ffile_name_directory): enable win32 paths under cygwin.
7599 * (Ffile_name_nondirectory): ditto.
7600 * (directory_file_name): ditto.
7601 * (Fexpand_file_name): ditto.
7602 * (Ffile_truename): ditto.
7603 * (Fsubstitute_in_file_name): ditto.
7604 * (Ffile_name_absolute_p): ditto.
7605 * (Ffile_readable_p): ditto.
7607 2001-09-08 Andy Piper <andy@xemacs.org>
7609 * device-msw.c (mswindows_finish_init_device): remove dde
7611 * device-msw.c (mswindows_init_dde): factor out from
7612 mswindows_finish_init_device()
7613 * device-msw.c (init_mswindows_very_early): new function
7614 initialize but don't enable dde.
7615 * emacs.c (main_1): call init_mswindows_very_early.
7617 * event-msw.c (mswindows_dde_callback): only execute when we are
7619 * symsinit.h: declare init_mswindows_very_early.
7621 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7623 [sjt: This has been in 21.5 for months with no complaints.]
7625 * console.h (struct console_methods): Added flags member.
7626 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
7627 (CONMETH_IMPL_FLAG):
7628 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
7629 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
7631 * device.c (window_system_pixelated_geometry): Use the above macros.
7633 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
7634 implememntation flag.
7635 * device.h (DEVICE_DISPLAY_P): Use it.
7637 * frame.c (delete_frame_internal): Use the above macro.
7639 * redisplay.c (redisplay_device): Use it.
7640 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
7641 (redisplay_frame): Ditto.
7643 * device-msw.c (mswindows_device_implementation_flags): Removed.
7644 (msprinter_device_implementation_flags): Removed.
7645 (console_type_create_device_mswindows): Removed references to
7646 implementation_flags methods, set implementation flags here.
7647 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
7649 * device-gtk.c (gtk_device_implementation_flags): Removed method.
7650 (console_type_create_device_gtk): Removed method declaration.
7651 Added commented out statement which semantically matches the
7652 commented out statement in the above removed method.
7654 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
7656 The attached patch fixes a few warnings.
7658 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
7659 * src/frame-gtk.c: guard against GNOME calls in GTK only
7660 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
7661 * src/select-gtk.c: prototype lisp_to_time
7663 2001-06-08 Ben Wing <ben@xemacs.org>
7665 ------ gc-in-window-procedure fixes ------
7668 * alloc.c (struct post_gc_action):
7669 * alloc.c (register_post_gc_action):
7670 * alloc.c (run_post_gc_actions):
7671 * alloc.c (garbage_collect_1):
7672 Create "post-gc actions", to avoid those dreaded "GC during window
7673 procedure" problems.
7676 Abort, clean and simple, when GC in window procedure. We want
7677 to flush these puppies out.
7680 * glyphs-msw.c (finalize_destroy_window):
7681 * glyphs-msw.c (mswindows_finalize_image_instance):
7682 Use a post-gc action when destroying subwindows.
7685 Declare register_post_gc_action().
7688 * scrollbar-msw.c (unshow_that_mofo):
7689 Use a post-gc action when unshowing scrollbar windows, if in gc.
7691 * redisplay.c (mark_redisplay):
7692 Add comment about the utter evilness of what's going down here.
7694 ------ cygwin setitimer fixes ------
7696 * Makefile.in.in (sheap_objs):
7697 * Makefile.in.in (profile_objs):
7698 * Makefile.in.in (objs):
7699 Compile profile.c only when HAVE_SETITIMER.
7701 * nt.c (mswindows_sigset):
7702 * nt.c (mswindows_sighold):
7703 * nt.c (mswindows_sigrelse):
7704 * nt.c (mswindows_sigpause):
7705 * nt.c (mswindows_raise):
7706 * nt.c (close_file_data):
7710 Move setitimer() emulation to win32.c, because Cygwin needs it too.
7713 * profile.c (Fstart_profiling):
7714 * profile.c (Fstop_profiling):
7715 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
7716 instead of just plain setitimer().
7719 * signal.c (set_one_shot_timer):
7721 Define qxe_setitimer() as an encapsulation around setitimer() --
7722 call setitimer() directly unless Cygwin or MS Win, in which case
7723 we use our simulated version in win32.c.
7726 * systime.h (struct itimerval):
7727 * systime.h (ITIMER_REAL):
7728 Prototype mswindows_setitimer() and qxe_setitimer(). Long
7729 comment about "qxe" and the policy regarding encapsulation.
7732 * win32.c (setitimer_helper_proc):
7733 * win32.c (setitimer_helper_period):
7734 * win32.c (setitimer_helper):
7735 * win32.c (mswindows_setitimer):
7736 Move setitimer() emulation here, so Cygwin can use it.
7737 Rename a couple of functions and variables to be longer and more
7738 descriptive. In setitimer_helper_proc(), send the signal
7739 using either mswindows_raise() or (on Cygwin) kill(). If for
7740 some reason we are still getting lockups, we'll change the kill()
7741 to directly invoke the signal handlers.
7743 ------ windows shell fixes ------
7747 Comments about how these two files must die.
7749 * callproc.c (init_callproc):
7750 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
7751 not just COMSPEC. (more correct and closer to FSF.) Don't
7752 force a value for SHELL into the environment. (Comments added
7753 to explain why not.)
7755 * nt.c (init_user_info):
7756 Don't shove a fabricated SHELL into the environment. See above.
7758 2001-06-01 Ben Wing <ben@xemacs.org>
7760 * Makefile.in.in (ldflags):
7761 eliminate that pesky "defaulting to 00401000" warning.
7765 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
7767 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
7768 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
7770 2001-04-24 Jerry James <james@xemacs.org>
7772 * faces.h: pass parameters to Fadd_spec_to_specifier in the
7775 2001-06-01 Ben Wing <ben@xemacs.org>
7777 * event-msw.c (debug_mswin_messages):
7778 conditionalize the messages that were causing compile errors.
7779 (if only macros could generate #ifdef statements ...)
7781 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
7783 * XEmacs 21.4.4 "Artificial Intelligence" is released.
7785 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
7787 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
7789 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
7791 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
7792 * process-unix.c (unix_canonicalize_host_name):
7793 sysdep.c (init_system_name):
7794 Use it to conditionally support IPv6 canonicalization.
7796 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
7799 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
7801 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
7803 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
7804 attempt is made to scroll when no scroll bar is available.
7806 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
7808 * input-method-motif.c (XIM_delete_frame): New callback.
7809 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
7810 got deleted from 21.4.3.)
7812 2001-06-01 Ben Wing <ben@xemacs.org>
7814 * nt.c (mswindows_utime):
7815 * nt.c (close_file_data):
7816 fix off-by-one-indirection error.
7818 2001-05-29 Adrian Aichner <adrian@xemacs.org>
7820 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
7821 because set_file_times() now takes Lisp_Object path, instead of
7823 * nt.c: Include buffer.h.
7824 * nt.c (convert_from_time_t): New.
7825 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
7826 not set mtime correctly.
7827 * nt.h: Declare mswindows_utime().
7828 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
7829 path, instead of char*.
7830 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
7832 2001-05-30 Ben Wing <ben@xemacs.org>
7836 (Stephen, just take all event-msw.c patches. This includes
7837 the "iconify" fix below.)
7840 * event-msw.c (mswindows_dequeue_dispatch_event):
7841 * event-msw.c (assert):
7842 * event-msw.c (emacs_mswindows_quit_p):
7843 * event-msw.c (debug_mswin_messages):
7844 * event-msw.c (debug_output_mswin_message):
7845 * event-msw.c (vars_of_event_mswindows):
7846 Fix yet more problems with C-g handling.
7847 Implement debug-mswindows-events.
7849 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7851 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
7853 2001-05-23 Ben Wing <ben@xemacs.org>
7855 * event-msw.c (winsock_writer):
7856 * event-msw.c (winsock_closer):
7857 prior kludgy code was clobbering the buffer, thinking it was
7858 "unused" space to store an unneeded return value; instead, use
7859 the variable we've already got staring us in the face.
7861 2001-05-17 Andy Piper <andy@xemacs.org>
7863 * sysfile.h: don't assume that file attributes are boolean
7865 2001-05-23 Ben Wing <ben@xemacs.org>
7867 * device-msw.c (msprinter_init_device):
7868 signal an error rather than crash with an unavailable network
7869 printer (from Mike Alexander).
7872 * event-msw.c (struct winsock_stream):
7873 * event-msw.c (winsock_writer):
7874 * event-msw.c (winsock_closer):
7875 * event-msw.c (make_winsock_stream_1):
7876 cleanup headers. fix (hopefully) an error with data corruption
7877 when sending to a network connection.
7879 * fileio.c (Fexpand_file_name): Fix evil code that attempts
7880 to handle the ~user prefix by (a) always assuming we're referencing
7881 ourselves and not even verifying the user -- hence any file with
7882 a tilde as its first char is invalid! (b) if there wasn't a slash
7883 following the filename, the pointer was set *past* the end of
7884 file and we started reading from uninitialized memory. Now we
7885 simply treat these as files, always.
7887 * buffer.c (common_init_complex_vars_of_buffer): comment change.
7889 2001-05-19 Ben Wing <ben@xemacs.org>
7891 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
7894 * process-nt.c (vars_of_process_nt):
7895 remove unused mswindows-quote-process-args. rec for 21.4.
7897 2001-05-12 Ben Wing <ben@xemacs.org>
7899 * event-msw.c (mswindows_dde_callback):
7900 * event-msw.c (mswindows_wnd_proc):
7901 eliminate cygwin warnings.
7903 2001-05-06 Ben Wing <ben@xemacs.org>
7907 * device-msw.c (print_dialog_worker):
7908 * device-msw.c (mswindows_handle_print_dialog_box):
7909 * device-msw.c (syms_of_device_mswindows):
7910 * dialog-msw.c (mswindows_make_dialog_box_internal):
7912 implement printing the selection when it's selected.
7914 2001-05-20 Drazen Kacar <dave@arsdigita.com>
7916 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
7918 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
7920 * lisp.h (EMACS_INT_MAX): This should be one bit less since
7921 EMACS_INT is signed.
7923 2001-04-15 Michael Lausch <mla@1012surf.net>
7925 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
7926 gtk_widget_request_size() to give scrollbar >0 width for
7929 2001-05-30 William M. Perry <wmperry@gnu.org>
7931 * event-gtk.c: Check for buttons as modifier keys.
7933 2001-05-25 Craig Lanning <CraigL@Knology.net>
7936 Properly find MinGW's <process.h> inside Cygwin's restructured
7937 include directories. Don't try to include <cygwin/version.h>
7938 since we are dropping support for MinGW in versions of Cygwin
7941 Drop support for MinGW in versions of Cygwin before b21.
7943 Properly find MinGW's <process.h> inside Cygwin's restructured
7944 include directories.
7946 Drop support for MinGW in versions of Cygwin before b21.
7948 Even though a.out.h is no longer detected by configure, allow
7949 MinGW to use it until we figure out how to do the job with Win32.
7951 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
7953 * syntax.c (find_start_of_comment):
7954 Fix `unbalanced parentheses' bug when dealing with mixed comment
7955 styles in c++/java/etc. mode
7957 2001-05-29 Mike Alexander <mta@arbortext.com>
7959 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
7960 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
7962 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
7964 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
7966 2001-03-31 Mike Sperber <mike@xemacs.org>
7968 * search.c (Freplace_match): Support FSF-style specification of
7969 match subexpression when applied to a buffer.
7971 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
7973 * event-stream.c (is_scrollbar_event): add missing semicolon
7975 2001-05-22 Isaac Hollander <ysh@mindspring.com>
7977 * Makefile.in.in: Use TAR macro instead of hardcoding
7978 tar. Allows use of GNU tar instead of system tar
7980 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
7982 * event-stream.c (is_scrollbar_event): add missing semicolon
7984 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
7986 * XEmacs 21.4.3 "Academic Rigor" is released.
7988 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
7990 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
7992 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
7994 * buffer.c (Vcase_fold_search): Remove obsolete
7995 comment about non ASCII case-fold-search. This
7996 bug has been fixed by case-table changes.
7998 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
8000 * event-msw.c: Restore include of events-mod.h.
8002 2001-04-22 zhaoway <zw@debian.org>
8004 * event-stream.c (is_scrollbar_event): Noop returning 0 if
8007 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
8009 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
8011 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
8013 * mule-charset.c (Fmake_charset): Add missing else.
8015 2001-04-23 Ben Wing <ben@xemacs.org>
8017 * event-msw.c (FAKE_MOD_QUIT):
8018 * event-msw.c (mswindows_dequeue_dispatch_event):
8019 * event-msw.c (mswindows_wnd_proc):
8020 * event-msw.c (emacs_mswindows_quit_p):
8021 Get critical quit working.
8023 2001-05-05 Ben Wing <ben@xemacs.org>
8027 * device-msw.c (mswindows_get_default_margin):
8028 * frame-msw.c (mswindows_size_frame_internal):
8029 * frame-msw.c (msprinter_init_frame_1):
8030 * frame-msw.c (vars_of_frame_mswindows):
8031 Change top/bottom margin defaults to 0.5 inches.
8033 2001-05-01 Martin Buchholz <martin@xemacs.org>
8035 Fix link error with gcc 3.0 on Linux.
8036 * terminfo.c (UP): Remove.
8037 * terminfo.c (BC): Remove.
8038 * terminfo.c (PC): Remove.
8039 They weren't used, and in any case, these symbols should be
8040 defined in the *library*.
8042 2001-05-03 Martin Buchholz <martin@xemacs.org>
8044 * s/aix4.h: Fix crash with xlc -O3.
8045 Improve comment explaining how -O3 works.
8047 2001-04-15 Ben Wing <ben@xemacs.org>
8050 * event-stream.c (Fnext_event):
8051 * event-stream.c (is_scrollbar_event):
8052 * event-stream.c (execute_command_event):
8053 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
8054 crash' problem. His fix introduces other problems. We filter
8055 out scrollbar events specifically, making them somewhat invisible
8056 to command-building, and not appearing in `this-command-keys'.
8057 More work is still needed (see comments in event-stream.c), but
8058 this fixes all the major problems.
8060 2001-04-20 Ben Wing <ben@xemacs.org>
8062 * .cvsignore: Added stuff for Windows.
8064 2001-04-28 Ben Wing <ben@xemacs.org>
8066 * buffer.c (Ferase_buffer):
8067 * editfns.c (buffer_insert1):
8068 * editfns.c (Finsert_before_markers):
8069 * editfns.c (Finsert_string):
8070 * editfns.c (Finsert_char):
8071 * editfns.c (Fdelete_region):
8072 * editfns.c (Fwiden):
8073 * editfns.c (Fnarrow_to_region):
8074 remove bogus lines setting zmacs_region_stays to 0.
8076 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
8078 * process-unix.c (unix_open_network_stream): If connect() fails
8079 invalidate file descriptor after closing it.
8081 2001-03-08 Mike Alexander <mta@arbortext.com>
8083 * event-msw.c (mswindows_need_event_in_modal_loop):
8084 Don't dispatch a message if we didn't get one.
8085 (mswindows_need_event):
8086 Terminate the correct process when one exits instead of the first
8087 one on Vprocess_list and look for process termination when in
8088 mswindows_protect_modal_loop.
8090 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
8092 * XEmacs 21.4.1 "Copyleft" is released.
8094 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
8096 * input-method-motif.c (XIM_delete_frame): New callback.
8097 (XIM_init_frame): Register it.
8099 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8101 * XEmacs 21.4.0 "Solid Vapor" is released.
8103 2001-04-15 Ben Wing <ben@xemacs.org>
8105 * cmdloop.c (call_command_loop):
8106 Fix braino in bit-rotting code.
8108 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
8110 * extents.c (Fset_extent_endpoints): Force creation of extent info
8111 in buffer_or_string.
8113 * extents.c (process_extents_for_insertion_mapper): Correctly
8114 check for open-open zero-length extents.
8116 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8118 * lisp.h: New typedefs Memory_count, Element_count.
8121 Sign-compare warning elimination: several unsigned -> signed.
8122 Based on work by Ben Wing <ben@xemacs.org>.
8124 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
8126 * XEmacs 21.2.47 "Zephir" is released.
8128 2001-04-02 Jan Vroonhof <jan@xemacs.org>
8130 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
8132 2001-04-03 Mike Sperber <mike@xemacs.org>
8134 * search.c: Revert previous patch due because of release.
8136 2001-03-30 Ben Wing <ben@xemacs.org>
8139 Add missing killpg prototype.
8142 Add a comment about fixing problems when a new entry is added
8145 * frame-msw.c (mswindows_init_frame_1):
8146 Fix compile warnings.
8148 * menubar.c (vars_of_menubar):
8149 Provide `menu-accelerator-support' to indicate that we properly
8150 support %_ in menu specifications, so that package code can
8151 conditionalize on this (and remove %_ from menu specifications
8156 * scrollbar-msw.c (can_scroll):
8158 Fix handling of mouse wheel under Windows to follow standards --
8159 now scrolls window under pointer, not selected window.
8161 2001-03-31 Mike Sperber <mike@xemacs.org>
8163 * search.c (Freplace_match): Support FSF-style specification of
8164 match subexpression when applied to a buffer.
8166 2001-03-15 Martin Buchholz <martin@xemacs.org>
8168 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
8169 function to modify KEYMAP, so map over a copy of the hash table.
8171 2001-03-21 Martin Buchholz <martin@xemacs.org>
8173 * XEmacs 21.2.46 "Urania" is released.
8175 2001-03-20 Dan Holmsand <dan@eyebee.com>
8177 * realpath.c (xrealpath): Make file-truename work with symlinks to
8178 /cygdrive paths on cygwin. Always lowercase drive-letters on
8180 (cygwin_readlink): Don't try to find canonical filename unless
8183 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
8185 * ChangeLog: Log GTK merge.
8191 Revert gratuitous whitespace changes from GTK merge.
8193 * emacs.c: Document end of complex #ifdef @ l. 1495.
8196 2001-03-12 Andy Piper <andy@xemacs.org>
8198 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
8199 have to do likewise.
8201 2001-03-12 Andy Piper <andy@xemacs.org>
8203 * sysdep.c: we only support mingw now.
8205 2001-03-09 Andy Piper <andy@xemacs.org>
8207 * unexcw.c (copy_executable_and_dump_data_section): making approx
8208 overrun a warning only.
8210 2001-03-10 William M. Perry <wmperry@aventail.com>
8212 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
8213 satisfy Stephen's identical-after-cpp plea.
8215 2001-03-02 Ben Wing <ben@xemacs.org>
8218 * cmds.c (Fforward_char):
8222 Augment documentation of the most common motion commands to make
8223 note of the shifted-motion support.
8225 2001-03-02 Ben Wing <ben@xemacs.org>
8227 * nt.c (mswindows_fstat):
8228 * nt.c (mswindows_stat):
8229 * search.c (boyer_moore):
8230 Fix compile warnings under Windows.
8232 * sysdep.c (sys_readdir):
8233 Fix buggy filename-conversion code under Mule.
8235 2001-03-09 William M. Perry <wmperry@aventail.com>
8257 * redisplay-output.c:
8263 The Great GTK Merge.
8270 * emacs-widget-accessors.c:
8284 * native-gtk-toolbar.c:
8295 The Great GTK Merge: new files.
8297 2001-02-26 Ben Wing <ben@xemacs.org>
8299 Reapplied Lstream change.
8301 2001-02-26 Ben Wing <ben@xemacs.org>
8303 Undid the last change, since it is more controversial than I
8304 thought. It should be back in at some point soon.
8306 2001-02-25 Ben Wing <ben@xemacs.org>
8309 * callproc.c (Fold_call_process_internal):
8310 * event-msw.c (ntpipe_slurp_reader):
8311 * event-msw.c (ntpipe_shove_writer):
8312 * event-msw.c (winsock_reader):
8313 * event-msw.c (winsock_writer):
8315 * file-coding.c (detect_eol_type):
8316 * file-coding.c (detect_coding_type):
8317 * file-coding.c (determine_real_coding_system):
8318 * file-coding.c (Fdetect_coding_region):
8319 * file-coding.c (decoding_reader):
8320 * file-coding.c (decoding_writer):
8321 * file-coding.c (mule_decode):
8322 * file-coding.c (Fdecode_coding_region):
8323 * file-coding.c (encoding_reader):
8324 * file-coding.c (encoding_writer):
8325 * file-coding.c (mule_encode):
8326 * file-coding.c (Fencode_coding_region):
8327 * file-coding.c (detect_coding_sjis):
8328 * file-coding.c (decode_coding_sjis):
8329 * file-coding.c (encode_coding_sjis):
8330 * file-coding.c (detect_coding_big5):
8331 * file-coding.c (decode_coding_big5):
8332 * file-coding.c (encode_coding_big5):
8333 * file-coding.c (detect_coding_ucs4):
8334 * file-coding.c (decode_coding_ucs4):
8335 * file-coding.c (encode_coding_ucs4):
8336 * file-coding.c (detect_coding_utf8):
8337 * file-coding.c (decode_coding_utf8):
8338 * file-coding.c (encode_coding_utf8):
8339 * file-coding.c (detect_coding_iso2022):
8340 * file-coding.c (decode_coding_iso2022):
8341 * file-coding.c (encode_coding_iso2022):
8342 * file-coding.c (decode_coding_no_conversion):
8343 * file-coding.c (encode_coding_no_conversion):
8344 * glyphs-x.c (write_lisp_string_to_temp_file):
8345 * gpmevent.c (tty_get_foreign_selection):
8348 * lstream.c (Lstream_flush_out):
8349 * lstream.c (Lstream_adding):
8350 * lstream.c (Lstream_write_1):
8351 * lstream.c (Lstream_write):
8352 * lstream.c (Lstream_raw_read):
8353 * lstream.c (Lstream_read_more):
8354 * lstream.c (Lstream_read):
8355 * lstream.c (Lstream_unread):
8356 * lstream.c (Lstream_fputc):
8357 * lstream.c (stdio_reader):
8358 * lstream.c (stdio_writer):
8359 * lstream.c (filedesc_reader):
8360 * lstream.c (filedesc_writer):
8361 * lstream.c (lisp_string_reader):
8362 * lstream.c (struct fixed_buffer_stream):
8363 * lstream.c (make_fixed_buffer_input_stream):
8364 * lstream.c (make_fixed_buffer_output_stream):
8365 * lstream.c (fixed_buffer_reader):
8366 * lstream.c (fixed_buffer_writer):
8367 * lstream.c (struct resizing_buffer_stream):
8368 * lstream.c (resizing_buffer_writer):
8369 * lstream.c (dynarr_writer):
8370 * lstream.c (lisp_buffer_reader):
8371 * lstream.c (lisp_buffer_writer):
8373 * lstream.h (lstream_implementation):
8374 * lstream.h (struct lstream):
8376 * process-nt.c (nt_send_process):
8377 * process-unix.c (unix_send_process):
8379 Correct Lstream lossage due to mixing of signed and unsigned
8380 quantities. All Lstream uses of size_t and ssize_t are now a
8381 single signed data type Lstream_data_count. This fixes problems
8382 under Windows with sending large quantities of data to a process,
8383 and may well fix other subtle bugs.
8385 2001-02-23 Martin Buchholz <martin@xemacs.org>
8387 * XEmacs 21.2.45 "Thelxepeia" is released.
8389 2001-02-21 Martin Buchholz <martin@xemacs.org>
8391 * lisp-union.h (XSETINT):
8394 Reverse previous change of 2001-02-06.
8396 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
8398 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
8400 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
8401 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
8402 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
8403 * regex.c (POS_AS_IN_BUFFER): removed
8404 * regex.c (re_search_2):
8405 * regex.c (re_match_2):
8406 Don't use an offset of 1 when calculating buffer positions, since
8407 `BI_BUF_BEGV' does it already.
8409 2001-02-18 Wim Dumon <wim@easics.be>
8411 * insdel.c (prepare_to_modify_buffer): Also check for
8412 supersession when clash-detection is enabled.
8414 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
8416 * regex.c (re_match_2_internal):
8417 Convert temp characters from 'const unsigned char' to 're_char'.
8418 Fix crashing bug with extended characters under mule.
8419 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
8420 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
8421 font-lock, pdump, and new syntax-table code.
8422 * syntax.c (find_start_of_comment):
8423 (find_end_of_comment):
8425 Fix crashing bugs involving moving beyond end of buffer.
8426 * syntax.c (find_start_of_comment):
8427 Fixed logic to allow proper detection of cases where the same
8428 character is used to end both a two-char comment start and a
8429 two-char comment end sequence. Fixes `(forward-comment -1)'.
8430 * syntax.c (find_start_of_comment):
8431 Return position just past last comment-end character for all cases
8432 (previously was only done for two-char comment-end sequences).
8433 * syntax.c (forward-comment):
8434 Take value returned from `find_end_of_comment', rather than
8436 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
8437 Properly deal with BUFFERP (syntax_cache.object)
8439 2001-02-17 Martin Buchholz <martin@xemacs.org>
8441 * alloc.c (Fgarbage_collect):
8442 * alloc.c (make_bit_vector_from_byte_vector):
8443 -Wsign-compare-correctness.
8445 2001-02-16 Martin Buchholz <martin@xemacs.org>
8447 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
8448 (XSETCHAR): Likewise.
8449 (XSETOBJ): Likewise.
8451 2001-02-15 Martin Buchholz <martin@xemacs.org>
8453 * mule-canna.c (canna-func-delete_previous):
8454 Rename to canna-func-delete-previous.
8456 2001-02-14 Martin Buchholz <martin@xemacs.org>
8458 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
8460 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
8462 * font-lock.c (find_context): Fix C++ compile errors introduced by
8465 2001-02-13 Martin Buchholz <martin@xemacs.org>
8467 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
8468 pragma, but earlier ones barf on the same pragma.
8470 2001-02-06 Mike Sperber <mike@xemacs.org>
8472 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
8473 `configure-mule-lisp-directory'.
8475 2001-02-12 Martin Buchholz <martin@xemacs.org>
8477 Make sure dump-id.c is compiled in the same way as other .c's.
8478 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
8479 * dump-id.h: Remove.
8480 * emacs.c: Move dump-id.h into dumper.h.
8481 * dumper.h: Move dump-id.h into dumper.h.
8483 Use standard .c.o rule for building dump-id.o.
8484 Remove preprocessor flags from link command.
8485 Add dump-id.o to ${otherobjs} if PDUMP.
8487 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
8489 Port FSF 20.7 syntax table improvements.
8493 Fixups for new syntax table stuff.
8494 * dired.c: Include syntax.c.
8495 (Fdirectory_files): Initialize regex_match_object and
8497 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
8498 and Fget_char_property.
8500 Use ported FSF 20.7 syntax table improvements.
8505 2001-02-09 Martin Buchholz <martin@xemacs.org>
8507 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
8508 Unixware's enum boolean from sys/types.h.
8510 2001-02-10 Martin Buchholz <martin@xemacs.org>
8512 Fix support for building with latest Purify.
8513 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
8514 (PURIFY_FLAGS): Likewise.
8516 2001-02-09 Martin Buchholz <martin@xemacs.org>
8518 * fileio.c (lisp_string_set_file_times): New.
8519 * fileio.c (Fcopy_file): Use it.
8521 (copy-file filename non-ascii-filename t t)
8522 ==> No such file or directory, non-ascii-filename
8524 2001-02-10 Martin Buchholz <martin@xemacs.org>
8526 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
8527 USHRT_MAX seems clearer than ~0 anyways.
8529 2001-02-09 Martin Buchholz <martin@xemacs.org>
8531 dumper improvements. Inspired by Olivier.
8532 * dumper.c (pdump_max_align): New.
8533 * dumper.c (pdump_add_entry): Use pdump_max_align.
8534 * dumper.c (pdump_get_entry_list): Likewise.
8535 * dumper.c (pdump_scan_by_alignment): Likewise.
8536 Don't iterate through unnecessary alignments.
8537 * dumper.c (pdump_file_get): No need to align result of malloc().
8538 * dumper.c (pdump_mallocadr): Remove.
8539 The result of malloc() is guaranteed to be maximally aligned.
8540 * dumper.c: s/elmt/elt/g;
8541 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
8542 * dumper.c (pdump_alert_undump_object): Likewise.
8543 * dumper.c (pdump_align_table):
8544 Don't support alignments > 64.
8545 Store ALIGNOF's, not shift counts, in table.
8547 2001-02-09 Martin Buchholz <martin@xemacs.org>
8549 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
8550 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
8551 * systime.h: Use HAVE_UTIME.
8552 * sysdep.c (struct utimbuf): Remove.
8553 * sysdep.c (set_file_times): Prefer utime() to utimes().
8554 * config.h.in (HAVE_UTIME): New.
8555 * config.h.in (HAVE_UTIME_H): Remove.
8556 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
8558 2001-02-09 Martin Buchholz <martin@xemacs.org>
8560 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
8562 2001-02-08 Martin Buchholz <martin@xemacs.org>
8564 * s/irix6-0.h: Use the standard system memmove, not bcopy.
8566 2001-02-08 Martin Buchholz <martin@xemacs.org>
8568 * XEmacs 21.2.44 "Thalia" is released.
8570 2001-02-06 Martin Buchholz <martin@xemacs.org>
8572 Fixes crashes in kill-emacs on some systems.
8573 * process-unix.c (unix_kill_child_process):
8574 It's OK for kill() to fail with ESRCH.
8576 2001-02-07 Martin Buchholz <martin@xemacs.org>
8578 Contortions to make .gdbinit tricks work on most systems.
8579 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
8580 * alloc.c (dbg_valmask): Make non-const.
8581 * alloc.c (dbg_typemask): Make non-const.
8582 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
8583 * alloc.c (dbg_valbits): Make non-const.
8584 * alloc.c (dbg_gctypebits): Make non-const.
8585 * .gdbinit (decode_object): Make it work with AIX cc.
8587 2001-02-06 Martin Buchholz <martin@xemacs.org>
8589 * elhash.c (make_general_lisp_hash_table):
8590 Use simpler and more efficient calloc to clear entries.
8592 2001-02-07 Martin Buchholz <martin@xemacs.org>
8594 * window.c (window_scroll): Work around an AIX C compiler bug.
8595 Fixes 'scroll-up' does nothing problem with xlC.
8597 2001-02-05 Martin Buchholz <martin@xemacs.org>
8599 * .gdbinit: Remove obsolete comment.
8601 2001-01-31 Mike Alexander <mta@arbortext.com>
8603 * select.c (Fown_selection_internal): Set owned_p for device
8606 2001-02-01 Martin Buchholz <martin@xemacs.org>
8609 "not" cannot be used as a macro name as it is an operator in C++
8610 * config.h.in: Stop #defining `not'.
8611 * chartab.c (check_category_char): not ==> not_p
8612 * chartab.h: Likewise.
8613 * regex.c (re_match_2_internal): Likewise.
8615 2001-02-02 Martin Buchholz <martin@xemacs.org>
8617 * lisp-disunion.h: Fix up comments.
8619 2001-01-31 Martin Buchholz <martin@xemacs.org>
8621 * keymap.c (define_key_check_and_coerce_keysym):
8623 Support mouse-6 and mouse-7 bindings in the obvious way.
8625 2001-02-01 Martin Buchholz <martin@xemacs.org>
8627 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
8629 2001-01-30 Martin Buchholz <martin@xemacs.org>
8631 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
8632 Previous patch missed DEFVAR_INT_MAGIC.
8633 Make sure future DEFVAR_foo use correct types.
8634 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
8635 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
8636 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
8637 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
8638 * (DEFVAR_INT): Likewise.
8639 * redisplay.c (vertical_clip): Should be of type Fixnum.
8640 * redisplay.c (horizontal_clip): Likewise.
8641 * lisp.h (dump_add_opaque_int): New.
8642 (dump_add_opaque_fixnum): New.
8644 2001-01-29 Andy Piper <andy@xemacs.org>
8646 * glyphs-widget.c (check_valid_int_or_function): allow symbols
8647 since they can be eval'ed
8649 2001-01-29 Martin Buchholz <martin@xemacs.org>
8651 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
8652 Oops, XEmacs redefines `class'. Use `typename' instead.
8654 2001-01-28 Martin Buchholz <martin@xemacs.org>
8656 * dumper.c: Fix C++ compile errors.
8658 2001-01-29 Martin Buchholz <martin@xemacs.org>
8660 * tparam.c: Use correct prototypes.
8662 2001-01-28 Martin Buchholz <martin@xemacs.org>
8664 * sysproc.h: #include util.h for NetBSD's openpty.
8666 2001-01-27 Martin Buchholz <martin@xemacs.org>
8668 More 64-bit correctness.
8669 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
8670 Use a typedef `fixnum' for the type used for DEFVAR_INT.
8672 This finally finishes the 64-bit SGI port.
8673 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
8674 * symbols.c: Fix up comments and type casts.
8675 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
8676 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
8677 * symeval.h (Fixnum): New type.
8678 * symeval.h (symbol_value_type): Fix up comment.
8694 * mule-canna.c: A million DEFVAR_INTs here...
8695 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
8708 s/int/Fixnum/g in DEFVAR_INT declarations.
8710 2001-01-26 Martin Buchholz <martin@xemacs.org>
8712 Port pdump to SGI alignment-sensitive environment.
8713 Lisp Object sizeof methods now return aligned sizes. Rely on that.
8714 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
8716 Define and use aligned reading and writing macros.
8717 Use buffered stdio instead of posix i/o for faster dumping.
8718 Eliminate kludgy 256 byte space for header.
8719 Read and write from dump file using structs for alignment safety.
8720 * dumper.c (pdump_align_stream): New.
8721 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
8722 * dumper.c (PDUMP_READ_ALIGNED): New.
8723 * dumper.c (PDUMP_WRITE_ALIGNED): New.
8724 * dumper.c (pdump_static_Lisp_Object): New struct.
8725 * dumper.c (pdump_static_pointer): New struct.
8726 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
8727 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
8728 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
8729 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
8731 * dumper.c (pdump_backtrace):
8732 * dumper.c (pdump_get_indirect_count):
8733 * dumper.c (pdump_register_object):
8734 * dumper.c (pdump_register_struct):
8735 * dumper.c (pdump_reloc_one):
8736 * dumper.c (pdump_scan_by_alignment):
8737 * dumper.c (pdump_dump_from_root_struct_ptrs):
8738 * dumper.c (pdump_dump_opaques):
8739 * dumper.c (pdump_dump_rtables):
8740 * dumper.c (pdump_dump_from_root_objects):
8742 * dumper.c (pdump_load_finish):
8743 Use aligned reading and writing.
8745 * dumper.c (pdump_free): Make static.
8746 * dumper.c (pdump_hFile): Likewise.
8747 * dumper.c (pdump_hMap): Likewise.
8749 2001-01-26 Martin Buchholz <martin@xemacs.org>
8751 * XEmacs 21.2.43 "Terspichore" is released.
8753 2001-01-25 Martin Buchholz <martin@xemacs.org>
8755 Type fiddling for window_config.saved_windows_count
8756 * window.c (struct window_config):
8757 Make saved_windows_count member unsigned.
8758 * window.c (sizeof_window_config_for_n_windows):
8759 Make parameter unsigned.
8760 * window.c (mark_window_config):
8761 * window.c (window_config_equal):
8762 * window.c (free_window_configuration):
8763 * window.c (Fset_window_configuration):
8764 * window.c (count_windows):
8765 * window.c (Fcurrent_window_configuration):
8766 * window.c (reinit_vars_of_window):
8767 Update all callers and users.
8769 2001-01-25 Martin Buchholz <martin@xemacs.org>
8771 Alignment correctness for flexible arrays.
8772 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
8773 Make alignment-correct. Add interesting comments.
8774 * alloc.c (size_vector):
8775 * alloc.c (make_vector_internal):
8776 * alloc.c (make_bit_vector_internal):
8777 * alloc.c (sweep_bit_vectors_1):
8778 * fns.c (size_bit_vector):
8779 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
8780 * window.c (sizeof_window_config_for_n_windows):
8781 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
8783 2001-01-24 Martin Buchholz <martin@xemacs.org>
8785 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
8787 2001-01-23 Andy Piper <andy@xemacs.org>
8789 * select.c (Fown_selection_internal): pass owned_p
8791 * select-msw.c (mswindows_own_selection): New Signature.
8793 * console.h (struct console_methods): add owned_p to
8796 * select-x.c (x_own_selection): pass owned_p
8797 (hack_motif_clipboard_selection): use owned_p
8798 (vars_of_select_x): new variable -
8799 x_selection_strict_motif_ownership.
8801 2001-01-23 Martin Buchholz <martin@xemacs.org>
8803 * specifier.h (specifier_data_offset): Remove pointless parens.
8804 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
8806 2001-01-24 Martin Buchholz <martin@xemacs.org>
8808 Make Lisp_Object sizeof methods be alignment-correct.
8809 pdump must restore objects to the same alignment as the C compiler
8810 assumes. It really matters on SGIs.
8811 * lstream.c (aligned_sizeof_lstream): New.
8812 (sizeof_lstream): Use aligned_sizeof_lstream.
8813 (Lstream_new): Likewise.
8814 * opaque.c (aligned_sizeof_opaque): New.
8815 (sizeof_opaque): Use aligned_sizeof_opaque.
8816 (make_opaque): Likewise.
8817 * specifier.c (aligned_sizeof_specifier): New.
8818 (sizeof_specifier): Use aligned_sizeof_specifier.
8819 (make_specifier_internal): Likewise.
8821 2001-01-23 Martin Buchholz <martin@xemacs.org>
8823 * lstream.h (struct lstream): Use max_align_t for trailing data.
8824 * specifier.h (struct Lisp_Specifier): Likewise.
8826 2001-01-22 Martin Buchholz <martin@xemacs.org>
8828 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
8829 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
8830 (CCL_SUSPEND): Likewise.
8831 (CCL_INVALID_CMD): Likewise.
8832 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
8833 (ccl_driver): Likewise.
8834 (CCL_WRITE_CHAR): Macro hygiene.
8835 (CCL_WRITE_STRING): Macro hygiene.
8837 2001-01-22 Martin Buchholz <martin@xemacs.org>
8839 Port "portable" dumper to SunOS 4 and HP-UX.
8840 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
8841 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
8842 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
8844 2001-01-22 Martin Buchholz <martin@xemacs.org>
8846 * lisp.h (ALIGNOF): A better definition for C++.
8848 2001-01-20 Martin Buchholz <martin@xemacs.org>
8851 Fix printf warnings: int format, long int arg.
8852 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
8853 (PUSH_FAILURE_POINT): Use correct printf formats.
8854 (POP_FAILURE_POINT): Use correct printf formats.
8855 Use do {...} while (0)
8857 2001-01-20 Martin Buchholz <martin@xemacs.org>
8859 * XEmacs 21.2.42 "Poseidon" is released.
8861 2001-01-20 Martin Buchholz <martin@xemacs.org>
8863 * console-x.h: typo fix du jour. Remove #if 0'ed code.
8865 2001-01-19 Martin Buchholz <martin@xemacs.org>
8867 De-kludgify FIXED_TYPE free list frobbing.
8868 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
8869 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
8870 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
8871 * alloc.c (Lisp_Free): New pseudo lisp object definition.
8872 * alloc.c (LRECORD_FREE_P): New.
8873 * alloc.c (MARK_LRECORD_AS_FREE): New.
8874 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
8875 * alloc.c (STRUCT_FREE_P): Deleted.
8876 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
8877 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
8878 * alloc.c (STRING_CHARS_FREE_P): New.
8879 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
8880 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
8881 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
8882 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
8883 * alloc.c (resize_string): Use new definitions.
8884 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
8885 * alloc.c (verify_string_chars_integrity): Use new definitions.
8886 * alloc.c (compact_string_chars): Use new definitions.
8887 * alloc.c: Update monster comments.
8888 * lrecord.h (lrecord_type): Add some new lrecord types for
8891 2001-01-18 Martin Buchholz <martin@xemacs.org>
8893 Improve alignment hackery.
8894 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
8895 (max_align_t): Moved from opaque.h - general purpose.
8896 (ALIGN_PTR): Use size_t, not long.
8897 * opaque.h (max_align_t): Move to lisp.h.
8899 2001-01-18 Norbert Koch <nk@LF.net>
8901 * gui.h: Fix and add prototypes to fix build problems.
8903 2001-01-18 Martin Buchholz <martin@xemacs.org>
8905 temacs is going away, so `dump-temacs' is now a bad name.
8906 * .dbxrc (dump-temacs): Rename to `dmp'.
8907 * .gdbinit (dump-temacs): Rename to `dmp'.
8909 2001-01-17 Andy Piper <andy@xemacs.org>
8911 * glyphs.c (print_image_instance): comment to make martin happy.
8913 * glyphs-x.c (x_redisplay_widget): update faces after a frame
8916 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
8918 (mswindows_tab_control_redisplay): warning suppression.
8920 * glyphs-widget.c (widget_update): re-write to cope with updated
8922 (widget_instantiate): use new gui_item functions.
8923 (tab_control_update): deleted.
8924 (progress_gauge_update): deleted.
8925 (image_instantiator_progress_guage): take out update reference.
8926 (image_instantiator_tree_view): ditto.
8927 (image_instantiator_tab_control): ditto.
8929 * gui.c (widget_gui_parse_item_keywords): new function. Do things
8931 (gui_item_add_keyval_pair): re-write to cope with descriptors and
8932 return whether anything was changed.
8933 (update_gui_item_keywords): as it sounds.
8935 * gui.h: declare widget_gui_parse_item_keywords.
8937 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
8938 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
8940 2001-01-17 Martin Buchholz <martin@xemacs.org>
8942 * XEmacs 21.2.41 "Polyhymnia" is released.
8944 2001-01-16 Didier Verna <didier@xemacs.org>
8946 * glyphs.c (image_instantiate): don't use fallbacks when
8947 instantiating a face's background pixmap by inheritance.
8949 2001-01-14 Mike Sperber <mike@xemacs.org>
8951 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
8952 Conditionalize accordingly.
8954 2001-01-16 Martin Buchholz <martin@xemacs.org>
8956 * dumper.c (pdump_file_get): Fix a compiler warning.
8958 2001-01-15 Martin Buchholz <martin@xemacs.org>
8960 Make Purify happy when pdumping.
8961 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
8962 iniitalizing all bits of new lisp object memory.
8963 * symbols.c (Fmake_local_variable): Likewise.
8964 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
8965 * symbols.c (Fdefvaralias): Likewise.
8966 * mule-charset.c (vars_of_mule_charset): Likewise.
8968 2001-01-15 Martin Buchholz <martin@xemacs.org>
8969 Add the `-nd' flag when running pre-dump operations under the debugger.
8970 * .dbxrc (run-temacs): Add `-nd'.
8971 * .dbxrc (update-elc): Likewise.
8972 * .dbxrc (dump-temacs): Likewise.
8973 * .gdbinit (run-temacs): Likewise.
8974 * .gdbinit (check-temacs): Likewise.
8975 * .gdbinit (update-elc): Likewise.
8976 * .gdbinit (dump-temacs): Likewise.
8978 2001-01-14 Martin Buchholz <martin@xemacs.org>
8980 Allow building 64-bit executables on AIX with GNU malloc, e.g.
8981 export OBJECT_MODE=64
8982 configure --pdump --use-union-type=no
8983 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
8984 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
8986 * miscplay.c (sndcnv8U_2mono):
8987 Avoid two uses of `++' in the same expression.
8988 Suppresses a GCC warning.
8990 2001-01-13 Martin Buchholz <martin@xemacs.org>
8992 Make sure future compilers don't miscompile alloc.c.
8994 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
8995 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
8997 2001-01-12 Martin Buchholz <martin@xemacs.org>
8999 * dumper.c: A little post-pdump-rename comment fixup.
9001 2001-01-09 Jerry James <james@eecs.ku.edu>
9003 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
9005 2001-01-13 Martin Buchholz <martin@xemacs.org>
9007 * *.[ch]: Globally rename symbols using the following `pdump-rename'
9011 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
9014 replace_symbol pdump_wire_lists pdump_weak_object_chains
9015 replace_symbol pdump_wire_list dump_add_weak_object_chain
9017 replace_symbol pdump_wires pdump_root_objects
9018 replace_symbol pdump_wire dump_add_root_object
9020 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
9021 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
9023 replace_symbol dumpstructinfos pdump_root_struct_ptrs
9024 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
9025 replace_symbol dumpstructinfo pdump_root_struct_ptr
9026 replace_symbol dumpstruct dump_add_root_struct_ptr
9028 replace_symbol dumpopaque dump_add_opaque
9029 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
9030 replace_symbol dumpopaqueinfos pdump_opaques
9031 replace_symbol dumpopaqueinfo pdump_opaque
9033 replace_symbol nb_structdump nb_root_struct_ptrs
9034 replace_symbol nb_opaquedump nb_opaques
9036 replace_symbol align_table pdump_align_table
9037 replace_symbol dump_header pdump_header
9039 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
9040 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
9043 2001-01-12 Martin Buchholz <martin@xemacs.org>
9045 * s/aix4.h: Keep the C for AIX compiler from overaggressively
9046 optimizing bytecount_to_charcount().
9048 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9051 (HAVE_DLFCN_H): Removed.
9052 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
9054 2001-01-06 Martin Buchholz <martin@xemacs.org>
9056 Portable dumper maintainability improvements.
9057 * alloc.c (staticpro):
9058 * alloc.c (staticpro_nodump):
9059 * alloc.c (garbage_collect_1):
9060 * alloc.c (reinit_alloc_once_early):
9061 * alloc.c (init_alloc_once_early):
9062 * alloc.c: Move dumper functions to alloc.c.
9063 * dumper.c (pdump_backtrace):
9064 * dumper.c (pdump_dump_structs):
9065 * dumper.c (pdump_dump_opaques):
9066 * dumper.c (pdump_dump_rtables):
9067 * dumper.c (pdump_dump_wired):
9069 * dumper.c (pdump_load_check):
9070 * dumper.c (pdump_load_finish):
9071 * dumper.c (pdump_file_unmap):
9072 * dumper.c (pdump_file_get):
9073 * dumper.c (pdump_resource_free):
9074 * dumper.c (pdump_resource_get):
9075 * dumper.c (pdump_file_free):
9076 * dumper.c (pdump_file_try):
9077 * dumper.c (pdump_load):
9078 Remove fixed size limits on staticpro(), staticpro_nodump(),
9079 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
9080 Remove custom code for dumping lrecord_implementations_table - use
9082 Remove (most of the) custom code for dumping staticpros - dump it
9083 like any other dynarr.
9085 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
9086 * dumper.c: Moved functions from alloc.c.
9087 * alloc.c (dumpstruct): Moved to dumper.c.
9088 * alloc.c (dumpopaque): Likewise.
9089 * alloc.c (pdump_wire): Likewise.
9090 * alloc.c (pdump_wire_list): Likewise.
9092 * lisp.h (Dynarr_sizeof): New.
9093 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
9094 * lisp.h (Dynarr_end): New. Very slightly C++oid.
9095 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
9097 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
9098 * lisp.h (dumpopaque): ditto.
9099 * lisp.h (pdump_wire): ditto.
9100 * lisp.h (pdump_wire_list): ditto.
9102 2001-01-09 Martin Buchholz <martin@xemacs.org>
9104 * make-src-depend (PrintPatternDeps):
9105 Use `sort' to make output independent of perl version.
9107 2001-01-08 Martin Buchholz <martin@xemacs.org>
9110 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
9111 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
9113 2001-01-03 Didier Verna <didier@xemacs.org>
9115 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
9116 that `focus_frame' is alive before thinking of calling
9117 `redisplay_redraw_cursor' on it.
9119 2001-01-08 Martin Buchholz <martin@xemacs.org>
9121 * XEmacs 21.2.40 is released.
9123 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9125 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
9127 2001-01-06 Martin Buchholz <martin@xemacs.org>
9129 * alloc.c (dbg_valmask): Make const.
9130 * alloc.c (dbg_typemask): Make const.
9131 * alloc.c (dbg_USE_UNION_TYPE): Make const.
9132 * alloc.c (dbg_valbits): Make const.
9133 * alloc.c (dbg_gctypebits): Make const.
9135 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
9137 * redisplay-x.c (x_bevel_area):
9138 redisplay.h (struct rune):
9139 Typo fixes in comments.
9141 2001-01-05 Andy Piper <andy@xemacs.org>
9143 * glyphs-x.c (x_redisplay_widget): use size changed for offset
9146 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
9148 2001-01-05 Martin Buchholz <martin@xemacs.org>
9150 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
9152 * mule-ccl.c (stack_idx_of_map_multiple):
9153 Non const global data must not be initialized!
9154 Found by MIYASHITA Hisashi.
9156 2001-01-02 Andy Piper <andy@xemacs.org>
9158 * frame.c (change_frame_size): make sure frame size is always
9161 * glyphs.c (image_instance_layout): minor code reuse.
9163 * window.c (Fcurrent_window_configuration): revert previous
9166 2001-01-02 Martin Buchholz <martin@xemacs.org>
9169 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
9171 2000-12-31 Andy Piper <andy@xemacs.org>
9173 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
9174 when widget gets unmapped.
9176 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
9177 function. Make sure widgets losing focus don't just drop it.
9178 (handle_focus_event_1): record the widget with focus.
9180 2000-12-31 Andy Piper <andy@xemacs.org>
9182 * window.c (allocate_window): use
9183 make_image_instance_cache_hash_table.
9184 (make_dummy_parent): ditto.
9185 (Fset_window_configuration): ditto.
9187 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
9189 * glyphs.c (process_image_string_instantiator): use
9191 (get_image_instantiator_governing_domain): ditto.
9192 (normalize_image_instantiator): ditto.
9193 (instantiate_image_instantiator): ditto.
9194 (make_image_instance_1): ditto.
9195 (image_instantiate): ditto. Key on glyph *and* instantiator type.
9196 (instantiator_eq_equal): new function for use with instance hash
9198 (instantiator_eq_hash): ditto.
9199 (make_image_instance_cache_hash_table): create a suitable hash
9200 table for storing image instances.
9202 * elhash.h (hash_table_weakness): new internal weakness type
9203 HASH_TABLE_KEY_CAR_VALUE_WEAK.
9204 declare new functions.
9206 * elhash.c (finish_marking_weak_hash_tables): introduce yet
9207 another weakness type for glyphs.
9208 (make_standard_lisp_hash_table): new function split out from
9209 make_general_lisp_hash_table.
9210 (make_lisp_hash_table): call make_standard_lisp_hash_table.
9211 (hash_table_instantiate): ditto.
9212 (Fmake_hash_table): ditto.
9214 2000-12-31 Martin Buchholz <martin@xemacs.org>
9216 * XEmacs 21.2.39 is released.
9218 2000-12-29 Andy Piper <andy@xemacs.org>
9220 * menubar.c (menubar_visible_p_changed): signal the frame changed.
9222 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
9223 the frame has changed so that we pick up geometry changes such as
9226 2000-12-28 Andy Piper <andy@xemacs.org>
9228 * lastfile.c (my_ebss): make a char array so we can pad the
9229 bss. Fixes cygwin unexec.
9231 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
9233 2000-12-26 Andy Piper <andy@xemacs.org>
9235 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
9236 comments and try and be more precise about a non-/SIGIO world.
9237 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
9240 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
9241 we don't normalize to zero width or height.
9243 2000-12-24 Andy Piper <andy@xemacs.org>
9245 * Makefile.in.in (ldflags): add -mwindows when appropriate.
9247 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
9249 * s/sco5.h: SCO 5 has pty support.
9251 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
9253 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
9254 input-method-xlib.c contains whole contents of input-method-xfs.c,
9255 so we can use input-method-xlib.c's code for USE_XFONTSET
9257 * input-method-xfs.c: removed.
9259 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
9261 * file-coding.h (enum coding_category_type): reorder enumerators to
9262 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
9263 (now one greater than largest real coding_category_type enumerator).
9264 * file-coding.c (coding_category_symbol, coding_category_by_priority,
9265 coding_category_system, fcd_descriptihon_1, decode_coding_category,
9266 Fcoding_category_list, Fset_coding_priority_list,
9267 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
9268 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
9270 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
9272 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
9273 * redisplay-output.c (redisplay_output_window): Clear top of window
9274 when face is changed.
9275 * redisplay-x.c (x_redraw_exposed_window): Call
9276 redisplay_clear_top_of_window.
9277 * redisplay.h: Publish redisplay_clear_top_of_window.
9279 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
9281 * buffer.c (Fkill_buffer): Map over all devices.
9282 * window.c (window_loop): Remove UNSHOW_BUFFER code.
9283 (list_windows): New function.
9284 (list_all_windows): Ditto.
9285 (Freplace_buffer_in_windows): Use them.
9287 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
9289 * database.c (berkdb_subtype): Recognize new subtype `queue'.
9290 (Fopen_database): Use `db_create' instead of `db_open'.
9291 (syms_of_database): Initialize Qqueue.
9293 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9295 * buffer.c (common_init_complex_vars_of_buffer): Initialize
9296 buffer_local_face_property.
9297 * buffer.h (struct buffer): New member buffer_local_face_property.
9298 * window.c (Fset_window_buffer): Mark window's face as changed
9299 when buffer has buffer local face.
9300 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
9301 * objects.c (color_after_change): Set buffer_local_face_property
9302 when locale of face specifier is buffer.
9303 * objects.c (font_after_change): Ditto.
9304 * objects.c (face_boolean_after_change): Ditto.
9305 * glyphs.c (image_after_change): Ditto.
9307 2000-12-09 Dan Holmsand <dan@eyebee.com>
9309 * nt.c (mswindows_fstat): Report file permissions, volume serial
9310 number, etc. Code adapted from FSF Emacs 20.7.
9312 2000-12-09 Dan Holmsand <dan@eyebee.com>
9314 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
9315 of stat when we don't have symbolic links, to make sure
9316 mswindows_stat is called on mswindows.
9318 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
9320 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
9322 2000-12-12 Martin Buchholz <martin@xemacs.org>
9324 * doprnt.c (emacs_doprnt_1): More printing fixes.
9325 Make printing of numbers compatible with libc and FSF Emacs.
9326 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
9327 Use the system printf to do most of the hard work of formatting,
9328 instead of doprnt_1().
9329 Calculate memory to allocate for format string.
9330 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
9331 (doprnt_1): Cleaner code and documentation.
9333 2000-12-01 Jerry James <james@eecs.ukans.edu>
9335 * Makefile.in.in: Use the loop variable to install headers.
9337 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9339 * window.c (Fsplit_window): Don't invalidate face cache.
9341 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9343 * minibuf.c (Fall_completions): Undo the previous change
9344 which removed checking elements start with space.
9346 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
9348 * mule-canna.c: Didier suppression.
9350 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
9352 * mule-canna.c: rename static unsigned char buf[] to key_buffer
9353 (warning suppression). Add English comment translations.
9355 2000-12-05 Martin Buchholz <martin@xemacs.org>
9357 * unexelfsgi.c (unexec): Better test for mmap failure.
9359 2000-12-05 Martin Buchholz <martin@xemacs.org>
9361 * XEmacs 21.2.38 is released.
9363 2000-12-05 Martin Buchholz <martin@xemacs.org>
9365 * redisplay.c (bar-cursor): Make a user variable.
9367 * symsinit.h: Add init_postgresql_from_environment.
9369 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9371 * regex.c: Convert to clean C.
9373 2000-12-05 Dan Holmsand <dan@eyebee.com>
9376 Don't #include sysfile.h. Revert to duplicating PATH_MAX
9378 (sys_readlink): renamed to system_readlink to avoid conflict with
9379 the other sys_readlink.
9381 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
9383 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
9385 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
9387 * postgresql.c (init_postgresql_from_environment): new function.
9388 (vars_of_postgresql): Move code initializing Lisp variables out and
9389 into init_postgresql_from_environment.
9390 emacs.c (main_1): Call init_postgresql_from_environment if and only
9391 if running a dumped XEmacs.
9393 2000-08-31 Dan Holmsand <dan@eyebee.com>
9395 * buffer.c: Make find-file-compare-truenames default to true on
9398 * realpath.c (win32_abs_start):
9400 (win32_readlink): New functions.
9401 (xrealpath): Return really real filenames on windows.
9403 * fileio.c (Ffile_truename): Make file-truename work on windows.
9405 2000-11-29 Didier Verna <didier@xemacs.org>
9407 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
9408 * faces.c (update_face_cachel_data): use it.
9409 * faces.c (add_face_cachel): use it. Complete background pixmap
9410 frobbing in face cache if `update_face_cachel_data' has not done so.
9412 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
9414 * search.c (string_match_1): Don't set last_thing_searched
9417 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
9419 * buffer.c: Include casetab.h
9420 (common_init_complex_vars_of_buffer): Use new case-table object.
9421 * buffer.h: Include casetab.h
9422 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
9423 (DOWNCASE_TABLE_OF): Ditto.
9424 * bufslots.h: Remove char-tables and add case-table.
9425 * casetab.c: Include casetab.h
9426 (CASE_TABLE_P): Removed.
9427 (mark_case_table): New function.
9428 (allocate_case_table): New function.
9429 (Fcase_table_p): Use new case-table.
9430 (case_table_char): New function.
9431 (Fget_case_table): Ditto.
9432 (Fput_case_table): Ditto.
9433 (Fput_case_table_pair): Ditto.
9434 (Fcopy_case_table): Ditto.
9435 (Fcurrent_case_table): Return case-table.
9436 (Fstandard_case_table): Return case-table.
9437 (Fset_case_table): Fix doc-string.
9438 (set_case_table): Use case-table
9439 (syms_of_casetab): DEFSUBR new functions.
9440 (complex_vars_of_casetab): Set up standard case-table.
9441 * casetab.h: New file.
9442 * editfns.c: Include casetab.h
9443 (Fcompare_buffer_substrings): Use case-table.
9444 * inline.c: Include casetab.h
9445 * lisp.h: Remove bogus extern.
9446 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
9447 * search.c: Include casetab.h
9448 (TRANSLATE_ASCII): Removed.
9449 (TRANSLATE): Unconditionally translate character.
9450 (looking_at_1): Use case-table.
9451 (string_match_1): Ditto.
9452 (fast_string_match): Ditto.
9453 (search_command): Ditto.
9454 (search_buffer): Separate boyer_moore. Check whether
9455 boyer_moore is possible.
9456 (simple_search): New function.
9457 (boyer_moore): Separated from search_buffer. Translate char.
9459 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
9461 * regex.c (RE_TR_ASCII): Removed.
9462 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
9463 (PATFETCH): Call PATFETCH_RAW.
9464 (PATFETCH_RAW): Fetch Emchar.
9465 (PATUNFETCH): Decrement charptr.
9466 (GET_BUFFER_SPACE): Rename b to buf_end.
9468 (BUF_PUSH_2): Ditto.
9469 (BUF_PUSH_3): Ditto.
9470 (EXTEND_BUFFER): Ditto.
9471 (SET_LIST_BIT): Ditto.
9472 (regex_compile): Ditto. Translate non ASCII char.
9473 (compile_range): Ditto.
9474 (re_search_2): Ditto.
9475 (re_match_2_internal): Compare Emchar.
9476 (bcmp_translate): Ditto.
9478 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
9480 * lisp.h (basic char/int typedefs): comment improvement.
9482 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
9484 * emacs.c (main_1): unconditional pdump unstomping; don't save and
9485 unstomp inhibit_site_lisp. Improve comments.
9487 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
9489 * mule-charset.c (Fcharset_property): improve type checking, comments.
9491 2000-11-28 Andy Piper <andy@xemacs.org>
9493 * redisplay-output.c (redisplay_output_subwindow): make sure we do
9494 clipped display for windows in the gutter also.
9495 (redisplay_display_boxes_in_window_p): change semantics of return
9496 codes to be more intuitive.
9498 * gutter.h: declare display_boxes_in_gutter_p.
9500 * gutter.c (display_boxes_in_gutter_p): new function for
9503 2000-11-22 Andy Piper <andy@xemacs.org>
9505 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
9508 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
9510 * callproc.c (Fold_call_process_internal):
9511 * gpm.c (Freceive_gpm_event):
9512 (tty_get_foreign_selection): Might be just warning supression.
9513 * fileio.c (Fwrite_region_internal):
9514 (Fset_visited_file_modtime):
9515 * keymap.c (event_matches_key_specifier_p):
9516 Initialize GCPROed variable.
9518 * menubar-x.c (command_builder_find_menu_accelerator):
9519 Initialize before use.
9521 2000-11-23 Andy Piper <andy@xemacs.org>
9523 * unexcw.c (unexec): make the resulting executable executable.
9525 2000-11-21 Martin Buchholz <martin@xemacs.org>
9527 * doc.c (get_doc_string):
9528 Use size_t, not int, for result of XSTRING_LENGTH.
9530 * cmds.c (Fdelete_char):
9531 * cmds.c (Fpoint_at_eol):
9532 * cmds.c (Fself_insert_command):
9533 Use EMACS_INT, not int, for result of XINT.
9534 Someday, someone will want to insert more than 2**31 identical characters.
9536 * cmds.c (Fdelete_char):
9537 * cmds.c (Fdelete_backward_char):
9538 * syntax.c (Fforward_word):
9539 * syntax.c (Fforward_comment):
9540 Make COUNT argument optional, for consistency with forward-char et al.
9542 2000-11-22 Martin Buchholz <martin@xemacs.org>
9545 * print.c (long_to_string):
9546 Return a useful value: the pointer at end of data written.
9549 Use `static const char * const' for constant strings.
9550 (union printf_arg): Delete `i', `ui' members.
9553 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
9554 Do all printf-ing via the `l' specifier.
9555 Use EMACS_INT instead of int.
9558 2000-11-20 Didier Verna <didier@xemacs.org>
9560 * faces.c (update_face_cachel_data): don't frob the background
9561 pixmap when the window is being created. The face is needed but
9564 2000-11-20 Andy Piper <andy@xemacs.org>
9566 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
9567 messing with a debug environment.
9569 2000-11-20 Martin Buchholz <martin@xemacs.org>
9571 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
9573 2000-11-20 Martin Buchholz <martin@xemacs.org>
9575 * casetab.c (Fcase_table_p): Fix compile error and crash.
9577 2000-11-18 Philip Aston <philipa@mail.com>
9579 * s/cygwin32.h: Cygwin has SVR4-like pty support.
9581 2000-11-18 Martin Buchholz <martin@xemacs.org>
9583 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
9584 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
9586 2000-11-17 Martin Buchholz <martin@xemacs.org>
9588 * config.h.in: Define HAVE_ELF_H if elf.h exists.
9589 * unexelf.c: Use HAVE_ELF_H.
9590 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
9591 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
9592 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
9593 Greg Harrington <greg_harrington@hotmail.com> provided a machine
9595 So this is an unexelfsgi.c from a different line of development.
9597 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
9599 * regex.c (RE_TR_ASCII): New function.
9600 (RE_TRANSLATE): Call it.
9602 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
9604 * buffer.h (TRT_TABLE_OF): Remove assert.
9605 (IN_TRT_TABLE_DOMAIN): Removed.
9607 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
9609 * free-hook.c (log_gcpro):
9610 (show_gcprohist): Add support for GCPRO5.
9612 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
9614 * emacs.c (main_1): Improve -sd error message when --pdump=no.
9616 2000-11-16 Olivier Galibert <galibert@xemacs.org>
9618 * symeval.h: Declare flush_all_buffer_local_cache.
9620 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
9621 (flush_buffer_local_cache): Added.
9622 (flush_all_buffer_local_cache): Added.
9624 * lrecord.h: Remove unused XD_LO_RESET_NIL.
9626 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
9627 (pdump_dump_data): Ditto.
9628 (pdump_reloc_one): Ditto.
9629 (pdump): Remove unused pdump_qnil. Flush buffer local caches
9633 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
9635 * buffer.c: Remove if 0'ed entry.
9636 * buffer.h: Rewrite TRT to use char-table.
9637 * bufslots.h: Remove mirror tables.
9638 * casetab.c: Remove mirror tables.
9639 (CASE_TABLE_P): New macro.
9640 (Fcase_table_p): Element of a case table is string or char-table.
9641 (make_mirror_trt_table): Removed.
9642 (set_case_table): Setup char-table from strings for backward
9644 * dired.c (Fdirectory_files):
9645 * dired-msw.c: (mswindows_get_files):
9646 * lisp.h: Change prototype of re_pattern_buffer.
9647 * regex.c: (RE_TRANSLATE): New macro.
9648 (TRANSLATE_P): Ditto.
9649 Change translate to type RE_TRANSLATE_TYPE.
9650 * regex.h: Define RE_TRANSLATE_TYPE
9651 * search.c (TRANSLATE): New macro.
9652 (TRANSLATE_ASCII): New macro.
9653 Translate table is changed to Lisp_Object.
9654 (signal_failure): Inhibit return.
9656 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
9663 Do UNGCPRO before return.
9665 2000-11-14 Martin Buchholz <martin@xemacs.org>
9667 * XEmacs 21.2.37 is released.
9669 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9671 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
9672 Add comments about discarded return value.
9674 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
9677 * event-stream.c: Fix comments. Remove some #if 0'ed part.
9679 2000-10-27 Andy Piper <andy@xemacs.org>
9681 * gutter.c (Fset_default_gutter_position): default left and right
9683 (calculate_gutter_size): calculate resonable heuristic for left
9684 and right gutter sizes.
9685 (specifier_vars_of_gutter): change left and right gutter sizes to
9687 (calculate_gutter_size_from_display_lines): new function.
9688 (output_gutter): check for resizing on left and right gutters.
9689 (clear_gutter): don't special case top and left gutters.
9690 (specifier_vars_of_gutter): use new signature for
9691 set_specifier_caching.
9693 * glyphs-x.c (x_redisplay_widget): spelling fix.
9694 * glyphs.c (specifier_vars_of_glyphs):
9695 * menubar.c (specifier_vars_of_menubar):
9696 * redisplay.c (specifier_vars_of_redisplay):
9697 * toolbar.c (specifier_vars_of_toolbar):
9698 * window.c (specifier_vars_of_window):
9699 * scrollbar.c (specifier_vars_of_scrollbar):
9700 (complex_vars_of_scrollbar): use new signature for
9701 set_specifier_caching.
9703 * specifier.c (set_specifier_caching): include recompute flag.
9704 (recompute_one_cached_specifier_in_window): always recompute if
9706 (recompute_one_cached_specifier_in_frame): ditto.
9708 * specifier.h (struct specifier_caching): add recompute flag.
9710 2000-10-24 Andy Piper <andy@xemacs.org>
9712 * unexcw.c (copy_executable_and_dump_data_section): add new
9713 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
9716 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
9718 * console-x.h (x_device): New member modifier_release_time.
9719 * event-Xt.c (x_handle_sticky_modifiers):
9720 Bound interval modifier keys are sticky.
9721 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
9722 * events.h: extern it.
9724 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
9726 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
9728 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
9730 * event-stream.c (execute_command_event): Preserve current_events
9731 and the like when event is misc-user-event.
9732 Inhibit quit during the call to maybe_echo_keys.
9734 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
9736 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
9737 symlink when buffer is killed.
9738 (inhibit_clash_detection): New variable.
9740 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
9742 * console.c (Fset_input_method): Trigger redisplay on tty.
9744 2000-11-07 Martin Buchholz <martin@xemacs.org>
9746 * process.c (Fprocess_status): Revert to previous behavior:
9747 (process-status "nosuchprocess") ==> nil
9749 2000-11-06 Martin Buchholz <martin@xemacs.org>
9751 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
9752 Work around another GCC 2.95.2 optimizer bug.
9754 2000-11-02 Martin Buchholz <martin@xemacs.org>
9756 * process.c (Fget_process): Use LIST_LOOP_2.
9757 (kill_buffer_processes): Use LIST_LOOP_2.
9759 * minibuf.c (Fall_completions):
9760 Delete old non-functional code for FSF fourth argument.
9762 * frame.c (frame_matches_frame_spec):
9763 Renamed from `frame_matches_frametype'. Update all callers.
9764 (device_matches_device_spec):
9765 Renamed from 'device_matches_console_spec'. Update all callers.
9767 * doc.c (Fsubstitute_command_keys):
9768 Remove buffer overflow crash. Small code cleanups.
9770 * casetab.c (check_case_table): Simpler code.
9772 * window.c (Freplace_buffer_in_windows):
9773 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
9774 (and similar implementation) as Fdelete_windows_on.
9777 * alloc.c (Fmake_list):
9778 * alloc.c (make_vector):
9779 * alloc.c (Fmake_vector):
9780 * alloc.c (make_bit_vector):
9781 * alloc.c (Fmake_bit_vector):
9782 * alloc.c (Fbit_vector):
9783 * alloc.c (Fmake_string):
9784 * alloc.c (Fpurecopy):
9785 * alloc.c (Fmemory_limit):
9787 * buffer.c (Fget_buffer):
9788 * buffer.c (Fkill_buffer):
9789 * buffer.c (complex_vars_of_buffer):
9790 * bytecode.c (Fcompiled_function_stack_depth):
9791 * callint.c (Fprefix_numeric_value):
9793 * event-stream.c (Fread_key_sequence):
9795 * casetab.c (Fcase_table_p):
9796 * casetab.c (check_case_table):
9797 * casetab.c (Fset_case_table):
9798 * casetab.c (Fset_standard_case_table):
9800 * chartab.c (Fchar_table_type):
9801 * chartab.c (Freset_char_table):
9802 * chartab.c (Fget_char_table):
9803 * chartab.c (Fget_range_char_table):
9804 * chartab.c (Fput_char_table):
9805 * chartab.c (Fmap_char_table):
9806 * chartab.c (Fcategory_table_p):
9807 * chartab.c (Fcheck_category_at):
9808 * chartab.c (Fchar_in_category_p):
9809 * chartab.c (Fcategory_table):
9810 * chartab.c (Fcopy_category_table):
9811 * chartab.c (Fset_category_table):
9812 * chartab.c (Fcategory_designator_p):
9813 * chartab.c (Fcategory_table_value_p):
9814 * cmds.c (Fdelete_char):
9815 * cmds.c (Fdelete_backward_char):
9816 * cmds.c (Fself_insert_command):
9817 * cmds.c (Fself_insert_internal):
9818 * console.c (Fvalid_console_type_p):
9819 * console.c (Fcdfw_console):
9820 * console.c (Fconsole_type):
9821 * console.c (Fconsole_name):
9822 * console.c (Fconsole_device_list):
9823 * console.c (Fconsole_on_window_system_p):
9827 * data.c (Fsubr_interactive):
9828 * data.c (Fchar_to_int):
9829 * data.c (Fint_to_char):
9832 * data.c (Fnumber_to_string):
9833 * data.c (Fstring_to_number):
9835 * database.c (mark_database):
9836 * database.c (finalize_database):
9837 * database.c (Fdatabase_live_p):
9838 * database.c (Fdatabasep):
9839 * device-x.c (Fx_get_resource):
9840 * device.c (Fdfw_device):
9842 * dired.c (Ffile_name_completion):
9843 * dired.c (Ffile_name_all_completions):
9844 * dired.c (Fuser_name_completion):
9845 * dired.c (Fuser_name_completion_1):
9846 * dired.c (Fuser_name_all_completions):
9847 * doc.c (Fdocumentation):
9848 * doc.c (Fdocumentation_property):
9849 * doc.c (Fsubstitute_command_keys):
9851 * editfns.c (Fchar_to_string):
9852 * editfns.c (Fstring_to_char):
9853 * editfns.c (Ftemp_directory):
9854 * editfns.c (Finsert_char):
9855 * editfns.c (Fbuffer_substring_no_properties):
9856 * editfns.c (Fnarrow_to_region):
9857 * editfns.c (Fchar_equal):
9858 * editfns.c (Fchar_Equal):
9859 * editfns.c (Ftranspose_regions):
9860 * emacs.c (Fdump_emacs):
9862 * eval.c (Fcommand_execute):
9863 * eval.c (Fautoload):
9864 * eval.c (Fbacktrace):
9865 * eval.c (Fbacktrace_frame):
9867 * events.c (Fcopy_event):
9868 * events.c (Fcharacter_to_event):
9869 * events.c (Fevent_button):
9870 * events.c (Fevent_process):
9872 * extents.c (Fnext_extent_change):
9873 * extents.c (Fextent_property):
9875 * faces.c (Fmake_face):
9877 * file-coding.c (Fencode_shift_jis_char):
9878 * file-coding.c (Fencode_big5_char):
9879 * fileio.c (Ffile_name_directory):
9880 * fileio.c (Ffile_name_nondirectory):
9881 * fileio.c (Ffile_name_as_directory):
9882 * fileio.c (Fdirectory_file_name):
9883 * fileio.c (Ffile_truename):
9884 * fileio.c (Fsubstitute_in_file_name):
9885 * fileio.c (Ffile_modes):
9886 * fileio.c (Fset_file_modes):
9887 * fileio.c (Fset_default_file_modes):
9888 * fileio.c (Fverify_visited_file_modtime):
9889 * floatfns.c (Facos):
9890 * floatfns.c (Fasin):
9891 * floatfns.c (Fatan):
9892 * floatfns.c (Fcos):
9893 * floatfns.c (Fsin):
9894 * floatfns.c (Ftan):
9895 * floatfns.c (Fbessel_j0):
9896 * floatfns.c (Fbessel_j1):
9897 * floatfns.c (Fbessel_jn):
9898 * floatfns.c (Fbessel_y0):
9899 * floatfns.c (Fbessel_y1):
9900 * floatfns.c (Fbessel_yn):
9901 * floatfns.c (Ferf):
9902 * floatfns.c (Ferfc):
9903 * floatfns.c (Flog_gamma):
9904 * floatfns.c (Fexp):
9905 * floatfns.c (Fexpt):
9906 * floatfns.c (Flog):
9907 * floatfns.c (Flog10):
9908 * floatfns.c (Fsqrt):
9909 * floatfns.c (Fcube_root):
9910 * floatfns.c (Facosh):
9911 * floatfns.c (Fasinh):
9912 * floatfns.c (Fatanh):
9913 * floatfns.c (Fcosh):
9914 * floatfns.c (Fsinh):
9915 * floatfns.c (Ftanh):
9916 * floatfns.c (Fabs):
9917 * floatfns.c (Ffloat):
9918 * floatfns.c (Flogb):
9919 * floatfns.c (Fceiling):
9920 * floatfns.c (Ffloor):
9921 * floatfns.c (Fround):
9922 * floatfns.c (Ftruncate):
9923 * floatfns.c (Ffceiling):
9924 * floatfns.c (Fffloor):
9925 * floatfns.c (Ffround):
9926 * floatfns.c (Fftruncate):
9927 * fns.c (Fstring_equal):
9928 * fns.c (Fstring_lessp):
9933 * fns.c (Fsubstring):
9935 * fns.c (Fold_assoc):
9936 * fns.c (assoc_no_quit):
9938 * fns.c (Fold_assq):
9939 * fns.c (assq_no_quit):
9941 * fns.c (Fold_rassoc):
9943 * fns.c (Fold_rassq):
9944 * fns.c (rassq_no_quit):
9945 * fns.c (Fremassoc):
9946 * fns.c (remassoc_no_quit):
9948 * fns.c (remassq_no_quit):
9949 * fns.c (Fremrassoc):
9950 * fns.c (Fremrassq):
9951 * fns.c (remrassq_no_quit):
9953 * fns.c (Fplist_get):
9954 * fns.c (Fplist_put):
9955 * fns.c (Fplist_remprop):
9956 * fns.c (Fplist_member):
9957 * fns.c (Flax_plist_get):
9958 * fns.c (Flax_plist_put):
9959 * fns.c (Flax_plist_remprop):
9960 * fns.c (Flax_plist_member):
9962 * fns.c (Fold_equal):
9964 * fns.c (Fbase64_encode_region):
9965 * fns.c (Fbase64_encode_string):
9966 * fns.c (Fbase64_decode_region):
9968 * frame.c (frame_matches_frame_spec):
9969 * frame.c (device_matches_device_spec):
9970 * frame.c (next_frame):
9971 * frame.c (previous_frame):
9972 * frame.c (Fnext_frame):
9973 * frame.c (Fprevious_frame):
9974 * frame.c (Fframe_property):
9975 * frame.c (Fset_frame_height):
9976 * frame.c (Fset_frame_size):
9980 * glyphs.c (decode_error_behavior_flag):
9981 * glyphs.c (Fmake_image_instance):
9982 * indent.c (Findent_to):
9983 * intl.c (Fignore_defer_gettext):
9984 * keymap.c (Fkeymapp):
9985 * keymap.c (Flookup_key):
9987 * lread.c (Fload_internal):
9988 * lread.c (Feval_buffer):
9989 * lread.c (Feval_region):
9990 * macros.c (Fexecute_kbd_macro):
9991 * marker.c (set_marker_internal):
9992 * marker.c (Fset_marker):
9993 * marker.c (set_marker_restricted):
9994 * marker.c (Fcopy_marker):
9995 * marker.c (noseeum_copy_marker):
9997 * menubar.c (Fpopup_menu):
9999 * mule-charset.c (Fcharset_name):
10000 * mule-charset.c (Fchar_charset):
10001 * mule-charset.c (Fchar_octet):
10002 * mule-charset.c (Fsplit_char):
10003 * mule-wnnfns.c (Fwnn_open):
10004 * mule-wnnfns.c (Fwnn_dict_comment):
10005 * mule-wnnfns.c (Fwnn_quit_henkan):
10006 * mule-wnnfns.c (Fwnn_word_toroku):
10007 * mule-wnnfns.c (Fwnn_word_sakujo):
10008 * mule-wnnfns.c (Fwnn_word_use):
10009 * mule-wnnfns.c (Fwnn_hindo_set):
10011 * objects.c (Fmake_color_instance):
10012 * objects.c (Fmake_font_instance):
10013 * print.c (Fwrite_char):
10015 * process.c (mark_process):
10016 * process.c (print_process):
10017 * process.c (get_process_from_usid):
10018 * process.c (Fprocessp):
10019 * process.c (Fprocess_live_p):
10020 * process.c (Fget_process):
10021 * process.c (Fget_buffer_process):
10022 * process.c (get_process):
10023 * process.c (Fprocess_id):
10024 * process.c (Fprocess_name):
10025 * process.c (Fprocess_command):
10026 * process.c (init_process_io_handles):
10027 * process.c (start_process_unwind):
10028 * process.c (Fstart_process_internal):
10029 * process.c (Fopen_multicast_group_internal):
10030 * process.c (Fset_process_window_size):
10031 * process.c (read_process_output):
10032 * process.c (send_process):
10033 * process.c (Fprocess_tty_name):
10034 * process.c (Fset_process_buffer):
10035 * process.c (Fprocess_buffer):
10036 * process.c (Fprocess_mark):
10037 * process.c (set_process_filter):
10038 * process.c (Fset_process_filter):
10039 * process.c (Fprocess_filter):
10040 * process.c (Fprocess_send_region):
10041 * process.c (Fprocess_send_string):
10042 * process.c (exec_sentinel):
10043 * process.c (Fset_process_sentinel):
10044 * process.c (Fprocess_sentinel):
10045 * process.c (status_notify):
10046 * process.c (Fprocess_status):
10047 * process.c (Fprocess_exit_status):
10048 * process.c (process_send_signal):
10049 * process.c (Fprocess_send_eof):
10050 * process.c (deactivate_process):
10051 * process.c (remove_process):
10052 * process.c (Fdelete_process):
10053 * process.c (kill_buffer_processes):
10054 * process.c (Fprocess_kill_without_query):
10055 * process.c (Fprocess_kill_without_query_p):
10057 * rangetab.c (Fget_range_table):
10058 * rangetab.c (Fput_range_table):
10059 * rangetab.c (Fremove_range_table):
10060 * rangetab.c (Fclear_range_table):
10062 * search.c (Fskip_chars_forward):
10063 * search.c (Fskip_chars_backward):
10064 * search.c (Fskip_syntax_forward):
10065 * search.c (Fskip_syntax_backward):
10066 * search.c (search_command):
10067 * search.c (Freplace_match):
10068 * search.c (Fregexp_quote):
10069 * select.c (Fown_selection_internal):
10070 * select.c (Fselection_owner_p):
10071 * select.c (Fselection_exists_p):
10072 * select.c (Fget_selection_internal):
10075 * symbols.c (Fintern):
10076 * symbols.c (Fintern_soft):
10077 * symbols.c (Funintern):
10078 * symbols.c (Fapropos_internal):
10079 * symbols.c (Fset_default):
10081 * syntax.c (Fsyntax_table_p):
10082 * syntax.c (Fcopy_syntax_table):
10083 * syntax.c (Fset_syntax_table):
10084 * syntax.c (Fchar_syntax):
10085 * syntax.c (syntax_match):
10086 * syntax.c (Fmatching_paren):
10087 * syntax.c (Fforward_word):
10088 * syntax.c (scan_lists):
10089 * syntax.c (Fscan_lists):
10090 * syntax.c (Fscan_sexps):
10091 * syntax.c (Fparse_partial_sexp):
10092 * toolbar.c (Fcheck_toolbar_button_syntax):
10095 * window.c (Fwindowp):
10096 * window.c (Fwindow_live_p):
10097 * window.c (Fwindow_point):
10098 * window.c (Fdelete_window):
10099 * window.c (Fnext_window):
10100 * window.c (Fprevious_window):
10101 * window.c (Fother_window):
10102 * window.c (window_loop):
10103 * window.c (Fget_lru_window):
10104 * window.c (Fsplit_window):
10105 * window.c (Fenlarge_window):
10106 * window.c (Fenlarge_window_pixels):
10107 * window.c (Fshrink_window):
10108 * window.c (Fshrink_window_pixels):
10109 * window.c (change_window_height):
10110 * window.c (Fwindow_configuration_p):
10111 * window.c (Fcurrent_window_configuration):
10113 * casefiddle.c (casify_object):
10114 * casefiddle.c (Fupcase):
10115 * casefiddle.c (Fdowncase):
10116 * casefiddle.c (Fcapitalize):
10117 * casefiddle.c (Fupcase_initials):
10118 * casefiddle.c (casify_region_internal):
10119 * casefiddle.c (casify_region):
10120 * casefiddle.c (Fupcase_region):
10121 * casefiddle.c (Fdowncase_region):
10122 * casefiddle.c (Fcapitalize_region):
10123 * casefiddle.c (Fupcase_initials_region):
10124 * casefiddle.c (Fupcase_word):
10125 * casefiddle.c (Fdowncase_word):
10126 * casefiddle.c (Fcapitalize_word):
10127 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
10128 Replace 0 with '\0' when working with bytes.
10129 Replace initial "(" with "\(" in docstrings.
10131 2000-11-01 Martin Buchholz <martin@xemacs.org>
10133 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
10135 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
10137 2000-10-31 Martin Buchholz <martin@xemacs.org>
10139 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
10141 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10143 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
10146 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10148 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
10149 (inhibit_auto_save_session): New variable.
10150 (vars_of_fileio): Declare and initialize them.
10151 * fileio.c (Fdo_auto_save): Don't create session file if
10152 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
10154 2000-10-31 Martin Buchholz <martin@xemacs.org>
10156 * sgiplay.c (play_internal): C++ compilability.
10157 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
10158 * callproc.c (Fold_call_process_internal):
10159 Remove unused vars `env', `first'.
10160 * scrollbar.c (update_scrollbar_instance):
10161 #### unused var `current_window'.
10162 * redisplay-tty.c: Put currently unused vars insert_mode_on,
10163 etc. within #ifdef NOT_YET.
10164 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
10165 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
10166 * specifier.c (specifier_instance):
10167 #### unused var `tag'.
10168 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
10170 2000-10-27 Martin Buchholz <martin@xemacs.org>
10172 * fns.c (Fbutlast):
10173 * fns.c (list_sort):
10174 * fns.c (Ffillarray):
10175 * fns.c (bytecode_nconc2):
10178 * fns.c (Fmapconcat):
10179 Be pedantically 64-bit correct. For the time when someone will
10180 want to have a list with length > 2**32.
10182 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
10183 Work around MIPSpro compiler bug.
10185 * process-unix.c (unix_kill_child_process): Add snarky comment.
10186 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
10188 * config.h.in: Oops, _getpt ==> _getpty
10190 2000-10-26 Martin Buchholz <martin@xemacs.org>
10194 Use void*, not char*, as return type of alloca().
10196 * alloc.c (free_marker): Side effect inside assert expression!
10198 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
10200 * mule-charset.c (Fset_charset_ccl_program): To check
10201 if the given ccl program is valid, use setup_ccl_program()
10202 instead of CHECK_VECTOR().
10203 (Fmake_charset): Likewise.
10205 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
10207 * faces.c (get_extent_fragment_face_cache_index):
10208 Fix cachel.merged_faces memory leak.
10210 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
10212 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
10213 Reset MSB of octets obtained by DECODE_SJIS
10214 because of the incompatibility with Emacs.
10215 (ccl_driver)<CCL_ENCODE_SJIS>:
10216 Set MSB of octets before passing them to
10217 ENCODE_SJIS because of the incompatibility
10220 2000-10-18 Daiki Ueno <ueno@unixuser.org>
10222 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
10223 (DECLARE_LRECORD): Undo the last change.
10224 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
10226 2000-10-17 Daiki Ueno <ueno@unixuser.org>
10228 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
10229 the implementation to lrecord_implementations_table.
10231 2000-10-14 Daiki Ueno <ueno@unixuser.org>
10233 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
10234 initial value of `lrecord_type_##c_name' and
10235 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
10236 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
10237 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
10238 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
10239 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
10241 2000-10-17 Martin Buchholz <martin@xemacs.org>
10243 * miscplay.c (sndcnv8S_2mono):
10244 (sndcnv2monounsigned):
10245 (sndcnvULaw_2linear):
10247 Remove implementation-defined behavior.
10249 2000-10-12 Martin Buchholz <martin@xemacs.org>
10251 * input-method-xlib.c: Warning suppression.
10253 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
10255 * mule-ccl.c: Sync up with Emacs 21.0.90.
10256 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
10258 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
10260 (ccl_driver[WriteMultibyteChar2]): Bug fix.
10261 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
10262 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
10263 leading char belongs to official 2-dimensional charset.
10264 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
10265 write the given character as is. Otherwise,
10266 if it is a multibyte char, convert it by
10267 non_ascii_set_charptr_emchar, then write it.
10268 (CCL_WRITE_STRING): Likewise.
10269 (ccl_get_compiled_code): New function.
10270 (setup_ccl_program): When ccl_prog is invalid,
10272 (Fregister_code_conversion_map): New function.
10273 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
10275 * mule-ccl.h: Sync up with Emacs 21.0.90.
10276 (Fregister_ccl_program): export it.
10278 * redisplay-msw.c (separate_textual_runs):
10279 If ccl program is not valid, don't do ccl conversion.
10281 * redisplay-x.c (separate_textual_runs): Ditto.
10283 * file-coding.c (Fmake_coding_system):
10284 When type is ccl and value is vector, register it
10285 with a proper symbol. And checks whether the
10286 given ccl program is valid.
10287 (mule_decode): When calling ccl_driver, if src indicates
10288 NULL pointer, set an empty string instead.
10289 (mule_encode): Likewise.
10291 2000-10-11 Martin Buchholz <martin@xemacs.org>
10293 The following large batch of changes gets us back to a state of
10294 C++ compilability. Extbyte is now a char, which means that
10295 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
10297 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
10299 * sound.c (Fplay_sound): Type correctness.
10301 * select-x.c (hack_motif_clipboard_selection): Type correctness.
10302 (x_get_window_property): Type correctness.
10303 (receive_incremental_selection): unsigned char ==> Extbyte
10304 (selection_data_to_lisp_data): unsigned char ==> Extbyte
10305 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
10306 (Fx_store_cutbuffer_internal): Type correctness.
10308 * process-unix.c (try_to_initialize_subtty): Type correctness.
10310 * objects-x.c (x_print_color_instance): Type correctness.
10311 (x_print_font_instance): Type correctness.
10312 (x_list_fonts): SExtbyte ==> Extbyte.
10313 (valid_x_font_name_p): SExtbyte ==> Extbyte.
10314 (x_find_charset_font): SExtbyte ==> Extbyte.
10315 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
10316 (truename_via_XListFonts): SExtbyte ==> Extbyte.
10317 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
10318 Use bufbyte_strcmp.
10320 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
10321 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
10322 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
10323 (BYTE_C0_P): Use bit ops for char-signedness safety.
10324 (BYTE_C1_P): Use bit ops for char-signedness safety.
10325 (CHARSET_BY_LEADING_BYTE):
10326 (CHARSET_BY_ATTRIBUTES):
10327 Always use inline function.
10328 Use type_checking_assert.
10331 * mule-charset.c (non_ascii_charptr_copy_char):
10332 Modify to work with both ASCII and non-ASCII characters.
10333 Improve docs and variable names.
10334 Replace over-clever fall-through switch with a simple loop.
10335 (Lstream_get_emchar_1):
10336 Replace over-clever fall-through switch with a simple loop.
10338 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10339 Warning suppression.
10341 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
10342 the return value of Lstream_getc, which could be EOF as well.
10344 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
10346 * lisp.h: Make Extbyte a char, not unsigned char, so that external
10347 APIs can be used on Extbytes without casts. Risky!
10348 (SExtbyte): Remove.
10349 (UExtbyte): Remove.
10351 * input-method-xlib.c (XIM_init_device):
10352 Use Xlib.h instead of IntrinsicP.h.
10353 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
10354 which will break in X11R7.
10355 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
10356 to call XRegisterIMInstantiateCallback with correct types.
10358 * gui-x.c (button_item_to_widget_value): Type correctness.
10360 * glyphs.c (bitmap_to_lisp_data): Type correctness.
10362 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
10363 (xbm_instantiate_1): Type correctness.
10364 (BUILD_GLYPH_INST): Type correctness.
10366 * fileio.c (Fsubstitute_in_file_name): Type correctness.
10369 (decode_coding_sjis):
10370 (decode_coding_big5):
10371 (decode_coding_ucs4):
10372 (decode_coding_utf8):
10373 (decode_coding_iso2022):
10374 (decode_coding_no_conversion):
10375 Make all decoding functions take an Extbyte * arg.
10376 (encode_coding_sjis):
10377 (encode_coding_big5):
10378 (encode_coding_ucs4):
10379 (encode_coding_utf8):
10380 (encode_coding_iso2022):
10381 (encode_coding_no_conversion):
10382 Make all encoding functions take a Bufbyte * arg.
10383 Use size_t instead of unsigned int for memory sizes.
10384 Only cast to unsigned char whenever dereferencing Extbyte *.
10386 * doc.c (unparesseuxify_doc_string): Type correctness.
10388 * console-x.c (split_up_display_spec):
10389 Rewrite without using details of internal string representation.
10390 (x_semi_canonicalize_device_connection): Type correctness.
10393 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
10394 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
10395 (HAVE_XFREE386): Removed.
10397 * buffer.h (DEC_CHARPTR): `const' correctness.
10398 (bufbyte_strcmp): New.
10399 (bufbyte_memcmp): New.
10401 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
10403 * buffer.h (XCHAR_OR_CHAR_INT):
10404 Always use inline function.
10405 Remove redundant type checking assert() - XINT will abort quite nicely.
10407 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
10409 * search.c (Freplace_match): Set newtext to an empty string.
10411 2000-10-10 Martin Buchholz <martin@xemacs.org>
10413 * s/decosf1-3.h: Remove #include of stropts.h
10414 * s/ptx.h: Remove #include of stropts.h
10415 * s/usg5-4.h: Remove #include of stropts.h
10418 Use stropts.h, not sys/stropts.h.
10419 Use strtio.h, not sys/strtio.h.
10421 2000-10-04 Martin Buchholz <martin@xemacs.org>
10423 * XEmacs 21.2.36 is released.
10425 2000-09-21 Andy Piper <andy@xemacs.org>
10427 * glyphs-x.c (x_redisplay_widget): make sure non-structural
10428 changes still involve copying the widget tree.
10429 (update_widget_face): make sure a change is register in the widget
10430 tree. Call update_tab_widget_face appropriately.
10431 (update_tab_widget_face): ditto.
10432 (x_tab_control_redisplay): make sure non-structural changes still
10433 involve copying the widget tree.
10435 2000-08-31 Daiki Ueno <ueno@unixuser.org>
10437 * lread.c (locate_file): Check the path element is non-nil.
10439 2000-10-02 Martin Buchholz <martin@xemacs.org>
10441 * lisp.h: Warning suppression for SCO compilers.
10443 * redisplay-tty.c (reset_tty_modes): Fix crash.
10444 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
10446 2000-09-27 Martin Buchholz <martin@xemacs.org>
10448 Big signal/process handling overhaul. Bugs fixed:
10449 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
10450 M-x comint-kill-subjob should work for both values nil and t of
10451 process-connection-type. It was broken on most platforms.
10452 Testing on Irix and Cygwin still needed. Other plaforms tested.
10453 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
10454 * process-unix.c: Signal/Process handling overhaul.
10455 (pty_name): make 64 bytes, as `expect' does, for paranoia.
10456 (allocate_pty): Use all available modern methods of allocating
10457 ptys, falling back to old style BSD allocation as a last resort.
10458 Use allegedly more secure Unix98 pty allocation by default.
10459 (allocate_pty_the_old_fashioned_way): New. the last resort.
10460 (unix_create_process): Push ptem, ldterm, ttcompat where
10461 available. Autoconfiscate.
10462 (try_to_initialize_subtty): New.
10463 (unix_kill_child_process): Proper signal handling for ptys on most
10464 platforms, using special knowledge of AIX, BSD, etc...
10465 (unix_create_process): Always disconnect_controlling_terminal() for
10466 subprocesses, whether using ptys or not.
10467 * process.h: Remove old getpt-dependent PTY code.
10468 * process.c (Fprocess_send_signal): New, obvious generic function.
10469 (decode_signal): New.
10470 (Finterrupt_process):
10474 (Fcontinue_process):
10475 (Fsignal_process): Use decode_signal.
10476 (process_send_signal):
10477 Many docstring corrections.
10478 Allow any signal to be sent to a process object.
10479 * config.h.in: Add symbols for big signal/process overhaul.
10480 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
10481 * sysproc.h: Include process-related headers, where available:
10482 sys/stropts.h sys/strtio.h pty.h libutil.h
10490 Remove old S&M pty stuff.
10491 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
10492 * systty.h: Simplify cpp hackery, improve comments.
10493 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
10495 * editfns.c (Fformat_time_string):
10496 Be a little more paranoid with the return value of ctime.
10498 * fileio.c (check_executable):
10500 Use symbolic constants X_OK, W_OK.
10502 * console-x.c (split_up_display_spec): Fix a warning.
10504 2000-10-02 Martin Buchholz <martin@xemacs.org>
10506 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
10507 * ntproc.c (sys_spawnve): make_string ==> build_string
10508 Small clarity improvements.
10510 2000-09-30 Martin Buchholz <martin@xemacs.org>
10512 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
10514 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
10516 * config.h.in (HAVE_STRCASECMP): Remove.
10518 2000-09-29 Martin Buchholz <martin@xemacs.org>
10520 * redisplay-output.c (redisplay_output_pixmap):
10521 Cleaner and possibly more 64-bit correct code.
10523 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
10525 * dumper.c (pdump_load_finish): move restoration of
10526 `noninteractive1' to emacs.c (main_1).
10527 * emacs.c (main_1): protect LISP-visible command-line flags
10530 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
10532 * Makefile.in.in (versionclean): Use EXE_TARGET and
10533 DUMP_TARGET instead of literal program names.
10535 2000-09-20 Martin Buchholz <martin@xemacs.org>
10537 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
10539 2000-09-19 Martin Buchholz <martin@xemacs.org>
10541 * *: Spelling mega-patch
10543 2000-09-19 Martin Buchholz <martin@xemacs.org>
10545 * fns.c (bad_bad_turtle):
10546 Delete "Eek!" comment, since we fixed the bug to which it refers.
10548 2000-09-16 Martin Buchholz <martin@xemacs.org>
10550 * alloca.c: Replace REGISTER with register.
10552 2000-09-16 Daiki Ueno <ueno@unixuser.org>
10554 * file-coding.c (ucs_to_char): Use countof.
10556 2000-09-16 Martin Buchholz <martin@xemacs.org>
10558 * file-coding.c: (ucs_to_char):
10559 (complex_vars_of_file_coding):
10560 Use countof instead of sizeof.
10561 Use CHECK_NATNUM instead of CHECK_INT.
10563 * sysdep.c (strcasecmp): Remove.
10564 * device-x.c (ascii_strcasecmp): New.
10565 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
10566 Avoid using non-standard non-portable strcasecmp.
10568 2000-09-16 Martin Buchholz <martin@xemacs.org>
10570 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
10571 * font-lock.c: remove reference to emacsfns.h.
10572 * search.c: small doc improvement.
10573 * event-Xt.c: correct file names in comments.
10574 * console-x.h Correct file names in comments.
10575 * frame.c: Correct file names in comments.
10576 * event-stream.c: remove Energize from comments.
10578 2000-09-15 Martin Buchholz <martin@xemacs.org>
10580 * symeval.h (DEFERROR_STANDARD):
10583 (DEFSYMBOL_NO_DUMP):
10584 (DEFSYMBOL_MULTIWORD_PREDICATE):
10585 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
10587 The construct &##name is not sensible C.
10588 Fixes compilation errors with Unixware native compiler.
10590 2000-09-14 Martin Buchholz <martin@xemacs.org>
10592 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
10593 (next_frame_internal): Removed. We now just have next_frame.
10595 Write a simpler and cleaner one-pass algorithm.
10596 Remove called_from_delete_device arg and #ifdefed-out code.
10598 Renamed from prev_frame. Update callers.
10599 Cleaned up to have an analogous implementation to next_frame.
10600 (other_visible_frames_internal): Remove the
10601 called_from_delete_device bogus arg, and hence, remove this
10602 function. Just use other_visible_frames().
10604 * window.c (Fnext_window):
10605 Prettify docstring.
10606 Since next_frame() is guaranteed to return a frame, remove check
10607 for nil inserted in previous patch.
10608 (Fprevious_window):
10609 Prettify docstring.
10610 Make code look more like Fnext_window.
10612 Respect the `console' arg when iterating through windows.
10613 Fixes bug: (get-buffer-window buffer t device) not respecting
10615 This function needs more work, as others have pointed out.
10617 * frame.h: Rename prev_frame to previous_frame.
10618 device_matches_console_spec no longer takes a `frame' arg.
10623 Use EMACS_BLOCK_SIGNAL instead of sigblock.
10624 From "Golubev I. N." <gin@mo.msk.ru>.
10626 * make-src-depend: Fix typo.
10628 2000-09-13 Martin Buchholz <martin@xemacs.org>
10630 * window.c (Fnext_window):
10631 next_frame() might return nil, not a frame.
10633 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
10635 * frame.c (next_frame_internal):
10636 We've passed a frame if we've passed its device.
10638 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
10639 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
10641 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
10643 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
10644 Allow option to suppress accelerators in menu/dialog items.
10645 (populate_or_checksum_helper): Pass dialog title through above.
10647 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
10649 * event-msw.c (mswindows_key_to_emacs_keysym):
10650 Add "pause" key, fix "menu" key.
10652 2000-09-09 Martin Buchholz <martin@xemacs.org>
10654 * eval.c (reinit_vars_of_eval):
10655 Increase max_lisp_eval_depth to 1000,
10656 required for thai-xtis.el to byte-compile under some circumstances.
10658 2000-09-04 Martin Buchholz <martin@xemacs.org>
10660 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
10661 From Kenichi Handa.
10663 2000-09-01 Martin Buchholz <martin@xemacs.org>
10665 * make-src-depend: Make the generated Makefiles smaller.
10667 * s/hpux.h (SETUP_SLAVE_PTY):
10668 Provide a %d in the format string for the errno argument.
10670 * editfns.c (Ftemp_directory):
10672 Avoid buffer overrun on very long file name.
10674 * input-method-xlib.c (XIM_init_device):
10675 6th parameter of XRegisterIMInstantiateCallback has different
10676 pointer types on different OSes, so simply cast to (void *).
10678 * unexhp9k800.c: Warning fixes. Fiddly changes.
10680 * sysdll.c (dll_open):
10681 shl_load will hang hard if passed a NULL filename.
10682 Simply return NULL for compatibility with dlopen.
10683 * sysdll.c: Conform to XEmacs coding standards.
10685 * sysdep.c (get_pty_max_bytes):
10686 Support pty input lines longer than 512 bytes on HP-UX 10.20.
10688 2000-08-31 Martin Buchholz <martin@xemacs.org>
10690 * tooltalk.c: Add #include <syssignal.h>
10692 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
10694 * s/hpux.h: Don't use undefined function sigunblock().
10696 2000-08-31 Martin Buchholz <martin@xemacs.org>
10698 * config.h.in: Add HAVE_BALLOON_HELP.
10699 * emacs.c: Use HAVE_BALLOON_HELP.
10700 * Makefile.in.in (x_objs):
10701 Make Balloon Help conditional on finding shape.h.
10703 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
10705 * syntax.c (regex_emacs_buffer_p): New variable.
10706 * syntax.h (regex_emacs_buffer_p): extern.
10707 * search.c (looking_at_1):
10709 (fast_string_match):
10710 (search_buffer): Set regex_emacs_buffer_p.
10711 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
10712 when before_dot, at_dot, after_dot.
10714 2000-08-23 Andy Piper <andy@xemacs.org>
10716 * gui-x.c (popup_selection_callback): Only set action_occurred
10717 when we really have an image instance.
10718 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
10720 2000-08-23 Andy Piper <andy@xemacs.org>
10722 * gui-msw.c (mswindows_handle_gui_wm_command): set
10724 * gui-x.c (popup_selection_callback): ditto.
10726 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
10727 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
10728 (struct Lisp_Image_Instance): add action_occurred flag.
10730 * glyphs.c (redisplay_subwindow): use action_occurred flag.
10731 (image_instance_changed): ditto.
10732 (reset_frame_subwindow_instance_cache): only unmap windows - do
10733 not remove them from the cache also.
10735 * glyphs-widget.c (tab_control_update): better debug.
10736 (progress_gauge_update): ditto.
10737 (layout_update): ditto.
10738 (layout_instantiate): ditto.
10739 (tab_control_order_only_changed): cope with null pending items.
10741 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
10742 debug. Force selection of an item when an action occurred. Cope
10743 with null pending_items.
10744 (mswindows_progress_gauge_redisplay): better debug.
10745 * glyphs-x.c (x_tab_control_redisplay): ditto.
10747 * redisplay.c (redisplay_frame): reset the frame cache if the
10750 * window.c (Fset_window_configuration): potentially re-enable
10752 (window_unmap_subwindows): need to finalize instances here since
10753 it is only used in mark_window_as_deleted.
10755 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
10757 * nas.c (SndOpenDataForReading):
10758 nas.c (WaveOpenDataForReading):
10759 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
10760 Somehow escaped from the 2000-08-14 patch.
10762 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
10764 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
10765 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
10767 2000-08-21 Andy Piper <andy@xemacs.org>
10769 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
10770 window if it is not already displayed.
10772 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
10773 it is not already displayed.
10775 * window.c (Fset_window_configuration): don't reset the frame
10778 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
10779 instances from the frame cache if we are actually finalizing them.
10780 (reset_frame_subwindow_instance_cache): reset frame cache only
10781 after unmapping everything.
10782 (map_subwindow): set displayed flag after mapping.
10784 2000-08-21 Martin Buchholz <martin@xemacs.org>
10786 * data.c (indirect_function):
10787 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
10789 * eval.c (function_argcount):
10790 Use original function when signaling errors.
10792 2000-08-18 Andy Piper <andy@xemacs.org>
10794 * frame.c (delete_frame_internal): use new
10795 free_frame_subwindow_instances name.
10797 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
10798 (add_tab_item): make return type correct.
10799 (mswindows_tab_control_instantiate): assert index of tab.
10800 (mswindows_tab_control_redisplay): Re-code to use
10801 gui_item_equal_sans_selected and gui_item_list_find_selected.
10803 * glyphs-widget.c (tab_control_update): Correct comment.
10805 * window.c (window_unmap_subwindows): use new
10806 unmap_subwindow_instance_cache_mapper.
10807 (window_unmap_subwindows_cache_mapper): deleted.
10808 (Fset_window_configuration): comparisons should now be with
10809 EQ. Preserve the subwindow instance cache across configuration
10811 (allocate_window): ditto.
10812 (make_dummy_parent): ditto.
10814 * glyphs.c (free_frame_subwindow_instances): rename from
10815 free_frame_subwindow_instance_cache. finalize all instances rather
10816 than just those in the display cache.
10817 (finalize_all_subwindow_instances): walk windows unmapping and
10818 finalizing subwindows.
10819 (unmap_subwindow_instance_cache_mapper): moved from
10820 window.c. Allow finalization as well as unmapping.
10822 * gui.c (gui_item_list_find_selected): new function.
10824 * gui.h (gui_item_list_find_selected): declare.
10826 * glyphs-x.c (x_tab_control_redisplay): pick tab
10827 explicitly. Re-code to use gui_item_equal_sans_selected and
10828 gui_item_list_find_selected.
10830 * glyphs-x.h: add lwlib-utils.h
10832 * buffer.c (Frecord_buffer): undo previous change.
10834 2000-08-09 Vin Shelton <acs@xemacs.org>
10836 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
10837 possible. Create temporary files more securely. The patch was
10838 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
10839 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
10840 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
10843 2000-08-07 Ben Wing <ben@xemacs.org>
10845 * getloadavg.c: remove duplicate (and windows-breaking)
10846 includes of fcntl.h and sys/file.h.
10848 * nt.c: remove duplicate getloadavg() definition.
10850 * sysdll.h (Qdll_filename_encoding): add missing stand-in
10853 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
10855 * eval.c (function_argcount): If function needs to be autoloaded
10856 actually use the loaded definition.
10859 2000-08-05 Ben Wing <ben@xemacs.org>
10861 * getloadavg.c: add prototype for getloadavg(). remove
10862 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
10863 of the code). remove duplicate header includes.
10865 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
10867 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
10868 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
10869 useful load average.
10871 * alloc.c (reinit_alloc_once_early): removed references to
10872 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
10873 the lisp vars are the only things referencing the malloc_sbrk_*
10874 vars, and they were already if 0'd out. these vars only exist
10875 in the older malloc.c, which is basically unused, and they're
10876 only for informational purposes.
10878 * m\*.h: removed useless VIRT_ADDR_VARIES.
10880 * m\powerpc.h: removed stray NO_ARG_ARRAY.
10882 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
10884 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
10885 color if the image is a mono pixmap.
10887 2000-07-30 Ben Wing <ben@xemacs.org>
10889 * Makefile.in.in (release):
10892 * buffer.c (directory_is_current_directory):
10893 * dired-msw.c (mswindows_get_files):
10895 * dired.c (Fdirectory_files):
10896 * dired.c (file_name_completion_stat):
10897 * dired.c (Ffile_attributes):
10898 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
10899 preprocessor tricks, to avoid problems on some machines
10902 * callproc.c (egetenv): GC docs.
10905 * console-msw.h (struct mswindows_dialog_id):
10906 * lrecord.h (lrecord_type):
10907 New object for use with MSW dialogs.
10909 * console.h (struct console_methods):
10910 New enable/disable frame methods, for proper modal dialogs.
10912 * device-msw.c (msprinter_default_printer): Fix to follow
10913 proper Mule conventions.
10916 * device-msw.c (signal_open_printer_error):
10917 * device-msw.c (msprinter_init_device):
10918 * device-msw.c (ensure_not_printing):
10919 * device-msw.c (plist_get_margin):
10920 * device-msw.c (Fmsprinter_select_settings):
10921 * device-msw.c (finalize_devmode):
10922 * device-msw.c (Fmsprinter_settings_despecialize):
10923 * device-msw.c (signal_enum_priner_error):
10924 * extents.c (decode_extent):
10925 * extents.c (decode_map_extents_flags):
10926 * extents.c (decode_extent_at_flag):
10927 * extents.c (Fextent_at):
10928 * extents.c (Fextents_at):
10929 * extents.c (symbol_to_glyph_layout):
10930 [[[[2]]]] Use structured errors.
10933 * dialog-msw.c (mswindows_is_dialog_msg):
10934 * dialog-msw.c (mark_mswindows_dialog_id):
10935 * dialog-msw.c (dialog_proc):
10936 * dialog-msw.c (handle_question_dialog_box):
10937 * dialog-msw.c (syms_of_dialog_mswindows):
10938 Define new object to clean up marking; use it as a dialog identifier.
10939 Call new delete-dialog-box-hook.
10941 * dialog-x.c (dbox_selection_callback):
10942 * dialog-x.c (dbox_descriptor_to_widget_value):
10943 * dialog-x.c (x_make_dialog_box_internal):
10944 Call new delete-dialog-box-hook.
10948 * dialog.c (syms_of_dialog):
10949 * dialog.c (vars_of_dialog):
10950 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
10953 * eval.c (signal_call_debugger):
10954 when noninteractive, output stack traces on the console instead
10955 of in a (never-seen) buffer.
10957 * eval.c (signal_type_error):
10958 * eval.c (invalid_argument_2):
10960 new funs for use w/structured errors.
10963 * event-Xt.c (x_to_emacs_keysym):
10964 * event-Xt.c (describe_event):
10965 * event-Xt.c (emacs_Xt_event_handler):
10966 * event-Xt.c (vars_of_event_Xt):
10968 * event-msw.c (mswindows_wnd_proc):
10969 * event-msw.c (vars_of_event_mswindows):
10970 rename {x,mswindows}-debug-events to debug-{}-events for
10971 consistency with other debug-foo variables.
10974 document next-event more clearly.
10976 * fileio.c (Ffile_name_directory):
10977 * fileio.c (Ffile_name_nondirectory):
10978 * fileio.c (Funhandled_file_name_directory):
10979 * fileio.c (file_name_as_directory):
10980 * fileio.c (Ffile_name_as_directory):
10981 * fileio.c (directory_file_name):
10982 * fileio.c (Fdirectory_file_name):
10983 * fileio.c (Fmake_temp_name):
10984 * fileio.c (Ffile_truename):
10985 * fileio.c (Fsubstitute_in_file_name):
10986 * fileio.c (expand_and_dir_to_file):
10987 * fileio.c (barf_or_query_if_file_exists):
10988 * fileio.c (check_executable):
10989 * fileio.c (Ffile_exists_p):
10990 * fileio.c (Ffile_writable_p):
10991 * fileio.c (Ffile_directory_p):
10992 * fileio.c (Ffile_regular_p):
10993 * fileio.c (Ffile_modes):
10994 * fileio.c (Ffile_newer_than_file_p):
10995 * fileio.c (Fverify_visited_file_modtime):
10996 * fileio.c (Fset_visited_file_modtime):
10997 * fileio.c (auto_save_1):
11002 * frame-msw.c (mswindows_init_frame_1):
11003 * frame-msw.c (mswindows_enable_frame):
11004 * frame-msw.c (error_frame_unsizable):
11005 * frame-msw.c (msprinter_init_frame_1):
11006 * frame-msw.c (msprinter_init_frame_3):
11007 * frame-msw.c (console_type_create_frame_mswindows):
11009 implement new enable/disable frame methods.
11012 * frame-x.c (x_enable_frame):
11013 * frame-x.c (console_type_create_frame_x):
11014 implement new enable/disable frame methods.
11017 * frame.c (Fdisable_frame):
11018 * frame.c (syms_of_frame):
11019 * frame.h (struct frame):
11020 implement new enable/disable frame methods/functions.
11025 * glyphs-msw.c (mswindows_widget_instantiate):
11026 comment that initial-focus should be implemented.
11029 * glyphs-widget.c (check_valid_instantiator):
11030 * glyphs-widget.c (check_valid_orientation):
11031 * glyphs-widget.c (check_valid_tab_orientation):
11032 * glyphs-widget.c (check_valid_justification):
11033 * glyphs-widget.c (check_valid_border):
11034 * glyphs-widget.c (check_valid_callback):
11035 * glyphs-widget.c (check_valid_int_or_function):
11036 * glyphs-widget.c (check_valid_string_or_vector):
11037 * glyphs-widget.c (check_valid_item_list_1):
11038 * glyphs-widget.c (widget_validate):
11039 * glyphs-widget.c (combo_box_validate):
11040 * glyphs-widget.c (widget_instantiate):
11041 * glyphs-widget.c (syms_of_glyphs_widget):
11042 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
11043 * glyphs-widget.c (image_instantiator_combo_box):
11044 * glyphs-widget.c (image_instantiator_scrollbar):
11045 * glyphs-widget.c (image_instantiator_tab_control):
11046 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
11048 support (unimplemented) keyword initial-focus.
11049 reindent long macros.
11051 * glyphs-x.c (x_redisplay_widget):
11052 * glyphs-x.c (x_button_instantiate):
11053 * glyphs-x.c (x_button_redisplay):
11054 * glyphs-x.c (x_progress_gauge_instantiate):
11055 * glyphs-x.c (x_edit_field_instantiate):
11056 * glyphs-x.c (x_combo_box_instantiate):
11057 * glyphs-x.c (x_tab_control_instantiate):
11058 * glyphs-x.c (x_label_instantiate):
11060 * gui-x.c (button_item_to_widget_value):
11061 * gui-x.c (gui_items_to_widget_values_1):
11062 * gui-x.c (gui_item_children_to_widget_values):
11063 * gui-x.c (gui_items_to_widget_values):
11065 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11066 add new flag to gui-parsing routines to indicate whether
11067 accelerator specs should be supported.
11069 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
11071 * glyphs.h (struct Lisp_Image_Instance):
11072 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
11073 add initial-focus flag.
11076 * gui.c (syms_of_gui):
11077 * gui.c (vars_of_gui):
11078 clean up menu-no-selection-hook.
11081 support delete-dialog-box-hook.
11083 * lread.c (Fload_internal):
11084 * lread.c (locate_file_in_directory_mapper):
11088 * lrecord.h (struct toolbar_button):
11089 * lrecord.h (syms_of_toolbar):
11090 document how to create a new object.
11092 * menubar-msw.c (mswindows_char_is_accelerator):
11093 may be called on frames w/o menus.
11095 * menubar.c (vars_of_menubar):
11096 clean up :filter docs.
11103 * process-nt.c (validate_signal_number):
11104 * process-nt.c (signal_cannot_launch):
11105 * process-nt.c (nt_create_process):
11106 * process-nt.c (nt_send_process):
11107 * process-nt.c (nt_kill_child_process):
11108 * process-nt.c (nt_open_network_stream):
11109 * process-nt.c (syms_of_process_nt):
11111 delete quote-handling. call new lisp code that does it better.
11113 * process-unix.c (connect_to_file_descriptor):
11114 * process-unix.c (allocate_pty):
11115 * process-unix.c (unix_send_process):
11116 * process-unix.c (unix_kill_child_process):
11117 * process-unix.c (unix_open_network_stream):
11118 * process-unix.c (unix_open_multicast_group):
11122 * process.c (Fstart_process_internal):
11123 (2). need to canonicalize process path even if absolute.
11125 * select-msw.c (symbol_to_ms_cf):
11126 * select-msw.c (ms_cf_to_symbol):
11127 * select-msw.c (cf_is_autofreed):
11128 * select-msw.c (mswindows_destroy_selection):
11130 * select.c (syms_of_select):
11132 support dibv5, fix bugs. (from Mike Alexander)
11134 * select.c (Fget_selection_internal):
11135 * select.c (select_convert_out):
11138 * sysdep.c (xemacs_stat):
11141 * sysdep.c (mkdir):
11142 * sysdep.c (rmdir):
11143 but keep original stat() here because we provide encapsulation
11147 * sysfile.h (fstat):
11148 remove stat garbage.
11151 fix X/MSW conflict.
11152 don't include tchar.h. it's inappropriate because it makes
11153 compile-time distinctions when we want runtime distinctions.
11154 (we provide our own tchar replacements)
11157 use default object printer for toolbar-button.
11160 make sure we don't encapsulate.
11162 * window.c (vars_of_window):
11163 emphasize that temp-buffer-show-hook is obsolete.
11165 2000-08-05 Martin Buchholz <martin@xemacs.org>
11167 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
11168 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
11170 * events.c (Fevent_timestamp_lessp):
11171 Not 64-bit clean. Use EMACS_INT, not int.
11173 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
11175 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
11176 unsigned int and changed the last enum to
11177 lrecord_type_last_built_in_type.
11178 (lrecord_implementations_table): changed prototype to know how
11179 long the array is supposed to be.
11180 (lrecord_type_count): new unsigned int to keep track of the
11181 current number of lisp lrecord types.
11182 (DEFINE_EXTERNAL_LRECORD):
11183 (DECLARE_EXTERNAL_LRECORD): Added these two for external
11184 dynamic-modules to declare new lisp types. They are the same
11185 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
11186 int for each new type, and increment lrecord_type_count by 1.
11188 * alloc.c (lrecord_implementations_table): Changed to reference
11189 lrecord_type_last_built_in_type for the size of the array.
11190 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
11192 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
11194 * glyphs.h (check_valid_item_list): Renamed from
11195 check_valid_item_list_1.
11197 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
11199 * select.c (Qselect_coerce): New.
11200 * select.c (Vselection_coercion_alist): New.
11201 * select.c (syms_of_select): Declare.
11202 * select.c (get-selection-internal): Use it.
11203 Use the new select-coerce functionality.
11205 * select.c (select_coerce): New.
11206 * select.h (select_coerce): Declare.
11207 New function to coerce one type of data into another.
11209 2000-08-03 Martin Buchholz <martin@xemacs.org>
11211 * callproc.c (Fcall_process_internal):
11212 (Fcall_process_internal):
11213 * process-unix.c (unix_create_process):
11214 Save and restore the value of errno, so that error messages are accurate.
11216 2000-08-01 Martin Buchholz <martin@xemacs.org>
11218 * elhash.c (print_hash_table):
11219 Fix printing of hash tables to also use `key-and-value' instead of `t'.
11220 Prettify docstrings and indentation.
11222 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
11224 * window.c (Fwindow_pixel_edges): Subtract frame border and
11227 2000-07-31 Andy Piper <andy@xemacs.org>
11229 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
11230 will acknowledge the change.
11232 * glyphs.h: declare tab_control_order_only_changed.
11234 * glyphs-x.c (x_tab_control_redisplay): use
11235 tab_control_order_only_changed.
11237 * glyphs-widget.c (tab_control_order_only_changed): new function.
11239 * glyphs-msw.c (mswindows_tab_control_redisplay): use
11240 tab_control_order_only_changed.
11242 * gui.c (gui_item_equal_sans_selected): new function.
11243 (gui_item_equal): use it.
11245 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
11246 :properties in favor of :items..
11248 * glyphs-widget.c (check_valid_item_list): rename from
11249 check_valid_item_list_1.
11250 (check_valid_item_list_1): renamed.
11251 (combo_box_validate): deprecate :properties in favor of :items.
11252 (widget_instantiate): ditto.
11253 (tab_control_update): ditto.
11254 (image_instantiator_combo_box): ditto.
11255 (image_instantiator_tree_view): ditto.
11256 (image_instantiator_tab_control): ditto.
11257 (layout_post_instantiate): remove dead code.
11259 * print.c (debug_print_no_newline): only write to debugger if in
11262 * elhash.c (Fmake_hash_table): update doc string.
11264 * event-msw.c (mswindows_wnd_proc): don't allow processing of
11265 messages whilst in GC. This at least stops XEmacs crashing but has
11266 the potential for wierd behaviour.
11268 2000-07-31 Martin Buchholz <martin@xemacs.org>
11271 Make existence of s&m files optional.
11273 * s/bsd386.h: Remove HAVE_GETLOADAVG.
11274 * s/freebsd.h: Remove HAVE_GETLOADAVG.
11275 * s/gnu.h: Remove HAVE_GETLOADAVG.
11276 * s/netbsd.h: Remove HAVE_GETLOADAVG.
11277 * s/sol2.h: Remove HAVE_GETLOADAVG.
11278 * lisp.h: Remove getloadavg() declaration.
11280 Include <sys/loadavg.h> if available.
11281 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
11282 * config.h.in: Group together getloadavg()-related macros.
11283 Use only configure-time tests to detect getloadavg().
11285 2000-07-30 Martin Buchholz <martin@xemacs.org>
11287 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
11289 2000-07-25 Andy Piper <andy@xemacs.org>
11291 * syswindows.h: add tchar.h for native builds.
11293 * frame.c (syms_of_frame): remove set-glyph-image.
11295 * general-slots.h: add Qset_glyph_image.
11297 * glyphs-widget.c (layout_update): add domain arg to
11299 (syms_of_glyphs_widget): remove set-glyph-image.
11301 2000-07-23 Ben Wing <ben@xemacs.org>
11303 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
11306 2000-07-22 Andy Piper <andy@xemacs.org>
11308 * symsinit.h: add syms_of_win32().
11310 * gui-msw.c (syms_of_gui_mswindows): remove
11311 Fmswindows_shell_execute.
11312 (Fmswindows_shell_execute): moved to win32.c.
11314 * emacs.c (main_1): add syms_of_win32 ().
11316 * win32.c (init_potentially_nonexistent_functions): rewrite in
11317 compiler-friendly terms.
11318 (Fmswindows_shell_execute): move here from gui-msw.c.
11319 (syms_of_win32): new.
11321 * device-msw.c (Fmswindows_printer_list): clean up args to
11323 Don't include tchar under cygwin or mingw.
11324 (msprinter_default_printer): make cygwin-friendly.
11326 2000-07-21 Andy Piper <andy@xemacs.org>
11328 * glyphs-widget.c (image_instantiator_tree_view): use tab
11329 control's update function.
11330 (layout_property): new function. Retrieve items.
11332 * glyphs-msw.c (mswindows_tree_view_redisplay): new
11333 function. Re-populate the tree view from the pending items.
11335 * glyphs.c (instantiate_image_instantiator): Make sure the domain
11336 is designated the parent if the domain is an image instance. This
11337 is needed so that dirtiness can be cascade up the hierarchy and
11338 thus for layout children to be redisplayed correctly.
11339 (allocate_image_instance): rename glyph -> parent.
11341 * redisplay.h: change redisplay_output_layout signature.
11343 * redisplay-msw.c (mswindows_output_display_block): use domain
11346 * redisplay-x.c (x_output_display_block): use domain arg.
11348 2000-07-10 Andy Piper <andy@xemacs.org>
11350 * window.c (Fset_window_configuration): add comment.
11352 * redisplay-output.c (compare_runes):
11353 (redisplay_output_subwindow): redisplay rather than update subwindow.
11354 (redisplay_output_layout): ditto.
11356 * redisplay-msw.c (mswindows_frame_output_end):
11357 (mswindows_frame_output_end): make defer window pos optional.
11359 * lisp.h: add Flast.
11361 * glyphs.h (struct image_instantiator_methods): add dest_mask top
11362 normalize method. Change update method to be for changed
11363 instantiators. Add redisplay method. Change signature of layout
11365 (struct Lisp_Image_Instance): add instantiator.
11366 (IMAGE_INSTANCE_INSTANTIATOR): new.
11367 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
11368 (XIMAGE_INSTANCE_INSTANTIATOR): new.
11369 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
11372 (find_instantiator_differences): new function.
11373 (Fset_instantiator_property): new convenience function.
11374 (check_image_instance_structure): strictly check for vector
11376 (normalize_image_instantiator): make non-static.
11377 (instantiate_image_instantiator): pass on dest_mask and use new
11378 signatures for image_instance_layout and friends.
11379 (mark_image_instance): mark the instantiator. Mark the subwindow
11380 face not the widget face.
11381 (image_instance_equal): add instantiator.
11382 (image_instance_hash): ditto.
11383 (allocate_image_instance): ditto.
11384 (Fset_image_instance_property): removed.
11385 (Fimage_instance_file_name): ditto.
11386 (Fcolorize_image_instance): ditto.
11387 (image_instance_layout): add offsets to be set.
11388 (update_image_instance): new function. update an image instance
11389 from its changed instantiator.
11390 (inherit_normalize): add dest_mask.
11391 (xbm_normalize): ditto.
11392 (xface_normalize): ditto.
11393 (xpm_normalize): ditto.
11394 (text_update): set_property -> update.
11395 (image_instantiate): use the glyph identity as a hash key, not the
11397 (glyph_width): use new image_instance_layout signature.
11398 (glyph_ascent): ditto.
11399 (glyph_descent): ditto.
11400 (glyph_height): ditto.
11401 (glyph_query_geometry): ressurrect.
11402 (glyph_layout): ditto.
11403 (redisplay_subwindow): update -> redisplay.
11404 (syms_of_glyphs): add Fset_instantiator_property.
11405 (image_instantiator_format_create): set_property -> update.
11408 (autodetect_normalize): add dest_maks to signature.
11409 (x_redisplay_subwindow): update -> redisplay.
11410 (x_redisplay_widget): ditto.
11411 (x_button_redisplay): ditto.
11412 (x_progress_gauge_redisplay): ditto.
11413 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
11415 (console_type_create_glyphs_x): update -> redisplay.
11416 (image_instantiator_format_create_glyphs_x): ditto.
11419 (check_valid_instantiator): disallow glyphs in the instantiator,
11420 they must now be vectors.
11421 (check_valid_instantiator_list): ditto.
11422 (glyph_instantiator_to_glyph): use internal symbol rather than
11424 (widget_update): renamed from widget_set_property. Call cascaded
11426 (redisplay_widget): renamed from update_widget.
11427 (widget_layout): image_instance_layout now takes position as well
11429 (widget_normalize): ditto.
11430 (widget_instantiate): ditto.
11431 (tab_control_query_geometry) ditto.:
11432 (tab_control_update): renamed from tab_control_set_property.
11433 (progress_gauge_update): set_property -> update.
11434 (layout_normalize): rewrite so that child instantiators are
11436 (layout_update): new function. Create glyphs from the normalized
11437 children and cope with any other layout keywords. We do not
11438 instantiate children here that will be take care of by
11439 redisplay_output_layout.
11440 (layout_instantiate): call layout_update and not much else.
11441 (layout_post_instantiate): not sure whether this is needed
11443 (layout_query_geometry): query glyph geometry rather than
11444 image_instance geometry.
11445 (layout_layout): set offsets from pass in parameters. Use glyph
11446 geometry and layout functions rather than image instance ones.
11447 (native_layout_layout): ditto.
11448 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
11449 (image_instantiator_widget): set_property -> update.
11450 (image_instantiator_buttons): ditto.
11451 (image_instantiator_progress_guage): ditto.
11452 (image_instantiator_tab_control): ditto.
11453 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
11454 (image_instantiator_layout): add update method.
11456 * glyphs-msw.c (bmp_normalize):
11457 (mswindows_resource_normalize): add dest_mask so that it can be
11458 proprogated by layout_normalize.
11459 (begin_defer_window_pos): make optional because it may not be the
11460 right thing to do and it introduces differences with X.
11461 (mswindows_unmap_subwindow): ditto.
11462 (mswindows_map_subwindow): ditto.
11463 (mswindows_redisplay_subwindow): renamed from
11464 mswindows_update_subwindow.
11465 (mswindows_redisplay_widget): ditto.
11466 (mswindows_button_redisplay): renamed from
11467 mswindows_button_update. Update is now what the instantiation
11468 function does for a changed instantiator.
11469 (mswindows_progress_gauge_instantiate): set the progress value
11470 here if appropriate.
11471 (mswindows_tab_control_redisplay): cope with re-ordering of the
11472 members of the tab widget by simply selecting the new top
11473 widget. This makes things appear ok if you click on a tab.
11474 (mswindows_combo_box_instantiate): image_instance_layout now takes
11475 position as well as size.
11476 (mswindows_progress_gauge_redisplay): renamed from
11477 mswindows_progress_gauge_update.
11478 (console_type_create_glyphs_mswindows): fix update -> redisplay.
11479 (image_instantiator_format_create_glyphs_mswindows): ditto.
11481 * glyphs-eimage.c (jpeg_normalize):
11484 (tiff_normalize): add dest_mask so that it can be proprogated by
11488 (print_hash_table):
11489 (hash_table_weakness_validate):
11490 (decode_hash_table_weakness):
11491 (Fhash_table_weakness):
11492 (Fhash_table_type):
11493 (syms_of_elhash): use Ben's naming scheme for hashtable types..
11495 * console.h (struct console_methods): move update_* to
11498 2000-07-20 Ben Wing <ben@xemacs.org>
11500 * *.[ch] (XSETOBJ): remove unused middle argument.
11501 lisp-disunion.h: correct wrap_object() to one argument.
11503 2000-07-15 Ben Wing <ben@xemacs.org>
11506 * s/cygwin32.h (CYGWIN_CONV_PATH):
11507 Add missing logb prototype for v1.1.
11508 Use post-b20 names and alias to pre-b20 names when pre-b20.
11510 * s/windowsnt.h: [5].
11512 2000-07-15 Ben Wing <ben@xemacs.org>
11514 * Makefile.in.in (x_objs):
11515 * Makefile.in.in (sheap_objs):
11516 * Makefile.in.in (objs):
11517 added win32.o, cosmetic cleanups.
11519 * alloc.c (Fmake_byte_code):
11520 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
11521 etc. macros which declare their own args now.
11523 * alloc.c (syms_of_alloc):
11524 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
11527 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
11529 * buffer.c (Fget_file_buffer):
11530 Fixed GCPRO problem.
11532 * buffer.c (get_truename_buffer):
11533 Fixed comment about GC checking.
11535 * buffer.c (syms_of_buffer):
11536 Undeclared those dedicated frame funs.
11540 Define convenience macros for internal/external conversions.
11541 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
11542 and Qenvironment_variable_encoding for cleaner code.
11545 Remove dedicated-frame; in lisp.
11547 * bytecode.c (funcall_compiled_function):
11550 * bytecode.c (syms_of_bytecode):
11554 * console-msw.c (mswindows_show_console): Rewrote.
11556 * console-msw.c (Fmswindows_debugging_output): New.
11557 Sends to OutputDebugString (special MSWin debugger interface).
11559 * console-msw.c (Fmswindows_message_box):
11560 Fixed stupid bugs so it works when called from kill-emacs.
11562 * console-msw.c (syms_of_console_mswindows):
11563 Declare Fmswindows_debugging_output.
11566 New MSWin prototypes.
11568 * console-msw.h (struct mswindows_frame):
11569 New entry last-click-mods for improved button-modifier support.
11571 * console-msw.h (FRAME_MSWINDOWS_POPUP):
11572 New struct entry `popup' with corresponding accessor.
11575 * console-x.c (split_up_display_spec):
11576 * console-x.c (get_display_arg_connection):
11577 * console-x.c (x_semi_canonicalize_console_connection):
11578 * console-x.c (x_canonicalize_device_connection):
11579 [[[6]]]: Change char to more specific type.
11580 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
11582 * console-x.c (x_semi_canonicalize_console_connection):
11583 * console-x.c (x_canonicalize_device_connection):
11584 [[[9]]]: Fix up error signalling to use new structured error system.
11587 [[[4]]]: Define codesys aliases:
11588 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
11589 Qx_color_name_encoding, Qx_display_name_encoding.
11591 * console.h (struct console_methods):
11592 New method make_dialog_box_internal supersedes older
11593 popup_dialog_box method.
11596 Define many new errors, part of new structured errors.
11598 * data.c (init_errors_once_early):
11599 * data.c (syms_of_data):
11602 * device-msw.c (mswindows_init_device):
11603 [[[5]]]: Cleanup to support NT 3.51.
11605 * device-msw.c (decode_devmode): Cleanup.
11607 * device-msw.c (mswindows_handle_print_setup_dialog_box):
11608 * device-msw.c (mswindows_handle_print_dialog_box):
11609 * device-msw.c (mswindows_handle_page_setup_dialog_box):
11610 * device-msw.c (syms_of_device_mswindows):
11611 Delete the dialog box primitives recently introduced by Kirill and
11612 instead interface to general dialog box interface.
11615 * device-x.c (compute_x_app_name):
11616 * device-x.c (x_init_device):
11617 * device-x.c (Fx_valid_keysym_name_p):
11618 * device-x.c (Fx_set_font_path):
11622 * device.h (wrap_device): New.
11623 First of its kind; meant to replace XSETDEVICE.
11625 * dialog-msw.c: Many file-dialog symbols.
11627 * dialog-msw.c (mswindows_register_popup_frame): New.
11628 * dialog-msw.c (mswindows_is_dialog_msg): New.
11629 For supporting kbd traversal in dialog boxes.
11631 * dialog-msw.c (dialog_proc):
11632 Support hitting ESC in dialogs.
11634 * dialog-msw.c (struct):
11635 Common dialog box errors.
11637 * dialog-msw.c (handle_file_dialog_box): New.
11638 Add file dialog code.
11640 * dialog-msw.c (handle_question_dialog_box):
11641 Redo existing code to support new question dialog syntax.
11643 * dialog-msw.c (console_type_create_dialog_mswindows):
11644 We support new dialog console method.
11646 * dialog-msw.c (syms_of_dialog_mswindows):
11647 * dialog-msw.c (vars_of_dialog_mswindows):
11648 New file dialog symbols, vars.
11651 * dialog-x.c (maybe_run_dbox_text_callback):
11652 * dialog-x.c (dbox_descriptor_to_widget_value):
11653 * dialog-x.c (x_make_dialog_box_internal):
11654 * dialog-x.c (console_type_create_dialog_x):
11655 Mule-ize entire file.
11656 Redo to support question dialog syntax.
11660 * dialog.c (Fmake_dialog_box_internal):
11661 * dialog.c (syms_of_dialog):
11662 Kill old popup-dialog-box, replace with new primitive.
11663 Just call device method or signal error.
11665 * eldap.c (Fldap_open):
11666 * eldap.c (Fldap_search_basic):
11667 * eldap.c (Fldap_add):
11668 * eldap.c (Fldap_modify):
11673 * emacs.c (make_arg_list_1):
11674 * emacs.c (make_arg_list):
11675 Mule-ize call to dll_init().
11679 * emacs.c (make_argc_argv):
11680 * emacs.c (free_argc_argv):
11681 * emacs.c (init_cmdargs):
11682 * emacs.c (main_1):
11683 * emacs.c (Fkill_emacs):
11684 * emacs.c (Fdump_emacs):
11685 Update comments about what can be used in syms_* etc.
11686 Call init_win32() when necessary.
11687 Fix up MS Win dialog box in kill-buffer to actually work right.
11698 * eval.c (condition_case_3):
11700 * eval.c (function_argcount):
11701 * eval.c (funcall_lambda):
11704 * eval.c (type_error): New.
11705 * eval.c (maybe_type_error): New.
11706 * eval.c (continuable_type_error): New.
11707 * eval.c (maybe_continuable_type_error): New.
11708 * eval.c (type_error_with_frob): New.
11709 * eval.c (maybe_type_error_with_frob): New.
11710 * eval.c (continuable_type_error_with_frob): New.
11711 * eval.c (maybe_continuable_type_error_with_frob): New.
11712 New functions for use with structured errors.
11715 * event-Xt.c (x_event_to_emacs_event):
11716 Buttons are now modifiers too.
11718 * event-Xt.c (emacs_Xt_current_event_timestamp):
11719 Implement new event method.
11720 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
11723 * event-msw.c (ntpipe_shove_writer): [5].
11724 * event-msw.c (mswindows_enqueue_mouse_button_event):
11725 * event-msw.c (mswindows_drain_windows_queue):
11726 * event-msw.c (mswindows_wnd_proc): [7].
11727 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
11728 * event-msw.c (mswindows_modifier_state):
11729 Throughout: support new button modifiers.
11731 * event-msw.c (emacs_mswindows_current_event_timestamp):
11732 Implement new event method.
11733 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
11736 * event-stream.c (event_stream_current_event_timestamp): New.
11737 * event-stream.c (maybe_kbd_translate): New functionality.
11738 * event-stream.c (vars_of_event_stream):
11739 Document new kbd-translate-table functionality.
11741 * event-stream.c (Fcurrent_event_timestamp): New.
11742 New primitive for use in fabricated events.
11743 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
11745 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
11748 * events.c (Fmake_event):
11749 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
11753 * events.c (format_event_object): fix gcc warnings.
11755 * events.c (Fevent_timestamp): Document new primitives.
11757 * events.c (TIMESTAMP_HALFSPACE): New.
11759 * events.c (Fevent_timestamp_lessp): New. New primitive for
11760 comparing timestamps correctly (half-space algorithm).
11762 * events.c (Fevent_modifier_bits): Doc fix.
11764 * events.c (Fevent_modifiers): Major doc addition.
11765 * events.c (event_x_y_pixel_internal): Typo fix.
11766 * events.c (syms_of_events): Declare new primitives.
11769 Update long comment for button modifiers, timestamps.
11771 * events.h (struct event_stream):
11772 New current_event_timestamp method.
11775 * extents.c (extent_in_region_p):
11776 * extents.c (decode_extent):
11777 * extents.c (Fset_extent_parent):
11778 * extents.c (decode_map_extents_flags):
11782 * extents.c (struct extent_at_arg):
11783 * extents.c (decode_extent_at_flag):
11784 * extents.c (extent_at_mapper):
11785 * extents.c (extent_at_bytind):
11786 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
11787 * extents.c (Fextents_at): New primitive. [9].
11788 * extents.c (symbol_to_glyph_layout): [9].
11789 Support new primitive `extents-at'.
11792 * extents.c (get_text_property_bytind):
11793 extent_at_bytind has another arg.
11796 * extents.c (syms_of_extents): New primitive.
11798 * file-coding.c (Fmake_coding_system): [1].
11799 * file-coding.c (subsidiary_coding_system): fix gcc warning
11800 * file-coding.c (syms_of_file_coding): [2].
11802 * fileio.c (Fexpand_file_name):
11803 * fileio.c (Fsysnetunam):
11804 * fileio.c (Ffile_exists_p):
11805 * fileio.c (Ffile_executable_p):
11806 * fileio.c (Fverify_visited_file_modtime):
11809 * fileio.c (syms_of_fileio): [2].
11811 * filelock.c (lock_file_1):
11812 * filelock.c (current_lock_owner):
11813 * filelock.c (lock_if_free):
11814 * filelock.c (lock_file):
11815 * filelock.c (unlock_file):
11818 * fns.c (concat): Fix gcc warning.
11821 * fns.c (Fold_member):
11823 * fns.c (Fold_memq):
11824 * fns.c (memq_no_quit):
11826 * fns.c (Fold_assoc):
11828 * fns.c (Fold_assq):
11829 * fns.c (assq_no_quit):
11831 * fns.c (Fold_rassoc):
11833 * fns.c (Fold_rassq):
11834 * fns.c (rassq_no_quit):
11836 * fns.c (Fold_delete):
11838 * fns.c (Fold_delq):
11839 * fns.c (delq_no_quit):
11840 * fns.c (Fremassoc):
11841 * fns.c (Fremassq):
11842 * fns.c (remassq_no_quit):
11843 * fns.c (Fremrassoc):
11844 * fns.c (Fremrassq):
11845 * fns.c (remrassq_no_quit):
11846 * fns.c (Freverse):
11850 * frame-msw.c (mswindows_init_frame_1):
11851 * frame-msw.c (mswindows_delete_frame):
11852 Register popups with dialog code so keyboard traversing works.
11854 * frame-tty.c (tty_raise_frame_no_select): [1].
11857 * frame-x.c (x_set_frame_text_value):
11858 * frame-x.c (x_set_frame_properties):
11859 * frame-x.c (x_create_widgets):
11863 * frame.c (Fmouse_pixel_position): Minor doc fixes.
11865 * frame.h (wrap_frame): New.
11866 Macro like wrap_device.
11869 * general.c (SYMBOL):
11870 * general.c (syms_of_general):
11871 Major reorg. This is now just a wrapper and symbols themselves
11872 are listed in general-slots.h.
11874 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
11875 * glyphs-msw.c (mswindows_resource_instantiate): [5].
11877 * glyphs-msw.c (mswindows_native_layout_instantiate):
11878 Add DS_CONTROL so keyboard traversal will work.
11881 * glyphs-widget.c (syms_of_glyphs_widget):
11882 Move some symbols to general-slots.h.
11885 * glyphs-x.c (xbm_instantiate_1):
11886 * glyphs-x.c (x_xbm_instantiate):
11887 * glyphs-x.c (x_xface_instantiate):
11888 * glyphs-x.c (autodetect_instantiate):
11889 * glyphs-x.c (cursor_font_instantiate):
11890 * glyphs-x.c (x_update_widget):
11891 * glyphs-x.c (x_widget_instantiate):
11892 * glyphs.c (bitmap_to_lisp_data):
11893 * glyphs.c (pixmap_to_lisp_data):
11896 * glyphs.c (syms_of_glyphs):
11900 * gui-x.c (print_widget_value):
11901 * gui-x.c (menu_separator_style_and_to_external):
11902 * gui-x.c (add_accel_and_to_external):
11903 * gui-x.c (button_item_to_widget_value):
11904 * gui-x.c (gui_items_to_widget_values_1):
11905 * gui-x.c (gui_items_to_widget_values):
11906 * gui-x.c (syms_of_gui_x):
11907 * gui-x.c (vars_of_gui_x):
11908 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
11912 Muleize, prototype changes matching gui-x.c.
11915 * gui.c (separator_string_p):
11916 * gui.c (gui_item_add_keyval_pair):
11917 * gui.c (make_gui_item_from_keywords_internal):
11918 * gui.c (signal_too_long_error):
11919 * gui.c (parse_gui_item_tree_item):
11920 * gui.c (syms_of_gui):
11921 * gui.c (vars_of_gui):
11923 menu-no-selection-hook moved here (used by MSWin).
11924 Move some symbols to general-slots.h.
11928 * insdel.c (get_buffer_pos_char):
11929 * insdel.c (get_buffer_range_char):
11932 * keymap.c (keymap_lookup_directly):
11933 * keymap.c (keymap_store):
11934 * keymap.c (ensure_meta_prefix_char_keymapp):
11935 * keymap.c (describe_map):
11937 Support new button modifiers.
11939 * lisp-disunion.h (wrap_object):
11940 * lisp-disunion.h (XSETOBJ):
11941 Rename make_obj to wrap_object.
11944 * lisp-union.h (make_int):
11945 * lisp-union.h (make_char):
11946 Support wrap_object.
11949 * lisp.h (LIST_LOOP):
11950 * lisp.h (EXTERNAL_LIST_LOOP):
11951 * lisp.h (LIST_LOOP_2):
11952 * lisp.h (EXTERNAL_LIST_LOOP_1):
11953 * lisp.h (EXTERNAL_LIST_LOOP_2):
11954 * lisp.h (EXTERNAL_LIST_LOOP_3):
11955 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
11956 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
11957 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
11958 * lisp.h (EXTERNAL_ALIST_LOOP_5):
11959 * lisp.h (EXTERNAL_ALIST_LOOP_6):
11960 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
11961 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
11962 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
11963 * lisp.h (struct Lisp_Symbol):
11964 * lisp.h (maybe_continuable_error_with_frob):
11965 Fix up section comments.
11966 Add new types for char to indicate usage.
11967 Delete symbols auto-generated from general-slots.h.
11968 Add prototypes for structured error functions.
11969 Add long comments describing looping macros and change interface
11970 so that lvalues are automatically declared.
11971 Add NO_DECLARE macro in case callers want to declare lvalues
11974 * lread.c (read_syntax_error):
11975 * lread.c (continuable_read_syntax_error):
11976 * lread.c (read_structure):
11977 * lread.c (sequence_reader):
11978 * lread.c (read_list_conser):
11979 * lread.c (read_compiled_function):
11980 Rename syntax_error and continuable_syntax_error to avoid clash
11981 with same-named structured error functions.
11983 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11984 * menubar-msw.c (populate_menu_add_item):
11985 * menubar-msw.c (populate_or_checksum_helper):
11990 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11991 Mule-ize whole file.
11993 * menubar.c (Fnormalize_menu_item_name): Add optimization.
11995 * mule-charset.c (Fmake_charset):
11996 * mule-wnnfns.c (Fwnn_set_param):
11999 * ntproc.c (create_child):
12000 * ntproc.c (Fwin32_set_current_locale):
12001 Add comments portending doom.
12004 * objects-msw.c (old_font_enum_callback_2):
12005 * objects-msw.c (font_enum_callback_1):
12006 * objects-msw.c (mswindows_enumerate_fonts):
12010 * objects-x.c (allocate_nearest_color):
12011 * objects-x.c (x_parse_nearest_color):
12012 * objects-x.c (x_initialize_color_instance):
12013 * objects-x.c (x_print_color_instance):
12014 * objects-x.c (x_finalize_color_instance):
12015 * objects-x.c (x_valid_color_name_p):
12016 * objects-x.c (x_initialize_font_instance):
12017 * objects-x.c (x_print_font_instance):
12018 * objects-x.c (valid_x_font_name_p):
12019 * objects-x.c (truename_via_FONT_prop):
12020 * objects-x.c (truename_via_random_props):
12021 * objects-x.c (truename_via_XListFonts):
12022 * objects-x.c (x_font_truename):
12023 * objects-x.c (x_font_instance_truename):
12024 * objects-x.c (x_font_instance_properties):
12025 * objects-x.c (x_list_fonts):
12026 * objects-x.c (x_find_charset_font):
12027 Mule-ize entire file.
12034 * print.c (std_handle_out_external):
12035 * print.c (debug_print_no_newline):
12036 * print.c (syms_of_print):
12037 Output to all debugger kinds in debug-print.
12038 Fix console-output code under MSWin to actually work.
12040 * process-nt.c (send_signal):
12041 * process-nt.c (nt_create_process):
12042 Use newer Unicode macros.
12044 * process-unix.c (unix_create_process):
12045 * process-unix.c (unix_canonicalize_host_name):
12046 * process-unix.c (unix_open_network_stream):
12052 * search.c (syms_of_search):
12055 * select-msw.c (mswindows_destroy_selection):
12058 * select-x.c (symbol_to_x_atom):
12061 * select.c (syms_of_select):
12064 * sound.c (Fplay_sound_file):
12068 * specifier.c (decode_specifier_type):
12069 * specifier.c (Fvalid_specifier_locale_type_p):
12070 * specifier.c (check_valid_locale_or_locale_type):
12071 * specifier.c (decode_locale):
12072 * specifier.c (decode_locale_type):
12073 * specifier.c (decode_locale_list):
12074 * specifier.c (check_valid_domain):
12075 * specifier.c (decode_specifier_tag_set):
12076 * specifier.c (Fcanonicalize_tag_set):
12077 * specifier.c (Fdefine_specifier_tag):
12078 * specifier.c (Fspecifier_tag_predicate):
12079 * specifier.c (check_valid_inst_list):
12080 * specifier.c (check_valid_spec_list):
12081 * specifier.c (decode_how_to_add_specification):
12082 * specifier.c (check_modifiable_specifier):
12083 * specifier.c (specifier_add_spec):
12084 * specifier.c (boolean_validate):
12085 * specifier.c (display_table_validate):
12088 * specifier.c (syms_of_specifier):
12089 Move some symbols to general-slots.h.
12093 * symbols.c (Fmapatoms):
12094 * symbols.c (Fapropos_internal):
12097 * symbols.c (set_default_buffer_slot_variable):
12098 * symbols.c (set_default_console_slot_variable):
12101 * symbols.c (defsymbol_massage_name_1):
12102 * symbols.c (defkeyword_massage_name):
12103 * symbols.c (deferror_1):
12104 * symbols.c (deferror):
12105 * symbols.c (deferror_massage_name_and_message):
12107 * symeval.h (DEFSYMBOL):
12108 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
12110 * symbols.c (syms_of_symbols):
12114 * symsinit.h (init_win32): New.
12115 Also new is syms_of_dialog_mswindows.
12118 Add new Unicode macros, missing Cygwin wide-char functions,
12119 convenience conversion macros for Qmswindows_tstr, macros for
12120 encapsulating required MSWin <-> Cygwin filename conversions,
12121 prototype for dynamically-extracted (not in NT 3.51) functions.
12126 * tooltalk.c (Fadd_tooltalk_message_arg):
12127 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
12128 * tooltalk.c (Fadd_tooltalk_pattern_arg):
12131 * tooltalk.c (syms_of_tooltalk):
12135 * unexnt.c (unexec):
12136 Fix up headers, declaration of unexec() to be more standard.
12138 2000-07-20 Martin Buchholz <martin@xemacs.org>
12140 * offix.h: Revert change to guard macros - they're used in offix.c!
12142 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12144 * lisp.h: Defsubred Fdelete.
12146 * console-msw.h: (msprinter_default_printer): Added.
12148 * console-msw.c (msprinter_canonicalize_console_connection):
12149 (msprinter_canonicalize_device_connection): Added.
12151 * device-msw.c (msprinter_default_printer):
12152 (Fmswingows_get_default_printer):
12153 (signal_enum_priner_error):
12154 (Fmswingows_printer_list): Added.
12156 2000-07-19 Martin Buchholz <martin@xemacs.org>
12158 * XEmacs 21.2.35 is released.
12160 2000-07-19 Martin Buchholz <martin@xemacs.org>
12162 * select-x.c (x_handle_selection_request):
12163 Text selected in xemacs and pasted into xterm failed to appear.
12164 Spelling fixes and cosmetic changes.
12166 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12168 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
12169 XEmacs frame (fix for doubling chars in dialog boxes).
12171 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
12173 * select.c (select_convert_in, select_convert_out):
12174 Don't call intern() every time.
12176 * select.c (Qselect_convert_in, Qselect_convert_out): New.
12177 * select.c (vars_of_select): Initialise them.
12179 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
12181 * select.c (selection-coercible-types): New.
12183 * select.c (own-selection-internal):
12184 * select.c (get-selection-internal):
12185 MULE bug fix - these should default to COMPOUND_TEXT and not
12186 STRING for MULE. I think.
12188 * select.c (select_convert_out): Use selection-coercible-types
12189 to find types that we can attempt to perform coercions on.
12191 2000-07-18 Martin Buchholz <martin@xemacs.org>
12195 Add coding: cookie to identify encoding.
12197 * mule-canna.c (CANNA_mode_keys): make static.
12198 Use proper prototypes, even for functions of no arguments.
12199 Remove external prototype for Fding().
12201 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
12203 * select.c (syms_of_select): Add missing DEFSUBR.
12205 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
12207 * select.c (get_selection_internal, own_selection_internal):
12208 Make the type default to STRING, rather than placing a nil type
12209 into Vselection_alist.
12211 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
12213 * gpmevent.c (tty_selection_exists_p):
12214 * gpmevent.c (tty_own_selection):
12215 Updated parameter lists.
12217 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
12219 * select.h (selection-alist): Removed declaration.
12221 * select.h (get_local_selection):
12222 * select.c (get_local_selection):
12225 * select.h (convert_selection): Removed declaration.
12226 * select.c (convert_selection): Removed.
12227 This function belongs in Lisp.
12229 * select.h (select_convert_in): Declare.
12230 * select.h (select_convert_out): Declare.
12231 * select.c (select_convert_in): New.
12232 * select.c (select_convert_out): New.
12233 New conversion functions for other files to call.
12235 * select.h (select_notify_buffer_kill): Declare.
12236 * select.c (select_notify_buffer_kill): New.
12237 New functions that get called from kill-buffer.
12239 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
12240 X-specific lisp code.
12242 * select.h: Declare some of the lisp-visible functions for
12245 * select.c (clean_local_selection_data): Removed. This was
12246 a disgusting function, and previously should have been in
12247 select-x.c in any case. The functionality is now provided
12248 in select-convert-from-integer (select.el).
12250 * select.c (available-selection-types): Fixed stupidity where
12251 INTEGER and ATOM got added twice. Also add STRING when we see an
12254 * select.c (get-selection-internal): Removed symbol stripping. No
12255 longer causes conversion when data comes from the internal cache.
12257 * select.c (syms_of_select): Added new functions.
12259 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
12260 error checking - previously this called abort!
12262 * select-x.c (x_own_selection): Changed comment.
12264 * select-x.c (x_handle_selection_request): Use select_convert_out.
12265 Don't mess with selection-alist; it's an internal variable of select.c.
12267 * select-x.c (x_get_foreign_selection): Use select_convert_in.
12269 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
12270 rather than messing with selection-alist.
12272 * select-msw.c (mswindows_get_foreign_selection):
12273 Use TO_INTERNAL_FORMAT rather than hacking.
12275 2000-07-14 Martin Buchholz <martin@xemacs.org>
12277 * process-unix.c (unix_open_multicast_group):
12278 (unix_open_multicast_group): Remove useless casts.
12280 2000-07-13 Martin Buchholz <martin@xemacs.org>
12282 * sound.c (Fplay_sound): Fix `unused variable' warning.
12284 * emacs.c (main): Use correct type for _environ on SCO5.
12286 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
12288 * console.h (own_selection_method):
12289 * console.h (selection_exists_p_method):
12290 * console.h (available_selection_types_method): New.
12291 * console.h (register_selection_data_type_method): New.
12292 * console.h (selection_data_type_name): New.
12294 * console-msw.h (mswindows_destroy_selection): Declare it. New
12295 function & alist to track GlobalAlloc()'d handles that need
12296 releasing when the clipboard data gets replaced or emptied.
12298 * event-msw.c (mswindows_wnd_proc): Call it.
12300 * lisp.h, general.c (Qappend): New symbol representing a
12303 * select.c (own-selection-internal):
12304 * select.c (selection-exists-p):
12305 * select.c (available-selection-types): New.
12306 * select.c (register-selection-data-type): New.
12307 * select.c (selection-data-type-name): New. New functions to deal
12308 with device-specific selection data formats.
12309 * select.c (selection-converter-out-alist): Renamed.
12310 * select.c (selection-converter-in-alist): New.
12311 * select.c (selection-appender-alist): New. Added new alists.
12312 * select.c (syms_of_select, vars_of_select): Added new symbols &
12314 * select.c (get_local_selection): Split.
12315 * select.c: Removed spurious type checking - selections may now be
12316 of any type, not just strings.
12317 * select.c (own-selection-internal):
12319 * select.h, select.c (convert_selection): New. Created
12320 convert_selection() function based on get_local_selection().
12321 * select.h, select.c (QCF_*): New symbols representing mswindows
12323 * select.h, select.c (Qreplace_all, Qreplace_existing): New
12324 symbols representing `how-to-add' modes.
12326 * select-msw.c (x_sym_p): New.
12327 * select-msw.c (symbol_to_ms_cf): New.
12328 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
12329 symbols & clipboard formats. Can also handle string names.
12330 * select-msw.c (mswindows_own_selection):
12331 * select-msw.c (mswindows_selection_exists_p):
12332 Added `data-type' parameter. Use it.
12333 * select-msw.c (mswindows_available_selection_types): New.
12334 * select-msw.c (mswindows_register_selection_data_type): New.
12335 * select-msw.c (mswindows_selection_data_type_name): New.
12336 * select-msw.c (mswindows_own_selection):
12337 * select-msw.c (mswindows_get_foreign_selection):
12338 * select-msw.c (mswindows_selection_exists_p): Rewrote.
12339 * select-msw.c (console_create_select_mswindows): Added new methods.
12340 * select-msw.c (mswindows_destroy_selection): New.
12341 * select-msw.c (Vhandle_alist): New list.
12342 * select-msw.c (mswindows_own_selection):
12344 * select-x.c (x_own_selection):
12345 * select-x.c (x_selection_exists_p):
12346 * select-x.c: Added some comments about maybe using new
12348 * select-x.c (x_own_selection):
12350 * specifier.c: Remove definition of Qappend (now in general.c)
12351 * specifier.c (syms_of_specifier): Remove Qappend.
12353 2000-07-12 Martin Buchholz <martin@xemacs.org>
12355 * config.h.in: Add socklen_t.
12357 * s/decosf4-0.h: No special compiler flags needed or desired.
12358 In particular, undefine _BSD for DEC OSF 4.0.
12360 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12362 * redisplay-msw.c (msprinter_frame_output_end): Added.
12363 (console_type_create_redisplay_mswindows): Referred the above.
12365 * frame.c (setup_frame_without_minibuffer): Do not create a
12366 default minibuffer frame on a printer device.
12368 * frame-msw.c (apply_dc_geometry): Added.
12369 (msprinter_start_page):
12370 (msprinter_init_frame_3):
12371 (msprinter_eject_page): Use it.
12373 * console-msw.h (struct msprinter_frame): Added pix_left and top,
12374 and removed residual duplex and orientation properties.
12376 2000-07-11 Martin Buchholz <martin@xemacs.org>
12378 * eval.c (function_argcount): Work around a DEC CC compiler bug.
12380 * unexalpha.c: Remove system prototypes from C sources!
12382 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
12384 * eval.c: Remove references to M-x edit-options in DEFUNs for
12385 `defvar' and `defconst'.
12387 2000-07-09 Martin Buchholz <martin@xemacs.org>
12389 * config.h.in: Remove SMART_INCLUDE hackery.
12391 PostgreSQL hacking:
12392 * config.h.in: Don't use SMART_INCLUDE.
12394 * postgresql.h: Include libpq-fe.h here. Fix typo.
12395 * inline.c: Simply #include "postgresql.h"
12397 - Don't use SMART_INCLUDE
12398 - Use simply "const".
12399 - Use standard doc string conventions.
12400 - Use correct type for result of PQstatus.
12402 2000-07-09 Martin Buchholz <martin@xemacs.org>
12404 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
12406 C++ compilation changes.
12407 * config.h.in (EXTERN_C): Define.
12408 * config.h.in (not): This is also a C++ keyword.
12409 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
12410 * cm.c: Use EXTERN_C.
12411 * redisplay-tty.c: Use EXTERN_C.
12412 * sysdep.c: Use EXTERN_C. Remove Gould support.
12414 2000-07-09 Martin Buchholz <martin@xemacs.org>
12416 * general.c: Remove duplicate definition for Qfunction.
12418 2000-07-08 Ben Wing <ben@xemacs.org>
12420 * device-msw.c (msprinter_init_device):
12421 * device-msw.c (sync_printer_with_devmode):
12422 * device-msw.c (handle_devmode_changes):
12423 * device-msw.c (print_dialog_worker):
12424 * device-msw.c (Fmsprinter_apply_settings):
12425 * device-msw.c (hash_devmode):
12426 * device-msw.c (Fmsprinter_settings_despecialize):
12427 use Qmswindows_tstr, not Qctext.
12429 * vm-limit.c (check_memory_limits):
12430 avoid infinite loop printing warning messages.
12432 2000-07-05 Craig Lanning <lanning@scra.org>
12434 * Makefile.in.in: Add support for including the Windows resources
12435 when building with the cygwin and mingw targets.
12437 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
12438 not set or not correct.
12439 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
12440 (init_initial_directory): Don't try to use $PWD on the
12441 WIN32_NATIVE target.
12444 [[Add -mwindows to eliminate console window.]] not required --ben
12445 (HAVE_NATIVE_SOUND): removed; now handled by configure.
12446 (MAIL_USE_POP): removed; now handled by configure.
12448 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
12449 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
12450 (HAVE_NATIVE_SOUND): removed; now handled by configure.
12451 (MAIL_USE_POP): removed; now handled by configure.
12452 (ENCAPSULATE_STAT): from Dan Holmsand, added.
12453 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
12454 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
12456 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
12457 up from <winsock.h> via systime.h.
12458 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
12459 (getpagesize): from Dan Holmsand, added.
12460 Added #endif which was left dangling by Ben's mega patch; added
12461 comment to help prevent this in the future.
12463 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
12465 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12467 * console-msw.h (struct mswindows_device): Removed unnecessary
12468 cached device geometry values.
12469 Added update_tick and an accessor macro.
12470 (Lisp_Devmode): Added lrecord declaration.
12471 (struct msprinter_device): Contain devmode as a Lisp object.
12472 Added mswindows_get_selected_frame_hwnd();
12474 * console.h (struct console_methods): Indentation nitpicking.
12476 * device-msw.c (mswindows_init_device): Do not initialize geometry
12477 cache. Initialize update tick.
12478 (mswindows_device_system_metrics): Ask the device for its geometry.
12479 (global_free_2_maybe):
12480 (devmode_to_hglobal):
12481 (handle_printer_changes):
12482 (ensure_not_printing):
12483 (print_dialog_worker):
12484 (Fmsprinter_print_setup_dialog):
12485 (Fmsprinter_print_dialog):
12486 (plist_get_margin):
12487 (plist_set_margin):
12488 (Fmsprinter_page_setup_dialog): Added functions.
12489 (sync_printer_with_devmode):
12490 (handle_devmode_changes):
12491 (Fmsprinter_get_settings):
12492 (Fmsprinter_select_settings):
12493 (Fmsprinter_apply_settings):
12494 (allocate_devmode):
12495 (Fmsprinter_settings_copy):
12496 (Fmsprinter_settings_despecialize):
12498 (finalize_devmode):
12500 (hash_devmode): Added functions
12501 (syms_of_device_mswindows): Init devmode lrecord class.
12503 * device.h: Added an exfun for find-device.
12505 * event-msw.c (mswindows_wnd_proc): Do not update the cached
12506 geometry; although, recreate the device compatible DC.
12508 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
12509 (msprinter_init_frame_3):
12510 (msprinter_frame_property):
12511 (msprinter_internal_frame_property_p):
12512 (msprinter_frame_properties):
12513 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
12514 print job properties (will move to device settings).
12516 * lisp.h: Added symbols.
12518 * general.c (syms_of_general): Declared them.
12520 * hash.c (string_hash): Added.
12522 * lrecord.h (lrecord_type): Added devmode lrecord type.
12524 2000-07-02 Mike Sperber <mike@xemacs.org>
12526 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
12529 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
12531 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
12534 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
12536 * data.c (Fstring_to_number): Don't recognize floating point if
12539 2000-06-22 Martin Buchholz <martin@xemacs.org>
12541 * glyphs-widget.c (tab_control_query_geometry):
12542 (widget_query_geometry):
12543 (button_query_geometry):
12544 * glyphs.c (text_query_geometry):
12545 Enforce type correctness.
12547 2000-06-18 Martin Buchholz <martin@xemacs.org>
12549 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
12550 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
12552 2000-06-17 Martin Buchholz <martin@xemacs.org>
12554 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
12555 conflicts with gcc's fixincluded version of FOO.h.
12557 * glyphs.h (image_instance_geometry): Remove trailing `,'
12559 2000-06-08 Mike Alexander <mta@arbortext.com>
12561 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
12562 (shove_thread): Don't write the same output twice
12563 (make_ntpipe_output_stream): Increase priority of shove thread
12564 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
12566 (ntpipe_shove_closer): Don't delete the pipe until we're done with
12569 2000-06-12 Ben Wing <ben@xemacs.org>
12571 * s\mingw32.h (sigset):
12572 * s\windowsnt.h (sigset):
12573 rename msw_ to mswindows_ for consistency with general convention.
12575 2000-06-12 Ben Wing <ben@xemacs.org>
12578 * console-msw.c (mswindows_get_console_hwnd):
12579 * console-msw.c (mswindows_ensure_console_allocated):
12580 * console-msw.c (mswindows_hide_console):
12581 * console-msw.c (mswindows_show_console):
12582 * console-msw.c (mswindows_ensure_console_buffered):
12583 * console-msw.c (mswindows_output_console_string):
12584 * console-msw.c (mswindows_windows9x_p):
12586 * device-msw.c (mswindows_get_workspace_coords):
12587 * device-msw.c (mswindows_device_system_metrics):
12588 * dialog-msw.c (mswindows_popup_dialog_box):
12589 * event-msw.c (mswindows_wnd_proc):
12590 * frame-msw.c (mswindows_size_frame_internal):
12591 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
12592 * menubar-msw.c (displayable_menu_item):
12593 * menubar-msw.c (mswindows_char_is_accelerator):
12595 * nt.c (mswindows_sigset):
12596 * nt.c (mswindows_sigrelse):
12597 * nt.c (mswindows_sigpause):
12598 * nt.c (mswindows_raise):
12599 * nt.c (timer_proc):
12601 * ntproc.c (find_child_console):
12602 * ntproc.c (sys_kill):
12604 * print.c (std_handle_out_external):
12605 * process-nt.c (find_child_console):
12606 * process-nt.c (send_signal_the_95_way):
12607 * process-nt.c (ensure_console_window_exists):
12608 * process-nt.c (nt_create_process):
12610 rename msw_ to mswindows_ for consistency with general convention.
12614 include nt.h, not syswindows.h.
12616 * nt.c (mswindows_fstat):
12617 * nt.c (mswindows_stat):
12618 prefix mswindows_ instead of attempting to directly override the
12619 library functions. fix declarations.
12622 include syswindows.h. move some sysdep.h stuff here.
12625 include syswindows.h, not <windows.h>.
12633 * sysdep.c (sys_fstat):
12634 * sysdep.c (sys_stat):
12635 call mswindows versions when appropriate.
12638 move mswin decls to nt.h.
12641 add long comment describing appropriate use of the various windows
12644 2000-06-11 Ben Wing <ben@xemacs.org>
12646 * device-x.c: Correct doc string for sixth arg of x-get-resource.
12648 2000-06-10 Ben Wing <ben@xemacs.org>
12650 * Makefile.in.in (release):
12651 Correction to make sure xemacs.exe always dumped when correct.
12655 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
12657 * buffer.c (set_buffer_internal):
12658 [[[[2]]]]: Remove HAVE_FEP code.
12660 * buffer.c (init_initial_directory):
12664 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
12668 * callproc.c (call_process_cleanup):
12669 * callproc.c (Fold_call_process_internal):
12670 * callproc.c (child_setup):
12671 * callproc.c (getenv_internal):
12672 * callproc.c (init_callproc):
12673 * callproc.c (vars_of_callproc):
12674 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
12675 __CYGWIN32__ -> CYGWIN.
12676 DOS_NT -> WIN32_NATIVE.
12677 Remove MSDOS support/references, converting to WIN32_NATIVE
12679 __MINGW32__ -> MINGW.
12680 Fix windows.h includes.
12681 Remove bogus HAVE_NTGUI.
12687 mswindows_message_outputted added for use in allowing startup
12688 errors on the console to be seen.
12690 * console-msw.c (msw_ensure_console_allocated):
12691 * console-msw.c (msw_output_console_string):
12692 * console-msw.c (DHEADER):
12693 * console-msw.c (DOPAQUE_DATA):
12694 * console-msw.c (DEVENT):
12695 * console-msw.c (DCONS):
12696 * console-msw.c (DCONSCDR):
12697 * console-msw.c (DSTRING):
12698 * console-msw.c (DVECTOR):
12699 * console-msw.c (DSYMBOL):
12700 * console-msw.c (DSYMNAME):
12703 * console-stream.c (stream_init_console):
12704 Fix text/binary problems.
12707 * device-msw.c (mswindows_finish_init_device):
12708 * device-msw.c (mswindows_delete_device):
12711 * device.c (handle_asynch_device_change):
12715 * dgif_lib.c (DGifOpenFileName):
12716 * dgif_lib.c (DGifOpenFileHandle):
12717 * dgif_lib.c (DGifGetLine):
12718 * dgif_lib.c (DGifGetPixel):
12719 Added config.h/lisp.h, fix up includes.
12726 * dired.c (file_name_completion):
12727 * dired.c (Ffile_attributes):
12728 * dired.c (syms_of_dired):
12732 * dumper.c (pdump_file_unmap):
12733 * dumper.c (pdump_load):
12737 * editfns.c (Ftemp_directory):
12738 * editfns.c (user_login_name):
12739 * editfns.c (Fuser_real_login_name):
12740 * editfns.c (get_home_directory):
12743 * elhash.c (finish_marking_weak_hash_tables):
12744 [[[[5]]]]: Fix GCC warnings.
12747 * emacs.c (mswindows_handle_hardware_exceptions):
12748 * emacs.c (make_arg_list_1):
12749 * emacs.c (main_1):
12750 * emacs.c (Fkill_emacs):
12751 * emacs.c (Fdump_emacs):
12753 Fix problems with nested crashes, add long comment.
12755 * event-Xt.c (init_event_Xt_late):
12759 * event-msw.c (mswindows_dde_callback):
12760 * event-msw.c (mswindows_handle_sticky_modifiers):
12761 * event-msw.c (mswindows_wnd_proc):
12765 * events.c (character_to_event):
12769 * fileio.c (Ffile_name_directory):
12770 * fileio.c (Ffile_name_nondirectory):
12771 * fileio.c (directory_file_name):
12772 * fileio.c (Fexpand_file_name):
12773 * fileio.c (Fsubstitute_in_file_name):
12774 * fileio.c (Ffile_name_absolute_p):
12775 * fileio.c (check_executable):
12776 * fileio.c (Ffile_readable_p):
12777 * fileio.c (Ffile_accessible_directory_p):
12778 * fileio.c (Ffile_modes):
12779 * fileio.c (Funix_sync):
12780 * fileio.c (vars_of_fileio):
12783 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
12785 Expand getdefdir defn.
12786 Fix bogus rename() comment.
12788 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
12789 to use standard XEmacs include files, e.g. sysfile.h, rather
12790 than system-specific includes.
12796 * frame.c (vars_of_frame):
12800 * getloadavg.c (getloadavg):
12802 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
12803 (We don't use it elsewhere in the code; just add a comment.)
12810 * glyphs-msw.c (mswindows_resource_instantiate):
12813 * glyphs-x.c (x_native_layout_instantiate):
12816 * gui-msw.c (Fmswindows_shell_execute):
12825 * lread.c (locate_file_in_directory_mapper):
12832 * mem-limits.h (get_lim_data):
12844 * nt.c (rva_to_section):
12845 * nt.c (mswindows_executable_type):
12847 Fix closedir() defn.
12850 [[[[8]]]]: *_OK defs moved to sysfile.h.
12859 * print.c (std_handle_out_external):
12863 * process-nt.c (nt_create_process):
12865 try to fix process quoting somewhat.
12867 * process-unix.c (unix_create_process):
12871 * process.c (vars_of_process):
12878 * realpath.c (xrealpath):
12881 * redisplay-tty.c (init_tty_for_redisplay):
12891 * sheap.c (more_static_core):
12892 * sheap.c (report_sheap_usage):
12896 * signal.c (alarm_signal):
12903 * strftime.c (zone_name):
12906 * symsinit.h (init_sunpro):
12910 commctrl.h not in Cygwin b20.1.
12913 * sysdep.c (endif):
12914 * sysdep.c (sys_subshell):
12915 * sysdep.c (init_baud_rate):
12916 * sysdep.c (emacs_get_tty):
12917 * sysdep.c (emacs_set_tty):
12918 * sysdep.c (tty_init_sys_modes_on_device):
12919 * sysdep.c (init_system_name):
12920 * sysdep.c (sys_open):
12921 * sysdep.c (interruptible_open):
12922 * sysdep.c (sys_fopen):
12923 * sysdep.c (sys_mkdir):
12924 * sysdep.c (sys_rename):
12925 * sysdep.c (get_process_times_1):
12932 * sysdir.h (DIRENTRY_NONEMPTY):
12935 * sysdll.c (dll_init):
12941 added text/binary defs.
12947 * sysproc.h (EDESTADDRREQ):
12948 * sysproc.h (poll_fds_for_input):
12965 Always define WIN32_LEAN_AND_MEAN.
12967 * unexcw.c (unexec):
12971 * unexec.c (copy_text_and_data):
12972 * unexec.c (adjust_lnnoptrs):
12976 * unexnt.c (_start):
12979 2000-06-07 Ben Wing <ben@xemacs.org>
12981 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
12982 was used only as a model. We've long since extracted any useful
12983 logic or code out of this. (I just did an exhaustive search.)
12985 * s\msdos.h: Removed.
12987 * s\windows95.h: Removed.
12989 2000-06-10 Ben Wing <ben@xemacs.org>
12993 Don't use extern with fun defs.
12997 Remove nt\inc include.
12998 Remove getdisk, getdefdir. (The former is unused, the latter
12999 expanded in fileio.h.)
13002 * s\windowsnt.h (WIN32_NATIVE):
13003 * s\windowsnt.h (HAVE_STRCASECMP):
13005 Add long comment about preprocessor changes.
13006 Remove getdisk, getdefdir. (The former is unused, the latter
13007 expanded in fileio.h.)
13009 2000-06-10 Ben Wing <ben@xemacs.org>
13018 Remove bogus/unused NO_SOCK_SIGIO.
13020 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
13022 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
13025 2000-06-04 Mike Sperber <mike@xemacs.org>
13027 * casetab.c (set_case_table): For `set-standard-case-table',
13028 actually deposit the new case tables where the rest of XEmacs can
13031 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
13033 * data.c (Faset): Don't cast XCHAR() to unsigned char.
13035 2000-06-05 Ben Wing <ben@xemacs.org>
13037 * callproc.c (child_setup): Don't do close_load_descs() under
13038 MS Windows. Put in a comment explaining why.
13040 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
13042 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
13043 Toolkit shell" which breaks `kill-compilation' on Windows NT
13044 native, retaining STDERR handling improvements.
13046 2000-06-01 Andreas Jaeger <aj@suse.de>
13048 * s/s390.h: Support for S390, based on a patch by Martin
13049 Schwidefsky <schwidefsky@de.ibm.com>.
13051 2000-05-30 Andy Piper <andy@xemacs.org>
13053 * window.c (allocate_window):
13054 (make_dummy_parent):
13055 (Fset_window_configuration): use new hashtable type.
13057 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
13058 (struct image_instantiator_methods):
13059 (struct Lisp_Image_Instance): make instance geometry signed.
13061 * glyphs.c (instantiate_image_instantiator):
13062 (image_instance_query_geometry):
13063 (image_instance_layout):
13064 (image_instance_layout):
13065 (query_string_geometry):
13066 (text_query_geometry):
13067 (image_instantiate):
13068 (image_instantiate):
13069 (cache_subwindow_instance_in_frame_maybe):
13070 (subwindow_query_geometry): make instance geometry signed.
13072 * glyphs-widget.c (widget_query_geometry):
13074 (button_query_geometry):
13075 (tree_view_query_geometry):
13076 (tab_control_query_geometry):
13077 (layout_query_geometry):
13079 (native_layout_layout): make instance geometry signed.
13081 2000-05-29 Olivier Galibert <galibert@pobox.com>
13083 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
13086 * general.c (syms_of_general): Add Qfull_assoc symbol.
13088 * data.c (finish_marking_weak_lists): Mark full-assoc lists
13090 (decode_weak_list_type): Decode full-assoc type.
13091 (encode_weak_list_type): Encode full-assoc type.
13092 (Fmake_weak_list): Update doc string.
13094 2000-05-30 Andy Piper <andy@xemacs.org>
13096 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
13098 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
13099 (decode_hash_table_weakness): ditto.
13100 (Fhash_table_weakness): ditto.
13101 (Fhash_table_type): ditto.
13102 (finish_marking_weak_hash_tables): ditto.
13103 (hash_table_weakness_validate): ditto.
13104 (syms_of_elhash): ditto.
13106 2000-05-28 Martin Buchholz <martin@xemacs.org>
13108 * XEmacs 21.2.34 is released.
13110 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13112 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
13114 (updating_line_start_cache): Gone.
13115 (regenerate_window): Replace resetting of VERTICAL_CLIP by
13116 generic code to force a minimum of 1 line laid out in the
13119 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13121 * glyphs.c (instantiate_image_instantiator): Check for initialized
13122 height & width no longer special cases IMAGE_NOTHING.
13123 (nothing_instantiate): Set height and width of instance.
13125 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
13127 * unexelf.c (unexec): Search for ".data" section.
13128 Initialize new_data2_offset from old_data_index.
13129 Remove redundant check for ElfW.
13131 2000-05-23 Andy Piper <andy@xemacs.org>
13133 * glyphs.c (get_image_instantiator_governing_domain): allow more
13134 specific domains as the governing domain rather than expecting an
13135 exact match. This fixes problems with layouts.
13137 2000-05-22 Andy Piper <andy@xemacs.org>
13139 * redisplay-output.c (compare_runes): check for non-images
13141 * glyphs.c (set_glyph_dirty_p): ditto.
13142 (update_glyph_cachel_data): ditto.
13144 * glyphs-widget.c (layout_post_instantiate): ditto.
13145 (layout_post_instantiate): ditto.
13147 * event-msw.c (mswindows_wnd_proc): warning removal.
13149 2000-05-12 Craig Lanning <CraigL@DyCon.com>
13151 * s\mingw32.h: Added #undef for CLASH_DETECTION.
13153 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
13155 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
13157 * nt.c (rva_to_section): mingw32 needs rva_to_section.
13158 (mswindows_executable_type): mingw32 now has enough headers for
13161 2000-05-20 Andy Piper <andy@xemacs.org>
13163 * console-msw.c (mswindows_output_last_error): ; -> ,
13165 2000-05-12 Andy Piper <andy@xemacs.org>
13167 * console-msw.c (FROB): compare ints with ints.
13169 2000-05-11 Andy Piper <andy@xemacs.org>
13171 * glyphs-x.c (x_finalize_image_instance): make minimal build
13174 2000-05-20 Ben Wing <ben@xemacs.org>
13177 * event-Xt.c (vars_of_event_Xt):
13178 move modifier-keys-are-sticky to event-stream.c.
13181 * event-msw.c (mswindows_enqueue_mouse_button_event):
13182 * event-msw.c (key_needs_default_processing_p):
13183 * event-msw.c (XEMSW_LCONTROL):
13184 * event-msw.c (mswindows_handle_sticky_modifiers):
13185 * event-msw.c (FROB):
13186 * event-msw.c (clear_sticky_modifiers):
13187 * event-msw.c (output_modifier_keyboard_state):
13188 * event-msw.c (output_alt_keyboard_state):
13189 * event-msw.c (mswindows_wnd_proc):
13190 * event-msw.c (mswindows_modifier_state):
13191 * event-msw.c (emacs_mswindows_handle_magic_event):
13192 implement sticky modifiers.
13195 * event-stream.c (vars_of_event_stream):
13196 move modifier-keys-are-sticky here.
13199 add CHECK_FUNCTION.
13202 implement map-range-table.
13205 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
13207 * redisplay-tty.c (reset_tty_modes):
13208 (tty_redisplay_shutdown): Adjust argument type to
13209 tty_frame_output_end.
13211 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
13213 * eval.c (Fbacktrace): Don't output a line with only right
13216 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
13218 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
13219 (Fpq_reset_poll): Ditto.
13221 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
13223 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
13225 2000-05-16 Ben Wing <ben@xemacs.org>
13228 * buffer.c (dfc_convert_to/from_internal_format):
13229 * buffer.c (reinit_vars_of_buffer):
13230 Fix conversion functions to allow reentrancy.
13233 * console-msw.c (mswindows_output_last_error):
13234 New fun, generally useful -- output a human-readable
13235 version of GetLastError() on the console.
13238 * console-msw.h (struct mswindows_frame):
13239 Changes for DeferWindowPos. Declare mswindows_output_last_error().
13241 * console-stream.c (stream_output_begin):
13242 * console-stream.c (stream_output_end):
13243 * console-stream.c (stream_output_vertical_divider):
13244 * console-stream.c (stream_clear_region):
13245 * console-stream.c (stream_flash):
13246 * console-stream.c (console_type_create_stream):
13247 Delete blank stream methods, not needed.
13249 * console.h (struct console_methods):
13250 Split begin/end methods into window and frame.
13253 * event-msw.c (mswindows_handle_paint):
13254 * event-msw.c (output_alt_keyboard_state):
13255 * event-msw.c (mswindows_wnd_proc):
13256 * event-msw.c (vars_of_event_mswindows):
13257 Comment about problems with ignored-expose.
13258 Define mswindows-debug-events; not really implemented.
13260 * frame-msw.c (mswindows_init_frame_1):
13264 * glyphs-msw.c (begin_defer_window_pos):
13265 * glyphs-msw.c (mswindows_unmap_subwindow):
13266 * glyphs-msw.c (mswindows_map_subwindow):
13267 * glyphs-msw.c (mswindows_resize_subwindow):
13268 Use DeferWindowPos to reduce flashing when mapping/unmapping.
13270 * glyphs.c (make_image_instance_1):
13273 * gutter.c (Fredisplay_gutter_area):
13274 Use new begin/end methods.
13276 * lisp.h (Dynarr_new2):
13280 * redisplay-msw.c (mswindows_frame_output_begin):
13281 * redisplay-msw.c (mswindows_frame_output_end):
13282 * redisplay-msw.c (console_type_create_redisplay_mswindows):
13283 New begin/end methods -- handle DeferWindowPos.
13285 * redisplay-output.c (redisplay_move_cursor):
13286 * redisplay-output.c (redraw_cursor_in_window):
13287 * redisplay-output.c (redisplay_update_line):
13288 * redisplay-output.c (redisplay_output_window):
13289 New begin/end methods.
13292 * redisplay-tty.c (tty_frame_output_begin):
13293 * redisplay-tty.c (tty_frame_output_end):
13294 * redisplay-tty.c (console_type_create_redisplay_tty):
13295 New begin/end methods.
13298 * redisplay-x.c (x_window_output_begin):
13299 * redisplay-x.c (x_window_output_end):
13300 * redisplay-x.c (console_type_create_redisplay_x):
13301 New begin/end methods.
13303 * redisplay.c (redisplay_frame):
13304 * redisplay.c (Fredisplay_echo_area):
13305 New begin/end methods.
13306 use MAYBE_DEVMETH for clear_frame; it may not exist.
13308 * window.h (WINDOW_XFRAME):
13309 WINDOW_XFOO macros -- get locale and decode struct pointer.
13312 2000-05-12 Ben Wing <ben@xemacs.org>
13315 * emacs.c (ensure_no_quitting_from_now_on):
13316 * emacs.c (fatal_error_signal):
13317 * emacs.c (mswindows_handle_hardware_exceptions):
13319 * emacs.c (Fkill_emacs):
13320 * emacs.c (shut_down_emacs):
13321 * emacs.c (assert_failed):
13322 various improvements in fatal error handling.
13325 move preparing_for_armageddon to emacs.c.
13328 declare fatal_error_in_progress.
13331 * print.c (std_handle_out_external):
13332 * print.c (std_handle_out_va):
13333 * print.c (stderr_out):
13334 * print.c (stdout_out):
13335 use console under mswin when no standard output.
13336 don't do code conversion during fatal error.
13338 * scrollbar.c (Fscrollbar_page_up):
13339 * scrollbar.c (Fscrollbar_page_down):
13340 fix missing else. reindent.
13342 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
13346 * glyphs.h (GLYPH_CACHEL_DESCENT):
13347 (GLYPH_CACHEL_DESCENT):
13348 (GLYPH_CACHEL_DESCENT):
13349 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
13350 used in case these are inline functions.
13351 Use more absurd values to error check.
13353 include window.h for error check functions.
13355 2000-05-11 Ben Wing <ben@xemacs.org>
13357 * cmdloop.c (Freally_early_error_handler):
13358 Display message box under windows; otherwise, message will disappear
13359 before it can be viewed.
13362 * console-msw.c (Fmswindows_message_box):
13363 * console-msw.c (FROB):
13364 * console-msw.c (syms_of_console_mswindows):
13365 Define new fun `mswindows-message-box'.
13366 #### I will merge this into `popup-dialog-box'; just give me
13370 * general.c (syms_of_general):
13371 Some new symbols used in `mswindows-message-box'.
13374 * glyphs.c (Fset_image_instance_property):
13375 put warning in this fun.
13378 * glyphs.h (GLYPH_CACHEL_WIDTH):
13379 * glyphs.h (GLYPH_CACHEL_ASCENT):
13380 * glyphs.h (GLYPH_CACHEL):
13381 * glyphs.h (GLYPH_CACHEL_GLYPH):
13382 define error-checking versions to try to catch a bug i've seen --
13383 redisplay gets in an infinite loop because the glyph width of the
13384 continuation glyph is 65535.
13387 Extern message-box stuff.
13389 * window.c (allocate_window):
13390 * window.c (make_dummy_parent):
13391 * window.c (Fset_window_configuration):
13392 Use EQUAL not EQ for subwindow caches to make them work a bit
13393 better. (Something is still very broken.)
13396 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
13398 * glyphs.c (image_instantiate): Suppress gcc warnings.
13399 (Fmake_image_instance): Fix doc string.
13400 * specifier.c (Fmake_specifier): Ditto.
13402 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
13404 * paths.h.in (PATH_LOCK): Removed.
13405 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
13406 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
13408 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
13410 * fns.c (Ffeaturep): Update e-mail address in doc-string.
13411 Document (featurep '(and xemacs 21.02)).
13413 2000-05-09 Ben Wing <ben@xemacs.org>
13415 * buffer.c (complex_vars_of_buffer):
13416 update modeline-format doc.
13419 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
13422 timeline of all released versions of Emacs, for use in creating
13423 authorship comments and in synching up.
13425 * glyphs-widget.c (image_instantiator_buttons):
13426 * glyphs-widget.c (image_instantiator_edit_fields):
13427 * glyphs-widget.c (image_instantiator_combo_box):
13428 * glyphs-widget.c (image_instantiator_scrollbar):
13429 * glyphs-widget.c (image_instantiator_progress_guage):
13430 * glyphs-widget.c (image_instantiator_tree_view):
13431 * glyphs-widget.c (image_instantiator_tab_control):
13432 * glyphs-widget.c (image_instantiator_labels):
13433 * glyphs-widget.c (image_instantiator_layout):
13434 * glyphs-widget.c (image_instantiator_native_layout):
13435 rename decode_domain method to governing_domain.
13438 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
13439 * glyphs.c (add_entry_to_device_ii_format_list):
13440 make sure we don't put an entry more than once into the list.
13441 * glyphs.c (check_instance_cache_mapper):
13442 *************************************************************
13443 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
13445 *************************************************************
13446 * glyphs.c (get_image_instantiator_governing_domain):
13447 clean up, expand on new concept of governing domain.
13448 * glyphs.c (instantiate_image_instantiator):
13449 * glyphs.c (allocate_image_instance):
13450 use governing_domain instead of cache_domain in naming.
13451 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
13452 * glyphs.c (make_image_instance_1):
13453 * glyphs.c (Fmake_image_instance):
13454 allow for any domain (not just device), and process the
13455 governing domain correctly. very big doc fix.
13456 * glyphs.c (Fimage_instance_domain):
13457 new primitive, to retrieve the governing domain of an image instance.
13458 * glyphs.c (image_instantiate):
13459 use new governing_domain stuff. this fixes a crash you could get
13460 by instantiating certain widget glyphs in frame locales. (should
13461 signal an error instead of crashing.)
13462 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
13463 * glyphs.c (Fglyphp): clean up doc.
13464 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
13465 * glyphs.c (syms_of_glyphs):
13466 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
13467 * glyphs.c (image_instantiator_format_create): add some comments about
13469 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
13470 for current-display-table. (Apparently Hrjove implemented in 1998 a
13471 design I wrote up in 1996, but didn't update the doc string.)
13473 * glyphs.h: clean up a doc string.
13474 * glyphs.h (governing_domain):
13475 * glyphs.h (struct image_instantiator_methods):
13476 changes for governing_domain stuff.
13479 * gutter.c (Fgutter_specifier_p):
13480 * gutter.c (Fgutter_size_specifier_p):
13481 * gutter.c (Fgutter_visible_specifier_p):
13483 * objects.c (Fcolor_specifier_p):
13484 * objects.c (Ffont_specifier_p):
13485 * objects.c (Fface_boolean_specifier_p):
13486 doc strings moved to make-*-specifier.
13488 * redisplay.c (add_disp_table_entry_runes_1):
13489 * redisplay.c (generate_fstring_runes):
13490 * redisplay.c (screen):
13491 add random comments and doc strings.
13494 * specifier.c (Fmake_specifier):
13495 major overhaul of this doc string.
13497 * specifier.c (Fvalid_specifier_domain_p):
13498 comment about the bogosity of image instances being domains.
13499 * specifier.c (decode_domain):
13500 now non-static, used in glyphs.c.
13501 * specifier.c (specifier_instance):
13502 comment about the bogosity of image instances being domains.
13503 * specifier.c (Fgeneric_specifier_p):
13504 move doc string to make-generic-specifier.
13505 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
13509 * specifier.h (DOMAIN_FRAME):
13510 * specifier.h (DOMAIN_LIVE_P):
13511 * specifier.h (DOMAIN_XDEVICE):
13513 add comments about problems with these macros.
13514 prototype for decode_domain.
13517 * toolbar.c (Ftoolbar_specifier_p):
13518 move doc string to `make-toolbar-specifier'.
13520 * window.c (window_unmap_subwindows_cache_mapper):
13521 *************************************************************
13522 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
13524 *************************************************************
13526 2000-05-09 Andy Piper <andy@xemacs.org>
13528 * glyphs.h: declare reset_frame_subwindow_instance_cache.
13530 * window.c (Fset_window_configuration): reset the frame subwindow
13531 cache and re-initialize the window subwindow caches.
13533 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
13535 2000-05-09 Ben Wing <ben@xemacs.org>
13537 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
13540 2000-04-26 Mike Woolley <mike@bulsara.com>
13542 * ntheap.c: Changed recreate_heap to limit the amount reserved
13543 for the heap to that which is actually available. Also now
13544 displays a message box (with some dignostics) in the event that
13545 it still can't start.
13547 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
13549 * callproc.c (Fold_call_process_internal): GCPRO path
13551 2000-05-08 Jan Vroonhof <jan@xemacs.org>
13553 Patch by Bill Perry.
13555 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
13556 back data instead of #ifdef.
13557 (Fscrollbar_page_down): ditto.
13559 2000-05-07 Ben Wing <ben@xemacs.org>
13562 Kludge for defining Qmswindows_tstr.
13565 * nt.c (open_input_file):
13566 * nt.c (open_output_file):
13567 * nt.c (rva_to_section):
13568 * nt.c (mswindows_executable_type):
13569 Move all memory-mapped-file routines here (some were in unexnt.c,
13570 which is bad because they are used by process-nt.c, and unexnt
13571 won't be around when portable dumping). Synched the above routines
13575 Removed ifdef'd out bogus code.
13576 Fixed some prototypes.
13578 * nt.h (file_data):
13579 * nt.h (OFFSET_TO_RVA):
13580 * nt.h (RVA_TO_OFFSET):
13581 * nt.h (RVA_TO_PTR):
13582 Moved the memory-mapped-file structures, macros and prototypes
13583 here, to parallel nt.c. ntheap.h should really be removed
13584 entirely, and it's a non-portable-dumper specific file.
13586 * ntheap.h (round_to_next):
13587 Moved the memory-mapped-file structures, macros and prototypes
13590 * ntproc.c (compare_env):
13591 Moved rva_to_section and mswindows_executable_type to nt.c.
13592 Moved compare_env to process-nt.c.
13593 ntproc.c will die, one day.
13595 * ntproc.c (sys_spawnve):
13596 Account for win32_ -> mswindows_.
13599 * process-nt.c (struct nt_process_data):
13600 * process-nt.c (ensure_console_window_exists):
13601 * process-nt.c (compare_env):
13602 * process-nt.c (nt_create_process):
13603 * process-nt.c (nt_kill_process_by_pid):
13604 * process-nt.c (syms_of_process_nt):
13605 * process-nt.c (vars_of_process_nt):
13606 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
13607 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
13608 changes). Eliminate our old `nt-quote-process-args' mechanism.
13609 Synch up nt_create_process with FSF 20.6 sys_spawnve.
13610 Move compare_env here from ntproc.c.
13612 * process.c (Fprocess_send_region):
13613 Takes an optional fourth argument, BUFFER, which should fix some
13614 problems with call-process.
13617 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
13620 Move ICC_BAR_CLASSES to syscommctrl.h.
13621 Add preliminary macros for MSWindows/Mule. More to come.
13624 * unexnt.c (unexec):
13625 open_output_file moved to nt.c.
13628 2000-05-05 Andy Piper <andy@xemacs.org>
13630 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
13631 instance from the frame cache also since GC may catch up too late
13632 to make frame deletion sane.
13634 2000-05-04 Andy Piper <andy@xemacs.org>
13636 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
13637 (x_finalize_image_instance): ungcpro on deletion.
13639 * glyphs.c (image_instantiator_format_create): give pointers a
13640 query geometry method so that the geometry is at least set.
13642 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
13643 initialize layouts if using widgets.
13645 2000-05-03 Andy Piper <andy@xemacs.org>
13647 * nt.c: remove bogus reference to sysmmsystem.h
13649 * gui-x.c (popup_selection_callback): fix no selection abort.
13651 2000-05-02 Andy Piper <andy@xemacs.org>
13653 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
13654 (mswindows_widget_instantiate): ditto.
13656 * glyphs-widget.c (initialize_widget_image_instance): initialize
13657 children correctly.
13658 (widget_instantiate): cope with children and items in the same
13661 * glyphs.c (mark_image_instance): cope with children as a first
13663 (image_instance_equal): ditto.
13664 (image_instance_hash): ditto.
13665 (image_instance_changed): ditto.
13667 2000-04-30 Andy Piper <andy@xemacs.org>
13669 * glyphs.c (subwindow_query_geometry): new function. Return some
13671 (subwindow_instantiate): don't assign dimensions if none have been
13673 (image_instantiator_format_create): add subwindow_query_geometry.
13674 (print_image_instance): cope with layouts as widgets.
13676 2000-04-29 Andy Piper <andy@xemacs.org>
13678 * frame.c (delete_frame_internal): call
13679 free_frame_subwindow_instance_cache so that all subwindows are
13680 finalized before their parent.
13681 (mark_frame): remove subwindow_cachels.
13682 (Fmake_frame): remove subwindow_cachel manipulation.
13683 (allocate_frame_core): subwindow_instance_cache is a weak list.
13684 (delete_frame_internal): set subwindow_instance_cache to nil.
13686 * glyphs-msw.c (mswindows_finalize_image_instance): make double
13688 (mswindows_finalize_image_instance): use the device
13689 not the domain as the domain may have died already.
13691 * glyphs-x.c (x_finalize_image_instance): ditto.
13692 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
13695 * redisplay-output.c (redisplay_unmap_subwindows): update for
13696 subwindow instance cache as a weak list.
13697 (redisplay_unmap_subwindows_maybe): ditto.
13698 (redisplay_unmap_subwindows_except_us): ditto.
13700 * glyphs.c (unmap_subwindow): error checking will check the domain
13701 so don't deal with it here. Don't use cachels anymore.
13702 (map_subwindow): ditto.
13703 (update_subwindow_cachel_data): remove old accessor names.
13704 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
13705 (Fresize_subwindow): don't update cachel.
13706 (mark_subwindow_cachels):
13707 (update_subwindow_cachel_data):
13708 (add_subwindow_cachel):
13709 (get_subwindow_cachel_index):
13710 (update_subwindow_cachel):
13711 (reset_subwindow_cachels):
13712 (mark_subwindow_cachels_as_not_updated): deleted.
13713 (cache_subwindow_instance_in_frame_maybe): new function. Add a
13714 subwindow instance to the frame cache.
13715 (find_matching_subwindow): update for subwindow instance cache as
13717 (update_widget_instances): ditto.
13718 (image_instance_type_to_mask):inlined.
13719 (free_frame_subwindow_instance_cache): new function. finalize all
13720 subwindows that are instantiated.
13722 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
13723 of cachel information.
13724 (IMAGE_INSTANCE_DISPLAY_X):
13725 (IMAGE_INSTANCE_DISPLAY_Y):
13726 (IMAGE_INSTANCE_DISPLAY_WIDTH):
13727 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
13728 (XIMAGE_INSTANCE_DISPLAY_X):
13729 (XIMAGE_INSTANCE_DISPLAY_Y):
13730 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
13731 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
13732 remove subwindow_cachel structure and function references.
13733 (image_instance_type_to_mask): inline from glyphs.c
13735 * redisplay.c (redisplay_frame): remove subwindow_cachel
13738 * frame.h (struct frame): remove subwindow_cachels.
13739 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
13741 * frameslots.h: add subwindow_instance_cache.
13743 * window.c (replace_window): check subwindow cache of replacement.
13744 (window_unmap_subwindows_cache_mapper):
13745 (window_unmap_subwindows): new functions. Unmap all subwindows
13746 cached on this window.
13747 (mark_window_as_deleted): unmap all subwindows.
13749 2000-04-27 Andy Piper <andy@xemacs.org>
13751 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
13753 * glyphs-widget.c (widget_layout): return something.
13754 (layout_layout): return something. Fail if not initialized.
13755 (layout_query_geometry): ditto.
13756 (image_instantiator_native_layout): new function. Initialized the
13757 native layout type.
13758 (widget_instantiate): don't do layout stuff here.
13760 * glyphs.c (instantiate_image_instantiator): reorded calling or
13761 instantiate and post_instantiate with layout in between.
13762 (image_instance_layout): be more selective about deciding whether
13763 the layout has been done or not.
13765 * glyphs.h (struct image_instantiator_methods): return a value
13766 from layout_method.
13768 2000-04-26 Andy Piper <andy@xemacs.org>
13770 * glyphs.c (allocate_image_instance): make initial width and
13771 height unspecified. Set initialized to 0.
13773 * syscommctrl.h new file. Encapsulates commctrl.h.
13775 * syswindows.h new file. Encapsulates windows.h.
13777 * ntplay.c: use new syswindows.h and syscommctrl.h header.
13779 * console-msw.h: ditto.
13781 * redisplay-tty.c (tty_output_display_block): remove layout references.
13783 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
13784 window handle rather than just the frame.
13786 * glyphs.c (mark_image_instance): remove layout references.
13787 (print_image_instance): ditto.
13788 (image_instance_equal): ditto.
13789 (image_instance_hash): ditto.
13790 (decode_image_instance_type): ditto.
13791 (encode_image_instance_type): ditto.
13792 (image_instantiate): ditto.
13793 (allocate_glyph): ditto.
13794 (Fimage_instance_height): ditto.
13795 (Fimage_instance_width): ditto.
13796 (update_subwindow): ditto.
13798 * redisplay-x.c (x_output_display_block): recode for layouts as
13801 * redisplay-output.c (redisplay_output_layout): recode for layouts
13803 (compare_runes): remove layout references.
13805 * redisplay-msw.c (mswindows_output_display_block): recode for
13806 layouts as widgets.
13808 * glyphs-widget.c (image_instantiator_layout): remove
13809 layout_possible_dest_types.
13810 (layout_possible_dest_types): deleted.
13812 * glyphs.h (image_instance_type): remove layout references.
13813 (struct Lisp_Image_Instance): ditto. Add initialized flag.
13814 (IMAGE_INSTANCE_INITIALIZED): new accessor.
13815 (XIMAGE_INSTANCE_INITIALIZED): ditto.
13817 2000-04-25 Andy Piper <andy@xemacs.org>
13819 * glyphs-widget.c (image_instantiator_buttons):
13820 (image_instantiator_edit_fields):
13821 (image_instantiator_combo_box):
13822 (image_instantiator_scrollbar):
13823 (image_instantiator_progress_guage):
13824 (image_instantiator_tree_view):
13825 (image_instantiator_tab_control):
13826 (image_instantiator_labels):
13827 (image_instantiator_layout): call default post_instantiate method.
13828 (widget_post_instantiate): new function. Simply lays out the
13831 * glyphs.h (struct image_instantiator_methods): add
13832 post_instantiate method.
13834 * glyphs.c (instantiate_image_instantiator): add post_instantiate
13837 2000-04-23 Andy Piper <andy@xemacs.org>
13839 * glyphs.h (struct image_instantiator_methods): add
13840 decode_domain_method.
13841 (struct Lisp_Image_Instance): remove subwindow frame - it can be
13842 derived from the domain.
13843 (IMAGE_INSTANCE_FRAME): new accessor.
13844 (XIMAGE_INSTANCE_FRAME): ditto.
13846 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
13847 instead of _SUBWINDOW_FRAME.
13848 (finalize_image_instance): ditto.
13849 (Fimage_instance_foreground): ditto.
13850 (Fimage_instance_background): ditto.
13851 (image_instantiate): ditto.
13852 (update_subwindow_cachel): ditto.
13853 (update_subwindow): ditto.
13854 (unmap_subwindow): ditto.
13855 (map_subwindow): ditto
13856 (subwindow_instantiate): ditto.
13857 * glyphs-msw.c (mswindows_update_widget): ditto.
13858 (mswindows_progress_gauge_instantiate): ditto.
13859 (mswindows_tab_control_update): ditto.
13860 * glyphs-x.c (x_update_widget): ditto.
13861 (x_widget_instantiate): ditto.
13862 (x_tab_control_instantiate): ditto.
13863 (x_tab_control_update): ditto.
13864 * event-msw.c (mswindows_wnd_proc): ditto
13866 * glyphs-widget.c (image_instantiator_layout): use
13867 subwindow_decode_domain.
13868 (image_instantiator_buttons): ditto.
13869 (image_instantiator_edit_fields): ditto.
13870 (image_instantiator_combo_box): ditto.
13871 (image_instantiator_scrollbar): ditto.
13872 (image_instantiator_progress_guage): ditto.
13873 (image_instantiator_tree_view): ditto.
13874 (image_instantiator_tab_control): ditto.
13875 (image_instantiator_labels): ditto.
13876 (image_instantiator_layout): ditto.
13878 * glyphs.c: add instance error checking to many functions.
13879 (instantiate_image_instantiator): decode device from cache_domain.
13880 (image_instantiate): partially rewrite by using
13881 decode_image_instantiator_domain to determine what domain the
13882 instance needs to be cached in.
13883 (decode_image_instantiator_domain): new function. Determine what
13884 domain the image needs to be cached in.
13885 (check_window_subwindow_cache): new error checking function.
13886 (check_instance_cache_mapper): ditto.
13887 (check_image_instance_structure): ditto.
13888 (subwindow_decode_domain): new function. Encodes a window as a
13889 subwindow's cache domain.
13890 (image_instantiator_format_create): use it for text and
13893 2000-04-21 Andy Piper <andy@xemacs.org>
13895 * glyphs.c (image_instance_device): new function.
13896 (image_instance_frame): new function.
13897 (image_instance_window): new function.
13898 (image_instance_live_p): new function.
13900 * window.c (mark_window_as_deleted): reset the subwindow_instance_
13903 * glyphs.h (struct Lisp_Image_Instance): device->domain.
13904 (IMAGE_INSTANCE_DOMAIN): new accessor.
13905 (XIMAGE_INSTANCE_DOMAIN): ditto.
13907 * glyphs-x.c (x_finalize_image_instance): device->domain.
13909 * glyphs-msw.c (init_image_instance_geometry): device->domain.
13910 (mswindows_finalize_image_instance): ditto.
13912 * glyphs-eimage.c (jpeg_instantiate): device->domain.
13913 (gif_instantiate): ditto.
13914 (png_instantiate): ditto.
13915 (tiff_instantiate): ditto.
13917 * glyphs.c (instantiate_image_instantiator): use domain rather
13919 (mark_image_instance): device -> domain.
13920 (print_image_instance): ditto.
13921 (finalize_image_instance): ditto.
13922 (image_instance_equal): ditto.
13923 (allocate_image_instance): ditto.
13924 (Fcolorize_image_instance): ditto.
13925 (query_string_geometry): ditto.
13926 (image_instantiate): ditto
13927 (query_string_font): ditto.
13928 (image_instantiate): ditto.
13929 (update_subwindow): ditto.
13930 (unmap_subwindow): ditto.
13931 (map_subwindow): ditto.
13932 (subwindow_instantiate): ditto.
13934 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
13935 (DOMAIN_FRAME): ditto.
13936 (DOMAIN_WINDOW): ditto.
13937 (DOMAIN_LIVE_P): ditto.
13938 (XDOMAIN_DEVICE): ditto.
13939 (XDOMAIN_FRAME): ditto.
13940 (XDOMAIN_WINDOW): ditto.
13942 * specifier.c (Fvalid_specifier_domain_p): add image instances as
13943 a valid specifier domain.
13945 2000-04-19 Andy Piper <andy@xemacs.org>
13947 * glyphs-widget.c (syms_of_glyphs_widget): remove
13948 widget-callback-current-channel.
13949 (vars_of_glyphs_widget): ditto.
13952 * gui.c (get_gui_callback): revert to previous behaviour.
13954 2000-04-18 Andy Piper <andy@xemacs.org>
13956 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
13957 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
13958 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
13960 * glyphs.c (image_instance_equal): add margin_width.
13961 (image_instance_hash): ditto.
13963 * glyphs-widget.c (widget_instantiate): deal with margin-width.
13964 (layout_query_geometry): ditto.
13965 (layout_layout): ditto.
13966 (syms_of_glyphs_widget): add margin-width.
13967 (image_instantiator_layout): allow margin-width.
13969 * glyphs.c (update_widget_instances): make a normal function.
13970 (syms_of_glyphs): remove Qupdate_widget_instances.
13973 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
13974 so that we don't corrupt ideas about the last event or
13975 command. Remove widget-callback-current-channel fiddling.
13976 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
13978 2000-05-01 Martin Buchholz <martin@xemacs.org>
13980 * XEmacs 21.2.33 is released.
13982 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
13984 * make-src-depend: Allow dots in header file name.
13986 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
13988 * mule-charset.h (struct charset_lookup): Add
13989 next_allocated_1_byte_leading_byte and
13990 next_allocated_2_byte_leading_byte.
13991 * mule-charset.c: Move above two variables so that those values
13994 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
13996 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
13997 when string length is zero.
13998 (find_charsets_in_emchar_string): Ditto.
14000 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
14002 * lisp.h: extern Qdialog and Qmenubar.
14004 * gui-x.c: added events.h.
14005 also fixed typo which made the file uncompilable.
14007 * general.c: Added Qmenubar and Qdialog
14009 2000-04-28 Ben Wing <ben@xemacs.org>
14011 * frame-msw.c (mswindows_init_frame_1):
14012 * frame-msw.c (mswindows_mark_frame):
14013 * event-msw.c (mswindows_enqueue_dispatch_event):
14015 * console-msw.h (struct mswindows_frame):
14016 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
14017 there are now three hash tables for callbacks.
14018 mswindows_enqueue_dispatch_event is no longer static.
14020 * dialog-x.c (maybe_run_dbox_text_callback):
14021 * dialog-x.c (dbox_descriptor_to_widget_value):
14022 switch to new cons3 form for callbacks.
14024 * glyphs-msw.c (mswindows_register_gui_item):
14025 * glyphs-msw.c (mswindows_widget_instantiate):
14026 * glyphs-msw.c (add_tree_item):
14027 * glyphs-msw.c (add_tab_item):
14028 new image instance parameter, so it can be passed to callback-ex.
14029 respect :callback-ex as well as :callback.
14031 * glyphs-widget.c (VALID_GUI_KEYWORDS):
14034 * glyphs.c (print_image_instance):
14035 prettify, e.g. now prints widget type.
14038 certain funs have new image instance parameter.
14041 * gui.c (get_gui_callback):
14042 * gui.c (gui_item_add_keyval_pair):
14043 * gui.c (gui_item_init):
14044 * gui.c (gui_add_item_keywords_to_plist):
14045 * gui.c (mark_gui_item):
14046 * gui.c (gui_item_hash):
14047 * gui.c (gui_item_equal):
14048 * gui.c (copy_gui_item):
14049 * gui.c (syms_of_gui):
14050 recognize callback-ex in a number of places.
14051 also, fix the annoying "can't get out of yes-no dialog" bug.
14054 * gui.h (struct Lisp_Gui_Item):
14055 recognize callback-ex in a number of places.
14057 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
14058 new parameter in button_item_to_widget_value.
14060 * glyphs-x.c (x_update_widget):
14061 * glyphs-x.c (x_button_instantiate):
14062 * glyphs-x.c (x_button_update):
14063 * glyphs-x.c (x_progress_gauge_instantiate):
14064 * glyphs-x.c (x_edit_field_instantiate):
14065 * glyphs-x.c (x_combo_box_instantiate):
14066 * glyphs-x.c (x_tab_control_instantiate):
14067 * glyphs-x.c (x_label_instantiate):
14068 new image instance parameter in various places.
14071 * event-Xt.c (enqueue_Xt_dispatch_event):
14072 this fun gets exported.
14075 * gui-msw.c (mswindows_handle_gui_wm_command):
14076 handle both :callback and :callback-ex, and generate our own
14077 event because it's one of the callback-ex arguments.
14080 * gui-x.c (popup_selection_callback):
14081 handle both :callback and :callback-ex, and generate our own
14082 event because it's one of the callback-ex arguments.
14083 * gui-x.c (button_item_to_widget_value):
14084 * gui-x.c (gui_items_to_widget_values_1):
14085 * gui-x.c (gui_item_children_to_widget_values):
14086 * gui-x.c (gui_items_to_widget_values):
14087 new image instance parameter in various places.
14089 * fns.c (Freplace_list):
14090 fix small typo in doc string.
14093 declare enqueue_Xt_dispatch_event.
14095 2000-04-28 Ben Wing <ben@xemacs.org>
14098 * buffer.c (Frecord_buffer):
14099 * buffer.c (syms_of_buffer):
14100 delete record-buffer-hook.
14103 * fns.c (Freplace_list):
14104 * fns.c (syms_of_fns):
14105 new primitive replace-list.
14108 slot for old buffer-alist.
14111 exfun replace-list.
14114 * redisplay.c (redisplay_frame):
14115 * redisplay.c (syms_of_redisplay):
14116 * redisplay.c (vars_of_redisplay):
14117 new hook buffer-list-changed-hook.
14120 2000-04-27 Ben Wing <ben@xemacs.org>
14122 * extents.h: extern in_modeline_generation.
14124 * redisplay.c (generate_formatted_string_db): set
14125 in_modeline_generation.
14127 * extents.c (extent_changed_for_redisplay): don't mark redisplay
14128 flags if in modeline generation. otherwise frame-modified-tick
14129 is ticked far too often.
14130 Declare in_modeline_generation.
14132 2000-04-26 Ben Wing <ben@xemacs.org>
14134 * emacs.c (vars_of_emacs): document quick-build "error-checking"
14136 (vars_of_emacs): add quick-build as an error-checking option.
14137 A bit kludgy, but there doesn't seem much point in creating
14138 a real var for this.
14140 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
14142 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
14144 * redisplay.h (struct display_line): Add a new variable,
14147 * redisplay.c (create_text_block): Set dl->line_continuation if
14148 the line continues.
14149 (create_string_text_block): Ditto.
14150 (regenerate_window_incrementally): Use line_continuation instead
14151 of searching continuation glyph.
14152 (add_margin_runes): Call add_glyph_rune.
14153 (add_glyph_rune): Handle margin glyph.
14155 2000-04-20 Martin Buchholz <martin@xemacs.org>
14157 * filelock.c (fill_in_lock_file_name):
14159 Check for IS_ANY_SEP instead of '/'.
14161 Avoid generating gratuitous garbage. Call user_login_name() directly.
14162 Never check errno without first seeing that system call failed.
14163 (unlock_file): Add GCPRO.
14164 (Flock_buffer): Fix docstring.
14165 (Ffile_locked_p): Fix docstring. Add GCPRO.
14167 2000-04-19 Martin Buchholz <martin@xemacs.org>
14169 * sysdep.c (get_pty_max_bytes):
14170 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
14171 strings longer than 252 bytes.
14173 * md5.c: Unconditionally include ANSI header <limits.h>
14175 * glyphs-x.c (convert_EImage_to_XImage):
14176 * lisp-union.h (union Lisp_Object):
14177 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
14179 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
14181 * filelock.c (current_lock_owner): Remove unused variable o, p.
14183 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
14185 * callint.c: Remove multiply defined symbol Qlet
14186 (syms_of_callint): ditto.
14188 2000-04-14 Andy Piper <andy@xemacs.org>
14190 * general.c (syms_of_general): add last-command, this-command, let
14193 * lisp.h: declare various symbols.
14195 * glyphs.h: declare Qwidget_callback_current_channel;
14197 * glyphs-widget.c (syms_of_glyphs_widget): add
14198 Qgui_callback_current_channel.
14199 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
14201 * gui-msw.c (mswindows_handle_gui_wm_command): bind
14202 widget-callback-current-channel when invoking the interactive
14203 arg. Also bind last-command and next-command when invoking the
14205 * gui-x.c (popup_selection_callback): ditto.
14207 * gui.c (get_gui_callback): massage args so that we are always
14208 calling eval. This allows us to add our own variable bindings
14211 * glyphs-x.c (x_button_instantiate): use
14212 gui_items_to_widget_values since this is GC safe.
14213 (x_progress_gauge_instantiate): ditto.
14214 (x_edit_field_instantiate): ditto.
14215 (x_label_instantiate): ditto.
14217 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
14218 (emacs_Xt_event_widget_focus_out): new function
14219 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
14221 (emacs_Xt_event_add_widget_actions): new function. add focus
14222 functions as actions.
14223 (init_event_Xt_late): use it.
14225 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
14227 * event-stream.c (Fdispatch_event): Doc fix.
14229 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
14231 * postgresql.c: Remove all references to PQsetenv*.
14233 * postgresql.h: Remove references to PGsetenvHandler object.
14234 * lrecord.h (lrecord_type): Ditto.
14236 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14238 * glyphs-msw.h (struct mswindows_image_instance_data): Added
14239 real_heigh and real_width members, and accessor macros for these.
14241 * glyphs-msw.c (init_image_instance_geometry): New function.
14242 (init_image_instance_from_dibitmap): Use it.
14243 (mswindows_resource_instantiate): Use it.
14244 (init_image_instance_from_xbm_inline): Use it.
14245 (mswindows_initialize_image_instance_mask): Use real bitmap
14247 (mswindows_create_resized_bitmap): Ditto.
14248 (mswindows_create_resized_mask): Ditto.
14250 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
14251 and bitmap to their surface size.
14253 2000-04-11 Jan Vroonhof <jan@xemacs.org>
14255 * process-unix.c (unix_send_process): Guard against process MIA
14256 after Faccept_process_output.
14258 2000-04-11 Ben Wing <ben@xemacs.org>
14260 * eval.c (unbind_to_hairy): fix brokenness introduced by
14261 nanosecond speed improvements.
14263 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
14265 * sunplay.c (init_device): To play sounds correctly, the device
14266 apparently needs to be initialized at least once by XEmacs. Make
14269 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
14271 * redisplay.c (add_margin_runes): Add text image glyph
14274 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
14276 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
14277 gcc is newer than 2.5.
14279 2000-04-06 Colin Rafferty <colin@xemacs.org>
14281 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
14283 * fns.c (size_bit_vector):
14284 * alloc.c (size_vector):
14285 (make_vector_internal):
14286 (make_bit_vector_internal):
14287 (sweep_bit_vectors_1):
14288 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
14290 2000-04-06 Andy Piper <andy@xemacs.org>
14292 * gmalloc.c (malloc): undo previous change.
14297 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
14299 * line-number.c (buffer_line_number): Revert to former version.
14301 2000-04-06 Andy Piper <andy@xemacs.org>
14303 * gmalloc.c (malloc): add error checking.
14308 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
14309 button_item_to_widget_value arg.
14311 * glyphs-x.c (x_button_instantiate): add extra
14312 button_item_to_widget_value arg.
14313 (x_progress_gauge_instantiate): ditto.
14314 (x_edit_field_instantiate): ditto.
14315 (x_label_instantiate): ditto.
14317 * gui-x.c (gui_items_to_widget_values_1): add extra
14318 button_item_to_widget_value arg.
14319 (button_item_to_widget_value): add extra menu_item_p arg.
14321 * gui-x.h: change signature of button_item_to_widget_value.
14323 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
14324 button_item_to_widget_value arg.
14326 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
14328 * buffer.h (struct buffer): auto_save_modified should be long.
14330 2000-04-05 Andy Piper <andy@xemacs.org>
14332 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
14334 (button_query_geometry): give a little more room so that athena
14337 2000-04-05 Andy Piper <andy@xemacs.org>
14339 * faces.c (complex_vars_of_faces): The widget face should inherit
14340 the font of the gui-element face.
14342 2000-04-04 Andy Piper <andy@xemacs.org>
14344 * glyphs-x.c (x_button_update): new function. unconditionally
14345 update a button's state when the instance is dirty.
14346 (image_instantiator_format_create_glyphs_x): add x_button_update.
14347 (x_widget_instantiate): remove old resize cruft.
14349 2000-04-02 Andy Piper <andy@xemacs.org>
14351 * frame.c (change_frame_size_1): The introduction of gutters means
14352 that we need to allow 0 as a potential frame dimension.
14354 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
14356 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
14357 image glyph if allow_cursor.
14358 (add_hscroll_rune): Don't allow cursor to border glyph.
14359 (create_text_block): Ditto.
14361 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
14362 text not in buffer.
14363 (redisplay_output_layout): Call ensure_face_cachel_complete for
14367 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
14369 * redisplay.c (add_glyph_rune): Adding text image as text runes.
14371 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
14374 * redisplay-tty.c (tty_output_display_block): Delete the routine
14375 for text image glyph
14376 * redisplay-x.c (x_output_display_block): ditto
14377 * redisplay-msw.c (mswindows_output_display_block): ditto
14379 2000-02-02 Mike Alexander <mta@arbortext.com>
14381 Note: Some of these were committed by accident as part of other
14384 * regex.c (regex_compile): Avoid compiler warnings.
14386 * ntproc.c (sys_spawnve): Avoid compiler warnings.
14388 * nt.h: Declare term_ntproc correctly.
14390 * nt.c: Remove incorrect declaration of get_home_directory which
14391 is declared correctly in lisp.h.
14393 * keymap.c (get_keyelt): Avoid compiler warnings.
14394 (raw_lookup_key_mapper): Avoid compiler warnings.
14396 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
14398 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
14400 * filemode.c (mode_string): Avoid compiler warnings.
14402 * file-coding.c (Fcoding_system_aliasee): Add return statement to
14405 * events-mod.h: Undef some things that winuser.h defines differently.
14407 * data.c (Faset): Avoid compiler warnings.
14409 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
14411 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14413 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
14414 Fall through to simple beep on error.
14415 Replace "extern" by real header file.
14417 * linuxplay.c: Use nativesound.h
14418 (play_sound_data): Return error code. Be less verbose on error.
14420 * sunplay.c: Use nativesound.h
14421 (play_sound_data): Return error code. Be less verbose on error.
14423 * ntplay.c: Use nativesound.h
14424 (play_sound_data): Return fake error code
14426 * sgiplay.c: Use nativesound.h
14427 (play_sound_data): Return error code
14429 * hpplay.c: Use nativesound.h, partially implement
14430 new error code. Break compilation until finished.
14431 (play_sound_data): error code.
14433 * nativesound.h (play_sound_file):
14434 (play_sound_data): Prototype in new header.
14436 2000-03-31 Andy Piper <andy@xemacs.org>
14438 * glyphs-widget.c: (button_query_geometry): new function. Adjust
14439 for toggle and radio buttons.
14440 (image_instantiator_buttons): use it.
14442 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14444 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
14445 (x_update_horizontal_scrollbar_callback): Return if no mirror was
14446 found. Scrollbar event probably belonged to some old config.
14448 2000-03-31 Andy Piper <andy@xemacs.org>
14450 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
14452 (initialize_widget_image_instance): default layout to
14453 LAYOUT_HORIZONTAL rather than 0.
14454 (widget_instantiate): reverse the item list at the end rather than
14456 (layout_layout): re-code for the border text at the front of the
14457 item list rather than at the end.
14458 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
14459 provided by the user.
14460 (widget_query_geometry): comment.
14462 2000-03-30 Andy Piper <andy@xemacs.org>
14464 * glyphs-widget.c (image_instantiator_layout): allow standard
14465 widget keywords in layouts.
14467 * gutter.c (output_gutter): cope with nil gutter contents.
14469 * frame.c (Fset_frame_properties): add gutter docs.
14471 2000-03-29 Andy Piper <andy@xemacs.org>
14473 * toolbar-msw.c (TBSTYLE_FLAT): add.
14474 (mswindows_output_toolbar): minor fiddling.
14476 2000-03-29 Andy Piper <andy@xemacs.org>
14478 * gutter.c (output_gutter): force gutter size recalculation if
14479 what we are trying to display won't fit.
14480 (update_gutter_geometry): new function. A per-gutter version of
14481 update_frame_gutter_geometry.
14482 (update_frame_gutter_geometry): use it.
14483 (redraw_exposed_gutter): add extra debugging output.
14485 2000-03-28 Mike Alexander <mta@arbortext.com>
14487 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
14488 (pdump_file_unmap): Implement it on Windows
14489 (pdump_file_get): Save alocated handles for pdump_file_unmap
14491 2000-03-28 Andy Piper <andy@xemacs.org>
14493 * gui.c (get_gui_callback): treat Quit specially.
14495 2000-03-27 Andy Piper <andy@xemacs.org>
14497 * glyphs.c (image_instantiate): be careful to check in the same
14500 2000-03-27 Didier Verna <didier@xemacs.org>
14502 * config.h.in: define the proper SMART_INCLUDE macro.
14503 handle renaming of `foo_h_path' to `foo_h_file'.
14505 * database.c: ditto.
14509 * linuxplay.c: ditto.
14511 * terminfo.c: ditto.
14513 * tooltalk.h: ditto.
14515 2000-03-27 Andy Piper <andy@xemacs.org>
14517 * glyphs-msw.c (mswindows_update_widget): make sure the widget
14518 gets updated whenever the face might have changed.
14520 2000-03-26 Mike Alexander <mta@arbortext.com>
14522 * dumper.c (pdump_resource_free): Fix the comment.
14524 2000-03-21 Olivier Galibert <galibert@pobox.com>
14526 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
14528 2000-03-22 Mike Alexander <mta@arbortext.com>
14530 * dumper.c: Include Windows headers on Windows
14531 (pdump_resource_free): Add a body to the function
14532 (pdump_load): exe_name -> exe_path and add some comments.
14534 2000-03-25 Mike Alexander <mta@arbortext.com>
14536 * gui.c (copy_gui_item_tree): Return a value in all cases
14538 2000-03-21 Didier Verna <didier@xemacs.org>
14540 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
14542 (SMART_INCLUDE): new macro.
14543 (POSTGRES_INCLUDE): new macro to include postgresql headers from
14544 the proper location.
14546 * postgresql.c: use it.
14550 2000-03-24 Andy Piper <andy@xemacs.org>
14552 * gutter.c (redraw_exposed_gutters): must be "in display" when we
14555 2000-03-24 Andy Piper <andy@xemacs.org>
14557 * redisplay-output.c (compare_runes): use image_instance_changed
14558 to detect changes. Do not depend on glyphs_changed, only depend on
14560 (redisplay_output_layout): add debug messages.
14561 (compare_runes): ditto.
14563 * glyphs.h: declare new functions.
14564 (struct Lisp_Image_Instance): remove percent and associated
14567 * gui.h: declare new copying functions.
14569 * gui.c (copy_gui_item_tree): new function.
14570 (copy_gui_item): new function.
14571 (gui_item_id_hash): revert to standard hash.
14572 (gui_item_hash): ditto.
14573 (gui_item_hash_internal): deleted.
14574 (mark_gui_item): mark value.
14575 (gui_item_add_keyval_pair): add value.
14576 (gui_item_init): ditto.
14577 (gui_add_item_keywords_to_plist): ditto.
14578 (gui_item_equal): ditto.
14579 (syms_of_gui): add Q_value.
14581 * glyphs-x.c (x_progress_gauge_update): use pending items and
14582 value for setting the state.
14583 (x_update_widget): don't set items from pending here.
14585 * glyphs-widget.c (update_widget): update items here.
14586 (progress_gauge_set_property): use items for storing value. Put
14587 new value in pending items.
14589 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
14590 items for new value. Convert percent -> value.
14591 (mswindows_tab_control_update): don't update items here.
14593 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
14594 (update_subwindow): ditto.
14595 (image_instance_changed): new function. Compare hash values and
14596 past and present widget items.
14597 (image_instantiate): We more careful about where we instantiate
14599 (image_instantiate): add error checking.
14601 * gutter.c (syms_of_gutter): use -hook.
14603 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
14605 * console-tty.c (Fset_console_tty_input_coding_system): Use
14607 (Fset_console_tty_output_coding_system): Use Qterminal.
14608 (tty_init_console): Use Qkeyboard and Qterminal.
14610 2000-03-21 Ben Wing <ben@xemacs.org>
14612 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
14613 From Mike Alexander <mta@arbortext.com>.
14615 2000-03-21 Ben Wing <ben@xemacs.org>
14617 * event-msw.c (mswindows_need_event): Horrible kludge to fix
14618 process brokenness. Proper implementation to come.
14620 Rename call-process-internal to old-call-process-internal.
14621 New impl. in process.el.
14623 2000-03-21 Martin Buchholz <martin@xemacs.org>
14625 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
14627 2000-03-20 Andy Piper <andy@xemacs.org>
14629 * glyphs.c (full_list_hash): make hashes of the same elements in
14630 different orders return different values.
14632 2000-03-20 Martin Buchholz <martin@xemacs.org>
14634 * XEmacs 21.2.32 is released.
14636 2000-03-20 Martin Buchholz <martin@xemacs.org>
14638 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
14639 (DFC_MALLOC_USE_CONVERTED_DATA):
14640 Add aliasing-safe casts to allow use with char* or unsigned char*
14643 * eldap.c (Fldap_open):
14644 (Fldap_search_basic):
14647 Make C++-compilable.
14648 Make sure GCPRO'ed variables are initialized.
14649 Use temp variables to avoid repeated calls to Flength.
14651 2000-03-16 Martin Buchholz <martin@xemacs.org>
14654 Make sure PATH_MAX is always defined.
14655 Include limits.h for PATH_MAX.
14656 Deprecate use of MAXPATHLEN.
14658 2000-03-10 Martin Buchholz <martin@xemacs.org>
14660 * emacs.c: Add reinit_vars_of_fileio.
14661 * symsinit.h: Add reinit_vars_of_fileio.
14662 * fileio.c (reinit_vars_of_fileio): New.
14663 * fileio.c (Fmake_temp_name):
14664 Initialize temp_name random number from microseconds to make
14665 collisions even less likely. Initialize always at process startup
14666 time. (make-temp-name) used to return the same file name twice in
14668 Random stylistic fiddling.
14671 2000-03-20 Andy Piper <andy@xemacs.org>
14673 * glyphs.c (image_instantiate): allow text glyphs to be
14674 instantiated in the minibuffer window.
14676 2000-03-19 Andy Piper <andy@xemacs.org>
14678 * glyphs.c (image_instance_hash): be careful about which items we
14681 * glyphs-widget.c (tab_control_set_property): record into pending
14682 items rather than the actual items.
14684 * glyphs-x.c (x_update_widget): use pending items to update with.
14686 * glyphs-msw.c (mswindows_tab_control_update): use pending items
14689 * glyphs.c (mark_image_instance): mark pending items.
14691 * window.c (Fset_window_configuration): record the buffer.
14692 (Fselect_window): totally revert previous change which breaks many
14695 2000-03-18 Andy Piper <andy@xemacs.org>
14697 * glyphs-msw.c (mswindows_tab_control_update): force selected
14700 * glyphs.c (image_instantiate): don't allow the minibuffer as a
14701 window domain cache, otherwise we get inconsistencies at
14702 startup. There is something fishy at startup which can lead to the
14703 minibuffer being the selected window when the gutter content is
14706 * gui.c (parse_gui_item_tree_list): add probably unnecessary
14708 (parse_gui_item_tree_children): ditto.
14709 (parse_gui_item_tree_item): ditto.
14711 * glyphs.c (Fupdate_widget_instances): return something.
14713 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
14715 * window.c (Fselect_window): Undo 2000-03-17 change.
14717 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
14719 * postgresql.c (Fpq_setenv): Remove this turkey when linking
14720 against v7.0 libraries. Insta-coredump city until the postgres
14723 2000-03-17 Andy Piper <andy@xemacs.org>
14725 * faces.c (complex_vars_of_faces): don't give the widget face an
14726 inherited background pixmap.
14728 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
14731 * event-stream.c (Fdispatch_non_command_events): return something.
14733 * gutter.c (output_gutter): use widget face.
14734 (clear_gutter): ditto.
14736 * NEWS: adjust again.
14738 * window.c (Fselect_window): make sure this runs to completion to
14739 avoid oddities with Fset_window_configuration.
14740 (Fcurrent_window_configuration): in general do not save the
14741 minibuffer as the selected window.
14743 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
14745 2000-03-16 Olivier Galibert <galibert@pobox.com>
14747 * emacs.c (Frunning_temacs_p): Revert previous patch.
14748 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
14750 2000-03-16 Andy Piper <andy@xemacs.org>
14752 * glyphs-x.c (x_tab_control_update): if no widget values then
14755 * NEWS: update for new features.
14757 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
14758 synthetic event to the native system.
14759 (reinit_vars_of_event_Xt): set force_event_pending to
14760 emacs_Xt_force_event_pending.
14762 * events.h (struct event_stream): add force_event_pending.
14764 * specifier.c (recompute_one_cached_specifier_in_window): add
14767 * redisplay.c (redisplay_frame): don't call
14768 update_frame_subwindows. Reset subwindow cachels when
14769 subwindows_changed, removing this was an optimization too far.
14771 * redisplay-output.c (compare_runes): reorganize so that we catch
14772 glyph changes when we want them. Set optimize_output when this
14773 would help layouts.
14774 (redisplay_output_layout): remove frame_really_changed, use
14775 optimize_output instead.
14777 * redisplay-msw.c (mswindows_output_display_block): reset
14778 optimize_output after outputting a glyph.
14779 * redisplay-x.c (x_output_display_block): ditto.
14780 * redisplay-tty.c (tty_output_display_block): ditto.
14782 * gutter.c: (specifier_vars_of_gutter): use new spec changed
14784 (gutter_specs_changed): do specific gutter positions.
14785 (top_gutter_specs_changed): new function. Only update the
14786 specified gutter specs.
14787 (bottom_gutter_specs_changed): ditto.
14788 (left_gutter_specs_changed): ditto.
14789 (right_gutter_specs_changed): ditto.
14791 * gui.c (gui_item_hash_internal): new function, does a real hash.
14792 (gui_item_id_hash): use it.
14793 (gui_item_hash): hash the eval'ed gui_item.
14795 * gui-x.c (popup_selection_callback): send an eval event to call
14796 Fupdate_widget_instances.
14798 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
14799 to call Fupdate_widget_instances.
14801 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
14802 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
14804 * glyphs.c: (update_frame_subwindows): deleted.
14805 (Fupdate_widget_instances): new function for updating the dirty
14806 state of widgets that might have changed.
14807 (syms_of_glyphs): add Qupdate_widget_instances.
14808 (full_list_hash): hash a list completely.
14809 (image_instance_hash): use it for items and properties.
14811 * frame-msw.c (mswindows_size_frame_internal): remove unused
14814 * faces.h (struct face_cachel): fix comment.
14816 * event-stream.c (Fdispatch_non_command_events): new
14817 function. Process non-command events, forcing an event cycle
14819 (syms_of_event_stream): declare.
14820 (event_stream_force_event_pending): new function. Force an event
14821 on the native event queue so that an event cycle will occur next
14825 (struct ntpipe_shove_stream):
14826 (mswindows_enqueue_dispatch_event):
14827 (mswindows_dequeue_dispatch_event):
14828 (mswindows_cancel_dispatch_event):
14829 (mswindows_pump_outstanding_events):
14830 (mswindows_drain_windows_queue):
14831 (mswindows_handle_paint):
14832 (mswindows_wnd_proc):
14833 (mswindows_key_to_emacs_keysym):
14834 (get_process_input_waitable):
14835 (emacs_mswindows_delete_stream_pair): re-indent file.
14836 (mswindows_need_event): do not process further fds if the windows
14837 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
14838 fixes the 100% cpu problem.
14839 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
14841 2000-03-15 Olivier Galibert <galibert@pobox.com>
14847 * emacs.c: Moved dump file searching to dumper.c.
14848 (Frunning_temacs_p): Fixed.
14850 * alloc.c: Moved everything pdump-related to dumper.c. Removed
14851 last_lrecord_type_index_assigned.
14853 2000-02-20 Olivier Galibert <galibert@pobox.com>
14855 * symsinit.h: Added reinit parameter to init_console_stream
14858 * lisp.h: Added file parameter to pdump_load declaration.
14860 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
14861 support. Added dump file searching.
14863 * config.h.in: Added EMACS_PROGNAME.
14865 * console-stream.c (init_console_stream): Fix reinitialisation
14866 when running from temacs.
14868 * alloc.c (pdump): Add id support.
14869 (pdump_load): Add file parameter and signature/id support.
14871 * Makefile.in.in: Add full pdump support.
14873 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
14875 * postgresql.c: Update documentation to reflect latest code
14877 (print_result): Show tuple counts in printed representation when
14879 (Fpq_put_nbytes): MULE-ize.
14880 (Fpq_get_line_async): Ditto.
14882 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
14884 * postgresql.c (Fpq_lo_import): Fix return value.
14885 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
14887 2000-03-13 Ben Wing <ben@xemacs.org>
14889 * alloc.c (pdump_load):
14890 Fix compile warning under mswin.
14892 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
14894 * postgresql.c: Mule-ization, bug fixes.
14895 Use PG_CODING to encapsulate coding system name changes.
14896 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
14897 (pg-coding-system): Create.
14899 (Fpq_conn_defaults): Mule-ize.
14900 (Fpq_connectdb): Mule-ize & bug fix.
14901 (Fpq_connect_start): Mule-ize.
14902 (Fpq_set_client_encoding): Mule-ize.
14903 (Fpq_finish): Document `DEAD' connection status.
14904 (Fpq_clear): Ditto.
14905 (Fpq_pgconn): Mule-ize.
14906 (Fpq_exec): Mule-ize & bug fix.
14907 (Fpq_send_query): Ditto.
14908 (Fpq_get_result): Ditto.
14909 (Fpq_res_status): Mule-ize.
14910 (Fpq_result_error_message): Mule-ize.
14911 (Fpq_ntuples): fix comments.
14912 (Fpq_fname): Mule-ize.
14913 (Fpq_fnumber): Mule-ize.
14914 (Fpq_ftype): fix comments.
14915 (Fpq_get_value): Mule-ize.
14916 (Fpq_cmd_status): Ditto.
14917 (Fpq_cmd_tuples): Ditto.
14918 (Fpq_oid_value): Ditto.
14919 (Fpq_notifies): Ditto.
14920 (Fpq_lo_import): Ditto.
14921 (Fpq_lo_export): Ditto.
14922 (Fpq_get_line): Ditto.
14923 (Fpq_put_line): Mule-ize and bug fix.
14924 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
14926 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
14928 * postgresql.c (vars_of_postgresql): Mule-ize.
14929 (Fpq_conn_defaults): Ditto.
14931 2000-03-12 Ben Wing <ben@xemacs.org>
14933 * alloc.c (Fmake_byte_code):
14934 * alloc.c (debug_string_purity_print):
14935 * alloc.c (pdump_backtrace):
14936 * alloc.c (pdump_get_indirect_count):
14937 * alloc.c (pdump_register_sub):
14938 * alloc.c (pdump_register_object):
14939 * alloc.c (pdump_register_struct):
14940 * alloc.c (pdump_dump_data):
14941 * alloc.c (pdump_reloc_one):
14945 * console-msw.c (GetConsoleHwnd):
14946 * console-msw.c (msw_hide_console):
14947 * console-msw.c (msw_show_console):
14948 * console-msw.c (msw_ensure_console_buffered):
14949 * console-msw.c (msw_output_console_string):
14950 * console-msw.c (console_type_create_mswindows):
14952 a) Added functions to manipulate the console window for use with
14955 b) Added support for writing text to the console, which is now
14956 used under Windows when xemacs is not being run non-interactively,
14957 to write text that would otherwise be destined for stdout because
14958 under these circumstances, text written to stdout tends to
14959 disappear and not be seen.
14963 * event-Xt.c (x_event_to_emacs_event):
14964 * event-Xt.c (describe_event_window):
14965 * events-mod.h (XEMACS_MOD_CONTROL):
14967 * events.c (Fmake_event):
14968 * events.c (character_to_event):
14969 * events.c (event_to_character):
14970 * events.c (format_event_object):
14971 * events.c (Fevent_modifiers):
14973 * events.h (struct key_data):
14974 * events.h (struct button_data):
14975 * events.h (struct misc_user_data):
14976 * frame-x.c (Fcde_start_drag_internal):
14977 * frame-x.c (Foffix_start_drag_internal):
14978 * gpmevent.c (Freceive_gpm_event):
14980 * keymap.c (bucky_sym_to_bucky_bit):
14981 * keymap.c (control_meta_superify):
14982 * keymap.c (make_key_description):
14983 * keymap.c (keymap_lookup_directly):
14984 * keymap.c (create_bucky_submap):
14985 * keymap.c (keymap_store):
14986 * keymap.c (define_key_check_and_coerce_keysym):
14987 * keymap.c (define_key_parser):
14988 * keymap.c (define_key_alternate_name):
14989 * keymap.c (Fdefine_key):
14990 * keymap.c (raw_lookup_key_mapper):
14991 * keymap.c (struct map_keymap_unsorted_closure):
14992 * keymap.c (map_keymap_unsorted_mapper):
14993 * keymap.c (map_keymap_sort_predicate):
14994 * keymap.c (map_keymap_sorted):
14995 * keymap.c (accessible_keymaps_mapper_1):
14996 * keymap.c (where_is_recursive_mapper):
14997 * keymap.c (describe_map_mapper):
14998 * keymap.c (describe_map_sort_predicate):
14999 * keymap.c (describe_map):
15000 * keymap.c (complex_vars_of_keymap):
15001 And a number of other files, the key modifier preprocessor
15002 constants that xemacs uses have names that conflict with constants
15003 defined under MS Windows for other purposes, so they were renamed
15004 to begin with the prefix XEMACS_. The variables that hold such
15005 modifiers were changed to consistently be of type int to fix
15006 various compile warnings.
15008 * console.c (complex_vars_of_console):
15011 * device-msw.c (mswindows_finish_init_device):
15012 * device-msw.c (msw_get_workspace_coords):
15013 * device-msw.c (mswindows_device_system_metrics):
15014 and various other files, added support for a new
15015 device property called offset-workspace which returns the position
15016 of the upper left corner of the workspace area and goes along with
15017 the existing size-workspace property.
15020 * dialog-msw.c (push_bufbyte_string_as_unicode):
15021 * dialog-msw.c (mswindows_popup_dialog_box):
15022 Added support for XEmacs-style accelerator specifications in
15023 button text. Note: I didn't add support for this under X Windows,
15024 and somebody needs to do this.
15027 * dialog.c (Fpopup_dialog_box):
15028 Documented the support for accelerators that was just mentioned.
15030 editfns.c (get_home_directory): Changed behavior under Windows
15031 when HOME not defined; former behavior was irretrievably broken.
15034 * emacs.c (main_1):
15036 * minibuf.c (clear_echo_area_internal):
15037 * minibuf.c (echo_area_append):
15039 * print.c (std_handle_out_external):
15040 * print.c (std_handle_out_va):
15042 * print.c (write_string_to_stdio_stream):
15043 * print.c (output_string):
15044 * print.c (debug_print):
15045 * print.c (debug_backtrace):
15046 * print.c (debug_short_backtrace):
15047 Cleaned up the code that prints text to stdout so that this can be
15048 changed to output into a console window instead under MS Windows,
15049 as described above.
15052 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
15053 * eval.c (internal_catch):
15054 * eval.c (unwind_to_catch):
15055 * eval.c (throw_or_bomb_out):
15056 * eval.c (condition_case_1):
15057 * eval.c (signal_1):
15058 * eval.c (check_error_state_sanity):
15059 * eval.c (call_with_suspended_errors_1):
15060 * eval.c (call_with_suspended_errors):
15061 * eval.c (reinit_vars_of_eval):
15062 Added code to catch throw loops and check for a pesky bug that may
15066 * event-msw.c (key_needs_default_processing_p):
15067 * event-msw.c (mswindows_wnd_proc):
15068 * event-msw.c (mswindows_modifier_state):
15069 * event-msw.c (emacs_mswindows_quit_p):
15070 * event-msw.c (vars_of_event_mswindows):
15071 a) Added support for using the alt key to select menu items as is
15072 standard under MS Windows. This is controlled using the variable
15073 menu-accelerator-enabled, just like under X Windows. There is an
15074 option on the options menu to turn this support on. I really
15075 think that it should be on by default under Windows, but I'm not
15076 going to make this change yet.
15078 b) Added support for dynamic display size changes under Windows.
15081 * event-stream.c (maybe_echo_keys):
15082 * event-stream.c (Fnext_event):
15083 * event-stream.c (command_builder_find_leaf):
15084 * event-stream.c (lookup_command_event):
15085 * event-stream.c (execute_command_event):
15086 * event-stream.c (pre_command_hook):
15087 * event-stream.c (post_command_hook):
15088 * event-stream.c (syms_of_event_stream):
15089 * event-stream.c (vars_of_event_stream):
15090 * event-stream.c (complex_vars_of_event_stream):
15091 * events.h (struct command_builder):
15093 a) Tried to clean up a little bit the horribly written x-specific
15094 accelerator code that crept into this file. I moved this code
15095 into menubar-x.c where it belongs. I also needed to move the
15096 command builder structure into the file events.h because it is
15097 accessed directly by this accelerator code. What I didn't do, but
15098 which should be done at some point, is to properly abstract this
15099 code using device methods instead of the kludgy way that it
15100 currently hooks into the event code.
15102 b) Added the lisp variables this-command-properties and
15103 last-command- properties, which should be used to synchronize two
15104 adjacent commands in preference to playing games with the variable
15105 this-command, which is typically what happens.
15107 c) Added some slightly nasty code to hook into the lisp support
15108 for shifted- motion-key selection. This is actually necessary for
15109 somewhat complicated reasons, which are described in
15110 simple.el. (NB: I think the proper thing would be to have the code
15111 that calls the pre and post command hooks also call out to generic
15112 lisp functions in simple.el, where all built-in stuff could be
15113 added. I will think about this more.)
15115 * event-unixoid.c (poll_fds_for_input):
15116 * lread.c (readchar):
15117 * redisplay-tty.c (tty_clear_frame):
15118 * redisplay-x.c (x_get_gc):
15119 * signal.c (interrupt_signal):
15120 And a whole bunch of other files: fixed up places that printed
15121 directly to stderr to instead call the function stderr_out so that
15122 the changes I made under Windows work correctly.
15124 * filemode.c (mode_string):
15128 * frame-msw.c (mswindows_size_frame_internal):
15129 Fixed the computation of frame size and position to keep the frame
15130 within the workspace area, rather than within the physical
15131 dimensions of the screen, so that the frame doesn't overlap window
15132 manager decorations, such as the start menu and toolbar, typically
15133 at the bottom of the screen.
15135 * frame.c (vars_of_frame):
15136 Changed the default frame title format under MS Windows to consist
15137 of buffername-XEmacs, which is standard under MS Windows. I think
15138 it might be a good idea to change this everywhere because I think
15139 it is superior to the current frame title format, but this is the
15140 kind of change that is likely to cause some people to get annoyed,
15141 so I'm not making it.
15143 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
15145 * gui-msw.c (mswindows_handle_gui_wm_command):
15146 Fixed compile warnings.
15149 * gui-x.c (strdup_and_add_accel):
15150 * gui-x.c (button_item_to_widget_value):
15152 Added code to automatically put an accelerator onto the beginning
15153 of menu items that don't have one as is now the standard, and is
15154 described more later. Also fixed things so that the menu item
15155 name can be an evaluated expression, again a new standard.
15158 * gui.c (gui_item_add_keyval_pair):
15159 * gui.c (make_gui_item_from_keywords_internal):
15160 * gui.c (gui_add_item_keywords_to_plist):
15161 * gui.c (gui_item_accelerator):
15162 * gui.c (gui_name_accelerator):
15163 * gui.c (gui_item_included_p):
15164 * gui.c (gui_item_display_flush_left):
15165 * gui.c (gui_item_display_flush_right):
15166 * gui.c (parse_gui_item_tree_item):
15167 * gui.c (parse_gui_item_tree_children):
15168 * gui.c (parse_gui_item_tree_list):
15169 Mule-ized. Cleanup. GCPRO addition.
15171 * line-number.c (buffer_line_number):
15173 * lisp.h (EMACS_INT_MAX):
15174 Added the manifest constant EMACS_INT_MIN corresponding to the
15175 existing constant EMACS_INT_MAX. This is partially to fix compile
15176 warnings under Windows, and partly for cleanliness.
15179 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
15180 * menubar-msw.c (msw_translate_menu_or_dialog_item):
15181 * menubar-msw.c (displayable_menu_item):
15182 * menubar-msw.c (populate_menu_add_item):
15183 * menubar-msw.c (populate_or_checksum_helper):
15184 * menubar-msw.c (populate_menu):
15185 * menubar-msw.c (update_frame_menubar_maybe):
15186 * menubar-msw.c (prune_menubar):
15187 * menubar-msw.c (msw_char_is_accelerator):
15188 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
15189 * menubar-msw.c (mswindows_handle_wm_command):
15190 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
15191 * menubar-msw.c (mswindows_handle_wm_initmenu):
15192 * menubar-msw.c (mswindows_update_frame_menubars):
15193 * menubar-msw.c (mswindows_free_frame_menubars):
15194 * menubar-msw.c (mswindows_popup_menu):
15195 Fixed a bug in handling accelerators where an extra character
15196 would be displayed in the menu item. Also generalized the
15197 function displayable_menu_item because it is now used by the
15198 dialog box code as well. And finally, added code in the functions
15199 that create the menubar to extract a list of accelerators for the
15200 top level menubar, which is used in the event code to determine
15201 whether a particular alt-key combination should be used to invoke
15202 a menu item, or should be passed through to access the standard
15203 XEmacs keymap binding for this key combination.
15205 Much needed GCPROing.
15208 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
15209 * menubar-x.c (menu_item_descriptor_to_widget_value):
15210 * menubar-x.c (restore_in_menu_callback):
15211 * menubar-x.c (x_popup_menu):
15212 * menubar-x.c (menu_move_up):
15213 * menubar-x.c (menu_move_down):
15214 * menubar-x.c (menu_move_left):
15215 * menubar-x.c (menu_move_right):
15216 * menubar-x.c (menu_select_item):
15217 * menubar-x.c (command_builder_operate_menu_accelerator):
15218 * menubar-x.c (menu_accelerator_junk_on_error):
15219 * menubar-x.c (command_builder_find_menu_accelerator):
15220 * menubar-x.c (Faccelerate_menu):
15222 Moved a whole bunch of code here that was previously in
15223 event-stream.c as described above. There is also code connected
15224 to the new standard of adding an accelerator to the beginning of
15225 menu items that don't have one as described above and below.
15228 * menubar.c (menu_parse_submenu_keywords):
15229 * menubar.c (Fmenu_find_real_submenu):
15230 * menubar.c (Fnormalize_menu_item_name):
15231 * menubar.c (syms_of_menubar):
15232 * menubar.c (vars_of_menubar):
15233 * menubar.c (complex_vars_of_menubar):
15235 a) Cleaned up a bunch of documentation and improved it.
15237 b) XEmacs now automatically adds an accelerator onto the beginning
15238 of any menu items that don't have one. I did this because there
15239 will inevitably be some menu items on the main menubar that don't
15240 have accelerators on them because the package that adds that
15241 particular menu item hasn't yet been fixed up to have accelerators
15242 in them and it looked rather strange to have some items with and
15243 some items without accelerators, especially since even in items
15244 without accelerators, you can, at least under windows, still
15245 access the item through an accelerator corresponding to the first
15246 character in the item's name. If people don't like this behavior,
15247 I can add a variable to turn it off optionally, but I'm not sure
15248 this is a good idea because we really do need to have accelerators
15249 on all of the menu items, and if a package doesn't like the
15250 accelerators being put on the first character, then it should put
15251 the accelerators where they belong.
15253 c) I made a behavior change, which is that the descriptor that
15254 specifies the text of the menu item, which formerly was just a
15255 string, can now also be an evaluated expression. This makes this
15256 descriptor parallel with all of the others, which could also be
15257 evaluated expressions. This also obviates the need for the
15258 keyword :label, which was previously listed in the documentation
15259 as unimplemented, and which was for the same purpose.
15264 * ntproc.c (new_child):
15265 * ntproc.c (sys_spawnve):
15266 * ntproc.c (find_child_console):
15267 * ntproc.c (sys_kill):
15268 Fixed compile warnings. By the way, this file should really go
15269 away entirely, and this will happen as soon as Kirill makes his
15270 final round of process cleanups, which affect the function
15274 * process-nt.c (struct nt_process_data):
15275 * process-nt.c (find_process_from_pid):
15276 * process-nt.c (send_signal_the_nt_way):
15277 * process-nt.c (enable_child_signals):
15278 * process-nt.c (find_child_console):
15279 * process-nt.c (send_signal_the_95_way):
15280 * process-nt.c (nt_finalize_process_data):
15281 * process-nt.c (ensure_console_window_exists):
15282 * process-nt.c (nt_create_process):
15283 * process-nt.c (nt_kill_child_process):
15284 * process-nt.c (nt_kill_process_by_pid):
15285 * process-nt.c (nt_open_network_stream):
15286 * process-nt.c (vars_of_process_nt):
15287 Copied over code from Emacs 20.5 to correctly send signals to sub-
15288 processes under Windows 95. Also added code to automatically
15289 create and hide console window when a sub-process is created under
15290 Windows 95, which obviates the need for the separate runemacs.exe
15291 executable, and finally implemented some variables that were
15292 implemented in Emacs 20.5, but previously not in XEmacs. These
15293 include mswindows- start-process-share-console and
15294 mswindows-start-process-inherit-error-mode. (Both of these only
15295 apply to Windows 95.)
15297 * regex.c (regex_compile): Fixed a compile warning.
15300 * select-msw.c (mswindows_own_selection):
15301 * select-msw.c (mswindows_get_foreign_selection):
15302 * select-msw.c (mswindows_disown_selection):
15303 * select-msw.c (console_type_create_select_mswindows):
15304 * select-msw.c (syms_of_select_mswindows):
15305 Cleaned up the file and implemented the device method
15306 selection_exists_p, which had accidentally been left out. Also
15307 removed four lisp functions that were remnants from before the
15308 time when the selection code was properly device abstracted.
15309 These functions are no longer needed because there are generic
15310 equivalents, and because they were added recently and don't exist
15311 in FSF Emacs, I don't think there's any problem with just deleting
15315 * sysdep.c (sys_subshell):
15316 Fixed a compile warning, although in this case there's probably
15317 something wrong with this code, and it ought to be looked into
15318 more thoroughly by somebody who understands it.
15321 * window.c (Fwindow_text_area_height):
15322 * window.c (Fwindow_width):
15323 * window.c (Fwindow_full_width):
15324 * window.c (Fwindow_pixel_width):
15325 * window.c (debug_print_window):
15326 * window.c (syms_of_window):
15327 Added functions window-text-area-height and window-full-width,
15328 which are functions for returning various width and height
15329 characteristics of a window. (One of these functions is necessary
15330 for making the file dialog box work correctly, and the other one
15331 was added for completeness.) Also added a table to the
15332 documentation for window-height which describes the entire scheme
15333 for accessing width and height characteristics of a window.
15335 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15337 * nt.c (fstat): Added a comment for another problem with
15338 non-encapsulated [f]stat(), reported by Adrian Aichner
15339 <aichner@ecf.teradyne.com>.
15341 2000-03-11 Andy Piper <andy@xemacs.org>
15343 * window.c (make_dummy_parent): initialize subwindow instance
15345 (Fset_window_configuration): zero extent_modiff.
15347 2000-03-10 Andy Piper <andy@xemacs.org>
15349 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
15350 more changes can be triggered.
15351 (Fredisplay_frame): ditto.
15352 (Fredraw_device): ditto.
15353 (Fredisplay_device): ditto.
15354 (redisplay_frame): make non-static.
15355 (redisplay_frame): call update_frame_gutter_geometry outside of
15358 * gutter.h: declare update_frame_gutter_geometry.
15360 * redisplay.h: declare redisplay_frame.
15362 * gutter.c (update_frame_gutter_geometry): move geometry changes
15363 in update_frame_gutters here. Geometry changes can only occur
15364 outside of redisplay.
15365 (update_frame_gutters): remove geometry change code.
15366 (Fredisplay_gutter_area): make sure that we are in display when we
15367 update and that we have flushed any size changes.
15369 2000-03-11 Andy Piper <andy@xemacs.org>
15371 * alloc.c (pdump_dump_data): remove i & count shadows.
15373 2000-02-27 Mike Alexander <mta@arbortext.com>
15375 * sysdep.h: Declare pdump_read_file
15377 * sysdep.c (pdump_read_file): New function
15379 * alloc.c (pdump_load): Call pdump_read_file to get the portable
15382 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
15384 * lrecord.h: add `lrecord_type_pgsetenv'.
15386 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
15388 * symsinit.h: declare (vars|syms)_of* functions.
15389 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
15391 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
15393 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
15395 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
15398 * emacs.c (main_1): Call postgres initialization code.
15400 * postgresql.h: New file. PostgreSQL RDBMS support.
15401 * postgresql.c: New file.
15403 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
15405 * redisplay-output.c (redisplay_output_display_block): Disable
15408 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15410 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
15411 (Fcanna_henkan_next): Ditto.
15412 (Fcanna_bunsetu_henkou): Ditto.
15413 (Fcanna_henkan_kakutei): Ditto.
15414 (Fcanna_henkan_end): Ditto.
15415 (Fcanna_henkan_quit): Ditto.
15416 (Fcanna_henkan_next): Set retun value correctly.
15417 (c2mu): Use unsigned char instead of signed char.
15419 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15421 * emacs.c (main_1): Always call syms_of_gui.
15422 * inline.c: include gui.h
15424 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15426 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
15427 converted to Lisp_Object.
15428 (Qtop_bottom): New variable.
15429 (syms_of_redisplay): Initialize it.
15430 * redisplay.h (Vvisible_bell): Ditto.
15431 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
15432 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
15433 only flash top and bottom.
15435 2000-03-08 Andy Piper <andy@xemacs.org>
15437 * buffer.c (Frename_buffer): record new buffer name the right way.
15439 2000-03-08 Andy Piper <andy@xemacs.org>
15441 * glyphs.c (update_subwindow): increase hash depth so that widget
15442 items get picked up properly.
15444 * redisplay-output.c (compare_runes): increase hash depth so that
15445 widget items get picked up properly.
15447 2000-03-08 Andy Piper <andy@xemacs.org>
15449 * gutter.c (output_gutter): add some debug.
15451 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
15452 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
15453 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
15455 * redisplay-output.c (compare_runes): use display_hash to
15456 determine if glyphs really are not the same.
15458 * glyphs.c (update_subwindow): check display_hash to see if
15459 anything really needs to be updated. If not then do
15460 nothing. Record the display_hash after updating.
15461 (image_instance_equal): compare the image_instance face also.
15463 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
15465 * redisplay.h: Fix comment style.
15467 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
15469 * consle-msw.h (struct mswindows_frame):
15470 Added new member paint_pending to indicate whether a WM_PAINT
15471 magic event has been queued for this frame.
15473 * event-msw.c (mswindows_drain_windows_queue):
15474 Don't queue a WM_PAINT magic event if one is already queued.
15475 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
15477 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
15479 2000-03-07 Didier Verna <didier@xemacs.org>
15481 * dired.c: #include `regex.h' after `sysfile.h'.
15483 2000-03-06 Martin Buchholz <martin@xemacs.org>
15485 * sound.c (init_nas_sound): Fix compiler warning.
15487 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
15489 (MARK_STRUCT_AS_FREE):
15490 (MARK_STRUCT_AS_NOT_FREE):
15491 Make `gcc -fstrict-aliasing' work properly.
15493 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
15495 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
15496 (mswindows_delete_device): Call CoUnnitialize().
15498 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
15500 2000-02-25 <CraigL@DyCon.com>
15502 * process-nt.c: MinGW now has <shellapi.h>, but still needs
15505 * sysdep.c: This extern declaration for environ prevents MinGW
15506 from finding the variable in CRTDLL.DLL.
15508 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
15510 (SHGFI_EXETYPE): ..
15511 (WM_MOUSEWHEEL): ..
15512 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
15514 (MMRESULT): Removed, now defined in cygwin's windows headers.
15516 (uid_t,gid_t,pid_t,ssize_t): ..
15517 (_timeb): Removed, MinGW defines both _timeb and timeb.
15518 (HAVE_H_ERRNO): Added.
15519 (HAVE_TZNAME): Added, configure is not detecting this.
15521 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
15523 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
15524 * syntax.c (syntax_match): Use it.
15526 * cmds.c: Import auto-fill-chars from FSF Emacs.
15527 (Vauto_fill_chars): New variables.
15528 (internal_self_insert): Check Vauto_fill_chars.
15530 Declare auto-fill-chars as a Lisp variable and initialize it.
15532 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
15534 * fileio.c (Fmake_symbolic_link):
15536 Run handlers even if local machine doesn't have symlinks.
15538 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
15540 * event-msw.c (mswindows_drain_windows_queue):
15541 Don't generate paint magic events for non-XEmacs frames.
15543 2000-03-05 Andy Piper <andy@xemacs.org>
15545 * redisplay.c (redisplay_frame): generate_displayable_area and
15546 friends assumes that we are not in GC, we therefore have to make
15547 sure that this doesn't happen.
15549 * gutter.c (calculate_gutter_size): generate_displayable_area
15550 assumes that we are not in GC, we therefore have to make sure that
15551 this doesn't happen.
15553 2000-03-05 Martin Buchholz <martin@xemacs.org>
15555 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
15557 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
15559 * redisplay.c (regenerate_window): Make sure we set a sane value
15560 for end_pos even if we jump out of the loop.
15561 (regenerate_window): Answer Ben's question :-).
15562 (start_end_of_last_line): Add may_error argument.
15563 (start_of_last_line):
15564 (end_of_last_line): Pass may_error = 0.
15565 (end_of_last_line_may_error): New function.
15566 (pixel_to_glyph_translation): Use it, so we don't crash in
15569 2000-03-04 Andy Piper <andy@xemacs.org>
15571 * window.h (struct window): add gutter_extent_modiff.
15573 * window.c (allocate_window): zero out gutter_extent_modiff.
15575 * redisplay.h: declare sync_display_line_structs.
15577 * redisplay.c (add_glyph_rune): add a better comment.
15579 * redisplay-output.c (sync_display_line_structs): made non-static.
15580 (compare_runes): remove unneccesary glyph cachel access.
15582 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
15584 * gutter.c (output_gutter): don't output the gutter if extent
15585 changes only involve extents in buffers. use 4 sets of display
15587 (gutter_extent_signal_changed_region_maybe): new function. Mark
15588 extents in gutters as changed.
15589 (update_frame_gutters): use 4 sets of display lines.
15590 (reset_gutter_display_lines): ditto.
15591 (free_frame_gutters): ditto.
15592 (redraw_exposed_gutter): force output of gutters.
15594 * frame.h (struct frame): add 4 sets of gutter display lines.
15596 * extents.c: (extent_changed_for_redisplay): signal changes to
15597 extents in strings in the gutter as well as extents in buffers.
15599 2000-03-02 Andy Piper <andy@xemacs.org>
15601 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
15603 * frame.c (Fmake_frame): make sure the gutters get initialized
15604 after the frame is visible.
15605 (set_frame_selected_window): re-arrange compilation macros a
15607 (change_frame_size_1): mark gutters changed.
15609 * device.c (Fset_device_class): mark gutters changed.
15611 2000-03-01 Andy Piper <andy@xemacs.org>
15613 * window.c (window_top_frame_gutter_height): deleted.
15614 (window_bottom_frame_gutter_height): ditto.
15615 (window_left_frame_gutter_height): ditto.
15616 (window_right_frame_gutter_height): ditto.
15617 (window_top_gutter_height): don't use them.
15618 (window_bottom_gutter_height): ditto.
15619 (window_left_gutter_width): ditto.
15620 (window_right_gutter_width): ditto.
15621 (Fsplit_window): ditto.
15622 (Fwindow_pixel_edges): don't use border dimensions here.
15624 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
15625 (update_scrollbar_instance): ditto.
15627 * redisplay.c (generate_modeline): don't take gutters into account.
15628 (generate_modeline): ditto.
15629 (redisplay_frame): small gutter display optimization.
15631 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
15633 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
15634 gutters into account.
15636 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
15637 for window position and type.
15639 * gutter.c (get_gutter_coords): fix for frame gutters.
15640 (update_frame_gutters): update frame geometry if the gutters have
15642 (init_frame_gutters): record current gutter geometries.
15644 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
15646 (mswindows_widget_instantiate): ditto.
15648 * frame.h (struct frame): add current_gutter_bounds.
15650 * frame.c (change_frame_size_1): position window and minibuffer
15651 appropriately taking into account the frame gutters.
15653 * frame-x.c: (x_initialize_frame_size): take into account the
15656 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
15658 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
15660 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
15662 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
15664 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15666 * file-coding.c (reset_decoding_stream): Clear previous
15667 detection state when autodetect.
15669 2000-02-29 Didier Verna <didier@xemacs.org>
15671 * extents.c (set_extent_glyph_1): don't require extents to be
15674 2000-02-27 Andy Piper <andy@xemacs.org>
15676 * gutter.c (Fset_default_gutter_position): don't default left and
15677 right gutter visibility to t.
15678 (Fset_default_gutter_position): run
15679 default-gutter-position-changed-hook.
15680 (syms_of_gutter): add default-gutter-position-changed-hook.
15682 2000-02-26 Andy Piper <andy@xemacs.org>
15684 * specifier.c (Fmake_specifier): add gutter references.
15686 * gutter.h (RAW_WINDOW_GUTTER): new macro.
15688 * lisp.h: declare Fvalid_plist_p.
15690 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
15692 (default_gutter_visible_p_changed_in_window): invalidate gutter as
15693 well as its visibility so that it gets reconstructed.
15694 (construct_window_gutter_spec): new function. Construct a string
15695 to be displayed in the gutter from a plist of strings. Take care
15696 to only use elements that are declared as visible.
15697 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
15699 (gutter_validate): allow plists of strings in the specifier.
15700 (gutter_specs_changed): construct the real_gutter from the gutter
15701 specs using construct_window_gutter_spec.
15702 (gutter_visible_validate): gutter-visible is a new specifier type.
15703 (Fgutter_visible_specifier_p): new function for the new specifier.
15704 (syms_of_gutter): declare gutter-visible and
15705 Fgutter_visible_specifier_p.
15706 (specifier_type_create_gutter): intitalize new gutter-visible
15708 (reinit_specifier_type_create_gutter): ditto.
15709 (specifier_vars_of_gutter): use new specifier type for gutter
15711 (init_frame_gutters): construct real_gutter correctly.
15712 (Fgutter_specifier_p): beef up documentation.
15713 (Fgutter_size_specifier_p): ditto.
15715 * winslots.h: add real_gutter slots.
15717 2000-02-25 Andy Piper <andy@xemacs.org>
15719 * device-msw.c: Be kind to older cygwin versions. From Raymond
15720 Toy <toy@rtp.ericsson.se>.
15722 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
15723 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
15725 2000-02-25 Martin Buchholz <martin@xemacs.org>
15727 * elhash.c (MARK_OBJ): Practice macro hygiene.
15729 2000-02-24 Martin Buchholz <martin@xemacs.org>
15731 * miscplay.c: s/__inline__/inline/g;
15732 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
15733 (get_device_compdc): INLINE ==> static inline
15734 * *.[ch]: Change INLINE to INLINE_HEADER globally.
15735 find -name '*.h' | \
15736 xargs global-replace \
15737 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
15739 2000-02-25 Andy Piper <andy@xemacs.org>
15741 * window.c (window_top_frame_gutter_height): new function.
15742 (window_top_window_gutter_height): ditto.
15743 (window_top_gutter_height): use them.
15744 (window_bottom_frame_gutter_height): new function.
15745 (window_bottom_window_gutter_height): ditto.
15746 (window_bottom_gutter_height): use them.
15747 (window_left_window_gutter_width): new function.
15748 (window_left_frame_gutter_width): ditto.
15749 (window_left_gutter_width): use them.
15750 (window_right_window_gutter_width): new function.
15751 (window_right_frame_gutter_width): ditto.
15752 (window_right_gutter_width): use them.
15753 (window_pixel_height): new function. calulate window pixel height
15754 with frame gutter involvement.
15755 (Fsplit_window): calculate new sizes taking frame gutters into
15757 (window_char_height_to_pixel_height): don't include frame gutters.
15758 (window_char_height): use window_pixel_height.
15759 (window_pixheight): rename from window_pixel_height.
15760 (change_window_height): use it.
15761 (window_pixel_height_to_char_height): don't include frame gutters.
15762 (window_char_width_to_pixel_width): ditto.
15764 2000-02-25 Andy Piper <andy@xemacs.org>
15766 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
15769 2000-02-24 Martin Buchholz <martin@xemacs.org>
15771 * alloc.c (staticpro):
15772 (staticpro_nodump):
15777 (compact_string_chars):
15778 (pdump_dump_wired):
15779 Convert: if (foo) abort(); ==> assert (! foo);
15781 * eldap.c (Fldap_search_basic):
15785 Fix compiler warnings, and possible crashes if (random) return
15786 value were to be used.
15788 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15790 * device-msw.c: Workaround ResetDC failure.
15792 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
15793 applying a devmode.
15795 * redisplay-msw.c (get_frame_dc): Added start_page_p.
15796 (mswindows_text_width): Do not start printer page.
15798 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
15800 * glyphs-msw.c: Added image methods to msprinter console and
15801 msprinter-specific image instantiation.
15803 2000-02-20 Mike Alexander <mta@arbortext.com>
15805 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
15806 to avoid crashes when selection-sets-clipboard is on
15807 (mswindows_own_selection): ditto
15809 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15812 * redisplay-msw.c (get_frame_dc):
15813 (get_frame_compdc):
15815 * device-msw.c (mswindows_init_device):
15816 (mswindows_delete_device):
15817 (msprinter_init_device):
15818 (msprinter_delete_device):
15819 * frame-msw.c (mswindows_init_frame_1):
15820 (mswindows_delete_frame):
15821 (msprinter_init_frame_3):
15822 (msprinter_delete_frame): Move compatible DC to device object from
15823 frame object, for both mswindows and msprinter. Only one at a time
15824 is needed, it is a real waste to have one per frame!
15826 2000-02-23 Andy Piper <andy@xemacs.org>
15828 * glyphs.c: add dynamic width and height elements.
15829 (image_instance_equal): ditto.
15831 * glyphs-widget.c (widget_query_geometry): calculate width and
15832 height dynamically if required.
15833 (initialize_widget_image_instance): initialize dynamic dimensions.
15834 (widget_instantiate): pick-up dynamic dimensions.
15836 * glyphs.h (struct Lisp_Image_Instance): add width and height for
15837 dynamic determination. Add appropriate macros.
15839 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
15841 (WINDOW_GUTTER_SIZE): ditto.
15842 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
15844 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
15846 (get_frame_dc): ditto.
15848 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
15851 2000-02-23 Martin Buchholz <martin@xemacs.org>
15853 * XEmacs 21.2.31 is released.
15855 2000-02-22 Ben Wing <ben@xemacs.org>
15857 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
15859 2000-02-22 Andy Piper <andy@xemacs.org>
15861 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
15863 2000-02-21 Mike Sperber <mike@xemacs.org>
15867 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
15870 2000-02-21 Mike Sperber <mike@xemacs.org>
15872 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
15874 2000-02-21 Martin Buchholz <martin@xemacs.org>
15876 * XEmacs 21.2.30 is released.
15878 2000-02-20 Martin Buchholz <martin@xemacs.org>
15880 Performance hacking.
15882 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
15883 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
15884 * emacs.c (main_1):
15886 * console.c (DEFVAR_CONSOLE_LOCAL_1):
15887 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
15888 * symeval.h (DEFVAR_SYMVAL_FWD):
15889 * symbols.c (guts_of_unbound_marker):
15890 Make all c_readonly objects also lisp_readonly and marked for life.
15891 * lrecord.h (struct lrecord_implementation):
15892 Document flags better.
15893 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
15894 * lrecord.h (DECLARE_LRECORD):
15895 * lrecord.h (XSETRECORD):
15896 * lrecord.h (RECORDP):
15897 * lrecord.h (RECORD_TYPEP):
15898 * lrecord.h (RECORD_MARKER): New.
15899 * lrecord.h (error_check_*):
15900 * lrecord.h (CONCHECK_NONRECORD):
15901 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
15902 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
15903 * lrecord.h (set_lheader_implementation):
15904 * lrecord.h (enum lrecord_type): New.
15905 * symeval.h (SYMBOL_VALUE_MAGIC_P):
15906 * alloc.c (disksave_object_finalization_1):
15907 * alloc.c (mark_object):
15908 * alloc.c (lrecord_type_index):
15909 * alloc.c (tick_lcrecord_stats):
15910 * alloc.c (Fgarbage_collect):
15911 * alloc.c (init_alloc_once_early):
15912 * alloc.c (pdump_load):
15913 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
15914 * alloc.c (lrecord_type_index): Delete.
15915 Make lisp object type indexes be constant.
15916 Makes (byte-compile) 5% faster.
15917 Put all marker functions into their own array.
15918 Makes (garbage-collect) 5% faster.
15919 Optimize SYMBOL_VALUE_MAGIC_P.
15920 Makes (byte-compile) 2-3% faster.
15921 * config.h.in (gc_checking_assert): New.
15922 * alloc.c: Use gc_checking_assert().
15923 * .dbxrc: Make compatible with new object type implementation.
15924 * .gdbinit: Make compatible with new object type implementation.
15925 * alloc.c: Delete all symbols defined only for debugging, such as
15926 Lisp_Type_Vector and lrecord_charset.
15928 2000-02-21 Andy Piper <andy@xemacs.org>
15930 * gui-msw.c (Fmswindows_shell_execute): fix file location
15933 * buffer.c (Fkill_buffer): remove buffer from alist buffer
15934 unshowing so that set_window_buffer doesn't undo
15935 kill_buffer_hook's hard work.
15937 * glyphs-widget.c (tab_control_query_geometry): don't count the
15938 first item when calculating geometry.
15940 * glyphs.c (map_subwindow): remove redundant code.
15941 (update_frame_subwindows): be more circumspect about when to
15944 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
15945 when items haven't changed. Update faces if faces have changed as
15946 well as just the widget face.
15947 (x_tab_control_update): Update faces if faces have changed as well
15948 as just the widget face.
15950 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
15952 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
15954 (build_syscolor_string): Use mswindows_color_to_string to try to
15956 (mswindows_device_system_metrics): Reverse the foreground and
15957 background colors so that they match the documentation.
15959 * objects-msw.c: (mswindows_X_color_map): tweak some values so
15960 they match the default Windows palette.
15961 (mswindows_color_to_string): New function.
15963 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
15965 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
15967 2000-02-18 Olivier Galibert <galibert@pobox.com>
15969 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
15970 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
15972 * symbols.c (init_symbols_once_early): Removed obsolete
15973 DATA_SEG_BITS related kludge.
15974 (defvar_magic): Ditto.
15976 * malloc.c: Removed obsolete DATA_SEG_BITS
15978 * mem-limits.h: Ditto.
15980 * Makefile.in.in: Removed obsolete HAVE_SHM
15983 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
15985 * device-msw.c (mswindows_delete_device): Free DDE string
15988 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15990 * keymap.c (get_keyelt):
15991 * unexnt.c (unexec):
15992 * vm-limit.c (memory_warnings):
15993 * ntheap.c (recreate_heap):
15994 * ntheap.h (UNINIT_PTR):
15995 * select-msw.c (Fmswindows_get_clipboard):
15996 (Fmswindows_set_clipboard):
15997 * objects-msw.h (MSWINDOWS_BAD_HFONT):
15999 * menubar-msw.c (displayable_menu_item):
16001 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
16002 * sysdep.c (sys_subshell):
16003 * process-nt.c (nt_create_process):
16004 * nt.c (normalize_filename):
16005 (dostounix_filename):
16006 (unixtodos_filename):
16007 * ntproc.c (win32_executable_type):
16008 * ntplay.c (play_sound_data_1):
16010 * editfns.c (get_home_directory):
16011 * event-msw.c (struct winsock_stream):
16012 (mswindows_dde_callback):
16013 * device-msw.c (msprinter_init_device):
16014 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
16016 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
16017 mswindows_clear_toolbar were swapped!
16019 * objects-msw.c:(colormap_t):
16021 * emacs.c (struct standard_args): Fixed const jumble.
16023 * glyphs-widget.c (update_widget): Fixed comparison notation.
16025 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
16027 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
16028 __declspec(noreturn) syntax.
16030 2000-02-19 Martin Buchholz <martin@xemacs.org>
16032 * eldap.c (Fldap_open):
16033 (Fldap_search_basic):
16036 Use new coding system conversion macros.
16038 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16040 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
16042 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
16044 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
16045 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16047 * eldap.c (Qadd, Qreplace): New constant symbols
16048 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
16049 interruptions by XEmacs signals
16050 Remove unnecessary calls to slow_down_interrupts and
16051 speed_up_interrupts
16052 (Fldap_search_basic): Renamed from Fldap_search_internal
16053 Added new optional parameter VERBOSE that triggers the
16054 display of progress messages
16055 Remove unnecessary calls to slow_down_interrupts and
16056 speed_up_interrupts
16057 LDAP result code analysis rewritten
16058 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16059 (syms_of_eldap): Define the new symbols and functions
16062 2000-02-17 Martin Buchholz <martin@xemacs.org>
16064 * realpath.c: Determine PATH_MAX maximally portably.
16066 * insdel.c (bytecount_to_charcount): Optimize.
16067 The function used to be optimized for entirely ASCII sequences.
16068 Now it is optimized for successive characters from the same
16069 charset. This also wins big for _mostly_ ASCII sequences.
16071 * fileio.c (Ffile_truename): convert return from realpath() using
16072 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
16073 - Rewrite GCPROing slightly.
16075 * sysdep.c (sys_open): Do filename conversion, like all other
16076 sys_* functions. Fixes bug:
16077 (let ((file-name-coding-system 'iso-8859-2))
16078 (write-region x y latin2-name))
16079 ==> writes filename using internal encoding.
16081 2000-02-18 Martin Buchholz <martin@xemacs.org>
16083 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
16084 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
16085 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
16086 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
16087 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
16088 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
16089 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
16090 (CONST_IF_NOT_DEBUG): Delete.
16091 * alloc.c (this_one_is_unmarkable): Delete.
16092 (mark_object): Don't check for this_one_is_unmarkable. Use the
16093 c_readonly flag instead.
16094 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
16096 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
16098 * event-msw.c (mswindows_drain_windows_queue):
16099 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
16100 away redundant repaint events.
16102 2000-02-17 Andy Piper <andy@xemacs.org>
16104 * redisplay.h: declare mark_redisplay_structs.
16106 * redisplay.c (redisplay_window):
16107 (redisplay_frame): don't check subwindows_state_changed.
16108 (mark_redisplay): mark gutters here.
16110 * glyphs.c: (instantiate_image_instantiator): always layout if we
16111 haven't done so already.
16112 (allocate_image_instance): don't mark as dirty.
16113 (update_subwindow): bind inhibit_quit.
16115 * gutter.c (mark_gutters): new function.
16117 * glyphs-x.c (x_update_widget): Always resize to get round a
16120 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
16121 breaking absolutely everything.
16123 * gutter.h: declare mark_gutters.
16125 2000-02-16 Martin Buchholz <martin@xemacs.org>
16127 * XEmacs 21.2.29 is released.
16129 2000-02-15 Olivier Galibert <galibert@pobox.com>
16131 * fns.c (size_bit_vector): Fix computation of the size.
16133 2000-02-15 Martin Buchholz <martin@xemacs.org>
16135 * *.[ch]: Change CONST to const globally.
16136 find -name '*.[ch]' | \
16137 xargs global-replace \
16138 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
16139 - Remove vestigial references to CONST_IS_LOSING
16141 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16143 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
16144 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
16145 events instead of dispatching them directly.
16146 (mswindows_handle_paint): New function to do repainting.
16147 (mswindows_wnd_proc):
16148 (emacs_mswindows_handle_magic_event): Call above function.
16150 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16152 * objects-msw.c (mswindows_create_font_variant): Return the new
16154 (initialize_font_instance): Get font metrics from the underlined
16155 variant of the font to cope with the case where the underlined
16156 font has a bigger descent.
16158 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
16160 * gui.c (gui_item_accelerator): Return the first underlined
16161 character in item name.
16163 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16165 * lisp.h: Added Qprinter.
16167 * general.c (syms_of_general): Initialized it.
16169 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
16171 (get_frame_compdc): Made inline.
16173 * console.h (struct console_methods): Added eject_page method.
16175 * frame.h: Added FRAME_DISPLAY_P and friends.
16176 Aligned backslahes in many macros in more readable fashion.
16177 Added page_number to struct frame, and an accessor macro
16180 * defice.h: Added DEVICE_DISPLAY_P and friends.
16182 * device.c (Fdevice_printer_p): Used these.
16184 * frame.c (allocate_frame_core): Initialize page number.
16185 (Fprint_job_page_number):
16186 (Fprint_job_eject_page): Implemented.
16188 * frame-msw.c (msprinter_eject_page): Added method.
16189 (msprinter_start_page): Added.
16191 * window.c (Fwindow_truncated_p): Fixed docstring.
16192 (Fwindow_last_line_visible_height): Implemented.
16194 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16196 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
16198 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16200 * syntax.c (scan_words): Always advance at least one character.
16202 2000-02-13 Andy Piper <andy@xemacs.org>
16204 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
16205 to make sure the glyph is in the cachels.
16207 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
16208 global image instance flag.
16209 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
16210 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
16212 * glyphs.c (allocate_image_instance): set dirty bits correctly.
16213 (Fset_image_instance_property): mark layout as changed.
16214 (invalidate_glyph_geometry_maybe): mark layout as changed.
16215 (glyph_width): use new NEEDS_LAYOUT macro.
16216 (glyph_ascent): ditto.
16217 (glyph_descent): ditto.
16218 (glyph_height): ditto.
16219 (image_instance_layout): mark layout as clean after laying out.
16220 (update_subwindow): don't mark layout as clean here.
16222 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
16223 should no longer be needed.
16225 * glyphs-x.c (x_update_widget): sanitize asserts.
16226 (x_finalize_image_instance): sanitize assignment to widgets.
16228 * glyphs-widget.c (widget_instantiate): don't need to clear the
16231 2000-02-13 Martin Buchholz <martin@xemacs.org>
16233 * sysdep.c (getcwd): Use standard prototype.
16234 * sysdep.h (getcwd): Use standard prototype.
16236 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
16237 (sequence, start, end).
16238 Remove redundant type checking.
16239 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
16240 view of `caller-protects') to avoid a crash where the real fix was
16243 2000-02-12 Martin Buchholz <martin@xemacs.org>
16245 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
16247 * s/sol2.h: Remove feature macro initialization.
16249 * alloc.c (alloc_lcrecord): Add more type checking assertions.
16250 (vector_hash): New. Code from internal_hash.
16252 Fix up allocation subsystem comments.
16254 * config.h.in: Add __EXTENSIONS__ for Solaris.
16256 * systime.h (EMACS_GETTIMEOFDAY): New.
16257 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
16258 Remove Solaris-specific code.
16259 Use void* for the (ignored) second arg for gettimeofday().
16261 * elhash.c (hash_table_hash): Implement it, finally.
16262 * elhash.c: Use hashcode_t.
16264 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
16265 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
16267 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
16268 * fns.c (size_bit_vector):
16269 * alloc.c (size_vector):
16270 (make_vector_internal):
16271 (make_bit_vector_internal):
16272 (sweep_bit_vectors_1):
16273 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
16275 2000-02-10 Martin Buchholz <martin@xemacs.org>
16277 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
16278 Include strings.h to avoid warnings for bzero and strcasecmp.
16280 2000-02-10 Olivier Galibert <galibert@pobox.com>
16282 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
16283 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
16285 * fns.c (size_bit_vector): New. Declare bit vectors as a
16288 2000-02-10 Olivier Galibert <galibert@pobox.com>
16290 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
16291 use a value field instead.
16292 (symbol_value_forward_forward): Use value field.
16293 (DEFVAR_SYMVAL_FWD): Use value field.
16294 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
16295 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
16296 (DEFVAR_CONST_INT): Ditto.
16297 (DEFVAR_BOOL): Ditto.
16298 (DEFVAR_CONST_BOOL): Ditto.
16299 (DEFVAR_INT_MAGIC): Ditto.
16300 (DEFVAR_BOOL_MAGIC): Ditto.
16302 * symbols.c (guts_of_unbound_marker): Use value field.
16303 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
16304 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
16306 * lisp.h: Declare dumpopaque and noninteractive1.
16308 * alloc.c (dumpopaque): Added.
16309 (pdump_dump_opaquevec): Added.
16310 (pdump): Call pdump_dump_opaquevec to dump opaque data.
16311 (pdump_load): Reload opaque data. Sync noninteractive1 with
16314 2000-02-10 Andy Piper <andy@xemacs.org>
16316 * glyphs.c (image_instance_layout): if the size changes, mark it
16319 * redisplay-output.c (redisplay_output_layout): Update the
16321 (redisplay_output_subwindow): ditto.
16323 * glyphs.c (update_subwindow): make sure we reset flags for
16324 layouts as well as everything else.
16326 * glyphs-widget.c (layout_layout): don't need to set the instances
16329 2000-02-09 Martin Buchholz <martin@xemacs.org>
16331 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
16332 not HAVE_DLOPEN, which is a lower-level thing.
16334 * .cvsignore: Ignore gmon.out
16336 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
16338 * .cvsignore: Ignore portable dumper xemacs.dmp file
16340 2000-02-09 Andy Piper <andy@xemacs.org>
16342 * redisplay-output.c (redisplay_output_layout): be more clever
16343 about when we output based on the changed flags.
16345 * glyphs.h (struct image_instantiator_methods): add update_method.
16346 (struct Lisp_Image_Instance): add changed flags. Declare new
16347 macros for manipulating them.
16349 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
16350 (image_instance_parent_glyph): find an image_instance's parent
16351 glyph or image_instance.
16352 (image_instance_layout): mark the size as changed.
16353 (set_image_instance_dirty_p): new function. mark an image
16354 instance, plus all of its parents, as dirty.
16355 (Fset_image_instance_property): use it.
16356 (Fglyph_animated_timeout_handler): use it.
16357 (update_subwindow): call update_widget and device methods for
16358 update_subwindow. Mark all changed flags as clean.
16359 (Fresize_subwindow): mark size as changed.
16361 * glyphs-x.c (x_finalize_image_instance): try and detect gc
16363 (x_update_subwindow): only resize subwindows here.
16364 (x_update_widget): new function. Update all changed properties of
16366 (x_resize_subwindow): deleted.
16367 (x_widget_set_property): deleted.
16368 (x_progress_gauge_set_property): deleted.
16369 (x_progress_gauge_update): new function. Implement recorded
16371 (x_tab_control_update): ditto.
16372 (x_tab_control_set_property): deleted.
16373 (console_type_create_glyphs_x): declare new functions.
16374 (image_instantiator_format_create_glyphs_x): ditto.
16376 * glyphs-widget.c (widget_set_property): mark text changed.
16377 (update_widget): new function. Update properties of a widget.
16378 (widget_instantiate): for layouts make sure we set their
16379 children's parent correctly.
16380 (tab_control_set_property): new function. Record changes that will
16381 take place under redisplay's control.
16382 (progress_gauge_set_property): ditto.
16383 (image_instantiator_progress_guage): declare new functions.
16384 (image_instantiator_tab_control): ditto.
16386 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
16388 (mswindows_update_widget): new function. Update all properties on
16389 a widget that have changed.
16390 (mswindows_button_update): new function. Update a button's set
16392 (mswindows_tab_control_update): new function. Update the items in
16394 (mswindows_tab_control_set_property): deleted.
16395 (mswindows_progress_gauge_update): new function. Update the
16396 progress gauge's progress.
16397 (mswindows_widget_set_property): deleted. This is all done
16398 asynchronously now.
16399 (mswindows_progress_gauge_set_property): ditto.
16400 (console_type_create_glyphs_mswindows): declare new methods.
16401 (image_instantiator_format_create_glyphs_mswindows): ditto.
16403 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
16404 (msprinter_set_frame_properties): ditto.
16406 * console.h (struct console_methods): Add update_widget_method.
16408 2000-02-09 Andy Piper <andy@xemacs.org>
16410 * gui-msw.c (Fmswindows_shell_execute): Make
16411 mswindows-shell-execute industrial strength.
16413 2000-02-08 Martin Buchholz <martin@xemacs.org>
16415 * lrecord.h: Make macro argument `props' match member function `plist'.
16418 * fns.c (Fremprop):
16419 * fns.c (Fobject_plist):
16422 Object property list frobbing cleanup.
16423 - Allow any lisp object (compared with `eq'), not just symbols, as
16424 keys in object plists.
16425 - Move symbol plist frobbing into symbols.c, where it belongs.
16426 - Move string plist frobbing into alloc.c, where it belongs.
16427 - Everything's an lrecord now, so no need to test for symbolp, etc.
16428 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
16430 * extents.c: Reorder code to remove declarations.
16432 * frame.h (store_in_alist): Remove useless declaration.
16434 2000-02-07 Martin Buchholz <martin@xemacs.org>
16436 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
16437 * config.h.in: Add HAVE_XCONVERTCASE.
16439 2000-02-07 Andy Piper <andy@xemacs.org>
16441 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
16442 it breaks many things.
16444 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
16446 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
16447 actually can start a common comment type.
16448 * src/syntax.h (SYNTAX_END_P): ditto for end.
16450 2000-02-07 Martin Buchholz <martin@xemacs.org>
16452 * XEmacs 21.2.28 is released.
16454 2000-02-06 Martin Buchholz <martin@xemacs.org>
16456 * event-Xt.c (x_keysym_to_character): New.
16457 (maybe_define_x_key_as_self_inserting_character): New.
16458 (x_has_keysym): New.
16459 Auto-define all keys on the keyboard as self-insert-key.
16461 2000-02-02 Martin Buchholz <martin@xemacs.org>
16463 * menubar.c (vars_of_menubar): A small code simplification.
16465 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
16468 * ExternalClient.c:
16469 * EmacsShell-sub.c:
16472 Use consistent style for specifying X resources.
16474 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
16475 This makes (dontusethis-set-symbol-value-handler) actually usable.
16477 * lrecord.h (lrecord_decription_type):
16478 * alloc.c (pdump_register_sub):
16481 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
16482 Comply with XEmacs coding style.
16483 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
16484 args, and XD_LISP_OBJECT_ARRAY with 3 args.
16486 * keymap.c (Faccessible_keymaps):
16487 Make (accessible-keymaps map "\C-h") do the Right Thing.
16488 Make (accessible-keymaps map []) do the Right Thing.
16489 Make (accessible-keymaps map "") do the Right Thing.
16490 (check_keymap_definition_loop): New function.
16491 (keymap_store_internal): Keep luser from shooting self in foot,
16492 via (define-key ctl-x-4-map "p" global-map).
16493 Remove fullness slot from struct Lisp_Keymap, since hash tables
16495 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
16497 2000-01-30 Martin Buchholz <martin@xemacs.org>
16499 * redisplay.c (init_redisplay): Fix small memory leak.
16501 * elhash.c (pdump_reorganize_hash_table):
16502 Rename from reorganize_hash_table. Change prototype.
16503 Reuse the original memory for hentries. Save 100k.
16504 * alloc.c (PDUMP_READ): new macro.
16505 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
16506 * alloc.c: No need to #ifndef before #undef.
16508 * print.c: Allow debug_print() to print readably by modifying
16509 debug_print_readably. Use consistent variable names.
16511 * .dbxrc: Try to get things to work even if stopped in a function
16512 without source available by explicitly specifying source files.
16513 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16515 * unexnt.c (_start): Removed bogus code which caused loading heap
16516 from differrent executable file.
16517 Removed bogus assignment to _fmode, which caused inconsistencies.
16519 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16521 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
16522 Have spawnve encapsulation regard DONT_ENCAPSULATE.
16523 Do not preliminary `#define signal sigset'.
16525 * systime.h: Do not prototype environ on windows nt and cygwin,
16526 this conflicts with system header.
16528 * syssignal.h: Use correct define for WINDOWSNT
16530 * sysdep.h: Do not prototype environ on windows nt, this conflicts
16531 with system header.
16533 * sysdep.c (near start of file): Fixed commentary and rearranged
16534 ifdefs in readable order.
16535 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
16538 (end_of_data): Do not compile in if using PDUMP.
16540 * symsinit.h: Prototyped vars_of_nt().
16542 * ntproc.c (windows9x_p): Added, instead of os_subtype.
16543 (find_child_console): Use it.
16544 (sys_kill): Use it.
16546 * ntheap.h: Do not extern os_subtype.
16548 * ntheap.c (cache_system_info): Do not cache unneeded:
16549 nt_major_version, nt_minor_version and os_subtype.
16550 (recreate_heap): Do not compile in when PDUMPing.
16552 * nt.c (geteuid and friends): Use the new varibale
16553 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
16554 (init_user_info): Removed the above mentioned hackery.
16555 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
16556 stat has been fixed in the C runtime.
16557 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
16559 * file-coding.c (struct file_coding_dump): Do not define
16560 ucs_to_mule_table in the struct if not MULE.
16561 (struct struct lrecord_description fcd_description_1): Do not dump
16564 * emacs.c (main_1): Call vars_of_nt().
16565 (right before Fdump_emacs_data): Don't need lastfile if using both
16566 portabe dumper and system malloc.
16568 * alloc.c (Fmemory_limit): Conditionalized out.
16569 (pdump): Use OPEN_BINARY for the portable dump file.
16570 (pdump_load): Ditto.
16572 2000-02-02 Mike Alexander <mta@arbortext.com>
16574 * nt.c (convert_time): Set tm_isdst before calling mktime and
16575 avoid calling it at all if the compiler supports 64 bit integers.
16576 Also initialize utc_base_ft before using it.
16578 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
16580 * frame.c (change_frame_size_1): Take f->internal_border_width
16581 into consideration when calculating the width of the frame.
16583 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16585 * window.c (frame_min_height):
16586 (frame_size_valid_p):
16587 (frame_pixsize_valid_p): Added.
16588 (check_frame_size): Generalized.
16590 * window.h: Prototyped the above.
16593 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
16594 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
16595 Deleted Vwin32_* and Vbinary_process_* unused variables.
16597 * device-msw.c (msprinter_init_device): Do not get printer font
16598 list; Added DEVMODE functions.
16600 * frame-msw.c: Added lots of printer code.
16602 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
16605 * console-msw.h: Added more msprinter device private slots.
16607 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16609 * event-msw.c (key_needs_default_processing_p): Added.
16610 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
16612 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16614 * glyphs.c (image_instance_layout): Mark image instance as clean
16616 (glyph_dirty_p): Removed redundant function.
16617 (invalidate_glyph_geometry_maybe): Added.
16618 (update_glyph_cachel_data): Call it.
16620 * glyphs.h: Prototyped it.
16622 * redisplay.c (add_glyph_rune): Call it.
16623 (redisplay_window): Reset glyphs cachels when frame faces have
16624 changed, thus forcing recomputation of built-in border glyphs.
16626 2000-01-30 Martin Buchholz <martin@xemacs.org>
16628 * Makefile.in.in: Make portable dumper and purify play well together.
16629 Add imperfect, but better than nothing, support for pdump.
16630 Remove xemacs.dmp when temacs is re-generated.
16631 Don't ignore errors when dumping xemacs.
16633 * symbols.c (maybe_call_magic_handler): Remove one magic number.
16635 2000-01-28 Andy Piper <andy@xemacs.org>
16637 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
16638 (setup_normal_frame): ditto.
16639 (setup_frame_without_minibuffer): ditto.
16640 (setup_minibuffer_frame): ditto.
16641 (delete_frame_internal): ditto.
16642 (Fmake_frame_invisible): ditto.
16643 (Ficonify_frame): ditto.
16645 * window.h: change Fset_window_buffer signature.
16647 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
16648 (Fset_window_buffer): allow recording of buffer if the window is
16649 the selected window.
16650 (window_loop): Use new Fset_window signature.
16652 2000-01-23 Daniel Pittman <daniel@danann.net>
16654 * config.h.in: Added template for `HAVE_ATHENA_3D'
16656 2000-01-29 Andy Piper <andy@xemacs.org>
16658 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
16660 * gutter.c (output_gutter): Don't output if the window isn't live.
16662 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16664 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
16665 of 01/12/00: Moved SetFocus back here where it belongs.
16667 2000-01-23 Andy Piper <andy@xemacs.org>
16669 * s/cygwin32.h: declare printer things.
16671 2000-01-26 Andy Piper <andy@xemacs.org>
16673 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
16676 2000-01-24 Andy Piper <andy@xemacs.org>
16678 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
16679 (mswindows_button_instantiate): Make sure glyph is a pixmap.
16681 * glyphs-widget.c (widget_instantiate): Avoid shadows.
16683 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
16685 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
16687 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
16688 (mswindows_output_display_block): Avoid local shadows.
16690 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
16691 (mswindows_enqueue_mouse_button_event): ditto.
16692 (mswindows_handle_gui_wm_command): remove declaration.
16694 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
16697 * console-msw.h: Avoid shadows.
16698 (mswindows_get_toolbar_button_text):
16699 (emacs_mswindows_create_stream_pair):
16700 (emacs_mswindows_delete_stream_pair):
16701 (mswindows_handle_toolbar_wm_command): declare.
16703 * device-msw.c (build_syscolor_string): Avoid shadows.
16705 2000-01-23 Andy Piper <andy@xemacs.org>
16707 * glyphs-widget.c (widget_instantiate): reverse the items for
16708 layouts so that children are in the expected order.
16710 2000-01-28 Martin Buchholz <martin@xemacs.org>
16712 * ralloc.c: safe_bcopy ==> memmove
16713 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
16714 * s/msdos.h: Remove BCOPY macros.
16715 * insdel.c (gap_right): Remove BCOPY conditional code.
16716 * insdel.c (gap_left): Remove BCOPY conditional code.
16717 XEmacs demands a working ANSI C compiler - hence memmove.
16719 * regex.c (regex_compile): Remove accidental use of trigraphs.
16721 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16723 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
16726 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16728 * event-msw.c (mswindows_drain_windows_queue): Added the
16730 (mswindows_need_event): Commented the call to
16731 mswindows_drain_windows_queue().
16732 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
16735 * console-msw.h: Moved a few function prototypes here from
16738 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
16739 parameter from unsigned short to unsigned long.
16740 (Fmswindows_shell_execute): Added return value.
16742 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
16744 * sysdep.c (init_system_name):
16745 process-unix.c (unix_canonicalized_host_name):
16746 Don't call freeaddrinfo() if getaddrinfo() fails.
16748 * process-unix.c (unix_open_unix_network_stream):
16749 Moved the code to get a port # into address loop.
16751 2000-01-27 Martin Buchholz <martin@xemacs.org>
16753 * buffer.c (reinit_vars_of_buffer):
16754 The right place to initialize conversion_in_dynarr and
16755 conversion_out_dynarr.
16757 * alloc.c (pdump): Use the real open() till sys_open() is functional.
16759 * process-unix.c (unix_canonicalize_host_name): Muleize.
16760 (unix_open_network_stream): Muleize.
16762 * buffer.h: Fix up prototypes for ralloc.c functions.
16764 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
16765 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
16766 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
16767 instead of gethostbyname()
16768 * process-unix.c: In unix_canonicalize_host_name() and
16769 unix_open_network_stream(), add code to use getaddrinfo()
16770 instead of gethostbyname().
16772 2000-01-27 Daniel Pittman <daniel@danann.net>
16774 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
16775 libs when built with flat Athena.
16777 2000-01-27 Martin Buchholz <martin@xemacs.org>
16779 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
16780 Use coding standards for function prototypes.
16782 2000-01-25 Martin Buchholz <martin@xemacs.org>
16784 * dialog-msw.c (push_lisp_string_as_unicode):
16785 * doc.c (unparesseuxify_doc_string):
16786 * dired.c (Fuser_name_completion_1):
16787 * dired.c (Fuser_name_all_completions):
16788 * dired.c (free_user_cache):
16789 * dired.c (user_name_completion):
16790 * console-x.c (get_display_arg_connection):
16791 * minibuf.c (clear_echo_area_internal):
16792 * minibuf.c (echo_area_append):
16793 * eldap.c (Fldap_open):
16794 * eldap.c (Fldap_search_internal):
16795 * frame-x.c (x_set_frame_text_value):
16796 * frame-x.c (x_set_frame_properties):
16797 * frame-x.c (x_create_widgets):
16798 * redisplay-tty.c (term_get_fkeys_1):
16799 * objects-x.c (x_parse_nearest_color):
16800 * objects-x.c (x_valid_color_name_p):
16801 * objects-x.c (x_initialize_font_instance):
16802 * objects-x.c (x_list_fonts):
16803 * objects-x.c (x_find_charset_font):
16804 * tooltalk.c (Fadd_tooltalk_message_arg):
16805 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
16806 * tooltalk.c (Fadd_tooltalk_pattern_arg):
16807 * process-unix.c (unix_create_process):
16808 * ntproc.c (sys_spawnve):
16809 * sound.c (Fplay_sound_file):
16810 * sound.c (Fplay_sound):
16811 * buffer.c (init_initial_directory):
16812 * buffer.c (init_buffer):
16813 * editfns.c (init_editfns):
16814 * editfns.c (Ftemp_directory):
16815 * editfns.c (Fuser_full_name):
16816 * editfns.c (uncache_home_directory):
16817 * editfns.c (get_home_directory):
16818 * editfns.c (Fuser_home_directory):
16819 * editfns.c (Fformat_time_string):
16820 * editfns.c (Fcurrent_time_string):
16821 * gui-x.c (button_item_to_widget_value):
16822 * database.c (Fopen_database):
16823 * event-Xt.c (x_to_emacs_keysym):
16824 * event-Xt.c (x_event_to_emacs_event):
16825 * event-Xt.c (describe_event_window):
16826 * event-msw.c (mswindows_wnd_proc):
16827 * glyphs-eimage.c (jpeg_instantiate):
16828 * glyphs-eimage.c (gif_instantiate):
16829 * glyphs-eimage.c (png_instantiate):
16830 * glyphs-eimage.c (tiff_instantiate):
16831 * glyphs-x.c (xbm_instantiate_1):
16832 * glyphs-x.c (x_xbm_instantiate):
16833 * glyphs-x.c (x_xface_instantiate):
16834 * glyphs-x.c (autodetect_instantiate):
16835 * glyphs-x.c (cursor_font_instantiate):
16836 * glyphs-x.c (x_widget_instantiate):
16837 * glyphs-x.c (x_widget_set_property):
16838 * glyphs-x.c (x_widget_property):
16839 * glyphs-x.c (BUILD_GLYPH_INST):
16840 * print.c (write_string_to_stdio_stream):
16841 * print.c (output_string):
16842 * print.c (Falternate_debugging_output):
16843 * print.c (Fexternal_debugging_output):
16844 * glyphs-msw.c (extract_xpm_color_names):
16845 * glyphs-msw.c (mswindows_xpm_instantiate):
16846 * glyphs-msw.c (bmp_instantiate):
16847 * glyphs-msw.c (resource_name_to_resource):
16848 * glyphs-msw.c (mswindows_resource_instantiate):
16849 * glyphs-msw.c (xbm_instantiate_1):
16850 * glyphs-msw.c (mswindows_xbm_instantiate):
16851 * glyphs-msw.c (mswindows_xface_instantiate):
16852 * glyphs-msw.c (mswindows_widget_instantiate):
16853 * glyphs-msw.c (add_tree_item):
16854 * glyphs-msw.c (add_tab_item):
16855 * glyphs-msw.c (mswindows_combo_box_instantiate):
16856 * glyphs-msw.c (mswindows_widget_property):
16857 * glyphs-msw.c (mswindows_combo_box_property):
16858 * glyphs-msw.c (mswindows_widget_set_property):
16859 * console.c (stuff_buffered_input):
16860 * objects-msw.c (mswindows_initialize_color_instance):
16861 * objects-msw.c (mswindows_valid_color_name_p):
16862 * objects-msw.c (mswindows_list_fonts):
16863 * objects-msw.c (mswindows_font_instance_truename):
16864 * bytecode.c (optimize_compiled_function):
16865 * select-x.c (symbol_to_x_atom):
16866 * select-x.c (x_atom_to_symbol):
16867 * select-x.c (hack_motif_clipboard_selection):
16868 * select-x.c (selection_data_to_lisp_data):
16869 * select-x.c (lisp_data_to_selection_data):
16870 * select-x.c (Fx_get_cutbuffer_internal):
16871 * select-x.c (Fx_store_cutbuffer_internal):
16872 * buffer.h (TO_EXTERNAL_FORMAT): New function.
16873 * buffer.h (TO_INTERNAL_FORMAT): New function.
16874 * emacs.c (make_arg_list_1):
16875 * emacs.c (make_argc_argv):
16876 * emacs.c (main_1):
16877 * emacs.c (Fdump_emacs):
16878 * emacs.c (split_string_by_emchar_1):
16883 * device-x.c (x_init_device):
16884 * device-x.c (Fx_valid_keysym_name_p):
16885 * device-x.c (Fx_get_font_path):
16886 * device-x.c (Fx_set_font_path):
16887 * glyphs.c (bitmap_to_lisp_data):
16888 * glyphs.c (pixmap_to_lisp_data):
16889 * alloc.c (make_ext_string): Use coding system arguments. Update
16891 * alloc.c (build_string):
16892 * callproc.c (child_setup):
16893 * callproc.c (init_callproc):
16894 * fileio.c (lisp_strerror):
16895 * fileio.c (directory_file_name):
16896 * fileio.c (Fexpand_file_name):
16897 * fileio.c (Ffile_truename):
16898 * fileio.c (Fsysnetunam):
16899 * fileio.c (Fdo_auto_save):
16900 * sysdep.c (sys_readdir):
16901 * tests.c: New file. Allow adding C tests.
16902 Replace GET_* macros with a more comprehensible and flexible
16903 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
16905 Any coding system can be used to do format conversion.
16906 Eliminate enum external_data_format.
16907 Eliminate convert_to_external_format.
16908 Eliminate convert_to_internal_format.
16909 Make sure file-name, keyboard, terminal, and ctext are always
16910 defined as coding systems or aliases. Make
16911 file-name-coding-system, terminal-coding-system, and
16912 keyboard-coding-system magical variables that are equivalent to
16913 defining the corresponding coding system aliases.
16915 * file-coding.c (Fcoding_system_canonical_name_p): New function.
16916 * file-coding.c (Fcoding_system_alias_p): New function.
16917 * file-coding.c (Fcoding_system_aliasee): New function.
16918 * file-coding.c (append_suffix_to_symbol): New function.
16919 * file-coding.c (dangling_coding_system_alias_p): New function.
16920 * file-coding.c (Ffind_coding_system):
16921 * file-coding.c (Fcopy_coding_system):
16922 * file-coding.c (encode_coding_no_conversion):
16923 * file-coding.c (syms_of_file_coding):
16924 * file-coding.c (vars_of_file_coding):
16925 Rewrite coding system alias code.
16926 Allow nested aliases, like symbolic links.
16927 Allow redefinition of coding system aliases.
16928 Prevent existence of dangling coding system aliases.
16930 * dired.c (Fuser_name_completion_1):
16931 * dired.c (Fuser_name_all_completions):
16932 A crash would happen if user did QUIT in the middle of building
16933 user_name_cache. Remove redundant code in mainline and unwind_protect.
16936 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
16938 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
16939 an unsigned char *. Update all callers.
16941 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16943 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
16945 2000-01-25 Martin Buchholz <martin@xemacs.org>
16947 * elhash.c (hentry_description): Use more portable definition.
16948 (resize_hash_table): Initialize new hentries using
16949 xnew_array_and_zero, thereby simplifying the code.
16951 * mule-charset.c (make_charset): Make sure entire object is
16952 initialized, to avoid Purify warnings.
16954 * alloc.c (resize_string): Fix unlikely crash with big strings.
16956 2000-01-24 Martin Buchholz <martin@xemacs.org>
16958 * realpath.c (xrealpath):
16959 Don't call getwd().
16961 2000-01-25 Martin Buchholz <martin@xemacs.org>
16963 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
16965 1999-12-28 Max Matveev <max@melbourne.sgi.com>
16967 * unexelfsgi.c (unexec): Change the way we decide which segment
16968 should be extended.
16970 Assumption that .bss section should be outside the PT_LOADable
16971 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
16972 it's present) is inside the 'data' segment. This would fail the
16973 test which was used to find a segment to grow and cover new
16974 heap. Instead of this assumption, I created another one - on IRIX
16975 the segment to grow should start below .bss and it's address
16976 should extent above the end of .bss. Once this segment is
16977 identified, it's grown to accommodate the new heap and new
16978 zero-length .bss section is added at the end of .data2.
16980 2000-01-25 Martin Buchholz <martin@xemacs.org>
16982 * eval.c (Feval): Wrong number of arguments should use original
16983 function, not the indirect_function version of it.
16985 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
16987 * glyphs-x.c (x_button_instantiate): Don't add image if
16988 it is not a pixmap.
16989 (x_locate_pixmap_file): Call Fexpand_file_name when file name
16992 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
16994 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
16996 (DEFVAR_INT_MAGIC): Ditto.
16997 (DEFVAR_BOOL_MAGIC): Ditto.
16998 * glyphs.h: Reindent backslash.
17000 2000-01-24 Martin Buchholz <martin@xemacs.org>
17002 * glyphs-widget.c (layout_query_geometry):
17003 (layout_layout): Use correct types for gheight, gwidth.
17005 2000-01-24 Martin Buchholz <martin@xemacs.org>
17007 * EmacsManager.c (QueryGeometry): Purified.
17009 2000-01-23 Martin Buchholz <martin@xemacs.org>
17011 * alloc.c (make_float): Make sure entire object is initialized, to
17012 avoid Purify warnings.
17013 (pdump_register_sub): Remove useless assignment.
17014 (pdump): Use xmalloc, not malloc.
17015 (pdump_load): Use xmalloc, not malloc.
17017 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17024 * sysdep.c: Removed redundant #include <windows.h>
17026 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17028 * frame.c (delete_frame_internal): Do not delete device when its
17029 implementation so declares.
17030 (delete_frame_internal): Set device selected frame to nil when
17031 last frame goes away.
17033 * device-msw.c (msprinter_device_system_metrics): Implemented.
17034 (mswindows_device_system_metrics): Added 'device-dpi property.
17036 * device.c: (Fdevice_printer_p): Added.
17037 Added 'offset-workspace device metric.
17039 * console.h (device_metrics): Declared DM_offset_workspace.
17041 2000-01-23 Martin Buchholz <martin@xemacs.org>
17043 * fileio.c (Ffile_truename): Remove pointless and confusing
17044 initialization of elen.
17046 * glyphs-widget.c: Compiler warning fixes.
17048 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
17050 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
17051 instead of a Lisp_Object as argument to make it consistent with
17052 the other LIVE_P macros.
17053 (CHECK_LIVE_PROCESS): New macro.
17055 * process.c: Declare Qprocess_live_p.
17056 (Fprocess_live_p): New function.
17057 (create_process): Use PROCESS_LIVE_P.
17058 (read_process_output): Ditto.
17059 (set_process_filter): Ditto.
17060 (Fdelete_process): Ditto.
17061 (kill_buffer_processes): Ditto
17062 (process_send_signal): Use CHECK_LIVE_PROCESS.
17063 (Fprocess_input_coding_system): Check whether process is still
17064 alive (fix PR#1061).
17065 (Fprocess_output_coding_system): Ditto.
17066 (Fprocess_coding_system): Ditto.
17067 (Fset_process_input_coding_system): Ditto.
17068 (Fset_process_output_coding_system): Ditto.
17070 2000-01-23 Andy Piper <andy@xemacs.org>
17072 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
17075 * glyphs.c (mark_image_instance): take into account changed
17076 image_instance format.
17077 (image_instance_equal): ditto.
17078 (image_instance_hash): ditto.
17080 * glyphs-widget.c (widget_instantiate): Incorporate layout
17081 instantiation here. Delay layout of the layout until later.
17082 (layout_instantiate): deleted.
17083 (layout_query_geometry): new function. get the geometry of a
17085 (layout_layout): layout a layout dynamically.
17086 (image_instantiator_widget): New function - splitting up
17087 image_instantiator_format_create_glyphs_widget for netwinder
17089 (image_instantiator_buttons):
17090 (image_instantiator_edit_fields):
17091 (image_instantiator_combo_box):
17092 (image_instantiator_scrollbar):
17093 (image_instantiator_progress_guage):
17094 (image_instantiator_tree_view):
17095 (image_instantiator_tab_control):
17096 (image_instantiator_labels):
17097 (image_instantiator_layout): ditto.
17098 (image_instantiator_format_create_glyphs_widget): Call preceding
17101 2000-01-22 Martin Buchholz <martin@xemacs.org>
17103 * process.c (Fset_process_coding_system):
17104 * device-x.c (Fx_keysym_hash_table):
17107 * lstream.c (Lstream_write): Return documented value, not 0.
17109 * fileio.c (directory_file_name):
17110 (Fsubstitute_in_file_name):
17111 (Fsubstitute_insert_file_contents_internal):
17112 (Fwrite_region_internal):
17117 Remove vestigial APOLLO-conditional code.
17119 2000-01-21 Martin Buchholz <martin@xemacs.org>
17121 * getpagesize.h: Add guard macros.
17122 * libsst.h: Add guard macros.
17123 * libst.h: Add guard macros.
17124 * line-number.h: Add guard macros.
17125 * ndir.h: Add guard macros.
17126 * sysfloat.h: Add guard macros.
17127 * sysfile.h: Add guard macros.
17128 * sysproc.h: Add guard macros.
17129 * syswait.h: Add guard macros.
17130 * xintrinsic.h: Add guard macros.
17131 * xintrinsicp.h: Add guard macros.
17132 * xmmanager.h: Add guard macros.
17133 * xmmanagerp.h: Add guard macros.
17134 * xmprimitive.h: Add guard macros.
17135 * xmu.h: Add guard macros.
17136 * gpmevent.h: Add copyright statement. Add guard macros.
17137 * miscplay.h: Add guard macros.
17138 * *.h: Use consistent C-standards-approved guard macro names.
17140 * opaque.c (make_opaque): Switch parameter order.
17141 * opaque.h (make_opaque): Switch parameter order.
17142 Update all callers.
17143 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
17145 * config.h.in (type_checking_assert): Added.
17146 (bufpos_checking_assert): Added.
17148 2000-01-21 Martin Buchholz <martin@xemacs.org>
17150 * alloc.c: Harmless pdump changes.
17152 - spell alignment correctly.
17153 * sysdep.c: Use countof()
17155 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17157 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
17158 initially_selected_for_input() console method, default to 0.
17159 (semi_canonicalize_console_connection): Try to delegate to
17160 canonicalize_console_connection if no such console method.
17161 (canonicalize_console_connection): Vice versa.
17162 (print_console): Do not print nil connection.
17164 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
17165 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
17166 (XDEVIMPF_FRAMELESS_OK): Added.
17167 (CONSOLE_INHERITS_METHOD): Added.
17169 * console-msw.c (mswindows_canonicalize_console_connection):
17171 (mswindows_canonicalize_device_connection): Added.
17173 * console-msw.h (struct msprinter_device): Added this struct and
17175 (mswindows_device): Made fontlist a lisp object.
17177 * device.c (semi_canonicalize_device_connection): Try to delegate
17178 to canonicalize_device_connection if no such console method.
17179 (canonicalize_device_connection): Vice versa.
17180 (print_device): Do not print nil connection.
17182 * device-msw.c (mswindows_init_device): Call InitCommonControls
17184 (mswindows_delete_device): Removed fontlist deallocation.
17185 (mswindows_mark_device): Added.
17187 * events.c (event_equal): Added abort() at unreached code.
17188 (event_hash): Ditto.
17190 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
17191 fallback tags of Windows devices.
17193 * general.c (syms_of_general): Initialized Qmsprinter.
17195 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
17196 of fallback tags of Windows devices.
17198 * lisp.h: Declared Qmsprinter.
17200 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
17202 (mswindows_list_fonts): Ditto.
17203 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
17204 that it can be used by both mswindows and msprinter devices.
17205 (initialize_font_instance): Added.
17206 (mswindows_initialize_font_instance): Use it.
17207 (msprinter_initialize_font_instance): Added.
17209 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
17210 and implementation flags check.
17211 (redisplay_without_hooks): Changed the call to the above.
17212 (Fredraw_device): Ditto.
17213 (Fredisplay_device): Ditto.
17215 * redisplay-msw.c (get_frame_dc): Implemented.
17216 (get_frame_compdc): Implemented.
17217 (many functions): Use the two functions above to get device
17218 contexts, ether for a window or a printer.
17220 2000-01-21 Olivier Galibert <galibert@pobox.com>
17222 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
17223 initialization here.
17224 (init_symbols_once_early): Call it.
17225 * emacs.c (main_1): Call it.
17226 * symsinit.h: Declare it.
17228 2000-01-19 Olivier Galibert <galibert@pobox.com>
17230 * alloc.c: Use a lrecord_header * in the backtrace instead of a
17232 (pdump_backtrace): Ditto.
17233 (pdump_register_object): Ditto. Cleanup use of the pointers.
17234 (pdump_get_entry): Abort if trying to register a null pointer.
17235 (pdump_dump_data): Cleanup types when relocating.
17236 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
17237 (pdump_dump_rtables): Remove bad casts.
17238 (pdump_load): Cleanup relocation w.r.t union type. Use a
17239 Lisp_Object instead of a EMACS_INT for the hashtable
17242 2000-01-20 Martin Buchholz <martin@xemacs.org>
17244 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
17246 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
17248 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
17250 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
17252 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17254 * faces.h (FACE_STRIKETHRU_P): Added.
17256 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
17259 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
17260 (mswindows_set_dc_font): New function, aware of font variants,
17261 separated from mswindows_update_dc.
17263 * objects-msw.h (struct mswindows_font_instance_data): Added
17266 * objects-msw.c (mswindows_finalize_font_instance): Delete all
17267 cached fonts and the data structure.
17268 (mswindows_initialize_font_instance): Added creation of font data
17270 (mswindows_print_font_instance): Print at least something.
17271 (mswindows_create_font_variant): Implemented.
17272 (mswindows_get_hfont): Implemented.
17274 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
17276 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
17277 prototyping problem with msvc.
17279 * emacs.c (main_1): added syms_of_gui_mswindows() call
17281 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
17282 syms_of_gui_mswindows() function
17284 * symsinit.h: added the prototype for syms_of_gui_mswindows()
17286 2000-01-18 Martin Buchholz <martin@xemacs.org>
17288 * XEmacs 21.2.27 is released.
17290 2000-01-18 Martin Buchholz <martin@xemacs.org>
17292 * glyphs-eimage.c (struct tiff_error_struct):
17294 (tiff_warning_func):
17295 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
17300 * unexec.c: Remove vestigial Lucid C code.
17304 * libsst.c: Ansify.
17305 Remove declarations of errno and strerror().
17307 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
17309 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
17311 2000-01-16 Martin Buchholz <martin@xemacs.org>
17313 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
17316 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17321 Change enum eol_type to eol_type_t.
17323 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17325 * gui.c (get_gui_callback): Check cons before accessing car.
17327 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17329 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
17330 (XSETSPECIFIER_TYPE): Ditto.
17332 2000-01-17 Didier Verna <didier@xemacs.org>
17334 * redisplay.c (generate_fstring_runes): compute string size in
17335 characters, not bytes.
17337 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
17339 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
17341 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
17343 * print.c (print_error_message): Call print_prepare().
17345 2000-01-14 Martin Buchholz <martin@xemacs.org>
17347 * .dbxrc: Renamed from dbxrc.
17349 * events.c (event_to_character):
17350 Use `assert (foo)' instead of `if (!foo) abort()'
17352 * .gdbinit (xtype): Add documentation.
17353 * .gdbinit (check-temacs): New function.
17354 * .gdbinit (check-xemacs): New function.
17355 * dbxrc (check-xemacs): New function.
17356 * dbxrc (check-xemacs): New function.
17358 2000-01-14 Andy Piper <andy@xemacs.org>
17360 * glyphs-widget.c (widget_query_geometry): Make sure that we
17361 calculate default dimensions correctly.
17363 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17365 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
17367 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
17368 pdump_wire'd variable.
17370 * emacs.c: (main_1): Conditionalized calls to
17371 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
17373 2000-01-13 Martin Buchholz <martin@xemacs.org>
17375 * window.c (Fset_window_configuration):
17376 * sysdep.c (_start):
17377 * input-method-motif.c (res):
17378 * event-Xt.c (Xt_process_to_emacs_event):
17379 Simple compiler warning fixes.
17381 * bytecode.c (funcall_compiled_function): Use the original
17382 function symbol on the backtrace list in preference to the
17383 compiled_function object in error messages.
17385 2000-01-13 Andy Piper <andy@xemacs.org>
17387 * glyphs-x.c (update_widget_face): Make sure we update the widget
17388 background as well as foreground.
17390 2000-01-13 Andy Piper <andy@xemacs.org>
17392 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
17393 fields to subwindow.
17394 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
17395 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
17396 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
17397 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
17399 * glyphs-widget.c (check_valid_tab_orientation): new function.
17400 (initialize_widget_image_instance): zero orientation and
17402 (widget_instantiate): pick up orientation.
17403 (tab_control_query_geometry): return appropriate values for
17406 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
17407 appropriate creation flags for left, right and bottom tabs.
17409 * s/cygwin32.h: add tab definitions.
17411 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17413 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
17414 frame upon hiding a subwindow.
17415 (mswindows_button_instantiate): Changed the push button style to
17417 (mswindows_button_instantiate): Removed button BS_NOTIFY
17419 (mswindows_button_instantiate): Removed redundant check for
17420 a disabled gui item.
17421 (mswindows_button_instantiate): Made use of WS_TABSTOP
17422 consistent: "operable" controls (edit, button, tree, scroll) have
17423 this style, "display-only" ones (static, progress gauge) do
17424 not. This style is currently ignored by XEmacs though. Also,
17425 removed the WS_EX_CONTROLPARENT style - it is not for children,
17426 it is for their parents!
17427 (mswindows_edit_field_instantiate): Ditto.
17428 (mswindows_progress_gauge_instantiate): Ditto.
17429 (mswindows_tree_view_instantiate): Ditto.
17430 (mswindows_tab_control_instantiate): Ditto.
17431 (mswindows_scrollbar_instantiate): Ditto.
17432 (mswindows_combo_box_instantiate): Ditto.
17433 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
17434 style to the "clip" window.
17435 (mswindows_button_instantiate): Removed compilation warning by
17436 equally typing terms of the ?: operator.
17438 2000-01-12 Didier Verna <didier@xemacs.org>
17440 * redisplay.c (generate_fstring_runes): new parameter holding the
17441 last modeline-format extent.
17442 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
17443 extent, fill the glyph block with it.
17444 (generate_fstring_runes): handle these parameters.
17445 (generate_formatted_string_db): ditto.
17447 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
17448 glyphs'extents in the modeline.
17450 1999-01-11 Mike Woolley <mike@bulsara.com>
17452 * ntheap.c: Reduced the reserved heap space from 1Gb down to
17453 256Mb, as a workaround for the non-starting problem many people
17456 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17458 * console-tty.c (Fset_console_tty_output_coding_system):
17459 Force redrawing tty frame.
17461 2000-01-10 Didier Verna <didier@xemacs.org>
17463 * redisplay.c (generate_fstring_runes): fix size computation bug.
17465 2000-01-09 William M. Perry <wmperry@aventail.com>
17467 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
17469 2000-01-09 Andy Piper <andy@xemacs.org>
17471 * glyphs-msw.c: index -> i to avoid shadows.
17472 (xbm_create_bitmap_from_data): make static.
17473 (check_valid_string_or_int): deleted.
17474 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
17476 * glyphs-x.c (x_update_subwindow): remove unused args.
17478 * glyphs.c (glyph_image_instance): return the thing. Don't set the
17479 back pointer - this is done in allocate_image_instance.
17480 (query_string_font): return Qnil to make the compiler happy.
17481 (unmap_subwindow): set to ~0 to make the compiler happy.
17482 (glyph_query_geometry): comment out until used.
17483 (glyph_layout): ditto.
17485 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
17487 * insdel.c (signal_after_change): Remove extraneous unbind_to().