1 2005-08-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * chartab.c (put_char_composition): Return
4 `<-formed@{isolated|initial|medial|final}' for compatibility
5 mapping to single character tagged
6 `{isolated|initial|medial|final}'.
8 2005-08-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
10 * chartab.c (Q_compat_of): Deleted.
11 (put_char_composition): Return `<-FOO' for compatibility mapping
12 to single character tagged `FOO'; use `Fsymbol_name (...)' instead
13 of `symbol_name (XSYMBOL(...))'.
14 (Fput_char_attribute): Convert char-specs in value of
15 `{<-|->}font[^*]*' to characters and put reverse links.
16 (Fsave_char_attribute_table): Don't refer Q_compat_of.
17 (syms_of_chartab): Delete builtin symbol `<-compat'.
19 2005-08-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
21 * chartab.c (Q_circled_of): New variable.
22 (put_char_composition): Return `<-circled' instead of
23 `=decomposition' for compatibility mapping to single character
25 (Fput_char_attribute): Convert char-specs in value of
26 `{<-|->}circled[^*]*' to characters and put reverse links.
27 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
29 (syms_of_chartab): Add new symbol `<-circled'.
31 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
33 * chartab.c (Qto_decomposition_at_circled): New variable.
34 (put_char_composition): Return `=>decomposition@circled' instead
35 of `=decomposition' for compatibility decomposition mapping tagged
37 (syms_of_chartab): Add new symbol `=>decomposition@circled'.
39 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
41 * chartab.c (Q_subscript_of): New variable.
42 (put_char_composition): Return `<-subscript' instead of
43 `=decomposition' for compatibility mapping to single character
45 (Fput_char_attribute): Convert char-specs in value of
46 `{<-|->}subscript[^*]*' to characters and put reverse links.
47 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
49 (syms_of_chartab): Add new symbol `<-subscript'.
51 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
53 * chartab.c (Q_superscript_of): New variable.
54 (put_char_composition): Return `<-superscript' instead of
55 `=decomposition' for compatibility mapping to single character
57 (Fput_char_attribute): Convert char-specs in value of
58 `{<-|->}superscript[^*]*' to characters and put reverse links.
59 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
61 (syms_of_chartab): Add new symbol `<-superscript'.
63 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
65 * chartab.c (Qto_decomposition_at_compat): Deleted.
66 (Qto_decomposition_at_superscript): New variable.
67 (put_char_composition): Use `=>decomposition@superscript' instead
68 of `=decomposition' for compatibility decomposition mapping tagged
70 (Fput_char_attribute): Fix condition about `put_char_composition'.
71 (syms_of_chartab): Delete builtin symbol `=>decomposition@compat';
72 add news symbol `=>decomposition@superscript'.
74 2005-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
76 * chartab.c (put_char_composition): Return `=>decomposition@FOO'
77 for compatibility decomposition mapping tagged FOO.
78 (Fput_char_attribute): Modify for `put_char_composition'.
80 2005-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
82 * chartab.c (Qto_decomposition_at_compat): New variable.
83 (Q_compat_of): Renamed from `Q_compatibility_of'.
84 (put_char_composition): Rename `Q_compatibility_of' to
85 `Q_compat_of'; return `=>decomposition@compat' for compatibility
86 decomposition mapping.
87 (Fsave_char_attribute_table): Rename `Q_compatibility_of' to
89 (syms_of_chartab): Add new symbol `=>decomposition@compat'; rename
90 `<-compatibility' to `<-compat'.
92 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
94 * chartab.c (Q_compatibility_of): New variable.
95 (put_char_composition): Use XCAR/XCDR instead of Fcar/Fcdr if an
96 object is proved to be a cons cell; return `<-compatibility' if
97 the first element of argument `value' is `compat'.
98 (Fput_char_attribute): Eliminate the first value if
99 `put_char_composition' returns `<-compatibility'.
100 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
101 for `<-compatibility'.
102 (syms_of_chartab): Add new symbol `<-compatibility'.
104 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
106 * chartab.c (Q_canonical): New variable.
107 (put_char_composition): Return a feature name: return
108 `->canonical' if argument `value' specifies single character.
109 (Fput_char_attribute): Use `put_char_composition' to determine
110 feature name for `=decomposition' or `->denotational'.
111 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
113 (syms_of_chartab): Add new symbol `->canonical'.
115 2005-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
117 * chartab.c (Qmap_decomposition): New variable.
118 (Fput_char_attribute): Convert `->decomposition' to
120 (syms_of_chartab): Add new symbol `=decomposition'.
122 2005-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
124 * chartab.c (Fget_range_char_table): Fix serious problem when
127 2005-06-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
129 * chartab.c (char_table_get_db): Use `read_from_c_string'.
131 2005-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
133 * lread.c (read_from_c_string): New function.
135 * lisp.h (read_from_c_string): New prototype.
137 2005-05-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
139 * chartab.c (Fput_char_attribute): Convert char-specs in value of
140 `{<-|->}Oracle-Bones[^*]*' to characters and put reverse links.
141 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
142 for `{<-|->}Oracle-Bones[^*]*'.
144 2005-05-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
146 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.22
149 2005-02-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
151 * text-coding.c (Qccs_priority_list): New variable in XEmacs
153 (Fmake_coding_system): Support new property `ccs-priority-list' in
155 (Fcoding_system_property): Likewise.
156 (char_encode_iso2022): Prefer CODING_SYSTEM_CCS_PRIORITY_LIST than
157 Vdefault_coded_charset_priority_list in XEmacs CHISE.
158 (syms_of_file_coding): Add builtin symbol `ccs-priority-list' in
160 (complex_vars_of_file_coding): Define new coding-system-property
161 `ccs-priority-list' in XEmacs CHISE.
163 * file-coding.h (XCODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
165 2004-12-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
167 * char-ucs.h (decoding_table_put_char): Moved to mule-charset.c;
168 changed to normal function.
169 (encode_char_2): Likewise.
171 * mule-charset.c (decoding_table_put_char): Copied from
172 char-ucs.h; changed to normal function.
173 (encode_char_2): Likewise.
175 2004-12-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
177 * char-ucs.h (Vdisplay_coded_charset_priority_use_inheritance):
179 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
180 (encode_char_2_search_children): New inline function.
181 (encode_char_2): Refer
182 `Vdisplay_coded_charset_priority_use_{inheritance|hierarchy_order}'
183 and use `encode_char_2_search_children'.
185 2004-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
188 (Vdisplay_coded_charset_priority_use_inheritance): New variable.
189 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
190 (vars_of_mule_charset): Add new variable
191 `display-coded-charset-priority-use-inheritance' and
192 `display-coded-charset-priority-use-hierarchy-order'.
194 2004-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
196 * char-ucs.h (Q_subsumptive): New extern.
197 (Q_denotational): Likewise.
198 (encode_char_2): Search children specified by `->subsumptive' and
201 2004-11-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
203 * mule-charset.c (complex_vars_of_mule_charset): Modify the
204 X-registry of `ucs-bmp'.
206 2004-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
208 * chartab.c (char-variants): Refer `->subsumptive',
209 `->denotational' and `->identical' as same as `->ucs-unified'.
211 2004-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
213 * chartab.c (Fput_char_attribute): Convert char-specs in value of
214 `{<-|->}{fullwidth|halfwidth}[^*]*' to characters and put reverse
217 2004-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
219 * text-coding.c: Add EXFUN for `Fregexp_quote'.
220 (decode_add_er_char): Fix problem about infinite loop when a CCS
221 specified in `coded-charset-entity-reference-alist' is not
224 2004-09-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
226 * mule-charset.c (syms_of_mule_charset): Rename
227 `=jis-x0208-{1978|1983|1990}' to `=jis-x0208@{1978|1983|1990}'.
229 2004-08-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
231 * fns.c (simplify_char_spec): Don't allocate new character-object
232 if specified char_spec does not have any CCS-features.
234 * chartab.h: Add EXFUN for Fdefine_char.
236 * chartab.c: Delete EXFUN for Fdefine_char.
238 2004-08-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
240 * fns.c (simplify_char_spec): Use Fdefine_char instead of
241 Ffind_char for char-spec.
243 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
245 * lisp-disunion.h (XCHARVAL): Fix condition about
248 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
250 * mule-charset.c (decode_builtin_char): Use <EMACS_INT> instead of
252 (Fdecode_builtin_char): Use <EMACS_INT> instead of <int> for code
253 point; use <Emchar> instead of <int> for character-id.
255 2004-07-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
257 * lisp-disunion.h (make_int): Cast the argument into <EMACS_INT>.
258 (make_char): Likewise.
259 (XCHARVAL): Don't use the inline function for UTF-2000 in 64 bit
261 (XCHARVAL[for UTF-2000 in 32 bit environment]): Use <Emchar>
262 instead of <int> as the type of return value; use <Lisp_Object>
263 instead of <Emchar> as the type of argument.
264 (XCHARVAL[macro version]): Cast the result into <Emchar>.
266 * syntax.h (SYNTAX_CODE_UNSAFE): Use <Lisp_Object> and <enum
267 syntaxcode> instead of <int>.
269 2004-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
271 * chartab.c (put_char_composition): Use DECODE_CHAR to get
272 character corresponding with UCS code point.
273 (Fput_char_attribute): Likewise.
275 * mule-charset.c (put_char_ccs_code_point): Don't omit a UCS
276 character in the UCS decoding-table if the char-id is not equal to
279 2004-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
281 * mule-charset.c (Fsave_charset_properties): Use `true-name' only
282 for aliases; write `description'; write
283 `mother-code-{min|max|offset|conversion}' if CHARSET_MAX_CODE is
286 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
288 * chartab.c (Fsave_char_attribute_table): Don't use
289 `save_charset_properties'.
291 * mule-charset.c (Fsave_charset_properties): Renamed from
292 `save_charset_properties' and changed to Lisp function again;
293 write property `type' as `CCS'; write properties `final-byte' and
294 `mother' if they exists.
295 (syms_of_mule_charset): Revive builtin function
296 `save-charset-properties' when HAVE_LIBCHISE is defined.
298 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
300 * chartab.c (open_chise_data_source_maybe): Use Vdata_directory
301 instead of Vexec_directory.
302 (char_attribute_system_db_file): Likewise.
304 2004-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
306 * chartab.c (Fsave_char_attribute_table): Use
307 `save_charset_properties' for CCS features when HAVE_LIBCHISE is
310 * mule-charset.c (save_charset_properties): Renamed from
311 `Fsave_charset_properties'; changed to non-Lisp function.
312 (syms_of_mule_charset): Abolish builtin function
313 `save-charset-properties'.
315 2004-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
317 * mule-charset.c (Fsave_charset_properties): New function when
318 HAVE_LIBCHISE is defined.
319 (syms_of_mule_charset): Add new builtin function
320 `save-charset-properties' when HAVE_LIBCHISE is defined.
322 2004-06-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
324 * chartab.c (Fput_char_attribute): Convert char-specs in value of
325 `{<-|->}ancient[^*]*' to characters and put reverse links.
326 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
327 for `{<-|->}ancient[^*]*'.
329 2004-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
331 * chartab.c (Fput_char_attribute): Convert char-specs in value of
332 `{<-|->}original[^*]*' to characters and put reverse links.
333 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
334 for `{<-|->}original[^*]*'.
336 2004-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
338 * mule-canna.c (m2c): Fix problem with XEmacs CHISE.
340 2004-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
342 * mule-charset.c (Qsystem_char_id): New variable.
344 * chartab.c (Qsystem_char_id): Deleted even if HAVE_CHISE is
345 defined and HAVE_LIBCHISE_LIBCHISE is not defined.
347 2004-05-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
349 * chartab.c (Fput_char_attribute): When processing a reference of
350 a character, put into the end of the reversed reference of each
353 2004-05-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
355 * chartab.c (Q_same): Deleted.
356 (Q_same_of): Deleted.
357 (Fput_char_attribute): Use Fstring_match to find `{<-|->}same'.
358 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
360 (syms_of_chartab): Delete builtin symbol `{<-|->}same'.
362 2004-05-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
364 * chartab.c (Q_vulgar): Deleted.
365 (Q_vulgar_of): Deleted.
366 (Fput_char_attribute): Use Fstring_match to find `{<-|->}vulgar'.
367 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
369 (syms_of_chartab): Don't define `{<-|->}vulgar'.
371 2004-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
373 * chartab.c (Fput_char_attribute): Convert char-specs in value of
374 `{<-|->}wrong[^*]*' to characters and put reverse links.
375 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
376 for `{<-|->}wrong[^*]*'.
378 2004-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
380 * chartab.c (Q_vulgar): New variable.
381 (Q_vulgar_of): New variable.
382 (Fput_char_attribute): Convert char-specs in value of
383 `{->|<-}vulgar' to characters and put reverse links.
384 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
386 (syms_of_chartab): Add new symbols `{->|<-}vulgar'.
388 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
390 * text-coding.c (decode_add_er_char): Must to quote prefix string
393 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
395 * mule-charset.c (put_char_ccs_code_point): Store characters of
396 =ucs whose code_points >= 0xF0000.
398 2004-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
400 * mule-charset.c (Vcharset_system_char_id): New variable in XEmacs
402 (syms_of_mule_charset): Add new symbol `system-char-id' in XEmacs
404 (complex_vars_of_mule_charset): Add new coded-charset
405 `system-char-id' in XEmacs CHISE; modify `=ucs' to eliminate
406 builtin characters over 0xEFFFF.
408 * chartab.c (syms_of_chartab): Don't define symbol
409 `system-char-id' in every case.
411 * char-ucs.h (Qsystem_char_id): New extern variable.
412 (LEADING_BYTE_SYSTEM_CHAR_ID): New macro.
414 2004-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
416 * text-coding.c (char_encode_utf8): Try to use entity-references
417 for U-000F0000 ... U-0010FFFF.
419 2004-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
421 * text-coding.c (ER_BUF_SIZE): New macro.
422 (struct decoding_stream): Use `ER_BUF_SIZE' to specify size of
424 (decode_add_er_char): Use `ER_BUF_SIZE' instead of 16.
425 (char_encode_as_entity_reference): Use `ER_BUF_SIZE'.
427 2004-03-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
429 * chartab.c (find_char_feature_in_family): New function.
430 (Fchar_feature): Use `find_char_feature_in_family' with
431 `->identical', `<-subsumptive' and `<-denotational'.
433 2004-03-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
435 * text-coding.c (char_encode_as_entity_reference): Allow prefix
436 within 8 characters; fix infinite loop.
438 2004-03-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
440 * chartab.c (Q_same): New variable.
441 (Q_same_of): New variable.
442 (Fput_char_attribute): Convert char-specs in value of
443 `{->|<-}same' to characters and put reverse links.
444 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
446 (syms_of_chartab): Add new symbols `{->|<-}same'.
448 2004-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
450 * chartab.c (Q_component): New variable.
451 (Q_component_of): Likewise.
452 (Fput_char_attribute): Convert char-specs in value of
453 `{->|<-}ideographic-component-forms' to characters and put reverse
455 (syms_of_chartab): Add new symbols
456 `{->|<-}ideographic-component-forms'.
458 2004-02-24 MORIOKA Tomohiko <tomo@m17n.org>
460 * chartab.c (Q_identical): New variable.
461 (Q_identical_from): New variable.
462 (Fchar_feature): Regard `->identical' as a feature to find
464 (Fput_char_attribute): Add reversed link for `{->|<-}identical'.
465 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
466 for `{->|<-}identical'.
467 (syms_of_chartab): Add new symbols `{->|<-}identical'.
469 2004-02-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
471 * char-ucs.h (encode_char_2): New inline function.
472 (CHAR_TO_CHARC): Use `encode_char_2' instead of `encode_char_1'.
474 2004-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
476 * chartab.c (Fput_char_attribute): Convert char-specs to
477 characters in value of `ideographic-structure'.
478 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
479 for `{<-|->}simplified(@...)'.
480 (Fdefine_char): Try to use predefined character's id.
482 2004-02-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
484 * fns.c (simplify_char_spec): Try to convert builtin chars to
487 2004-02-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
489 * chartab.c (Fput_char_attribute): Convert char-specs in value of
490 `<-simplified[^*]*' to characters and put reverse links.
492 2004-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
494 * chartab.c (Q_subsumptive): Renamed from Q_unified.
495 (Q_subsumptive_from): Renamed from Q_unified_from.
496 (Fchar_feature): Use `Q_subsumptive_from' instead of
498 (Fput_char_attribute): Likewise; Use `Q_subsumptive' instead of
500 (syms_of_chartab): Rename `->unified' to `->subsumptive' and
501 `<-unified' to `<-subsumptive'.
503 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
505 * chartab.c (Fchar_feature): Check `<-denotational' to avoid
506 inheritance itself; fix typo; stop recursive search if cyclic
507 inheritance is found.
509 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
511 * chartab.c (Q_denotational): New variable.
512 (Q_denotational_from): New variable.
513 (Fchar_feature): Refer `<-denotational' as same as `<-unified'.
514 (put_char_attribute): New function.
515 (Fput_char_attribute): Use `put_char_attribute'; regard
516 `->denotational' and `<-denotational' as same as `->unified' and
518 (syms_of_chartab): Add new symbols `->denotational' and
521 2004-02-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
523 * chartab.c (Fget_composite_char): Use `Fchar_feature' instead of
524 `Fget_char_attribute'.
525 (Fchar_variants): Likewise.
526 (get_char_table): Likewise.
527 (Fchar_feature): New function.
528 (put_char_composition): Use `Fchar_feature' instead of
529 `Fget_char_attribute'.
530 (Fput_char_attribute): Likewise; don't put the target character
531 into its `->unified' value.
532 (syms_of_chartab): Add new builtin function `char-feature'.
534 2004-01-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
536 * text-coding.c (COMPOSE_ADD_CHAR): Use `Fchar_feature' instead of
537 `Fget_char_attribute'.
538 (char_encode_utf8): Likewise.
540 * chartab.h: Add an EXFUN for `Fchar_feature'.
542 2004-01-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
544 * chartab.c (Vnext_defined_char_id): New variable.
545 (Fput_char_attribute): Accept characters in `->unified'.
546 (Fdefine_char): Refer and update Vnext_defined_char_id to allocate
547 new characters which are not related with builtin char-id ranges.
548 (vars_of_chartab): Add new variable `next-defined-char-id'.
550 2004-01-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
552 * chartab.c (Q_unified): New variable.
553 (Q_unified_from): New variable.
554 (Fput_char_attribute): Add code for `->unified'.
555 (syms_of_chartab): Add new symbols `->unified' and `<-unified' in
558 2003-11-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
560 * mule-charset.c (decode_ccs_conversion): New function.
561 (decode_defined_char): Use `decode_ccs_conversion'.
562 (decode_builtin_char): Likewise.
564 2003-11-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
566 * char-ucs.h: Change some charset-ids of private coded-charsets.
568 2003-11-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
570 * text-coding.c (decode_add_er_char): Modify for `DECODE_CHAR'.
571 (char_encode_as_entity_reference): Likewise.
572 (decode_coding_big5): Modify for `decode_defined_char' and
574 (decode_coding_utf8): Modify for `decode_defined_char'; modify to
575 avoid compiler warning.
576 (decode_coding_iso2022): Modify for `DECODE_CHAR'.
578 * mule-charset.c (decode_defined_char): Add new argument
579 `without_inheritance'.
580 (Fdecode_char): Add new optional argument `without_inheritance'.
581 (Fdecode_builtin_char): Modify for `Fdecode_char'.
583 * fns.c (ids_format_unit): Modify for `Fdecode_char'.
584 (simplify_char_spec): Likewise.
586 * chartab.h (Fdecode_char): Modify number of arguments of EXFUN
589 * chartab.c (put_char_table): Modify for `DECODE_CHAR'.
590 (map_char_table): Likewise.
591 (Fdefine_char): Use `Fdecode_char' without inheritance.
592 (Ffind_char): Modify for `Fdecode_char'.
594 * character.h (CHARC_TO_CHAR): Modify for `DECODE_CHAR'.
596 * char-ucs.h (decode_defined_char): Add new argument
597 `without_inheritance'.
598 (DECODE_CHAR): Likewise.
599 (MAKE_CHAR): Modify for `DECODE_CHAR'.
601 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
603 * chartab.c (Vchise_system_db_directory): New variable.
604 (vars_of_chartab): Add new variable `chise-system-db-directory'.
606 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
608 * chartab.c: EXFUN `Fmount_char_attribute_table'.
609 (print_chartab_range): Don't define when `UTF2000' is defined.
610 (open_chise_data_source_maybe): Specify 0 instead of DB_HASH for
613 2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
615 * chartab.c (Fchar_attribute_list): When HAVE_LIBCHISE is defined
616 and optional argument `rehash' is specified, call
617 `open_chise_data_source_maybe' before
618 `chise_ds_foreach_char_feature_name' is called.
620 2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
622 * chartab.c (char_attribute_list_reset_map_func): New function
623 when HAVE_LIBCHISE is defined.
624 (Fchar_attribute_list): Add new optional argument `rehash' when
625 HAVE_LIBCHISE is defined.
626 (open_chise_data_source_maybe): Use "chise-db" instead of
628 (char_attribute_system_db_file): Likewise.
629 (Fload_char_attribute_table): Use
630 `chise_feature_foreach_char_with_value' instead of
631 `chise_char_feature_value_iterate'.
633 2003-10-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
635 * chartab.c (Vchise_db_directory): New variable.
636 (vars_of_chartab): Add new built-in variable `chise-db-directory'.
638 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
640 * mule-charset.c (Freset_charset_mapping_table): Use HAVE_LIBCHISE
641 instead of HAVE_CHISE to specify using with libchise.
643 * config.h.in (HAVE_CHISE_CLIENT): Deleted.
645 * chartab.h: Don't use HAVE_CHISE_CLIENT.
647 * chartab.c (Qsystem_char_id): Don't define when HAVE_CHISE is not
648 defined or HAVE_LIBCHISE_LIBCHISE is defined.
649 (char_attribute_system_db_file): Don't define when HAVE_LIBCHISE
651 (Freset_char_attribute_table): Use HAVE_LIBCHISE instead of
652 HAVE_CHISE to specify using with libchise.
653 (syms_of_chartab): Don't define symbol `system-char-id' when
654 HAVE_CHISE is not defined or HAVE_LIBCHISE_LIBCHISE is defined.
656 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
658 * mule-charset.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
659 specify CHISE DB support.
660 (Freset_charset_mapping_table): Use `chise_ccs_setup_db' instead
661 of `char_attribute_system_db_file' to check feature DB file.
663 * chartab.h, casetab.c, char-ucs.h: Use HAVE_CHISE instead of
664 HAVE_CHISE_CLIENT to specify CHISE DB support.
666 * chartab.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
667 specify CHISE DB support.
668 (open_chise_data_source_maybe): Don't define when HAVE_LIBCHISE is
670 (Freset_char_attribute_table): Use `chise_feature_setup_db'
671 instead of `char_attribute_system_db_file' to check feature DB
674 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
676 * mule.c (vars_of_mule): Use `HAVE_CHISE' instead of `CHISE' and
679 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
681 * mule-charset.c: Use HAVE_LIBCHISE instead of CHISE.
682 (Fsave_charset_mapping_table): Don't use
683 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
685 * config.h.in (HAVE_CHISE): Renamed from `CHISE'.
686 (HAVE_LIBCHISE): New macro.
688 * chartab.h: Use HAVE_LIBCHISE instead of CHISE.
690 * chartab.c: Use HAVE_LIBCHISE instead of CHISE.
691 (Fsave_char_attribute_table): Don't use
692 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
694 2003-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
696 * chartab.c (save_uint8_byte_table): Use libchise when CHISE is
698 (save_uint16_byte_table): Likewise.
699 (save_byte_table): Likewise.
700 (char_table_get_db): Use `chise_ds_load_char_feature_value'
701 instead of `chise_char_load_feature_value'.
702 (Fsave_char_attribute_table): Use libchise when CHISE is defined.
704 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
706 * chartab.h (struct Lisp_Char_Table): Delete member
707 `feature_table' if CHISE is defined.
709 * chartab.c (Fmake_char_table): Don't refer `ct->feature_table'.
710 (Fcopy_char_table): Likewise.
711 (char_table_open_db_maybe): Likewise.
712 (char_table_close_db_maybe): Likewise.
713 (char_table_get_db): Likewise.
714 (Fmount_char_attribute_table): Likewise.
715 (Fload_char_attribute_table): Likewise.
717 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
719 * mule-charset.c (load_char_decoding_entry_maybe): Use
720 `chise_ds_decode_char' instead of `chise_ds_get_ccs' and
723 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
725 * chartab.c (open_chise_data_source_maybe): Use `CHISE_DS_open'
726 instead of `chise_open_data_source'.
727 (Fclose_char_data_source): Use `CHISE_DS_close' instead of
730 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
732 * chartab.c (char_table_open_db_maybe): Use `chise_ds_get_feature'
733 instead of `chise_ds_open_feature_table'.
734 (char_table_close_db_maybe): Don't use `chise_ft_close'.
736 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
738 * mule-charset.c (Fsave_charset_mapping_table): Use
739 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
740 `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
741 `chise_ccs_sync' instead of `chise_ccst_close'.
742 (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
744 * chartab.c (open_chise_data_source_maybe): Modify for
745 `chise_open_data_source'.
746 (char_table_open_db_maybe): Modify for
747 `chise_ds_open_feature_table'.
749 2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
751 * mule-charset.c (load_char_decoding_entry_maybe): Use
752 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
755 2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
757 * mule-charset.c (Fsave_charset_mapping_table): Use
758 `chise_ds_open_ccs_table', `chise_ccst_put_char' and
759 `chise_ccst_close' instead of `chise_ds_open_decoding_table',
760 `chise_dt_put_char' and `chise_dt_close'.
761 (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
762 `chise_ccs_decode' and `chise_ccst_close' instead of
763 `chise_ds_open_decoding_table', `chise_dt_get_char' and
766 * chartab.c (char_table_get_db): Use
767 `chise_char_load_feature_value' instead of `chise_ft_get_value'.
768 (load_char_attribute_table_map_func): Modify for
769 `chise_char_feature_value_iterate'.
770 (Fload_char_attribute_table): Use
771 `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
773 2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
775 * text-coding.c (COMPOSE_ADD_CHAR): Fixed.
777 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
779 * chartab.c (put_char_table): Modify for inherited coded-charsets
782 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
784 * chartab.c (Fput_char_table_map_function): Fixed.
785 (word_boundary_p): Don't check charset in XEmacs CHISE.
787 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
789 * mule-charset.c (Fsave_charset_mapping_table): Use
790 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
791 instead of `chise_open_decoding_table'; refer
792 `default_chise_data_source'; use `chise_dt_close' instead of
793 `chise_close_decoding_table'.
794 (load_char_decoding_entry_maybe): Likewise.
796 * chartab.c (default_chise_data_source): New variable when `CHISE'
798 (Fcopy_char_table): `ct->ds' is deleted.
799 (open_chise_data_source_maybe): New function.
800 (Fclose_char_data_source): New function.
801 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
802 use `chise_ds_open_feature_table' instead of
803 `chise_open_feature_table'.
804 (char_table_close_db_maybe): Use `chise_ft_close' instead of
805 `chise_close_feature_table'; `cit->ds' is deleted.
806 (syms_of_chartab): Add new builtin function
807 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
809 * chartab.h (default_chise_data_source): New extern variable.
810 (open_chise_data_source_maybe): New prototype.
811 (struct Lisp_Char_Table): Delete `ds'.
813 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
815 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
818 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
820 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
821 not defined; add code for non-libchise setting.
822 (char_table_close_db_maybe): Likewise.
823 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
825 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
826 even if `CHISE' is not defined.
827 (Freset_char_attribute_table): Likewise.
828 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
829 `char_table_close_db_maybe' even if `CHISE' is not defined; use
831 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
832 `char_table_close_db_maybe' even if `CHISE' is not defined.
834 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
836 * chartab.c (char_table_open_db_maybe): New function.
837 (char_table_close_db_maybe): New function.
838 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
839 (Freset_char_attribute_table): Likewise.
840 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
841 `char_table_close_db_maybe'.
842 (Fload_char_attribute_table): Likewise.
844 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
846 * chartab.c: Don't include <chise.h> because it is included in
848 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
850 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
852 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
854 (Fclose_char_attribute_table): Close `ct->feature_table' and
855 `ct->ds' when `CHISE' is defined.
856 (Freset_char_attribute_table): Likewise.
857 (load_char_attribute_maybe): Use `cit->ds' and
858 `cit->feature_table' when `CHISE' is defined.
859 (Fload_char_attribute_table): Likewise.
861 * chartab.h: Include <chise.h> when `CHISE' is defined.
862 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
863 when `CHISE' is defined.
865 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
867 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
869 (char_table_description): Likewise.
870 (Fmake_char_table): Likewise.
871 (Fcopy_char_table): Likewise.
872 (Fmount_char_attribute_table): Likewise.
873 (Fclose_char_attribute_table): Likewise.
874 (Freset_char_attribute_table): Likewise.
875 (load_char_attribute_maybe): Likewise.
876 (Fload_char_attribute_table): Likewise.
878 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
881 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
883 * chartab.c (load_char_attribute_table_map_func): New function
884 when CHISE is defined.
885 (Qload_char_attribute_table_map_function): Don't define when CHISE
887 (Fload_char_attribute_table_map_function): Likewise.
888 (Fload_char_attribute_table): Use libchise when `CHISE' is
890 (syms_of_chartab): Don't define
891 `load-char-attribute-table-map-function' when CHISE is defined.
893 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
895 * chartab.c: Include <chise.h> when `CHISE' is defined.
896 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
898 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
900 * mule-charset.c (charset_code_point): Fix problem when searching
901 in mother CCS fails with `defined_only' mode.
903 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
905 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
906 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
907 (put_char_composition): Likewise.
908 (Fput_char_attribute): Likewise.
909 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
911 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
913 * chartab.c (Q_ucs): Deleted.
914 (Fput_char_attribute): Don't refer `->ucs'.
915 (Fdefine_char): Likewise.
916 (Ffind_char): Likewise.
917 (syms_of_chartab): Delete `->ucs'.
919 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
921 * mule-charset.c (Qmap_cns11643_2): Renamed from
922 `Qchinese_cns11643_2'.
923 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
924 `chinese-cns11643-2'.
925 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
928 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
930 * mule-charset.c (Qmap_cns11643_1): Renamed from
931 `Qchinese_cns11643_1'.
932 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
933 `chinese-cns11643-1'.
934 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
937 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
939 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
940 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
942 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
945 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
947 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
948 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
950 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
953 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
955 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
956 (syms_of_mule_charset): Add new symbol `=big5' instead of
958 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
960 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
962 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
963 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
965 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
968 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
970 * mule-charset.c (Qmap_jis_x0212): Renamed from
971 `Qjapanese_jisx0212'.
972 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
974 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
977 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
979 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
980 `Qjapanese_jisx0208'.
981 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
982 of `japanese-jisx0208'.
983 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
986 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
988 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
989 `Qjapanese_jisx0208_1978'.
990 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
991 of `japanese-jisx0208-1978'.
992 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
995 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
997 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
998 only for XEmacs CHISE.
1000 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1002 * char-ucs.h: Compact non-ISO-IR charset-ids.
1003 (LEADING_BYTE_UCS): Changed to -177.
1004 (LEADING_BYTE_CONTROL_1): Changed to -77.
1005 (LEADING_BYTE_UCS_BMP): Changed to -176.
1006 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
1008 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1010 * mule-charset.c (Qiso_ir): New variable.
1011 (Fmake_charset): Recognise new property `iso-ir'.
1012 (syms_of_mule_charset): Add new symbol `iso-ir'.
1014 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1016 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
1017 n to -n; charset-id of non ISO-IR sets are changed to positive
1020 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1022 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
1023 for &MCS-XXXXXXXX; values.
1025 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1027 * mule.c (Vxemacs_chise_version): Renamed from
1028 `Vutf_2000_version'.
1029 (vars_of_mule): Add new variable `xemacs-chise-version'; define
1030 `utf-2000-version' as an alias for `xemacs-chise-version'.
1032 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1034 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
1035 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
1038 * config.h.in (CHISE): New macro.
1040 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1042 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
1044 (Qmap_ucs): New variable.
1045 (syms_of_mule_charset): Add new symbol `=ucs'.
1046 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
1048 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
1049 (simplify_char_spec): Likewise.
1051 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
1053 * char-ucs.h (Qmap_ucs): New extern variable.
1055 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1057 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
1058 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
1059 don't define it when UTF2000 is not defined.
1060 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
1061 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
1062 when UTF2000 is not defined.
1063 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
1064 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
1066 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1068 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
1070 * mule-charset.c (Vcharset_ucs_gb): Deleted.
1072 (syms_of_mule_charset): Delete `ucs-gb'.
1073 (complex_vars_of_mule_charset): Likewise.
1075 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1077 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
1079 * mule-charset.c (Vcharset_ucs_cns): Deleted.
1080 (Qucs_cns): Deleted.
1081 (syms_of_mule_charset): Delete `ucs-cns'.
1082 (complex_vars_of_mule_charset): Likewise.
1084 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1086 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
1088 * mule-charset.c (Vcharset_ucs_jis): Deleted.
1089 (Qucs_jis): Deleted.
1090 (syms_of_mule_charset): Delete `ucs-jis'.
1091 (complex_vars_of_mule_charset): Likewise.
1093 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1095 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
1097 * mule-charset.c (Vcharset_ucs_ks): Deleted.
1099 (syms_of_mule_charset): Delete `ucs-ks'.
1100 (complex_vars_of_mule_charset): Likewise.
1102 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1104 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
1105 (Qideograph_daikanwa_2): Deleted.
1106 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
1107 (complex_vars_of_mule_charset): Likewise.
1109 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
1110 (LEADING_BYTE_DAIKANWA_1): Deleted.
1111 (LEADING_BYTE_DAIKANWA_2): Deleted.
1112 (MIN_CHAR_DAIKANWA): Deleted.
1113 (MAX_CHAR_DAIKANWA): Deleted.
1115 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1117 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
1118 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
1119 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
1121 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
1122 (Vcharset_ideograph_daikanwa): Deleted.
1123 (Qideograph_hanziku_{1..12}): Deleted.
1124 (Qideograph_daikanwa): Deleted.
1125 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
1126 Vcharset_ideograph_daikanwa.
1127 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
1128 `ideograph-hanziku-{1..12}'.
1129 (complex_vars_of_mule_charset): Likewise.
1131 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1133 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
1135 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
1136 (Qideograph_gt_pj_{1..11}): Deleted.
1137 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
1138 (complex_vars_of_mule_charset): Likewise.
1140 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1142 * mule-charset.c (Vcharset_ucs_big5): Deleted.
1143 (Vcharset_ideograph_gt): Deleted.
1144 (Qucs_big5): Deleted.
1145 (Qideograph_gt): Deleted.
1146 (syms_of_mule_charset): Delete symbol `ucs-big5' and
1148 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
1151 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
1152 (LEADING_BYTE_GT): Deleted.
1153 (MIN_CHAR_GT): Deleted.
1154 (MAX_CHAR_GT): Deleted.
1156 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1158 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
1160 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1162 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
1163 (save_uint16_byte_table): Likewise.
1164 (save_byte_table): Likewise; convert values by it.
1165 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
1166 for `ideographic-structure'.
1167 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
1168 as the filter for `ideographic-structure'.
1170 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1172 * chartab.c (put_char_composition): New function.
1173 (Fput_char_attribute): Use `put_char_composition'; use
1174 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
1176 * fns.c (simplify_char_spec): New function.
1177 (char_ref_simplify_spec): New function.
1178 (Fchar_refs_simplify_char_specs): New function.
1179 (syms_of_fns): Add new builtin function
1180 `char-refs-simplify-char-specs'.
1182 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1184 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
1185 (Qideograph_cbeta): Deleted.
1186 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
1187 (complex_vars_of_mule_charset): Likewise.
1189 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
1190 (MIN_CHAR_CBETA): Comment out.
1191 (MAX_CHAR_CBETA): Likewise.
1193 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1195 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
1196 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
1197 CHISE client feature.
1199 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1201 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
1203 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1205 * mule-charset.c (charset_lookup_description_1): Use
1206 `NUM_LEADING_BYTES' in UTF-2000.
1208 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1210 * char-ucs.h (GC_CHARSETP): Deleted.
1212 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1214 * char-ucs.h (MAX_CHAR_GT): Updated.
1216 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1218 * text-coding.c: Sync with XEmacs 21.4.10.
1220 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1222 * mule-charset.c (Vcharset_china3_jef): Deleted.
1223 (Qchina3_jef): Deleted.
1224 (syms_of_mule_charset): Don't define `china3-jef'.
1225 (complex_vars_of_mule_charset): Likewise.
1227 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
1228 (MIN_CHAR_CHINA3_JEF): Comment out.
1229 (MAX_CHAR_CHINA3_JEF): Comment out.
1231 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1233 * mule-charset.c (Vcharset_ucs_gb): New variable.
1234 (Qucs_gb): New variable.
1235 (syms_of_mule_charset): Add new symbol `ucs-gb'.
1236 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
1238 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
1240 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1242 * mule-charset.c (charset_code_point): if a coded-charset has a
1243 final-byte, don't inherit the builtin range of the mother CCS.
1245 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1247 * mule-charset.c (charset_code_point): Fix problem about
1250 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1252 * mule-charset.c (decode_builtin_char): Reorganized.
1254 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1256 * text-coding.c (char_encode_as_entity_reference): Modify for
1257 `charset_code_point'.
1258 (char_encode_shift_jis): Likewise.
1259 (char_encode_big5): Likewise.
1260 (char_encode_utf8): Likewise.
1261 (char_encode_iso2022): Likewise.
1263 * mule-charset.c (charset_code_point): Add new argument
1265 (Fencode_char): Add new optional argument `defined_only'.
1267 * chartab.c (put_char_table): Modify for `charset_code_point'.
1269 * char-ucs.h (charset_code_point): Add new argument
1271 (encode_char_1): Modify for `charset_code_point'.
1273 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1275 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
1276 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
1278 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1280 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
1281 (Qjis_x0208): Likewise.
1282 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
1283 XCHARSET_FINAL(charset).
1284 (charset_code_point): Modify condition for final-byte based
1286 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
1287 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
1288 in UTF-2000; specify `=jis-x0208' as the mother of
1289 `japanese-jisx0208-1978', `japanese-jisx0208' and
1290 `japanese-jisx0208-1990' in UTF-2000.
1292 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1294 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
1296 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1298 * text-coding.c (decode_coding_utf16): Support UTF-16.
1299 (char_encode_utf16): Fixed.
1301 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1303 * text-coding.c (Qutf16): New variable in MULE.
1304 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
1305 (Fcoding_system_type): Add `utf-16' in MULE.
1306 (struct detection_state): Add a structure for utf16 in MULE.
1307 (detect_coding_type): Setup st->utf16.mask in MULE.
1308 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
1310 (reset_encoding_stream): Use `char_encode_utf16' and
1311 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
1312 (detect_coding_utf16): New function [incomplete].
1313 (decode_coding_utf16): New function [support only UCS-2].
1314 (char_encode_utf16): New function.
1315 (char_finish_utf16): New function.
1316 (syms_of_file_coding): Add new symbol `utf-16'; setup
1317 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
1319 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
1321 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
1322 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
1324 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1326 * chartab.c (put_char_table): When a charset is specified as a
1327 range in UTF-2000, don't support builtin characters.
1329 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1331 * mule-charset.c (decode_defined_char): Don't refer external
1332 database if Qunbound or Qnil are found.
1333 (Fsave_charset_mapping_table): Don't define it if
1334 HAVE_CHISE_CLIENT is not defined.
1335 (Freset_charset_mapping_table): New function.
1336 (load_char_decoding_entry_maybe): Store Qnil if a character is not
1337 found in external database.
1338 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
1339 if HAVE_CHISE_CLIENT is not defined; add new builtin function
1340 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
1342 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1344 * text-coding.c (decode_coding_utf8): Check CCS is specified or
1347 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1349 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
1350 Q_lowercase, Q_uppercase in UTF-2000.
1352 * chartab.c (get_char_table): Add special code for the standard
1353 case table to use character attribute `->downcase' and
1354 `->uppercase' for case operations in UTF-2000.
1356 * casetab.c (Qflippedcase): New variable in UTF-2000.
1357 (Q_lowercase): Likewise.
1358 (Q_uppercase): Likewise.
1359 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
1360 and `->uppercase' in UTF-2000.
1361 (complex_vars_of_casetab): Assign attribute name `downcase' to
1362 downcase and CANON table of Vstandard_case_table in UTF-2000;
1363 assign attribute name `flippedcase' to upcase and EQV table of
1364 Vstandard_case_table in UTF-2000.
1366 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1368 * text-coding.c (decode_add_er_char): Support isolated-chars.
1369 (char_encode_as_entity_reference): Likewise.
1371 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1373 * emacs.c (Vutf_2000_lisp_directory): New variable.
1374 (Vconfigure_utf_2000_lisp_directory): Likewise.
1375 (complex_vars_of_emacs): Add new variable
1376 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
1378 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1380 * char-ucs.h (DECODE_CHAR): Delete special code for
1381 `chinese-big5-1' and `chinese-big5-2'.
1383 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
1384 (Qbig5_2): Likewise.
1385 (decode_defined_char): Support CONVERSION_BIG5_1 and
1387 (decode_builtin_char): Likewise.
1388 (charset_code_point): Likewise.
1389 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
1390 'conversion in UTF-2000.
1391 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
1392 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
1393 `chinese-big5-2' as children of `chinese-big5'.
1395 * char-ucs.h (CONVERSION_BIG5_1): New macro.
1396 (CONVERSION_BIG5_2): New macro.
1398 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1400 * text-coding.c (char_encode_big5): Support entity-reference.
1402 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1404 * text-coding.c (char_encode_as_entity_reference): New function.
1405 (char_encode_utf8): Use `char_encode_as_entity_reference'.
1407 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1409 * text-coding.c (decode_coding_big5): Support entity-reference
1412 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1414 * text-coding.c (allocate_coding_system): Initialize initial
1415 charsets for CODESYS_UTF8.
1416 (Fmake_coding_system): Accept charset-g0, charset-g1 and
1417 charset-g2 for CODESYS_UTF8.
1418 (decode_coding_utf8): Use charset-g0.
1419 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
1420 to force variants to map to UCS.
1422 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1424 * text-coding.c (Qutf_8_mcs): New variable.
1425 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
1426 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
1427 instead of `utf-8' in UTF-2000.
1429 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1431 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
1432 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
1433 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
1434 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
1435 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
1436 CONVERSION_96x96x96x96 are introduced.
1437 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
1438 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
1439 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
1441 * char-ucs.h (CONVERSION_94): New macro.
1442 (CONVERSION_96): New macro.
1443 (CONVERSION_94x94): New macro.
1444 (CONVERSION_96x96): New macro.
1445 (CONVERSION_94x94x94): New macro.
1446 (CONVERSION_96x96x96): New macro.
1447 (CONVERSION_94x94x94x60): New macro.
1448 (CONVERSION_94x94x94x94): New macro.
1449 (CONVERSION_96x96x96x96): New macro.
1451 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1453 * chartab.c (Vcharacter_variant_table): Deleted.
1454 (Fchar_variants): Use character-attribute `->ucs-variants' instead
1455 of `Vcharacter_variant_table'.
1456 (Fput_char_attribute): Likewise.
1457 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
1458 (complex_vars_of_chartab): Likewise.
1460 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1462 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
1464 * fns.c (Qideographic_structure): New variable.
1465 (Qkeyword_char): New variable.
1466 (ids_format_unit): New function.
1467 (Fideographic_structure_to_ids): New function.
1468 (syms_of_fns): Add new symbols `ideographic-structure' and
1469 `:char'; add new builtin function `ideographic-structure-to-ids'.
1471 * data.c (Fchar_ref_p): New function.
1472 (syms_of_data): Add new builtin function `char-ref-p'.
1474 * chartab.h: Add an EXFUN for `Ffind_char'.
1476 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1478 * text-coding.c (Vcharacter_composition_table): Deleted.
1479 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
1482 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
1484 (Vcharacter_composition_table): Deleted.
1485 (Fget_composite_char): Use the implementation for external-DB
1486 support in every UTF-2000.
1487 (Fput_char_attribute): Likewise.
1488 (char_attribute_system_db_file): Don't define if external-DB
1489 feature is not available.
1490 (Fsave_char_attribute_table): Likewise.
1491 (Fmount_char_attribute_table): Likewise.
1492 (Fclose_char_attribute_table): Likewise.
1493 (Freset_char_attribute_table): Likewise.
1494 (Fload_char_attribute_table): Likewise.
1495 (syms_of_chartab): Don't define `save-char-attribute-table',
1496 `mount-char-attribute-table', `reset-char-attribute-table',
1497 `close-char-attribute-table' and `load-char-attribute-table' if
1498 external-DB feature is not available.
1499 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
1501 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1503 * text-coding.c (Qcomposition): Add extern if external-DB feature
1505 (Vcharacter_composition_table): Don't add extern if external-DB
1506 feature is supported.
1507 (COMPOSE_ADD_CHAR): Modify for new data-representation of
1508 character composition rule if external-DB feature is supported.
1510 * chartab.c (Vcharacter_composition_table): Don't define if
1511 external-DB feature is supported.
1512 (Qcomposition): New variable.
1513 (Fget_composite_char): New implementation for external-DB support.
1514 (Fput_char_attribute): Use `composition' property of each
1515 character instead of `Vcharacter_composition_table' to store
1516 character-composition rules if external-DB feature is supported.
1517 (syms_of_chartab): Add new symbol `composition'.
1518 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
1519 external-DB feature is supported.
1521 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1523 * chartab.c (Vchar_db_stingy_mode): New variable.
1524 (load_char_attribute_maybe): Close database if
1525 Vchar_db_stingy_mode is not NIL.
1526 (Fload_char_attribute_table_map_function): Use
1527 `get_char_id_table_0' instead of `get_char_id_table'.
1528 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
1530 * chartab.h (get_char_id_table_0): New inline function.
1531 (get_char_id_table): Use `get_char_id_table_0'.
1533 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1535 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
1536 and `COMPOSE_ADD_CHAR'.
1537 (decode_coding_iso2022): Use `decode_flush_er_chars'.
1539 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1541 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
1542 instead of `DECODE_ADD_UCS_CHAR'.
1543 (COMPOSE_ADD_CHAR): Likewise.
1545 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1547 * text-coding.c (decode_flush_er_chars): New inline function.
1548 (decode_add_er_char): New function.
1549 (decode_coding_utf8): Use `decode_flush_er_chars' and
1550 `decode_add_er_char'.
1552 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1554 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
1555 done before `decode_output_utf8_partial_char'.
1557 * mule-charset.c (complex_vars_of_mule_charset): Specify
1558 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
1559 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
1561 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1563 * mule-charset.c (decode_defined_char): New function; search
1565 (decode_builtin_char): Don't search mother if
1566 XCHARSET_MAX_CODE(charset) == 0.
1567 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
1568 == 0 even if code >= XCHARSET_MAX_CODE(charset).
1569 (Fdecode_char): Use `decode_defined_char' instead of
1570 `DECODE_DEFINED_CHAR'.
1571 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
1572 mother of `Vcharset_ucs_jis'.
1574 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
1575 instead of `DECODE_DEFINED_CHAR'.
1577 * char-ucs.h (decode_defined_char): Renamed from
1578 `DECODE_DEFINED_CHAR'; changed to normal function.
1579 (DECODE_CHAR): Use `decode_defined_char' instead of
1580 `DECODE_DEFINED_CHAR'.
1582 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
1584 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1586 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
1588 * text-coding.c (Vcoded_charset_entity_reference_alist): New
1590 (Quse_entity_reference): New variable.
1594 (coding_system_description): Add description for
1595 `ccs_priority_list'.
1596 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
1597 (allocate_coding_system): Initialize `ccs_priority_list' in
1599 (Fmake_coding_system): Add description about
1600 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
1602 (Fcoding_system_property): Accept `disable-composition' and
1603 `use-entity-reference' in UTF-2000.
1604 (struct decoding_stream): Add new member `er_counter' and `er_buf'
1606 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
1607 (decode_coding_utf8): Decode entity-reference if
1608 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
1609 (char_encode_utf8): Encode non-Unicode characters as
1610 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
1612 (syms_of_file_coding): Add new symbols `use-entity-reference',
1614 (vars_of_file_coding): Add new variable
1615 `coded-charset-entity-reference-alist'.
1616 (complex_vars_of_file_coding): Declare `disable-composition' and
1617 `use-entity-reference' to be coding-system-properties in UTF-2000.
1619 * file-coding.h (struct Lisp_Coding_System): Add new member
1620 `use_entity_reference' and `ccs_priority_list'.
1621 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1622 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
1623 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1625 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1627 * chartab.c (save_uint8_byte_table): Don't clear the table.
1628 (save_uint16_byte_table): Likewise.
1629 (save_byte_table): Likewise.
1630 (Fmount_char_attribute_table): New function.
1631 (syms_of_chartab): Add new builtin function
1632 `mount-char-attribute-table'.
1634 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1636 * mule-charset.c (Fsave_charset_mapping_table): Open database as
1638 (load_char_decoding_entry_maybe): Open database as read-only mode.
1640 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
1641 open database as "w+" mode.
1642 (load_char_attribute_maybe): Open database as read-only mode.
1643 (Fload_char_attribute_table): Likewise.
1645 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1647 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
1648 (char_table_description): Delete member `db_file'.
1649 (Fmake_char_table): Don't refer `ct->db_file'.
1650 (Fcopy_char_table): Likewise.
1651 (Fsave_char_attribute_table): Likewise.
1652 (Fclose_char_attribute_table): Likewise.
1653 (Freset_char_attribute_table): Likewise.
1654 (load_char_attribute_maybe): Likewise.
1655 (Fload_char_attribute_table): Likewise.
1657 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
1659 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1661 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
1662 (Fsave_char_attribute_table): Don't check `ct->db_file' if
1664 (load_char_attribute_maybe): Likewise.
1665 (Fload_char_attribute_table): Likewise.
1667 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1669 * chartab.c (Fclose_char_attribute_table): Set Qnil on
1670 `ct->db_file' unconditionally.
1672 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1674 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
1676 (char_table_description): Add description for `db_file' and `db'
1678 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
1680 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
1681 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
1682 (Fclose_char_attribute_table): New function.
1683 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
1684 (load_char_attribute_maybe): Change interface; use `cit->db_file'
1686 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
1687 (syms_of_chartab): Add new builtin function
1688 `Fclose_char_attribute_table'.
1690 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1692 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
1694 (load_char_attribute_maybe): Change interface.
1695 (get_char_id_table): Modify for `load_char_attribute_maybe'.
1697 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1699 * database.h: Add an EXFUN for `Fdatabase_live_p'.
1701 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1703 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
1704 instead of `DECODE_CHAR' for mother; don't use special code for
1705 chinese-big5 to use code space of chinese-big5-1 and
1707 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
1708 `MAX_CHAR_BIG5_CDP' for chinese-big5.
1710 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
1711 (MAX_CHAR_BIG5_CDP): Revival.
1713 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1715 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
1716 the XLFD registry-encoding name of `chinese-big5'.
1718 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1720 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
1721 (Qchinese_big5_cdp): Deleted.
1722 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
1723 (complex_vars_of_mule_charset): Delete coded-charset
1726 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
1727 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
1728 `CHARSET_ID_OFFSET - n' for private CCS.
1729 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
1730 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
1731 of `MIN_LEADING_BYTE'.
1732 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
1733 `(CHARSET_ID_OFFSET - 97)'.
1734 (MIN_CHAR_BIG5_CDP): Deleted.
1735 (MAX_CHAR_BIG5_CDP): Deleted.
1737 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1739 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
1741 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1743 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
1744 (vars_of_mule): Add new variable `utf-2000-version' [moved from
1747 * chartab.c (Vutf_2000_version): Moved to mule.c.
1748 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
1750 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1752 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
1753 when HAVE_CHISE_CLIENT is not defined.
1755 * mule.c (vars_of_mule): Provide feature `chise' when
1756 HAVE_CHISE_CLIENT is defined.
1758 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1760 * config.h.in (UTF2000): Add comment.
1761 (HAVE_CHISE_CLIENT): New macro.
1763 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1765 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
1767 (Fput_char_attribute): Likewise.
1768 (char_attribute_system_db_file): Encode file-name of attribute.
1769 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
1772 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1774 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
1775 (Fsave_charset_mapping_table): Use
1776 `char_attribute_system_db_file'.
1777 (load_char_decoding_entry_maybe): Likewise.
1779 * chartab.h (Qsystem_char_id): New external variable.
1780 (char_attribute_system_db_file): New prototype.
1782 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
1783 (char_attribute_system_db_file): New function.
1784 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
1785 (Freset_char_attribute_table): Likewise.
1786 (load_char_attribute_maybe): Likewise.
1787 (Fload_char_attribute_table): Likewise.
1788 (syms_of_chartab): Add new symbol `system-char-id'.
1790 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1792 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
1793 `XCHARSET_GRAPHIC(ccs)'.
1795 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1797 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
1799 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1801 * chartab.c (Q_ucs_variants): New variable.
1802 (syms_of_chartab): Add new symbol `->ucs-variants'.
1803 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
1804 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
1805 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
1807 * mule-charset.c (load_char_decoding_entry_maybe): New function.
1809 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
1810 `HAVE_DATABASE' is defined.
1811 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
1812 `HAVE_DATABASE' is defined.
1814 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1816 * chartab.c (Fsave_char_attribute_table): Don't clear internal
1818 (Freset_char_attribute_table): New function.
1819 (syms_of_chartab): Add new builtin function
1820 `reset-char-attribute-table'.
1822 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1824 * chartab.c (load_char_attribute_maybe): Don't make directories.
1826 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1828 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
1830 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
1833 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1835 * mule-charset.c (Fsave_charset_mapping_table): Use
1836 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
1838 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
1839 instead of `XCHARSET_CHARS'.
1841 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1843 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
1844 (XCHARSET_BYTE_SIZE): Likewise.
1846 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
1848 (XCHARSET_BYTE_SIZE): Likewise.
1850 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1852 * chartab.c (Fput_char_attribute): Use exec-directory instead of
1853 data-directory to store database.
1854 (Fsave_char_attribute_table): Likewise.
1855 (load_char_attribute_maybe): Likewise.
1856 (Fload_char_attribute_table): Likewise.
1858 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1860 * mule-charset.c (Fsave_charset_mapping_table): New function.
1861 (syms_of_mule_charset): Add new builtin function
1862 `save-charset-mapping-table'.
1864 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1866 * char-ucs.h (decoding_table_check_elements): Delete prototype.
1867 (get_ccs_octet_table): New inline function.
1868 (put_ccs_octet_table): Likewise.
1869 (decoding_table_put_char): Use `get_ccs_octet_table' and
1870 `put_ccs_octet_table'.
1871 (decoding_table_remove_char): Use `decoding_table_put_char'.
1872 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
1874 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
1875 into encoding_table.
1876 (make_charset): Use Qunbound instead Qnil as initial value of
1879 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1881 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
1882 element is Qunloaded.
1883 (map_over_uint16_byte_table): Likewise.
1884 (map_over_byte_table): Likewise.
1885 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
1886 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
1887 database support, load encoding-table of the specified
1888 coded-charset if it is not loaded yet.
1889 (save_uint8_byte_table): New function of UTF-2000 with external
1891 (save_uint16_byte_table): Likewise.
1892 (save_byte_table): Likewise.
1893 (Fput_char_attribute): Don't store value into external database
1894 even if the external database feature is supported in UTF-2000;
1895 set `attribute' as name of char-table if the external database
1896 feature is supported.
1897 (Fsave_char_attribute_table): New function in UTF-2000.
1898 (syms_of_chartab): Add new builtin function
1899 `save-char-attribute-table' in UTF-2000.
1901 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1903 * chartab.c (char_attribute_table_to_put): New variable in
1905 (Qput_char_table_map_function): Likewise.
1906 (value_to_put): Likewise.
1907 (Fput_char_table_map_function): New function in UTF-2000.
1908 (put_char_table): Use `Fmap_char_attribute' for
1909 CHARTAB_RANGE_CHARSET in UTF-2000.
1910 (Fput_char_attribute): Store symbol instead of string in
1911 `XCHAR_TABLE_NAME (table)'.
1912 (load_char_attribute_maybe): Likewise.
1913 (syms_of_chartab): Add new symbol/function
1914 `put-char-table-map-function'.
1916 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1918 * database.h: Add new EXFUN for `Fmap_database'.
1920 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
1921 (syms_of_database): Likewise.
1923 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
1925 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
1926 (XCHAR_TABLE_UNLOADED): Likewise.
1928 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
1929 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
1930 HAVE_DATABASE is defined.
1931 (char_attribute_table_to_load): New variable of UTF-2000 with
1932 external database support.
1933 (Qload_char_attribute_table_map_function): Likewise.
1934 (Fload_char_attribute_table_map_function): New function of
1935 UTF-2000 with external database support.
1936 (Fload_char_attribute_table): New function of UTF-2000.
1937 (Fmap_char_attribute): Call Fload_char_attribute_table if
1938 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
1939 (syms_of_chartab): Add new symbol and function
1940 `load-char-attribute-table-map-function' in UTF-2000 with external
1941 database support; add new function `load-char-attribute-table' in
1944 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1946 * chartab.h (load_char_attribute_maybe): New prototype for
1947 UTF-2000 with DATABASE support.
1948 (get_char_id_table): Use `load_char_attribute_maybe' if
1949 HAVE_DATABASE is defined.
1951 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
1952 with DATABASE support.
1954 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1956 * chartab.c (Fput_char_attribute): Use S-expression as key of
1959 * chartab.h (get_char_id_table): Use S-expression as key of
1962 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1964 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
1965 if an element is not loaded, load the corresponding attributes
1966 from an external database.
1967 (map_over_uint16_byte_table): Likewise.
1968 (map_over_byte_table): Likewise.
1969 (map_char_table): Modify for `map_over_uint8_byte_table',
1970 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
1971 element is not loaded, load the corresponding attributes from an
1973 (Fput_char_attribute): Change initial values to Qunloaded.
1975 * chartab.h (get_char_id_table): If a character attribute is not
1976 loaded and the attribute value is not found in an external
1977 database, store Qunbound as the attribute value.
1979 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1981 * chartab.c (BT_UINT8_unloaded): New macro.
1982 (UINT8_VALUE_P): Accept Qunloaded.
1983 (UINT8_ENCODE): Likewise.
1984 (UINT8_DECODE): Likewise.
1985 (BT_UINT16_unloaded): New macro.
1986 (UINT16_VALUE_P): Accept Qunloaded.
1987 (UINT16_ENCODE): Likewise.
1988 (UINT16_DECODE): Likewise.
1989 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
1991 (mark_char_table): Mark `ct->name' in UTF-2000.
1992 (char_table_description): Add `name' in UTF-2000.
1993 (Fmake_char_table): Initialize `ct->name'.
1994 (Fcopy_char_table): Copy `ct->name'.
1995 (Fput_char_attribute): Store value into an external database if
1996 HAVE_DATABASE is defined.
1998 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
2000 (CHAR_TABLE_NAME): New macro in UTF-2000.
2001 (XCHAR_TABLE_NAME): New macro in UTF-2000.
2002 (get_char_id_table): Try to read an external database if Qunloaded
2003 is stored in a table.
2005 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
2008 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2010 * database.h: Add EXFUN definitions for Fopen_database,
2011 Fput_database, Fget_database and Fclose_database.
2013 * data.c (Qunloaded): New variable in UTF-2000.
2015 * lisp.h (Qunloaded): New variable in UTF-2000.
2017 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2019 * mule-charset.c (put_char_ccs_code_point): Modify for
2020 `decoding_table_remove_char' and `decoding_table_put_char'.
2021 (remove_char_ccs): Modify for `decoding_table_remove_char'.
2023 * char-ucs.h (decoding_table_remove_char): Change arguments to
2024 hide decoding_table vector.
2025 (decoding_table_put_char): Likewise.
2027 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2029 * mule-charset.c (decoding_table_remove_char): Moved to
2031 (decoding_table_put_char): Likewise.
2033 * char-ucs.h (decoding_table_check_elements): New prototype [moved
2034 from mule-charset.c].
2035 (decoding_table_remove_char): New inline function [moved from
2037 (decoding_table_put_char): Likewise.
2039 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2041 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
2044 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2046 * mule-charset.c (decode_builtin_char): Support mother charsets.
2048 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2050 * mule-charset.c (Q94x94x60): New variable.
2051 (charset_code_point): Support conversion `94x94x60'.
2052 (Fmake_charset): Likewise.
2053 (syms_of_mule_charset): Add new symbol `94x94x60'.
2055 * char-ucs.h (CONVERSION_94x94x60): New macro.
2057 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2059 * mule-charset.c (charset_code_point): Unify code about
2062 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2064 * mule-charset.c (charset_code_point): Merge code about builtin
2065 characters into code about mother charsets; don't use
2066 `range_charset_code_point'.
2067 (range_charset_code_point): Deleted.
2069 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2071 * mule-charset.c (Qcode_offset): New variable.
2072 (Fmake_charset): Use `XUINT' to get value of `min-code' and
2073 `max-code'; accept new property `code-offset'.
2074 (syms_of_mule_charset): Add new symbol `code-offset'.
2076 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2078 * mule-charset.c (range_charset_code_point): Fixed.
2080 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2082 * mule-charset.c (decode_builtin_char): Change semantics of
2083 code-offset of coded-charset.
2084 (charset_code_point): Likewise.
2085 (range_charset_code_point): Likewise.
2086 (complex_vars_of_mule_charset): Modify for the change.
2088 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2090 * mule-charset.c (Fencode_char): Reverse arguments.
2092 * mule-charset.c (charset_code_point): Fixed.
2094 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2096 * mule-charset.c (Vcharset_mojikyo): Deleted.
2097 (Vcharset_mojikyo_2022_1): Deleted.
2098 (Vcharset_mojikyo_pj_{1..21}): Deleted.
2099 (Qmin_code): New variable in UTF-2000.
2100 (Qmax_code): Likewise.
2101 (Qmother): Likewise.
2102 (Qconversion): Likewise.
2104 (Qmojikyo): Deleted.
2105 (Qmojikyo_2022_1): Deleted.
2106 (Qmojikyo_pj_{1..22}): Deleted.
2107 (mark_charset): Mark `cs->mother'.
2108 (charset_description): Add description for `mother'.
2109 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
2110 new arguments `mother' and `conversion'; use
2111 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
2112 (charset_code_point): Moved from char-ucs.h; support `mother'
2114 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
2115 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
2116 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
2117 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
2118 allow 2 as the value of `graphic' in UTF-2000; add new properties
2119 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
2120 require `final' in UTF-2000; modify for `make_charset'.
2121 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
2122 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
2123 (Fcharset_property): Support `mother', `min-code' and `max-code'.
2124 (Fencode_char): New function.
2125 (syms_of_mule_charset): Add new builtin function `encode-char' in
2126 UTF-2000; add new symbols `min-code', `max-code', `mother',
2127 `conversion' and `94x60'; delete symbols `mojikyo',
2128 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
2129 (complex_vars_of_mule_charset): Modify for `make_charset' change;
2130 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
2131 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
2133 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
2134 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
2136 * char-ucs.h (Vcharset_mojikyo): Deleted.
2137 (Vcharset_mojikyo_2022_1): Deleted.
2138 (LEADING_BYTE_MOJIKYO): Deleted.
2139 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
2140 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
2141 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
2142 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
2143 add new member `mother'; add new member `conversion'.
2144 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
2145 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
2146 (CHARSET_MOTHER): New macro.
2147 (CHARSET_CONVERSION): New macro.
2148 (CONVERSION_IDENTICAL): New macro.
2149 (CONVERSION_94x60): New macro.
2150 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
2151 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
2152 (XCHARSET_MOTHER): New macro.
2153 (XCHARSET_CONVERSION): New macro.
2154 (MIN_CHAR_MOJIKYO): Deleted.
2155 (MAX_CHAR_MOJIKYO): Deleted.
2156 (DECODE_MOJIKYO_2022): Deleted.
2157 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
2158 (charset_code_point): Changed to non-inline function.
2159 (encode_char_1): Use `charset_code_point'.
2160 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
2162 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2164 * lread.c (read_compiled_function): Fix prototype.
2165 (read_vector): Likewise.
2167 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2169 * lrecord.h (struct lrecord_header): Delete `older'.
2170 (set_lheader_implementation): Delete code for `older'.
2171 (set_lheader_older_implementation): Deleted.
2172 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
2173 (OLDER_RECORD_P): Deleted.
2174 (OLDER_RECORD_HEADER_P): Deleted.
2175 (alloc_older_lcrecord): Deleted.
2176 (alloc_older_lcrecord_type): Deleted.
2178 * alloc.c (all_older_lcrecords): Deleted.
2179 (alloc_older_lcrecord): Deleted.
2180 (disksave_object_finalization_1): Delete code for older objects.
2181 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
2182 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
2184 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2186 * mule-charset.c (decoding_table_put_char): Use `make_vector'
2187 instead of `make_older_vector'.
2188 (put_char_ccs_code_point): Likewise.
2189 (mark_charset): Mark `cs->decoding_table'.
2190 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
2192 * lisp.h (make_older_vector): Deleted.
2193 (make_vector_newer): Deleted.
2195 * config.h.in (HAVE_GGC): Deleted.
2197 * alloc.c (make_older_vector): Deleted.
2198 (make_vector_newer_1): Deleted.
2199 (make_vector_newer): Deleted.
2201 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2203 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
2204 (Qideograph_daikanwa_2): New variable.
2205 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
2206 (complex_vars_of_mule_charset): Add new coded-charset
2207 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
2208 `LEADING_BYTE_DAIKANWA'.
2210 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
2211 (LEADING_BYTE_DAIKANWA_1): New macro.
2212 (LEADING_BYTE_DAIKANWA_2): New macro.
2213 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
2215 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2217 * mule-charset.c (complex_vars_of_mule_charset): Change
2218 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
2219 the second revised version.
2221 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2223 * mule-charset.c (Vcharset_ucs_smp): New variable.
2224 (Vcharset_ucs_sip): New variable.
2225 (Qucs_smp): New variable.
2226 (Qucs_sip): New variable.
2227 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
2228 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
2229 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
2230 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
2231 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
2232 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
2234 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
2235 (LEADING_BYTE_UCS_SIP): New macro.
2236 (MIN_CHAR_SMP): New macro.
2237 (MAX_CHAR_SMP): New macro.
2238 (MIN_CHAR_SIP): New macro.
2239 (MAX_CHAR_SIP): New macro.
2241 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
2243 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
2246 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2248 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
2249 value; don't store value into `encoding_table' of `Lisp_Charset'.
2250 (mark_charset): `encoding_table' was deleted.
2251 (charset_description): Likewise.
2252 (make_charset): Likewise.
2253 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
2254 `put_char_ccs_code_point'.
2256 * chartab.h (Fput_char_attribute): New EXFUN.
2258 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
2259 is unified with normal symbol space.
2260 (Fget_char_attribute): Likewise.
2261 (Fput_char_attribute): Likewise; behavior of
2262 `put_char_ccs_code_point' is changed.
2264 * char-ucs.h: Include "elhash.h".
2265 (Vchar_attribute_hash_table): New external variable.
2266 (struct Lisp_Charset): Delete `encoding_table'.
2267 (CHARSET_ENCODING_TABLE): New implementation; refer
2268 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
2271 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2273 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
2276 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2278 * text-coding.c (char_encode_big5): Prefer charset-g1 than
2281 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2283 * chartab.c (uint8_byte_table_description): New constant.
2284 (uint8-byte-table): Use `uint8_byte_table_description'.
2285 (uint16_byte_table_description): New constant.
2286 (uint16-byte-table): Use `uint16_byte_table_description'.
2288 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2290 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
2291 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
2293 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2295 * mule-charset.c (Vcharset_ucs_ks): New variable.
2296 (Qucs_ks): New variable.
2297 (syms_of_mule_charset): Add new symbol `ucs-ks'.
2298 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
2300 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
2302 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2304 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
2305 (Fdecode_char): Likewise.
2307 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
2309 (Fdefine_char): Modify for Fdecode_char.
2310 (Ffind_char): Likewise.
2312 * mule-charset.c (Fdecode_char): Add new optional argument
2314 (Fdecode_builtin_char): Modify for `Fdecode_char'.
2316 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2318 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
2319 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
2320 (allocate_coding_system): Initialize initial-charsets of
2321 CODESYS_BIG5 in XEmacs UTF-2000.
2322 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
2323 CODESYS_BIG5 in XEmacs UTF-2000.
2324 (decode_coding_big5): Use initial-charset-g0 and -g1 of
2325 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
2327 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
2329 (Qideograph_hanziku_{1 .. 12}): Likewise.
2330 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
2332 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
2333 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
2334 `ideograph-hanziku-{1 .. 12}'.
2336 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
2337 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
2338 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
2339 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
2340 (DECODE_DEFINED_CHAR): New inline function.
2341 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
2343 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2345 * mule-charset.c (Vcharset_china3_jef): Renamed from
2346 `Vcharset_japanese_jef_china3'.
2347 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
2348 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
2349 `{MIN|MAX}_CHAR_JEF_CHINA3'..
2350 (syms_of_mule_charset): Rename `china3-jef' from
2351 `japanese-jef-china3'.
2352 (complex_vars_of_mule_charset): Likewise; rename
2353 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
2355 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
2356 `LEADING_BYTE_JEF_CHINA3'.
2357 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
2358 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
2360 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2362 * mule-charset.c (encode_builtin_char_1): Comment out special code
2363 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
2365 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
2366 (MAX_CHAR_MOJIKYO_0): Comment out.
2367 (MIN_CHAR_CBETA): Changed to 0x00E20000.
2368 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
2369 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
2370 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
2372 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2374 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
2375 (Qideograph_cbeta): New variable.
2376 (encode_builtin_char_1): Comment out special code for
2377 coded-charset `mojikyo' and `japanese-jef-china3'.
2378 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
2379 (complex_vars_of_mule_charset): Add new coded-charset
2382 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
2383 (MIN_CHAR_CBETA): New macro.
2384 (MAX_CHAR_CBETA): New macro.
2386 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2388 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
2389 (LEADING_BYTE_JEF_CHINA3): New macro.
2390 (MIN_CHAR_JEF_CHINA3): New macro.
2391 (MAX_CHAR_JEF_CHINA3): Likewise.
2392 (DECODE_CHAR): Fixed.
2394 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2396 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
2397 (Qjapanese_jef_china3): New variable.
2398 (encode_builtin_char_1): Support `japanese-jef-china3'.
2399 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
2400 (complex_vars_of_mule_charset): Add new coded-charset
2401 `japanese-jef-china3'.
2403 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2405 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
2406 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
2407 94^4, 96^3, 96^4, 128^n and 256^n set.
2408 (put_char_table): Use `XCHARSET_CELL_RANGE'.
2409 (map_char_table): Likewise.
2411 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2413 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
2416 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2418 * chartab.h (get_char_id_table): New inline function.
2420 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
2423 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2425 * chartab.h (decode_char_table_range): New prototype in XEmacs
2427 (put_char_id_table): New inline function in XEmacs UTF-2000.
2429 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
2431 (decode_char_table_range): Delete static declaration in XEmacs
2434 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2436 * chartab.c (put_char_id_table): Use `put_char_table'.
2438 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2440 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
2441 (map_over_uint16_byte_table): Likewise.
2442 (map_over_byte_table): Likewise.
2443 (map_char_table): Modify for `map_over_uint8_byte_table',
2444 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
2447 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2449 * chartab.c (struct map_char_table_for_charset_arg): New
2451 (map_char_table_for_charset_fun): New function.
2452 (map_char_table): Use `map_char_table' for encoding_table of
2455 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2457 * chartab.c (map_char_table): Check a character is found in
2458 range->charset instead of non default value is defined in
2459 char-table when range is CHARTAB_RANGE_ROW.
2461 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2463 * chartab.c (map_char_id_table): Deleted.
2464 (Fmap_char_attribute): Use `map_char_table' instead of
2465 `map_char_id_table'.
2467 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2469 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
2471 (update_syntax_table): Deleted in XEmacs UTF-2000.
2473 * syntax.c (find_defun_start): Use `syntax_table' instead of
2474 `mirror_syntax_table' in XEmacs UTF-2000.
2475 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
2477 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
2479 (Fmatching_paren): Likewise.
2480 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
2482 (find_start_of_comment): Likewise.
2483 (find_end_of_comment): Likewise.
2484 (Fforward_comment): Likewise.
2485 (scan_lists): Likewise.
2486 (char_quoted): Likewise.
2487 (Fbackward_prefix_chars): Likewise.
2488 (scan_sexps_forward): Likewise.
2489 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
2490 (update_syntax_table): Likewise.
2492 * search.c (skip_chars): Use `syntax_table' instead of
2493 `mirror_syntax_table' in XEmacs UTF-2000.
2494 (wordify): Likewise.
2495 (Freplace_match): Likewise.
2497 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
2498 `mirror_syntax_table' in XEmacs UTF-2000.
2499 (WORDCHAR_P_UNSAFE): Likewise.
2500 (re_match_2_internal): Likewise.
2502 * font-lock.c (find_context): Use `buf->syntax_table' instead of
2503 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2505 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
2506 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
2508 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
2511 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
2513 (print_char_table): Print `default_value' in XEmacs UTF-2000.
2514 (char_table_description): Delete `mirror_table' in XEmacs
2516 (fill_char_table): Don't call `update_syntax_table' in XEmacs
2518 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
2519 (Fcopy_char_table): Likewise.
2520 (put_char_table): Don't call `update_syntax_table' in XEmacs
2523 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
2524 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2525 (casify_region_internal): Likewise.
2527 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
2529 * buffer.c (common_init_complex_vars_of_buffer): Don't use
2530 `mirror_syntax_table' in XEmacs UTF-2000.
2532 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
2533 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2534 (Fexpand_abbrev): Likewise.
2536 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2538 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
2540 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2542 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
2543 (map_over_uint16_byte_table): Likewise.
2544 (map_over_byte_table): Likewise.
2545 (get_char_id_table): Refer `cit->default_value'.
2546 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2547 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
2548 of character-id ranges.
2549 (mark_char_table): Mark `ct->default_value'.
2550 (char_table_description): Add `default_value'.
2551 (fill_char_table): Use `default_value'.
2552 (decode_char_table_range): Decode `nil' as
2553 `CHARTAB_RANGE_DEFAULT'.
2554 (get_char_id_table): Refer `cit->default_value'.
2555 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2556 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
2557 temporary hack; check value of char-table is bound or not.
2558 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
2560 * chartab.h (struct Lisp_Char_Table): Add new member
2561 `default_value' in XEmacs UTF-2000.
2562 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
2563 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
2566 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2568 * chartab.h (Lisp_Char_ID_Table): Deleted.
2570 * chartab.c (char_table_description): Fix typo.
2571 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
2572 `Lisp_Char_ID_Table'.
2574 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2576 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
2579 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
2582 * chartab.h (XCHAR_ID_TABLE): Deleted.
2583 (XSETCHAR_ID_TABLE): Deleted.
2584 (CHAR_ID_TABLE_P): Deleted.
2586 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
2588 (Fget_composite_char): Likewise.
2589 (put_char_table): Likewise.
2590 (add_char_attribute_alist_mapper): Fixed.
2591 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
2593 (Fget_char_attribute): Likewise.
2594 (Fget_char_attribute): Likewise.
2595 (Fmap_char_attribute): Likewise.
2597 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
2599 (encode_char_1): Likewise.
2601 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2603 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
2606 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
2607 instead of `XCHAR_ID_TABLE'.
2608 (remove_char_ccs): Likewise.
2610 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
2612 (Fget_composite_char): Likewise.
2613 (Fchar_variants): Likewise.
2614 (put_char_table): Likewise.
2615 (add_char_attribute_alist_mapper): Likewise.
2616 (Fchar_attribute_alist): Likewise.
2617 (Fget_char_attribute): Likewise.
2618 (Fput_char_attribute): Likewise.
2619 (Fmap_char_attribute): Likewise.
2620 (Fmap_char_attribute): Likewise.
2622 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
2624 (encode_char_1): Likewise.
2626 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2628 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
2629 `Lisp_Char_ID_Table'.
2630 (mark_char_id_table): Deleted.
2631 (print_char_id_table): Likewise.
2632 (char_id_table_equal): Likewise.
2633 (char_id_table_hash): Likewise.
2634 (char_id_table_description): Likewise.
2635 (char_id_table): Likewise.
2636 (make_char_id_table): Use `Fmake_char_table' and
2638 (get_char_id_table): Use `Lisp_Char_Table' instead of
2639 `Lisp_Char_ID_Table'.
2640 (put_char_id_table): Likewise.
2641 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
2643 (Fremove_char_attribute): Likewise.
2644 (syms_of_chartab): Don't define type `char-id-table'.
2646 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
2647 (char_id_table): Likewise.
2648 (GC_CHAR_ID_TABLE_P): Likewise.
2649 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
2650 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
2651 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
2652 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
2653 (get_char_id_table): Use `Lisp_Char_Table' instead of
2654 `Lisp_Char_ID_Table'.
2655 (put_char_id_table_0): Likewise.
2656 (put_char_id_table): Likewise.
2658 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2660 * chartab.h: Lisp_Byte_Table related codes are moved from
2663 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
2665 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2667 * chartab.h: Don't include "chartab.h".
2668 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
2669 (Lisp_Char_ID_Table): Likewise.
2670 (char_id_table): Likewise.
2671 (XCHAR_ID_TABLE): Likewise.
2672 (XSETCHAR_ID_TABLE): Likewise.
2673 (CHAR_ID_TABLE_P): Likewise.
2674 (GC_CHAR_ID_TABLE_P): Likewise.
2675 (get_char_id_table): Likewise.
2677 * char-ucs.h: Include "chartab.h".
2678 (struct Lisp_Char_ID_Table): Moved to chartab.h.
2679 (Lisp_Char_ID_Table): Likewise.
2680 (char_id_table): Likewise.
2681 (XCHAR_ID_TABLE): Likewise.
2682 (XSETCHAR_ID_TABLE): Likewise.
2683 (CHAR_ID_TABLE_P): Likewise.
2684 (GC_CHAR_ID_TABLE_P): Likewise.
2685 (get_char_id_table): Likewise.
2687 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2689 * chartab.c (copy_uint8_byte_table): New function.
2690 (copy_uint16_byte_table): New function.
2691 (copy_byte_table): New function.
2692 (map_over_uint8_byte_table): Modify to avoid huge numbers of
2694 (map_over_uint16_byte_table): Likewise.
2695 (map_over_byte_table): Likewise.
2696 (get_byte_table): Move prototype to chartab.h.
2697 (put_byte_table): Likewise.
2698 (put_char_id_table_0): Moved to chartab.h.
2699 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
2700 (char_table_entry_equal): Likewise.
2701 (char_table_entry_hash): Likewise.
2702 (char_table_entry_description): Likewise.
2703 (char_table_entry): Likewise.
2704 (make_char_table_entry): Likewise.
2705 (copy_char_table_entry): Likewise.
2706 (get_non_ascii_char_table_value): Likewise.
2707 (map_over_charset_ascii): Likewise.
2708 (map_over_charset_control_1): Likewise.
2709 (map_over_charset_row): Likewise.
2710 (map_over_other_charset): Likewise.
2711 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
2712 (print_char_table): Likewise.
2713 (char_table_equal): Likewise.
2714 (char_table_hash): Likewise.
2715 (char_table_description): Likewise.
2716 (fill_char_table): Likewise.
2717 (Fcopy_char_table): Likewise.
2718 (get_char_table): Likewise.
2719 (Fget_range_char_table): Likewise.
2720 (put_char_table): Likewise.
2721 (map_char_table): Likewise.
2722 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
2725 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2727 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
2728 `Vauto_fill_chars' in XEmacs UTF-2000.
2730 * chartab.h (get_byte_table): New prototype [moved from
2732 (put_byte_table): Likewise [moved from chartab.c].
2733 (put_char_id_table_0): New inline function [moved from chartab.c].
2734 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
2735 (Lisp_Char_Table_Entry): Likewise.
2736 (char_table_entry): Likewise.
2737 (XCHAR_TABLE_ENTRY): Likewise.
2738 (XSETCHAR_TABLE_ENTRY): Likewise.
2739 (CHAR_TABLE_ENTRYP): Likewise.
2740 (CHECK_CHAR_TABLE_ENTRY): Likewise.
2741 (NUM_ASCII_CHARS): Likewise.
2742 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
2743 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
2745 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2747 * chartab.c (get_char_id_table): Change interface.
2748 (put_char_id_table_0): New function.
2749 (put_char_id_table): Change interface; new implementation.
2750 (Fget_composite_char): Modify for interface change of
2751 `get_char_id_table'.
2752 (Fchar_variants): Likewise.
2753 (add_char_attribute_alist_mapper): Likewise.
2754 (Fchar_attribute_alist): Likewise.
2755 (Fget_char_attribute): Likewise.
2756 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
2757 as same as character as the first argument like `put-char-table';
2758 modify for interface change of `put_char_id_table'.
2759 (Fremove_char_attribute): Modify for interface change of
2760 `put_char_id_table'.
2762 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2764 * text-coding.c: Sync up with XEmacs 21.2.41.
2765 (COMPOSE_ADD_CHAR): Modify for interface change of
2766 `get_char_id_table'.
2768 * mule-charset.c (put_char_ccs_code_point): Modify for interface
2769 change of `put_char_id_table'.
2770 (remove_char_ccs): Likewise.
2772 * chartab.h (put_char_id_table): Change interface.
2774 * char-ucs.h (get_char_id_table): Change interface.
2775 (charset_code_point): Modify for interface change of
2776 `get_char_id_table'.
2777 (encode_char_1): Likewise.
2779 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2781 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
2783 (map_over_uint16_byte_table): Likewise.
2784 (map_over_byte_table): Likewise.
2785 (map_char_id_table): Add new argument `range' like
2787 (Fmap_char_attribute): Add new argument `range' like
2790 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2792 * chartab.c (map_over_uint8_byte_table): Change interface of
2793 mapping function to use struct chartab_range instead of Emchar.
2794 (map_over_uint16_byte_table): Likewise.
2795 (map_over_byte_table): Likewise.
2796 (map_char_id_table): Likewise.
2797 (struct slow_map_char_id_table_arg): Deleted.
2798 (slow_map_char_id_table_fun): Deleted.
2799 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
2800 function `slow_map_char_table_fun' instead of struct
2801 `slow_map_char_id_table_arg' and function
2802 `slow_map_char_id_table_fun'.
2804 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2806 * mule-charset.c: Move char-it-table related codes to chartab.c.
2807 (Vutf_2000_version): Moved to chartab.c.
2808 (Fdefine_char): Likewise.
2809 (Ffind_char): Likewise.
2810 (syms_of_mule_charset): Move types `uint8-byte-table',
2811 `uint16-byte-table', `byte-table' and `char-id-table' to
2812 chartab.c; move functions `char_attribute_list,
2813 `find_char_attribute_table, `char_attribute_alist,
2814 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
2815 `map_char_attribute, `define_char, `find_char, `char_variants and
2816 `get_composite_char to chartab.c; move symbols `=>ucs',
2817 `->decomposition', `compat', `isolated', `initial', `medial',
2818 `final', `vertical', `noBreak', `fraction', `super', `sub',
2819 `circle', `square', `wide', `narrow', `small' and `font' to
2821 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
2822 setting codes for `Vcharacter_composition_table' and
2823 `Vcharacter_variant_table' to chartab.c.
2824 (complex_vars_of_mule_charset): Move setting code for
2825 `Vchar_attribute_hash_table' to chartab.c.
2827 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
2828 (make_char_id_table): New prototype.
2829 (put_char_id_table): Likewise.
2830 (Fget_char_attribute): Likewise.
2832 * chartab.c: Move char-id-table related code from mule-charset.c.
2833 (Vutf_2000_version): Moved from mule-charset.c.
2835 * char-ucs.h (Qucs): New external variable.
2836 (put_char_ccs_code_point): New prototype.
2837 (remove_char_ccs): Likewise.
2839 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2841 * mule-charset.c (Vcharset_ucs_jis): New variable.
2842 (Qucs_jis): Likewise.
2843 (syms_of_mule_charset): Add new symbol `ucs-jis'.
2844 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
2846 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
2848 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2850 * mule-charset.c (map_over_uint8_byte_table): New function.
2851 (map_over_uint16_byte_table): Likewise.
2852 (map_over_byte_table): Likewise.
2853 (map_char_id_table): Likewise.
2854 (slow_map_char_id_table_fun): Likewise.
2855 (Fmap_char_attribute): Likewise.
2856 (syms_of_mule_charset): Add new function `map-char-attribute'.
2858 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2860 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
2861 (syms_of_mule_charset): Add new function `find-char'.
2863 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2865 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
2867 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
2868 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
2870 (complex_vars_of_mule_charset): Add new coded-charset
2871 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
2872 `ideograph-gt-pj-*'.
2874 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
2876 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2878 * mule-charset.c (encode_builtin_char_1): Purge codes about
2879 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
2880 {MIN|MAX}_CHAR_HEBREW.
2881 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
2882 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
2884 * char-ucs.h (MIN_CHAR_GREEK): Purged.
2885 (MAX_CHAR_GREEK): Purged.
2886 (MIN_CHAR_CYRILLIC): Purged.
2887 (MAX_CHAR_CYRILLIC): Purged.
2888 (MIN_CHAR_HEBREW): Commented out.
2889 (MAX_CHAR_HEBREW): Likewise.
2891 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2893 * mule-charset.c (Qto_ucs): New variable.
2894 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
2895 (Fdefine_char): Likewise.
2896 (syms_of_mule_charset): Add new symbol `=>ucs'.
2898 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2900 * mule-charset.c (Fdecode_char): Fixed.
2902 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2904 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
2905 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
2908 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2910 * mule-charset.c (Vcharset_ucs_big5): New variable.
2911 (Qucs_big5): Likewise.
2912 (syms_of_mule_charset): Add new symbol `ucs-big5'.
2913 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
2915 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
2917 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2919 * mule-charset.c (decode_builtin_char): Check Big5 code range
2920 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
2922 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2924 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
2925 (Qchinese_gb12345): Likewise.
2926 (Fdecode_builtin_char): Fixed.
2927 (syms_of_mule_charset): Add `chinese-gb12345'.
2928 (complex_vars_of_mule_charset): Add coded-charset
2931 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
2932 (LEADING_BYTE_CHINESE_GB12345): New macro.
2934 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2936 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
2937 and `latin-viscii-upper' for `latin-viscii'.
2939 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2941 * mule-charset.c (Fdecode_builtin_char): Comment out
2942 regularization code for ISO-IR GR representation.
2944 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2946 * mule-charset.c (decode_builtin_char): New function; renamed from
2947 `make_builtin_char'; return -1 instead of signal.
2948 (Fdecode_builtin_char): Use `decode_builtin_char'.
2950 * char-ucs.h (decode_builtin_char): New prototype; renamed from
2951 `make_builtin_char'.
2952 (DECODE_CHAR): Use `decode_builtin_char' instead of
2953 `make_builtin_char'; use mapping table of `chinese-big5' for
2954 `chinese-big5-{1,2}'.
2956 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2958 * text-coding.c (char_encode_big5): New function.
2959 (char_finish_big5): Likewise.
2960 (reset_encoding_stream): Use `char_encode_big5' and
2961 `char_finish_big5' for CODESYS_BIG5.
2962 (mule_encode): Don't use `encode_coding_big5'.
2963 (encode_coding_big5): Deleted.
2965 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2967 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
2968 0x81- in XEmacs UTF-2000.
2969 (detect_coding_big5): Likewise.
2971 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2973 * mule-charset.c (Fdefine_char): Don't use a CCS property to
2974 generate character-id if the CCS property does not have
2975 corresponding predefined character.
2976 (make_builtin_char): Return -1 if corresponding predefined
2977 character is not found.
2978 (Fdecode_char): Return nil if corresponding character is not
2980 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
2981 don't map to builtin ucs space.
2983 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2985 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
2986 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
2988 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2990 * mule-charset.c (Vcharset_ideograph_gt): New variable.
2991 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
2992 (Qideograph_gt): Likewise.
2993 (Qideograph_gt_pj_{1..11}): Likewise.
2994 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
2995 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
2996 `ideograph-gt-pj-11'.
2997 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
2998 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
2999 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
3001 * char-ucs.h (LEADING_BYTE_GT): New macro.
3002 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
3003 (MIN_CHAR_GT): Likewise.
3004 (MAX_CHAR_GT): Likewise.
3006 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3008 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
3009 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
3011 * doprnt.c (unsigned_int_converters): Add `c'.
3012 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
3014 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
3015 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
3017 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
3018 (MAX_CHAR_MOJIKYO_0): New macro.
3019 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
3021 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3023 * mule-charset.c (Fdefine_char): Delete cemented out code.
3024 (encode_builtin_char_1): Modify for new allocation of builtin
3027 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
3029 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3031 * mule-charset.c (Vcharset_ucs_cns): New variable.
3032 (Qucs_cns): New variable.
3033 (syms_of_mule_charset): Add new symbol `ucs-cns'.
3034 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
3036 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3038 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
3040 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3042 * search.c (search_buffer): Make `charset_base_code' as
3043 character-id >> 6 to eliminate the corresponding last byte in
3044 UTF-8 representation [I'm not sure it is right thing].
3045 (boyer_moore): Likewise.
3047 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3049 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
3050 representation in MULE.
3052 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3054 * text-coding.c (Fmake_coding_system): Use
3055 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
3056 `EXTERNAL_PROPERTY_LIST_LOOP'.
3058 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3060 * text-coding.c (decode_output_utf8_partial_char): New function.
3061 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
3063 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3065 * text-coding.c (decode_coding_utf8): Output original byte
3066 sequence if it is broken; change order of conditions.
3068 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
3071 * mb-multibyte.h (BYTE_ASCII_P):
3072 Use bit ops for char-signedness safety.
3073 (BYTE_C0_P): Use bit ops for char-signedness safety.
3074 (BYTE_C1_P): Use bit ops for char-signedness safety.
3076 * character.h: (XCHAR_OR_CHAR_INT):
3077 Always use inline function.
3078 Remove redundant type checking assert() - XINT will abort quite
3081 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3083 * text-coding.c: (Fencode_shift_jis_char):
3084 (Fencode_big5_char):
3085 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
3086 Replace 0 with '\0' when working with bytes.
3087 Replace initial "(" with "\(" in docstrings.
3089 (Fmake_coding_system):
3090 When type is ccl and value is vector, register it with a proper
3091 symbol. And checks whether the given ccl program is valid.
3092 (mule_decode): When calling ccl_driver, if src indicates
3093 NULL pointer, set an empty string instead.
3094 (mule_encode): Likewise.
3097 (detect_coding_sjis):
3098 (decode_coding_sjis):
3099 (detect_coding_big5):
3100 (decode_coding_big5):
3101 (detect_coding_ucs4):
3102 (decode_coding_ucs4):
3103 (detect_coding_utf8):
3104 (decode_coding_utf8):
3105 (detect_coding_iso2022):
3106 (decode_coding_iso2022):
3107 (decode_coding_no_conversion):
3109 Make all detecting and decoding functions take an Extbyte * arg.
3110 (text_encode_generic):
3111 (encode_coding_big5):
3112 (encode_coding_no_conversion):
3114 Make all encoding functions take a Bufbyte * arg.
3115 Use size_t instead of unsigned int for memory sizes.
3116 Only cast to unsigned char whenever dereferencing Extbyte *.
3118 (struct lrecord_description fcd_description_1): Use countof.
3119 (complex_vars_of_file_coding):
3120 Use countof instead of sizeof.
3121 Use CHECK_NATNUM instead of CHECK_INT.
3123 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3125 * mule-charset.c (Fget_char_attribute): Add new optional argument
3127 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
3128 (remove_char_ccs): Likewise.
3130 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3132 * text-coding.c (char_encode_shift_jis): New implementation in
3134 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
3137 * mule-charset.c (Vcharset_chinese_big5): New variable in
3139 (Qchinese_big5): New variable in UTF-2000.
3140 (BIG5_SAME_ROW): New macro in UTF-2000.
3141 (make_builtin_char): Use builtin characters of
3142 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
3143 characters of `Vcharset_chinese_big5'.
3144 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
3145 (complex_vars_of_mule_charset): Add new coded-charset
3146 `chinese-big5' in UTF-2000.
3148 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
3149 (Vcharset_chinese_big5): New external variable declaration.
3150 (Vcharset_japanese_jisx0208_1990): Likewise.
3152 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3154 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
3156 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
3158 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3160 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
3161 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
3162 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
3165 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3167 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
3169 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3171 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3174 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3176 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
3177 for `CHARSET_BY_ATTRIBUTES'.
3178 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3179 `CHARSET_BY_ATTRIBUTES'.
3181 * text-coding.c (struct decoding_stream): Rename member `CH' to
3183 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
3184 (decode_coding_sjis): Likewise.
3185 (decode_coding_big5): Likewise.
3186 (decode_coding_ucs4): Likewise.
3187 (decode_coding_utf8): Likewise.
3188 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3189 `CHARSET_BY_ATTRIBUTES'.
3190 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
3191 `str->counter'; decode 3, 4 bytes sets.
3192 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
3194 (decode_coding_no_conversion): Use `str->cpos' instead of
3197 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
3198 (Qmojikyo_2022_1): New variable.
3199 (make_charset): Don't use `CHARSET_TYPE_*'.
3200 (range_charset_code_point): Support coded-charset
3202 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
3203 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
3204 `CHARSET_BY_ATTRIBUTES'.
3205 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
3206 `CHARSET_BY_ATTRIBUTES'.
3207 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
3208 (complex_vars_of_mule_charset): Add new coded-charset
3211 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
3212 interface; changed to inline function.
3214 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
3215 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
3216 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
3217 (CHARSET_TYPE_94): Deleted.
3218 (CHARSET_TYPE_94X94): Deleted.
3219 (CHARSET_TYPE_96): Deleted.
3220 (CHARSET_TYPE_96X96): Deleted.
3221 (CHARSET_TYPE_128): Deleted.
3222 (CHARSET_TYPE_128X128): Deleted.
3223 (CHARSET_TYPE_256): Deleted.
3224 (CHARSET_TYPE_256X256): Deleted.
3225 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
3227 (DECODE_MOJIKYO_2022): New inline function.
3228 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
3229 `Vcharset_mojikyo_2022_1'.
3231 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3233 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
3235 (put_byte_table): Likewise.
3236 (char_id_table_equal): Use `get_byte_table' [new implementation].
3238 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3240 * mule-charset.c: Include <limits.h> in UTF-2000.
3241 (BT_UINT8_MIN): New macro in UTF-2000.
3242 (BT_UINT8_MAX): New macro in UTF-2000.
3243 (BT_UINT8_t): New macro in UTF-2000.
3244 (BT_UINT8_nil): New macro in UTF-2000.
3245 (BT_UINT8_unbound): New macro in UTF-2000.
3246 (INT_UINT8_P): New inline function in UTF-2000.
3247 (UINT8_VALUE_P): New inline function in UTF-2000.
3248 (UINT8_ENCODE): New inline function in UTF-2000.
3249 (UINT8_DECODE): New inline function in UTF-2000.
3250 (mark_uint8_byte_table): New function in UTF-2000.
3251 (print_uint8_byte_table): New function in UTF-2000.
3252 (uint8_byte_table_equal): New function in UTF-2000.
3253 (uint8_byte_table_hash): New function in UTF-2000.
3254 (make_uint8_byte_table): New function in UTF-2000.
3255 (uint8_byte_table_same_value_p): New function in UTF-2000.
3256 (BT_UINT16_MIN): New macro in UTF-2000.
3257 (BT_UINT16_MAX): New macro in UTF-2000.
3258 (BT_UINT16_t): New macro in UTF-2000.
3259 (BT_UINT16_nil): New macro in UTF-2000.
3260 (BT_UINT16_unbound): New macro in UTF-2000.
3261 (INT_UINT16_P): New inline function in UTF-2000.
3262 (UINT16_VALUE_P): New inline function in UTF-2000.
3263 (UINT16_ENCODE): New inline function in UTF-2000.
3264 (UINT16_DECODE): New inline function in UTF-2000.
3265 (UINT8_TO_UINT16): New inline function in UTF-2000.
3266 (mark_uint16_byte_table): New function in UTF-2000.
3267 (print_uint16_byte_table): New function in UTF-2000.
3268 (uint16_byte_table_equal): New function in UTF-2000.
3269 (uint16_byte_table_hash): New function in UTF-2000.
3270 (make_uint16_byte_table): New function in UTF-2000.
3271 (uint16_byte_table_same_value_p): New function in UTF-2000.
3272 (print_byte_table): New function in UTF-2000.
3273 (byte-table): Use `print_byte_table' as printer.
3274 (make_byte_table): Delete second argument `older'.
3275 (byte_table_same_value_p): New function in UTF-2000.
3276 (copy_byte_table): Deleted.
3277 (get_byte_table): New function in UTF-2000.
3278 (put_byte_table): New function in UTF-2000.
3279 (print_char_id_table): New function in UTF-2000.
3280 (char-id-table): Use `print_char_id_table' as printer.
3281 (make_char_id_table): Delete second argument `older'.
3282 (get_char_id_table): Use `get_byte_table [new implementation].
3283 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
3285 (Ffind_char_attribute_table): New function in UTF-2000.
3286 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3287 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
3288 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
3289 (syms_of_mule_charset): Add new function
3290 `find-char-attribute-table' in UTF-2000.
3292 * lrecord.h (enum lrecord_type): Add
3293 `lrecord_type_uint16_byte_table' and
3294 `lrecord_type_uint8_byte_table'.
3296 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
3297 (Lisp_Uint8_Byte_Table): New type.
3298 (XUINT8_BYTE_TABLE): New macro.
3299 (XSETUINT8_BYTE_TABLE): New macro.
3300 (UINT8_BYTE_TABLE_P): New macro.
3301 (GC_UINT8_BYTE_TABLE_P): New macro.
3302 (struct Lisp_Uint16_Byte_Table): New structure.
3303 (Lisp_Uint16_Byte_Table): New type.
3304 (XUINT16_BYTE_TABLE): New macro.
3305 (XSETUINT16_BYTE_TABLE): New macro.
3306 (UINT16_BYTE_TABLE_P): New macro.
3307 (GC_UINT16_BYTE_TABLE_P): New macro.
3309 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3311 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
3312 (Vcharacter_ideographic_strokes_table): Deleted.
3313 (Vcharacter_total_strokes_table): Deleted.
3314 (Vcharacter_morohashi_daikanwa_table): Deleted.
3315 (Vcharacter_decomposition_table): Deleted.
3316 (Qname): Deleted because it is duplicated.
3317 (Qideographic_radical): Deleted.
3318 (Qideographic_strokes): Deleted.
3319 (Qtotal_strokes): Deleted.
3320 (Qmorohashi_daikanwa): Deleted.
3321 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
3322 `ideographic-radical', `ideographic-strokes', `total-strokes',
3323 `morohashi-daikanwa' and `->decomposition'.
3324 (Fget_char_attribute): Likewise.
3325 (Fput_char_attribute): Likewise; use `make-vector' instead of
3326 `make_older_vector' for `->decomposition' value.
3327 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
3328 `ideograph-daikanwa'.
3329 (syms_of_mule_charset): Delete builtin symbols `name',
3330 `ideographic-radical', `ideographic-strokes', `total-strokes' and
3331 `morohashi-daikanwa'.
3332 (vars_of_mule_charset): Don't setup
3333 `Vcharacter_ideographic_radical_table',
3334 `Vcharacter_ideographic_strokes_table',
3335 `Vcharacter_total_strokes_table',
3336 `Vcharacter_morohashi_daikanwa_table' and
3337 `Vcharacter_decomposition_table'.
3339 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3341 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
3342 `make_older_vector', `make_vector_newer_1' and
3343 `make_vector_newer'.
3345 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
3346 `make_older_vector' and `make_vector_newer'.
3348 * config.h.in (HAVE_GGC): New macro.
3350 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3352 * mule-charset.c (struct char_attribute_list_closure): New
3353 structure in UTF-2000.
3354 (add_char_attribute_to_list_mapper): New function in UTF-2000.
3355 (Fchar_attribute_list): Likewise.
3356 (Fset_charset_mapping_table): Use `make_vector_newer'.
3357 (Fdecode_builtin_char): New function in UTF-2000.
3358 (syms_of_mule_charset): Add new function `char-attribute-list' and
3359 `decode-builtin-char' in UTF-2000.
3361 * lisp.h (make_vector_newer): New prototype.
3363 * alloc.c (make_vector_newer_1): New function.
3364 (make_vector_newer): New function.
3366 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3368 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
3371 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3373 * mule-charset.c (Vchar_attribute_hash_table): New variable.
3374 (Vcharacter_attribute_table): Deleted.
3375 (Vcharacter_name_table): Deleted.
3376 (put_char_attribute): Deleted.
3377 (remove_char_attribute): Deleted.
3378 (struct char_attribute_alist_closure): New structure.
3379 (add_char_attribute_alist_mapper): New function.
3380 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
3381 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
3382 (Fget_char_attribute): Likewise.
3383 (Fput_char_attribute): Likewise.
3384 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
3385 of `remove_char_attribute'.
3386 (Fdefine_char): Return character.
3387 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
3388 and `Vcharacter_name_table'.
3389 (complex_vars_of_mule_charset): Likewise
3390 `Vchar_attribute_hash_table'.
3392 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3394 * character.h (CHARC_CHARSET): New macro.
3395 (CHARC_CHARSET_ID): New macro.
3396 (CHARC_CODE_POINT): New macro.
3397 (CHARC_COLUMNS): New macro.
3398 (CHARC_TO_CHAR): New inline function.
3399 (CHARC_EQ): New inline function.
3400 (CHARC_ASCII_EQ): New inline function.
3401 (CHARC_IS_SPACE): New inline function.
3402 (ASCII_TO_CHARC): New inline function.
3404 * char-ucs.h (encode_char_2): Deleted.
3405 (ENCODE_CHAR): Use `encode_char_1' again.
3406 (breakup_char_1): Likewise.
3407 (CHAR_TO_CHARC): New inline function.
3409 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
3411 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3413 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
3414 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
3415 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
3416 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
3417 (create_string_text_block): Use `CHARC_ASCII_EQ' and
3419 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
3421 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
3423 (x_output_display_block): Use `CHARC_CHARSET' and
3426 * redisplay-tty.c (tty_output_display_block): Use
3428 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
3430 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
3432 * insdel.c (find_charsets_in_charc_string): Use
3434 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
3435 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
3436 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
3437 (convert_charc_string_into_malloced_string): Likewise.
3439 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3441 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
3442 instead of <Emchar_dynarr *> for buf; use
3443 `convert_bufbyte_string_into_charc_dynarr' instead of
3444 `convert_bufbyte_string_into_emchar_dynarr'; use
3445 `find_charsets_in_charc_string' instead of
3446 `find_charsets_in_emchar_string'.
3449 - Include "character.h".
3450 (struct rune): New member `cglyph'; delete member `chr'.
3452 * redisplay.c (redisplay_text_width_charc_string): New function;
3453 delete `redisplay_text_width_emchar_string'.
3454 (rtw_charc_dynarr): New variable; renamed from
3455 `rtw_emchar_dynarr'.
3456 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
3457 `rtw_emchar_dynarr'; use
3458 `convert_bufbyte_string_into_charc_dynarr' instead of
3459 `convert_bufbyte_string_into_emchar_dynarr'; use
3460 `redisplay_text_width_charc_string' instead of
3461 `redisplay_text_width_emchar_string'.
3462 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
3463 instead of `rtw_emchar_dynarr'; use
3464 `convert_bufbyte_string_into_charc_dynarr' instead of
3465 `convert_bufbyte_string_into_emchar_dynarr'.
3466 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
3467 `redisplay_text_width_charc_string' instead of
3468 `redisplay_text_width_emchar_string'.
3469 (create_text_block): Modify for <struct rune> change.
3470 (generate_formatted_string_db): Likewise.
3471 (create_string_text_block): Likewise.
3472 (pixel_to_glyph_translation): Likewise.
3474 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
3475 instead of <const Emchar *>.
3476 (x_text_width): Likewise.
3477 (x_output_display_block): Use <Charc_dynarr *> instead
3478 <Emchar_dynarr *>; modify for <structure rune> change.
3479 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
3482 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
3483 <const Emchar *>; use `charc_string_displayed_columns' instead of
3484 `emchar_string_displayed_columns'.
3485 (tty_output_display_block): Use <Charc_dynarr *> instead of
3486 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
3487 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
3488 (tty_output_charc_dynarr_dynarr): New variable; renamed from
3489 `tty_output_emchar_dynarr_dynarr'.
3490 (tty_output_charc_dynarr): New function; delete
3491 `tty_output_charc_dynarr'.
3493 * redisplay-output.c (compare_runes): Modify for `struct rune'.
3494 (redisplay_output_layout): Use <Charc_dynarr *> instead of
3495 <Emchar_dynarr *> for buf; use
3496 `convert_bufbyte_string_into_charc_dynarr' instead of
3497 `convert_bufbyte_string_into_emchar_dynarr'.
3499 * frame.c (title_string_charc_dynarr): New variable; renamed from
3500 `title_string_emchar_dynarr'.
3501 (generate_title_string): Use `title_string_charc_dynarr' instead
3502 of `title_string_emchar_dynarr'; use
3503 `convert_charc_string_into_malloced_string' instead of
3504 `convert_emchar_string_into_malloced_string'.
3505 (init_frame): Use `title_string_charc_dynarr' instead of
3506 `title_string_emchar_dynarr'.
3509 - Include "character.h".
3510 (struct console_methods): Use <const Charc *> instead of <const
3511 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
3512 <Emchar_dynarr *> in output_string_method.
3514 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
3517 * console-stream.c (stream_text_width): Use <const Charc *>
3518 instead of <const Emchar *>.
3520 * character.h (Charc_dynarr): New type.
3522 * char-ucs.h (structure Charc): New structure; define new type
3525 * char-lb.h (DECODE_CHAR): New inline function.
3526 (encode_char_1): New inline function.
3527 (ENCODE_CHAR): New macro.
3528 (structure Charc): New structure; define new type `Charc'.
3530 * char-1byte.h (Vcharset_control_1): New macro.
3531 (Vcharset_latin_iso8859_1): New macro.
3532 (DECODE_CHAR): New inline function.
3533 (encode_char_1): New inline function.
3534 (ENCODE_CHAR): New macro.
3535 (structure Charc): New structure; define new type `Charc'.
3537 * insdel.c (find_charsets_in_charc_string): New function; delete
3538 `find_charsets_in_emchar_string'.
3539 (charc_string_displayed_columns): New function; delete
3540 `emchar_string_displayed_columns'.
3541 (convert_bufbyte_string_into_charc_dynarr): New function; delete
3542 `convert_bufbyte_string_into_emchar_dynarr'.
3543 (convert_charc_string_into_bufbyte_dynarr): New function; delete
3544 `convert_charc_string_into_bufbyte_dynarr'.
3545 (convert_charc_string_into_malloced_string): New function; delete
3546 `convert_charc_string_into_malloced_string'.
3548 * buffer.h (find_charsets_in_charc_string): New prototype; delete
3549 `find_charsets_in_emchar_string'.
3550 (charc_string_displayed_columns): New prototype; delete
3551 `emchar_string_displayed_columns'.
3552 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
3553 `convert_charc_string_into_bufbyte_dynarr'.
3554 (convert_charc_string_into_malloced_string): New prototype; delete
3555 `convert_charc_string_into_malloced_string'.
3557 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3559 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
3561 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3563 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
3565 * char-ucs.h: Use <short> for <Charset_ID>.
3567 * mule-charset.h, char-1byte.h: Use <unsigned char> for
3570 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3572 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3575 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3577 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
3579 (Qmorohashi_daikanwa): New variable.
3580 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
3581 for `morohashi-daikanwa' attribute.
3582 (Fget_char_attribute): Likewise.
3583 (Fput_char_attribute): Likewise.
3584 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
3585 has the same value of `ideograph-daikanwa'.
3586 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
3587 (vars_of_mule_charset): Setup
3588 `Vcharacter_morohashi_daikanwa_table'.
3590 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3592 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
3594 (add_charset_to_list_mapper): Add `key' instead of
3595 `XCHARSET_NAME (value)' to return aliases.
3597 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3599 * mule-charset.c (Vcharacter_ideographic_radical_table): New
3601 (Vcharacter_ideographic_strokes_table): New variable.
3602 (Qideographic_radical): New variable.
3603 (Qideographic_strokes): New variable.
3604 (Fchar_attribute_alist): Use
3605 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
3606 attribute; use `Vcharacter_ideographic_strokes_table' for
3607 `ideographic-strokes' attribute.
3608 (Fget_char_attribute): Likewise.
3609 (Fput_char_attribute): Likewise.
3610 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
3611 `ideographic-strokes'.
3612 (vars_of_mule_charset): Setup
3613 `Vcharacter_ideographic_radical_table' and
3614 `Vcharacter_ideographic_strokes_table'.
3616 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3618 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
3619 (Qtotal_strokes): New variable.
3620 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
3621 `total-strokes' attribute.
3622 (Fget_char_attribute): Likewise.
3623 (Fput_char_attribute): Likewise.
3624 (syms_of_mule_charset): Add new symbol `total-strokes'.
3625 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
3627 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3629 * mule-charset.c (Vcharacter_decomposition_table): New variable.
3630 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
3632 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
3633 `->decomposition' attribute.
3634 (Fput_char_attribute): Likewise.
3635 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
3637 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3639 * mule-charset.c (decoding_table_check_elements): New function.
3640 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
3642 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3644 * mule-charset.c (Fset_charset_mapping_table): Use
3645 `put_char_ccs_code_point'.
3647 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3649 * mule-charset.c (decoding_table_put_char): New inline function.
3650 (put_char_ccs_code_point): Use `decoding_table_put_char'.
3652 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3654 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
3655 (XCHARSET_BYTE_SIZE): New macro.
3656 (decoding_table_remove_char): New inline function.
3657 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
3658 `decoding_table_remove_char'.
3659 (remove_char_ccs): Use `decoding_table_remove_char'.
3660 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
3662 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3664 * mule-charset.c (Vcharacter_name_table): New variable.
3665 (Qname): New variable.
3666 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
3668 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
3669 `Vcharacter_name_table' for `name' attribute.
3670 (Fremove_char_attribute): Use function `remove_char_ccs'.
3671 (put_char_ccs_code_point): New function.
3672 (remove_char_ccs): New function.
3673 (syms_of_mule_charset): Add new symbol `name'.
3674 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
3676 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3678 * mule-charset.c (make_byte_table): Add new argument `older'.
3679 (make_char_id_table): Likewise.
3680 (copy_char_id_table): Comment out because it is not used.
3681 (put_char_id_table): Modify for `make_byte_table'.
3682 (Fput_char_attribute): Make encoding_table as older object;
3683 inherit older bit of `Vcharacter_composition_table'.
3684 (mark_charset): Don't mark `cs->encoding_table'.
3685 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
3686 normal object; make `Vcharacter_composition_table' as an older
3687 object; delete staticpro for `Vcharacter_composition_table'; make
3688 `Vcharacter_variant_table' as a normal object.
3690 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
3691 (mark_object): Don't check older object in UTF-2000.
3693 * lrecord.h (struct lrecord_header): Add new member `older' in
3695 (set_lheader_implementation): Setup `SLI_header->older' in
3697 (set_lheader_older_implementation): New macro in UTF-2000.
3698 (OLDER_RECORD_P): New macro in UTF-2000.
3699 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
3700 (alloc_older_lcrecord): New prototype in UTF-2000.
3701 (alloc_older_lcrecord_type): New macro in UTF-2000.
3703 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3705 * mule-charset.c (byte_table_description): Use
3706 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
3707 (char_id_table_description): Delete bogus `, 1'.
3708 (Fget_char_attribute): Refer encoding_table of each coded-charset
3709 to get value of coded-charset attribute of a character.
3710 (Fput_char_attribute): Use `make_older_vector' instead of
3711 `make_vector'; use encoding_table of each coded-charset to store
3712 value of coded-charset attribute of a character.
3713 (Fremove_char_attribute): Use encoding_table of each coded-charset
3714 to store value of coded-charset attribute of a character.
3715 (mark_charset): Mark `cs->encoding_table'; don't mark
3716 `cs->decoding_table'.
3717 (charset_description): Add description of new member
3719 (make_charset): Initialize `encoding_table'.
3721 * char-ucs.h (struct Lisp_Charset): Add new member
3723 (CHARSET_ENCODING_TABLE): New macro.
3724 (XCHARSET_ENCODING_TABLE): New macro.
3725 (charset_code_point): New implementation.
3726 (encode_char_1): Likewise.
3728 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
3729 (disksave_object_finalization_1): Call finalizers of
3730 `all_older_lcrecords' in UTF-2000.
3731 (make_older_vector): New function in UTF-2000.
3732 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
3735 * lisp.h (make_older_vector): New prototype in UTF-2000.
3737 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3739 * lrecord.h (enum lrecord_type): Rename
3740 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
3742 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
3743 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
3744 `get_char_code_table'.
3746 * mule-charset.c (mark_char_id_table): Renamed from
3747 `mark_char_code_table'.
3748 (char_id_table_equal): Renamed from `char_code_table_equal'.
3749 (char_id_table_hash): Renamed from `char_code_table_hash'.
3750 (make_char_id_table): Renamed from `make_char_code_table'.
3751 (copy_char_id_table): Renamed from `copy_char_code_table'.
3752 (get_char_id_table): Renamed from `get_char_code_table'.
3753 (put_char_id_table): Renamed from `put_char_code_table'.
3754 (to_char_id): Renamed from `to_char_code'.
3756 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
3757 `Lisp_Char_Code_Table'.
3758 (char_id_table): Renamed from `char_code_table'.
3759 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
3760 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
3761 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
3762 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
3763 (get_char_id_table): Renamed from `get_char_code_table'.
3765 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3767 * lrecord.h (enum lrecord_type): Rename
3768 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
3770 * mule-charset.c (mark_byte_table): Renamed from
3771 `mark_char_byte_table'.
3772 (byte_table_equal): Renamed from `char_byte_table_equal'.
3773 (byte_table_hash): Renamed from `byte_table_hash'.
3774 (make_byte_table): Renamed from `make_byte_table'.
3775 (copy_byte_table): Renamed from `copy_char_byte_table'.
3777 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
3778 `Lisp_Char_Byte_Table'.
3779 (byte_table): Renamed from `char_byte_table'.
3780 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
3781 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
3782 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
3783 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
3785 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3787 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
3788 (dfc_convert_to_internal_format): Likewise.
3790 * text-coding.c (Fcoding_system_canonical_name_p): New function.
3791 * text-coding.c (Fcoding_system_alias_p): New function.
3792 * text-coding.c (Fcoding_system_aliasee): New function.
3793 * text-coding.c (append_suffix_to_symbol): New function.
3794 * text-coding.c (dangling_coding_system_alias_p): New function.
3795 * text-coding.c (Ffind_coding_system):
3796 * text-coding.c (Fcopy_coding_system):
3797 * text-coding.c (encode_coding_no_conversion):
3798 * text-coding.c (syms_of_file_coding):
3799 * text-coding.c (vars_of_file_coding):
3800 Rewrite coding system alias code.
3801 Allow nested aliases, like symbolic links.
3802 Allow redefinition of coding system aliases.
3803 Prevent existence of dangling coding system aliases.
3804 Eliminate convert_to_external_format.
3805 Eliminate convert_to_internal_format.
3807 * text-coding.c: Change enum eol_type to eol_type_t.
3809 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3811 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
3812 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3814 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
3815 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3817 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3819 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
3820 `ideograph-daikanwa'.
3822 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
3823 (Vcharset_ucs_bmp): Likewise.
3824 (Vcharset_mojikyo): Add new extern variable definition.
3825 (Vcharset_latin_iso8859_2): Deleted because it is not used.
3826 (Vcharset_latin_iso8859_3): Likewise.
3827 (Vcharset_latin_iso8859_4): Likewise.
3828 (Vcharset_latin_iso8859_9): Likewise.
3829 (Vcharset_latin_viscii_lower): Likewise.
3830 (Vcharset_latin_viscii_upper): Likewise.
3831 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
3832 `mojikyo' code-point is used to decode.
3833 (encode_char_2): New function [to convert `mojikyo' code-point to
3834 Mojikyo font encoding].
3835 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
3836 (breakup_char_1): Likewise.
3837 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
3839 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3841 * text-coding.c (Fmake_coding_system): Add document about
3842 `disable-composition' property.
3844 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3846 * text-coding.c (Qdisable_composition): New variable; delete
3848 (Fmake_coding_system): Add new property `disable-composite';
3849 delete property `composite'.
3850 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
3851 instead of `!CODING_SYSTEM_COMPOSITE'.
3852 (syms_of_file_coding): Add new symbol `disable-composition';
3853 delete symbol `composite'.
3855 * file-coding.h (struct Lisp_Coding_System): Add
3856 `disable_composition'; delete `enable_composition'.
3857 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3858 `CODING_SYSTEM_COMPOSITE'.
3859 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3860 `XCODING_SYSTEM_COMPOSITE'.
3862 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3864 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3867 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3869 * text-coding.c (Qcomposite): New variable.
3870 (Fmake_coding_system): Add new property `composite'.
3871 (struct decoding_stream): Add `combined_char_count',
3872 `combined_chars' and `combining_table' in UTF-2000.
3873 (COMPOSE_FLUSH_CHARS): New macro.
3874 (COMPOSE_ADD_CHAR): New macro.
3875 (reset_decoding_stream): Reset `str->combined_char_count' and
3876 `str->combining_table' in UTF-2000.
3877 (decode_coding_iso2022): Modify for character-decomposition.
3878 (syms_of_file_coding): Add new symbol `composite'.
3880 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3882 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
3883 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
3884 of `Vcharacter_composition_table' if `->decomposition' property
3886 (Qlatin_tcvn5712): New variable.
3887 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
3888 (complex_vars_of_mule_charset): Add new coded-charset
3891 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
3893 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3895 * file-coding.h (struct Lisp_Coding_System): Add
3896 `enable_composition'.
3897 (CODING_SYSTEM_COMPOSITE): New macro.
3898 (XCODING_SYSTEM_COMPOSITE): New macro.
3900 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
3902 * mule-canna.c (c2mu): Fix problem with UTF-2000.
3904 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
3906 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
3907 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
3909 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
3911 * mule-charset.c (Vcharset_mojikyo): New variable.
3912 (Fdefine_char): Don't use coded-charset which does not have
3913 non-builtin character range to allocate character-id.
3914 (Qmojikyo): New variable.
3915 (syms_of_mule_charset): Add new symbol `mojikyo'.
3916 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
3918 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
3919 (LEADING_BYTE_MOJIKYO): New macro.
3920 (MIN_CHAR_MOJIKYO): New macro.
3921 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
3922 (MAX_CHAR_MOJIKYO): New macro.
3924 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
3926 * mule-charset.c (remove_char_attribute): Fixed.
3928 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
3930 * mule-charset.c (remove_char_attribute): New function.
3931 (Fremove_char_attribute): New function.
3932 (encode_builtin_char_1): Comment out builtin-support for
3933 greek-iso8859-7 and cyrillic-iso8859-5.
3934 (Fdecode_char): Check `code' is an integer.
3935 (syms_of_mule_charset): Add `remove-char-attribute'.
3936 (MIN_CHAR_GREEK): Deleted.
3937 (MAX_CHAR_GREEK): Likewise.
3938 (MIN_CHAR_CYRILLIC): Likewise.
3939 (MAX_CHAR_CYRILLIC): Likewise.
3940 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
3941 MAX_CHAR_GREEK for `greek-iso8859-7'.
3943 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
3944 (MAX_CHAR_GREEK): Likewise.
3945 (MIN_CHAR_CYRILLIC): Likewise.
3946 (MAX_CHAR_CYRILLIC): Likewise.
3948 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
3950 * mule-charset.c (Fdefine_char): Fix problem when new code-point
3951 format is used without `ucs' property.
3952 (Fdecode_char): Fix problem with GR representation.
3953 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
3954 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
3956 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3958 * mule-charset.c (make_builtin_char): New function.
3959 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
3960 (Fset_charset_mapping_table): Modify for new representation of
3962 (Fdecode_char): New function.
3963 (syms_of_mule_charset): Add new builtin function `decode-char' in
3966 * char-ucs.h (make_builtin_char): New prototype.
3967 (DECODE_CHAR): New inline function.
3968 (MAKE_CHAR): Use `DECODE_CHAR'.
3970 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
3972 * text-coding.c (parse_charset_conversion_specs): Use
3973 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
3975 (iso2022_designate): Likewise.
3977 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
3978 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
3980 * mule-charset.c (Vcharset_ucs): New variable.
3981 (print_charset): Change design; use `CHARSET_CHARS' and
3982 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
3983 (make_charset): Change signature to specify `chars' and
3984 `dimension' instead of `type'.
3985 (range_charset_code_point): Modify for 256^n-set.
3986 (encode_builtin_char_1): Encode as `ucs' in default.
3987 (Fmake_charset): Modify for `make_charset'.
3988 (Fmake_reverse_direction_charset): Likewise.
3989 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
3991 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
3994 * char-ucs.h (Vcharset_ucs): New variable.
3995 (LEADING_BYTE_UCS): New macro.
3996 (struct Lisp_Charset): Delete `type'; change type of `dimension'
3997 and `chars' to `unsigned short' from `unsigned int'.
3998 (CHARSET_TYPE): Deleted.
3999 (XCHARSET_TYPE): Deleted.
4001 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
4003 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
4005 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
4006 (ENCODE_CHAR): New macro.
4008 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4010 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4011 to 0.14 (Kawachi-Katakami).
4013 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4015 * text-coding.c (char_encode_shift_jis): Modify for
4016 `charset_code_point'.
4017 (char_encode_iso2022): Likewise.
4019 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
4020 (integer) instead of list of <Lisp_Object>s (integers) as the
4021 format of code-point of a coded-charset.
4022 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4023 (encode_builtin_char_1): New function; delete
4024 `split_builtin_char'.
4025 (charset_code_point): Return <int> instead of <Lisp_Object>.
4026 (Fsplit_char): Don't use `SPLIT_CHAR'.
4028 * char-ucs.h (encode_builtin_char_1): New prototype; delete
4029 prototype for `split_builtin_char'.
4030 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4031 (charset_code_point): Likewise.
4032 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
4033 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
4035 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
4037 * mule-charset.c (complex_vars_of_mule_charset): Don't define
4038 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
4040 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4042 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
4044 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
4045 (MAX_CHAR_OBS_94x94): Deleted.
4047 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4049 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
4051 * char-ucs.h (MAX_CHAR_BMP): New macro.
4053 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4055 * text-coding.c: Sync with r21-2-24.
4057 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4059 * file-coding.c: Modify for UTF-2000.
4061 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4063 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4066 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4068 * mule-charset.c (split_builtin_char): Delete builtin support for
4069 `katakana-jisx0201'.
4070 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
4071 BMP area in builtin representation.
4073 * char-ucs.h (MAKE_CHAR): Delete builtin support for
4074 `Vcharset_katakana_jisx0201'.
4076 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
4078 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
4079 (Qisolated): New variable.
4080 (Qinitial): New variable.
4081 (Qmedial): New variable.
4082 (Qfinal): New variable.
4083 (Qvertical): New variable.
4084 (Qsmall): New variable.
4085 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
4086 `Qvertical' and `Qsmall'.
4087 (Qmojikyo_pj_[1 .. 21]): New variable.
4088 (syms_of_mule_charset): Add new symbols `isolated', `initial',
4089 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
4090 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
4093 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4095 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
4096 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
4097 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
4099 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4101 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
4102 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
4104 (Qjapanese_jisx0208_1990): New variable.
4105 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
4106 (complex_vars_of_mule_charset): Add new coded-charset
4107 `japanese-jisx0208-1990'.
4109 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
4110 (MIN_CHAR_JIS_X0208_1990): New macro.
4111 (MAX_CHAR_JIS_X0208_1990): New macro.
4113 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4115 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
4116 coded-charset is not found.
4118 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4120 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
4121 (Fdefine_char): Use `Fmake_char'.
4123 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4125 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
4126 (Vcharset_hiragana_jisx0208): Deleted.
4127 (Vcharset_katakana_jisx0208): Deleted.
4128 (Qideograph_daikanwa): New variable.
4129 (Qhiragana_jisx0208): Deleted.
4130 (Qkatakana_jisx0208): Deleted.
4131 (split_builtin_char): Split `ideograph-daikanwa'.
4132 (Fsplit_char): New implementation for UTF-2000.
4133 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
4134 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
4135 (complex_vars_of_mule_charset): Add new coded-charset
4136 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
4137 `katakana-jisx0208'.
4139 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
4140 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
4141 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
4142 (MIN_CHAR_DAIKANWA): New macro.
4143 (MAX_CHAR_DAIKANWA): New macro.
4145 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4147 * data.c (Fstring_to_number): Don't recognize floating point if
4150 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4152 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
4154 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4156 * mule-charset.c (Qsquare): New variable.
4157 (to_char_code): Add `Qsquare'.
4158 (syms_of_mule_charset): Add new symbol `square'.
4160 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4162 * mule-charset.c (Qcircle): New variable.
4163 (to_char_code): Add `Qcircle'.
4164 (syms_of_mule_charset): Add new symbol `circle'.
4166 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4168 * mule-charset.c (Qfont): New variable.
4169 (to_char_code): Add `Qfont'.
4170 (syms_of_mule_charset): Add new symbol `font'.
4172 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4174 * mule-charset.c (Qsub): New variable.
4175 (to_char_code): Add `Qsub'.
4176 (syms_of_mule_charset): Add new symbol `sub'.
4178 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4180 * mule-charset.c (Fput_char_attribute): Convert each element of
4181 VALUE to GL position if ATTRIBUTE is a GR-set,
4183 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4185 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
4186 coded-charset is a GR-set.
4188 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4190 * mule-charset.c (Fput_char_attribute): Check each element of
4191 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
4193 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4195 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
4197 (Qethiopic_ucs): New variable in UTF-2000.
4198 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
4199 (complex_vars_of_mule_charset): Add new coded-charset
4200 `ethiopic-ucs' in UTF-2000.
4202 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
4203 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4205 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4207 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
4209 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4211 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
4214 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4216 * mule-charset.c (Vcharacter_variant_table): New variable.
4217 (Q_ucs): New variable.
4218 (Fchar_variants): New function.
4219 (Fput_char_attribute): Register `->ucs' value to
4220 `Vcharacter_variant_table'.
4221 (syms_of_mule_charset): Add new function `char-variants' and new
4223 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
4225 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4227 * mule-charset.c (get_char_code_table): Allow negative character
4229 (put_char_code_table): Likewise.
4230 (Vcharacter_composition_table): New variable.
4231 (Q_decomposition): New variable.
4232 (Qwide): New variable.
4233 (Qnarrow): New variable.
4234 (Qcompat): New variable.
4235 (QnoBreak): New variable.
4236 (Qsuper): New variable.
4237 (Qfraction): New variable.
4238 (to_char_code): New function.
4239 (Fget_composite_char): New function.
4240 (Fput_char_attribute): Register `->decomposition' value to
4241 `Vcharacter_composition_table'.
4242 (syms_of_mule_charset): Add new function `get-composite-char', new
4243 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
4244 `super' and `fraction'.
4245 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
4247 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4249 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
4250 character; copy the return value.
4252 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4254 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
4256 * mule-charset.c (range_charset_code_point): Must use make_int.
4257 (split_builtin_char): New function.
4259 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4261 * mule-charset.c (char_byte_table): Change name from
4262 "char-code-table" to "char-byte-table".
4263 (mark_char_code_table): New function.
4264 (char_code_table_equal): New function.
4265 (char_code_table_hash): New function.
4266 (char_code_table_description): New constant.
4267 (char_code_table): New type.
4268 (make_char_code_table): New function.
4269 (copy_char_code_table): New function.
4270 (get_char_code_table): Modify for `char_code_table' type.
4271 (put_char_code_table): Likewise.
4272 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
4275 * char-ucs.h (char_code_table): New type.
4276 (XCHAR_CODE_TABLE): New macro.
4277 (XSETCHAR_CODE_TABLE): New macro.
4278 (CHAR_CODE_TABLE_P): New macro.
4279 (GC_CHAR_CODE_TABLE_P): New macro.
4280 (struct Lisp_Char_Code_Table): New structure.
4282 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4284 * mule-charset.c (Fmake_charset): Setup byte_offset for
4287 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
4289 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
4292 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4294 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
4297 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4299 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
4300 charset, it is regarded as a charset.
4301 (put_char_attribute): New function in UTF-2000.
4302 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
4303 charset, mapping-table of the charset is modified.
4304 (Fdefine_char): New function in UTF-2000.
4305 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
4306 `Fput_char_attribute'.
4307 (syms_of_mule_charset): Add new function `define-char' and new
4308 symbol `ucs' in UTF-2000.
4309 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
4311 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4313 * mule-charset.c (Fcharset_name): Define `byte_offset' in
4314 non-UTF-2000 configuration.
4316 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4318 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
4319 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
4321 * mule-charset.c (mark_charset): `cs->encoding_table' has been
4323 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
4324 (Fset_charset_mapping_table): Likewise.
4326 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
4327 (CHARSET_ENCODING_TABLE): Delete.
4328 (XCHARSET_ENCODING_TABLE): Delete.
4329 (charset_code_point): New interface.
4331 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4333 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
4334 instead of `charset_get_byte1' and `charset_get_byte2'.
4336 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
4337 (charset_get_byte2): Deleted.
4339 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4341 * char-ucs.h (SPLIT_CHAR): New inline function.
4342 (breakup_char_1): Use `SPLIT_CHAR'.
4344 * mule-charset.c (range_charset_code_point): New function.
4345 (charset_code_point): New function.
4347 * char-ucs.h (range_charset_code_point): New interface.
4348 (breakup_char_1): Use `range_charset_code_point'.
4350 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4352 * mule-charset.c (Fmake_charset): Delete unused local variable
4355 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
4356 (breakup_char_1): Find a charset and code-point in
4357 `Vcharacter_attribute_table'.
4359 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4361 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4364 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4366 * mule-charset.c (Vcharacter_attribute_table): New variable.
4367 (Fchar_attribute_alist): New function.
4368 (Fget_char_attribute): New function.
4369 (Fput_char_attribute): New function.
4370 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
4372 (syms_of_mule_charset): Add new function `char-attribute-alist',
4373 `get-char-attribute' and `put-char-attribute'.
4374 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
4376 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
4378 * mule-charset.c (Fmake_charset): Just use
4379 `get_unallocated_leading_byte'.
4381 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
4382 sets; don't use final-byte based number for private sets.
4384 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4386 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
4389 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4391 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4394 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4396 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
4397 of `CHAR_LEADING_BYTE' in UTF-2000.
4399 * insdel.c (find_charsets_in_bufbyte_string): Use
4400 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4401 (find_charsets_in_emchar_string): Likewise.
4403 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
4404 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4406 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
4407 (CHAR_CHARSET_ID): New macro.
4409 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4411 * chartab.c (get_char_table): Don't use type `Charset_ID' for
4412 charset-id - MIN_LEADING_BYTE.
4413 (put_char_table): Likewise.
4415 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4417 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
4418 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
4419 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
4420 (CHARSET_ID_OFFSET): New macro.
4421 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
4422 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
4423 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
4424 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4426 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4428 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
4429 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
4430 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
4431 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
4432 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
4434 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4436 * mule-charset.c (next_allocated_leading_byte): New variable in
4438 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
4439 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
4440 (get_unallocated_leading_byte): Simply use
4441 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
4442 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
4445 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
4446 (MAX_LEADING_BYTE_PRIVATE): New macro.
4447 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
4448 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
4450 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4452 * mule-charset.c (Fmake_charset): Allocate final-byte based
4453 charset-id for 94-set, 96-set and 94x94-set.
4455 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4457 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
4459 (Fmake_charset): Likewise.
4460 (complex_vars_of_mule_charset): Modify the font registry of
4461 `ucs-bmp' not to match `Ethiopic-Unicode'.
4463 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4465 * mule-charset.c (complex_vars_of_mule_charset): Add font
4466 registory of `ucs-bmp'.
4468 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4470 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
4471 coded-charsets in `default-coded-charset-priority-list' when
4472 breaking up a character.
4474 * mule-charset.c (Vcharset_latin_viscii): New variable.
4475 (Qlatin_viscii): New variable.
4476 (make_charset): Don't use `decoding_table'.
4477 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
4479 (Fset_charset_mapping_table): New implementation.
4480 (syms_of_mule_charset): Add new symbol `latin-viscii'.
4481 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
4482 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
4483 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
4484 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
4485 charset `latin_viscii'.
4487 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
4488 (CHARSET_TYPE_94X94): Change to 1 from 2.
4489 (CHARSET_TYPE_96): Change to 2 from 1.
4490 (CHARSET_TYPE_128): New macro.
4491 (CHARSET_TYPE_128X128): Change to 5 from 4.
4492 (CHARSET_TYPE_256): New macro.
4493 (CHARSET_TYPE_256X256): Change to 7 from 5.
4494 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
4496 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4498 * text-coding.c (char_encode_shift_jis): Refer
4499 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
4500 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
4502 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
4503 (char_byte_table_equal): New function in UTF-2000.
4504 (char_byte_table_hash): New function in UTF-2000.
4505 (char_byte_table_description): New constant in UTF-2000.
4506 (char_byte_table): New type in UTF-2000.
4507 (make_char_byte_table): New function in UTF-2000.
4508 (copy_char_byte_table): New function in UTF-2000.
4509 (make_char_code_table): New macro in UTF-2000.
4510 (get_char_code_table): New function in UTF-2000.
4511 (put_char_code_table): New function in UTF-2000.
4512 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
4513 (charset_description): Add setting in UTF-2000.
4514 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
4515 `CHARSET_TO_BYTE1_TABLE(cs)'.
4516 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
4517 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
4518 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
4519 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
4520 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
4521 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
4522 `CHARSET_TO_BYTE2_TABLE(cs)'.
4524 * char-ucs.h (char_byte_table): New type.
4525 (XCHAR_BYTE_TABLE): New macro.
4526 (XSETCHAR_BYTE_TABLE): New macro.
4527 (CHAR_BYTE_TABLE_P): New macro.
4528 (GC_CHAR_BYTE_TABLE_P): New macro.
4529 (struct Lisp_Char_Byte_Table): New structure.
4530 (get_char_code_table): New interface.
4531 (Emchar_to_byte_table): Deleted.
4532 (get_byte_from_character_table): Deleted.
4533 (struct Lisp_Charset): Add `encoding_table'; delete
4534 `to_byte1_table' and `to_byte2_table'.
4535 (CHARSET_ENCODING_TABLE): New macro.
4536 (CHARSET_TO_BYTE1_TABLE): Deleted.
4537 (CHARSET_TO_BYTE2_TABLE): Deleted.
4538 (XCHARSET_ENCODING_TABLE): New macro.
4539 (XCHARSET_TO_BYTE1_TABLE): Deleted.
4540 (XCHARSET_TO_BYTE2_TABLE): Deleted.
4542 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4544 * mule-charset.c (syms_of_mule_charset): Delete charset alias
4545 `vietnamese-viscii-*'.
4547 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4549 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
4550 (Qvietnamese_viscii_upper): New variable.
4551 (Fdefine_charset_alias): New function.
4552 (syms_of_mule_charset): Add new function `define-charset-alias'.
4553 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
4554 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
4557 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
4559 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
4560 (MAX_CHAR_OBS_94x94): New macro.
4561 (breakup_char_1): Support obsolete XEmacs-UCS private code space
4564 * mule-charset.c (put_byte_from_character_table): Change unit size
4566 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
4568 (Fmake_reverse_direction_charset): Modify dummy argument of
4569 `make_charset' for non-UTF-2000 environment.
4571 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4573 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
4575 * mule-charset.c (destroy_byte_from_character_table): New macro.
4576 (latin_jisx0201_to_ucs): Deleted.
4577 (latin_iso8859_2_to_ucs): Deleted.
4578 (latin_iso8859_3_to_ucs): Deleted.
4579 (latin_iso8859_4_to_ucs): Deleted.
4580 (latin_iso8859_9_to_ucs): Deleted.
4581 (latin_viscii_lower_to_ucs): Deleted.
4582 (latin_viscii_upper_to_ucs): Deleted.
4583 (mark_charset): Mark `cs->decoding_table'.
4584 (Fcharset_mapping_table): Fix DOC-string.
4585 (Fset_charset_mapping_table): New function.
4586 (syms_of_mule_charset): Add nwe function
4587 `set-charset-mapping-table'.
4588 (complex_vars_of_mule_charset): Don't setup and use
4591 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
4593 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
4596 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
4598 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
4599 (Vcharset_katakana_jisx0208): New variable.
4600 (Qhiragana_jisx0208): New variable.
4601 (Qkatakana_jisx0208): New variable.
4602 (make_charset): Add new argument `byte_offset'.
4603 (charset_get_byte1): Modify for new coded-charset definition; use
4604 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4605 `XCHARSET_BYTE_OFFSET'.
4606 (Fmake_charset): Modify for `make_charset'.
4607 (Fmake_reverse_direction_charset): Likewise.
4608 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
4609 `katakana-jisx0208'.
4610 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
4611 `.' in font registry of charset `katakana-jisx0201',
4612 `latin-jisx0201', `vietnamese-viscii-lower' and
4613 `vietnamese-viscii-upper'; modify DOC-string of charset
4614 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
4615 registry of charset `japanese-jisx0208' not to use font for JIS
4616 X0208:1990; add new charset `hiragana-jisx0208' and
4617 `katakana-jisx0208'.
4619 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
4620 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
4621 (struct Lisp_Charset): Add `byte_offset'.
4622 (CHARSET_BYTE_OFFSET): New macro.
4623 (XCHARSET_UCS_MIN): New macro.
4624 (XCHARSET_UCS_MAX): New macro.
4625 (XCHARSET_CODE_OFFSET): New macro.
4626 (XCHARSET_BYTE_OFFSET): New macro.
4627 (MIN_CHAR_HIRAGANA): New macro.
4628 (MAX_CHAR_HIRAGANA): New macro.
4629 (MIN_CHAR_KATAKANA): New macro.
4630 (MAX_CHAR_KATAKANA): New macro.
4631 (MAKE_CHAR): Modify for new coded-charset definition; use
4632 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4633 `XCHARSET_BYTE_OFFSET'.
4635 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4637 * mule-charset.c (CHAR96): Deleted.
4638 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
4640 (latin_iso8859_2_to_ucs): Likewise.
4641 (latin_iso8859_3_to_ucs): Likewise.
4642 (latin_iso8859_4_to_ucs): Likewise.
4643 (latin_iso8859_9_to_ucs): Likewise.
4644 (latin_viscii_lower_to_ucs): Likewise.
4645 (latin_viscii_upper_to_ucs): Likewise.
4646 (latin_tcvn5712_to_ucs): Commented out.
4647 (make_charset): Change type of argument `decoding_table' from
4648 <Emchar*> to <Lisp_Object> [vector of characters].
4649 (Fmake_charset): Modify for `make_charset'.
4650 (Fmake_reverse_direction_charset): Likewise.
4651 (Fcharset_mapping_table): New function in UTF-2000.
4652 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
4654 (complex_vars_of_mule_charset): Modify for type change of
4655 `*_to_ucs'; modify for `make_charset'.
4657 * char-ucs.h (struct Lisp_Charset): Change type of
4658 `decoding_table' from <Emchar*> to <Lisp_Object>.
4659 (MAKE_CHAR): Modify for new specification of `decoding_table'.
4661 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4663 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
4664 error with non-UTF-2000-Mule.
4666 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
4668 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
4670 (Vcharset_chinese_cns11643_4): Likewise.
4671 (Vcharset_chinese_cns11643_5): Likewise.
4672 (Vcharset_chinese_cns11643_6): Likewise.
4673 (Vcharset_chinese_cns11643_7): Likewise.
4674 (Qchinese_cns11643_3): Likewise.
4675 (Qchinese_cns11643_4): Likewise.
4676 (Qchinese_cns11643_5): Likewise.
4677 (Qchinese_cns11643_6): Likewise.
4678 (Qchinese_cns11643_7): Likewise.
4679 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
4680 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4681 and `chinese-cns11643-7' to lisp/mule/chinese.el.
4682 (complex_vars_of_mule_charset): Likewise.
4684 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4686 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
4688 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
4689 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
4691 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4693 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
4695 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
4696 (breakup_char_1): Likewise.
4698 * text-coding.c (char_encode_iso2022): Keep designated charsets if
4699 one of them includes the specified character.
4701 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4703 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
4705 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4707 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
4709 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4711 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
4712 definition for non-UTF-2000 Mule.
4713 (latin_iso8859_3_to_ucs): Likewise.
4714 (latin_iso8859_4_to_ucs): Likewise.
4715 (latin_iso8859_9_to_ucs): Likewise.
4716 (latin_jisx0201_to_ucs): Likewise.
4717 (MIN_CHAR_THAI): Likewise.
4718 (MAX_CHAR_THAI): Likewise.
4719 (MIN_CHAR_GREEK): Likewise.
4720 (MAX_CHAR_GREEK): Likewise.
4721 (MIN_CHAR_HEBREW): Likewise.
4722 (MAX_CHAR_HEBREW): Likewise.
4723 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
4724 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
4725 (MIN_CHAR_CYRILLIC): Likewise.
4726 (MAX_CHAR_CYRILLIC): Likewise.
4728 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4730 * char-ucs.h (breakup_char_1): Use
4731 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
4732 thai-tis620 and katakana-jisx0201 area.
4734 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4736 * char-ucs.h (breakup_char_1): Use
4737 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
4740 * text-coding.c (reset_encoding_stream): Fixed.
4741 (char_encode_ucs4): Delete `& 255'.
4743 * char-ucs.h (breakup_char_1): Use
4744 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
4746 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4748 * file-coding.c (Fmake_coding_system): Don't set up
4749 `codesys->fixed.size'.
4750 (encode_coding_no_conversion): Don't refer
4751 `str->codesys->fixed.size'.
4753 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4755 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
4756 (latin_a_char_to_byte1): Deleted.
4757 (latin_a_char_to_byte2): Deleted.
4759 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4761 * mule-charset.c (make_charset): Add new argument `ucs_min',
4762 `ucs_max' and `code_offset'.
4763 (charset_get_byte1): New implementation [delete specific charset
4764 depended implementations].
4765 (Fmake_charset): Modify for `make_charset'.
4766 (Fmake_reverse_direction_charset): Likewise.
4767 (complex_vars_of_mule_charset): Likewise.
4769 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
4771 (CHARSET_UCS_MIN): New macro.
4772 (CHARSET_UCS_MAX): New macro.
4773 (CHARSET_CODE_OFFSET): New macro.
4774 (MAKE_CHAR): Delete charset depended definitions [except
4777 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4779 * char-ucs.h (breakup_char_1): Use
4780 `Vdefault_coded_charset_priority_list' for C0-Controls,
4781 Basic-Latin, C1-Controls and Latin-1-Supplement area.
4783 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4785 * char-ucs.h (charset_get_byte1): New function.
4786 (XCHARSET_GET_BYTE1): Deleted.
4787 (charset_get_byte2): New function.
4788 (XCHARSET_GET_BYTE2): Deleted.
4789 (Vdefault_coded_charset_priority_list): New external variable.
4790 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
4791 `Vdefault_preferred_coded_charset_list'.
4793 * mule-charset.c (charset_get_byte1): New function.
4794 (charset_get_byte2): New function.
4795 (Vdefault_coded_charset_priority_list): New variable.
4796 (vars_of_mule_charset): Add new variable
4797 `default-coded-charset-priority-list'.
4799 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4801 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
4802 (XCHARSET_GET_BYTE2): New inline function.
4803 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
4804 `XCHARSET_GET_BYTE2'.
4806 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4808 * mule-charset.c (make_charset): Initialize
4809 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
4810 NULL if table is not defined.
4812 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4814 * text-coding.c (char_encode_shift_jis): Use
4815 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
4816 `ucs_to_latin_jisx0201'.
4818 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
4819 (ucs_to_latin_iso8859_2): Deleted.
4820 (ucs_to_latin_iso8859_3): Deleted.
4821 (ucs_to_latin_iso8859_4): Deleted.
4822 (ucs_to_latin_iso8859_9): Deleted.
4823 (ucs_to_latin_viscii_lower): Deleted.
4824 (ucs_to_latin_viscii_upper): Deleted.
4825 (ucs_to_latin_tcvn5712): Deleted.
4826 (make_charset): Add new argument `decoding_table'; set up
4827 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
4828 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
4829 `decoding_table' is defined in UTF-2000.
4830 (Fmake_charset): Modify for `make_charset'.
4831 (Fmake_reverse_direction_charset): Likewise.
4832 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
4833 and `GENERATE_96_SET'.
4835 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
4836 (ucs_to_latin_jisx0201): Deleted.
4837 (latin_iso8859_2_to_ucs): Deleted.
4838 (ucs_to_latin_iso8859_2): Deleted.
4839 (latin_iso8859_3_to_ucs): Deleted.
4840 (ucs_to_latin_iso8859_3): Deleted.
4841 (latin_iso8859_4_to_ucs): Deleted.
4842 (ucs_to_latin_iso8859_4): Deleted.
4843 (latin_iso8859_9_to_ucs): Deleted.
4844 (ucs_to_latin_iso8859_9): Deleted.
4845 (latin_viscii_lower_to_ucs): Deleted.
4846 (ucs_to_latin_viscii_lower): Deleted.
4847 (latin_viscii_upper_to_ucs): Deleted.
4848 (ucs_to_latin_viscii_upper): Deleted.
4849 (struct Lisp_Charset): Renamed `encoding_table' to
4850 `to_byte1_table'; add `to_byte2_table'.
4851 (CHARSET_DECODING_TABLE): New macro.
4852 (CHARSET_TO_BYTE1_TABLE): New macro.
4853 (CHARSET_TO_BYTE2_TABLE): New macro.
4854 (XCHARSET_DECODING_TABLE): New macro.
4855 (XCHARSET_TO_BYTE1_TABLE): New macro.
4856 (XCHARSET_TO_BYTE2_TABLE): New macro.
4857 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
4859 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
4860 don't use `ucs_to_*' tables.
4862 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4864 * text-coding.c (Fmake_coding_system): Don't set up
4865 `codesys->fixed.size'.
4866 (encode_coding_no_conversion): Use `if' instead of `switch'.
4868 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
4870 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4872 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
4873 (Fmake_charset): Modify for `make_charset'.
4874 (Fmake_reverse_direction_charset): Likewise.
4875 (complex_vars_of_mule_charset): Likewise.
4877 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4879 * text-coding.c (char_encode_shift_jis): Use table
4880 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
4882 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4884 * text-coding.c (text_encode_generic): Use `if' instead of
4886 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
4889 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4891 * text-coding.c (encode_coding_sjis): Deleted.
4892 (char_encode_shift_jis): New function.
4893 (char_finish_shift_jis): New function.
4894 (reset_encoding_stream): Set up `encode_char' and `finish' for
4895 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
4896 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
4897 (char_encode_utf8): Treat `eol_type'.
4899 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4901 * file-coding.c (decode_coding_iso2022): Use
4902 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
4904 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4906 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4909 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4911 * char-lb.h (CHAR_COLUMNS): New macro.
4913 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4915 * text-coding.c (char_encode_ucs4): New function.
4916 (char_finish_ucs4): New function.
4917 (encode_coding_ucs4): Deleted.
4918 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
4919 (text_encode_generic): Delete local variable `charset' and `half'.
4920 (ucs_to_mule_table): Deleted.
4921 (mule_to_ucs_table): Deleted.
4922 (Fset_ucs_char): Deleted.
4923 (ucs_to_char): Deleted.
4924 (Fucs_char): Deleted.
4925 (Fset_char_ucs): Deleted.
4926 (Fchar_ucs): Deleted.
4927 (decode_ucs4): Deleted.
4928 (mule_char_to_ucs4): Deleted.
4929 (encode_ucs4): Deleted.
4930 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
4931 (decode_coding_utf8): Likewise.
4932 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
4933 (char_encode_iso2022): Fixed.
4934 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
4935 `Fset_char_ucs' and `Fchar_ucs'.
4936 (complex_vars_of_file_coding): Don't initialize
4937 `ucs_to_mule_table'.
4939 * objects-tty.c (tty_initialize_font_instance): Don't use
4942 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
4945 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
4946 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4948 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
4949 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4950 (emchar_string_displayed_columns): Likewise.
4952 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
4953 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4954 (string_column_at_point): Likewise.
4955 (Fmove_to_column): Likewise.
4957 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
4958 `encoding_table' and `decoding_table'.
4959 (CHARSET_REP_BYTES): Deleted.
4960 (XCHARSET_REP_BYTES): Deleted.
4961 (XCHARSET_COLUMNS): Deleted.
4962 (CHAR_COLUMNS): New macro.
4963 (lookup_composite_char): Deleted unconditionally.
4964 (composite_char_string): Likewise.
4966 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4968 * char-ucs.h (Emchar_to_byte_table): New type.
4969 (get_byte_from_character_table): New function interface.
4970 (Vcharset_latin_jisx0201): New variable.
4971 (latin_jisx0201_to_ucs): New variable.
4972 (ucs_to_latin_jisx0201): New variable.
4973 (Vcharset_latin_iso8859_2): New variable.
4974 (latin_iso8859_2_to_ucs): New variable.
4975 (ucs_to_latin_iso8859_2): New variable.
4976 (Vcharset_latin_iso8859_3): New variable.
4977 (latin_iso8859_3_to_ucs): New variable.
4978 (ucs_to_latin_iso8859_3): New variable.
4979 (Vcharset_latin_iso8859_4): New variable.
4980 (latin_iso8859_4_to_ucs): New variable.
4981 (ucs_to_latin_iso8859_4): New variable.
4982 (Vcharset_latin_iso8859_9): New variable.
4983 (latin_iso8859_9_to_ucs): New variable.
4984 (ucs_to_latin_iso8859_9): New variable.
4985 (Vcharset_latin_viscii_lower): New variable.
4986 (latin_viscii_lower_to_ucs): New variable.
4987 (ucs_to_latin_viscii_lower): New variable.
4988 (Vcharset_latin_viscii_upper): New variable.
4989 (latin_viscii_upper_to_ucs): New variable.
4990 (ucs_to_latin_viscii_upper): New variable.
4991 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
4992 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
4993 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
4994 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
4995 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
4996 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
4997 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
4998 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
4999 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
5000 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
5002 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
5003 (Vcharset_latin_viscii_upper): New variable.
5004 (make_byte_from_character_table): New function.
5005 (put_byte_from_character_table): New function.
5006 (get_byte_from_character_table): New function.
5007 (CHAR96): New macro.
5008 (ucs_to_latin_jisx0201): New variable.
5009 (latin_jisx0201_to_ucs): New variable.
5010 (ucs_to_latin_iso8859_2): New variable.
5011 (latin_iso8859_2_to_ucs): New variable.
5012 (ucs_to_latin_iso8859_3): New variable.
5013 (latin_iso8859_3_to_ucs): New variable.
5014 (ucs_to_latin_iso8859_4): New variable.
5015 (latin_iso8859_4_to_ucs): New variable.
5016 (ucs_to_latin_iso8859_9): New variable.
5017 (latin_iso8859_9_to_ucs): New variable.
5018 (ucs_to_latin_viscii_lower): New variable.
5019 (latin_viscii_lower_to_ucs): New variable.
5020 (ucs_to_latin_viscii_upper): New variable.
5021 (latin_viscii_upper_to_ucs): New variable.
5022 (ucs_to_latin_tcvn5712): New variable.
5023 (latin_tcvn5712_to_ucs): New variable.
5024 (Qlatin_viscii_lower): New variable.
5025 (Qlatin_viscii_upper): New variable.
5026 (syms_of_mule_charset): Set up new symbol
5027 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
5028 (complex_vars_of_mule_charset): Set up new charset
5029 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
5030 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
5031 `ucs_to_<CHARSET>' tables.
5033 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
5035 * text-coding.c: New file.
5037 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
5039 * mule-charset.c (Fmake_char): Fix problem of 256-set.
5041 * char-ucs.h (Vcharset_ucs_bmp): New variable.
5042 (MAKE_CHAR): Modify for `ucs-bmp'.
5043 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
5044 non-MULE characters of BMP.
5046 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
5048 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5051 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
5054 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
5055 - Include character.h for `CHAR_ASCII_P'.
5057 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
5059 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
5060 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
5062 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
5063 (BYTE_C0_P): Likewise.
5064 (BYTE_C1_P): Likewise.
5065 (Lstream_get_emchar_1): Likewise.
5066 (Lstream_fput_emchar): Likewise.
5067 (Lstream_funget_emchar): Likewise.
5068 (copy_internal_to_external): Likewise.
5069 (copy_external_to_internal): Likewise.
5071 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
5072 (BYTE_C0_P): Likewise.
5073 (BYTE_C1_P): Likewise.
5074 (Lstream_get_emchar_1): Likewise.
5075 (Lstream_fput_emchar): Likewise.
5076 (Lstream_funget_emchar): Likewise.
5077 (copy_internal_to_external): Likewise.
5078 (copy_external_to_internal): Likewise.
5080 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
5081 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5083 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
5084 (BYTE_ASCII_P): Moved to mb-1byte.h.
5086 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
5088 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
5090 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
5091 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
5092 (VALID_CHARPTR_P): Moved to mb-*byte.h.
5093 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5094 (VALIDATE_CHARPTR_FORWARD): Likewise.
5095 (simple_charptr_emchar): Moved to mb-multibyte.h.
5096 (simple_set_charptr_emchar): Likewise.
5097 (simple_charptr_copy_char): Likewise.
5098 (non_ascii_charptr_emchar): Likewise.
5099 (non_ascii_set_charptr_emchar): Likewise.
5100 (non_ascii_charptr_copy_char): Likewise.
5101 (charptr_emchar): Moved to mb-*byte.h.
5102 (set_charptr_emchar): Likewise.
5103 (charptr_copy_char): Likewise.
5105 * mb-1byte.h, mb-multibyte.h: New files.
5107 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
5109 * mb-utf-8.h (MULTIBYTE): New macro.
5110 (MAX_EMCHAR_LEN): Moved from buffer.h.
5111 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
5113 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
5115 * mb-lb.h, multibyte.h: New files.
5117 * char-1byte.h (Charset_ID): Moved from buffer.h.
5118 (MIN_LEADING_BYTE): Likewise.
5119 (LEADING_BYTE_ASCII): Likewise.
5120 (NUM_LEADING_BYTES): Likewise.
5121 (CHARSETP): Likewise.
5122 (CHARSET_BY_LEADING_BYTE): Likewise.
5123 (XCHARSET_LEADING_BYTE): Likewise.
5124 (XCHARSET_GRAPHIC): Likewise.
5125 (XCHARSET_COLUMNS): Likewise.
5126 (XCHARSET_DIMENSION): Likewise.
5127 (CHAR_CHARSET): Likewise.
5128 (CHAR_LEADING_BYTE): Likewise.
5129 (BREAKUP_CHAR): Likewise.
5130 (Vcharset_ascii): Likewise.
5132 * buffer.h: Include multibyte.h unconditionally.
5133 (VALID_CHARPTR_P): Moved to multibyte.h.
5134 (ASSERT_VALID_CHARPTR): Likewise.
5135 (REAL_INC_CHARPTR): Likewise.
5136 (REAL_INC_CHARBYTIND): Likewise.
5137 (REAL_DEC_CHARPTR): Likewise.
5138 (INC_CHARPTR): Likewise.
5139 (INC_CHARBYTIND): Likewise.
5140 (DEC_CHARPTR): Likewise.
5141 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5142 (VALIDATE_CHARPTR_FORWARD): Likewise.
5143 (charptr_n_addr): Likewise.
5144 (MAX_EMCHAR_LEN): Moved to mb-*.h.
5145 (simple_charptr_emchar): Moved to multibyte.h.
5146 (simple_set_charptr_emchar): Likewise.
5147 (simple_charptr_copy_char): Likewise.
5148 (non_ascii_charptr_emchar): Likewise.
5149 (non_ascii_set_charptr_emchar): Likewise.
5150 (non_ascii_charptr_copy_char): Likewise.
5151 (charptr_emchar): Likewise.
5152 (set_charptr_emchar): Likewise.
5153 (charptr_copy_char): Likewise.
5154 (charptr_emchar_n): Likewise.
5155 (Charset_ID): Moved to char-1byte.h.
5156 (Vcharset_ascii): Likewise.
5157 (CHAR_CHARSET): Likewise.
5158 (CHAR_LEADING_BYTE): Likewise.
5159 (LEADING_BYTE_ASCII): Likewise.
5160 (NUM_LEADING_BYTES): Likewise.
5161 (MIN_LEADING_BYTE): Likewise.
5162 (CHARSETP): Likewise.
5163 (CHARSET_BY_LEADING_BYTE): Likewise.
5164 (XCHARSET_LEADING_BYTE): Likewise.
5165 (XCHARSET_GRAPHIC): Likewise.
5166 (XCHARSET_COLUMNS): Likewise.
5167 (XCHARSET_DIMENSION): Likewise.
5168 (BREAKUP_CHAR): Likewise.
5170 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5172 * character.h: Add document about interface for characters.
5174 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
5175 (MAKE_CHAR): Delete comment about
5176 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
5177 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
5178 (BREAKUP_CHAR): Modify name of arguments.
5179 (CHAR_CHARSET): Modify name of argument.
5181 * buffer.h: Delete document about Emchar accessors.
5183 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5185 * character.h (CHAR_INTP): Moved from buffer.h
5186 (CHAR_OR_CHAR_INTP): Likewise.
5187 (XCHAR_OR_CHAR_INT): Likewise.
5188 (CHECK_CHAR_COERCE_INT): Likewise.
5190 * buffer.h (CHAR_INTP): Moved to character.h
5191 (CHAR_OR_CHAR_INTP): Likewise.
5192 (XCHAR_OR_CHAR_INT): Likewise.
5193 (CHECK_CHAR_COERCE_INT): Likewise.
5195 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5198 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
5199 - Include char-1byte.h, char-lb.h or char-ucs.h.
5201 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
5203 * buffer.h: Include character unconditionally.
5204 (valid_char_p): Moved to char-*.h.
5205 (non_ascii_valid_char_p): Moved to char-lb.h.
5207 * char-1byte.h, char-lb.h, char-ucs.h: New files.
5209 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5211 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
5212 in UTF-2000 because it is not ported yet and not to use
5213 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
5214 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
5215 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
5217 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
5218 (CHAR_ASCII_P): Moved from character.h.
5220 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
5221 (CHAR_ASCII_P): Likewise.
5222 (CHAR_FIELD1_MASK): Deleted.
5223 (CHAR_FIELD2_MASK): Deleted.
5224 (CHAR_FIELD3_MASK): Deleted.
5225 (MAX_CHAR_BASIC_LATIN): New macro.
5226 (CHAR_FIELD1): Deleted.
5227 (CHAR_FIELD2_INTERNAL): Deleted.
5228 (CHAR_FIELD3_INTERNAL): Deleted.
5229 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
5230 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
5231 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
5232 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
5233 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
5234 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
5235 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
5236 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
5237 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
5238 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
5239 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
5240 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
5241 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
5242 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
5243 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
5244 (MIN_CHAR_COMPOSITION): Deleted.
5245 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
5246 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
5248 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
5250 * buffer.h: Include mb-utf-8.h in UTF-2000.
5252 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
5254 * mb-utf-8.h: New file.
5256 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
5258 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
5261 * mule-charset.h, buffer.h (Charset_ID): New type.
5263 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5265 * mule-canna.c (c2mu): Use `MAKE_CHAR',
5266 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
5267 instead of `MULE_CHAR_PRIVATE_OFFSET',
5268 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
5269 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
5270 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
5272 * character.h (Vcharset_japanese_jisx0212): New variable
5275 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5277 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
5278 (charset_by_attributes): Delete array about direction.
5279 (latin_a_char_to_charset): New variable in UTF-2000.
5280 (latin_a_char_to_byte1): New variable in UTF-2000.
5281 (latin_a_char_to_byte2): New variable in UTF-2000.
5282 (Qucs_bmp): New variable.
5283 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
5285 (next_allocated_2_byte_leading_byte): Likewise.
5286 (non_ascii_set_charptr_emchar): Likewise.
5287 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
5288 `CHARSET_TYPE_256X256' in UTF-2000; modify for
5289 `charset_by_attributes'.
5290 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
5291 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
5292 and `CHARSET_BY_LEADING_BYTE'.
5293 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
5294 `utf-2000-version' to `vars_of_mule_charset'.
5295 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
5296 define `leading-code-private-11' in UTF-2000; move setting of
5297 `utf-2000-version' from `syms_of_mule_charset'.
5298 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
5301 * character.h (Charset_ID): New type.
5302 (LEADING_BYTE_UCS_BMP): New macro.
5303 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
5304 (CHARSET_ID_OFFSET_94): New macro.
5305 (MIN_CHARSET_ID_PRIVATE_94): New macro.
5306 (MAX_CHARSET_ID_PRIVATE_94): New macro.
5307 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
5309 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
5310 (LEADING_BYTE_LATIN_JISX0201): Likewise.
5311 (CHARSET_ID_OFFSET_96): New macro.
5312 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
5313 CHARSET_ID_OFFSET_96 and final-byte.
5314 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
5315 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
5316 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
5317 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
5318 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
5319 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
5320 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
5321 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
5322 (LEADING_BYTE_THAI_TIS620): Likewise.
5323 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
5324 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
5325 (CHARSET_ID_OFFSET_94x94): New macro.
5326 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
5327 CHARSET_ID_OFFSET_94x94 and final-byte.
5328 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
5329 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
5330 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
5331 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
5332 (LEADING_BYTE_CHINESE_GB2312): Likewise.
5333 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
5334 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
5335 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
5336 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
5337 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
5338 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
5339 (CHARSET_TYPE_128X128): New macro.
5340 (CHARSET_TYPE_256X256): New macro.
5341 (XCHARSET_PRIVATE_P): Delete unconditionally.
5342 (charset_by_attributes): Delete array about direction.
5343 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
5344 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
5345 (MIN_CHAR_94): New macro.
5346 (MAX_CHAR_94): New macro.
5347 (MIN_CHAR_96): New macro.
5348 (MAX_CHAR_96): New macro.
5349 (MIN_CHAR_94x94): New macro.
5350 (MAX_CHAR_94x94): New macro.
5351 (MIN_CHAR_96x96): New macro.
5352 (MAX_CHAR_96x96): New macro.
5353 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
5354 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5355 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
5357 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
5358 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
5359 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
5360 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
5361 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
5362 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
5363 `XCHARSET_LEADING_BYTE' to make code-point.
5364 (latin_a_char_to_charset): New variable.
5365 (latin_a_char_to_byte1): New variable.
5366 (latin_a_char_to_byte2): New variable.
5367 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
5368 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
5369 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
5371 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
5372 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
5373 (find_charsets_in_emchar_string): Likewise.
5374 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
5376 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
5378 (decode_coding_iso2022): Likewise.
5380 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
5383 * redisplay.c (redisplay_text_width_emchar_string): Use
5384 `Charset_ID' instead of `unsigned char'.
5385 (redisplay_frame_text_width_string): Likewise.
5387 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
5390 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
5391 instead of `unsigned char'.
5392 (face_cachel_charset_font_metric_info): Likewise.
5394 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
5395 (get_non_ascii_char_table_value): Likewise.
5396 (get_char_table): Likewise.
5397 (put_char_table): Likewise.
5398 (map_over_other_charset): Likewise.
5399 (map_char_table): Likewise.
5401 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
5402 instead of `unsigned char'.
5404 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
5406 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
5407 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
5409 * mule-charset.c (leading_code_private_11): Don't define in
5412 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
5413 in UTF-2000 because it is not ported yet and not to use
5414 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
5416 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
5418 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
5420 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5422 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
5425 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
5426 of unsigned char to store leading-byte.
5428 * chartab.c (get_non_ascii_char_table_value): Don't use
5429 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
5431 * file-coding.c (encode_coding_big5): Delete bogus implementation
5434 * character.h (LEADING_BYTE_*): Delete definition for
5436 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
5437 (LEADING_BYTE_PREFIX_P): Deleted.
5438 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
5439 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
5440 (BUFBYTE_LEADING_BYTE_P): Deleted.
5441 (CHARSET_PRIVATE_P): Deleted unconditionally.
5442 (rep_bytes_by_first_byte): Deleted unconditionally.
5443 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
5444 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
5445 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5446 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
5447 (CHAR_FIELD2): Deleted.
5448 (CHAR_FIELD3): Deleted.
5449 (MAKE_CHAR): Delete definition for non-UTF-2000.
5450 (BREAKUP_CHAR_1_UNSAFE): Deleted.
5451 (breakup_char_1): New implementation.
5452 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
5453 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
5455 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5457 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
5460 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5462 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
5463 (CHARSET_PRIVATE_P): Likewise.
5464 (XCHARSET_PRIVATE_P): Likewise.
5465 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
5467 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
5469 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
5471 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5473 * character.h (LEADING_BYTE_*): Changed in UTF2000.
5474 (NUM_LEADING_BYTES): Changed from 128 to 256.
5475 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5476 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
5478 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5480 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
5482 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
5483 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
5484 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
5485 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
5486 (Qchinese_cns11643_3): New variable in UTF2000.
5487 (Qchinese_cns11643_4): New variable in UTF2000.
5488 (Qchinese_cns11643_5): New variable in UTF2000.
5489 (Qchinese_cns11643_6): New variable in UTF2000.
5490 (Qchinese_cns11643_7): New variable in UTF2000.
5491 (syms_of_mule_charset): Define `chinese-cns11643-3',
5492 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
5493 and `chinese-cns11643-7' in UTF2000.
5494 (vars_of_mule_charset): Initialize
5495 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
5497 (complex_vars_of_mule_charset): Setup charset
5498 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
5499 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
5501 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5503 * mule-charset.c: Move setting for `leading-code-private-11' from
5504 `syms_of_mule_charset' to `vars_of_mule_charset'.
5506 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5508 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
5509 and `NUM_LEADING_BYTES' in assert.
5511 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5513 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
5515 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
5516 `NUM_LEADING_BYTES' instead of 128.
5518 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
5520 * mule-charset.h (charset_by_leading_byte): Use
5521 `NUM_LEADING_BYTES' instead of 128.
5522 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
5524 * mule-charset.c (charset_by_leading_byte): Use
5525 `NUM_LEADING_BYTES' instead of 128.
5526 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
5528 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
5531 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
5533 * mule-charset.c (syms_of_mule_charset): Update to
5536 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
5538 * file-coding.c (encode_coding_sjis): New implementation for
5539 UTF2000. (decode_coding_sjis): Ditto.
5541 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5543 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
5544 Don't define in UTF2000.
5546 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
5549 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5550 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
5553 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5555 * config.h.in (CHAR_IS_UCS4): New macro.
5557 * mule-charset.c (rep_bytes_by_first_byte): Modify for
5558 conventional MULE representation.
5559 (syms_of_mule_charset): Update to 0.3 (Imamiya).
5561 * mule-charset.h: Reverted to original.
5563 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5564 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
5565 "mule-charset.h" if CHAR_IS_UCS4 is defined.
5567 * character.h: New file.
5569 * file-coding.c (Fmake_coding_system): Set 1 to
5570 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
5572 (encode_coding_no_conversion): New implementation for UTF2000.
5574 * file-coding.h (struct Lisp_Coding_System): Add new member
5577 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
5579 * file-coding.c (decode_coding_iso2022): Code-point arguments of
5580 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
5581 (encode_coding_iso2022): New implementation for UTF2000.
5583 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5585 * mule-canna.c (c2mu): New implementation for UTF2000.
5588 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5590 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
5592 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5594 * file-coding.c (reset_encoding_stream): Set 0 to
5595 `str->iso2022.current_char_boundary' in UTF2000.
5596 (encode_utf8): Don't define in UTF2000.
5597 (encode_coding_utf8): New implementation for UTF-8 representation
5599 (complex_vars_of_file_coding): Define coding-system `utf-8'.
5601 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5603 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
5605 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
5607 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5609 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
5611 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
5612 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
5613 as UTF-8 in UTF2000.
5614 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
5615 (non_ascii_valid_char_p): Don't define in UTF2000.
5616 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
5617 (Lstream_get_emchar_1): Likewise.
5618 (utf-2000-version): New variable in UTF2000.
5620 * lread.c (read_escape): Add new reader `u'.
5622 * insdel.c (three_to_one_table): Don't define in UTF2000.
5623 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
5624 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5626 (bytind_to_bufpos_func): Likewise.
5627 (buffer_mule_signal_inserted_region): Likewise.
5628 (vars_of_insdel): Don't initialize `three_to_one_table'.
5629 (init_buffer_text): Use `buf->text->mule_size' instead of
5630 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5633 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
5634 UTF-8 representation in UTF2000.
5635 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
5636 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
5637 (decode_coding_iso2022): Don't define local variable `lb' in
5638 UTF2000; don't use LEADING_BYTE in UTF2000; use
5639 `DECODE_ADD_UCS_CHAR' in UTF2000.
5640 (convert_to_external_format): Decode as UTF-8 in UTF2000.
5642 * config.h.in (UTF2000): New macro.
5644 * buffer.h (struct buffer_text): Add new member `mule_size' and
5645 don't add `mule_shifter' and `mule_three_p' in UTF2000.
5646 (valid_char_p): Return always 1 in UTF2000.
5647 (MAX_EMCHAR_LEN): 6 in UTF2000.
5648 (three_to_one_table): Don't define in UTF2000.
5649 (real_bufpos_to_bytind): Modify for UTF-8 representation in
5651 (real_bytind_to_bufpos): Likewise.
5653 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
5655 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5657 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
5658 representation change.
5659 (Vutf_2000_version): New variable.
5660 (leading_code_private_11): New variable.
5661 (syms_of_mule_charset): Add new variables `utf-2000-version' and
5662 `leading-code-private-11'.
5664 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
5665 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
5666 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
5667 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
5668 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
5669 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
5670 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
5671 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
5672 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
5673 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
5674 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
5675 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
5676 (MIN_CHAR_GREEK): New macro.
5677 (MAX_CHAR_GREEK): New macro.
5678 (MIN_CHAR_CYRILLIC): New macro.
5679 (MAX_CHAR_CYRILLIC): New macro.
5680 (MIN_CHAR_HEBREW): New macro.
5681 (MAX_CHAR_HEBREW): New macro.
5682 (MIN_CHAR_THAI): New macro.
5683 (MAX_CHAR_THAI): New macro.
5684 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
5685 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
5686 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
5687 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
5688 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
5689 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
5690 (CHAR_FIELD2): New inline function.
5691 (CHAR_FIELD3): New inline function.
5692 (MULE_CHAR_PRIVATE_OFFSET): New macro.
5693 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
5694 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
5695 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
5696 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
5697 (MIN_CHAR_COMPOSITION): Likewise.
5698 (CHAR_LEADING_BYTE): Modified for character representation change.
5699 (MAKE_CHAR): Likewise.
5701 * lisp.h (Vcharset_latin_iso8859_1): New variable.
5702 (Vcharset_greek_iso8859_7): Likewise.
5703 (Vcharset_cyrillic_iso8859_5): Likewise.
5704 (Vcharset_hebrew_iso8859_8): Likewise.
5705 (Vcharset_thai_tis620): Likewise.
5706 (Vcharset_katakana_jisx0201): Likewise.
5708 2005-02-06 Vin Shelton <acs@xemacs.org>
5710 * XEmacs 21.4.17 is released
5712 2005-01-31 Ben Wing <ben@xemacs.org>
5715 Define assert_failed() always.
5717 Always define ABORT().
5719 2005-01-25 Ben Wing <ben@xemacs.org>
5722 * Makefile.in.in (%.o):
5723 Don't compile executable as Windows (-mwindows) under Cygwin.
5724 Semi-recent changes to Cygwin's executable-startup handling make
5725 it impossible to access the TTY this way.
5727 Don't use special linker file under Cygwin (cygwin.sc) except
5728 when non-PDUMP (even in this case it is highly questionable); you
5731 1 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening input console handle after exec, errno 13, Win32 error 5
5732 5820 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening output console handle after exec, errno 13, Win32 error 5
5734 2005-01-29 Ben Wing <ben@xemacs.org>
5736 Port this: 2003-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5738 * mule-charset.c (get_unallocated_leading_byte): Compiler quietus.
5740 2005-01-29 Ben Wing <ben@xemacs.org>
5742 * bytecode.c (optimize_compiled_function):
5744 * print.c (long_to_string):
5745 Add casts to avoid warning.
5748 Some really nasty hacks to allow TIFF and JPEG to both be compiled.
5749 #### The better solution is to move the TIFF and JPEG code to
5752 * glyphs-msw.c (mswindows_xbm_instantiate):
5753 Define __STDC__ to avoid problems with compface.h.
5755 * EmacsFrame.c (EmacsFrameRecomputeCellSize):
5757 * EmacsShell-sub.c (ABORT):
5758 * EmacsShell-sub.c (SuperClassRootGeometryManager):
5759 * EmacsShell-sub.c (RootGeometryManager):
5761 * EmacsShell.c (ABORT):
5762 * EmacsShell.c (EmacsShellUpdateSizeHints):
5763 * alloc.c (free_lcrecord):
5764 * alloca.c (i00afunc):
5765 * buffer.c (delete_from_buffer_alist):
5766 * buffer.c (MARKED_SLOT):
5767 * bytecode.c (execute_rare_opcode):
5768 * bytecode.c (optimize_byte_code):
5769 * bytecode.c (Ffetch_bytecode):
5770 * chartab.c (char_table_type_to_symbol):
5771 * chartab.c (Freset_char_table):
5772 * chartab.c (decode_char_table_range):
5773 * chartab.c (Fget_range_char_table):
5774 * chartab.c (check_valid_char_table_value):
5775 * chartab.c (map_char_table):
5776 * chartab.c (slow_map_char_table_fun):
5777 * chartab.c (chartab_instantiate):
5778 * cm.c (cmcheckmagic):
5779 * console-msw.c (DHEADER):
5780 * console.c (MARKED_SLOT):
5781 * data.c (finish_marking_weak_lists):
5782 * data.c (encode_weak_list_type):
5783 * debug.h (DASSERT):
5784 * device-gtk.c (gtk_init_device):
5785 * device-msw.c (mswindows_get_default_margin):
5786 * device-tty.c (tty_init_device):
5787 * device-x.c (get_device_from_display):
5788 * device-x.c (x_get_visual_depth):
5789 * doprnt.c (parse_doprnt_spec):
5790 * doprnt.c (get_doprnt_args):
5791 * dumper.c (pdump_get_indirect_count):
5792 * dumper.c (pdump_register_sub):
5793 * dumper.c (pdump_register_object):
5794 * dumper.c (pdump_register_struct):
5795 * dumper.c (pdump_dump_data):
5796 * dumper.c (pdump_reloc_one):
5797 * elhash.c (print_hash_table):
5798 * elhash.c (make_standard_lisp_hash_table):
5799 * elhash.c (hash_table_instantiate):
5801 * emacs.c (Fforce_debugging_signal):
5802 * emacs.c (sort_args):
5804 * emacs.c (assert_failed):
5805 * eval.c (throw_or_bomb_out):
5806 * eval.c (signal_1):
5809 * event-Xt.c (emacs_Xt_mapping_action):
5810 * event-Xt.c (Xt_process_to_emacs_event):
5812 * event-stream.c (check_event_stream_ok):
5813 * event-stream.c (Fadd_timeout):
5814 * event-stream.c (Fadd_async_timeout):
5815 * event-stream.c (Fdiscard_input):
5816 * event-stream.c (execute_internal_event):
5817 * event-stream.c (Frecent_keys):
5818 * event-stream.c (extract_this_command_keys_nth_mouse_event):
5819 * event-stream.c (lookup_command_event):
5820 * event-unixoid.c (poll_fds_for_input):
5822 * events.c (mark_event):
5823 * events.c (event_equal):
5824 * events.c (event_hash):
5825 * events.c (Fmake_event):
5826 * events.c (Fdeallocate_event):
5827 * events.c (event_chain_find_previous):
5828 * events.c (event_to_character):
5829 * events.c (format_event_object):
5830 * events.c (Fevent_type):
5831 * events.c (event_pixel_translation):
5832 * events.c (Fevent_properties):
5833 * extents.c (extent_in_region_p):
5834 * extents.c (print_extent):
5835 * extents.c (process_extents_for_insertion_mapper):
5836 * extents.c (report_extent_modification_mapper):
5837 * extents.c (glyph_layout_to_symbol):
5838 * faces.c (face_validate):
5839 * file-coding.c (eol_type_to_symbol):
5840 * file-coding.c (subsidiary_coding_system):
5841 * file-coding.c (Fcoding_system_type):
5842 * file-coding.c (Fcoding_system_property):
5843 * file-coding.c (mule_decode):
5844 * file-coding.c (mule_encode):
5845 * file-coding.c (encode_coding_ucs4):
5846 * file-coding.c (encode_coding_utf8):
5847 * file-coding.c (parse_iso2022_esc):
5848 * file-coding.c (encode_coding_iso2022):
5853 * fns.c (Fbase64_encode_region):
5854 * fns.c (Fbase64_encode_string):
5855 * fns.c (Fbase64_decode_region):
5856 * fns.c (Fbase64_decode_string):
5857 * font-lock.c (find_context):
5858 * font-lock.c (context_to_symbol):
5859 * frame-gtk.c (gtk_set_frame_pointer):
5860 * frame-gtk.c (gtk_update_frame_external_traits):
5861 * frame-x.c (x_wm_mark_shell_size_user_specified):
5862 * frame-x.c (x_wm_mark_shell_position_user_specified):
5863 * frame-x.c (x_wm_set_shell_iconic_p):
5864 * frame-x.c (x_wm_set_cell_size):
5865 * frame-x.c (x_wm_set_variable_size):
5866 * frame-x.c (x_wm_store_class_hints):
5867 * frame-x.c (x_wm_maybe_store_wm_command):
5868 * frame-x.c (x_initialize_frame_size):
5869 * frame-x.c (x_update_frame_external_traits):
5871 * frame.c (delete_frame_internal):
5872 * frame.c (mouse_pixel_position_1):
5873 * frame.c (change_frame_size_1):
5874 * free-hook.c (check_free):
5875 * free-hook.c (check_realloc):
5876 * free-hook.c (note_block_input):
5877 * free-hook.c (log_gcpro):
5878 * gccache-gtk.c (gc_cache_lookup):
5879 * glyphs-eimage.c (tiff_memory_write):
5880 * glyphs-gtk.c (gtk_finalize_image_instance):
5881 * glyphs-gtk.c (init_image_instance_from_gdk_pixmap):
5882 * glyphs-gtk.c (init_image_instance_from_xbm_inline):
5883 * glyphs-gtk.c (gtk_xpm_instantiate):
5884 * glyphs-gtk.c (gtk_unmap_subwindow):
5885 * glyphs-gtk.c (gtk_map_subwindow):
5886 * glyphs-gtk.c (gtk_button_redisplay):
5888 * glyphs-msw.c (init_image_instance_from_xbm_inline):
5889 * glyphs-x.c (init_image_instance_from_xbm_inline):
5890 * glyphs-x.c (extract_xpm_color_names):
5891 * glyphs-x.c (x_xpm_instantiate):
5892 * glyphs.c (get_image_instantiator_governing_domain):
5893 * glyphs.c (print_image_instance):
5894 * glyphs.c (image_instance_equal):
5895 * glyphs.c (image_instance_hash):
5896 * glyphs.c (encode_image_instance_type):
5897 * glyphs.c (make_image_instance_1):
5898 * glyphs.c (inherit_instantiate):
5899 * glyphs.c (image_instantiate):
5900 * glyphs.c (allocate_glyph):
5901 * glyphs.c (Fglyph_type):
5902 * glyphs.c (redisplay_subwindow):
5903 * glyphs.c (display_table_entry):
5904 * gtk-glue.c (xemacs_list_to_gtklist):
5905 * gtk-glue.c (xemacs_gtklist_to_list):
5906 * gtk-glue.c (xemacs_list_to_array):
5907 * gutter.c (SET_GUTTER_WAS_VISIBLE_FLAG):
5908 * gutter.c (gutter_was_visible):
5909 * gutter.c (get_gutter_coords):
5910 * input-method-xlib.c (get_XIM_input):
5911 * insdel.c (bufpos_to_bytind_func):
5912 * insdel.c (bytind_to_bufpos_func):
5913 * insdel.c (move_gap):
5914 * intl.c (x_get_composed_input):
5915 * keymap.c (keymap_lookup_directly):
5916 * keymap.c (keymap_delete_inverse_internal):
5917 * keymap.c (ensure_meta_prefix_char_keymapp):
5918 * keymap.c (accessible_keymaps_mapper_1):
5919 * keymap.c (where_is_recursive_mapper):
5922 * lread.c (read_atom):
5923 * lstream.c (Lstream_delete):
5924 * lstream.c (make_lisp_buffer_stream_1):
5925 * macros.c (pop_kbd_macro_event):
5926 * malloc.c (malloc):
5928 * marker.c (bi_marker_position):
5929 * marker.c (set_bi_marker_position):
5930 * menubar-gtk.c (menu_descriptor_to_widget_1):
5931 * menubar-msw.c (prune_menubar):
5932 * menubar-x.c (set_frame_menubar):
5933 * mule-charset.c (get_unallocated_leading_byte):
5934 * mule-charset.h (CHAR_LEADING_BYTE):
5935 * native-gtk-toolbar.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
5936 * nt.c (init_environment):
5937 * nt.c (generate_inode_val):
5938 * ntproc.c (delete_child):
5939 * ntproc.c (_sys_read_ahead):
5940 * ntproc.c (create_child):
5941 * objects.c (color_instantiate):
5942 * objects.c (font_instantiate):
5943 * objects.c (face_boolean_instantiate):
5944 * print.c (printing_major_badness):
5945 * process-nt.c (nt_send_process):
5946 * process-unix.c (unix_send_process):
5947 * process.c (get_process):
5948 * ralloc.c (obtain):
5949 * ralloc.c (relinquish):
5950 * ralloc.c (relocate_blocs):
5951 * ralloc.c (resize_bloc):
5952 * ralloc.c (r_alloc_free):
5953 * ralloc.c (r_re_alloc):
5954 * ralloc.c (r_alloc_thaw):
5955 * ralloc.c (init_ralloc):
5956 * ralloc.c (Free_Addr_Block):
5957 * ralloc.c (r_alloc):
5958 * redisplay-gtk.c (gtk_output_display_block):
5959 * redisplay-msw.c (mswindows_output_display_block):
5960 * redisplay-output.c (get_next_display_block):
5961 * redisplay-output.c (get_cursor_size_and_location):
5962 * redisplay-output.c (redisplay_output_layout):
5963 * redisplay-output.c (redisplay_clear_region):
5964 * redisplay-tty.c (tty_output_display_block):
5965 * redisplay-x.c (x_output_display_block):
5966 * redisplay.c (add_propagation_runes):
5967 * redisplay.c (add_glyph_rune):
5968 * redisplay.c (create_text_block):
5969 * redisplay.c (add_margin_runes):
5970 * redisplay.c (create_left_glyph_block):
5971 * redisplay.c (create_right_glyph_block):
5972 * redisplay.c (create_string_text_block):
5973 * redisplay.c (regenerate_window):
5974 * redisplay.c (REGEN_INC_FIND_START_END):
5975 * redisplay.c (redisplay_frame):
5976 * redisplay.c (point_in_line_start_cache):
5979 * regex.c (re_compile_fastmap):
5980 * regex.c (re_match_2_internal):
5981 * regex.c (regerror):
5982 * scrollbar-gtk.c (gtk_scrollbar_loop):
5983 * scrollbar-gtk.c (scrollbar_cb):
5984 * scrollbar-gtk.c (gtk_update_frame_scrollbars):
5985 * scrollbar-msw.c (mswindows_handle_scrollbar_event):
5986 * scrollbar-x.c (x_update_scrollbar_instance_status):
5987 * scrollbar-x.c (x_scrollbar_loop):
5988 * scrollbar-x.c (x_update_frame_scrollbars):
5989 * search.c (search_command):
5990 * search.c (Fmatch_data):
5991 * select-x.c (motif_clipboard_cb):
5992 * signal.c (interrupt_signal):
5993 * specifier.c (specifier_add_spec):
5994 * specifier.c (specifier_instance_from_inst_list):
5995 * specifier.c (specifier_instance):
5997 * specifier.h (struct specifier_methods):
5998 * strftime.c (add_num_time_t):
5999 * sunplay.c (init_device):
6000 * symbols.c (Fsetplist):
6001 * symbols.c (do_symval_forwarding):
6002 * symbols.c (store_symval_forwarding):
6004 * symbols.c (Fbuilt_in_variable_type):
6005 * symbols.c (decode_magic_handler_type):
6006 * symbols.c (handler_type_from_function_symbol):
6007 * syntax.c (update_syntax_cache):
6008 * sysdep.c (init_baud_rate):
6009 * toolbar-gtk.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6010 * toolbar-msw.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6011 * toolbar-x.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6012 * toolbar.c (get_toolbar_coords):
6013 * ui-gtk.c (build_gtk_boxed):
6014 * ui-gtk.c (describe_gtk_arg):
6015 * ui-gtk.c (gtk_type_to_lisp):
6016 * ui-gtk.c (lisp_to_gtk_type):
6017 * ui-gtk.c (lisp_to_gtk_ret_type):
6018 * ui-gtk.c (lisp_to_flag):
6019 * unexnt.c (read_in_bss):
6020 * unexnt.c (map_in_heap):
6021 * window.c (real_window):
6022 * window.c (window_display_lines):
6023 * window.c (window_display_buffer):
6024 * window.c (set_window_display_buffer):
6025 * window.c (window_modeline_height):
6026 * window.c (unshow_buffer):
6027 * window.c (window_loop):
6028 * window.c (Fget_lru_window):
6029 * window.c (Fsplit_window):
6030 * window.c (Fset_window_configuration):
6031 * window.c (saved_window_index):
6032 * xgccache.c (gc_cache_lookup):
6033 abort() -> ABORT(). Eliminate preprocessor games with abort()
6034 since it creates huge problems in VC7, solvable only by including
6035 massive amounts of files in every compile (and not worth it).
6039 Inclusion of process.h does not need to be before lisp.h any more.
6040 Move later and remove comment about abort().
6042 2005-01-26 Arnaud Giersch <arnaud.giersch@free.fr>
6044 * regex.c (re_match_2_internal):
6045 Correctly initialize loop which clears uninitialized registers.
6047 2005-01-28 Vin Shelton <acs@xemacs.org>
6049 * sheap.c (more_static_core): Applied Ben's version of the long
6052 2005-01-24 Vin Shelton <acs@xemacs.org>
6054 * sheap.c (more_static_core): Reformatted printf string so
6055 gcc-3.3.3 will compile this on Cygwin.
6057 2004-02-22 Stephen J. Turnbull <stephen@xemacs.org>
6059 * console.c (function_key_map): Reference `key-binding'.
6061 * keymap.c (Vkey_translation_map): Improve docstring.
6063 2004-03-30 Zajcev Evgeny <zevlg@yandex.ru>
6065 * window.c: Declare `allow_deletion_of_last_visible_frame' extern.
6066 * window.c (window_loop): [fix] Take into account
6067 `allow-deletion-of-last-visible-frame' variable.
6068 * window.c (replace-buffer-in-windows): Ditto.
6070 2004-12-15 Stephen J. Turnbull <stephen@xemacs.org>
6072 * EmacsManager.c (EmacsManagerChangeSize): Respect XtGeometryNo.
6074 2005-01-20 Malcolm Purvis <malcolmp@xemacs.org>
6076 * event-gtk.c: Recognise AltGr as a valid modifier.
6078 2005-01-12 Ville Skyttä <scop@xemacs.org>
6080 * console-x.h: #include X11/keysym.h before xintrinsic.h.
6082 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6084 Fix backreference bug caught by test suite.
6086 * regex.c (regex_compile):
6087 Make backref duplicate internal register.
6089 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6091 Documentation, code clarification, and warning suppression.
6093 * regex.c (regex_compile):
6095 (re_match_2_internal):
6096 Improve comments and avoid redundant braces. [Most of the big hunk
6097 at l. 4710 is indentation; use diff -w to see the real changes.]
6098 (alt_match_null_string_p):
6099 (common_op_match_null_string_p):
6100 Avoid shadowing global on Mac OS X 10.4, at least.
6102 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6104 * regex.c (regcomp): Fix "unsigned comparison" warning (maybe
6105 introduced with shy groups fix). [Already applied, probably
6106 with the second "fix shy groups" patch of 2004-10-07.]
6108 2005-01-10 Steve Youngs <steve@sxemacs.org>
6110 From Andrey Slusar <anrays@gmail.com>:
6112 * unexelf.c: define `Elfw(type)' for FreeBSD alpha and amd64.
6114 2004-11-21 Malcolm Purvis <malcolmp@xemacs.org>
6116 * Makefile (RECURSIVE_MAKE): Removed.
6117 * Makefile (RECURSIVE_MAKE_ARGS): New. The new method for
6118 handling parallel builds.
6120 2004-09-08 Malcolm Purvis <malcolmp@xemacs.org>
6122 * Makefile.in.in: Enable support for parallel builds.
6124 2005-01-09 Steve Youngs <steve@sxemacs.org>
6126 From Andrey Slusar <anrays@gmail.com>:
6128 * s/freebsd.h (LIBS_SYSTEM): Only set to "-lutil -lxpg4" if
6129 FreeBSD version is >= 199701 _and_ < 600006.
6131 2005-01-06 Zajcev Evgeny <zevlg@yandex.ru>
6133 * scrollbar.c (compute_scrollbar_instance_usage):
6134 Only call device method compute_scrollbar_instance_usage() if it
6137 2004-12-05 Vin Shelton <acs@xemacs.org>
6139 * XEmacs 21.4.16 is released
6141 2004-12-04 Vin Shelton <acs@xemacs.org>
6143 * depend: Regenerated.
6145 2004-10-07 Stephen J. Turnbull <stephen@xemacs.org>
6147 * regex.c (re_match_2_internal): Map internal to external
6148 registers. Fixes bug identified by Steve Youngs 2004-09-30
6149 <microsoft-free.87ekkjhj7t.fsf@youngs.au.com>.
6151 2004-09-02 Yoshiki Hayashi <yoshiki@xemacs.org>
6153 * buffer.c (Frecord_buffer): Make sure the argument is buffer
6154 to fix a crash. Also, check the buffer is live and it
6155 really exists in buffer_list. If the buffer is not in the list,
6158 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6160 Fix shy groups by implementing recording of all groups for
6161 repetition and backtracking. Backport from 21.5.
6163 * regex.h (struct re_pattern_buffer): Add members re_ngroups,
6164 external_to_internal_register, external_to_internal_register_size,
6165 and update comments for re_nsub.
6167 * regex.c (re_opcode_t): Update comments.
6168 (print_compiled_pattern): Ouput external_to_internal_register,
6169 external_to_internal_register_size, and re_ngroups for debugging.
6170 (INIT_REG_TRANSLATE_SIZE): New manifest constant.
6171 (regex_compile): Update header comment.
6172 Ensure that all groups are recorded so that repeat matches and
6173 backtracking work correctly. Comment related warning for groups >
6175 (re_search_2): Construct map of API indexes (which count only
6176 nonshy groups) to internal register numbers, and keep it updated.
6178 2004-07-27 Malcolm Purvis <malcolmp@xemacs.org>
6180 * frame-gtk.c (gtk_make_frame_visible):
6181 * frame-gtk.c (gtk_make_frame_invisible): Use map/unmap instead of
6182 show/hide. This is what X uses and is prevents previously hidden
6183 widgets from suddenly reappearing.
6184 * gtk-xemacs.c (gtk_xemacs_paint):
6185 * gtk-xemacs.c (gtk_xemacs_draw):
6186 * gtk-xemacs.c (gtk_xemacs_expose): Only operate if the widget is
6188 * scrollbar-gtk.c (gtk_update_scrollbar_instance_status): Force
6189 size and location changes so that they can be seen before the next
6190 idle event. Without this rapid changes to scrollbar properties
6193 2004-07-02 Malcolm Purvis <malcolmp@xemacs.org>
6196 * console-gtk.h (struct gtk_frame):
6197 * console-gtk.h (FRAME_GTK_WIDGET_INSTANCE_HASH_TABLE):
6198 Add hash tables track tab_control callback data.
6199 Added #defines for GTK object data names.
6200 Declaration of gtk_widget_to_frame().
6201 * event-gtk.c (enqueue_gtk_dispatch_event) No longer static:
6202 * frame-gtk.c (gtk_widget_to_frame): New.
6203 * frame-gtk.c (gtk_create_widgets):
6204 * frame-gtk.c (allocate_gtk_frame_struct):
6205 * frame-gtk.c (gtk_mark_frame):
6206 Manage frame callbakc hash tables.
6207 * glyphs-gtk.c (gtk_map_subwindow): Fix size and moving bugs.
6208 * glyphs-gtk.c (gtk_redisplay_widget): Use correct size for widgets.
6209 * glyphs-gtk.c (gtk_widget_instantiate_1): Force reconsideration
6211 * glyphs-gtk.c (gtk_widget_query_geometry): New
6212 * glyphs-gtk.c (gtk_register_gui_item): New
6213 * glyphs-gtk.c (gtk_add_tab_item): New
6214 * glyphs-gtk.c (gtk_tab_control_callback): New
6215 * glyphs-gtk.c (gtk_tab_control_instantiate): New
6216 * glyphs-gtk.c (gtk_tab_control_redisplay): Set notebook page.
6217 Use correct list when loading item.
6218 * glyphs-gtk.c (image_instantiator_format_create_glyphs_gtk):
6219 Register new methods.
6220 * gtk-xemacs.c (gtk_xemacs_size_allocate): Use XEmacs size, not
6221 default size, for widgets.
6222 * gui-x.c: Improved comment.
6223 * menubar-gtk.c (__generic_button_callback): Use
6224 gtk_widget_to_frame instead of __get_channel.
6226 * ui-gtk.c: Use symbolic names for GTK object data.
6228 2004-06-23 Ilya N. Golubev <gin@mo.msk.ru>
6230 * s/usg5-4.h (NSIG): Define only inside emacs binary.
6232 2002-03-04 Stephen J. Turnbull <stephen@xemacs.org>
6234 * fileio.c (Fwrite_region_internal): Document use of start == Qnil.
6236 2004-06-16 Malcolm Purvis <malcolmp@xemacs.org>
6238 * malloc.c (morecore): siz is a long because in some architectures
6239 (eg ia-64) an int cannot hold the address range. Additional patch
6240 from the SuSe distribution.
6242 2004-06-13 Malcolm Purvis <malcolmp@xemacs.org>
6245 * malloc.c: lim_data is a long because in some architectures
6246 (eg ia-64) an int cannot hold the address range.
6247 * mem-limits.h: lim-data is a long. Linux uses getrlimit()
6248 instead of ulimit() because ulimit() always returns -1.
6250 2004-06-09 Stephen J. Turnbull <stephen@xemacs.org>
6252 * search.c: Reenable an ansync semaphore. Remove bogus comments.
6254 2004-06-11 David Kastrup <dak@gnu.org>
6256 * search.c (match_limit): Don't flag an error if match-data
6257 exceeding the allocated search_regs.num_regs gets requested, just
6260 2003-07-21 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6262 * glyphs-gtk.c (gtk_xpm_instantiate): Rewrite the XPM data to
6263 replace symbolic color entries with the real colors specified in
6264 xpm-color-symbols, before passing the XPM to gtk.
6265 * glyphs-gtk.h: Use the generic pixmap_image_instance.mask for masks,
6266 instead of a GTK specific field, so that it is used in by generic
6269 2004-05-05 Chuck Hines <chuck.hines@baesystems.com>
6271 * dgif_lib.c (DGifSlurp): Changed do-while to while to stop
6272 coredump from deref of NULL ptr (ExtData)
6274 2004-04-19 Jerry James <james@xemacs.org>
6276 * data.c (sign_extend_lisp_int): Use INT_VALBITS instead of
6277 VALBITS to compute the location of the sign bit.
6278 * event-stream.c (Fcurrent_event_timestamp): Replace incorrect use
6279 of VALBITS with EMACS_INT_MAX.
6280 * events.c (Fevent_timestamp): Ditto.
6281 * events.c (TIMESTAMP_HALFSPACE): Change VALBITS to INT_VALBITS to
6282 compute the halfway point to timestamp wraparound.
6283 * floatfns.c (float_to_int): Compare against EMACS_INT_MAX and
6284 EMACS_INT_MIN instead of using VALBITS.
6285 * floatfns.c (Flogb): Use EMACS_INT_MIN instead of building an
6286 incorrect number with VALBITS.
6287 * fns.c (Frandom): Correct number of integer bits in docstring.
6288 Use INT_VALBITS instead of VALBITS to compute the denominator.
6289 * sysdep.c (get_random): Use INT_VALBITS instead of VALBITS to
6290 build random numbers.
6292 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6294 * event-gtk.c (gtk_event_to_emacs_event):
6296 * menubar-gtk.c (gtk_xemacs_menubar_class_init):
6297 * menubar-gtk.c (gtk_xemacs_menubar_size_request):
6298 * menubar-gtk.c (gtk_xemacs_accel_label_get_type):
6299 * menubar-gtk.c (gtk_xemacs_set_accel_keys):
6300 * menubar-gtk.c (__activate_menu):
6301 * menubar-gtk.c (convert_underscores):
6302 * menubar-gtk.c (remove_underscores):
6303 * menubar-gtk.c (menu_convert):
6304 * menubar-gtk.c (menu_descriptor_to_widget_1):
6305 * menubar-gtk.c (menu_descriptor_to_widget):
6306 * menubar-gtk.c (menu_can_reuse_widget):
6307 * menubar-gtk.c (menu_create_menubar):
6308 * menubar-gtk.c (gtk_popup_menu):
6309 * menubar-gtk.c (Fgtk_build_xemacs_menu):
6310 Added support for Gtk menu bar and menu item mnemonics.
6312 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6314 * sysdll.c: (dll_function): Added support for finding symbols in
6315 Darwin shared libraries as well in Darwin bundles.
6316 * sysdll.c (image_for_address): New
6317 * sysdll.c (my_find_image): New
6318 * sysdll.c (search_linked_libs): New
6320 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6322 * ui-gtk.c (__internal_callback_marshal): Marshalling data to
6323 return to GTK requires a different API to marshalling data to use
6325 * ui-gtk.c (lisp_to_gtk_ret_type): New.
6327 2004-03-08 Lutz Euler <lutz.euler@freenet.de>
6329 * lstream.c (Lstream_pseudo_close): Fix test for LSTREAM_FL_IS_OPEN.
6331 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
6333 * glyphs.c (process_image_string_instantiator):
6334 (Fset_console_type_image_conversion_list):
6335 Stop GCC from warning about shadowing of `exp'.
6337 * redisplay-x.c (x_output_string): Fix unsigned lossage.
6339 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
6341 * regex.c (re_match_2_internal): Shut up GCC about syn1, syn2.
6343 2004-02-03 Vin Shelton <acs@xemacs.org>
6345 * glyphs.c (image_instance_layout): Remove pointless assertion.
6346 * regex.c (regex_grow_registers): Return type is void.
6348 2004-02-02 Vin Shelton <acs@xemacs.org>
6350 * XEmacs 21.4.15 is released
6352 2004-01-30 Glynn Clements <glynn.clements@virgin.net>
6354 * device-x.c (x_error_handler): Don't call stderr_out
6356 2003-11-07 Katsumi Yamaoka <yamaoka@jpl.org>
6358 * buffer.c (other-buffer): Clarify documentation of order of
6359 arguments for FSF Emacs.
6361 2003-10-11 Olivier Galibert <galibert@pobox.com>
6363 * window.c (Fdelete_window): Dirty the mirror structure _before_
6364 marking the window deleted.
6366 2003-09-15 Jerry James <james@xemacs.org>
6368 * event-msw.c (debug_mswin_messages): Conditionally compile
6369 messages missing from the Cygwin headers.
6371 2003-06-16 Stephen J. Turnbull <stephen@xemacs.org>
6373 * data.c (eq_with_ebola_notice): Fix typo in comment.
6374 (Ftrue_list_p): Improve docstring.
6376 2003-10-13 Stephen J. Turnbull <stephen@xemacs.org>
6378 * frame-x.c (x_update_frame_external_traits): Fix XtSetArg idiom.
6380 2003-09-27 Stephen J. Turnbull <stephen@xemacs.org>
6382 * search.c (trivial_regexp_p): Regexps containing "\{" are
6383 nontrivial. Thanks to Manfred Bartz for reporting the bug and
6384 Stefan Monnier for suggesting a diagnosis.
6386 2003-09-25 Stephen J. Turnbull <stephen@xemacs.org>
6388 * elhash.c (make-hash-table): Clarify use of :test #'equal.
6390 2003-09-12 Stephen J. Turnbull <stephen@xemacs.org>
6392 * search.c (Fsearch_forward):
6394 Document negative count.
6396 2003-09-13 Stephen J. Turnbull <stephen@xemacs.org>
6398 * regex.c (re_max_failures): Bump to 20000 for REGEX_MALLOC, too.
6400 2003-09-13 Martin Buchholz <martin@xemacs.org>
6402 * s/sol2.h: Use OS_RELEASE=os_release_major*100+os_release_minor
6404 2003-09-15 Vin Shelton <acs@xemacs.org>
6406 * .gdbinit (pobj): Remove Ilya's fix that was only intended for
6409 2003-09-12 Yoshiki Hayashi <yoshiki@xemacs.org>
6411 * regex.c (TRANSLATE_EXTENDED_UNSAFE): Remove.
6412 (re_search_2): Match the first byte of Bufbyte, not Emchar.
6413 (re_match_2_internal): Use TRANSLATE instead of
6414 TRANSLATE_EXTENDED_UNSAFE. The latter was a hack to bypass
6415 non-ASCII char case conversion.
6417 2003-09-08 Mike Sperber <mike@xemacs.org>
6419 * symbols.c (Fvariable_binding_locus): Add, as per suggestion from
6420 RMS at: http://article.gmane.org/gmane.emacs.pretest.bugs/1010
6422 2003-06-14 Ilya N. Golubev <gin@mo.msk.ru>
6424 * .gdbinit (pobj): fix printing of symbol name.
6426 2003-08-01 Ilya N. Golubev <gin@mo.msk.ru>
6428 * frame-x.c (x_layout_widgets): When resizing is about to cause
6429 frame size slip, mark it for redisplay.
6431 2003-08-18 Jerry James <james@xemacs.org>
6433 * opaque.h: Remove unused (X)OPAQUE_MARKFUN definitions.
6435 2003-09-03 Vin Shelton <acs@xemacs.org>
6437 * XEmacs 21.4.14 is released
6439 2003-08-15 Stephen J. Turnbull <stephen@xemacs.org>
6441 * config.h.in (REGEX_MALLOC): Make it configure'able.
6443 2003-08-14 Andrew Begel <abegel@CS.Berkeley.EDU>
6445 * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic
6447 * sysdll.c (dll_init):
6448 * sysdll.c (dll_open):
6449 * sysdll.c (dll_close):
6450 * sysdll.c (dll_function):
6451 * sysdll.c (dll_variable):
6452 * sysdll.c (dll_error):
6453 Add support for loading bundles using Darwin/MacOSX
6456 2003-08-12 Stephen J. Turnbull <stephen@xemacs.org>
6458 * process.c (start-process-internal): Document coding systems.
6460 2003-07-30 Jerry James <james@xemacs.org>
6462 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
6464 2003-07-31 René Kyllingstad <listmailxemacs@kyllingstad.com>
6466 * event-msw.c (mswindows_enqueue_mouse_button_event):
6467 * event-msw.c (mswindows_wnd_proc):
6468 enqueue button event when scrollwheel event isn't handled by
6469 mswindows_handle_mousewheel_event, such as when the scrollbars
6472 2003-07-29 Stephen J. Turnbull <stephen@xemacs.org>
6474 * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*.
6476 2003-03-24 Stephen J. Turnbull <stephen@xemacs.org>
6478 * database.c (Fopen_database): Don't use DB_AUTO_COMMIT.
6480 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org>
6482 * regex.c (re_match_2_internal): Fix matching degenerate word
6485 2003-05-25 XEmacs Build Bot <builds@cvs.xemacs.org>
6487 * XEmacs 21.4.13 is released
6489 2003-03-20 Stephen J. Turnbull <stephen@xemacs.org>
6491 * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H):
6492 * lisp.h (<inttypes.h>):
6493 Cygwin defines these types in <cygwin/types.h>. Don't duplicate
6496 2003-03-15 Martin Buchholz <martin@xemacs.org>
6498 * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file.
6499 Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs'
6500 Result: "temacs can only be run in -batch mode."
6501 Fix: Check xemacs executable candidate for directory-ness.
6503 2003-03-03 Robert Pluim <rpluim@bigfoot.com>
6505 * database.c: Don't use the u_int8_t etc typedefs on FreeBSD,
6506 they conflict with <sys/types.h>.
6508 2003-02-14 Martin Buchholz <martin@xemacs.org>
6510 * database.c: Berkeley DB wants __STDC__ to be defined.
6512 2003-02-13 Martin Buchholz <martin@xemacs.org>
6514 * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'.
6516 2003-02-01 Martin Buchholz <martin@xemacs.org>
6518 * process-unix.c (unix_send_process): Fix C++ compile error.
6520 2003-02-25 Andrew Begel <abegel@cs.berkeley.edu>
6522 * Added .dylib as an acceptable shared library file extension
6523 * to support MacOSX.
6525 2003-02-01 Martin Buchholz <martin@xemacs.org>
6527 * EmacsFrameP.h (EmacsFramePart):
6528 Kludge to allow compiling with Motif1, but linking with Motif2.
6530 2003-01-28 Martin Buchholz <martin@xemacs.org>
6532 * config.h.in (_ALL_SOURCE): Guard against multiple definition.
6535 2003-02-23 Stephen J. Turnbull <stephen@xemacs.org>
6537 * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin.
6539 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
6541 * sysdll.c: Included lisp.h to define needed alloca_array.
6543 2003-02-13 Martin Buchholz <martin@xemacs.org>
6545 Make XEmacs redisplay 10 times faster.
6546 If, that is, you're using a slow X connection and MoveOpaque.
6547 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
6548 Use compress_motion = TRUE.
6549 * EmacsFrame.c (emacsFrameClassRec):
6550 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
6551 * EmacsManager.c (emacsManagerClassRec):
6552 * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
6554 2003-01-30 Vin Shelton <acs@xemacs.org>
6556 * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux.
6558 2003-01-17 Stephen J. Turnbull <stephen@xemacs.org>
6560 * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef.
6561 Patch by Martin Buchholz.
6563 2003-01-16 Stephen J. Turnbull <stephen@xemacs.org>
6565 * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison.
6566 Thanks to icc for warning and Martin Buchholz for reporting.
6568 2003-01-29 Vin Shelton <acs@xemacs.org>
6570 Patch courtesy of Andrew Begel <abegel@cs.berkeley.edu>
6572 * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so
6573 remember to multiply by the element size.
6575 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
6577 * XEmacs 21.4.12 "Portable Code" is released.
6579 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
6581 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
6582 * s/cygwin.sc: new linker file.
6584 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
6586 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
6588 * redisplay-x.c (x_output_string): Use X11-specified types.
6589 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
6590 * emacs.c (__free_hook): Use typeof with Intel compiler.
6591 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
6593 2003-01-08 Andy Piper <andy@xemacs.org>
6595 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
6596 reserve size during unexec().
6598 2003-01-07 Daiki Ueno <daiki@xemacs.org>
6600 * process-unix.c (unix_create_process): Don't let outchannel block.
6602 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
6604 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
6605 Needed for IsBadReadPtr().
6607 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
6609 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
6611 2002-12-14 Ben Wing <ben@xemacs.org>
6613 * callint.c: Declaration error.
6615 * dumper.c (pdump_load): Warning fix.
6616 * process.c: GCPRO error.
6617 * glyphs.c (unmap_subwindow):
6618 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
6619 * event-stream.c (maybe_kbd_translate): Wrong argument to
6620 character_to_event().
6622 * alloc.c (garbage_collect_1):
6624 * emacs.c (debug_can_access_memory):
6625 * emacs.c (fatal_error_signal):
6626 * emacs.c (mswindows_handle_hardware_exceptions):
6629 * emacs.c (assert_failed):
6630 * emacs.c (syms_of_emacs):
6633 * print.c (std_handle_out_va):
6634 * print.c (write_string_to_stdio_stream):
6635 * print.c (write_fmt_string):
6636 * print.c (printing_badness):
6637 * print.c (printing_major_badness):
6638 * print.c (print_internal):
6639 * print.c (debug_print_no_newline):
6640 * print.c (debug_backtrace):
6641 Be more defensive in handling bad values when printing. Add code
6642 from trunk involving inhibit_non_essential_printing_operations.
6643 When going down or in debug_print(), don't do external conversion
6644 and such and try really, really hard when printing to avoid core
6645 dumping. Add force-debugging-signal, debug_break().
6647 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
6649 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
6650 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
6652 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
6654 * database.c: Fix open_database. Berkeley DB API has changed in
6655 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
6657 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
6659 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
6661 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
6663 * event-Xt.c (Xt_timeout):
6664 (Xt_timeout_callback):
6665 (emacs_Xt_add_timeout):
6666 (emacs_Xt_remove_timeout):
6667 (Xt_timeout_to_emacs_event):
6668 Turn completed_timeouts from a stack into a queue. Fixes
6669 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
6671 2002-11-07 Wolfram Gloger <wg@malloc.de>
6673 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
6674 * emacs.c (main): Assert that mmap'd allocation is disabled.
6676 2002-10-14 Andy Piper <andy@xemacs.org>
6678 * glyphs-widget.c (layout_query_geometry): add in fiddle
6679 factor. Include border text in width layout calculation.
6680 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
6682 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
6684 * XEmacs 21.4.10 "Military Intelligence" is released.
6686 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
6688 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
6689 using the NAS private array SoundFileInfo that no longer exists in
6690 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
6691 and earlier. This is broken for some versions between 1.5a and
6694 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
6696 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
6698 * emacs.c (shut_down_emacs): Improve crash message.
6700 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
6702 * file-coding.c (determine_real_coding_system): Check for coding
6703 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
6704 shebangs and Python PEP 263.
6706 2002-10-08 Andy Piper <andy@xemacs.org>
6708 * glyphs-widget.c (layout_query_geometry): only resize dynamically
6709 if static sizes haven't been set.
6711 2002-08-30 Mike Alexander <mta@arbortext.com>
6713 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
6716 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
6718 * callproc.c (child_setup): 21.4 doesn't have retry_close.
6720 2002-09-20 Mike Sperber <mike@xemacs.org>
6722 (This partially gets back my patch from 2002-07-20 without the
6724 * callproc.c (child_setup): Remove Ben's comment noting confusion
6725 over the file descriptors >= 3: close_process_descs() doesn't
6726 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
6727 * process-unix.c (unix_create_process): Call
6728 begin_dont_check_for_quit to inhibit unwanted interaction (and
6729 thus breaking of X event synchronicity) in the child.
6731 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
6733 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
6736 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
6738 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
6739 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
6740 the xemacs process did not exit, but looped infinitely here. This
6743 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
6745 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
6746 (find_context): Improve comments.
6748 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
6749 (re_match_2): An XCHAR_TABLE operation was missing.
6751 Many of the following changes were inspired by Andy Piper's (now
6752 obsolete) patch to make syntax-table text property lookup optional.
6756 * syntax.h (top level): Document semantics of syntax flags.
6757 * syntax.c (comstr_start, Fforward_comment): Improve comments.
6758 * syntax.c, syntax.h (top level): Document syntax cache better in
6761 [Instrument syntax caching (temporary change)]
6763 * syntax.h (enum syntax_cache_statistics_functions, struct
6764 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
6765 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
6766 * syntax.c (scan_words, Fforward_comment, scan_lists,
6767 Fbackward_prefix_characters):
6768 * font-lock.c (find_context):
6769 Use them to instrument syntax caching.
6770 * syntax.c (struct syntax_cache_statistics, scs_statistics,
6771 syntax_cache_statistics_function_names): New type and variables.
6772 * syntax.c (update_syntax_cache): Update and report statistics.
6774 [Major syntax cache optimizations]
6776 syntax.c (lookup_syntax_properties): Default off.
6778 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
6779 * syntax.c (update_syntax_cache):
6780 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
6782 [Minor syntax cache optimizations and code clarifications]
6784 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
6785 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
6786 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
6787 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
6788 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
6789 (Code clarification.)
6791 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
6792 scan_lists): Compute code from syncode, use Boolean macros instead
6793 of redundant masking operations. (Code clarification; any decent
6794 compiler can do this optimization.)
6796 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
6799 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
6800 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
6801 use F*_single_property_change instead of F*_extent_change.
6802 Currently F*_single_property_change is _much_ less efficient.
6804 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
6805 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
6806 syntax_cache.object properly, don't leave Qt or Qnil.
6807 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
6808 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
6809 tests for Qt or Qnil.
6811 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
6813 * redisplay.c (point_in_line_start_cache):
6814 * extents.c (print_extent_1):
6817 * extents.c (Fset_extent_property): Document `syntax-table' property.
6819 * extents.h (Fnext_single_property_change): EXFUN it.
6821 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
6823 * search.c (clear_unused_search_regs): New static function.
6827 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
6828 Minor clarifications in comments.
6830 * regex.c (re_match_2_internal): Ensure no stale submatches.
6832 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
6834 * event-Xt.c (enqueue_focus_event): Add missing prototype.
6836 2002-08-29 Jerry James <james@xemacs.org>
6838 * lisp.h: structrures -> structures.
6840 2002-06-03 Andy Piper <andy@xemacs.org>
6842 * frame.c (frame_conversion_internal): add conversion appropriate
6843 for setting frame dimensions in pixels.
6845 * console.h (struct console_methods): add device-specific widget
6848 * emacs.c (main_1): initialize glyph vars.
6850 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
6851 (handle_focus_event_2): new function. Allow focus to
6852 be set to a particular window and widget.
6853 (enqueue_focus_event): new function. Create a
6854 synthetic focus event.
6855 (emacs_Xt_handle_magic_event): call
6856 handle_focus_event_2.
6858 * frame.c (Fset_frame_pixel_height): new function. Allow
6859 pixel-based sizing. Does the right thing on character-oriented
6861 (Fset_frame_pixel_width): ditto.
6862 (Fset_frame_pixel_size): ditto.
6863 (syms_of_frame): declare.
6865 * general-slots.h: add :vertically-justify and
6866 :horizontally-justify.
6868 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
6869 (mswindows_widget_border_width): new function.
6870 (mswindows_combo_box_instantiate): set border widths.
6871 (console_type_create_glyphs_mswindows): declare.
6874 (check_valid_justification): allow vertical and horizontal
6876 (widget_border_width): new function. Call device methods.
6877 (widget_instance_border_width): ditto.
6878 (logical_unit_height): new function. Determine the height of a
6879 logical-unit. Logical units are intended to provide grid-like
6880 layout for subcontrols in a layout. If the layout is
6881 :vertically-justify top then subcontrols will be positioned on
6882 logical-unit boundaries, thus allowing adjacent subcontrols to
6884 (widget_logical_unit_height): ditto for widgets.
6885 (redisplay_widget): misc cleanup.
6886 (widget_spacing): new function. Call device specific
6887 methods. Intended to be the default gap between adjacent widgets.
6888 (widget_query_geometry): use new spacing functions to determine
6889 appropriate geometry.
6890 (initialize_widget_image_instance): initialize horizontal and
6891 vertical justification.
6892 (widget_instantiate): use logica-units where appropriate for
6893 sizing large widgets.
6894 (button_query_geometry): use widget_instance_border_width.
6895 (tree_view_query_geometry): ditto.
6896 (tab_control_query_geometry): ditto.
6897 (edit_field_query_geometry): new function.
6898 (layout_update): pick up :justify, :horizontally-justify and
6899 :vertically-justify none of which worked previously. :justify is
6900 used as a fallback for both horizontal and vertical justification.
6901 (layout_query_geometry): use logical units to size appropriately.
6902 (layout_layout): ditto.
6903 (Fwidget_logical_to_character_width): new function. Allow users to
6904 convert from logical units to characters so that frame sizes can
6905 be set appropriately.
6906 (Fwidget_logical_to_character_height): ditto.
6907 (syms_of_glyphs_widget): declare.
6908 (image_instantiator_edit_fields): add edit_field_query_geometry.
6909 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
6910 :horizontally-justify.
6911 (specifier_vars_of_glyphs_widget): new function. Declare
6912 Vwidget_border_width which is not yet used.
6914 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
6915 (x_widget_border_width): new function.
6916 (x_widget_instantiate): create a sensible name for widgets.
6917 (console_type_create_glyphs_x): declare x_widget_border_width.
6919 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
6920 (struct Lisp_Image_Instance): add :vertically-justify and
6921 :horizontally-justify.
6922 (LAYOUT_JUSTIFY_TOP): new.
6923 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
6924 (ROUND_UP): new macro. Round argument up to next integral
6927 * redisplay-output.c (redisplay_output_layout): misc formatting.
6929 * symsinit.h: declare specifier_vars_of_glyphs_widget.
6931 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
6933 * XEmacs 21.4.9 "Informed Management" is released.
6935 2002-08-19 Andy Piper <andy@xemacs.org>
6937 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
6940 * realpath.c (xrealpath): normalize drive spec also so that dir
6941 sep chars are not mixed on cygwin.
6943 2002-08-06 Jerry James <james@xemacs.org>
6945 * window.c (Fsplit_window): Count only half of the divider width
6946 against the left window when splitting horizontally.
6948 2002-06-24 Andy Piper <andy@xemacs.org>
6950 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
6951 toolbar was cleared.
6953 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
6954 function. Split out from mswindows_output_frame_toolbars.
6955 (mswindows_output_frame_toolbars): move clear pieces to
6956 mswindows_output_frame_toolbars.
6958 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
6959 out from gtk_output_frame_toolbars.
6960 (gtk_output_frame_toolbars): move clear pieces to
6961 gtk_clear_frame_toolbars.
6963 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
6964 the frame is cleared. How this ever worked before is a mystery.
6965 (x_output_frame_toolbars): Only output toolbars.
6966 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
6968 * gutter.c (update_gutter_geometry):
6969 Mark frame layout changed.
6970 (update_frame_gutter_geometry, update_frame_gutters):
6971 Respect frame_layout_changed.
6973 * console.h (struct console_methods): add
6974 clear_frame_toolbars_method.
6976 * redisplay.c (redisplay_frame): call
6977 update_frame_toolbars_geometry and re-order update_frame_toolbars.
6979 * toolbar.h: declare update_frame_toolbars_geometry.
6981 * toolbar.c (update_frame_toolbars_geometry): new function. Split
6982 out from update_frame_toolbars. Call clear_frame_toolbars.
6983 (update_frame_toolbars): only output, do not change geometry.
6985 * redisplay.c: add frame_layout_changed.
6987 * redisplay.h: add frame_layout_changed.
6988 (CLASS_RESET_CHANGED_FLAGS): set it.
6989 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
6990 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
6991 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
6993 * device.h (struct device): add frame_layout_changed.
6994 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
6996 * frame.h (struct frame): add frame_layout_changed.
6997 (MARK_FRAME_LAYOUT_CHANGED): new.
6999 2002-06-30 Mike Alexander <mta@arbortext.com>
7001 * event-msw.c (mswindows_need_event): Don't wait for a new message
7002 if the queue is not empty. Suggested by Paul Moore.
7004 2002-06-12 Andy Piper <andy@xemacs.org>
7006 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
7007 for printing on accurately.
7009 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
7011 * event-msw.c (mswindows_wnd_proc): Add a handler for the
7012 WM_ACTIVATE message. Make sure that the frame is visible if the
7013 window is visible. This seemss to fix the problem where XEmacs
7014 appears to freeze after switching desktops with certain virtual
7016 (debug_output_mswin_message): Added code to output message
7017 parameters for WM_WINDOWPOSCHANGED,
7018 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
7020 2002-05-25 Andy Piper <andy@xemacs.org>
7022 * select-x.c (vars_of_select_x): Fix docstring of
7023 x-selection-strict-motif-ownership
7025 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7027 * keymap.c (get_keymap):
7028 Add comment about do_autoload GCPROs own args.
7030 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7032 * bytecode.c (execute_optimized_program): check_opcode ifdef
7033 ERROR_CHECK_BYTE_CODE.
7035 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7037 Thanks to Ben Wing and Michael Sperber.
7039 * eval.c (Fcommand_execute):
7042 (Fmacroexpand_internal):
7043 (function_argcount):
7044 callint.c (Fcall_interactively):
7045 Add comment about do_autoload GCPROs own args.
7047 * (do_autoload): GCPRO both args as well as local Lisp_Object.
7049 * eval.c (Ffuncall): Extra braces to placate GCC.
7051 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
7053 * backtrace.h (grow_specpdl):
7055 * EmacsFrame.c (EmacsFrameSetValues):
7056 * eval.c (grow_specpdl):
7057 * ExternalShell.c (hack_event_masks_1):
7058 * glyphs-x.c (convert_EImage_to_XImage):
7059 (x_finalize_image_instance):
7060 * ralloc.c (page_size):
7062 * xgccache.c (gc_cache_hash):
7063 Fix unsigned comparison warnings.
7065 2002-07-29 Jerry James <james@xemacs.org>
7067 * lread.c (locate_file): Any nonnegative return value indicates
7068 success if MODE is nonnegative.
7070 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
7072 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
7075 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
7077 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
7079 * dumper.c (pdump_get_indirect_count):
7080 (pdump_scan_by_alignment):
7081 (pdump_dump_root_struct_ptrs):
7082 (pdump_dump_rtables):
7083 (pdump_dump_root_objects):
7085 * nas.c (WaveOpenDataForReading):
7086 * fns.c (print_bit_vector):
7087 * font-lock.c (SINGLE_SYNTAX_STYLE):
7088 * glyphs.c (check_for_ignored_expose):
7089 (find_matching_subwindow):
7091 * imgproc.c (get_histogram):
7092 * redisplay.c (point_in_line_start_cache):
7093 * redisplay-output.c (redisplay_unmap_subwindows):
7094 * symbols.c (defsymbol_massage_name_1):
7095 (defkeyword_massage_name):
7096 (deferror_massage_name_and_message):
7097 * redisplay-x.c (x_output_string):
7098 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
7099 * frame.h (struct frame):
7100 * filelock.c (current_lock_owner):
7101 * doprnt.c (emacs_doprnt_1):
7102 * lisp.h (struct Lisp_Bit_Vector):
7106 2002-02-13 Ben Wing <ben@xemacs.org>
7108 * event-stream.c (reset_key_echo):
7109 * event-stream.c (reset_this_command_keys):
7110 * event-stream.c (execute_command_event):
7111 If console is dead as a result of C-x 5 0, then post-command stuff
7112 needs to be careful and do only non-console-specific stuff.
7114 2002-07-01 Mike Sperber <mike@xemacs.org>
7116 * process-unix.c (unix_send_process): Mark coding_outstream as
7117 non-open upon SIGPIPE.
7119 * event-stream.c (Fnext_event): Reorder switch cases to something
7122 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
7124 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
7125 Don't bogusly reinitialize ascii_character property.
7127 2002-07-08 Mike Sperber <mike@xemacs.org>
7129 * process.c (Fstart_process_internal): Do error checking before we
7130 fork off the child, so the child can't muck with the state of the
7133 2002-07-08 Mike Sperber <mike@xemacs.org>
7135 * ralloc.c (init_ralloc): Allocate properly for pdump.
7137 2002-06-12 Andy Piper <andy@xemacs.org>
7139 * glyphs.c (query_string_geometry): check the string.
7141 * glyphs-widget.c (widget_logical_unit_height): cope with nil
7144 2002-06-17 Jerry James <james@xemacs.org>
7146 * sysdll.c: Remove RTLD_GLOBAL initialization.
7147 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
7149 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
7151 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
7153 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
7155 * sysdep.c (sys_rename): Make sys_rename work for the case where
7156 Windows rename sets errno to EACCES if target file exists.
7158 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
7160 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7161 Fix detection of metric units to work on Win95
7163 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
7165 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
7167 2002-04-25 Andy Piper <andy@xemacs.org>
7169 * redisplay.c (create_text_block): Remove extra comment trailer.
7171 2002-04-24 Andy Piper <andy@xemacs.org>
7173 * redisplay.c (create_text_block): Don't actually add propagation
7174 data if the line ends after we have added a glyph.
7176 2002-04-22 Andy Piper <andy@xemacs.org>
7178 * extents.c (extent_fragment_update): check for glyphs we have
7179 previously displayed.
7180 * extents.c (print_extent_1): warning removal.
7181 * extents.h: change prototype.
7182 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
7183 widths correctly for wide glyphs.
7184 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
7185 * redisplay.c (prop_type): add PROP_GLYPH.
7186 * redisplay.c (struct prop_block): add glyph type
7187 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
7188 to the propagation data.
7189 * redisplay.c (create_text_block): if there is a glyph in the
7190 propagation data use it to salt extent_fragment_update.
7191 * redisplay.c (create_string_text_block): ditto.
7193 2002-04-13 Nix <nix@esperi.demon.co.uk>
7195 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
7196 * redisplay-output.c (compare_runes): Compare them.
7197 * redisplay.c: Update copyright date.
7198 * redisplay.c (pos_data): Add need_baseline_computation field.
7199 * redisplay.c (add_glyph_rune): Update ascent, descent, and
7200 need_baseline_computation; zero yoffset. Set max_pixmap_height
7201 for all pixmaps, not just automatically positioned ones.
7202 * redisplay.c (calculate_yoffset): New, compute yoffset values.
7203 * redisplay.c (calculate_baseline): New, compute textual baseline.
7204 * redisplay.c (add_glyph_rune): Call them.
7205 * redisplay.c (create_text_block): Likewise.
7206 * redisplay.c (create_overlay_glyph_block): Likewise.
7207 * redisplay.c (add_margin_runes): Likewise.
7208 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
7210 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
7211 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
7212 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
7213 * redisplay-msw.c (mswindows_output_string): Likewise.
7214 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
7215 * redisplay-gtk.c (gtk_output_display_block): Likewise.
7216 * redisplay-x.c (x_output_display_block): Likewise.
7218 2002-03-28 Ben Wing <ben@xemacs.org>
7220 * redisplay.c: Fixed bug in redisplay
7221 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
7222 and down of the lines, since they're bigger than the line
7223 size. (It was seen most obviously when there's a horizontal scroll
7224 bar, e.g. do C-h a glyph or something like that.) The problem was
7225 that the glyph-contrib-p setting on glyphs was ignored even if it
7226 was set properly, which it wasn't until now.
7228 2002-04-24 Andy Piper <andy@xemacs.org>
7230 * lisp.h (Dynarr_end): Fix definition.
7232 2002-02-06 Adrian Aichner <adrian@xemacs.org>
7234 * redisplay.c (mark_redisplay): Remove call to
7235 update_frame_window_mirror.
7237 2001-11-15 Andy Piper <andy@xemacs.org>
7239 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
7242 2002-02-13 Andy Piper <andy@xemacs.org>
7244 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
7245 we did in fact enqueue the XM_MAPFRAME event.
7247 2002-01-15 Adrian Aichner <adrian@xemacs.org>
7249 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
7250 to fix problem switching between virtual desktops under virtuawin
7251 virtual window manager.
7253 2001-07-30 Adrian Aichner <adrian@xemacs.org>
7255 * event-msw.c: Typo fix.
7256 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
7257 magic XM_MAPFRAME event has been sent.
7259 2001-11-23 Andy Piper <andy@xemacs.org>
7261 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
7263 2001-11-21 Andy Piper <andy@xemacs.org>
7265 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
7266 mouse events outside the frame.
7268 2002-03-20 Andy Piper <andy@xemacs.org>
7270 * menubar-msw.c (mswindows_popup_menu): warning removal.
7271 * dialog-msw.c (dialog_popped_down): ditto.
7273 2001-12-11 Andy Piper <andy@xemacs.org>
7275 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
7276 * dialog-msw.c (mswindows_make_dialog_box_internal): set
7278 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
7279 * menubar-msw.c (mswindows_handle_wm_command): ditto.
7280 * menubar-msw.c (mswindows_popup_menu): ditto.
7282 2001-10-29 Andy Piper <andy@xemacs.org>
7284 * dialog-msw.c (handle_directory_dialog_box): quit if the user
7287 2002-01-03 Andy Piper <andy@xemacs.org>
7289 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
7293 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
7295 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
7296 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
7297 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7298 Detect and handle case where machine is set up for metric units
7300 2002-04-02 Andy Piper <andy@xemacs.org>
7302 * dired-msw.c (mswindows_get_files):
7303 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
7304 completely handled by XEmacs. Suggested by Thomas Vogler
7305 <mail@thomas-vogler.de>.
7307 2001-11-14 Andy Piper <andy@xemacs.org>
7309 * nt.c (REG_ROOT): change registry key to XEmacs.
7311 2002-04-27 Andy Piper <andy@xemacs.org>
7313 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
7315 2002-04-26 Andy Piper <andy@xemacs.org>
7317 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
7320 2002-03-14 Mike Alexander <mta@arbortext.com>
7322 * event-msw.c (mswindows_unwait_process): New, remove process from
7324 * process-nt.c (nt_finalize_process_data): Call
7325 mswindows_unwait_process
7326 * console-msw.h: Declare mswindows_unwait_process
7328 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
7330 * editfns.c (Fdecode_time):
7331 (Fformat_time_string):
7332 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
7333 (make_time): Warning elimination (change arg name).
7335 2001-11-24 Andy Piper <andy@xemacs.org>
7337 * window.c (Fsplit_window): Doc return type.
7339 2002-04-01 Andy Piper <andy@xemacs.org>
7341 * emacs.c (Fkill_emacs): Only output message box in interactive
7344 2002-04-26 Andy Piper <andy@xemacs.org>
7346 * config.h.in: pull in 21.5.x change to stop alloca warnings under
7349 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
7351 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
7354 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
7356 * XEmacs 21.4.8 "Honest Recruiter" is released.
7358 2002-05-07 Nix <nix@esperi.demon.co.uk>
7360 Supersedes 2002-04-17 patch.
7362 * process.h (PROCESS_LIVE_P): Use the process status as
7363 evidence of health, not the state of the input stream.
7364 (PROCESS_READABLE_P): Say if the process is readable
7365 from. (It may be dead nonetheless.)
7366 (CHECK_READABLE_PROCESS): Test for that condition.
7368 * process.c (create_process): Use PROCESS_READABLE_P.
7369 (read_process_output, set_process_filter): Likewise.
7371 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
7372 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
7374 This code is #if 0'd, this is not the time to add new functions:
7376 * process.c (Fprocess_readable_p): Report readability status.
7377 * process.c (Qprocess_readable_p): New, associated symbol...
7378 * process.c (syms_of_process): ... initialize it.
7380 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
7382 * XEmacs 21.4.7 "Economic Science" is released.
7384 2002-04-17 Nix <nix@esperi.demon.co.uk>
7386 * process.h (PROCESS_LIVE_P): Use the process status as
7387 evidence of health, not the state of the input stream.
7389 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
7391 * sysdep.c (sys_siglist): change "signum" to "signal"
7393 2001-04-21 Martin Buchholz <martin@xemacs.org>
7395 * s/darwin.h: New file.
7396 Thanks to Greg Parker <gparker@cs.stanford.edu>.
7398 2002-04-23 Andreas Jaeger <aj@suse.de>
7400 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
7401 which use lib64 for 64-bit libs.
7402 (START_FILES): Likewise.
7404 2002-02-11 Mike Sperber <mike@xemacs.org>
7407 (x_IO_error_handler):
7408 (x_init_device): Temporarily keep device in static variable
7409 `device_being_initialized' so we can recover gracefully from
7410 internal XOpenDevice failure. (XOpenDevice is documented to
7411 return NULL on failure, but sometimes calls the IO error handler
7414 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
7416 * dired.c (Ffile_name_all_completions): Change documentation --
7417 remove reference to completion-ignored-extensions.
7418 * dired.c (vars_of_dired): Change documentation for
7419 completion-ignored-extensions -- remove reference to
7420 file-name-all-completions.
7422 2002-03-06 Jerry James <james@xemacs.org>
7424 * emodules.c (emodules_load): Fix multiple loading of same module.
7426 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
7427 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
7428 RTLD_LAZY to avoid incorrect symbol binding when using nested
7429 shared libraries on Solaris.
7431 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
7433 * fileio.c (Ffind_file_name_handler): Improve docstring.
7435 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
7437 * fns.c (Fmapconcat): Improve docstring.
7439 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
7441 * device-gtk.c: Add prototype for
7442 emacs_gtk_selection_clear_event_handle.
7443 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
7444 selection. Setup signal handler for "selection_clear_event"
7445 (emacs_gtk_selection_clear_event_handle).
7447 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
7448 other applications owning the clipboard (based on
7449 x_handle_selection_clear).
7451 2001-12-23 William M. Perry <wmperry@gnu.org>
7453 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
7455 2002-01-04 Martin Buchholz <martin@xemacs.org>
7457 * keymap.c (define_key_alternate_name): Parenthesize EQ.
7459 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
7461 * XEmacs 21.4.6 "Common Lisp" is released.
7463 2001-12-16 Torsten Duwe <duwe@caldera.de>
7465 * search.c (Freplace_match): Add missing sub-expression functionality.
7467 * buffer.c (decode_buffer): Add a check for pointer type to
7468 decode_buffer, before gcc's CSE optimization reorders a
7469 dereference in front of the allow_string test.
7471 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
7473 * window.c (window_loop): Fix bug that sometimes prevented
7474 window_loop() from iterating across multiple devices. Also, at
7475 Ben's request, changed infloop-detecting code to abort() instead
7476 of silently terminating window_loop().
7478 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
7480 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
7481 * editfns.c (make_time): New function.
7482 (Fencode_time): Use it instead of wasteful_word_to_lisp.
7483 * lisp.h (make_time): Prototype and comment it.
7484 * dired.c (wasteful_word_to_lisp): Deprecate.
7485 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
7487 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
7489 * fileio.c (auto_save_1): Use current coding system, not
7492 2001-11-13 Ben Wing <ben@xemacs.org>
7495 * window.c (window_truncation_on):
7496 * window.c (syms_of_window):
7497 truncate-partial-width-windows should respect the buffer being
7498 displayed, like other redisplay vars.
7500 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
7502 * event-stream.c (Fread_key_sequence): save current buffer.
7504 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
7506 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
7508 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
7510 * alloc.c (lcrecord_stats): Add space for types defined in modules.
7512 2001-10-26 Mike Alexander <mta@arbortext.com>
7514 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
7516 2001-10-25 Andy Piper <andy@xemacs.org>
7519 * dialog-msw.c (handle_directory_proc): new function.
7520 (handle_directory_dialog_box): new fucntion.
7521 (handle_file_dialog_box): use new directory dialog support.
7522 (mswindows_make_dialog_box_internal): ditto.
7523 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
7525 (mswindows_find_frame): make global.
7526 * fileio.c (Fexpand_file_name): build fix.
7527 * general-slots.h: add Qdirectory.
7528 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
7530 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
7531 cygwin not leaving win32 paths unchanged.
7532 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
7533 cygwin runtime to do path conversion.
7534 (Fmswindows_shell_execute): fix cygwin handling of URLs.
7535 (syms_of_win32): add new function.
7536 * window.c (window_loop): build fix.
7538 2001-10-15 Andy Piper <andy@xemacs.org>
7540 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
7542 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
7544 * XEmacs 21.4.5 "Civil Service" is released.
7546 2001-04-08 Danny Colascione <qtmstr@optonline.net>
7548 * glyphs-x.c: Force buffer-tab highlight update when moving the
7549 buffer, avoiding an ugly black border, used for keyboard focus
7550 indication, on a widget that can never have keyboard focus, the
7553 2001-08-30 Daiki Ueno <ueno@unixuser.org>
7555 * process-unix.c (unix_open_multicast_group): Remove too much
7556 conversion between host and network byte order.
7558 2001-09-10 Nix <nix@esperi.demon.co.uk>
7560 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
7561 before replacing them.
7563 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
7566 * src/window.c (undedicate_windows): Use it.
7567 * src/window.h: Add prototype.
7569 2001-09-17 Ben Wing <ben@xemacs.org>
7571 * fileio.c (normalize_filename):
7572 * fileio.c (Fexpand_file_name):
7573 Fix various C++ compile errors in Andy's recent code.
7575 * callint.c (Fcall_interactively):
7576 * editfns.c (Ftemp_directory):
7577 * editfns.c (Fuser_full_name):
7578 * emacs.c (argmatch):
7579 * lread.c (locate_file_map_suffixes):
7580 * redisplay-x.c (x_ring_bell):
7581 Fix sign-compare warnings.
7583 2001-09-08 Andy Piper <andy@xemacs.org>
7585 * fileio.c (normalize_filename): copied from nt.c
7586 * (Ffile_name_directory): enable win32 paths under cygwin.
7587 * (Ffile_name_nondirectory): ditto.
7588 * (directory_file_name): ditto.
7589 * (Fexpand_file_name): ditto.
7590 * (Ffile_truename): ditto.
7591 * (Fsubstitute_in_file_name): ditto.
7592 * (Ffile_name_absolute_p): ditto.
7593 * (Ffile_readable_p): ditto.
7595 2001-09-08 Andy Piper <andy@xemacs.org>
7597 * device-msw.c (mswindows_finish_init_device): remove dde
7599 * device-msw.c (mswindows_init_dde): factor out from
7600 mswindows_finish_init_device()
7601 * device-msw.c (init_mswindows_very_early): new function
7602 initialize but don't enable dde.
7603 * emacs.c (main_1): call init_mswindows_very_early.
7605 * event-msw.c (mswindows_dde_callback): only execute when we are
7607 * symsinit.h: declare init_mswindows_very_early.
7609 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7611 [sjt: This has been in 21.5 for months with no complaints.]
7613 * console.h (struct console_methods): Added flags member.
7614 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
7615 (CONMETH_IMPL_FLAG):
7616 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
7617 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
7619 * device.c (window_system_pixelated_geometry): Use the above macros.
7621 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
7622 implememntation flag.
7623 * device.h (DEVICE_DISPLAY_P): Use it.
7625 * frame.c (delete_frame_internal): Use the above macro.
7627 * redisplay.c (redisplay_device): Use it.
7628 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
7629 (redisplay_frame): Ditto.
7631 * device-msw.c (mswindows_device_implementation_flags): Removed.
7632 (msprinter_device_implementation_flags): Removed.
7633 (console_type_create_device_mswindows): Removed references to
7634 implementation_flags methods, set implementation flags here.
7635 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
7637 * device-gtk.c (gtk_device_implementation_flags): Removed method.
7638 (console_type_create_device_gtk): Removed method declaration.
7639 Added commented out statement which semantically matches the
7640 commented out statement in the above removed method.
7642 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
7644 The attached patch fixes a few warnings.
7646 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
7647 * src/frame-gtk.c: guard against GNOME calls in GTK only
7648 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
7649 * src/select-gtk.c: prototype lisp_to_time
7651 2001-06-08 Ben Wing <ben@xemacs.org>
7653 ------ gc-in-window-procedure fixes ------
7656 * alloc.c (struct post_gc_action):
7657 * alloc.c (register_post_gc_action):
7658 * alloc.c (run_post_gc_actions):
7659 * alloc.c (garbage_collect_1):
7660 Create "post-gc actions", to avoid those dreaded "GC during window
7661 procedure" problems.
7664 Abort, clean and simple, when GC in window procedure. We want
7665 to flush these puppies out.
7668 * glyphs-msw.c (finalize_destroy_window):
7669 * glyphs-msw.c (mswindows_finalize_image_instance):
7670 Use a post-gc action when destroying subwindows.
7673 Declare register_post_gc_action().
7676 * scrollbar-msw.c (unshow_that_mofo):
7677 Use a post-gc action when unshowing scrollbar windows, if in gc.
7679 * redisplay.c (mark_redisplay):
7680 Add comment about the utter evilness of what's going down here.
7682 ------ cygwin setitimer fixes ------
7684 * Makefile.in.in (sheap_objs):
7685 * Makefile.in.in (profile_objs):
7686 * Makefile.in.in (objs):
7687 Compile profile.c only when HAVE_SETITIMER.
7689 * nt.c (mswindows_sigset):
7690 * nt.c (mswindows_sighold):
7691 * nt.c (mswindows_sigrelse):
7692 * nt.c (mswindows_sigpause):
7693 * nt.c (mswindows_raise):
7694 * nt.c (close_file_data):
7698 Move setitimer() emulation to win32.c, because Cygwin needs it too.
7701 * profile.c (Fstart_profiling):
7702 * profile.c (Fstop_profiling):
7703 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
7704 instead of just plain setitimer().
7707 * signal.c (set_one_shot_timer):
7709 Define qxe_setitimer() as an encapsulation around setitimer() --
7710 call setitimer() directly unless Cygwin or MS Win, in which case
7711 we use our simulated version in win32.c.
7714 * systime.h (struct itimerval):
7715 * systime.h (ITIMER_REAL):
7716 Prototype mswindows_setitimer() and qxe_setitimer(). Long
7717 comment about "qxe" and the policy regarding encapsulation.
7720 * win32.c (setitimer_helper_proc):
7721 * win32.c (setitimer_helper_period):
7722 * win32.c (setitimer_helper):
7723 * win32.c (mswindows_setitimer):
7724 Move setitimer() emulation here, so Cygwin can use it.
7725 Rename a couple of functions and variables to be longer and more
7726 descriptive. In setitimer_helper_proc(), send the signal
7727 using either mswindows_raise() or (on Cygwin) kill(). If for
7728 some reason we are still getting lockups, we'll change the kill()
7729 to directly invoke the signal handlers.
7731 ------ windows shell fixes ------
7735 Comments about how these two files must die.
7737 * callproc.c (init_callproc):
7738 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
7739 not just COMSPEC. (more correct and closer to FSF.) Don't
7740 force a value for SHELL into the environment. (Comments added
7741 to explain why not.)
7743 * nt.c (init_user_info):
7744 Don't shove a fabricated SHELL into the environment. See above.
7746 2001-06-01 Ben Wing <ben@xemacs.org>
7748 * Makefile.in.in (ldflags):
7749 eliminate that pesky "defaulting to 00401000" warning.
7753 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
7755 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
7756 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
7758 2001-04-24 Jerry James <james@xemacs.org>
7760 * faces.h: pass parameters to Fadd_spec_to_specifier in the
7763 2001-06-01 Ben Wing <ben@xemacs.org>
7765 * event-msw.c (debug_mswin_messages):
7766 conditionalize the messages that were causing compile errors.
7767 (if only macros could generate #ifdef statements ...)
7769 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
7771 * XEmacs 21.4.4 "Artificial Intelligence" is released.
7773 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
7775 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
7777 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
7779 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
7780 * process-unix.c (unix_canonicalize_host_name):
7781 sysdep.c (init_system_name):
7782 Use it to conditionally support IPv6 canonicalization.
7784 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
7787 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
7789 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
7791 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
7792 attempt is made to scroll when no scroll bar is available.
7794 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
7796 * input-method-motif.c (XIM_delete_frame): New callback.
7797 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
7798 got deleted from 21.4.3.)
7800 2001-06-01 Ben Wing <ben@xemacs.org>
7802 * nt.c (mswindows_utime):
7803 * nt.c (close_file_data):
7804 fix off-by-one-indirection error.
7806 2001-05-29 Adrian Aichner <adrian@xemacs.org>
7808 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
7809 because set_file_times() now takes Lisp_Object path, instead of
7811 * nt.c: Include buffer.h.
7812 * nt.c (convert_from_time_t): New.
7813 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
7814 not set mtime correctly.
7815 * nt.h: Declare mswindows_utime().
7816 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
7817 path, instead of char*.
7818 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
7820 2001-05-30 Ben Wing <ben@xemacs.org>
7824 (Stephen, just take all event-msw.c patches. This includes
7825 the "iconify" fix below.)
7828 * event-msw.c (mswindows_dequeue_dispatch_event):
7829 * event-msw.c (assert):
7830 * event-msw.c (emacs_mswindows_quit_p):
7831 * event-msw.c (debug_mswin_messages):
7832 * event-msw.c (debug_output_mswin_message):
7833 * event-msw.c (vars_of_event_mswindows):
7834 Fix yet more problems with C-g handling.
7835 Implement debug-mswindows-events.
7837 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7839 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
7841 2001-05-23 Ben Wing <ben@xemacs.org>
7843 * event-msw.c (winsock_writer):
7844 * event-msw.c (winsock_closer):
7845 prior kludgy code was clobbering the buffer, thinking it was
7846 "unused" space to store an unneeded return value; instead, use
7847 the variable we've already got staring us in the face.
7849 2001-05-17 Andy Piper <andy@xemacs.org>
7851 * sysfile.h: don't assume that file attributes are boolean
7853 2001-05-23 Ben Wing <ben@xemacs.org>
7855 * device-msw.c (msprinter_init_device):
7856 signal an error rather than crash with an unavailable network
7857 printer (from Mike Alexander).
7860 * event-msw.c (struct winsock_stream):
7861 * event-msw.c (winsock_writer):
7862 * event-msw.c (winsock_closer):
7863 * event-msw.c (make_winsock_stream_1):
7864 cleanup headers. fix (hopefully) an error with data corruption
7865 when sending to a network connection.
7867 * fileio.c (Fexpand_file_name): Fix evil code that attempts
7868 to handle the ~user prefix by (a) always assuming we're referencing
7869 ourselves and not even verifying the user -- hence any file with
7870 a tilde as its first char is invalid! (b) if there wasn't a slash
7871 following the filename, the pointer was set *past* the end of
7872 file and we started reading from uninitialized memory. Now we
7873 simply treat these as files, always.
7875 * buffer.c (common_init_complex_vars_of_buffer): comment change.
7877 2001-05-19 Ben Wing <ben@xemacs.org>
7879 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
7882 * process-nt.c (vars_of_process_nt):
7883 remove unused mswindows-quote-process-args. rec for 21.4.
7885 2001-05-12 Ben Wing <ben@xemacs.org>
7887 * event-msw.c (mswindows_dde_callback):
7888 * event-msw.c (mswindows_wnd_proc):
7889 eliminate cygwin warnings.
7891 2001-05-06 Ben Wing <ben@xemacs.org>
7895 * device-msw.c (print_dialog_worker):
7896 * device-msw.c (mswindows_handle_print_dialog_box):
7897 * device-msw.c (syms_of_device_mswindows):
7898 * dialog-msw.c (mswindows_make_dialog_box_internal):
7900 implement printing the selection when it's selected.
7902 2001-05-20 Drazen Kacar <dave@arsdigita.com>
7904 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
7906 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
7908 * lisp.h (EMACS_INT_MAX): This should be one bit less since
7909 EMACS_INT is signed.
7911 2001-04-15 Michael Lausch <mla@1012surf.net>
7913 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
7914 gtk_widget_request_size() to give scrollbar >0 width for
7917 2001-05-30 William M. Perry <wmperry@gnu.org>
7919 * event-gtk.c: Check for buttons as modifier keys.
7921 2001-05-25 Craig Lanning <CraigL@Knology.net>
7924 Properly find MinGW's <process.h> inside Cygwin's restructured
7925 include directories. Don't try to include <cygwin/version.h>
7926 since we are dropping support for MinGW in versions of Cygwin
7929 Drop support for MinGW in versions of Cygwin before b21.
7931 Properly find MinGW's <process.h> inside Cygwin's restructured
7932 include directories.
7934 Drop support for MinGW in versions of Cygwin before b21.
7936 Even though a.out.h is no longer detected by configure, allow
7937 MinGW to use it until we figure out how to do the job with Win32.
7939 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
7941 * syntax.c (find_start_of_comment):
7942 Fix `unbalanced parentheses' bug when dealing with mixed comment
7943 styles in c++/java/etc. mode
7945 2001-05-29 Mike Alexander <mta@arbortext.com>
7947 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
7948 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
7950 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
7952 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
7954 2001-03-31 Mike Sperber <mike@xemacs.org>
7956 * search.c (Freplace_match): Support FSF-style specification of
7957 match subexpression when applied to a buffer.
7959 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
7961 * event-stream.c (is_scrollbar_event): add missing semicolon
7963 2001-05-22 Isaac Hollander <ysh@mindspring.com>
7965 * Makefile.in.in: Use TAR macro instead of hardcoding
7966 tar. Allows use of GNU tar instead of system tar
7968 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
7970 * event-stream.c (is_scrollbar_event): add missing semicolon
7972 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
7974 * XEmacs 21.4.3 "Academic Rigor" is released.
7976 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
7978 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
7980 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
7982 * buffer.c (Vcase_fold_search): Remove obsolete
7983 comment about non ASCII case-fold-search. This
7984 bug has been fixed by case-table changes.
7986 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
7988 * event-msw.c: Restore include of events-mod.h.
7990 2001-04-22 zhaoway <zw@debian.org>
7992 * event-stream.c (is_scrollbar_event): Noop returning 0 if
7995 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
7997 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
7999 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
8001 * mule-charset.c (Fmake_charset): Add missing else.
8003 2001-04-23 Ben Wing <ben@xemacs.org>
8005 * event-msw.c (FAKE_MOD_QUIT):
8006 * event-msw.c (mswindows_dequeue_dispatch_event):
8007 * event-msw.c (mswindows_wnd_proc):
8008 * event-msw.c (emacs_mswindows_quit_p):
8009 Get critical quit working.
8011 2001-05-05 Ben Wing <ben@xemacs.org>
8015 * device-msw.c (mswindows_get_default_margin):
8016 * frame-msw.c (mswindows_size_frame_internal):
8017 * frame-msw.c (msprinter_init_frame_1):
8018 * frame-msw.c (vars_of_frame_mswindows):
8019 Change top/bottom margin defaults to 0.5 inches.
8021 2001-05-01 Martin Buchholz <martin@xemacs.org>
8023 Fix link error with gcc 3.0 on Linux.
8024 * terminfo.c (UP): Remove.
8025 * terminfo.c (BC): Remove.
8026 * terminfo.c (PC): Remove.
8027 They weren't used, and in any case, these symbols should be
8028 defined in the *library*.
8030 2001-05-03 Martin Buchholz <martin@xemacs.org>
8032 * s/aix4.h: Fix crash with xlc -O3.
8033 Improve comment explaining how -O3 works.
8035 2001-04-15 Ben Wing <ben@xemacs.org>
8038 * event-stream.c (Fnext_event):
8039 * event-stream.c (is_scrollbar_event):
8040 * event-stream.c (execute_command_event):
8041 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
8042 crash' problem. His fix introduces other problems. We filter
8043 out scrollbar events specifically, making them somewhat invisible
8044 to command-building, and not appearing in `this-command-keys'.
8045 More work is still needed (see comments in event-stream.c), but
8046 this fixes all the major problems.
8048 2001-04-20 Ben Wing <ben@xemacs.org>
8050 * .cvsignore: Added stuff for Windows.
8052 2001-04-28 Ben Wing <ben@xemacs.org>
8054 * buffer.c (Ferase_buffer):
8055 * editfns.c (buffer_insert1):
8056 * editfns.c (Finsert_before_markers):
8057 * editfns.c (Finsert_string):
8058 * editfns.c (Finsert_char):
8059 * editfns.c (Fdelete_region):
8060 * editfns.c (Fwiden):
8061 * editfns.c (Fnarrow_to_region):
8062 remove bogus lines setting zmacs_region_stays to 0.
8064 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
8066 * process-unix.c (unix_open_network_stream): If connect() fails
8067 invalidate file descriptor after closing it.
8069 2001-03-08 Mike Alexander <mta@arbortext.com>
8071 * event-msw.c (mswindows_need_event_in_modal_loop):
8072 Don't dispatch a message if we didn't get one.
8073 (mswindows_need_event):
8074 Terminate the correct process when one exits instead of the first
8075 one on Vprocess_list and look for process termination when in
8076 mswindows_protect_modal_loop.
8078 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
8080 * XEmacs 21.4.1 "Copyleft" is released.
8082 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
8084 * input-method-motif.c (XIM_delete_frame): New callback.
8085 (XIM_init_frame): Register it.
8087 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8089 * XEmacs 21.4.0 "Solid Vapor" is released.
8091 2001-04-15 Ben Wing <ben@xemacs.org>
8093 * cmdloop.c (call_command_loop):
8094 Fix braino in bit-rotting code.
8096 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
8098 * extents.c (Fset_extent_endpoints): Force creation of extent info
8099 in buffer_or_string.
8101 * extents.c (process_extents_for_insertion_mapper): Correctly
8102 check for open-open zero-length extents.
8104 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8106 * lisp.h: New typedefs Memory_count, Element_count.
8109 Sign-compare warning elimination: several unsigned -> signed.
8110 Based on work by Ben Wing <ben@xemacs.org>.
8112 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
8114 * XEmacs 21.2.47 "Zephir" is released.
8116 2001-04-02 Jan Vroonhof <jan@xemacs.org>
8118 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
8120 2001-04-03 Mike Sperber <mike@xemacs.org>
8122 * search.c: Revert previous patch due because of release.
8124 2001-03-30 Ben Wing <ben@xemacs.org>
8127 Add missing killpg prototype.
8130 Add a comment about fixing problems when a new entry is added
8133 * frame-msw.c (mswindows_init_frame_1):
8134 Fix compile warnings.
8136 * menubar.c (vars_of_menubar):
8137 Provide `menu-accelerator-support' to indicate that we properly
8138 support %_ in menu specifications, so that package code can
8139 conditionalize on this (and remove %_ from menu specifications
8144 * scrollbar-msw.c (can_scroll):
8146 Fix handling of mouse wheel under Windows to follow standards --
8147 now scrolls window under pointer, not selected window.
8149 2001-03-31 Mike Sperber <mike@xemacs.org>
8151 * search.c (Freplace_match): Support FSF-style specification of
8152 match subexpression when applied to a buffer.
8154 2001-03-15 Martin Buchholz <martin@xemacs.org>
8156 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
8157 function to modify KEYMAP, so map over a copy of the hash table.
8159 2001-03-21 Martin Buchholz <martin@xemacs.org>
8161 * XEmacs 21.2.46 "Urania" is released.
8163 2001-03-20 Dan Holmsand <dan@eyebee.com>
8165 * realpath.c (xrealpath): Make file-truename work with symlinks to
8166 /cygdrive paths on cygwin. Always lowercase drive-letters on
8168 (cygwin_readlink): Don't try to find canonical filename unless
8171 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
8173 * ChangeLog: Log GTK merge.
8179 Revert gratuitous whitespace changes from GTK merge.
8181 * emacs.c: Document end of complex #ifdef @ l. 1495.
8184 2001-03-12 Andy Piper <andy@xemacs.org>
8186 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
8187 have to do likewise.
8189 2001-03-12 Andy Piper <andy@xemacs.org>
8191 * sysdep.c: we only support mingw now.
8193 2001-03-09 Andy Piper <andy@xemacs.org>
8195 * unexcw.c (copy_executable_and_dump_data_section): making approx
8196 overrun a warning only.
8198 2001-03-10 William M. Perry <wmperry@aventail.com>
8200 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
8201 satisfy Stephen's identical-after-cpp plea.
8203 2001-03-02 Ben Wing <ben@xemacs.org>
8206 * cmds.c (Fforward_char):
8210 Augment documentation of the most common motion commands to make
8211 note of the shifted-motion support.
8213 2001-03-02 Ben Wing <ben@xemacs.org>
8215 * nt.c (mswindows_fstat):
8216 * nt.c (mswindows_stat):
8217 * search.c (boyer_moore):
8218 Fix compile warnings under Windows.
8220 * sysdep.c (sys_readdir):
8221 Fix buggy filename-conversion code under Mule.
8223 2001-03-09 William M. Perry <wmperry@aventail.com>
8245 * redisplay-output.c:
8251 The Great GTK Merge.
8258 * emacs-widget-accessors.c:
8272 * native-gtk-toolbar.c:
8283 The Great GTK Merge: new files.
8285 2001-02-26 Ben Wing <ben@xemacs.org>
8287 Reapplied Lstream change.
8289 2001-02-26 Ben Wing <ben@xemacs.org>
8291 Undid the last change, since it is more controversial than I
8292 thought. It should be back in at some point soon.
8294 2001-02-25 Ben Wing <ben@xemacs.org>
8297 * callproc.c (Fold_call_process_internal):
8298 * event-msw.c (ntpipe_slurp_reader):
8299 * event-msw.c (ntpipe_shove_writer):
8300 * event-msw.c (winsock_reader):
8301 * event-msw.c (winsock_writer):
8303 * file-coding.c (detect_eol_type):
8304 * file-coding.c (detect_coding_type):
8305 * file-coding.c (determine_real_coding_system):
8306 * file-coding.c (Fdetect_coding_region):
8307 * file-coding.c (decoding_reader):
8308 * file-coding.c (decoding_writer):
8309 * file-coding.c (mule_decode):
8310 * file-coding.c (Fdecode_coding_region):
8311 * file-coding.c (encoding_reader):
8312 * file-coding.c (encoding_writer):
8313 * file-coding.c (mule_encode):
8314 * file-coding.c (Fencode_coding_region):
8315 * file-coding.c (detect_coding_sjis):
8316 * file-coding.c (decode_coding_sjis):
8317 * file-coding.c (encode_coding_sjis):
8318 * file-coding.c (detect_coding_big5):
8319 * file-coding.c (decode_coding_big5):
8320 * file-coding.c (encode_coding_big5):
8321 * file-coding.c (detect_coding_ucs4):
8322 * file-coding.c (decode_coding_ucs4):
8323 * file-coding.c (encode_coding_ucs4):
8324 * file-coding.c (detect_coding_utf8):
8325 * file-coding.c (decode_coding_utf8):
8326 * file-coding.c (encode_coding_utf8):
8327 * file-coding.c (detect_coding_iso2022):
8328 * file-coding.c (decode_coding_iso2022):
8329 * file-coding.c (encode_coding_iso2022):
8330 * file-coding.c (decode_coding_no_conversion):
8331 * file-coding.c (encode_coding_no_conversion):
8332 * glyphs-x.c (write_lisp_string_to_temp_file):
8333 * gpmevent.c (tty_get_foreign_selection):
8336 * lstream.c (Lstream_flush_out):
8337 * lstream.c (Lstream_adding):
8338 * lstream.c (Lstream_write_1):
8339 * lstream.c (Lstream_write):
8340 * lstream.c (Lstream_raw_read):
8341 * lstream.c (Lstream_read_more):
8342 * lstream.c (Lstream_read):
8343 * lstream.c (Lstream_unread):
8344 * lstream.c (Lstream_fputc):
8345 * lstream.c (stdio_reader):
8346 * lstream.c (stdio_writer):
8347 * lstream.c (filedesc_reader):
8348 * lstream.c (filedesc_writer):
8349 * lstream.c (lisp_string_reader):
8350 * lstream.c (struct fixed_buffer_stream):
8351 * lstream.c (make_fixed_buffer_input_stream):
8352 * lstream.c (make_fixed_buffer_output_stream):
8353 * lstream.c (fixed_buffer_reader):
8354 * lstream.c (fixed_buffer_writer):
8355 * lstream.c (struct resizing_buffer_stream):
8356 * lstream.c (resizing_buffer_writer):
8357 * lstream.c (dynarr_writer):
8358 * lstream.c (lisp_buffer_reader):
8359 * lstream.c (lisp_buffer_writer):
8361 * lstream.h (lstream_implementation):
8362 * lstream.h (struct lstream):
8364 * process-nt.c (nt_send_process):
8365 * process-unix.c (unix_send_process):
8367 Correct Lstream lossage due to mixing of signed and unsigned
8368 quantities. All Lstream uses of size_t and ssize_t are now a
8369 single signed data type Lstream_data_count. This fixes problems
8370 under Windows with sending large quantities of data to a process,
8371 and may well fix other subtle bugs.
8373 2001-02-23 Martin Buchholz <martin@xemacs.org>
8375 * XEmacs 21.2.45 "Thelxepeia" is released.
8377 2001-02-21 Martin Buchholz <martin@xemacs.org>
8379 * lisp-union.h (XSETINT):
8382 Reverse previous change of 2001-02-06.
8384 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
8386 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
8388 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
8389 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
8390 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
8391 * regex.c (POS_AS_IN_BUFFER): removed
8392 * regex.c (re_search_2):
8393 * regex.c (re_match_2):
8394 Don't use an offset of 1 when calculating buffer positions, since
8395 `BI_BUF_BEGV' does it already.
8397 2001-02-18 Wim Dumon <wim@easics.be>
8399 * insdel.c (prepare_to_modify_buffer): Also check for
8400 supersession when clash-detection is enabled.
8402 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
8404 * regex.c (re_match_2_internal):
8405 Convert temp characters from 'const unsigned char' to 're_char'.
8406 Fix crashing bug with extended characters under mule.
8407 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
8408 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
8409 font-lock, pdump, and new syntax-table code.
8410 * syntax.c (find_start_of_comment):
8411 (find_end_of_comment):
8413 Fix crashing bugs involving moving beyond end of buffer.
8414 * syntax.c (find_start_of_comment):
8415 Fixed logic to allow proper detection of cases where the same
8416 character is used to end both a two-char comment start and a
8417 two-char comment end sequence. Fixes `(forward-comment -1)'.
8418 * syntax.c (find_start_of_comment):
8419 Return position just past last comment-end character for all cases
8420 (previously was only done for two-char comment-end sequences).
8421 * syntax.c (forward-comment):
8422 Take value returned from `find_end_of_comment', rather than
8424 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
8425 Properly deal with BUFFERP (syntax_cache.object)
8427 2001-02-17 Martin Buchholz <martin@xemacs.org>
8429 * alloc.c (Fgarbage_collect):
8430 * alloc.c (make_bit_vector_from_byte_vector):
8431 -Wsign-compare-correctness.
8433 2001-02-16 Martin Buchholz <martin@xemacs.org>
8435 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
8436 (XSETCHAR): Likewise.
8437 (XSETOBJ): Likewise.
8439 2001-02-15 Martin Buchholz <martin@xemacs.org>
8441 * mule-canna.c (canna-func-delete_previous):
8442 Rename to canna-func-delete-previous.
8444 2001-02-14 Martin Buchholz <martin@xemacs.org>
8446 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
8448 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
8450 * font-lock.c (find_context): Fix C++ compile errors introduced by
8453 2001-02-13 Martin Buchholz <martin@xemacs.org>
8455 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
8456 pragma, but earlier ones barf on the same pragma.
8458 2001-02-06 Mike Sperber <mike@xemacs.org>
8460 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
8461 `configure-mule-lisp-directory'.
8463 2001-02-12 Martin Buchholz <martin@xemacs.org>
8465 Make sure dump-id.c is compiled in the same way as other .c's.
8466 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
8467 * dump-id.h: Remove.
8468 * emacs.c: Move dump-id.h into dumper.h.
8469 * dumper.h: Move dump-id.h into dumper.h.
8471 Use standard .c.o rule for building dump-id.o.
8472 Remove preprocessor flags from link command.
8473 Add dump-id.o to ${otherobjs} if PDUMP.
8475 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
8477 Port FSF 20.7 syntax table improvements.
8481 Fixups for new syntax table stuff.
8482 * dired.c: Include syntax.c.
8483 (Fdirectory_files): Initialize regex_match_object and
8485 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
8486 and Fget_char_property.
8488 Use ported FSF 20.7 syntax table improvements.
8493 2001-02-09 Martin Buchholz <martin@xemacs.org>
8495 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
8496 Unixware's enum boolean from sys/types.h.
8498 2001-02-10 Martin Buchholz <martin@xemacs.org>
8500 Fix support for building with latest Purify.
8501 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
8502 (PURIFY_FLAGS): Likewise.
8504 2001-02-09 Martin Buchholz <martin@xemacs.org>
8506 * fileio.c (lisp_string_set_file_times): New.
8507 * fileio.c (Fcopy_file): Use it.
8509 (copy-file filename non-ascii-filename t t)
8510 ==> No such file or directory, non-ascii-filename
8512 2001-02-10 Martin Buchholz <martin@xemacs.org>
8514 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
8515 USHRT_MAX seems clearer than ~0 anyways.
8517 2001-02-09 Martin Buchholz <martin@xemacs.org>
8519 dumper improvements. Inspired by Olivier.
8520 * dumper.c (pdump_max_align): New.
8521 * dumper.c (pdump_add_entry): Use pdump_max_align.
8522 * dumper.c (pdump_get_entry_list): Likewise.
8523 * dumper.c (pdump_scan_by_alignment): Likewise.
8524 Don't iterate through unnecessary alignments.
8525 * dumper.c (pdump_file_get): No need to align result of malloc().
8526 * dumper.c (pdump_mallocadr): Remove.
8527 The result of malloc() is guaranteed to be maximally aligned.
8528 * dumper.c: s/elmt/elt/g;
8529 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
8530 * dumper.c (pdump_alert_undump_object): Likewise.
8531 * dumper.c (pdump_align_table):
8532 Don't support alignments > 64.
8533 Store ALIGNOF's, not shift counts, in table.
8535 2001-02-09 Martin Buchholz <martin@xemacs.org>
8537 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
8538 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
8539 * systime.h: Use HAVE_UTIME.
8540 * sysdep.c (struct utimbuf): Remove.
8541 * sysdep.c (set_file_times): Prefer utime() to utimes().
8542 * config.h.in (HAVE_UTIME): New.
8543 * config.h.in (HAVE_UTIME_H): Remove.
8544 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
8546 2001-02-09 Martin Buchholz <martin@xemacs.org>
8548 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
8550 2001-02-08 Martin Buchholz <martin@xemacs.org>
8552 * s/irix6-0.h: Use the standard system memmove, not bcopy.
8554 2001-02-08 Martin Buchholz <martin@xemacs.org>
8556 * XEmacs 21.2.44 "Thalia" is released.
8558 2001-02-06 Martin Buchholz <martin@xemacs.org>
8560 Fixes crashes in kill-emacs on some systems.
8561 * process-unix.c (unix_kill_child_process):
8562 It's OK for kill() to fail with ESRCH.
8564 2001-02-07 Martin Buchholz <martin@xemacs.org>
8566 Contortions to make .gdbinit tricks work on most systems.
8567 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
8568 * alloc.c (dbg_valmask): Make non-const.
8569 * alloc.c (dbg_typemask): Make non-const.
8570 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
8571 * alloc.c (dbg_valbits): Make non-const.
8572 * alloc.c (dbg_gctypebits): Make non-const.
8573 * .gdbinit (decode_object): Make it work with AIX cc.
8575 2001-02-06 Martin Buchholz <martin@xemacs.org>
8577 * elhash.c (make_general_lisp_hash_table):
8578 Use simpler and more efficient calloc to clear entries.
8580 2001-02-07 Martin Buchholz <martin@xemacs.org>
8582 * window.c (window_scroll): Work around an AIX C compiler bug.
8583 Fixes 'scroll-up' does nothing problem with xlC.
8585 2001-02-05 Martin Buchholz <martin@xemacs.org>
8587 * .gdbinit: Remove obsolete comment.
8589 2001-01-31 Mike Alexander <mta@arbortext.com>
8591 * select.c (Fown_selection_internal): Set owned_p for device
8594 2001-02-01 Martin Buchholz <martin@xemacs.org>
8597 "not" cannot be used as a macro name as it is an operator in C++
8598 * config.h.in: Stop #defining `not'.
8599 * chartab.c (check_category_char): not ==> not_p
8600 * chartab.h: Likewise.
8601 * regex.c (re_match_2_internal): Likewise.
8603 2001-02-02 Martin Buchholz <martin@xemacs.org>
8605 * lisp-disunion.h: Fix up comments.
8607 2001-01-31 Martin Buchholz <martin@xemacs.org>
8609 * keymap.c (define_key_check_and_coerce_keysym):
8611 Support mouse-6 and mouse-7 bindings in the obvious way.
8613 2001-02-01 Martin Buchholz <martin@xemacs.org>
8615 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
8617 2001-01-30 Martin Buchholz <martin@xemacs.org>
8619 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
8620 Previous patch missed DEFVAR_INT_MAGIC.
8621 Make sure future DEFVAR_foo use correct types.
8622 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
8623 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
8624 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
8625 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
8626 * (DEFVAR_INT): Likewise.
8627 * redisplay.c (vertical_clip): Should be of type Fixnum.
8628 * redisplay.c (horizontal_clip): Likewise.
8629 * lisp.h (dump_add_opaque_int): New.
8630 (dump_add_opaque_fixnum): New.
8632 2001-01-29 Andy Piper <andy@xemacs.org>
8634 * glyphs-widget.c (check_valid_int_or_function): allow symbols
8635 since they can be eval'ed
8637 2001-01-29 Martin Buchholz <martin@xemacs.org>
8639 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
8640 Oops, XEmacs redefines `class'. Use `typename' instead.
8642 2001-01-28 Martin Buchholz <martin@xemacs.org>
8644 * dumper.c: Fix C++ compile errors.
8646 2001-01-29 Martin Buchholz <martin@xemacs.org>
8648 * tparam.c: Use correct prototypes.
8650 2001-01-28 Martin Buchholz <martin@xemacs.org>
8652 * sysproc.h: #include util.h for NetBSD's openpty.
8654 2001-01-27 Martin Buchholz <martin@xemacs.org>
8656 More 64-bit correctness.
8657 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
8658 Use a typedef `fixnum' for the type used for DEFVAR_INT.
8660 This finally finishes the 64-bit SGI port.
8661 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
8662 * symbols.c: Fix up comments and type casts.
8663 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
8664 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
8665 * symeval.h (Fixnum): New type.
8666 * symeval.h (symbol_value_type): Fix up comment.
8682 * mule-canna.c: A million DEFVAR_INTs here...
8683 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
8696 s/int/Fixnum/g in DEFVAR_INT declarations.
8698 2001-01-26 Martin Buchholz <martin@xemacs.org>
8700 Port pdump to SGI alignment-sensitive environment.
8701 Lisp Object sizeof methods now return aligned sizes. Rely on that.
8702 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
8704 Define and use aligned reading and writing macros.
8705 Use buffered stdio instead of posix i/o for faster dumping.
8706 Eliminate kludgy 256 byte space for header.
8707 Read and write from dump file using structs for alignment safety.
8708 * dumper.c (pdump_align_stream): New.
8709 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
8710 * dumper.c (PDUMP_READ_ALIGNED): New.
8711 * dumper.c (PDUMP_WRITE_ALIGNED): New.
8712 * dumper.c (pdump_static_Lisp_Object): New struct.
8713 * dumper.c (pdump_static_pointer): New struct.
8714 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
8715 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
8716 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
8717 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
8719 * dumper.c (pdump_backtrace):
8720 * dumper.c (pdump_get_indirect_count):
8721 * dumper.c (pdump_register_object):
8722 * dumper.c (pdump_register_struct):
8723 * dumper.c (pdump_reloc_one):
8724 * dumper.c (pdump_scan_by_alignment):
8725 * dumper.c (pdump_dump_from_root_struct_ptrs):
8726 * dumper.c (pdump_dump_opaques):
8727 * dumper.c (pdump_dump_rtables):
8728 * dumper.c (pdump_dump_from_root_objects):
8730 * dumper.c (pdump_load_finish):
8731 Use aligned reading and writing.
8733 * dumper.c (pdump_free): Make static.
8734 * dumper.c (pdump_hFile): Likewise.
8735 * dumper.c (pdump_hMap): Likewise.
8737 2001-01-26 Martin Buchholz <martin@xemacs.org>
8739 * XEmacs 21.2.43 "Terspichore" is released.
8741 2001-01-25 Martin Buchholz <martin@xemacs.org>
8743 Type fiddling for window_config.saved_windows_count
8744 * window.c (struct window_config):
8745 Make saved_windows_count member unsigned.
8746 * window.c (sizeof_window_config_for_n_windows):
8747 Make parameter unsigned.
8748 * window.c (mark_window_config):
8749 * window.c (window_config_equal):
8750 * window.c (free_window_configuration):
8751 * window.c (Fset_window_configuration):
8752 * window.c (count_windows):
8753 * window.c (Fcurrent_window_configuration):
8754 * window.c (reinit_vars_of_window):
8755 Update all callers and users.
8757 2001-01-25 Martin Buchholz <martin@xemacs.org>
8759 Alignment correctness for flexible arrays.
8760 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
8761 Make alignment-correct. Add interesting comments.
8762 * alloc.c (size_vector):
8763 * alloc.c (make_vector_internal):
8764 * alloc.c (make_bit_vector_internal):
8765 * alloc.c (sweep_bit_vectors_1):
8766 * fns.c (size_bit_vector):
8767 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
8768 * window.c (sizeof_window_config_for_n_windows):
8769 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
8771 2001-01-24 Martin Buchholz <martin@xemacs.org>
8773 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
8775 2001-01-23 Andy Piper <andy@xemacs.org>
8777 * select.c (Fown_selection_internal): pass owned_p
8779 * select-msw.c (mswindows_own_selection): New Signature.
8781 * console.h (struct console_methods): add owned_p to
8784 * select-x.c (x_own_selection): pass owned_p
8785 (hack_motif_clipboard_selection): use owned_p
8786 (vars_of_select_x): new variable -
8787 x_selection_strict_motif_ownership.
8789 2001-01-23 Martin Buchholz <martin@xemacs.org>
8791 * specifier.h (specifier_data_offset): Remove pointless parens.
8792 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
8794 2001-01-24 Martin Buchholz <martin@xemacs.org>
8796 Make Lisp_Object sizeof methods be alignment-correct.
8797 pdump must restore objects to the same alignment as the C compiler
8798 assumes. It really matters on SGIs.
8799 * lstream.c (aligned_sizeof_lstream): New.
8800 (sizeof_lstream): Use aligned_sizeof_lstream.
8801 (Lstream_new): Likewise.
8802 * opaque.c (aligned_sizeof_opaque): New.
8803 (sizeof_opaque): Use aligned_sizeof_opaque.
8804 (make_opaque): Likewise.
8805 * specifier.c (aligned_sizeof_specifier): New.
8806 (sizeof_specifier): Use aligned_sizeof_specifier.
8807 (make_specifier_internal): Likewise.
8809 2001-01-23 Martin Buchholz <martin@xemacs.org>
8811 * lstream.h (struct lstream): Use max_align_t for trailing data.
8812 * specifier.h (struct Lisp_Specifier): Likewise.
8814 2001-01-22 Martin Buchholz <martin@xemacs.org>
8816 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
8817 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
8818 (CCL_SUSPEND): Likewise.
8819 (CCL_INVALID_CMD): Likewise.
8820 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
8821 (ccl_driver): Likewise.
8822 (CCL_WRITE_CHAR): Macro hygiene.
8823 (CCL_WRITE_STRING): Macro hygiene.
8825 2001-01-22 Martin Buchholz <martin@xemacs.org>
8827 Port "portable" dumper to SunOS 4 and HP-UX.
8828 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
8829 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
8830 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
8832 2001-01-22 Martin Buchholz <martin@xemacs.org>
8834 * lisp.h (ALIGNOF): A better definition for C++.
8836 2001-01-20 Martin Buchholz <martin@xemacs.org>
8839 Fix printf warnings: int format, long int arg.
8840 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
8841 (PUSH_FAILURE_POINT): Use correct printf formats.
8842 (POP_FAILURE_POINT): Use correct printf formats.
8843 Use do {...} while (0)
8845 2001-01-20 Martin Buchholz <martin@xemacs.org>
8847 * XEmacs 21.2.42 "Poseidon" is released.
8849 2001-01-20 Martin Buchholz <martin@xemacs.org>
8851 * console-x.h: typo fix du jour. Remove #if 0'ed code.
8853 2001-01-19 Martin Buchholz <martin@xemacs.org>
8855 De-kludgify FIXED_TYPE free list frobbing.
8856 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
8857 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
8858 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
8859 * alloc.c (Lisp_Free): New pseudo lisp object definition.
8860 * alloc.c (LRECORD_FREE_P): New.
8861 * alloc.c (MARK_LRECORD_AS_FREE): New.
8862 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
8863 * alloc.c (STRUCT_FREE_P): Deleted.
8864 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
8865 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
8866 * alloc.c (STRING_CHARS_FREE_P): New.
8867 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
8868 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
8869 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
8870 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
8871 * alloc.c (resize_string): Use new definitions.
8872 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
8873 * alloc.c (verify_string_chars_integrity): Use new definitions.
8874 * alloc.c (compact_string_chars): Use new definitions.
8875 * alloc.c: Update monster comments.
8876 * lrecord.h (lrecord_type): Add some new lrecord types for
8879 2001-01-18 Martin Buchholz <martin@xemacs.org>
8881 Improve alignment hackery.
8882 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
8883 (max_align_t): Moved from opaque.h - general purpose.
8884 (ALIGN_PTR): Use size_t, not long.
8885 * opaque.h (max_align_t): Move to lisp.h.
8887 2001-01-18 Norbert Koch <nk@LF.net>
8889 * gui.h: Fix and add prototypes to fix build problems.
8891 2001-01-18 Martin Buchholz <martin@xemacs.org>
8893 temacs is going away, so `dump-temacs' is now a bad name.
8894 * .dbxrc (dump-temacs): Rename to `dmp'.
8895 * .gdbinit (dump-temacs): Rename to `dmp'.
8897 2001-01-17 Andy Piper <andy@xemacs.org>
8899 * glyphs.c (print_image_instance): comment to make martin happy.
8901 * glyphs-x.c (x_redisplay_widget): update faces after a frame
8904 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
8906 (mswindows_tab_control_redisplay): warning suppression.
8908 * glyphs-widget.c (widget_update): re-write to cope with updated
8910 (widget_instantiate): use new gui_item functions.
8911 (tab_control_update): deleted.
8912 (progress_gauge_update): deleted.
8913 (image_instantiator_progress_guage): take out update reference.
8914 (image_instantiator_tree_view): ditto.
8915 (image_instantiator_tab_control): ditto.
8917 * gui.c (widget_gui_parse_item_keywords): new function. Do things
8919 (gui_item_add_keyval_pair): re-write to cope with descriptors and
8920 return whether anything was changed.
8921 (update_gui_item_keywords): as it sounds.
8923 * gui.h: declare widget_gui_parse_item_keywords.
8925 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
8926 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
8928 2001-01-17 Martin Buchholz <martin@xemacs.org>
8930 * XEmacs 21.2.41 "Polyhymnia" is released.
8932 2001-01-16 Didier Verna <didier@xemacs.org>
8934 * glyphs.c (image_instantiate): don't use fallbacks when
8935 instantiating a face's background pixmap by inheritance.
8937 2001-01-14 Mike Sperber <mike@xemacs.org>
8939 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
8940 Conditionalize accordingly.
8942 2001-01-16 Martin Buchholz <martin@xemacs.org>
8944 * dumper.c (pdump_file_get): Fix a compiler warning.
8946 2001-01-15 Martin Buchholz <martin@xemacs.org>
8948 Make Purify happy when pdumping.
8949 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
8950 iniitalizing all bits of new lisp object memory.
8951 * symbols.c (Fmake_local_variable): Likewise.
8952 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
8953 * symbols.c (Fdefvaralias): Likewise.
8954 * mule-charset.c (vars_of_mule_charset): Likewise.
8956 2001-01-15 Martin Buchholz <martin@xemacs.org>
8957 Add the `-nd' flag when running pre-dump operations under the debugger.
8958 * .dbxrc (run-temacs): Add `-nd'.
8959 * .dbxrc (update-elc): Likewise.
8960 * .dbxrc (dump-temacs): Likewise.
8961 * .gdbinit (run-temacs): Likewise.
8962 * .gdbinit (check-temacs): Likewise.
8963 * .gdbinit (update-elc): Likewise.
8964 * .gdbinit (dump-temacs): Likewise.
8966 2001-01-14 Martin Buchholz <martin@xemacs.org>
8968 Allow building 64-bit executables on AIX with GNU malloc, e.g.
8969 export OBJECT_MODE=64
8970 configure --pdump --use-union-type=no
8971 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
8972 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
8974 * miscplay.c (sndcnv8U_2mono):
8975 Avoid two uses of `++' in the same expression.
8976 Suppresses a GCC warning.
8978 2001-01-13 Martin Buchholz <martin@xemacs.org>
8980 Make sure future compilers don't miscompile alloc.c.
8982 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
8983 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
8985 2001-01-12 Martin Buchholz <martin@xemacs.org>
8987 * dumper.c: A little post-pdump-rename comment fixup.
8989 2001-01-09 Jerry James <james@eecs.ku.edu>
8991 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
8993 2001-01-13 Martin Buchholz <martin@xemacs.org>
8995 * *.[ch]: Globally rename symbols using the following `pdump-rename'
8999 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
9002 replace_symbol pdump_wire_lists pdump_weak_object_chains
9003 replace_symbol pdump_wire_list dump_add_weak_object_chain
9005 replace_symbol pdump_wires pdump_root_objects
9006 replace_symbol pdump_wire dump_add_root_object
9008 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
9009 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
9011 replace_symbol dumpstructinfos pdump_root_struct_ptrs
9012 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
9013 replace_symbol dumpstructinfo pdump_root_struct_ptr
9014 replace_symbol dumpstruct dump_add_root_struct_ptr
9016 replace_symbol dumpopaque dump_add_opaque
9017 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
9018 replace_symbol dumpopaqueinfos pdump_opaques
9019 replace_symbol dumpopaqueinfo pdump_opaque
9021 replace_symbol nb_structdump nb_root_struct_ptrs
9022 replace_symbol nb_opaquedump nb_opaques
9024 replace_symbol align_table pdump_align_table
9025 replace_symbol dump_header pdump_header
9027 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
9028 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
9031 2001-01-12 Martin Buchholz <martin@xemacs.org>
9033 * s/aix4.h: Keep the C for AIX compiler from overaggressively
9034 optimizing bytecount_to_charcount().
9036 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9039 (HAVE_DLFCN_H): Removed.
9040 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
9042 2001-01-06 Martin Buchholz <martin@xemacs.org>
9044 Portable dumper maintainability improvements.
9045 * alloc.c (staticpro):
9046 * alloc.c (staticpro_nodump):
9047 * alloc.c (garbage_collect_1):
9048 * alloc.c (reinit_alloc_once_early):
9049 * alloc.c (init_alloc_once_early):
9050 * alloc.c: Move dumper functions to alloc.c.
9051 * dumper.c (pdump_backtrace):
9052 * dumper.c (pdump_dump_structs):
9053 * dumper.c (pdump_dump_opaques):
9054 * dumper.c (pdump_dump_rtables):
9055 * dumper.c (pdump_dump_wired):
9057 * dumper.c (pdump_load_check):
9058 * dumper.c (pdump_load_finish):
9059 * dumper.c (pdump_file_unmap):
9060 * dumper.c (pdump_file_get):
9061 * dumper.c (pdump_resource_free):
9062 * dumper.c (pdump_resource_get):
9063 * dumper.c (pdump_file_free):
9064 * dumper.c (pdump_file_try):
9065 * dumper.c (pdump_load):
9066 Remove fixed size limits on staticpro(), staticpro_nodump(),
9067 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
9068 Remove custom code for dumping lrecord_implementations_table - use
9070 Remove (most of the) custom code for dumping staticpros - dump it
9071 like any other dynarr.
9073 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
9074 * dumper.c: Moved functions from alloc.c.
9075 * alloc.c (dumpstruct): Moved to dumper.c.
9076 * alloc.c (dumpopaque): Likewise.
9077 * alloc.c (pdump_wire): Likewise.
9078 * alloc.c (pdump_wire_list): Likewise.
9080 * lisp.h (Dynarr_sizeof): New.
9081 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
9082 * lisp.h (Dynarr_end): New. Very slightly C++oid.
9083 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
9085 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
9086 * lisp.h (dumpopaque): ditto.
9087 * lisp.h (pdump_wire): ditto.
9088 * lisp.h (pdump_wire_list): ditto.
9090 2001-01-09 Martin Buchholz <martin@xemacs.org>
9092 * make-src-depend (PrintPatternDeps):
9093 Use `sort' to make output independent of perl version.
9095 2001-01-08 Martin Buchholz <martin@xemacs.org>
9098 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
9099 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
9101 2001-01-03 Didier Verna <didier@xemacs.org>
9103 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
9104 that `focus_frame' is alive before thinking of calling
9105 `redisplay_redraw_cursor' on it.
9107 2001-01-08 Martin Buchholz <martin@xemacs.org>
9109 * XEmacs 21.2.40 is released.
9111 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9113 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
9115 2001-01-06 Martin Buchholz <martin@xemacs.org>
9117 * alloc.c (dbg_valmask): Make const.
9118 * alloc.c (dbg_typemask): Make const.
9119 * alloc.c (dbg_USE_UNION_TYPE): Make const.
9120 * alloc.c (dbg_valbits): Make const.
9121 * alloc.c (dbg_gctypebits): Make const.
9123 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
9125 * redisplay-x.c (x_bevel_area):
9126 redisplay.h (struct rune):
9127 Typo fixes in comments.
9129 2001-01-05 Andy Piper <andy@xemacs.org>
9131 * glyphs-x.c (x_redisplay_widget): use size changed for offset
9134 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
9136 2001-01-05 Martin Buchholz <martin@xemacs.org>
9138 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
9140 * mule-ccl.c (stack_idx_of_map_multiple):
9141 Non const global data must not be initialized!
9142 Found by MIYASHITA Hisashi.
9144 2001-01-02 Andy Piper <andy@xemacs.org>
9146 * frame.c (change_frame_size): make sure frame size is always
9149 * glyphs.c (image_instance_layout): minor code reuse.
9151 * window.c (Fcurrent_window_configuration): revert previous
9154 2001-01-02 Martin Buchholz <martin@xemacs.org>
9157 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
9159 2000-12-31 Andy Piper <andy@xemacs.org>
9161 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
9162 when widget gets unmapped.
9164 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
9165 function. Make sure widgets losing focus don't just drop it.
9166 (handle_focus_event_1): record the widget with focus.
9168 2000-12-31 Andy Piper <andy@xemacs.org>
9170 * window.c (allocate_window): use
9171 make_image_instance_cache_hash_table.
9172 (make_dummy_parent): ditto.
9173 (Fset_window_configuration): ditto.
9175 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
9177 * glyphs.c (process_image_string_instantiator): use
9179 (get_image_instantiator_governing_domain): ditto.
9180 (normalize_image_instantiator): ditto.
9181 (instantiate_image_instantiator): ditto.
9182 (make_image_instance_1): ditto.
9183 (image_instantiate): ditto. Key on glyph *and* instantiator type.
9184 (instantiator_eq_equal): new function for use with instance hash
9186 (instantiator_eq_hash): ditto.
9187 (make_image_instance_cache_hash_table): create a suitable hash
9188 table for storing image instances.
9190 * elhash.h (hash_table_weakness): new internal weakness type
9191 HASH_TABLE_KEY_CAR_VALUE_WEAK.
9192 declare new functions.
9194 * elhash.c (finish_marking_weak_hash_tables): introduce yet
9195 another weakness type for glyphs.
9196 (make_standard_lisp_hash_table): new function split out from
9197 make_general_lisp_hash_table.
9198 (make_lisp_hash_table): call make_standard_lisp_hash_table.
9199 (hash_table_instantiate): ditto.
9200 (Fmake_hash_table): ditto.
9202 2000-12-31 Martin Buchholz <martin@xemacs.org>
9204 * XEmacs 21.2.39 is released.
9206 2000-12-29 Andy Piper <andy@xemacs.org>
9208 * menubar.c (menubar_visible_p_changed): signal the frame changed.
9210 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
9211 the frame has changed so that we pick up geometry changes such as
9214 2000-12-28 Andy Piper <andy@xemacs.org>
9216 * lastfile.c (my_ebss): make a char array so we can pad the
9217 bss. Fixes cygwin unexec.
9219 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
9221 2000-12-26 Andy Piper <andy@xemacs.org>
9223 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
9224 comments and try and be more precise about a non-/SIGIO world.
9225 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
9228 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
9229 we don't normalize to zero width or height.
9231 2000-12-24 Andy Piper <andy@xemacs.org>
9233 * Makefile.in.in (ldflags): add -mwindows when appropriate.
9235 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
9237 * s/sco5.h: SCO 5 has pty support.
9239 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
9241 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
9242 input-method-xlib.c contains whole contents of input-method-xfs.c,
9243 so we can use input-method-xlib.c's code for USE_XFONTSET
9245 * input-method-xfs.c: removed.
9247 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
9249 * file-coding.h (enum coding_category_type): reorder enumerators to
9250 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
9251 (now one greater than largest real coding_category_type enumerator).
9252 * file-coding.c (coding_category_symbol, coding_category_by_priority,
9253 coding_category_system, fcd_descriptihon_1, decode_coding_category,
9254 Fcoding_category_list, Fset_coding_priority_list,
9255 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
9256 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
9258 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
9260 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
9261 * redisplay-output.c (redisplay_output_window): Clear top of window
9262 when face is changed.
9263 * redisplay-x.c (x_redraw_exposed_window): Call
9264 redisplay_clear_top_of_window.
9265 * redisplay.h: Publish redisplay_clear_top_of_window.
9267 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
9269 * buffer.c (Fkill_buffer): Map over all devices.
9270 * window.c (window_loop): Remove UNSHOW_BUFFER code.
9271 (list_windows): New function.
9272 (list_all_windows): Ditto.
9273 (Freplace_buffer_in_windows): Use them.
9275 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
9277 * database.c (berkdb_subtype): Recognize new subtype `queue'.
9278 (Fopen_database): Use `db_create' instead of `db_open'.
9279 (syms_of_database): Initialize Qqueue.
9281 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9283 * buffer.c (common_init_complex_vars_of_buffer): Initialize
9284 buffer_local_face_property.
9285 * buffer.h (struct buffer): New member buffer_local_face_property.
9286 * window.c (Fset_window_buffer): Mark window's face as changed
9287 when buffer has buffer local face.
9288 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
9289 * objects.c (color_after_change): Set buffer_local_face_property
9290 when locale of face specifier is buffer.
9291 * objects.c (font_after_change): Ditto.
9292 * objects.c (face_boolean_after_change): Ditto.
9293 * glyphs.c (image_after_change): Ditto.
9295 2000-12-09 Dan Holmsand <dan@eyebee.com>
9297 * nt.c (mswindows_fstat): Report file permissions, volume serial
9298 number, etc. Code adapted from FSF Emacs 20.7.
9300 2000-12-09 Dan Holmsand <dan@eyebee.com>
9302 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
9303 of stat when we don't have symbolic links, to make sure
9304 mswindows_stat is called on mswindows.
9306 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
9308 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
9310 2000-12-12 Martin Buchholz <martin@xemacs.org>
9312 * doprnt.c (emacs_doprnt_1): More printing fixes.
9313 Make printing of numbers compatible with libc and FSF Emacs.
9314 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
9315 Use the system printf to do most of the hard work of formatting,
9316 instead of doprnt_1().
9317 Calculate memory to allocate for format string.
9318 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
9319 (doprnt_1): Cleaner code and documentation.
9321 2000-12-01 Jerry James <james@eecs.ukans.edu>
9323 * Makefile.in.in: Use the loop variable to install headers.
9325 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9327 * window.c (Fsplit_window): Don't invalidate face cache.
9329 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9331 * minibuf.c (Fall_completions): Undo the previous change
9332 which removed checking elements start with space.
9334 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
9336 * mule-canna.c: Didier suppression.
9338 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
9340 * mule-canna.c: rename static unsigned char buf[] to key_buffer
9341 (warning suppression). Add English comment translations.
9343 2000-12-05 Martin Buchholz <martin@xemacs.org>
9345 * unexelfsgi.c (unexec): Better test for mmap failure.
9347 2000-12-05 Martin Buchholz <martin@xemacs.org>
9349 * XEmacs 21.2.38 is released.
9351 2000-12-05 Martin Buchholz <martin@xemacs.org>
9353 * redisplay.c (bar-cursor): Make a user variable.
9355 * symsinit.h: Add init_postgresql_from_environment.
9357 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9359 * regex.c: Convert to clean C.
9361 2000-12-05 Dan Holmsand <dan@eyebee.com>
9364 Don't #include sysfile.h. Revert to duplicating PATH_MAX
9366 (sys_readlink): renamed to system_readlink to avoid conflict with
9367 the other sys_readlink.
9369 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
9371 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
9373 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
9375 * postgresql.c (init_postgresql_from_environment): new function.
9376 (vars_of_postgresql): Move code initializing Lisp variables out and
9377 into init_postgresql_from_environment.
9378 emacs.c (main_1): Call init_postgresql_from_environment if and only
9379 if running a dumped XEmacs.
9381 2000-08-31 Dan Holmsand <dan@eyebee.com>
9383 * buffer.c: Make find-file-compare-truenames default to true on
9386 * realpath.c (win32_abs_start):
9388 (win32_readlink): New functions.
9389 (xrealpath): Return really real filenames on windows.
9391 * fileio.c (Ffile_truename): Make file-truename work on windows.
9393 2000-11-29 Didier Verna <didier@xemacs.org>
9395 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
9396 * faces.c (update_face_cachel_data): use it.
9397 * faces.c (add_face_cachel): use it. Complete background pixmap
9398 frobbing in face cache if `update_face_cachel_data' has not done so.
9400 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
9402 * search.c (string_match_1): Don't set last_thing_searched
9405 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
9407 * buffer.c: Include casetab.h
9408 (common_init_complex_vars_of_buffer): Use new case-table object.
9409 * buffer.h: Include casetab.h
9410 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
9411 (DOWNCASE_TABLE_OF): Ditto.
9412 * bufslots.h: Remove char-tables and add case-table.
9413 * casetab.c: Include casetab.h
9414 (CASE_TABLE_P): Removed.
9415 (mark_case_table): New function.
9416 (allocate_case_table): New function.
9417 (Fcase_table_p): Use new case-table.
9418 (case_table_char): New function.
9419 (Fget_case_table): Ditto.
9420 (Fput_case_table): Ditto.
9421 (Fput_case_table_pair): Ditto.
9422 (Fcopy_case_table): Ditto.
9423 (Fcurrent_case_table): Return case-table.
9424 (Fstandard_case_table): Return case-table.
9425 (Fset_case_table): Fix doc-string.
9426 (set_case_table): Use case-table
9427 (syms_of_casetab): DEFSUBR new functions.
9428 (complex_vars_of_casetab): Set up standard case-table.
9429 * casetab.h: New file.
9430 * editfns.c: Include casetab.h
9431 (Fcompare_buffer_substrings): Use case-table.
9432 * inline.c: Include casetab.h
9433 * lisp.h: Remove bogus extern.
9434 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
9435 * search.c: Include casetab.h
9436 (TRANSLATE_ASCII): Removed.
9437 (TRANSLATE): Unconditionally translate character.
9438 (looking_at_1): Use case-table.
9439 (string_match_1): Ditto.
9440 (fast_string_match): Ditto.
9441 (search_command): Ditto.
9442 (search_buffer): Separate boyer_moore. Check whether
9443 boyer_moore is possible.
9444 (simple_search): New function.
9445 (boyer_moore): Separated from search_buffer. Translate char.
9447 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
9449 * regex.c (RE_TR_ASCII): Removed.
9450 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
9451 (PATFETCH): Call PATFETCH_RAW.
9452 (PATFETCH_RAW): Fetch Emchar.
9453 (PATUNFETCH): Decrement charptr.
9454 (GET_BUFFER_SPACE): Rename b to buf_end.
9456 (BUF_PUSH_2): Ditto.
9457 (BUF_PUSH_3): Ditto.
9458 (EXTEND_BUFFER): Ditto.
9459 (SET_LIST_BIT): Ditto.
9460 (regex_compile): Ditto. Translate non ASCII char.
9461 (compile_range): Ditto.
9462 (re_search_2): Ditto.
9463 (re_match_2_internal): Compare Emchar.
9464 (bcmp_translate): Ditto.
9466 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
9468 * lisp.h (basic char/int typedefs): comment improvement.
9470 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
9472 * emacs.c (main_1): unconditional pdump unstomping; don't save and
9473 unstomp inhibit_site_lisp. Improve comments.
9475 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
9477 * mule-charset.c (Fcharset_property): improve type checking, comments.
9479 2000-11-28 Andy Piper <andy@xemacs.org>
9481 * redisplay-output.c (redisplay_output_subwindow): make sure we do
9482 clipped display for windows in the gutter also.
9483 (redisplay_display_boxes_in_window_p): change semantics of return
9484 codes to be more intuitive.
9486 * gutter.h: declare display_boxes_in_gutter_p.
9488 * gutter.c (display_boxes_in_gutter_p): new function for
9491 2000-11-22 Andy Piper <andy@xemacs.org>
9493 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
9496 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
9498 * callproc.c (Fold_call_process_internal):
9499 * gpm.c (Freceive_gpm_event):
9500 (tty_get_foreign_selection): Might be just warning supression.
9501 * fileio.c (Fwrite_region_internal):
9502 (Fset_visited_file_modtime):
9503 * keymap.c (event_matches_key_specifier_p):
9504 Initialize GCPROed variable.
9506 * menubar-x.c (command_builder_find_menu_accelerator):
9507 Initialize before use.
9509 2000-11-23 Andy Piper <andy@xemacs.org>
9511 * unexcw.c (unexec): make the resulting executable executable.
9513 2000-11-21 Martin Buchholz <martin@xemacs.org>
9515 * doc.c (get_doc_string):
9516 Use size_t, not int, for result of XSTRING_LENGTH.
9518 * cmds.c (Fdelete_char):
9519 * cmds.c (Fpoint_at_eol):
9520 * cmds.c (Fself_insert_command):
9521 Use EMACS_INT, not int, for result of XINT.
9522 Someday, someone will want to insert more than 2**31 identical characters.
9524 * cmds.c (Fdelete_char):
9525 * cmds.c (Fdelete_backward_char):
9526 * syntax.c (Fforward_word):
9527 * syntax.c (Fforward_comment):
9528 Make COUNT argument optional, for consistency with forward-char et al.
9530 2000-11-22 Martin Buchholz <martin@xemacs.org>
9533 * print.c (long_to_string):
9534 Return a useful value: the pointer at end of data written.
9537 Use `static const char * const' for constant strings.
9538 (union printf_arg): Delete `i', `ui' members.
9541 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
9542 Do all printf-ing via the `l' specifier.
9543 Use EMACS_INT instead of int.
9546 2000-11-20 Didier Verna <didier@xemacs.org>
9548 * faces.c (update_face_cachel_data): don't frob the background
9549 pixmap when the window is being created. The face is needed but
9552 2000-11-20 Andy Piper <andy@xemacs.org>
9554 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
9555 messing with a debug environment.
9557 2000-11-20 Martin Buchholz <martin@xemacs.org>
9559 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
9561 2000-11-20 Martin Buchholz <martin@xemacs.org>
9563 * casetab.c (Fcase_table_p): Fix compile error and crash.
9565 2000-11-18 Philip Aston <philipa@mail.com>
9567 * s/cygwin32.h: Cygwin has SVR4-like pty support.
9569 2000-11-18 Martin Buchholz <martin@xemacs.org>
9571 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
9572 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
9574 2000-11-17 Martin Buchholz <martin@xemacs.org>
9576 * config.h.in: Define HAVE_ELF_H if elf.h exists.
9577 * unexelf.c: Use HAVE_ELF_H.
9578 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
9579 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
9580 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
9581 Greg Harrington <greg_harrington@hotmail.com> provided a machine
9583 So this is an unexelfsgi.c from a different line of development.
9585 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
9587 * regex.c (RE_TR_ASCII): New function.
9588 (RE_TRANSLATE): Call it.
9590 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
9592 * buffer.h (TRT_TABLE_OF): Remove assert.
9593 (IN_TRT_TABLE_DOMAIN): Removed.
9595 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
9597 * free-hook.c (log_gcpro):
9598 (show_gcprohist): Add support for GCPRO5.
9600 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
9602 * emacs.c (main_1): Improve -sd error message when --pdump=no.
9604 2000-11-16 Olivier Galibert <galibert@xemacs.org>
9606 * symeval.h: Declare flush_all_buffer_local_cache.
9608 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
9609 (flush_buffer_local_cache): Added.
9610 (flush_all_buffer_local_cache): Added.
9612 * lrecord.h: Remove unused XD_LO_RESET_NIL.
9614 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
9615 (pdump_dump_data): Ditto.
9616 (pdump_reloc_one): Ditto.
9617 (pdump): Remove unused pdump_qnil. Flush buffer local caches
9621 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
9623 * buffer.c: Remove if 0'ed entry.
9624 * buffer.h: Rewrite TRT to use char-table.
9625 * bufslots.h: Remove mirror tables.
9626 * casetab.c: Remove mirror tables.
9627 (CASE_TABLE_P): New macro.
9628 (Fcase_table_p): Element of a case table is string or char-table.
9629 (make_mirror_trt_table): Removed.
9630 (set_case_table): Setup char-table from strings for backward
9632 * dired.c (Fdirectory_files):
9633 * dired-msw.c: (mswindows_get_files):
9634 * lisp.h: Change prototype of re_pattern_buffer.
9635 * regex.c: (RE_TRANSLATE): New macro.
9636 (TRANSLATE_P): Ditto.
9637 Change translate to type RE_TRANSLATE_TYPE.
9638 * regex.h: Define RE_TRANSLATE_TYPE
9639 * search.c (TRANSLATE): New macro.
9640 (TRANSLATE_ASCII): New macro.
9641 Translate table is changed to Lisp_Object.
9642 (signal_failure): Inhibit return.
9644 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
9651 Do UNGCPRO before return.
9653 2000-11-14 Martin Buchholz <martin@xemacs.org>
9655 * XEmacs 21.2.37 is released.
9657 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9659 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
9660 Add comments about discarded return value.
9662 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
9665 * event-stream.c: Fix comments. Remove some #if 0'ed part.
9667 2000-10-27 Andy Piper <andy@xemacs.org>
9669 * gutter.c (Fset_default_gutter_position): default left and right
9671 (calculate_gutter_size): calculate resonable heuristic for left
9672 and right gutter sizes.
9673 (specifier_vars_of_gutter): change left and right gutter sizes to
9675 (calculate_gutter_size_from_display_lines): new function.
9676 (output_gutter): check for resizing on left and right gutters.
9677 (clear_gutter): don't special case top and left gutters.
9678 (specifier_vars_of_gutter): use new signature for
9679 set_specifier_caching.
9681 * glyphs-x.c (x_redisplay_widget): spelling fix.
9682 * glyphs.c (specifier_vars_of_glyphs):
9683 * menubar.c (specifier_vars_of_menubar):
9684 * redisplay.c (specifier_vars_of_redisplay):
9685 * toolbar.c (specifier_vars_of_toolbar):
9686 * window.c (specifier_vars_of_window):
9687 * scrollbar.c (specifier_vars_of_scrollbar):
9688 (complex_vars_of_scrollbar): use new signature for
9689 set_specifier_caching.
9691 * specifier.c (set_specifier_caching): include recompute flag.
9692 (recompute_one_cached_specifier_in_window): always recompute if
9694 (recompute_one_cached_specifier_in_frame): ditto.
9696 * specifier.h (struct specifier_caching): add recompute flag.
9698 2000-10-24 Andy Piper <andy@xemacs.org>
9700 * unexcw.c (copy_executable_and_dump_data_section): add new
9701 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
9704 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
9706 * console-x.h (x_device): New member modifier_release_time.
9707 * event-Xt.c (x_handle_sticky_modifiers):
9708 Bound interval modifier keys are sticky.
9709 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
9710 * events.h: extern it.
9712 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
9714 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
9716 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
9718 * event-stream.c (execute_command_event): Preserve current_events
9719 and the like when event is misc-user-event.
9720 Inhibit quit during the call to maybe_echo_keys.
9722 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
9724 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
9725 symlink when buffer is killed.
9726 (inhibit_clash_detection): New variable.
9728 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
9730 * console.c (Fset_input_method): Trigger redisplay on tty.
9732 2000-11-07 Martin Buchholz <martin@xemacs.org>
9734 * process.c (Fprocess_status): Revert to previous behavior:
9735 (process-status "nosuchprocess") ==> nil
9737 2000-11-06 Martin Buchholz <martin@xemacs.org>
9739 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
9740 Work around another GCC 2.95.2 optimizer bug.
9742 2000-11-02 Martin Buchholz <martin@xemacs.org>
9744 * process.c (Fget_process): Use LIST_LOOP_2.
9745 (kill_buffer_processes): Use LIST_LOOP_2.
9747 * minibuf.c (Fall_completions):
9748 Delete old non-functional code for FSF fourth argument.
9750 * frame.c (frame_matches_frame_spec):
9751 Renamed from `frame_matches_frametype'. Update all callers.
9752 (device_matches_device_spec):
9753 Renamed from 'device_matches_console_spec'. Update all callers.
9755 * doc.c (Fsubstitute_command_keys):
9756 Remove buffer overflow crash. Small code cleanups.
9758 * casetab.c (check_case_table): Simpler code.
9760 * window.c (Freplace_buffer_in_windows):
9761 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
9762 (and similar implementation) as Fdelete_windows_on.
9765 * alloc.c (Fmake_list):
9766 * alloc.c (make_vector):
9767 * alloc.c (Fmake_vector):
9768 * alloc.c (make_bit_vector):
9769 * alloc.c (Fmake_bit_vector):
9770 * alloc.c (Fbit_vector):
9771 * alloc.c (Fmake_string):
9772 * alloc.c (Fpurecopy):
9773 * alloc.c (Fmemory_limit):
9775 * buffer.c (Fget_buffer):
9776 * buffer.c (Fkill_buffer):
9777 * buffer.c (complex_vars_of_buffer):
9778 * bytecode.c (Fcompiled_function_stack_depth):
9779 * callint.c (Fprefix_numeric_value):
9781 * event-stream.c (Fread_key_sequence):
9783 * casetab.c (Fcase_table_p):
9784 * casetab.c (check_case_table):
9785 * casetab.c (Fset_case_table):
9786 * casetab.c (Fset_standard_case_table):
9788 * chartab.c (Fchar_table_type):
9789 * chartab.c (Freset_char_table):
9790 * chartab.c (Fget_char_table):
9791 * chartab.c (Fget_range_char_table):
9792 * chartab.c (Fput_char_table):
9793 * chartab.c (Fmap_char_table):
9794 * chartab.c (Fcategory_table_p):
9795 * chartab.c (Fcheck_category_at):
9796 * chartab.c (Fchar_in_category_p):
9797 * chartab.c (Fcategory_table):
9798 * chartab.c (Fcopy_category_table):
9799 * chartab.c (Fset_category_table):
9800 * chartab.c (Fcategory_designator_p):
9801 * chartab.c (Fcategory_table_value_p):
9802 * cmds.c (Fdelete_char):
9803 * cmds.c (Fdelete_backward_char):
9804 * cmds.c (Fself_insert_command):
9805 * cmds.c (Fself_insert_internal):
9806 * console.c (Fvalid_console_type_p):
9807 * console.c (Fcdfw_console):
9808 * console.c (Fconsole_type):
9809 * console.c (Fconsole_name):
9810 * console.c (Fconsole_device_list):
9811 * console.c (Fconsole_on_window_system_p):
9815 * data.c (Fsubr_interactive):
9816 * data.c (Fchar_to_int):
9817 * data.c (Fint_to_char):
9820 * data.c (Fnumber_to_string):
9821 * data.c (Fstring_to_number):
9823 * database.c (mark_database):
9824 * database.c (finalize_database):
9825 * database.c (Fdatabase_live_p):
9826 * database.c (Fdatabasep):
9827 * device-x.c (Fx_get_resource):
9828 * device.c (Fdfw_device):
9830 * dired.c (Ffile_name_completion):
9831 * dired.c (Ffile_name_all_completions):
9832 * dired.c (Fuser_name_completion):
9833 * dired.c (Fuser_name_completion_1):
9834 * dired.c (Fuser_name_all_completions):
9835 * doc.c (Fdocumentation):
9836 * doc.c (Fdocumentation_property):
9837 * doc.c (Fsubstitute_command_keys):
9839 * editfns.c (Fchar_to_string):
9840 * editfns.c (Fstring_to_char):
9841 * editfns.c (Ftemp_directory):
9842 * editfns.c (Finsert_char):
9843 * editfns.c (Fbuffer_substring_no_properties):
9844 * editfns.c (Fnarrow_to_region):
9845 * editfns.c (Fchar_equal):
9846 * editfns.c (Fchar_Equal):
9847 * editfns.c (Ftranspose_regions):
9848 * emacs.c (Fdump_emacs):
9850 * eval.c (Fcommand_execute):
9851 * eval.c (Fautoload):
9852 * eval.c (Fbacktrace):
9853 * eval.c (Fbacktrace_frame):
9855 * events.c (Fcopy_event):
9856 * events.c (Fcharacter_to_event):
9857 * events.c (Fevent_button):
9858 * events.c (Fevent_process):
9860 * extents.c (Fnext_extent_change):
9861 * extents.c (Fextent_property):
9863 * faces.c (Fmake_face):
9865 * file-coding.c (Fencode_shift_jis_char):
9866 * file-coding.c (Fencode_big5_char):
9867 * fileio.c (Ffile_name_directory):
9868 * fileio.c (Ffile_name_nondirectory):
9869 * fileio.c (Ffile_name_as_directory):
9870 * fileio.c (Fdirectory_file_name):
9871 * fileio.c (Ffile_truename):
9872 * fileio.c (Fsubstitute_in_file_name):
9873 * fileio.c (Ffile_modes):
9874 * fileio.c (Fset_file_modes):
9875 * fileio.c (Fset_default_file_modes):
9876 * fileio.c (Fverify_visited_file_modtime):
9877 * floatfns.c (Facos):
9878 * floatfns.c (Fasin):
9879 * floatfns.c (Fatan):
9880 * floatfns.c (Fcos):
9881 * floatfns.c (Fsin):
9882 * floatfns.c (Ftan):
9883 * floatfns.c (Fbessel_j0):
9884 * floatfns.c (Fbessel_j1):
9885 * floatfns.c (Fbessel_jn):
9886 * floatfns.c (Fbessel_y0):
9887 * floatfns.c (Fbessel_y1):
9888 * floatfns.c (Fbessel_yn):
9889 * floatfns.c (Ferf):
9890 * floatfns.c (Ferfc):
9891 * floatfns.c (Flog_gamma):
9892 * floatfns.c (Fexp):
9893 * floatfns.c (Fexpt):
9894 * floatfns.c (Flog):
9895 * floatfns.c (Flog10):
9896 * floatfns.c (Fsqrt):
9897 * floatfns.c (Fcube_root):
9898 * floatfns.c (Facosh):
9899 * floatfns.c (Fasinh):
9900 * floatfns.c (Fatanh):
9901 * floatfns.c (Fcosh):
9902 * floatfns.c (Fsinh):
9903 * floatfns.c (Ftanh):
9904 * floatfns.c (Fabs):
9905 * floatfns.c (Ffloat):
9906 * floatfns.c (Flogb):
9907 * floatfns.c (Fceiling):
9908 * floatfns.c (Ffloor):
9909 * floatfns.c (Fround):
9910 * floatfns.c (Ftruncate):
9911 * floatfns.c (Ffceiling):
9912 * floatfns.c (Fffloor):
9913 * floatfns.c (Ffround):
9914 * floatfns.c (Fftruncate):
9915 * fns.c (Fstring_equal):
9916 * fns.c (Fstring_lessp):
9921 * fns.c (Fsubstring):
9923 * fns.c (Fold_assoc):
9924 * fns.c (assoc_no_quit):
9926 * fns.c (Fold_assq):
9927 * fns.c (assq_no_quit):
9929 * fns.c (Fold_rassoc):
9931 * fns.c (Fold_rassq):
9932 * fns.c (rassq_no_quit):
9933 * fns.c (Fremassoc):
9934 * fns.c (remassoc_no_quit):
9936 * fns.c (remassq_no_quit):
9937 * fns.c (Fremrassoc):
9938 * fns.c (Fremrassq):
9939 * fns.c (remrassq_no_quit):
9941 * fns.c (Fplist_get):
9942 * fns.c (Fplist_put):
9943 * fns.c (Fplist_remprop):
9944 * fns.c (Fplist_member):
9945 * fns.c (Flax_plist_get):
9946 * fns.c (Flax_plist_put):
9947 * fns.c (Flax_plist_remprop):
9948 * fns.c (Flax_plist_member):
9950 * fns.c (Fold_equal):
9952 * fns.c (Fbase64_encode_region):
9953 * fns.c (Fbase64_encode_string):
9954 * fns.c (Fbase64_decode_region):
9956 * frame.c (frame_matches_frame_spec):
9957 * frame.c (device_matches_device_spec):
9958 * frame.c (next_frame):
9959 * frame.c (previous_frame):
9960 * frame.c (Fnext_frame):
9961 * frame.c (Fprevious_frame):
9962 * frame.c (Fframe_property):
9963 * frame.c (Fset_frame_height):
9964 * frame.c (Fset_frame_size):
9968 * glyphs.c (decode_error_behavior_flag):
9969 * glyphs.c (Fmake_image_instance):
9970 * indent.c (Findent_to):
9971 * intl.c (Fignore_defer_gettext):
9972 * keymap.c (Fkeymapp):
9973 * keymap.c (Flookup_key):
9975 * lread.c (Fload_internal):
9976 * lread.c (Feval_buffer):
9977 * lread.c (Feval_region):
9978 * macros.c (Fexecute_kbd_macro):
9979 * marker.c (set_marker_internal):
9980 * marker.c (Fset_marker):
9981 * marker.c (set_marker_restricted):
9982 * marker.c (Fcopy_marker):
9983 * marker.c (noseeum_copy_marker):
9985 * menubar.c (Fpopup_menu):
9987 * mule-charset.c (Fcharset_name):
9988 * mule-charset.c (Fchar_charset):
9989 * mule-charset.c (Fchar_octet):
9990 * mule-charset.c (Fsplit_char):
9991 * mule-wnnfns.c (Fwnn_open):
9992 * mule-wnnfns.c (Fwnn_dict_comment):
9993 * mule-wnnfns.c (Fwnn_quit_henkan):
9994 * mule-wnnfns.c (Fwnn_word_toroku):
9995 * mule-wnnfns.c (Fwnn_word_sakujo):
9996 * mule-wnnfns.c (Fwnn_word_use):
9997 * mule-wnnfns.c (Fwnn_hindo_set):
9999 * objects.c (Fmake_color_instance):
10000 * objects.c (Fmake_font_instance):
10001 * print.c (Fwrite_char):
10003 * process.c (mark_process):
10004 * process.c (print_process):
10005 * process.c (get_process_from_usid):
10006 * process.c (Fprocessp):
10007 * process.c (Fprocess_live_p):
10008 * process.c (Fget_process):
10009 * process.c (Fget_buffer_process):
10010 * process.c (get_process):
10011 * process.c (Fprocess_id):
10012 * process.c (Fprocess_name):
10013 * process.c (Fprocess_command):
10014 * process.c (init_process_io_handles):
10015 * process.c (start_process_unwind):
10016 * process.c (Fstart_process_internal):
10017 * process.c (Fopen_multicast_group_internal):
10018 * process.c (Fset_process_window_size):
10019 * process.c (read_process_output):
10020 * process.c (send_process):
10021 * process.c (Fprocess_tty_name):
10022 * process.c (Fset_process_buffer):
10023 * process.c (Fprocess_buffer):
10024 * process.c (Fprocess_mark):
10025 * process.c (set_process_filter):
10026 * process.c (Fset_process_filter):
10027 * process.c (Fprocess_filter):
10028 * process.c (Fprocess_send_region):
10029 * process.c (Fprocess_send_string):
10030 * process.c (exec_sentinel):
10031 * process.c (Fset_process_sentinel):
10032 * process.c (Fprocess_sentinel):
10033 * process.c (status_notify):
10034 * process.c (Fprocess_status):
10035 * process.c (Fprocess_exit_status):
10036 * process.c (process_send_signal):
10037 * process.c (Fprocess_send_eof):
10038 * process.c (deactivate_process):
10039 * process.c (remove_process):
10040 * process.c (Fdelete_process):
10041 * process.c (kill_buffer_processes):
10042 * process.c (Fprocess_kill_without_query):
10043 * process.c (Fprocess_kill_without_query_p):
10045 * rangetab.c (Fget_range_table):
10046 * rangetab.c (Fput_range_table):
10047 * rangetab.c (Fremove_range_table):
10048 * rangetab.c (Fclear_range_table):
10050 * search.c (Fskip_chars_forward):
10051 * search.c (Fskip_chars_backward):
10052 * search.c (Fskip_syntax_forward):
10053 * search.c (Fskip_syntax_backward):
10054 * search.c (search_command):
10055 * search.c (Freplace_match):
10056 * search.c (Fregexp_quote):
10057 * select.c (Fown_selection_internal):
10058 * select.c (Fselection_owner_p):
10059 * select.c (Fselection_exists_p):
10060 * select.c (Fget_selection_internal):
10063 * symbols.c (Fintern):
10064 * symbols.c (Fintern_soft):
10065 * symbols.c (Funintern):
10066 * symbols.c (Fapropos_internal):
10067 * symbols.c (Fset_default):
10069 * syntax.c (Fsyntax_table_p):
10070 * syntax.c (Fcopy_syntax_table):
10071 * syntax.c (Fset_syntax_table):
10072 * syntax.c (Fchar_syntax):
10073 * syntax.c (syntax_match):
10074 * syntax.c (Fmatching_paren):
10075 * syntax.c (Fforward_word):
10076 * syntax.c (scan_lists):
10077 * syntax.c (Fscan_lists):
10078 * syntax.c (Fscan_sexps):
10079 * syntax.c (Fparse_partial_sexp):
10080 * toolbar.c (Fcheck_toolbar_button_syntax):
10083 * window.c (Fwindowp):
10084 * window.c (Fwindow_live_p):
10085 * window.c (Fwindow_point):
10086 * window.c (Fdelete_window):
10087 * window.c (Fnext_window):
10088 * window.c (Fprevious_window):
10089 * window.c (Fother_window):
10090 * window.c (window_loop):
10091 * window.c (Fget_lru_window):
10092 * window.c (Fsplit_window):
10093 * window.c (Fenlarge_window):
10094 * window.c (Fenlarge_window_pixels):
10095 * window.c (Fshrink_window):
10096 * window.c (Fshrink_window_pixels):
10097 * window.c (change_window_height):
10098 * window.c (Fwindow_configuration_p):
10099 * window.c (Fcurrent_window_configuration):
10101 * casefiddle.c (casify_object):
10102 * casefiddle.c (Fupcase):
10103 * casefiddle.c (Fdowncase):
10104 * casefiddle.c (Fcapitalize):
10105 * casefiddle.c (Fupcase_initials):
10106 * casefiddle.c (casify_region_internal):
10107 * casefiddle.c (casify_region):
10108 * casefiddle.c (Fupcase_region):
10109 * casefiddle.c (Fdowncase_region):
10110 * casefiddle.c (Fcapitalize_region):
10111 * casefiddle.c (Fupcase_initials_region):
10112 * casefiddle.c (Fupcase_word):
10113 * casefiddle.c (Fdowncase_word):
10114 * casefiddle.c (Fcapitalize_word):
10115 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
10116 Replace 0 with '\0' when working with bytes.
10117 Replace initial "(" with "\(" in docstrings.
10119 2000-11-01 Martin Buchholz <martin@xemacs.org>
10121 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
10123 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
10125 2000-10-31 Martin Buchholz <martin@xemacs.org>
10127 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
10129 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10131 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
10134 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10136 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
10137 (inhibit_auto_save_session): New variable.
10138 (vars_of_fileio): Declare and initialize them.
10139 * fileio.c (Fdo_auto_save): Don't create session file if
10140 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
10142 2000-10-31 Martin Buchholz <martin@xemacs.org>
10144 * sgiplay.c (play_internal): C++ compilability.
10145 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
10146 * callproc.c (Fold_call_process_internal):
10147 Remove unused vars `env', `first'.
10148 * scrollbar.c (update_scrollbar_instance):
10149 #### unused var `current_window'.
10150 * redisplay-tty.c: Put currently unused vars insert_mode_on,
10151 etc. within #ifdef NOT_YET.
10152 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
10153 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
10154 * specifier.c (specifier_instance):
10155 #### unused var `tag'.
10156 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
10158 2000-10-27 Martin Buchholz <martin@xemacs.org>
10160 * fns.c (Fbutlast):
10161 * fns.c (list_sort):
10162 * fns.c (Ffillarray):
10163 * fns.c (bytecode_nconc2):
10166 * fns.c (Fmapconcat):
10167 Be pedantically 64-bit correct. For the time when someone will
10168 want to have a list with length > 2**32.
10170 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
10171 Work around MIPSpro compiler bug.
10173 * process-unix.c (unix_kill_child_process): Add snarky comment.
10174 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
10176 * config.h.in: Oops, _getpt ==> _getpty
10178 2000-10-26 Martin Buchholz <martin@xemacs.org>
10182 Use void*, not char*, as return type of alloca().
10184 * alloc.c (free_marker): Side effect inside assert expression!
10186 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
10188 * mule-charset.c (Fset_charset_ccl_program): To check
10189 if the given ccl program is valid, use setup_ccl_program()
10190 instead of CHECK_VECTOR().
10191 (Fmake_charset): Likewise.
10193 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
10195 * faces.c (get_extent_fragment_face_cache_index):
10196 Fix cachel.merged_faces memory leak.
10198 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
10200 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
10201 Reset MSB of octets obtained by DECODE_SJIS
10202 because of the incompatibility with Emacs.
10203 (ccl_driver)<CCL_ENCODE_SJIS>:
10204 Set MSB of octets before passing them to
10205 ENCODE_SJIS because of the incompatibility
10208 2000-10-18 Daiki Ueno <ueno@unixuser.org>
10210 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
10211 (DECLARE_LRECORD): Undo the last change.
10212 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
10214 2000-10-17 Daiki Ueno <ueno@unixuser.org>
10216 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
10217 the implementation to lrecord_implementations_table.
10219 2000-10-14 Daiki Ueno <ueno@unixuser.org>
10221 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
10222 initial value of `lrecord_type_##c_name' and
10223 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
10224 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
10225 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
10226 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
10227 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
10229 2000-10-17 Martin Buchholz <martin@xemacs.org>
10231 * miscplay.c (sndcnv8S_2mono):
10232 (sndcnv2monounsigned):
10233 (sndcnvULaw_2linear):
10235 Remove implementation-defined behavior.
10237 2000-10-12 Martin Buchholz <martin@xemacs.org>
10239 * input-method-xlib.c: Warning suppression.
10241 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
10243 * mule-ccl.c: Sync up with Emacs 21.0.90.
10244 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
10246 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
10248 (ccl_driver[WriteMultibyteChar2]): Bug fix.
10249 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
10250 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
10251 leading char belongs to official 2-dimensional charset.
10252 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
10253 write the given character as is. Otherwise,
10254 if it is a multibyte char, convert it by
10255 non_ascii_set_charptr_emchar, then write it.
10256 (CCL_WRITE_STRING): Likewise.
10257 (ccl_get_compiled_code): New function.
10258 (setup_ccl_program): When ccl_prog is invalid,
10260 (Fregister_code_conversion_map): New function.
10261 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
10263 * mule-ccl.h: Sync up with Emacs 21.0.90.
10264 (Fregister_ccl_program): export it.
10266 * redisplay-msw.c (separate_textual_runs):
10267 If ccl program is not valid, don't do ccl conversion.
10269 * redisplay-x.c (separate_textual_runs): Ditto.
10271 * file-coding.c (Fmake_coding_system):
10272 When type is ccl and value is vector, register it
10273 with a proper symbol. And checks whether the
10274 given ccl program is valid.
10275 (mule_decode): When calling ccl_driver, if src indicates
10276 NULL pointer, set an empty string instead.
10277 (mule_encode): Likewise.
10279 2000-10-11 Martin Buchholz <martin@xemacs.org>
10281 The following large batch of changes gets us back to a state of
10282 C++ compilability. Extbyte is now a char, which means that
10283 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
10285 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
10287 * sound.c (Fplay_sound): Type correctness.
10289 * select-x.c (hack_motif_clipboard_selection): Type correctness.
10290 (x_get_window_property): Type correctness.
10291 (receive_incremental_selection): unsigned char ==> Extbyte
10292 (selection_data_to_lisp_data): unsigned char ==> Extbyte
10293 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
10294 (Fx_store_cutbuffer_internal): Type correctness.
10296 * process-unix.c (try_to_initialize_subtty): Type correctness.
10298 * objects-x.c (x_print_color_instance): Type correctness.
10299 (x_print_font_instance): Type correctness.
10300 (x_list_fonts): SExtbyte ==> Extbyte.
10301 (valid_x_font_name_p): SExtbyte ==> Extbyte.
10302 (x_find_charset_font): SExtbyte ==> Extbyte.
10303 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
10304 (truename_via_XListFonts): SExtbyte ==> Extbyte.
10305 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
10306 Use bufbyte_strcmp.
10308 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
10309 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
10310 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
10311 (BYTE_C0_P): Use bit ops for char-signedness safety.
10312 (BYTE_C1_P): Use bit ops for char-signedness safety.
10313 (CHARSET_BY_LEADING_BYTE):
10314 (CHARSET_BY_ATTRIBUTES):
10315 Always use inline function.
10316 Use type_checking_assert.
10319 * mule-charset.c (non_ascii_charptr_copy_char):
10320 Modify to work with both ASCII and non-ASCII characters.
10321 Improve docs and variable names.
10322 Replace over-clever fall-through switch with a simple loop.
10323 (Lstream_get_emchar_1):
10324 Replace over-clever fall-through switch with a simple loop.
10326 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10327 Warning suppression.
10329 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
10330 the return value of Lstream_getc, which could be EOF as well.
10332 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
10334 * lisp.h: Make Extbyte a char, not unsigned char, so that external
10335 APIs can be used on Extbytes without casts. Risky!
10336 (SExtbyte): Remove.
10337 (UExtbyte): Remove.
10339 * input-method-xlib.c (XIM_init_device):
10340 Use Xlib.h instead of IntrinsicP.h.
10341 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
10342 which will break in X11R7.
10343 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
10344 to call XRegisterIMInstantiateCallback with correct types.
10346 * gui-x.c (button_item_to_widget_value): Type correctness.
10348 * glyphs.c (bitmap_to_lisp_data): Type correctness.
10350 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
10351 (xbm_instantiate_1): Type correctness.
10352 (BUILD_GLYPH_INST): Type correctness.
10354 * fileio.c (Fsubstitute_in_file_name): Type correctness.
10357 (decode_coding_sjis):
10358 (decode_coding_big5):
10359 (decode_coding_ucs4):
10360 (decode_coding_utf8):
10361 (decode_coding_iso2022):
10362 (decode_coding_no_conversion):
10363 Make all decoding functions take an Extbyte * arg.
10364 (encode_coding_sjis):
10365 (encode_coding_big5):
10366 (encode_coding_ucs4):
10367 (encode_coding_utf8):
10368 (encode_coding_iso2022):
10369 (encode_coding_no_conversion):
10370 Make all encoding functions take a Bufbyte * arg.
10371 Use size_t instead of unsigned int for memory sizes.
10372 Only cast to unsigned char whenever dereferencing Extbyte *.
10374 * doc.c (unparesseuxify_doc_string): Type correctness.
10376 * console-x.c (split_up_display_spec):
10377 Rewrite without using details of internal string representation.
10378 (x_semi_canonicalize_device_connection): Type correctness.
10381 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
10382 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
10383 (HAVE_XFREE386): Removed.
10385 * buffer.h (DEC_CHARPTR): `const' correctness.
10386 (bufbyte_strcmp): New.
10387 (bufbyte_memcmp): New.
10389 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
10391 * buffer.h (XCHAR_OR_CHAR_INT):
10392 Always use inline function.
10393 Remove redundant type checking assert() - XINT will abort quite nicely.
10395 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
10397 * search.c (Freplace_match): Set newtext to an empty string.
10399 2000-10-10 Martin Buchholz <martin@xemacs.org>
10401 * s/decosf1-3.h: Remove #include of stropts.h
10402 * s/ptx.h: Remove #include of stropts.h
10403 * s/usg5-4.h: Remove #include of stropts.h
10406 Use stropts.h, not sys/stropts.h.
10407 Use strtio.h, not sys/strtio.h.
10409 2000-10-04 Martin Buchholz <martin@xemacs.org>
10411 * XEmacs 21.2.36 is released.
10413 2000-09-21 Andy Piper <andy@xemacs.org>
10415 * glyphs-x.c (x_redisplay_widget): make sure non-structural
10416 changes still involve copying the widget tree.
10417 (update_widget_face): make sure a change is register in the widget
10418 tree. Call update_tab_widget_face appropriately.
10419 (update_tab_widget_face): ditto.
10420 (x_tab_control_redisplay): make sure non-structural changes still
10421 involve copying the widget tree.
10423 2000-08-31 Daiki Ueno <ueno@unixuser.org>
10425 * lread.c (locate_file): Check the path element is non-nil.
10427 2000-10-02 Martin Buchholz <martin@xemacs.org>
10429 * lisp.h: Warning suppression for SCO compilers.
10431 * redisplay-tty.c (reset_tty_modes): Fix crash.
10432 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
10434 2000-09-27 Martin Buchholz <martin@xemacs.org>
10436 Big signal/process handling overhaul. Bugs fixed:
10437 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
10438 M-x comint-kill-subjob should work for both values nil and t of
10439 process-connection-type. It was broken on most platforms.
10440 Testing on Irix and Cygwin still needed. Other plaforms tested.
10441 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
10442 * process-unix.c: Signal/Process handling overhaul.
10443 (pty_name): make 64 bytes, as `expect' does, for paranoia.
10444 (allocate_pty): Use all available modern methods of allocating
10445 ptys, falling back to old style BSD allocation as a last resort.
10446 Use allegedly more secure Unix98 pty allocation by default.
10447 (allocate_pty_the_old_fashioned_way): New. the last resort.
10448 (unix_create_process): Push ptem, ldterm, ttcompat where
10449 available. Autoconfiscate.
10450 (try_to_initialize_subtty): New.
10451 (unix_kill_child_process): Proper signal handling for ptys on most
10452 platforms, using special knowledge of AIX, BSD, etc...
10453 (unix_create_process): Always disconnect_controlling_terminal() for
10454 subprocesses, whether using ptys or not.
10455 * process.h: Remove old getpt-dependent PTY code.
10456 * process.c (Fprocess_send_signal): New, obvious generic function.
10457 (decode_signal): New.
10458 (Finterrupt_process):
10462 (Fcontinue_process):
10463 (Fsignal_process): Use decode_signal.
10464 (process_send_signal):
10465 Many docstring corrections.
10466 Allow any signal to be sent to a process object.
10467 * config.h.in: Add symbols for big signal/process overhaul.
10468 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
10469 * sysproc.h: Include process-related headers, where available:
10470 sys/stropts.h sys/strtio.h pty.h libutil.h
10478 Remove old S&M pty stuff.
10479 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
10480 * systty.h: Simplify cpp hackery, improve comments.
10481 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
10483 * editfns.c (Fformat_time_string):
10484 Be a little more paranoid with the return value of ctime.
10486 * fileio.c (check_executable):
10488 Use symbolic constants X_OK, W_OK.
10490 * console-x.c (split_up_display_spec): Fix a warning.
10492 2000-10-02 Martin Buchholz <martin@xemacs.org>
10494 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
10495 * ntproc.c (sys_spawnve): make_string ==> build_string
10496 Small clarity improvements.
10498 2000-09-30 Martin Buchholz <martin@xemacs.org>
10500 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
10502 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
10504 * config.h.in (HAVE_STRCASECMP): Remove.
10506 2000-09-29 Martin Buchholz <martin@xemacs.org>
10508 * redisplay-output.c (redisplay_output_pixmap):
10509 Cleaner and possibly more 64-bit correct code.
10511 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
10513 * dumper.c (pdump_load_finish): move restoration of
10514 `noninteractive1' to emacs.c (main_1).
10515 * emacs.c (main_1): protect LISP-visible command-line flags
10518 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
10520 * Makefile.in.in (versionclean): Use EXE_TARGET and
10521 DUMP_TARGET instead of literal program names.
10523 2000-09-20 Martin Buchholz <martin@xemacs.org>
10525 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
10527 2000-09-19 Martin Buchholz <martin@xemacs.org>
10529 * *: Spelling mega-patch
10531 2000-09-19 Martin Buchholz <martin@xemacs.org>
10533 * fns.c (bad_bad_turtle):
10534 Delete "Eek!" comment, since we fixed the bug to which it refers.
10536 2000-09-16 Martin Buchholz <martin@xemacs.org>
10538 * alloca.c: Replace REGISTER with register.
10540 2000-09-16 Daiki Ueno <ueno@unixuser.org>
10542 * file-coding.c (ucs_to_char): Use countof.
10544 2000-09-16 Martin Buchholz <martin@xemacs.org>
10546 * file-coding.c: (ucs_to_char):
10547 (complex_vars_of_file_coding):
10548 Use countof instead of sizeof.
10549 Use CHECK_NATNUM instead of CHECK_INT.
10551 * sysdep.c (strcasecmp): Remove.
10552 * device-x.c (ascii_strcasecmp): New.
10553 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
10554 Avoid using non-standard non-portable strcasecmp.
10556 2000-09-16 Martin Buchholz <martin@xemacs.org>
10558 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
10559 * font-lock.c: remove reference to emacsfns.h.
10560 * search.c: small doc improvement.
10561 * event-Xt.c: correct file names in comments.
10562 * console-x.h Correct file names in comments.
10563 * frame.c: Correct file names in comments.
10564 * event-stream.c: remove Energize from comments.
10566 2000-09-15 Martin Buchholz <martin@xemacs.org>
10568 * symeval.h (DEFERROR_STANDARD):
10571 (DEFSYMBOL_NO_DUMP):
10572 (DEFSYMBOL_MULTIWORD_PREDICATE):
10573 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
10575 The construct &##name is not sensible C.
10576 Fixes compilation errors with Unixware native compiler.
10578 2000-09-14 Martin Buchholz <martin@xemacs.org>
10580 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
10581 (next_frame_internal): Removed. We now just have next_frame.
10583 Write a simpler and cleaner one-pass algorithm.
10584 Remove called_from_delete_device arg and #ifdefed-out code.
10586 Renamed from prev_frame. Update callers.
10587 Cleaned up to have an analogous implementation to next_frame.
10588 (other_visible_frames_internal): Remove the
10589 called_from_delete_device bogus arg, and hence, remove this
10590 function. Just use other_visible_frames().
10592 * window.c (Fnext_window):
10593 Prettify docstring.
10594 Since next_frame() is guaranteed to return a frame, remove check
10595 for nil inserted in previous patch.
10596 (Fprevious_window):
10597 Prettify docstring.
10598 Make code look more like Fnext_window.
10600 Respect the `console' arg when iterating through windows.
10601 Fixes bug: (get-buffer-window buffer t device) not respecting
10603 This function needs more work, as others have pointed out.
10605 * frame.h: Rename prev_frame to previous_frame.
10606 device_matches_console_spec no longer takes a `frame' arg.
10611 Use EMACS_BLOCK_SIGNAL instead of sigblock.
10612 From "Golubev I. N." <gin@mo.msk.ru>.
10614 * make-src-depend: Fix typo.
10616 2000-09-13 Martin Buchholz <martin@xemacs.org>
10618 * window.c (Fnext_window):
10619 next_frame() might return nil, not a frame.
10621 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
10623 * frame.c (next_frame_internal):
10624 We've passed a frame if we've passed its device.
10626 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
10627 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
10629 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
10631 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
10632 Allow option to suppress accelerators in menu/dialog items.
10633 (populate_or_checksum_helper): Pass dialog title through above.
10635 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
10637 * event-msw.c (mswindows_key_to_emacs_keysym):
10638 Add "pause" key, fix "menu" key.
10640 2000-09-09 Martin Buchholz <martin@xemacs.org>
10642 * eval.c (reinit_vars_of_eval):
10643 Increase max_lisp_eval_depth to 1000,
10644 required for thai-xtis.el to byte-compile under some circumstances.
10646 2000-09-04 Martin Buchholz <martin@xemacs.org>
10648 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
10649 From Kenichi Handa.
10651 2000-09-01 Martin Buchholz <martin@xemacs.org>
10653 * make-src-depend: Make the generated Makefiles smaller.
10655 * s/hpux.h (SETUP_SLAVE_PTY):
10656 Provide a %d in the format string for the errno argument.
10658 * editfns.c (Ftemp_directory):
10660 Avoid buffer overrun on very long file name.
10662 * input-method-xlib.c (XIM_init_device):
10663 6th parameter of XRegisterIMInstantiateCallback has different
10664 pointer types on different OSes, so simply cast to (void *).
10666 * unexhp9k800.c: Warning fixes. Fiddly changes.
10668 * sysdll.c (dll_open):
10669 shl_load will hang hard if passed a NULL filename.
10670 Simply return NULL for compatibility with dlopen.
10671 * sysdll.c: Conform to XEmacs coding standards.
10673 * sysdep.c (get_pty_max_bytes):
10674 Support pty input lines longer than 512 bytes on HP-UX 10.20.
10676 2000-08-31 Martin Buchholz <martin@xemacs.org>
10678 * tooltalk.c: Add #include <syssignal.h>
10680 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
10682 * s/hpux.h: Don't use undefined function sigunblock().
10684 2000-08-31 Martin Buchholz <martin@xemacs.org>
10686 * config.h.in: Add HAVE_BALLOON_HELP.
10687 * emacs.c: Use HAVE_BALLOON_HELP.
10688 * Makefile.in.in (x_objs):
10689 Make Balloon Help conditional on finding shape.h.
10691 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
10693 * syntax.c (regex_emacs_buffer_p): New variable.
10694 * syntax.h (regex_emacs_buffer_p): extern.
10695 * search.c (looking_at_1):
10697 (fast_string_match):
10698 (search_buffer): Set regex_emacs_buffer_p.
10699 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
10700 when before_dot, at_dot, after_dot.
10702 2000-08-23 Andy Piper <andy@xemacs.org>
10704 * gui-x.c (popup_selection_callback): Only set action_occurred
10705 when we really have an image instance.
10706 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
10708 2000-08-23 Andy Piper <andy@xemacs.org>
10710 * gui-msw.c (mswindows_handle_gui_wm_command): set
10712 * gui-x.c (popup_selection_callback): ditto.
10714 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
10715 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
10716 (struct Lisp_Image_Instance): add action_occurred flag.
10718 * glyphs.c (redisplay_subwindow): use action_occurred flag.
10719 (image_instance_changed): ditto.
10720 (reset_frame_subwindow_instance_cache): only unmap windows - do
10721 not remove them from the cache also.
10723 * glyphs-widget.c (tab_control_update): better debug.
10724 (progress_gauge_update): ditto.
10725 (layout_update): ditto.
10726 (layout_instantiate): ditto.
10727 (tab_control_order_only_changed): cope with null pending items.
10729 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
10730 debug. Force selection of an item when an action occurred. Cope
10731 with null pending_items.
10732 (mswindows_progress_gauge_redisplay): better debug.
10733 * glyphs-x.c (x_tab_control_redisplay): ditto.
10735 * redisplay.c (redisplay_frame): reset the frame cache if the
10738 * window.c (Fset_window_configuration): potentially re-enable
10740 (window_unmap_subwindows): need to finalize instances here since
10741 it is only used in mark_window_as_deleted.
10743 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
10745 * nas.c (SndOpenDataForReading):
10746 nas.c (WaveOpenDataForReading):
10747 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
10748 Somehow escaped from the 2000-08-14 patch.
10750 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
10752 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
10753 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
10755 2000-08-21 Andy Piper <andy@xemacs.org>
10757 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
10758 window if it is not already displayed.
10760 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
10761 it is not already displayed.
10763 * window.c (Fset_window_configuration): don't reset the frame
10766 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
10767 instances from the frame cache if we are actually finalizing them.
10768 (reset_frame_subwindow_instance_cache): reset frame cache only
10769 after unmapping everything.
10770 (map_subwindow): set displayed flag after mapping.
10772 2000-08-21 Martin Buchholz <martin@xemacs.org>
10774 * data.c (indirect_function):
10775 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
10777 * eval.c (function_argcount):
10778 Use original function when signaling errors.
10780 2000-08-18 Andy Piper <andy@xemacs.org>
10782 * frame.c (delete_frame_internal): use new
10783 free_frame_subwindow_instances name.
10785 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
10786 (add_tab_item): make return type correct.
10787 (mswindows_tab_control_instantiate): assert index of tab.
10788 (mswindows_tab_control_redisplay): Re-code to use
10789 gui_item_equal_sans_selected and gui_item_list_find_selected.
10791 * glyphs-widget.c (tab_control_update): Correct comment.
10793 * window.c (window_unmap_subwindows): use new
10794 unmap_subwindow_instance_cache_mapper.
10795 (window_unmap_subwindows_cache_mapper): deleted.
10796 (Fset_window_configuration): comparisons should now be with
10797 EQ. Preserve the subwindow instance cache across configuration
10799 (allocate_window): ditto.
10800 (make_dummy_parent): ditto.
10802 * glyphs.c (free_frame_subwindow_instances): rename from
10803 free_frame_subwindow_instance_cache. finalize all instances rather
10804 than just those in the display cache.
10805 (finalize_all_subwindow_instances): walk windows unmapping and
10806 finalizing subwindows.
10807 (unmap_subwindow_instance_cache_mapper): moved from
10808 window.c. Allow finalization as well as unmapping.
10810 * gui.c (gui_item_list_find_selected): new function.
10812 * gui.h (gui_item_list_find_selected): declare.
10814 * glyphs-x.c (x_tab_control_redisplay): pick tab
10815 explicitly. Re-code to use gui_item_equal_sans_selected and
10816 gui_item_list_find_selected.
10818 * glyphs-x.h: add lwlib-utils.h
10820 * buffer.c (Frecord_buffer): undo previous change.
10822 2000-08-09 Vin Shelton <acs@xemacs.org>
10824 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
10825 possible. Create temporary files more securely. The patch was
10826 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
10827 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
10828 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
10831 2000-08-07 Ben Wing <ben@xemacs.org>
10833 * getloadavg.c: remove duplicate (and windows-breaking)
10834 includes of fcntl.h and sys/file.h.
10836 * nt.c: remove duplicate getloadavg() definition.
10838 * sysdll.h (Qdll_filename_encoding): add missing stand-in
10841 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
10843 * eval.c (function_argcount): If function needs to be autoloaded
10844 actually use the loaded definition.
10847 2000-08-05 Ben Wing <ben@xemacs.org>
10849 * getloadavg.c: add prototype for getloadavg(). remove
10850 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
10851 of the code). remove duplicate header includes.
10853 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
10855 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
10856 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
10857 useful load average.
10859 * alloc.c (reinit_alloc_once_early): removed references to
10860 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
10861 the lisp vars are the only things referencing the malloc_sbrk_*
10862 vars, and they were already if 0'd out. these vars only exist
10863 in the older malloc.c, which is basically unused, and they're
10864 only for informational purposes.
10866 * m\*.h: removed useless VIRT_ADDR_VARIES.
10868 * m\powerpc.h: removed stray NO_ARG_ARRAY.
10870 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
10872 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
10873 color if the image is a mono pixmap.
10875 2000-07-30 Ben Wing <ben@xemacs.org>
10877 * Makefile.in.in (release):
10880 * buffer.c (directory_is_current_directory):
10881 * dired-msw.c (mswindows_get_files):
10883 * dired.c (Fdirectory_files):
10884 * dired.c (file_name_completion_stat):
10885 * dired.c (Ffile_attributes):
10886 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
10887 preprocessor tricks, to avoid problems on some machines
10890 * callproc.c (egetenv): GC docs.
10893 * console-msw.h (struct mswindows_dialog_id):
10894 * lrecord.h (lrecord_type):
10895 New object for use with MSW dialogs.
10897 * console.h (struct console_methods):
10898 New enable/disable frame methods, for proper modal dialogs.
10900 * device-msw.c (msprinter_default_printer): Fix to follow
10901 proper Mule conventions.
10904 * device-msw.c (signal_open_printer_error):
10905 * device-msw.c (msprinter_init_device):
10906 * device-msw.c (ensure_not_printing):
10907 * device-msw.c (plist_get_margin):
10908 * device-msw.c (Fmsprinter_select_settings):
10909 * device-msw.c (finalize_devmode):
10910 * device-msw.c (Fmsprinter_settings_despecialize):
10911 * device-msw.c (signal_enum_priner_error):
10912 * extents.c (decode_extent):
10913 * extents.c (decode_map_extents_flags):
10914 * extents.c (decode_extent_at_flag):
10915 * extents.c (Fextent_at):
10916 * extents.c (Fextents_at):
10917 * extents.c (symbol_to_glyph_layout):
10918 [[[[2]]]] Use structured errors.
10921 * dialog-msw.c (mswindows_is_dialog_msg):
10922 * dialog-msw.c (mark_mswindows_dialog_id):
10923 * dialog-msw.c (dialog_proc):
10924 * dialog-msw.c (handle_question_dialog_box):
10925 * dialog-msw.c (syms_of_dialog_mswindows):
10926 Define new object to clean up marking; use it as a dialog identifier.
10927 Call new delete-dialog-box-hook.
10929 * dialog-x.c (dbox_selection_callback):
10930 * dialog-x.c (dbox_descriptor_to_widget_value):
10931 * dialog-x.c (x_make_dialog_box_internal):
10932 Call new delete-dialog-box-hook.
10936 * dialog.c (syms_of_dialog):
10937 * dialog.c (vars_of_dialog):
10938 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
10941 * eval.c (signal_call_debugger):
10942 when noninteractive, output stack traces on the console instead
10943 of in a (never-seen) buffer.
10945 * eval.c (signal_type_error):
10946 * eval.c (invalid_argument_2):
10948 new funs for use w/structured errors.
10951 * event-Xt.c (x_to_emacs_keysym):
10952 * event-Xt.c (describe_event):
10953 * event-Xt.c (emacs_Xt_event_handler):
10954 * event-Xt.c (vars_of_event_Xt):
10956 * event-msw.c (mswindows_wnd_proc):
10957 * event-msw.c (vars_of_event_mswindows):
10958 rename {x,mswindows}-debug-events to debug-{}-events for
10959 consistency with other debug-foo variables.
10962 document next-event more clearly.
10964 * fileio.c (Ffile_name_directory):
10965 * fileio.c (Ffile_name_nondirectory):
10966 * fileio.c (Funhandled_file_name_directory):
10967 * fileio.c (file_name_as_directory):
10968 * fileio.c (Ffile_name_as_directory):
10969 * fileio.c (directory_file_name):
10970 * fileio.c (Fdirectory_file_name):
10971 * fileio.c (Fmake_temp_name):
10972 * fileio.c (Ffile_truename):
10973 * fileio.c (Fsubstitute_in_file_name):
10974 * fileio.c (expand_and_dir_to_file):
10975 * fileio.c (barf_or_query_if_file_exists):
10976 * fileio.c (check_executable):
10977 * fileio.c (Ffile_exists_p):
10978 * fileio.c (Ffile_writable_p):
10979 * fileio.c (Ffile_directory_p):
10980 * fileio.c (Ffile_regular_p):
10981 * fileio.c (Ffile_modes):
10982 * fileio.c (Ffile_newer_than_file_p):
10983 * fileio.c (Fverify_visited_file_modtime):
10984 * fileio.c (Fset_visited_file_modtime):
10985 * fileio.c (auto_save_1):
10990 * frame-msw.c (mswindows_init_frame_1):
10991 * frame-msw.c (mswindows_enable_frame):
10992 * frame-msw.c (error_frame_unsizable):
10993 * frame-msw.c (msprinter_init_frame_1):
10994 * frame-msw.c (msprinter_init_frame_3):
10995 * frame-msw.c (console_type_create_frame_mswindows):
10997 implement new enable/disable frame methods.
11000 * frame-x.c (x_enable_frame):
11001 * frame-x.c (console_type_create_frame_x):
11002 implement new enable/disable frame methods.
11005 * frame.c (Fdisable_frame):
11006 * frame.c (syms_of_frame):
11007 * frame.h (struct frame):
11008 implement new enable/disable frame methods/functions.
11013 * glyphs-msw.c (mswindows_widget_instantiate):
11014 comment that initial-focus should be implemented.
11017 * glyphs-widget.c (check_valid_instantiator):
11018 * glyphs-widget.c (check_valid_orientation):
11019 * glyphs-widget.c (check_valid_tab_orientation):
11020 * glyphs-widget.c (check_valid_justification):
11021 * glyphs-widget.c (check_valid_border):
11022 * glyphs-widget.c (check_valid_callback):
11023 * glyphs-widget.c (check_valid_int_or_function):
11024 * glyphs-widget.c (check_valid_string_or_vector):
11025 * glyphs-widget.c (check_valid_item_list_1):
11026 * glyphs-widget.c (widget_validate):
11027 * glyphs-widget.c (combo_box_validate):
11028 * glyphs-widget.c (widget_instantiate):
11029 * glyphs-widget.c (syms_of_glyphs_widget):
11030 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
11031 * glyphs-widget.c (image_instantiator_combo_box):
11032 * glyphs-widget.c (image_instantiator_scrollbar):
11033 * glyphs-widget.c (image_instantiator_tab_control):
11034 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
11036 support (unimplemented) keyword initial-focus.
11037 reindent long macros.
11039 * glyphs-x.c (x_redisplay_widget):
11040 * glyphs-x.c (x_button_instantiate):
11041 * glyphs-x.c (x_button_redisplay):
11042 * glyphs-x.c (x_progress_gauge_instantiate):
11043 * glyphs-x.c (x_edit_field_instantiate):
11044 * glyphs-x.c (x_combo_box_instantiate):
11045 * glyphs-x.c (x_tab_control_instantiate):
11046 * glyphs-x.c (x_label_instantiate):
11048 * gui-x.c (button_item_to_widget_value):
11049 * gui-x.c (gui_items_to_widget_values_1):
11050 * gui-x.c (gui_item_children_to_widget_values):
11051 * gui-x.c (gui_items_to_widget_values):
11053 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11054 add new flag to gui-parsing routines to indicate whether
11055 accelerator specs should be supported.
11057 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
11059 * glyphs.h (struct Lisp_Image_Instance):
11060 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
11061 add initial-focus flag.
11064 * gui.c (syms_of_gui):
11065 * gui.c (vars_of_gui):
11066 clean up menu-no-selection-hook.
11069 support delete-dialog-box-hook.
11071 * lread.c (Fload_internal):
11072 * lread.c (locate_file_in_directory_mapper):
11076 * lrecord.h (struct toolbar_button):
11077 * lrecord.h (syms_of_toolbar):
11078 document how to create a new object.
11080 * menubar-msw.c (mswindows_char_is_accelerator):
11081 may be called on frames w/o menus.
11083 * menubar.c (vars_of_menubar):
11084 clean up :filter docs.
11091 * process-nt.c (validate_signal_number):
11092 * process-nt.c (signal_cannot_launch):
11093 * process-nt.c (nt_create_process):
11094 * process-nt.c (nt_send_process):
11095 * process-nt.c (nt_kill_child_process):
11096 * process-nt.c (nt_open_network_stream):
11097 * process-nt.c (syms_of_process_nt):
11099 delete quote-handling. call new lisp code that does it better.
11101 * process-unix.c (connect_to_file_descriptor):
11102 * process-unix.c (allocate_pty):
11103 * process-unix.c (unix_send_process):
11104 * process-unix.c (unix_kill_child_process):
11105 * process-unix.c (unix_open_network_stream):
11106 * process-unix.c (unix_open_multicast_group):
11110 * process.c (Fstart_process_internal):
11111 (2). need to canonicalize process path even if absolute.
11113 * select-msw.c (symbol_to_ms_cf):
11114 * select-msw.c (ms_cf_to_symbol):
11115 * select-msw.c (cf_is_autofreed):
11116 * select-msw.c (mswindows_destroy_selection):
11118 * select.c (syms_of_select):
11120 support dibv5, fix bugs. (from Mike Alexander)
11122 * select.c (Fget_selection_internal):
11123 * select.c (select_convert_out):
11126 * sysdep.c (xemacs_stat):
11129 * sysdep.c (mkdir):
11130 * sysdep.c (rmdir):
11131 but keep original stat() here because we provide encapsulation
11135 * sysfile.h (fstat):
11136 remove stat garbage.
11139 fix X/MSW conflict.
11140 don't include tchar.h. it's inappropriate because it makes
11141 compile-time distinctions when we want runtime distinctions.
11142 (we provide our own tchar replacements)
11145 use default object printer for toolbar-button.
11148 make sure we don't encapsulate.
11150 * window.c (vars_of_window):
11151 emphasize that temp-buffer-show-hook is obsolete.
11153 2000-08-05 Martin Buchholz <martin@xemacs.org>
11155 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
11156 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
11158 * events.c (Fevent_timestamp_lessp):
11159 Not 64-bit clean. Use EMACS_INT, not int.
11161 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
11163 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
11164 unsigned int and changed the last enum to
11165 lrecord_type_last_built_in_type.
11166 (lrecord_implementations_table): changed prototype to know how
11167 long the array is supposed to be.
11168 (lrecord_type_count): new unsigned int to keep track of the
11169 current number of lisp lrecord types.
11170 (DEFINE_EXTERNAL_LRECORD):
11171 (DECLARE_EXTERNAL_LRECORD): Added these two for external
11172 dynamic-modules to declare new lisp types. They are the same
11173 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
11174 int for each new type, and increment lrecord_type_count by 1.
11176 * alloc.c (lrecord_implementations_table): Changed to reference
11177 lrecord_type_last_built_in_type for the size of the array.
11178 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
11180 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
11182 * glyphs.h (check_valid_item_list): Renamed from
11183 check_valid_item_list_1.
11185 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
11187 * select.c (Qselect_coerce): New.
11188 * select.c (Vselection_coercion_alist): New.
11189 * select.c (syms_of_select): Declare.
11190 * select.c (get-selection-internal): Use it.
11191 Use the new select-coerce functionality.
11193 * select.c (select_coerce): New.
11194 * select.h (select_coerce): Declare.
11195 New function to coerce one type of data into another.
11197 2000-08-03 Martin Buchholz <martin@xemacs.org>
11199 * callproc.c (Fcall_process_internal):
11200 (Fcall_process_internal):
11201 * process-unix.c (unix_create_process):
11202 Save and restore the value of errno, so that error messages are accurate.
11204 2000-08-01 Martin Buchholz <martin@xemacs.org>
11206 * elhash.c (print_hash_table):
11207 Fix printing of hash tables to also use `key-and-value' instead of `t'.
11208 Prettify docstrings and indentation.
11210 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
11212 * window.c (Fwindow_pixel_edges): Subtract frame border and
11215 2000-07-31 Andy Piper <andy@xemacs.org>
11217 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
11218 will acknowledge the change.
11220 * glyphs.h: declare tab_control_order_only_changed.
11222 * glyphs-x.c (x_tab_control_redisplay): use
11223 tab_control_order_only_changed.
11225 * glyphs-widget.c (tab_control_order_only_changed): new function.
11227 * glyphs-msw.c (mswindows_tab_control_redisplay): use
11228 tab_control_order_only_changed.
11230 * gui.c (gui_item_equal_sans_selected): new function.
11231 (gui_item_equal): use it.
11233 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
11234 :properties in favor of :items..
11236 * glyphs-widget.c (check_valid_item_list): rename from
11237 check_valid_item_list_1.
11238 (check_valid_item_list_1): renamed.
11239 (combo_box_validate): deprecate :properties in favor of :items.
11240 (widget_instantiate): ditto.
11241 (tab_control_update): ditto.
11242 (image_instantiator_combo_box): ditto.
11243 (image_instantiator_tree_view): ditto.
11244 (image_instantiator_tab_control): ditto.
11245 (layout_post_instantiate): remove dead code.
11247 * print.c (debug_print_no_newline): only write to debugger if in
11250 * elhash.c (Fmake_hash_table): update doc string.
11252 * event-msw.c (mswindows_wnd_proc): don't allow processing of
11253 messages whilst in GC. This at least stops XEmacs crashing but has
11254 the potential for wierd behaviour.
11256 2000-07-31 Martin Buchholz <martin@xemacs.org>
11259 Make existence of s&m files optional.
11261 * s/bsd386.h: Remove HAVE_GETLOADAVG.
11262 * s/freebsd.h: Remove HAVE_GETLOADAVG.
11263 * s/gnu.h: Remove HAVE_GETLOADAVG.
11264 * s/netbsd.h: Remove HAVE_GETLOADAVG.
11265 * s/sol2.h: Remove HAVE_GETLOADAVG.
11266 * lisp.h: Remove getloadavg() declaration.
11268 Include <sys/loadavg.h> if available.
11269 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
11270 * config.h.in: Group together getloadavg()-related macros.
11271 Use only configure-time tests to detect getloadavg().
11273 2000-07-30 Martin Buchholz <martin@xemacs.org>
11275 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
11277 2000-07-25 Andy Piper <andy@xemacs.org>
11279 * syswindows.h: add tchar.h for native builds.
11281 * frame.c (syms_of_frame): remove set-glyph-image.
11283 * general-slots.h: add Qset_glyph_image.
11285 * glyphs-widget.c (layout_update): add domain arg to
11287 (syms_of_glyphs_widget): remove set-glyph-image.
11289 2000-07-23 Ben Wing <ben@xemacs.org>
11291 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
11294 2000-07-22 Andy Piper <andy@xemacs.org>
11296 * symsinit.h: add syms_of_win32().
11298 * gui-msw.c (syms_of_gui_mswindows): remove
11299 Fmswindows_shell_execute.
11300 (Fmswindows_shell_execute): moved to win32.c.
11302 * emacs.c (main_1): add syms_of_win32 ().
11304 * win32.c (init_potentially_nonexistent_functions): rewrite in
11305 compiler-friendly terms.
11306 (Fmswindows_shell_execute): move here from gui-msw.c.
11307 (syms_of_win32): new.
11309 * device-msw.c (Fmswindows_printer_list): clean up args to
11311 Don't include tchar under cygwin or mingw.
11312 (msprinter_default_printer): make cygwin-friendly.
11314 2000-07-21 Andy Piper <andy@xemacs.org>
11316 * glyphs-widget.c (image_instantiator_tree_view): use tab
11317 control's update function.
11318 (layout_property): new function. Retrieve items.
11320 * glyphs-msw.c (mswindows_tree_view_redisplay): new
11321 function. Re-populate the tree view from the pending items.
11323 * glyphs.c (instantiate_image_instantiator): Make sure the domain
11324 is designated the parent if the domain is an image instance. This
11325 is needed so that dirtiness can be cascade up the hierarchy and
11326 thus for layout children to be redisplayed correctly.
11327 (allocate_image_instance): rename glyph -> parent.
11329 * redisplay.h: change redisplay_output_layout signature.
11331 * redisplay-msw.c (mswindows_output_display_block): use domain
11334 * redisplay-x.c (x_output_display_block): use domain arg.
11336 2000-07-10 Andy Piper <andy@xemacs.org>
11338 * window.c (Fset_window_configuration): add comment.
11340 * redisplay-output.c (compare_runes):
11341 (redisplay_output_subwindow): redisplay rather than update subwindow.
11342 (redisplay_output_layout): ditto.
11344 * redisplay-msw.c (mswindows_frame_output_end):
11345 (mswindows_frame_output_end): make defer window pos optional.
11347 * lisp.h: add Flast.
11349 * glyphs.h (struct image_instantiator_methods): add dest_mask top
11350 normalize method. Change update method to be for changed
11351 instantiators. Add redisplay method. Change signature of layout
11353 (struct Lisp_Image_Instance): add instantiator.
11354 (IMAGE_INSTANCE_INSTANTIATOR): new.
11355 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
11356 (XIMAGE_INSTANCE_INSTANTIATOR): new.
11357 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
11360 (find_instantiator_differences): new function.
11361 (Fset_instantiator_property): new convenience function.
11362 (check_image_instance_structure): strictly check for vector
11364 (normalize_image_instantiator): make non-static.
11365 (instantiate_image_instantiator): pass on dest_mask and use new
11366 signatures for image_instance_layout and friends.
11367 (mark_image_instance): mark the instantiator. Mark the subwindow
11368 face not the widget face.
11369 (image_instance_equal): add instantiator.
11370 (image_instance_hash): ditto.
11371 (allocate_image_instance): ditto.
11372 (Fset_image_instance_property): removed.
11373 (Fimage_instance_file_name): ditto.
11374 (Fcolorize_image_instance): ditto.
11375 (image_instance_layout): add offsets to be set.
11376 (update_image_instance): new function. update an image instance
11377 from its changed instantiator.
11378 (inherit_normalize): add dest_mask.
11379 (xbm_normalize): ditto.
11380 (xface_normalize): ditto.
11381 (xpm_normalize): ditto.
11382 (text_update): set_property -> update.
11383 (image_instantiate): use the glyph identity as a hash key, not the
11385 (glyph_width): use new image_instance_layout signature.
11386 (glyph_ascent): ditto.
11387 (glyph_descent): ditto.
11388 (glyph_height): ditto.
11389 (glyph_query_geometry): ressurrect.
11390 (glyph_layout): ditto.
11391 (redisplay_subwindow): update -> redisplay.
11392 (syms_of_glyphs): add Fset_instantiator_property.
11393 (image_instantiator_format_create): set_property -> update.
11396 (autodetect_normalize): add dest_maks to signature.
11397 (x_redisplay_subwindow): update -> redisplay.
11398 (x_redisplay_widget): ditto.
11399 (x_button_redisplay): ditto.
11400 (x_progress_gauge_redisplay): ditto.
11401 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
11403 (console_type_create_glyphs_x): update -> redisplay.
11404 (image_instantiator_format_create_glyphs_x): ditto.
11407 (check_valid_instantiator): disallow glyphs in the instantiator,
11408 they must now be vectors.
11409 (check_valid_instantiator_list): ditto.
11410 (glyph_instantiator_to_glyph): use internal symbol rather than
11412 (widget_update): renamed from widget_set_property. Call cascaded
11414 (redisplay_widget): renamed from update_widget.
11415 (widget_layout): image_instance_layout now takes position as well
11417 (widget_normalize): ditto.
11418 (widget_instantiate): ditto.
11419 (tab_control_query_geometry) ditto.:
11420 (tab_control_update): renamed from tab_control_set_property.
11421 (progress_gauge_update): set_property -> update.
11422 (layout_normalize): rewrite so that child instantiators are
11424 (layout_update): new function. Create glyphs from the normalized
11425 children and cope with any other layout keywords. We do not
11426 instantiate children here that will be take care of by
11427 redisplay_output_layout.
11428 (layout_instantiate): call layout_update and not much else.
11429 (layout_post_instantiate): not sure whether this is needed
11431 (layout_query_geometry): query glyph geometry rather than
11432 image_instance geometry.
11433 (layout_layout): set offsets from pass in parameters. Use glyph
11434 geometry and layout functions rather than image instance ones.
11435 (native_layout_layout): ditto.
11436 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
11437 (image_instantiator_widget): set_property -> update.
11438 (image_instantiator_buttons): ditto.
11439 (image_instantiator_progress_guage): ditto.
11440 (image_instantiator_tab_control): ditto.
11441 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
11442 (image_instantiator_layout): add update method.
11444 * glyphs-msw.c (bmp_normalize):
11445 (mswindows_resource_normalize): add dest_mask so that it can be
11446 proprogated by layout_normalize.
11447 (begin_defer_window_pos): make optional because it may not be the
11448 right thing to do and it introduces differences with X.
11449 (mswindows_unmap_subwindow): ditto.
11450 (mswindows_map_subwindow): ditto.
11451 (mswindows_redisplay_subwindow): renamed from
11452 mswindows_update_subwindow.
11453 (mswindows_redisplay_widget): ditto.
11454 (mswindows_button_redisplay): renamed from
11455 mswindows_button_update. Update is now what the instantiation
11456 function does for a changed instantiator.
11457 (mswindows_progress_gauge_instantiate): set the progress value
11458 here if appropriate.
11459 (mswindows_tab_control_redisplay): cope with re-ordering of the
11460 members of the tab widget by simply selecting the new top
11461 widget. This makes things appear ok if you click on a tab.
11462 (mswindows_combo_box_instantiate): image_instance_layout now takes
11463 position as well as size.
11464 (mswindows_progress_gauge_redisplay): renamed from
11465 mswindows_progress_gauge_update.
11466 (console_type_create_glyphs_mswindows): fix update -> redisplay.
11467 (image_instantiator_format_create_glyphs_mswindows): ditto.
11469 * glyphs-eimage.c (jpeg_normalize):
11472 (tiff_normalize): add dest_mask so that it can be proprogated by
11476 (print_hash_table):
11477 (hash_table_weakness_validate):
11478 (decode_hash_table_weakness):
11479 (Fhash_table_weakness):
11480 (Fhash_table_type):
11481 (syms_of_elhash): use Ben's naming scheme for hashtable types..
11483 * console.h (struct console_methods): move update_* to
11486 2000-07-20 Ben Wing <ben@xemacs.org>
11488 * *.[ch] (XSETOBJ): remove unused middle argument.
11489 lisp-disunion.h: correct wrap_object() to one argument.
11491 2000-07-15 Ben Wing <ben@xemacs.org>
11494 * s/cygwin32.h (CYGWIN_CONV_PATH):
11495 Add missing logb prototype for v1.1.
11496 Use post-b20 names and alias to pre-b20 names when pre-b20.
11498 * s/windowsnt.h: [5].
11500 2000-07-15 Ben Wing <ben@xemacs.org>
11502 * Makefile.in.in (x_objs):
11503 * Makefile.in.in (sheap_objs):
11504 * Makefile.in.in (objs):
11505 added win32.o, cosmetic cleanups.
11507 * alloc.c (Fmake_byte_code):
11508 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
11509 etc. macros which declare their own args now.
11511 * alloc.c (syms_of_alloc):
11512 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
11515 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
11517 * buffer.c (Fget_file_buffer):
11518 Fixed GCPRO problem.
11520 * buffer.c (get_truename_buffer):
11521 Fixed comment about GC checking.
11523 * buffer.c (syms_of_buffer):
11524 Undeclared those dedicated frame funs.
11528 Define convenience macros for internal/external conversions.
11529 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
11530 and Qenvironment_variable_encoding for cleaner code.
11533 Remove dedicated-frame; in lisp.
11535 * bytecode.c (funcall_compiled_function):
11538 * bytecode.c (syms_of_bytecode):
11542 * console-msw.c (mswindows_show_console): Rewrote.
11544 * console-msw.c (Fmswindows_debugging_output): New.
11545 Sends to OutputDebugString (special MSWin debugger interface).
11547 * console-msw.c (Fmswindows_message_box):
11548 Fixed stupid bugs so it works when called from kill-emacs.
11550 * console-msw.c (syms_of_console_mswindows):
11551 Declare Fmswindows_debugging_output.
11554 New MSWin prototypes.
11556 * console-msw.h (struct mswindows_frame):
11557 New entry last-click-mods for improved button-modifier support.
11559 * console-msw.h (FRAME_MSWINDOWS_POPUP):
11560 New struct entry `popup' with corresponding accessor.
11563 * console-x.c (split_up_display_spec):
11564 * console-x.c (get_display_arg_connection):
11565 * console-x.c (x_semi_canonicalize_console_connection):
11566 * console-x.c (x_canonicalize_device_connection):
11567 [[[6]]]: Change char to more specific type.
11568 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
11570 * console-x.c (x_semi_canonicalize_console_connection):
11571 * console-x.c (x_canonicalize_device_connection):
11572 [[[9]]]: Fix up error signalling to use new structured error system.
11575 [[[4]]]: Define codesys aliases:
11576 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
11577 Qx_color_name_encoding, Qx_display_name_encoding.
11579 * console.h (struct console_methods):
11580 New method make_dialog_box_internal supersedes older
11581 popup_dialog_box method.
11584 Define many new errors, part of new structured errors.
11586 * data.c (init_errors_once_early):
11587 * data.c (syms_of_data):
11590 * device-msw.c (mswindows_init_device):
11591 [[[5]]]: Cleanup to support NT 3.51.
11593 * device-msw.c (decode_devmode): Cleanup.
11595 * device-msw.c (mswindows_handle_print_setup_dialog_box):
11596 * device-msw.c (mswindows_handle_print_dialog_box):
11597 * device-msw.c (mswindows_handle_page_setup_dialog_box):
11598 * device-msw.c (syms_of_device_mswindows):
11599 Delete the dialog box primitives recently introduced by Kirill and
11600 instead interface to general dialog box interface.
11603 * device-x.c (compute_x_app_name):
11604 * device-x.c (x_init_device):
11605 * device-x.c (Fx_valid_keysym_name_p):
11606 * device-x.c (Fx_set_font_path):
11610 * device.h (wrap_device): New.
11611 First of its kind; meant to replace XSETDEVICE.
11613 * dialog-msw.c: Many file-dialog symbols.
11615 * dialog-msw.c (mswindows_register_popup_frame): New.
11616 * dialog-msw.c (mswindows_is_dialog_msg): New.
11617 For supporting kbd traversal in dialog boxes.
11619 * dialog-msw.c (dialog_proc):
11620 Support hitting ESC in dialogs.
11622 * dialog-msw.c (struct):
11623 Common dialog box errors.
11625 * dialog-msw.c (handle_file_dialog_box): New.
11626 Add file dialog code.
11628 * dialog-msw.c (handle_question_dialog_box):
11629 Redo existing code to support new question dialog syntax.
11631 * dialog-msw.c (console_type_create_dialog_mswindows):
11632 We support new dialog console method.
11634 * dialog-msw.c (syms_of_dialog_mswindows):
11635 * dialog-msw.c (vars_of_dialog_mswindows):
11636 New file dialog symbols, vars.
11639 * dialog-x.c (maybe_run_dbox_text_callback):
11640 * dialog-x.c (dbox_descriptor_to_widget_value):
11641 * dialog-x.c (x_make_dialog_box_internal):
11642 * dialog-x.c (console_type_create_dialog_x):
11643 Mule-ize entire file.
11644 Redo to support question dialog syntax.
11648 * dialog.c (Fmake_dialog_box_internal):
11649 * dialog.c (syms_of_dialog):
11650 Kill old popup-dialog-box, replace with new primitive.
11651 Just call device method or signal error.
11653 * eldap.c (Fldap_open):
11654 * eldap.c (Fldap_search_basic):
11655 * eldap.c (Fldap_add):
11656 * eldap.c (Fldap_modify):
11661 * emacs.c (make_arg_list_1):
11662 * emacs.c (make_arg_list):
11663 Mule-ize call to dll_init().
11667 * emacs.c (make_argc_argv):
11668 * emacs.c (free_argc_argv):
11669 * emacs.c (init_cmdargs):
11670 * emacs.c (main_1):
11671 * emacs.c (Fkill_emacs):
11672 * emacs.c (Fdump_emacs):
11673 Update comments about what can be used in syms_* etc.
11674 Call init_win32() when necessary.
11675 Fix up MS Win dialog box in kill-buffer to actually work right.
11686 * eval.c (condition_case_3):
11688 * eval.c (function_argcount):
11689 * eval.c (funcall_lambda):
11692 * eval.c (type_error): New.
11693 * eval.c (maybe_type_error): New.
11694 * eval.c (continuable_type_error): New.
11695 * eval.c (maybe_continuable_type_error): New.
11696 * eval.c (type_error_with_frob): New.
11697 * eval.c (maybe_type_error_with_frob): New.
11698 * eval.c (continuable_type_error_with_frob): New.
11699 * eval.c (maybe_continuable_type_error_with_frob): New.
11700 New functions for use with structured errors.
11703 * event-Xt.c (x_event_to_emacs_event):
11704 Buttons are now modifiers too.
11706 * event-Xt.c (emacs_Xt_current_event_timestamp):
11707 Implement new event method.
11708 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
11711 * event-msw.c (ntpipe_shove_writer): [5].
11712 * event-msw.c (mswindows_enqueue_mouse_button_event):
11713 * event-msw.c (mswindows_drain_windows_queue):
11714 * event-msw.c (mswindows_wnd_proc): [7].
11715 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
11716 * event-msw.c (mswindows_modifier_state):
11717 Throughout: support new button modifiers.
11719 * event-msw.c (emacs_mswindows_current_event_timestamp):
11720 Implement new event method.
11721 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
11724 * event-stream.c (event_stream_current_event_timestamp): New.
11725 * event-stream.c (maybe_kbd_translate): New functionality.
11726 * event-stream.c (vars_of_event_stream):
11727 Document new kbd-translate-table functionality.
11729 * event-stream.c (Fcurrent_event_timestamp): New.
11730 New primitive for use in fabricated events.
11731 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
11733 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
11736 * events.c (Fmake_event):
11737 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
11741 * events.c (format_event_object): fix gcc warnings.
11743 * events.c (Fevent_timestamp): Document new primitives.
11745 * events.c (TIMESTAMP_HALFSPACE): New.
11747 * events.c (Fevent_timestamp_lessp): New. New primitive for
11748 comparing timestamps correctly (half-space algorithm).
11750 * events.c (Fevent_modifier_bits): Doc fix.
11752 * events.c (Fevent_modifiers): Major doc addition.
11753 * events.c (event_x_y_pixel_internal): Typo fix.
11754 * events.c (syms_of_events): Declare new primitives.
11757 Update long comment for button modifiers, timestamps.
11759 * events.h (struct event_stream):
11760 New current_event_timestamp method.
11763 * extents.c (extent_in_region_p):
11764 * extents.c (decode_extent):
11765 * extents.c (Fset_extent_parent):
11766 * extents.c (decode_map_extents_flags):
11770 * extents.c (struct extent_at_arg):
11771 * extents.c (decode_extent_at_flag):
11772 * extents.c (extent_at_mapper):
11773 * extents.c (extent_at_bytind):
11774 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
11775 * extents.c (Fextents_at): New primitive. [9].
11776 * extents.c (symbol_to_glyph_layout): [9].
11777 Support new primitive `extents-at'.
11780 * extents.c (get_text_property_bytind):
11781 extent_at_bytind has another arg.
11784 * extents.c (syms_of_extents): New primitive.
11786 * file-coding.c (Fmake_coding_system): [1].
11787 * file-coding.c (subsidiary_coding_system): fix gcc warning
11788 * file-coding.c (syms_of_file_coding): [2].
11790 * fileio.c (Fexpand_file_name):
11791 * fileio.c (Fsysnetunam):
11792 * fileio.c (Ffile_exists_p):
11793 * fileio.c (Ffile_executable_p):
11794 * fileio.c (Fverify_visited_file_modtime):
11797 * fileio.c (syms_of_fileio): [2].
11799 * filelock.c (lock_file_1):
11800 * filelock.c (current_lock_owner):
11801 * filelock.c (lock_if_free):
11802 * filelock.c (lock_file):
11803 * filelock.c (unlock_file):
11806 * fns.c (concat): Fix gcc warning.
11809 * fns.c (Fold_member):
11811 * fns.c (Fold_memq):
11812 * fns.c (memq_no_quit):
11814 * fns.c (Fold_assoc):
11816 * fns.c (Fold_assq):
11817 * fns.c (assq_no_quit):
11819 * fns.c (Fold_rassoc):
11821 * fns.c (Fold_rassq):
11822 * fns.c (rassq_no_quit):
11824 * fns.c (Fold_delete):
11826 * fns.c (Fold_delq):
11827 * fns.c (delq_no_quit):
11828 * fns.c (Fremassoc):
11829 * fns.c (Fremassq):
11830 * fns.c (remassq_no_quit):
11831 * fns.c (Fremrassoc):
11832 * fns.c (Fremrassq):
11833 * fns.c (remrassq_no_quit):
11834 * fns.c (Freverse):
11838 * frame-msw.c (mswindows_init_frame_1):
11839 * frame-msw.c (mswindows_delete_frame):
11840 Register popups with dialog code so keyboard traversing works.
11842 * frame-tty.c (tty_raise_frame_no_select): [1].
11845 * frame-x.c (x_set_frame_text_value):
11846 * frame-x.c (x_set_frame_properties):
11847 * frame-x.c (x_create_widgets):
11851 * frame.c (Fmouse_pixel_position): Minor doc fixes.
11853 * frame.h (wrap_frame): New.
11854 Macro like wrap_device.
11857 * general.c (SYMBOL):
11858 * general.c (syms_of_general):
11859 Major reorg. This is now just a wrapper and symbols themselves
11860 are listed in general-slots.h.
11862 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
11863 * glyphs-msw.c (mswindows_resource_instantiate): [5].
11865 * glyphs-msw.c (mswindows_native_layout_instantiate):
11866 Add DS_CONTROL so keyboard traversal will work.
11869 * glyphs-widget.c (syms_of_glyphs_widget):
11870 Move some symbols to general-slots.h.
11873 * glyphs-x.c (xbm_instantiate_1):
11874 * glyphs-x.c (x_xbm_instantiate):
11875 * glyphs-x.c (x_xface_instantiate):
11876 * glyphs-x.c (autodetect_instantiate):
11877 * glyphs-x.c (cursor_font_instantiate):
11878 * glyphs-x.c (x_update_widget):
11879 * glyphs-x.c (x_widget_instantiate):
11880 * glyphs.c (bitmap_to_lisp_data):
11881 * glyphs.c (pixmap_to_lisp_data):
11884 * glyphs.c (syms_of_glyphs):
11888 * gui-x.c (print_widget_value):
11889 * gui-x.c (menu_separator_style_and_to_external):
11890 * gui-x.c (add_accel_and_to_external):
11891 * gui-x.c (button_item_to_widget_value):
11892 * gui-x.c (gui_items_to_widget_values_1):
11893 * gui-x.c (gui_items_to_widget_values):
11894 * gui-x.c (syms_of_gui_x):
11895 * gui-x.c (vars_of_gui_x):
11896 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
11900 Muleize, prototype changes matching gui-x.c.
11903 * gui.c (separator_string_p):
11904 * gui.c (gui_item_add_keyval_pair):
11905 * gui.c (make_gui_item_from_keywords_internal):
11906 * gui.c (signal_too_long_error):
11907 * gui.c (parse_gui_item_tree_item):
11908 * gui.c (syms_of_gui):
11909 * gui.c (vars_of_gui):
11911 menu-no-selection-hook moved here (used by MSWin).
11912 Move some symbols to general-slots.h.
11916 * insdel.c (get_buffer_pos_char):
11917 * insdel.c (get_buffer_range_char):
11920 * keymap.c (keymap_lookup_directly):
11921 * keymap.c (keymap_store):
11922 * keymap.c (ensure_meta_prefix_char_keymapp):
11923 * keymap.c (describe_map):
11925 Support new button modifiers.
11927 * lisp-disunion.h (wrap_object):
11928 * lisp-disunion.h (XSETOBJ):
11929 Rename make_obj to wrap_object.
11932 * lisp-union.h (make_int):
11933 * lisp-union.h (make_char):
11934 Support wrap_object.
11937 * lisp.h (LIST_LOOP):
11938 * lisp.h (EXTERNAL_LIST_LOOP):
11939 * lisp.h (LIST_LOOP_2):
11940 * lisp.h (EXTERNAL_LIST_LOOP_1):
11941 * lisp.h (EXTERNAL_LIST_LOOP_2):
11942 * lisp.h (EXTERNAL_LIST_LOOP_3):
11943 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
11944 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
11945 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
11946 * lisp.h (EXTERNAL_ALIST_LOOP_5):
11947 * lisp.h (EXTERNAL_ALIST_LOOP_6):
11948 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
11949 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
11950 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
11951 * lisp.h (struct Lisp_Symbol):
11952 * lisp.h (maybe_continuable_error_with_frob):
11953 Fix up section comments.
11954 Add new types for char to indicate usage.
11955 Delete symbols auto-generated from general-slots.h.
11956 Add prototypes for structured error functions.
11957 Add long comments describing looping macros and change interface
11958 so that lvalues are automatically declared.
11959 Add NO_DECLARE macro in case callers want to declare lvalues
11962 * lread.c (read_syntax_error):
11963 * lread.c (continuable_read_syntax_error):
11964 * lread.c (read_structure):
11965 * lread.c (sequence_reader):
11966 * lread.c (read_list_conser):
11967 * lread.c (read_compiled_function):
11968 Rename syntax_error and continuable_syntax_error to avoid clash
11969 with same-named structured error functions.
11971 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11972 * menubar-msw.c (populate_menu_add_item):
11973 * menubar-msw.c (populate_or_checksum_helper):
11978 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11979 Mule-ize whole file.
11981 * menubar.c (Fnormalize_menu_item_name): Add optimization.
11983 * mule-charset.c (Fmake_charset):
11984 * mule-wnnfns.c (Fwnn_set_param):
11987 * ntproc.c (create_child):
11988 * ntproc.c (Fwin32_set_current_locale):
11989 Add comments portending doom.
11992 * objects-msw.c (old_font_enum_callback_2):
11993 * objects-msw.c (font_enum_callback_1):
11994 * objects-msw.c (mswindows_enumerate_fonts):
11998 * objects-x.c (allocate_nearest_color):
11999 * objects-x.c (x_parse_nearest_color):
12000 * objects-x.c (x_initialize_color_instance):
12001 * objects-x.c (x_print_color_instance):
12002 * objects-x.c (x_finalize_color_instance):
12003 * objects-x.c (x_valid_color_name_p):
12004 * objects-x.c (x_initialize_font_instance):
12005 * objects-x.c (x_print_font_instance):
12006 * objects-x.c (valid_x_font_name_p):
12007 * objects-x.c (truename_via_FONT_prop):
12008 * objects-x.c (truename_via_random_props):
12009 * objects-x.c (truename_via_XListFonts):
12010 * objects-x.c (x_font_truename):
12011 * objects-x.c (x_font_instance_truename):
12012 * objects-x.c (x_font_instance_properties):
12013 * objects-x.c (x_list_fonts):
12014 * objects-x.c (x_find_charset_font):
12015 Mule-ize entire file.
12022 * print.c (std_handle_out_external):
12023 * print.c (debug_print_no_newline):
12024 * print.c (syms_of_print):
12025 Output to all debugger kinds in debug-print.
12026 Fix console-output code under MSWin to actually work.
12028 * process-nt.c (send_signal):
12029 * process-nt.c (nt_create_process):
12030 Use newer Unicode macros.
12032 * process-unix.c (unix_create_process):
12033 * process-unix.c (unix_canonicalize_host_name):
12034 * process-unix.c (unix_open_network_stream):
12040 * search.c (syms_of_search):
12043 * select-msw.c (mswindows_destroy_selection):
12046 * select-x.c (symbol_to_x_atom):
12049 * select.c (syms_of_select):
12052 * sound.c (Fplay_sound_file):
12056 * specifier.c (decode_specifier_type):
12057 * specifier.c (Fvalid_specifier_locale_type_p):
12058 * specifier.c (check_valid_locale_or_locale_type):
12059 * specifier.c (decode_locale):
12060 * specifier.c (decode_locale_type):
12061 * specifier.c (decode_locale_list):
12062 * specifier.c (check_valid_domain):
12063 * specifier.c (decode_specifier_tag_set):
12064 * specifier.c (Fcanonicalize_tag_set):
12065 * specifier.c (Fdefine_specifier_tag):
12066 * specifier.c (Fspecifier_tag_predicate):
12067 * specifier.c (check_valid_inst_list):
12068 * specifier.c (check_valid_spec_list):
12069 * specifier.c (decode_how_to_add_specification):
12070 * specifier.c (check_modifiable_specifier):
12071 * specifier.c (specifier_add_spec):
12072 * specifier.c (boolean_validate):
12073 * specifier.c (display_table_validate):
12076 * specifier.c (syms_of_specifier):
12077 Move some symbols to general-slots.h.
12081 * symbols.c (Fmapatoms):
12082 * symbols.c (Fapropos_internal):
12085 * symbols.c (set_default_buffer_slot_variable):
12086 * symbols.c (set_default_console_slot_variable):
12089 * symbols.c (defsymbol_massage_name_1):
12090 * symbols.c (defkeyword_massage_name):
12091 * symbols.c (deferror_1):
12092 * symbols.c (deferror):
12093 * symbols.c (deferror_massage_name_and_message):
12095 * symeval.h (DEFSYMBOL):
12096 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
12098 * symbols.c (syms_of_symbols):
12102 * symsinit.h (init_win32): New.
12103 Also new is syms_of_dialog_mswindows.
12106 Add new Unicode macros, missing Cygwin wide-char functions,
12107 convenience conversion macros for Qmswindows_tstr, macros for
12108 encapsulating required MSWin <-> Cygwin filename conversions,
12109 prototype for dynamically-extracted (not in NT 3.51) functions.
12114 * tooltalk.c (Fadd_tooltalk_message_arg):
12115 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
12116 * tooltalk.c (Fadd_tooltalk_pattern_arg):
12119 * tooltalk.c (syms_of_tooltalk):
12123 * unexnt.c (unexec):
12124 Fix up headers, declaration of unexec() to be more standard.
12126 2000-07-20 Martin Buchholz <martin@xemacs.org>
12128 * offix.h: Revert change to guard macros - they're used in offix.c!
12130 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12132 * lisp.h: Defsubred Fdelete.
12134 * console-msw.h: (msprinter_default_printer): Added.
12136 * console-msw.c (msprinter_canonicalize_console_connection):
12137 (msprinter_canonicalize_device_connection): Added.
12139 * device-msw.c (msprinter_default_printer):
12140 (Fmswingows_get_default_printer):
12141 (signal_enum_priner_error):
12142 (Fmswingows_printer_list): Added.
12144 2000-07-19 Martin Buchholz <martin@xemacs.org>
12146 * XEmacs 21.2.35 is released.
12148 2000-07-19 Martin Buchholz <martin@xemacs.org>
12150 * select-x.c (x_handle_selection_request):
12151 Text selected in xemacs and pasted into xterm failed to appear.
12152 Spelling fixes and cosmetic changes.
12154 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12156 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
12157 XEmacs frame (fix for doubling chars in dialog boxes).
12159 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
12161 * select.c (select_convert_in, select_convert_out):
12162 Don't call intern() every time.
12164 * select.c (Qselect_convert_in, Qselect_convert_out): New.
12165 * select.c (vars_of_select): Initialise them.
12167 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
12169 * select.c (selection-coercible-types): New.
12171 * select.c (own-selection-internal):
12172 * select.c (get-selection-internal):
12173 MULE bug fix - these should default to COMPOUND_TEXT and not
12174 STRING for MULE. I think.
12176 * select.c (select_convert_out): Use selection-coercible-types
12177 to find types that we can attempt to perform coercions on.
12179 2000-07-18 Martin Buchholz <martin@xemacs.org>
12183 Add coding: cookie to identify encoding.
12185 * mule-canna.c (CANNA_mode_keys): make static.
12186 Use proper prototypes, even for functions of no arguments.
12187 Remove external prototype for Fding().
12189 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
12191 * select.c (syms_of_select): Add missing DEFSUBR.
12193 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
12195 * select.c (get_selection_internal, own_selection_internal):
12196 Make the type default to STRING, rather than placing a nil type
12197 into Vselection_alist.
12199 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
12201 * gpmevent.c (tty_selection_exists_p):
12202 * gpmevent.c (tty_own_selection):
12203 Updated parameter lists.
12205 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
12207 * select.h (selection-alist): Removed declaration.
12209 * select.h (get_local_selection):
12210 * select.c (get_local_selection):
12213 * select.h (convert_selection): Removed declaration.
12214 * select.c (convert_selection): Removed.
12215 This function belongs in Lisp.
12217 * select.h (select_convert_in): Declare.
12218 * select.h (select_convert_out): Declare.
12219 * select.c (select_convert_in): New.
12220 * select.c (select_convert_out): New.
12221 New conversion functions for other files to call.
12223 * select.h (select_notify_buffer_kill): Declare.
12224 * select.c (select_notify_buffer_kill): New.
12225 New functions that get called from kill-buffer.
12227 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
12228 X-specific lisp code.
12230 * select.h: Declare some of the lisp-visible functions for
12233 * select.c (clean_local_selection_data): Removed. This was
12234 a disgusting function, and previously should have been in
12235 select-x.c in any case. The functionality is now provided
12236 in select-convert-from-integer (select.el).
12238 * select.c (available-selection-types): Fixed stupidity where
12239 INTEGER and ATOM got added twice. Also add STRING when we see an
12242 * select.c (get-selection-internal): Removed symbol stripping. No
12243 longer causes conversion when data comes from the internal cache.
12245 * select.c (syms_of_select): Added new functions.
12247 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
12248 error checking - previously this called abort!
12250 * select-x.c (x_own_selection): Changed comment.
12252 * select-x.c (x_handle_selection_request): Use select_convert_out.
12253 Don't mess with selection-alist; it's an internal variable of select.c.
12255 * select-x.c (x_get_foreign_selection): Use select_convert_in.
12257 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
12258 rather than messing with selection-alist.
12260 * select-msw.c (mswindows_get_foreign_selection):
12261 Use TO_INTERNAL_FORMAT rather than hacking.
12263 2000-07-14 Martin Buchholz <martin@xemacs.org>
12265 * process-unix.c (unix_open_multicast_group):
12266 (unix_open_multicast_group): Remove useless casts.
12268 2000-07-13 Martin Buchholz <martin@xemacs.org>
12270 * sound.c (Fplay_sound): Fix `unused variable' warning.
12272 * emacs.c (main): Use correct type for _environ on SCO5.
12274 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
12276 * console.h (own_selection_method):
12277 * console.h (selection_exists_p_method):
12278 * console.h (available_selection_types_method): New.
12279 * console.h (register_selection_data_type_method): New.
12280 * console.h (selection_data_type_name): New.
12282 * console-msw.h (mswindows_destroy_selection): Declare it. New
12283 function & alist to track GlobalAlloc()'d handles that need
12284 releasing when the clipboard data gets replaced or emptied.
12286 * event-msw.c (mswindows_wnd_proc): Call it.
12288 * lisp.h, general.c (Qappend): New symbol representing a
12291 * select.c (own-selection-internal):
12292 * select.c (selection-exists-p):
12293 * select.c (available-selection-types): New.
12294 * select.c (register-selection-data-type): New.
12295 * select.c (selection-data-type-name): New. New functions to deal
12296 with device-specific selection data formats.
12297 * select.c (selection-converter-out-alist): Renamed.
12298 * select.c (selection-converter-in-alist): New.
12299 * select.c (selection-appender-alist): New. Added new alists.
12300 * select.c (syms_of_select, vars_of_select): Added new symbols &
12302 * select.c (get_local_selection): Split.
12303 * select.c: Removed spurious type checking - selections may now be
12304 of any type, not just strings.
12305 * select.c (own-selection-internal):
12307 * select.h, select.c (convert_selection): New. Created
12308 convert_selection() function based on get_local_selection().
12309 * select.h, select.c (QCF_*): New symbols representing mswindows
12311 * select.h, select.c (Qreplace_all, Qreplace_existing): New
12312 symbols representing `how-to-add' modes.
12314 * select-msw.c (x_sym_p): New.
12315 * select-msw.c (symbol_to_ms_cf): New.
12316 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
12317 symbols & clipboard formats. Can also handle string names.
12318 * select-msw.c (mswindows_own_selection):
12319 * select-msw.c (mswindows_selection_exists_p):
12320 Added `data-type' parameter. Use it.
12321 * select-msw.c (mswindows_available_selection_types): New.
12322 * select-msw.c (mswindows_register_selection_data_type): New.
12323 * select-msw.c (mswindows_selection_data_type_name): New.
12324 * select-msw.c (mswindows_own_selection):
12325 * select-msw.c (mswindows_get_foreign_selection):
12326 * select-msw.c (mswindows_selection_exists_p): Rewrote.
12327 * select-msw.c (console_create_select_mswindows): Added new methods.
12328 * select-msw.c (mswindows_destroy_selection): New.
12329 * select-msw.c (Vhandle_alist): New list.
12330 * select-msw.c (mswindows_own_selection):
12332 * select-x.c (x_own_selection):
12333 * select-x.c (x_selection_exists_p):
12334 * select-x.c: Added some comments about maybe using new
12336 * select-x.c (x_own_selection):
12338 * specifier.c: Remove definition of Qappend (now in general.c)
12339 * specifier.c (syms_of_specifier): Remove Qappend.
12341 2000-07-12 Martin Buchholz <martin@xemacs.org>
12343 * config.h.in: Add socklen_t.
12345 * s/decosf4-0.h: No special compiler flags needed or desired.
12346 In particular, undefine _BSD for DEC OSF 4.0.
12348 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12350 * redisplay-msw.c (msprinter_frame_output_end): Added.
12351 (console_type_create_redisplay_mswindows): Referred the above.
12353 * frame.c (setup_frame_without_minibuffer): Do not create a
12354 default minibuffer frame on a printer device.
12356 * frame-msw.c (apply_dc_geometry): Added.
12357 (msprinter_start_page):
12358 (msprinter_init_frame_3):
12359 (msprinter_eject_page): Use it.
12361 * console-msw.h (struct msprinter_frame): Added pix_left and top,
12362 and removed residual duplex and orientation properties.
12364 2000-07-11 Martin Buchholz <martin@xemacs.org>
12366 * eval.c (function_argcount): Work around a DEC CC compiler bug.
12368 * unexalpha.c: Remove system prototypes from C sources!
12370 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
12372 * eval.c: Remove references to M-x edit-options in DEFUNs for
12373 `defvar' and `defconst'.
12375 2000-07-09 Martin Buchholz <martin@xemacs.org>
12377 * config.h.in: Remove SMART_INCLUDE hackery.
12379 PostgreSQL hacking:
12380 * config.h.in: Don't use SMART_INCLUDE.
12382 * postgresql.h: Include libpq-fe.h here. Fix typo.
12383 * inline.c: Simply #include "postgresql.h"
12385 - Don't use SMART_INCLUDE
12386 - Use simply "const".
12387 - Use standard doc string conventions.
12388 - Use correct type for result of PQstatus.
12390 2000-07-09 Martin Buchholz <martin@xemacs.org>
12392 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
12394 C++ compilation changes.
12395 * config.h.in (EXTERN_C): Define.
12396 * config.h.in (not): This is also a C++ keyword.
12397 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
12398 * cm.c: Use EXTERN_C.
12399 * redisplay-tty.c: Use EXTERN_C.
12400 * sysdep.c: Use EXTERN_C. Remove Gould support.
12402 2000-07-09 Martin Buchholz <martin@xemacs.org>
12404 * general.c: Remove duplicate definition for Qfunction.
12406 2000-07-08 Ben Wing <ben@xemacs.org>
12408 * device-msw.c (msprinter_init_device):
12409 * device-msw.c (sync_printer_with_devmode):
12410 * device-msw.c (handle_devmode_changes):
12411 * device-msw.c (print_dialog_worker):
12412 * device-msw.c (Fmsprinter_apply_settings):
12413 * device-msw.c (hash_devmode):
12414 * device-msw.c (Fmsprinter_settings_despecialize):
12415 use Qmswindows_tstr, not Qctext.
12417 * vm-limit.c (check_memory_limits):
12418 avoid infinite loop printing warning messages.
12420 2000-07-05 Craig Lanning <lanning@scra.org>
12422 * Makefile.in.in: Add support for including the Windows resources
12423 when building with the cygwin and mingw targets.
12425 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
12426 not set or not correct.
12427 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
12428 (init_initial_directory): Don't try to use $PWD on the
12429 WIN32_NATIVE target.
12432 [[Add -mwindows to eliminate console window.]] not required --ben
12433 (HAVE_NATIVE_SOUND): removed; now handled by configure.
12434 (MAIL_USE_POP): removed; now handled by configure.
12436 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
12437 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
12438 (HAVE_NATIVE_SOUND): removed; now handled by configure.
12439 (MAIL_USE_POP): removed; now handled by configure.
12440 (ENCAPSULATE_STAT): from Dan Holmsand, added.
12441 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
12442 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
12444 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
12445 up from <winsock.h> via systime.h.
12446 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
12447 (getpagesize): from Dan Holmsand, added.
12448 Added #endif which was left dangling by Ben's mega patch; added
12449 comment to help prevent this in the future.
12451 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
12453 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12455 * console-msw.h (struct mswindows_device): Removed unnecessary
12456 cached device geometry values.
12457 Added update_tick and an accessor macro.
12458 (Lisp_Devmode): Added lrecord declaration.
12459 (struct msprinter_device): Contain devmode as a Lisp object.
12460 Added mswindows_get_selected_frame_hwnd();
12462 * console.h (struct console_methods): Indentation nitpicking.
12464 * device-msw.c (mswindows_init_device): Do not initialize geometry
12465 cache. Initialize update tick.
12466 (mswindows_device_system_metrics): Ask the device for its geometry.
12467 (global_free_2_maybe):
12468 (devmode_to_hglobal):
12469 (handle_printer_changes):
12470 (ensure_not_printing):
12471 (print_dialog_worker):
12472 (Fmsprinter_print_setup_dialog):
12473 (Fmsprinter_print_dialog):
12474 (plist_get_margin):
12475 (plist_set_margin):
12476 (Fmsprinter_page_setup_dialog): Added functions.
12477 (sync_printer_with_devmode):
12478 (handle_devmode_changes):
12479 (Fmsprinter_get_settings):
12480 (Fmsprinter_select_settings):
12481 (Fmsprinter_apply_settings):
12482 (allocate_devmode):
12483 (Fmsprinter_settings_copy):
12484 (Fmsprinter_settings_despecialize):
12486 (finalize_devmode):
12488 (hash_devmode): Added functions
12489 (syms_of_device_mswindows): Init devmode lrecord class.
12491 * device.h: Added an exfun for find-device.
12493 * event-msw.c (mswindows_wnd_proc): Do not update the cached
12494 geometry; although, recreate the device compatible DC.
12496 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
12497 (msprinter_init_frame_3):
12498 (msprinter_frame_property):
12499 (msprinter_internal_frame_property_p):
12500 (msprinter_frame_properties):
12501 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
12502 print job properties (will move to device settings).
12504 * lisp.h: Added symbols.
12506 * general.c (syms_of_general): Declared them.
12508 * hash.c (string_hash): Added.
12510 * lrecord.h (lrecord_type): Added devmode lrecord type.
12512 2000-07-02 Mike Sperber <mike@xemacs.org>
12514 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
12517 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
12519 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
12522 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
12524 * data.c (Fstring_to_number): Don't recognize floating point if
12527 2000-06-22 Martin Buchholz <martin@xemacs.org>
12529 * glyphs-widget.c (tab_control_query_geometry):
12530 (widget_query_geometry):
12531 (button_query_geometry):
12532 * glyphs.c (text_query_geometry):
12533 Enforce type correctness.
12535 2000-06-18 Martin Buchholz <martin@xemacs.org>
12537 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
12538 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
12540 2000-06-17 Martin Buchholz <martin@xemacs.org>
12542 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
12543 conflicts with gcc's fixincluded version of FOO.h.
12545 * glyphs.h (image_instance_geometry): Remove trailing `,'
12547 2000-06-08 Mike Alexander <mta@arbortext.com>
12549 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
12550 (shove_thread): Don't write the same output twice
12551 (make_ntpipe_output_stream): Increase priority of shove thread
12552 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
12554 (ntpipe_shove_closer): Don't delete the pipe until we're done with
12557 2000-06-12 Ben Wing <ben@xemacs.org>
12559 * s\mingw32.h (sigset):
12560 * s\windowsnt.h (sigset):
12561 rename msw_ to mswindows_ for consistency with general convention.
12563 2000-06-12 Ben Wing <ben@xemacs.org>
12566 * console-msw.c (mswindows_get_console_hwnd):
12567 * console-msw.c (mswindows_ensure_console_allocated):
12568 * console-msw.c (mswindows_hide_console):
12569 * console-msw.c (mswindows_show_console):
12570 * console-msw.c (mswindows_ensure_console_buffered):
12571 * console-msw.c (mswindows_output_console_string):
12572 * console-msw.c (mswindows_windows9x_p):
12574 * device-msw.c (mswindows_get_workspace_coords):
12575 * device-msw.c (mswindows_device_system_metrics):
12576 * dialog-msw.c (mswindows_popup_dialog_box):
12577 * event-msw.c (mswindows_wnd_proc):
12578 * frame-msw.c (mswindows_size_frame_internal):
12579 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
12580 * menubar-msw.c (displayable_menu_item):
12581 * menubar-msw.c (mswindows_char_is_accelerator):
12583 * nt.c (mswindows_sigset):
12584 * nt.c (mswindows_sigrelse):
12585 * nt.c (mswindows_sigpause):
12586 * nt.c (mswindows_raise):
12587 * nt.c (timer_proc):
12589 * ntproc.c (find_child_console):
12590 * ntproc.c (sys_kill):
12592 * print.c (std_handle_out_external):
12593 * process-nt.c (find_child_console):
12594 * process-nt.c (send_signal_the_95_way):
12595 * process-nt.c (ensure_console_window_exists):
12596 * process-nt.c (nt_create_process):
12598 rename msw_ to mswindows_ for consistency with general convention.
12602 include nt.h, not syswindows.h.
12604 * nt.c (mswindows_fstat):
12605 * nt.c (mswindows_stat):
12606 prefix mswindows_ instead of attempting to directly override the
12607 library functions. fix declarations.
12610 include syswindows.h. move some sysdep.h stuff here.
12613 include syswindows.h, not <windows.h>.
12621 * sysdep.c (sys_fstat):
12622 * sysdep.c (sys_stat):
12623 call mswindows versions when appropriate.
12626 move mswin decls to nt.h.
12629 add long comment describing appropriate use of the various windows
12632 2000-06-11 Ben Wing <ben@xemacs.org>
12634 * device-x.c: Correct doc string for sixth arg of x-get-resource.
12636 2000-06-10 Ben Wing <ben@xemacs.org>
12638 * Makefile.in.in (release):
12639 Correction to make sure xemacs.exe always dumped when correct.
12643 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
12645 * buffer.c (set_buffer_internal):
12646 [[[[2]]]]: Remove HAVE_FEP code.
12648 * buffer.c (init_initial_directory):
12652 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
12656 * callproc.c (call_process_cleanup):
12657 * callproc.c (Fold_call_process_internal):
12658 * callproc.c (child_setup):
12659 * callproc.c (getenv_internal):
12660 * callproc.c (init_callproc):
12661 * callproc.c (vars_of_callproc):
12662 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
12663 __CYGWIN32__ -> CYGWIN.
12664 DOS_NT -> WIN32_NATIVE.
12665 Remove MSDOS support/references, converting to WIN32_NATIVE
12667 __MINGW32__ -> MINGW.
12668 Fix windows.h includes.
12669 Remove bogus HAVE_NTGUI.
12675 mswindows_message_outputted added for use in allowing startup
12676 errors on the console to be seen.
12678 * console-msw.c (msw_ensure_console_allocated):
12679 * console-msw.c (msw_output_console_string):
12680 * console-msw.c (DHEADER):
12681 * console-msw.c (DOPAQUE_DATA):
12682 * console-msw.c (DEVENT):
12683 * console-msw.c (DCONS):
12684 * console-msw.c (DCONSCDR):
12685 * console-msw.c (DSTRING):
12686 * console-msw.c (DVECTOR):
12687 * console-msw.c (DSYMBOL):
12688 * console-msw.c (DSYMNAME):
12691 * console-stream.c (stream_init_console):
12692 Fix text/binary problems.
12695 * device-msw.c (mswindows_finish_init_device):
12696 * device-msw.c (mswindows_delete_device):
12699 * device.c (handle_asynch_device_change):
12703 * dgif_lib.c (DGifOpenFileName):
12704 * dgif_lib.c (DGifOpenFileHandle):
12705 * dgif_lib.c (DGifGetLine):
12706 * dgif_lib.c (DGifGetPixel):
12707 Added config.h/lisp.h, fix up includes.
12714 * dired.c (file_name_completion):
12715 * dired.c (Ffile_attributes):
12716 * dired.c (syms_of_dired):
12720 * dumper.c (pdump_file_unmap):
12721 * dumper.c (pdump_load):
12725 * editfns.c (Ftemp_directory):
12726 * editfns.c (user_login_name):
12727 * editfns.c (Fuser_real_login_name):
12728 * editfns.c (get_home_directory):
12731 * elhash.c (finish_marking_weak_hash_tables):
12732 [[[[5]]]]: Fix GCC warnings.
12735 * emacs.c (mswindows_handle_hardware_exceptions):
12736 * emacs.c (make_arg_list_1):
12737 * emacs.c (main_1):
12738 * emacs.c (Fkill_emacs):
12739 * emacs.c (Fdump_emacs):
12741 Fix problems with nested crashes, add long comment.
12743 * event-Xt.c (init_event_Xt_late):
12747 * event-msw.c (mswindows_dde_callback):
12748 * event-msw.c (mswindows_handle_sticky_modifiers):
12749 * event-msw.c (mswindows_wnd_proc):
12753 * events.c (character_to_event):
12757 * fileio.c (Ffile_name_directory):
12758 * fileio.c (Ffile_name_nondirectory):
12759 * fileio.c (directory_file_name):
12760 * fileio.c (Fexpand_file_name):
12761 * fileio.c (Fsubstitute_in_file_name):
12762 * fileio.c (Ffile_name_absolute_p):
12763 * fileio.c (check_executable):
12764 * fileio.c (Ffile_readable_p):
12765 * fileio.c (Ffile_accessible_directory_p):
12766 * fileio.c (Ffile_modes):
12767 * fileio.c (Funix_sync):
12768 * fileio.c (vars_of_fileio):
12771 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
12773 Expand getdefdir defn.
12774 Fix bogus rename() comment.
12776 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
12777 to use standard XEmacs include files, e.g. sysfile.h, rather
12778 than system-specific includes.
12784 * frame.c (vars_of_frame):
12788 * getloadavg.c (getloadavg):
12790 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
12791 (We don't use it elsewhere in the code; just add a comment.)
12798 * glyphs-msw.c (mswindows_resource_instantiate):
12801 * glyphs-x.c (x_native_layout_instantiate):
12804 * gui-msw.c (Fmswindows_shell_execute):
12813 * lread.c (locate_file_in_directory_mapper):
12820 * mem-limits.h (get_lim_data):
12832 * nt.c (rva_to_section):
12833 * nt.c (mswindows_executable_type):
12835 Fix closedir() defn.
12838 [[[[8]]]]: *_OK defs moved to sysfile.h.
12847 * print.c (std_handle_out_external):
12851 * process-nt.c (nt_create_process):
12853 try to fix process quoting somewhat.
12855 * process-unix.c (unix_create_process):
12859 * process.c (vars_of_process):
12866 * realpath.c (xrealpath):
12869 * redisplay-tty.c (init_tty_for_redisplay):
12879 * sheap.c (more_static_core):
12880 * sheap.c (report_sheap_usage):
12884 * signal.c (alarm_signal):
12891 * strftime.c (zone_name):
12894 * symsinit.h (init_sunpro):
12898 commctrl.h not in Cygwin b20.1.
12901 * sysdep.c (endif):
12902 * sysdep.c (sys_subshell):
12903 * sysdep.c (init_baud_rate):
12904 * sysdep.c (emacs_get_tty):
12905 * sysdep.c (emacs_set_tty):
12906 * sysdep.c (tty_init_sys_modes_on_device):
12907 * sysdep.c (init_system_name):
12908 * sysdep.c (sys_open):
12909 * sysdep.c (interruptible_open):
12910 * sysdep.c (sys_fopen):
12911 * sysdep.c (sys_mkdir):
12912 * sysdep.c (sys_rename):
12913 * sysdep.c (get_process_times_1):
12920 * sysdir.h (DIRENTRY_NONEMPTY):
12923 * sysdll.c (dll_init):
12929 added text/binary defs.
12935 * sysproc.h (EDESTADDRREQ):
12936 * sysproc.h (poll_fds_for_input):
12953 Always define WIN32_LEAN_AND_MEAN.
12955 * unexcw.c (unexec):
12959 * unexec.c (copy_text_and_data):
12960 * unexec.c (adjust_lnnoptrs):
12964 * unexnt.c (_start):
12967 2000-06-07 Ben Wing <ben@xemacs.org>
12969 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
12970 was used only as a model. We've long since extracted any useful
12971 logic or code out of this. (I just did an exhaustive search.)
12973 * s\msdos.h: Removed.
12975 * s\windows95.h: Removed.
12977 2000-06-10 Ben Wing <ben@xemacs.org>
12981 Don't use extern with fun defs.
12985 Remove nt\inc include.
12986 Remove getdisk, getdefdir. (The former is unused, the latter
12987 expanded in fileio.h.)
12990 * s\windowsnt.h (WIN32_NATIVE):
12991 * s\windowsnt.h (HAVE_STRCASECMP):
12993 Add long comment about preprocessor changes.
12994 Remove getdisk, getdefdir. (The former is unused, the latter
12995 expanded in fileio.h.)
12997 2000-06-10 Ben Wing <ben@xemacs.org>
13006 Remove bogus/unused NO_SOCK_SIGIO.
13008 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
13010 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
13013 2000-06-04 Mike Sperber <mike@xemacs.org>
13015 * casetab.c (set_case_table): For `set-standard-case-table',
13016 actually deposit the new case tables where the rest of XEmacs can
13019 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
13021 * data.c (Faset): Don't cast XCHAR() to unsigned char.
13023 2000-06-05 Ben Wing <ben@xemacs.org>
13025 * callproc.c (child_setup): Don't do close_load_descs() under
13026 MS Windows. Put in a comment explaining why.
13028 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
13030 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
13031 Toolkit shell" which breaks `kill-compilation' on Windows NT
13032 native, retaining STDERR handling improvements.
13034 2000-06-01 Andreas Jaeger <aj@suse.de>
13036 * s/s390.h: Support for S390, based on a patch by Martin
13037 Schwidefsky <schwidefsky@de.ibm.com>.
13039 2000-05-30 Andy Piper <andy@xemacs.org>
13041 * window.c (allocate_window):
13042 (make_dummy_parent):
13043 (Fset_window_configuration): use new hashtable type.
13045 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
13046 (struct image_instantiator_methods):
13047 (struct Lisp_Image_Instance): make instance geometry signed.
13049 * glyphs.c (instantiate_image_instantiator):
13050 (image_instance_query_geometry):
13051 (image_instance_layout):
13052 (image_instance_layout):
13053 (query_string_geometry):
13054 (text_query_geometry):
13055 (image_instantiate):
13056 (image_instantiate):
13057 (cache_subwindow_instance_in_frame_maybe):
13058 (subwindow_query_geometry): make instance geometry signed.
13060 * glyphs-widget.c (widget_query_geometry):
13062 (button_query_geometry):
13063 (tree_view_query_geometry):
13064 (tab_control_query_geometry):
13065 (layout_query_geometry):
13067 (native_layout_layout): make instance geometry signed.
13069 2000-05-29 Olivier Galibert <galibert@pobox.com>
13071 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
13074 * general.c (syms_of_general): Add Qfull_assoc symbol.
13076 * data.c (finish_marking_weak_lists): Mark full-assoc lists
13078 (decode_weak_list_type): Decode full-assoc type.
13079 (encode_weak_list_type): Encode full-assoc type.
13080 (Fmake_weak_list): Update doc string.
13082 2000-05-30 Andy Piper <andy@xemacs.org>
13084 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
13086 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
13087 (decode_hash_table_weakness): ditto.
13088 (Fhash_table_weakness): ditto.
13089 (Fhash_table_type): ditto.
13090 (finish_marking_weak_hash_tables): ditto.
13091 (hash_table_weakness_validate): ditto.
13092 (syms_of_elhash): ditto.
13094 2000-05-28 Martin Buchholz <martin@xemacs.org>
13096 * XEmacs 21.2.34 is released.
13098 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13100 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
13102 (updating_line_start_cache): Gone.
13103 (regenerate_window): Replace resetting of VERTICAL_CLIP by
13104 generic code to force a minimum of 1 line laid out in the
13107 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13109 * glyphs.c (instantiate_image_instantiator): Check for initialized
13110 height & width no longer special cases IMAGE_NOTHING.
13111 (nothing_instantiate): Set height and width of instance.
13113 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
13115 * unexelf.c (unexec): Search for ".data" section.
13116 Initialize new_data2_offset from old_data_index.
13117 Remove redundant check for ElfW.
13119 2000-05-23 Andy Piper <andy@xemacs.org>
13121 * glyphs.c (get_image_instantiator_governing_domain): allow more
13122 specific domains as the governing domain rather than expecting an
13123 exact match. This fixes problems with layouts.
13125 2000-05-22 Andy Piper <andy@xemacs.org>
13127 * redisplay-output.c (compare_runes): check for non-images
13129 * glyphs.c (set_glyph_dirty_p): ditto.
13130 (update_glyph_cachel_data): ditto.
13132 * glyphs-widget.c (layout_post_instantiate): ditto.
13133 (layout_post_instantiate): ditto.
13135 * event-msw.c (mswindows_wnd_proc): warning removal.
13137 2000-05-12 Craig Lanning <CraigL@DyCon.com>
13139 * s\mingw32.h: Added #undef for CLASH_DETECTION.
13141 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
13143 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
13145 * nt.c (rva_to_section): mingw32 needs rva_to_section.
13146 (mswindows_executable_type): mingw32 now has enough headers for
13149 2000-05-20 Andy Piper <andy@xemacs.org>
13151 * console-msw.c (mswindows_output_last_error): ; -> ,
13153 2000-05-12 Andy Piper <andy@xemacs.org>
13155 * console-msw.c (FROB): compare ints with ints.
13157 2000-05-11 Andy Piper <andy@xemacs.org>
13159 * glyphs-x.c (x_finalize_image_instance): make minimal build
13162 2000-05-20 Ben Wing <ben@xemacs.org>
13165 * event-Xt.c (vars_of_event_Xt):
13166 move modifier-keys-are-sticky to event-stream.c.
13169 * event-msw.c (mswindows_enqueue_mouse_button_event):
13170 * event-msw.c (key_needs_default_processing_p):
13171 * event-msw.c (XEMSW_LCONTROL):
13172 * event-msw.c (mswindows_handle_sticky_modifiers):
13173 * event-msw.c (FROB):
13174 * event-msw.c (clear_sticky_modifiers):
13175 * event-msw.c (output_modifier_keyboard_state):
13176 * event-msw.c (output_alt_keyboard_state):
13177 * event-msw.c (mswindows_wnd_proc):
13178 * event-msw.c (mswindows_modifier_state):
13179 * event-msw.c (emacs_mswindows_handle_magic_event):
13180 implement sticky modifiers.
13183 * event-stream.c (vars_of_event_stream):
13184 move modifier-keys-are-sticky here.
13187 add CHECK_FUNCTION.
13190 implement map-range-table.
13193 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
13195 * redisplay-tty.c (reset_tty_modes):
13196 (tty_redisplay_shutdown): Adjust argument type to
13197 tty_frame_output_end.
13199 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
13201 * eval.c (Fbacktrace): Don't output a line with only right
13204 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
13206 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
13207 (Fpq_reset_poll): Ditto.
13209 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
13211 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
13213 2000-05-16 Ben Wing <ben@xemacs.org>
13216 * buffer.c (dfc_convert_to/from_internal_format):
13217 * buffer.c (reinit_vars_of_buffer):
13218 Fix conversion functions to allow reentrancy.
13221 * console-msw.c (mswindows_output_last_error):
13222 New fun, generally useful -- output a human-readable
13223 version of GetLastError() on the console.
13226 * console-msw.h (struct mswindows_frame):
13227 Changes for DeferWindowPos. Declare mswindows_output_last_error().
13229 * console-stream.c (stream_output_begin):
13230 * console-stream.c (stream_output_end):
13231 * console-stream.c (stream_output_vertical_divider):
13232 * console-stream.c (stream_clear_region):
13233 * console-stream.c (stream_flash):
13234 * console-stream.c (console_type_create_stream):
13235 Delete blank stream methods, not needed.
13237 * console.h (struct console_methods):
13238 Split begin/end methods into window and frame.
13241 * event-msw.c (mswindows_handle_paint):
13242 * event-msw.c (output_alt_keyboard_state):
13243 * event-msw.c (mswindows_wnd_proc):
13244 * event-msw.c (vars_of_event_mswindows):
13245 Comment about problems with ignored-expose.
13246 Define mswindows-debug-events; not really implemented.
13248 * frame-msw.c (mswindows_init_frame_1):
13252 * glyphs-msw.c (begin_defer_window_pos):
13253 * glyphs-msw.c (mswindows_unmap_subwindow):
13254 * glyphs-msw.c (mswindows_map_subwindow):
13255 * glyphs-msw.c (mswindows_resize_subwindow):
13256 Use DeferWindowPos to reduce flashing when mapping/unmapping.
13258 * glyphs.c (make_image_instance_1):
13261 * gutter.c (Fredisplay_gutter_area):
13262 Use new begin/end methods.
13264 * lisp.h (Dynarr_new2):
13268 * redisplay-msw.c (mswindows_frame_output_begin):
13269 * redisplay-msw.c (mswindows_frame_output_end):
13270 * redisplay-msw.c (console_type_create_redisplay_mswindows):
13271 New begin/end methods -- handle DeferWindowPos.
13273 * redisplay-output.c (redisplay_move_cursor):
13274 * redisplay-output.c (redraw_cursor_in_window):
13275 * redisplay-output.c (redisplay_update_line):
13276 * redisplay-output.c (redisplay_output_window):
13277 New begin/end methods.
13280 * redisplay-tty.c (tty_frame_output_begin):
13281 * redisplay-tty.c (tty_frame_output_end):
13282 * redisplay-tty.c (console_type_create_redisplay_tty):
13283 New begin/end methods.
13286 * redisplay-x.c (x_window_output_begin):
13287 * redisplay-x.c (x_window_output_end):
13288 * redisplay-x.c (console_type_create_redisplay_x):
13289 New begin/end methods.
13291 * redisplay.c (redisplay_frame):
13292 * redisplay.c (Fredisplay_echo_area):
13293 New begin/end methods.
13294 use MAYBE_DEVMETH for clear_frame; it may not exist.
13296 * window.h (WINDOW_XFRAME):
13297 WINDOW_XFOO macros -- get locale and decode struct pointer.
13300 2000-05-12 Ben Wing <ben@xemacs.org>
13303 * emacs.c (ensure_no_quitting_from_now_on):
13304 * emacs.c (fatal_error_signal):
13305 * emacs.c (mswindows_handle_hardware_exceptions):
13307 * emacs.c (Fkill_emacs):
13308 * emacs.c (shut_down_emacs):
13309 * emacs.c (assert_failed):
13310 various improvements in fatal error handling.
13313 move preparing_for_armageddon to emacs.c.
13316 declare fatal_error_in_progress.
13319 * print.c (std_handle_out_external):
13320 * print.c (std_handle_out_va):
13321 * print.c (stderr_out):
13322 * print.c (stdout_out):
13323 use console under mswin when no standard output.
13324 don't do code conversion during fatal error.
13326 * scrollbar.c (Fscrollbar_page_up):
13327 * scrollbar.c (Fscrollbar_page_down):
13328 fix missing else. reindent.
13330 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
13334 * glyphs.h (GLYPH_CACHEL_DESCENT):
13335 (GLYPH_CACHEL_DESCENT):
13336 (GLYPH_CACHEL_DESCENT):
13337 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
13338 used in case these are inline functions.
13339 Use more absurd values to error check.
13341 include window.h for error check functions.
13343 2000-05-11 Ben Wing <ben@xemacs.org>
13345 * cmdloop.c (Freally_early_error_handler):
13346 Display message box under windows; otherwise, message will disappear
13347 before it can be viewed.
13350 * console-msw.c (Fmswindows_message_box):
13351 * console-msw.c (FROB):
13352 * console-msw.c (syms_of_console_mswindows):
13353 Define new fun `mswindows-message-box'.
13354 #### I will merge this into `popup-dialog-box'; just give me
13358 * general.c (syms_of_general):
13359 Some new symbols used in `mswindows-message-box'.
13362 * glyphs.c (Fset_image_instance_property):
13363 put warning in this fun.
13366 * glyphs.h (GLYPH_CACHEL_WIDTH):
13367 * glyphs.h (GLYPH_CACHEL_ASCENT):
13368 * glyphs.h (GLYPH_CACHEL):
13369 * glyphs.h (GLYPH_CACHEL_GLYPH):
13370 define error-checking versions to try to catch a bug i've seen --
13371 redisplay gets in an infinite loop because the glyph width of the
13372 continuation glyph is 65535.
13375 Extern message-box stuff.
13377 * window.c (allocate_window):
13378 * window.c (make_dummy_parent):
13379 * window.c (Fset_window_configuration):
13380 Use EQUAL not EQ for subwindow caches to make them work a bit
13381 better. (Something is still very broken.)
13384 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
13386 * glyphs.c (image_instantiate): Suppress gcc warnings.
13387 (Fmake_image_instance): Fix doc string.
13388 * specifier.c (Fmake_specifier): Ditto.
13390 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
13392 * paths.h.in (PATH_LOCK): Removed.
13393 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
13394 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
13396 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
13398 * fns.c (Ffeaturep): Update e-mail address in doc-string.
13399 Document (featurep '(and xemacs 21.02)).
13401 2000-05-09 Ben Wing <ben@xemacs.org>
13403 * buffer.c (complex_vars_of_buffer):
13404 update modeline-format doc.
13407 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
13410 timeline of all released versions of Emacs, for use in creating
13411 authorship comments and in synching up.
13413 * glyphs-widget.c (image_instantiator_buttons):
13414 * glyphs-widget.c (image_instantiator_edit_fields):
13415 * glyphs-widget.c (image_instantiator_combo_box):
13416 * glyphs-widget.c (image_instantiator_scrollbar):
13417 * glyphs-widget.c (image_instantiator_progress_guage):
13418 * glyphs-widget.c (image_instantiator_tree_view):
13419 * glyphs-widget.c (image_instantiator_tab_control):
13420 * glyphs-widget.c (image_instantiator_labels):
13421 * glyphs-widget.c (image_instantiator_layout):
13422 * glyphs-widget.c (image_instantiator_native_layout):
13423 rename decode_domain method to governing_domain.
13426 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
13427 * glyphs.c (add_entry_to_device_ii_format_list):
13428 make sure we don't put an entry more than once into the list.
13429 * glyphs.c (check_instance_cache_mapper):
13430 *************************************************************
13431 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
13433 *************************************************************
13434 * glyphs.c (get_image_instantiator_governing_domain):
13435 clean up, expand on new concept of governing domain.
13436 * glyphs.c (instantiate_image_instantiator):
13437 * glyphs.c (allocate_image_instance):
13438 use governing_domain instead of cache_domain in naming.
13439 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
13440 * glyphs.c (make_image_instance_1):
13441 * glyphs.c (Fmake_image_instance):
13442 allow for any domain (not just device), and process the
13443 governing domain correctly. very big doc fix.
13444 * glyphs.c (Fimage_instance_domain):
13445 new primitive, to retrieve the governing domain of an image instance.
13446 * glyphs.c (image_instantiate):
13447 use new governing_domain stuff. this fixes a crash you could get
13448 by instantiating certain widget glyphs in frame locales. (should
13449 signal an error instead of crashing.)
13450 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
13451 * glyphs.c (Fglyphp): clean up doc.
13452 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
13453 * glyphs.c (syms_of_glyphs):
13454 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
13455 * glyphs.c (image_instantiator_format_create): add some comments about
13457 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
13458 for current-display-table. (Apparently Hrjove implemented in 1998 a
13459 design I wrote up in 1996, but didn't update the doc string.)
13461 * glyphs.h: clean up a doc string.
13462 * glyphs.h (governing_domain):
13463 * glyphs.h (struct image_instantiator_methods):
13464 changes for governing_domain stuff.
13467 * gutter.c (Fgutter_specifier_p):
13468 * gutter.c (Fgutter_size_specifier_p):
13469 * gutter.c (Fgutter_visible_specifier_p):
13471 * objects.c (Fcolor_specifier_p):
13472 * objects.c (Ffont_specifier_p):
13473 * objects.c (Fface_boolean_specifier_p):
13474 doc strings moved to make-*-specifier.
13476 * redisplay.c (add_disp_table_entry_runes_1):
13477 * redisplay.c (generate_fstring_runes):
13478 * redisplay.c (screen):
13479 add random comments and doc strings.
13482 * specifier.c (Fmake_specifier):
13483 major overhaul of this doc string.
13485 * specifier.c (Fvalid_specifier_domain_p):
13486 comment about the bogosity of image instances being domains.
13487 * specifier.c (decode_domain):
13488 now non-static, used in glyphs.c.
13489 * specifier.c (specifier_instance):
13490 comment about the bogosity of image instances being domains.
13491 * specifier.c (Fgeneric_specifier_p):
13492 move doc string to make-generic-specifier.
13493 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
13497 * specifier.h (DOMAIN_FRAME):
13498 * specifier.h (DOMAIN_LIVE_P):
13499 * specifier.h (DOMAIN_XDEVICE):
13501 add comments about problems with these macros.
13502 prototype for decode_domain.
13505 * toolbar.c (Ftoolbar_specifier_p):
13506 move doc string to `make-toolbar-specifier'.
13508 * window.c (window_unmap_subwindows_cache_mapper):
13509 *************************************************************
13510 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
13512 *************************************************************
13514 2000-05-09 Andy Piper <andy@xemacs.org>
13516 * glyphs.h: declare reset_frame_subwindow_instance_cache.
13518 * window.c (Fset_window_configuration): reset the frame subwindow
13519 cache and re-initialize the window subwindow caches.
13521 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
13523 2000-05-09 Ben Wing <ben@xemacs.org>
13525 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
13528 2000-04-26 Mike Woolley <mike@bulsara.com>
13530 * ntheap.c: Changed recreate_heap to limit the amount reserved
13531 for the heap to that which is actually available. Also now
13532 displays a message box (with some dignostics) in the event that
13533 it still can't start.
13535 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
13537 * callproc.c (Fold_call_process_internal): GCPRO path
13539 2000-05-08 Jan Vroonhof <jan@xemacs.org>
13541 Patch by Bill Perry.
13543 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
13544 back data instead of #ifdef.
13545 (Fscrollbar_page_down): ditto.
13547 2000-05-07 Ben Wing <ben@xemacs.org>
13550 Kludge for defining Qmswindows_tstr.
13553 * nt.c (open_input_file):
13554 * nt.c (open_output_file):
13555 * nt.c (rva_to_section):
13556 * nt.c (mswindows_executable_type):
13557 Move all memory-mapped-file routines here (some were in unexnt.c,
13558 which is bad because they are used by process-nt.c, and unexnt
13559 won't be around when portable dumping). Synched the above routines
13563 Removed ifdef'd out bogus code.
13564 Fixed some prototypes.
13566 * nt.h (file_data):
13567 * nt.h (OFFSET_TO_RVA):
13568 * nt.h (RVA_TO_OFFSET):
13569 * nt.h (RVA_TO_PTR):
13570 Moved the memory-mapped-file structures, macros and prototypes
13571 here, to parallel nt.c. ntheap.h should really be removed
13572 entirely, and it's a non-portable-dumper specific file.
13574 * ntheap.h (round_to_next):
13575 Moved the memory-mapped-file structures, macros and prototypes
13578 * ntproc.c (compare_env):
13579 Moved rva_to_section and mswindows_executable_type to nt.c.
13580 Moved compare_env to process-nt.c.
13581 ntproc.c will die, one day.
13583 * ntproc.c (sys_spawnve):
13584 Account for win32_ -> mswindows_.
13587 * process-nt.c (struct nt_process_data):
13588 * process-nt.c (ensure_console_window_exists):
13589 * process-nt.c (compare_env):
13590 * process-nt.c (nt_create_process):
13591 * process-nt.c (nt_kill_process_by_pid):
13592 * process-nt.c (syms_of_process_nt):
13593 * process-nt.c (vars_of_process_nt):
13594 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
13595 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
13596 changes). Eliminate our old `nt-quote-process-args' mechanism.
13597 Synch up nt_create_process with FSF 20.6 sys_spawnve.
13598 Move compare_env here from ntproc.c.
13600 * process.c (Fprocess_send_region):
13601 Takes an optional fourth argument, BUFFER, which should fix some
13602 problems with call-process.
13605 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
13608 Move ICC_BAR_CLASSES to syscommctrl.h.
13609 Add preliminary macros for MSWindows/Mule. More to come.
13612 * unexnt.c (unexec):
13613 open_output_file moved to nt.c.
13616 2000-05-05 Andy Piper <andy@xemacs.org>
13618 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
13619 instance from the frame cache also since GC may catch up too late
13620 to make frame deletion sane.
13622 2000-05-04 Andy Piper <andy@xemacs.org>
13624 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
13625 (x_finalize_image_instance): ungcpro on deletion.
13627 * glyphs.c (image_instantiator_format_create): give pointers a
13628 query geometry method so that the geometry is at least set.
13630 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
13631 initialize layouts if using widgets.
13633 2000-05-03 Andy Piper <andy@xemacs.org>
13635 * nt.c: remove bogus reference to sysmmsystem.h
13637 * gui-x.c (popup_selection_callback): fix no selection abort.
13639 2000-05-02 Andy Piper <andy@xemacs.org>
13641 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
13642 (mswindows_widget_instantiate): ditto.
13644 * glyphs-widget.c (initialize_widget_image_instance): initialize
13645 children correctly.
13646 (widget_instantiate): cope with children and items in the same
13649 * glyphs.c (mark_image_instance): cope with children as a first
13651 (image_instance_equal): ditto.
13652 (image_instance_hash): ditto.
13653 (image_instance_changed): ditto.
13655 2000-04-30 Andy Piper <andy@xemacs.org>
13657 * glyphs.c (subwindow_query_geometry): new function. Return some
13659 (subwindow_instantiate): don't assign dimensions if none have been
13661 (image_instantiator_format_create): add subwindow_query_geometry.
13662 (print_image_instance): cope with layouts as widgets.
13664 2000-04-29 Andy Piper <andy@xemacs.org>
13666 * frame.c (delete_frame_internal): call
13667 free_frame_subwindow_instance_cache so that all subwindows are
13668 finalized before their parent.
13669 (mark_frame): remove subwindow_cachels.
13670 (Fmake_frame): remove subwindow_cachel manipulation.
13671 (allocate_frame_core): subwindow_instance_cache is a weak list.
13672 (delete_frame_internal): set subwindow_instance_cache to nil.
13674 * glyphs-msw.c (mswindows_finalize_image_instance): make double
13676 (mswindows_finalize_image_instance): use the device
13677 not the domain as the domain may have died already.
13679 * glyphs-x.c (x_finalize_image_instance): ditto.
13680 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
13683 * redisplay-output.c (redisplay_unmap_subwindows): update for
13684 subwindow instance cache as a weak list.
13685 (redisplay_unmap_subwindows_maybe): ditto.
13686 (redisplay_unmap_subwindows_except_us): ditto.
13688 * glyphs.c (unmap_subwindow): error checking will check the domain
13689 so don't deal with it here. Don't use cachels anymore.
13690 (map_subwindow): ditto.
13691 (update_subwindow_cachel_data): remove old accessor names.
13692 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
13693 (Fresize_subwindow): don't update cachel.
13694 (mark_subwindow_cachels):
13695 (update_subwindow_cachel_data):
13696 (add_subwindow_cachel):
13697 (get_subwindow_cachel_index):
13698 (update_subwindow_cachel):
13699 (reset_subwindow_cachels):
13700 (mark_subwindow_cachels_as_not_updated): deleted.
13701 (cache_subwindow_instance_in_frame_maybe): new function. Add a
13702 subwindow instance to the frame cache.
13703 (find_matching_subwindow): update for subwindow instance cache as
13705 (update_widget_instances): ditto.
13706 (image_instance_type_to_mask):inlined.
13707 (free_frame_subwindow_instance_cache): new function. finalize all
13708 subwindows that are instantiated.
13710 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
13711 of cachel information.
13712 (IMAGE_INSTANCE_DISPLAY_X):
13713 (IMAGE_INSTANCE_DISPLAY_Y):
13714 (IMAGE_INSTANCE_DISPLAY_WIDTH):
13715 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
13716 (XIMAGE_INSTANCE_DISPLAY_X):
13717 (XIMAGE_INSTANCE_DISPLAY_Y):
13718 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
13719 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
13720 remove subwindow_cachel structure and function references.
13721 (image_instance_type_to_mask): inline from glyphs.c
13723 * redisplay.c (redisplay_frame): remove subwindow_cachel
13726 * frame.h (struct frame): remove subwindow_cachels.
13727 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
13729 * frameslots.h: add subwindow_instance_cache.
13731 * window.c (replace_window): check subwindow cache of replacement.
13732 (window_unmap_subwindows_cache_mapper):
13733 (window_unmap_subwindows): new functions. Unmap all subwindows
13734 cached on this window.
13735 (mark_window_as_deleted): unmap all subwindows.
13737 2000-04-27 Andy Piper <andy@xemacs.org>
13739 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
13741 * glyphs-widget.c (widget_layout): return something.
13742 (layout_layout): return something. Fail if not initialized.
13743 (layout_query_geometry): ditto.
13744 (image_instantiator_native_layout): new function. Initialized the
13745 native layout type.
13746 (widget_instantiate): don't do layout stuff here.
13748 * glyphs.c (instantiate_image_instantiator): reorded calling or
13749 instantiate and post_instantiate with layout in between.
13750 (image_instance_layout): be more selective about deciding whether
13751 the layout has been done or not.
13753 * glyphs.h (struct image_instantiator_methods): return a value
13754 from layout_method.
13756 2000-04-26 Andy Piper <andy@xemacs.org>
13758 * glyphs.c (allocate_image_instance): make initial width and
13759 height unspecified. Set initialized to 0.
13761 * syscommctrl.h new file. Encapsulates commctrl.h.
13763 * syswindows.h new file. Encapsulates windows.h.
13765 * ntplay.c: use new syswindows.h and syscommctrl.h header.
13767 * console-msw.h: ditto.
13769 * redisplay-tty.c (tty_output_display_block): remove layout references.
13771 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
13772 window handle rather than just the frame.
13774 * glyphs.c (mark_image_instance): remove layout references.
13775 (print_image_instance): ditto.
13776 (image_instance_equal): ditto.
13777 (image_instance_hash): ditto.
13778 (decode_image_instance_type): ditto.
13779 (encode_image_instance_type): ditto.
13780 (image_instantiate): ditto.
13781 (allocate_glyph): ditto.
13782 (Fimage_instance_height): ditto.
13783 (Fimage_instance_width): ditto.
13784 (update_subwindow): ditto.
13786 * redisplay-x.c (x_output_display_block): recode for layouts as
13789 * redisplay-output.c (redisplay_output_layout): recode for layouts
13791 (compare_runes): remove layout references.
13793 * redisplay-msw.c (mswindows_output_display_block): recode for
13794 layouts as widgets.
13796 * glyphs-widget.c (image_instantiator_layout): remove
13797 layout_possible_dest_types.
13798 (layout_possible_dest_types): deleted.
13800 * glyphs.h (image_instance_type): remove layout references.
13801 (struct Lisp_Image_Instance): ditto. Add initialized flag.
13802 (IMAGE_INSTANCE_INITIALIZED): new accessor.
13803 (XIMAGE_INSTANCE_INITIALIZED): ditto.
13805 2000-04-25 Andy Piper <andy@xemacs.org>
13807 * glyphs-widget.c (image_instantiator_buttons):
13808 (image_instantiator_edit_fields):
13809 (image_instantiator_combo_box):
13810 (image_instantiator_scrollbar):
13811 (image_instantiator_progress_guage):
13812 (image_instantiator_tree_view):
13813 (image_instantiator_tab_control):
13814 (image_instantiator_labels):
13815 (image_instantiator_layout): call default post_instantiate method.
13816 (widget_post_instantiate): new function. Simply lays out the
13819 * glyphs.h (struct image_instantiator_methods): add
13820 post_instantiate method.
13822 * glyphs.c (instantiate_image_instantiator): add post_instantiate
13825 2000-04-23 Andy Piper <andy@xemacs.org>
13827 * glyphs.h (struct image_instantiator_methods): add
13828 decode_domain_method.
13829 (struct Lisp_Image_Instance): remove subwindow frame - it can be
13830 derived from the domain.
13831 (IMAGE_INSTANCE_FRAME): new accessor.
13832 (XIMAGE_INSTANCE_FRAME): ditto.
13834 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
13835 instead of _SUBWINDOW_FRAME.
13836 (finalize_image_instance): ditto.
13837 (Fimage_instance_foreground): ditto.
13838 (Fimage_instance_background): ditto.
13839 (image_instantiate): ditto.
13840 (update_subwindow_cachel): ditto.
13841 (update_subwindow): ditto.
13842 (unmap_subwindow): ditto.
13843 (map_subwindow): ditto
13844 (subwindow_instantiate): ditto.
13845 * glyphs-msw.c (mswindows_update_widget): ditto.
13846 (mswindows_progress_gauge_instantiate): ditto.
13847 (mswindows_tab_control_update): ditto.
13848 * glyphs-x.c (x_update_widget): ditto.
13849 (x_widget_instantiate): ditto.
13850 (x_tab_control_instantiate): ditto.
13851 (x_tab_control_update): ditto.
13852 * event-msw.c (mswindows_wnd_proc): ditto
13854 * glyphs-widget.c (image_instantiator_layout): use
13855 subwindow_decode_domain.
13856 (image_instantiator_buttons): ditto.
13857 (image_instantiator_edit_fields): ditto.
13858 (image_instantiator_combo_box): ditto.
13859 (image_instantiator_scrollbar): ditto.
13860 (image_instantiator_progress_guage): ditto.
13861 (image_instantiator_tree_view): ditto.
13862 (image_instantiator_tab_control): ditto.
13863 (image_instantiator_labels): ditto.
13864 (image_instantiator_layout): ditto.
13866 * glyphs.c: add instance error checking to many functions.
13867 (instantiate_image_instantiator): decode device from cache_domain.
13868 (image_instantiate): partially rewrite by using
13869 decode_image_instantiator_domain to determine what domain the
13870 instance needs to be cached in.
13871 (decode_image_instantiator_domain): new function. Determine what
13872 domain the image needs to be cached in.
13873 (check_window_subwindow_cache): new error checking function.
13874 (check_instance_cache_mapper): ditto.
13875 (check_image_instance_structure): ditto.
13876 (subwindow_decode_domain): new function. Encodes a window as a
13877 subwindow's cache domain.
13878 (image_instantiator_format_create): use it for text and
13881 2000-04-21 Andy Piper <andy@xemacs.org>
13883 * glyphs.c (image_instance_device): new function.
13884 (image_instance_frame): new function.
13885 (image_instance_window): new function.
13886 (image_instance_live_p): new function.
13888 * window.c (mark_window_as_deleted): reset the subwindow_instance_
13891 * glyphs.h (struct Lisp_Image_Instance): device->domain.
13892 (IMAGE_INSTANCE_DOMAIN): new accessor.
13893 (XIMAGE_INSTANCE_DOMAIN): ditto.
13895 * glyphs-x.c (x_finalize_image_instance): device->domain.
13897 * glyphs-msw.c (init_image_instance_geometry): device->domain.
13898 (mswindows_finalize_image_instance): ditto.
13900 * glyphs-eimage.c (jpeg_instantiate): device->domain.
13901 (gif_instantiate): ditto.
13902 (png_instantiate): ditto.
13903 (tiff_instantiate): ditto.
13905 * glyphs.c (instantiate_image_instantiator): use domain rather
13907 (mark_image_instance): device -> domain.
13908 (print_image_instance): ditto.
13909 (finalize_image_instance): ditto.
13910 (image_instance_equal): ditto.
13911 (allocate_image_instance): ditto.
13912 (Fcolorize_image_instance): ditto.
13913 (query_string_geometry): ditto.
13914 (image_instantiate): ditto
13915 (query_string_font): ditto.
13916 (image_instantiate): ditto.
13917 (update_subwindow): ditto.
13918 (unmap_subwindow): ditto.
13919 (map_subwindow): ditto.
13920 (subwindow_instantiate): ditto.
13922 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
13923 (DOMAIN_FRAME): ditto.
13924 (DOMAIN_WINDOW): ditto.
13925 (DOMAIN_LIVE_P): ditto.
13926 (XDOMAIN_DEVICE): ditto.
13927 (XDOMAIN_FRAME): ditto.
13928 (XDOMAIN_WINDOW): ditto.
13930 * specifier.c (Fvalid_specifier_domain_p): add image instances as
13931 a valid specifier domain.
13933 2000-04-19 Andy Piper <andy@xemacs.org>
13935 * glyphs-widget.c (syms_of_glyphs_widget): remove
13936 widget-callback-current-channel.
13937 (vars_of_glyphs_widget): ditto.
13940 * gui.c (get_gui_callback): revert to previous behaviour.
13942 2000-04-18 Andy Piper <andy@xemacs.org>
13944 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
13945 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
13946 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
13948 * glyphs.c (image_instance_equal): add margin_width.
13949 (image_instance_hash): ditto.
13951 * glyphs-widget.c (widget_instantiate): deal with margin-width.
13952 (layout_query_geometry): ditto.
13953 (layout_layout): ditto.
13954 (syms_of_glyphs_widget): add margin-width.
13955 (image_instantiator_layout): allow margin-width.
13957 * glyphs.c (update_widget_instances): make a normal function.
13958 (syms_of_glyphs): remove Qupdate_widget_instances.
13961 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
13962 so that we don't corrupt ideas about the last event or
13963 command. Remove widget-callback-current-channel fiddling.
13964 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
13966 2000-05-01 Martin Buchholz <martin@xemacs.org>
13968 * XEmacs 21.2.33 is released.
13970 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
13972 * make-src-depend: Allow dots in header file name.
13974 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
13976 * mule-charset.h (struct charset_lookup): Add
13977 next_allocated_1_byte_leading_byte and
13978 next_allocated_2_byte_leading_byte.
13979 * mule-charset.c: Move above two variables so that those values
13982 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
13984 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
13985 when string length is zero.
13986 (find_charsets_in_emchar_string): Ditto.
13988 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
13990 * lisp.h: extern Qdialog and Qmenubar.
13992 * gui-x.c: added events.h.
13993 also fixed typo which made the file uncompilable.
13995 * general.c: Added Qmenubar and Qdialog
13997 2000-04-28 Ben Wing <ben@xemacs.org>
13999 * frame-msw.c (mswindows_init_frame_1):
14000 * frame-msw.c (mswindows_mark_frame):
14001 * event-msw.c (mswindows_enqueue_dispatch_event):
14003 * console-msw.h (struct mswindows_frame):
14004 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
14005 there are now three hash tables for callbacks.
14006 mswindows_enqueue_dispatch_event is no longer static.
14008 * dialog-x.c (maybe_run_dbox_text_callback):
14009 * dialog-x.c (dbox_descriptor_to_widget_value):
14010 switch to new cons3 form for callbacks.
14012 * glyphs-msw.c (mswindows_register_gui_item):
14013 * glyphs-msw.c (mswindows_widget_instantiate):
14014 * glyphs-msw.c (add_tree_item):
14015 * glyphs-msw.c (add_tab_item):
14016 new image instance parameter, so it can be passed to callback-ex.
14017 respect :callback-ex as well as :callback.
14019 * glyphs-widget.c (VALID_GUI_KEYWORDS):
14022 * glyphs.c (print_image_instance):
14023 prettify, e.g. now prints widget type.
14026 certain funs have new image instance parameter.
14029 * gui.c (get_gui_callback):
14030 * gui.c (gui_item_add_keyval_pair):
14031 * gui.c (gui_item_init):
14032 * gui.c (gui_add_item_keywords_to_plist):
14033 * gui.c (mark_gui_item):
14034 * gui.c (gui_item_hash):
14035 * gui.c (gui_item_equal):
14036 * gui.c (copy_gui_item):
14037 * gui.c (syms_of_gui):
14038 recognize callback-ex in a number of places.
14039 also, fix the annoying "can't get out of yes-no dialog" bug.
14042 * gui.h (struct Lisp_Gui_Item):
14043 recognize callback-ex in a number of places.
14045 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
14046 new parameter in button_item_to_widget_value.
14048 * glyphs-x.c (x_update_widget):
14049 * glyphs-x.c (x_button_instantiate):
14050 * glyphs-x.c (x_button_update):
14051 * glyphs-x.c (x_progress_gauge_instantiate):
14052 * glyphs-x.c (x_edit_field_instantiate):
14053 * glyphs-x.c (x_combo_box_instantiate):
14054 * glyphs-x.c (x_tab_control_instantiate):
14055 * glyphs-x.c (x_label_instantiate):
14056 new image instance parameter in various places.
14059 * event-Xt.c (enqueue_Xt_dispatch_event):
14060 this fun gets exported.
14063 * gui-msw.c (mswindows_handle_gui_wm_command):
14064 handle both :callback and :callback-ex, and generate our own
14065 event because it's one of the callback-ex arguments.
14068 * gui-x.c (popup_selection_callback):
14069 handle both :callback and :callback-ex, and generate our own
14070 event because it's one of the callback-ex arguments.
14071 * gui-x.c (button_item_to_widget_value):
14072 * gui-x.c (gui_items_to_widget_values_1):
14073 * gui-x.c (gui_item_children_to_widget_values):
14074 * gui-x.c (gui_items_to_widget_values):
14075 new image instance parameter in various places.
14077 * fns.c (Freplace_list):
14078 fix small typo in doc string.
14081 declare enqueue_Xt_dispatch_event.
14083 2000-04-28 Ben Wing <ben@xemacs.org>
14086 * buffer.c (Frecord_buffer):
14087 * buffer.c (syms_of_buffer):
14088 delete record-buffer-hook.
14091 * fns.c (Freplace_list):
14092 * fns.c (syms_of_fns):
14093 new primitive replace-list.
14096 slot for old buffer-alist.
14099 exfun replace-list.
14102 * redisplay.c (redisplay_frame):
14103 * redisplay.c (syms_of_redisplay):
14104 * redisplay.c (vars_of_redisplay):
14105 new hook buffer-list-changed-hook.
14108 2000-04-27 Ben Wing <ben@xemacs.org>
14110 * extents.h: extern in_modeline_generation.
14112 * redisplay.c (generate_formatted_string_db): set
14113 in_modeline_generation.
14115 * extents.c (extent_changed_for_redisplay): don't mark redisplay
14116 flags if in modeline generation. otherwise frame-modified-tick
14117 is ticked far too often.
14118 Declare in_modeline_generation.
14120 2000-04-26 Ben Wing <ben@xemacs.org>
14122 * emacs.c (vars_of_emacs): document quick-build "error-checking"
14124 (vars_of_emacs): add quick-build as an error-checking option.
14125 A bit kludgy, but there doesn't seem much point in creating
14126 a real var for this.
14128 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
14130 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
14132 * redisplay.h (struct display_line): Add a new variable,
14135 * redisplay.c (create_text_block): Set dl->line_continuation if
14136 the line continues.
14137 (create_string_text_block): Ditto.
14138 (regenerate_window_incrementally): Use line_continuation instead
14139 of searching continuation glyph.
14140 (add_margin_runes): Call add_glyph_rune.
14141 (add_glyph_rune): Handle margin glyph.
14143 2000-04-20 Martin Buchholz <martin@xemacs.org>
14145 * filelock.c (fill_in_lock_file_name):
14147 Check for IS_ANY_SEP instead of '/'.
14149 Avoid generating gratuitous garbage. Call user_login_name() directly.
14150 Never check errno without first seeing that system call failed.
14151 (unlock_file): Add GCPRO.
14152 (Flock_buffer): Fix docstring.
14153 (Ffile_locked_p): Fix docstring. Add GCPRO.
14155 2000-04-19 Martin Buchholz <martin@xemacs.org>
14157 * sysdep.c (get_pty_max_bytes):
14158 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
14159 strings longer than 252 bytes.
14161 * md5.c: Unconditionally include ANSI header <limits.h>
14163 * glyphs-x.c (convert_EImage_to_XImage):
14164 * lisp-union.h (union Lisp_Object):
14165 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
14167 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
14169 * filelock.c (current_lock_owner): Remove unused variable o, p.
14171 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
14173 * callint.c: Remove multiply defined symbol Qlet
14174 (syms_of_callint): ditto.
14176 2000-04-14 Andy Piper <andy@xemacs.org>
14178 * general.c (syms_of_general): add last-command, this-command, let
14181 * lisp.h: declare various symbols.
14183 * glyphs.h: declare Qwidget_callback_current_channel;
14185 * glyphs-widget.c (syms_of_glyphs_widget): add
14186 Qgui_callback_current_channel.
14187 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
14189 * gui-msw.c (mswindows_handle_gui_wm_command): bind
14190 widget-callback-current-channel when invoking the interactive
14191 arg. Also bind last-command and next-command when invoking the
14193 * gui-x.c (popup_selection_callback): ditto.
14195 * gui.c (get_gui_callback): massage args so that we are always
14196 calling eval. This allows us to add our own variable bindings
14199 * glyphs-x.c (x_button_instantiate): use
14200 gui_items_to_widget_values since this is GC safe.
14201 (x_progress_gauge_instantiate): ditto.
14202 (x_edit_field_instantiate): ditto.
14203 (x_label_instantiate): ditto.
14205 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
14206 (emacs_Xt_event_widget_focus_out): new function
14207 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
14209 (emacs_Xt_event_add_widget_actions): new function. add focus
14210 functions as actions.
14211 (init_event_Xt_late): use it.
14213 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
14215 * event-stream.c (Fdispatch_event): Doc fix.
14217 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
14219 * postgresql.c: Remove all references to PQsetenv*.
14221 * postgresql.h: Remove references to PGsetenvHandler object.
14222 * lrecord.h (lrecord_type): Ditto.
14224 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14226 * glyphs-msw.h (struct mswindows_image_instance_data): Added
14227 real_heigh and real_width members, and accessor macros for these.
14229 * glyphs-msw.c (init_image_instance_geometry): New function.
14230 (init_image_instance_from_dibitmap): Use it.
14231 (mswindows_resource_instantiate): Use it.
14232 (init_image_instance_from_xbm_inline): Use it.
14233 (mswindows_initialize_image_instance_mask): Use real bitmap
14235 (mswindows_create_resized_bitmap): Ditto.
14236 (mswindows_create_resized_mask): Ditto.
14238 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
14239 and bitmap to their surface size.
14241 2000-04-11 Jan Vroonhof <jan@xemacs.org>
14243 * process-unix.c (unix_send_process): Guard against process MIA
14244 after Faccept_process_output.
14246 2000-04-11 Ben Wing <ben@xemacs.org>
14248 * eval.c (unbind_to_hairy): fix brokenness introduced by
14249 nanosecond speed improvements.
14251 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
14253 * sunplay.c (init_device): To play sounds correctly, the device
14254 apparently needs to be initialized at least once by XEmacs. Make
14257 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
14259 * redisplay.c (add_margin_runes): Add text image glyph
14262 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
14264 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
14265 gcc is newer than 2.5.
14267 2000-04-06 Colin Rafferty <colin@xemacs.org>
14269 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
14271 * fns.c (size_bit_vector):
14272 * alloc.c (size_vector):
14273 (make_vector_internal):
14274 (make_bit_vector_internal):
14275 (sweep_bit_vectors_1):
14276 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
14278 2000-04-06 Andy Piper <andy@xemacs.org>
14280 * gmalloc.c (malloc): undo previous change.
14285 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
14287 * line-number.c (buffer_line_number): Revert to former version.
14289 2000-04-06 Andy Piper <andy@xemacs.org>
14291 * gmalloc.c (malloc): add error checking.
14296 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
14297 button_item_to_widget_value arg.
14299 * glyphs-x.c (x_button_instantiate): add extra
14300 button_item_to_widget_value arg.
14301 (x_progress_gauge_instantiate): ditto.
14302 (x_edit_field_instantiate): ditto.
14303 (x_label_instantiate): ditto.
14305 * gui-x.c (gui_items_to_widget_values_1): add extra
14306 button_item_to_widget_value arg.
14307 (button_item_to_widget_value): add extra menu_item_p arg.
14309 * gui-x.h: change signature of button_item_to_widget_value.
14311 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
14312 button_item_to_widget_value arg.
14314 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
14316 * buffer.h (struct buffer): auto_save_modified should be long.
14318 2000-04-05 Andy Piper <andy@xemacs.org>
14320 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
14322 (button_query_geometry): give a little more room so that athena
14325 2000-04-05 Andy Piper <andy@xemacs.org>
14327 * faces.c (complex_vars_of_faces): The widget face should inherit
14328 the font of the gui-element face.
14330 2000-04-04 Andy Piper <andy@xemacs.org>
14332 * glyphs-x.c (x_button_update): new function. unconditionally
14333 update a button's state when the instance is dirty.
14334 (image_instantiator_format_create_glyphs_x): add x_button_update.
14335 (x_widget_instantiate): remove old resize cruft.
14337 2000-04-02 Andy Piper <andy@xemacs.org>
14339 * frame.c (change_frame_size_1): The introduction of gutters means
14340 that we need to allow 0 as a potential frame dimension.
14342 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
14344 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
14345 image glyph if allow_cursor.
14346 (add_hscroll_rune): Don't allow cursor to border glyph.
14347 (create_text_block): Ditto.
14349 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
14350 text not in buffer.
14351 (redisplay_output_layout): Call ensure_face_cachel_complete for
14355 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
14357 * redisplay.c (add_glyph_rune): Adding text image as text runes.
14359 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
14362 * redisplay-tty.c (tty_output_display_block): Delete the routine
14363 for text image glyph
14364 * redisplay-x.c (x_output_display_block): ditto
14365 * redisplay-msw.c (mswindows_output_display_block): ditto
14367 2000-02-02 Mike Alexander <mta@arbortext.com>
14369 Note: Some of these were committed by accident as part of other
14372 * regex.c (regex_compile): Avoid compiler warnings.
14374 * ntproc.c (sys_spawnve): Avoid compiler warnings.
14376 * nt.h: Declare term_ntproc correctly.
14378 * nt.c: Remove incorrect declaration of get_home_directory which
14379 is declared correctly in lisp.h.
14381 * keymap.c (get_keyelt): Avoid compiler warnings.
14382 (raw_lookup_key_mapper): Avoid compiler warnings.
14384 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
14386 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
14388 * filemode.c (mode_string): Avoid compiler warnings.
14390 * file-coding.c (Fcoding_system_aliasee): Add return statement to
14393 * events-mod.h: Undef some things that winuser.h defines differently.
14395 * data.c (Faset): Avoid compiler warnings.
14397 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
14399 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14401 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
14402 Fall through to simple beep on error.
14403 Replace "extern" by real header file.
14405 * linuxplay.c: Use nativesound.h
14406 (play_sound_data): Return error code. Be less verbose on error.
14408 * sunplay.c: Use nativesound.h
14409 (play_sound_data): Return error code. Be less verbose on error.
14411 * ntplay.c: Use nativesound.h
14412 (play_sound_data): Return fake error code
14414 * sgiplay.c: Use nativesound.h
14415 (play_sound_data): Return error code
14417 * hpplay.c: Use nativesound.h, partially implement
14418 new error code. Break compilation until finished.
14419 (play_sound_data): error code.
14421 * nativesound.h (play_sound_file):
14422 (play_sound_data): Prototype in new header.
14424 2000-03-31 Andy Piper <andy@xemacs.org>
14426 * glyphs-widget.c: (button_query_geometry): new function. Adjust
14427 for toggle and radio buttons.
14428 (image_instantiator_buttons): use it.
14430 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14432 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
14433 (x_update_horizontal_scrollbar_callback): Return if no mirror was
14434 found. Scrollbar event probably belonged to some old config.
14436 2000-03-31 Andy Piper <andy@xemacs.org>
14438 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
14440 (initialize_widget_image_instance): default layout to
14441 LAYOUT_HORIZONTAL rather than 0.
14442 (widget_instantiate): reverse the item list at the end rather than
14444 (layout_layout): re-code for the border text at the front of the
14445 item list rather than at the end.
14446 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
14447 provided by the user.
14448 (widget_query_geometry): comment.
14450 2000-03-30 Andy Piper <andy@xemacs.org>
14452 * glyphs-widget.c (image_instantiator_layout): allow standard
14453 widget keywords in layouts.
14455 * gutter.c (output_gutter): cope with nil gutter contents.
14457 * frame.c (Fset_frame_properties): add gutter docs.
14459 2000-03-29 Andy Piper <andy@xemacs.org>
14461 * toolbar-msw.c (TBSTYLE_FLAT): add.
14462 (mswindows_output_toolbar): minor fiddling.
14464 2000-03-29 Andy Piper <andy@xemacs.org>
14466 * gutter.c (output_gutter): force gutter size recalculation if
14467 what we are trying to display won't fit.
14468 (update_gutter_geometry): new function. A per-gutter version of
14469 update_frame_gutter_geometry.
14470 (update_frame_gutter_geometry): use it.
14471 (redraw_exposed_gutter): add extra debugging output.
14473 2000-03-28 Mike Alexander <mta@arbortext.com>
14475 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
14476 (pdump_file_unmap): Implement it on Windows
14477 (pdump_file_get): Save alocated handles for pdump_file_unmap
14479 2000-03-28 Andy Piper <andy@xemacs.org>
14481 * gui.c (get_gui_callback): treat Quit specially.
14483 2000-03-27 Andy Piper <andy@xemacs.org>
14485 * glyphs.c (image_instantiate): be careful to check in the same
14488 2000-03-27 Didier Verna <didier@xemacs.org>
14490 * config.h.in: define the proper SMART_INCLUDE macro.
14491 handle renaming of `foo_h_path' to `foo_h_file'.
14493 * database.c: ditto.
14497 * linuxplay.c: ditto.
14499 * terminfo.c: ditto.
14501 * tooltalk.h: ditto.
14503 2000-03-27 Andy Piper <andy@xemacs.org>
14505 * glyphs-msw.c (mswindows_update_widget): make sure the widget
14506 gets updated whenever the face might have changed.
14508 2000-03-26 Mike Alexander <mta@arbortext.com>
14510 * dumper.c (pdump_resource_free): Fix the comment.
14512 2000-03-21 Olivier Galibert <galibert@pobox.com>
14514 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
14516 2000-03-22 Mike Alexander <mta@arbortext.com>
14518 * dumper.c: Include Windows headers on Windows
14519 (pdump_resource_free): Add a body to the function
14520 (pdump_load): exe_name -> exe_path and add some comments.
14522 2000-03-25 Mike Alexander <mta@arbortext.com>
14524 * gui.c (copy_gui_item_tree): Return a value in all cases
14526 2000-03-21 Didier Verna <didier@xemacs.org>
14528 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
14530 (SMART_INCLUDE): new macro.
14531 (POSTGRES_INCLUDE): new macro to include postgresql headers from
14532 the proper location.
14534 * postgresql.c: use it.
14538 2000-03-24 Andy Piper <andy@xemacs.org>
14540 * gutter.c (redraw_exposed_gutters): must be "in display" when we
14543 2000-03-24 Andy Piper <andy@xemacs.org>
14545 * redisplay-output.c (compare_runes): use image_instance_changed
14546 to detect changes. Do not depend on glyphs_changed, only depend on
14548 (redisplay_output_layout): add debug messages.
14549 (compare_runes): ditto.
14551 * glyphs.h: declare new functions.
14552 (struct Lisp_Image_Instance): remove percent and associated
14555 * gui.h: declare new copying functions.
14557 * gui.c (copy_gui_item_tree): new function.
14558 (copy_gui_item): new function.
14559 (gui_item_id_hash): revert to standard hash.
14560 (gui_item_hash): ditto.
14561 (gui_item_hash_internal): deleted.
14562 (mark_gui_item): mark value.
14563 (gui_item_add_keyval_pair): add value.
14564 (gui_item_init): ditto.
14565 (gui_add_item_keywords_to_plist): ditto.
14566 (gui_item_equal): ditto.
14567 (syms_of_gui): add Q_value.
14569 * glyphs-x.c (x_progress_gauge_update): use pending items and
14570 value for setting the state.
14571 (x_update_widget): don't set items from pending here.
14573 * glyphs-widget.c (update_widget): update items here.
14574 (progress_gauge_set_property): use items for storing value. Put
14575 new value in pending items.
14577 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
14578 items for new value. Convert percent -> value.
14579 (mswindows_tab_control_update): don't update items here.
14581 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
14582 (update_subwindow): ditto.
14583 (image_instance_changed): new function. Compare hash values and
14584 past and present widget items.
14585 (image_instantiate): We more careful about where we instantiate
14587 (image_instantiate): add error checking.
14589 * gutter.c (syms_of_gutter): use -hook.
14591 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
14593 * console-tty.c (Fset_console_tty_input_coding_system): Use
14595 (Fset_console_tty_output_coding_system): Use Qterminal.
14596 (tty_init_console): Use Qkeyboard and Qterminal.
14598 2000-03-21 Ben Wing <ben@xemacs.org>
14600 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
14601 From Mike Alexander <mta@arbortext.com>.
14603 2000-03-21 Ben Wing <ben@xemacs.org>
14605 * event-msw.c (mswindows_need_event): Horrible kludge to fix
14606 process brokenness. Proper implementation to come.
14608 Rename call-process-internal to old-call-process-internal.
14609 New impl. in process.el.
14611 2000-03-21 Martin Buchholz <martin@xemacs.org>
14613 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
14615 2000-03-20 Andy Piper <andy@xemacs.org>
14617 * glyphs.c (full_list_hash): make hashes of the same elements in
14618 different orders return different values.
14620 2000-03-20 Martin Buchholz <martin@xemacs.org>
14622 * XEmacs 21.2.32 is released.
14624 2000-03-20 Martin Buchholz <martin@xemacs.org>
14626 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
14627 (DFC_MALLOC_USE_CONVERTED_DATA):
14628 Add aliasing-safe casts to allow use with char* or unsigned char*
14631 * eldap.c (Fldap_open):
14632 (Fldap_search_basic):
14635 Make C++-compilable.
14636 Make sure GCPRO'ed variables are initialized.
14637 Use temp variables to avoid repeated calls to Flength.
14639 2000-03-16 Martin Buchholz <martin@xemacs.org>
14642 Make sure PATH_MAX is always defined.
14643 Include limits.h for PATH_MAX.
14644 Deprecate use of MAXPATHLEN.
14646 2000-03-10 Martin Buchholz <martin@xemacs.org>
14648 * emacs.c: Add reinit_vars_of_fileio.
14649 * symsinit.h: Add reinit_vars_of_fileio.
14650 * fileio.c (reinit_vars_of_fileio): New.
14651 * fileio.c (Fmake_temp_name):
14652 Initialize temp_name random number from microseconds to make
14653 collisions even less likely. Initialize always at process startup
14654 time. (make-temp-name) used to return the same file name twice in
14656 Random stylistic fiddling.
14659 2000-03-20 Andy Piper <andy@xemacs.org>
14661 * glyphs.c (image_instantiate): allow text glyphs to be
14662 instantiated in the minibuffer window.
14664 2000-03-19 Andy Piper <andy@xemacs.org>
14666 * glyphs.c (image_instance_hash): be careful about which items we
14669 * glyphs-widget.c (tab_control_set_property): record into pending
14670 items rather than the actual items.
14672 * glyphs-x.c (x_update_widget): use pending items to update with.
14674 * glyphs-msw.c (mswindows_tab_control_update): use pending items
14677 * glyphs.c (mark_image_instance): mark pending items.
14679 * window.c (Fset_window_configuration): record the buffer.
14680 (Fselect_window): totally revert previous change which breaks many
14683 2000-03-18 Andy Piper <andy@xemacs.org>
14685 * glyphs-msw.c (mswindows_tab_control_update): force selected
14688 * glyphs.c (image_instantiate): don't allow the minibuffer as a
14689 window domain cache, otherwise we get inconsistencies at
14690 startup. There is something fishy at startup which can lead to the
14691 minibuffer being the selected window when the gutter content is
14694 * gui.c (parse_gui_item_tree_list): add probably unnecessary
14696 (parse_gui_item_tree_children): ditto.
14697 (parse_gui_item_tree_item): ditto.
14699 * glyphs.c (Fupdate_widget_instances): return something.
14701 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
14703 * window.c (Fselect_window): Undo 2000-03-17 change.
14705 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
14707 * postgresql.c (Fpq_setenv): Remove this turkey when linking
14708 against v7.0 libraries. Insta-coredump city until the postgres
14711 2000-03-17 Andy Piper <andy@xemacs.org>
14713 * faces.c (complex_vars_of_faces): don't give the widget face an
14714 inherited background pixmap.
14716 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
14719 * event-stream.c (Fdispatch_non_command_events): return something.
14721 * gutter.c (output_gutter): use widget face.
14722 (clear_gutter): ditto.
14724 * NEWS: adjust again.
14726 * window.c (Fselect_window): make sure this runs to completion to
14727 avoid oddities with Fset_window_configuration.
14728 (Fcurrent_window_configuration): in general do not save the
14729 minibuffer as the selected window.
14731 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
14733 2000-03-16 Olivier Galibert <galibert@pobox.com>
14735 * emacs.c (Frunning_temacs_p): Revert previous patch.
14736 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
14738 2000-03-16 Andy Piper <andy@xemacs.org>
14740 * glyphs-x.c (x_tab_control_update): if no widget values then
14743 * NEWS: update for new features.
14745 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
14746 synthetic event to the native system.
14747 (reinit_vars_of_event_Xt): set force_event_pending to
14748 emacs_Xt_force_event_pending.
14750 * events.h (struct event_stream): add force_event_pending.
14752 * specifier.c (recompute_one_cached_specifier_in_window): add
14755 * redisplay.c (redisplay_frame): don't call
14756 update_frame_subwindows. Reset subwindow cachels when
14757 subwindows_changed, removing this was an optimization too far.
14759 * redisplay-output.c (compare_runes): reorganize so that we catch
14760 glyph changes when we want them. Set optimize_output when this
14761 would help layouts.
14762 (redisplay_output_layout): remove frame_really_changed, use
14763 optimize_output instead.
14765 * redisplay-msw.c (mswindows_output_display_block): reset
14766 optimize_output after outputting a glyph.
14767 * redisplay-x.c (x_output_display_block): ditto.
14768 * redisplay-tty.c (tty_output_display_block): ditto.
14770 * gutter.c: (specifier_vars_of_gutter): use new spec changed
14772 (gutter_specs_changed): do specific gutter positions.
14773 (top_gutter_specs_changed): new function. Only update the
14774 specified gutter specs.
14775 (bottom_gutter_specs_changed): ditto.
14776 (left_gutter_specs_changed): ditto.
14777 (right_gutter_specs_changed): ditto.
14779 * gui.c (gui_item_hash_internal): new function, does a real hash.
14780 (gui_item_id_hash): use it.
14781 (gui_item_hash): hash the eval'ed gui_item.
14783 * gui-x.c (popup_selection_callback): send an eval event to call
14784 Fupdate_widget_instances.
14786 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
14787 to call Fupdate_widget_instances.
14789 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
14790 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
14792 * glyphs.c: (update_frame_subwindows): deleted.
14793 (Fupdate_widget_instances): new function for updating the dirty
14794 state of widgets that might have changed.
14795 (syms_of_glyphs): add Qupdate_widget_instances.
14796 (full_list_hash): hash a list completely.
14797 (image_instance_hash): use it for items and properties.
14799 * frame-msw.c (mswindows_size_frame_internal): remove unused
14802 * faces.h (struct face_cachel): fix comment.
14804 * event-stream.c (Fdispatch_non_command_events): new
14805 function. Process non-command events, forcing an event cycle
14807 (syms_of_event_stream): declare.
14808 (event_stream_force_event_pending): new function. Force an event
14809 on the native event queue so that an event cycle will occur next
14813 (struct ntpipe_shove_stream):
14814 (mswindows_enqueue_dispatch_event):
14815 (mswindows_dequeue_dispatch_event):
14816 (mswindows_cancel_dispatch_event):
14817 (mswindows_pump_outstanding_events):
14818 (mswindows_drain_windows_queue):
14819 (mswindows_handle_paint):
14820 (mswindows_wnd_proc):
14821 (mswindows_key_to_emacs_keysym):
14822 (get_process_input_waitable):
14823 (emacs_mswindows_delete_stream_pair): re-indent file.
14824 (mswindows_need_event): do not process further fds if the windows
14825 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
14826 fixes the 100% cpu problem.
14827 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
14829 2000-03-15 Olivier Galibert <galibert@pobox.com>
14835 * emacs.c: Moved dump file searching to dumper.c.
14836 (Frunning_temacs_p): Fixed.
14838 * alloc.c: Moved everything pdump-related to dumper.c. Removed
14839 last_lrecord_type_index_assigned.
14841 2000-02-20 Olivier Galibert <galibert@pobox.com>
14843 * symsinit.h: Added reinit parameter to init_console_stream
14846 * lisp.h: Added file parameter to pdump_load declaration.
14848 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
14849 support. Added dump file searching.
14851 * config.h.in: Added EMACS_PROGNAME.
14853 * console-stream.c (init_console_stream): Fix reinitialisation
14854 when running from temacs.
14856 * alloc.c (pdump): Add id support.
14857 (pdump_load): Add file parameter and signature/id support.
14859 * Makefile.in.in: Add full pdump support.
14861 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
14863 * postgresql.c: Update documentation to reflect latest code
14865 (print_result): Show tuple counts in printed representation when
14867 (Fpq_put_nbytes): MULE-ize.
14868 (Fpq_get_line_async): Ditto.
14870 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
14872 * postgresql.c (Fpq_lo_import): Fix return value.
14873 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
14875 2000-03-13 Ben Wing <ben@xemacs.org>
14877 * alloc.c (pdump_load):
14878 Fix compile warning under mswin.
14880 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
14882 * postgresql.c: Mule-ization, bug fixes.
14883 Use PG_CODING to encapsulate coding system name changes.
14884 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
14885 (pg-coding-system): Create.
14887 (Fpq_conn_defaults): Mule-ize.
14888 (Fpq_connectdb): Mule-ize & bug fix.
14889 (Fpq_connect_start): Mule-ize.
14890 (Fpq_set_client_encoding): Mule-ize.
14891 (Fpq_finish): Document `DEAD' connection status.
14892 (Fpq_clear): Ditto.
14893 (Fpq_pgconn): Mule-ize.
14894 (Fpq_exec): Mule-ize & bug fix.
14895 (Fpq_send_query): Ditto.
14896 (Fpq_get_result): Ditto.
14897 (Fpq_res_status): Mule-ize.
14898 (Fpq_result_error_message): Mule-ize.
14899 (Fpq_ntuples): fix comments.
14900 (Fpq_fname): Mule-ize.
14901 (Fpq_fnumber): Mule-ize.
14902 (Fpq_ftype): fix comments.
14903 (Fpq_get_value): Mule-ize.
14904 (Fpq_cmd_status): Ditto.
14905 (Fpq_cmd_tuples): Ditto.
14906 (Fpq_oid_value): Ditto.
14907 (Fpq_notifies): Ditto.
14908 (Fpq_lo_import): Ditto.
14909 (Fpq_lo_export): Ditto.
14910 (Fpq_get_line): Ditto.
14911 (Fpq_put_line): Mule-ize and bug fix.
14912 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
14914 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
14916 * postgresql.c (vars_of_postgresql): Mule-ize.
14917 (Fpq_conn_defaults): Ditto.
14919 2000-03-12 Ben Wing <ben@xemacs.org>
14921 * alloc.c (Fmake_byte_code):
14922 * alloc.c (debug_string_purity_print):
14923 * alloc.c (pdump_backtrace):
14924 * alloc.c (pdump_get_indirect_count):
14925 * alloc.c (pdump_register_sub):
14926 * alloc.c (pdump_register_object):
14927 * alloc.c (pdump_register_struct):
14928 * alloc.c (pdump_dump_data):
14929 * alloc.c (pdump_reloc_one):
14933 * console-msw.c (GetConsoleHwnd):
14934 * console-msw.c (msw_hide_console):
14935 * console-msw.c (msw_show_console):
14936 * console-msw.c (msw_ensure_console_buffered):
14937 * console-msw.c (msw_output_console_string):
14938 * console-msw.c (console_type_create_mswindows):
14940 a) Added functions to manipulate the console window for use with
14943 b) Added support for writing text to the console, which is now
14944 used under Windows when xemacs is not being run non-interactively,
14945 to write text that would otherwise be destined for stdout because
14946 under these circumstances, text written to stdout tends to
14947 disappear and not be seen.
14951 * event-Xt.c (x_event_to_emacs_event):
14952 * event-Xt.c (describe_event_window):
14953 * events-mod.h (XEMACS_MOD_CONTROL):
14955 * events.c (Fmake_event):
14956 * events.c (character_to_event):
14957 * events.c (event_to_character):
14958 * events.c (format_event_object):
14959 * events.c (Fevent_modifiers):
14961 * events.h (struct key_data):
14962 * events.h (struct button_data):
14963 * events.h (struct misc_user_data):
14964 * frame-x.c (Fcde_start_drag_internal):
14965 * frame-x.c (Foffix_start_drag_internal):
14966 * gpmevent.c (Freceive_gpm_event):
14968 * keymap.c (bucky_sym_to_bucky_bit):
14969 * keymap.c (control_meta_superify):
14970 * keymap.c (make_key_description):
14971 * keymap.c (keymap_lookup_directly):
14972 * keymap.c (create_bucky_submap):
14973 * keymap.c (keymap_store):
14974 * keymap.c (define_key_check_and_coerce_keysym):
14975 * keymap.c (define_key_parser):
14976 * keymap.c (define_key_alternate_name):
14977 * keymap.c (Fdefine_key):
14978 * keymap.c (raw_lookup_key_mapper):
14979 * keymap.c (struct map_keymap_unsorted_closure):
14980 * keymap.c (map_keymap_unsorted_mapper):
14981 * keymap.c (map_keymap_sort_predicate):
14982 * keymap.c (map_keymap_sorted):
14983 * keymap.c (accessible_keymaps_mapper_1):
14984 * keymap.c (where_is_recursive_mapper):
14985 * keymap.c (describe_map_mapper):
14986 * keymap.c (describe_map_sort_predicate):
14987 * keymap.c (describe_map):
14988 * keymap.c (complex_vars_of_keymap):
14989 And a number of other files, the key modifier preprocessor
14990 constants that xemacs uses have names that conflict with constants
14991 defined under MS Windows for other purposes, so they were renamed
14992 to begin with the prefix XEMACS_. The variables that hold such
14993 modifiers were changed to consistently be of type int to fix
14994 various compile warnings.
14996 * console.c (complex_vars_of_console):
14999 * device-msw.c (mswindows_finish_init_device):
15000 * device-msw.c (msw_get_workspace_coords):
15001 * device-msw.c (mswindows_device_system_metrics):
15002 and various other files, added support for a new
15003 device property called offset-workspace which returns the position
15004 of the upper left corner of the workspace area and goes along with
15005 the existing size-workspace property.
15008 * dialog-msw.c (push_bufbyte_string_as_unicode):
15009 * dialog-msw.c (mswindows_popup_dialog_box):
15010 Added support for XEmacs-style accelerator specifications in
15011 button text. Note: I didn't add support for this under X Windows,
15012 and somebody needs to do this.
15015 * dialog.c (Fpopup_dialog_box):
15016 Documented the support for accelerators that was just mentioned.
15018 editfns.c (get_home_directory): Changed behavior under Windows
15019 when HOME not defined; former behavior was irretrievably broken.
15022 * emacs.c (main_1):
15024 * minibuf.c (clear_echo_area_internal):
15025 * minibuf.c (echo_area_append):
15027 * print.c (std_handle_out_external):
15028 * print.c (std_handle_out_va):
15030 * print.c (write_string_to_stdio_stream):
15031 * print.c (output_string):
15032 * print.c (debug_print):
15033 * print.c (debug_backtrace):
15034 * print.c (debug_short_backtrace):
15035 Cleaned up the code that prints text to stdout so that this can be
15036 changed to output into a console window instead under MS Windows,
15037 as described above.
15040 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
15041 * eval.c (internal_catch):
15042 * eval.c (unwind_to_catch):
15043 * eval.c (throw_or_bomb_out):
15044 * eval.c (condition_case_1):
15045 * eval.c (signal_1):
15046 * eval.c (check_error_state_sanity):
15047 * eval.c (call_with_suspended_errors_1):
15048 * eval.c (call_with_suspended_errors):
15049 * eval.c (reinit_vars_of_eval):
15050 Added code to catch throw loops and check for a pesky bug that may
15054 * event-msw.c (key_needs_default_processing_p):
15055 * event-msw.c (mswindows_wnd_proc):
15056 * event-msw.c (mswindows_modifier_state):
15057 * event-msw.c (emacs_mswindows_quit_p):
15058 * event-msw.c (vars_of_event_mswindows):
15059 a) Added support for using the alt key to select menu items as is
15060 standard under MS Windows. This is controlled using the variable
15061 menu-accelerator-enabled, just like under X Windows. There is an
15062 option on the options menu to turn this support on. I really
15063 think that it should be on by default under Windows, but I'm not
15064 going to make this change yet.
15066 b) Added support for dynamic display size changes under Windows.
15069 * event-stream.c (maybe_echo_keys):
15070 * event-stream.c (Fnext_event):
15071 * event-stream.c (command_builder_find_leaf):
15072 * event-stream.c (lookup_command_event):
15073 * event-stream.c (execute_command_event):
15074 * event-stream.c (pre_command_hook):
15075 * event-stream.c (post_command_hook):
15076 * event-stream.c (syms_of_event_stream):
15077 * event-stream.c (vars_of_event_stream):
15078 * event-stream.c (complex_vars_of_event_stream):
15079 * events.h (struct command_builder):
15081 a) Tried to clean up a little bit the horribly written x-specific
15082 accelerator code that crept into this file. I moved this code
15083 into menubar-x.c where it belongs. I also needed to move the
15084 command builder structure into the file events.h because it is
15085 accessed directly by this accelerator code. What I didn't do, but
15086 which should be done at some point, is to properly abstract this
15087 code using device methods instead of the kludgy way that it
15088 currently hooks into the event code.
15090 b) Added the lisp variables this-command-properties and
15091 last-command- properties, which should be used to synchronize two
15092 adjacent commands in preference to playing games with the variable
15093 this-command, which is typically what happens.
15095 c) Added some slightly nasty code to hook into the lisp support
15096 for shifted- motion-key selection. This is actually necessary for
15097 somewhat complicated reasons, which are described in
15098 simple.el. (NB: I think the proper thing would be to have the code
15099 that calls the pre and post command hooks also call out to generic
15100 lisp functions in simple.el, where all built-in stuff could be
15101 added. I will think about this more.)
15103 * event-unixoid.c (poll_fds_for_input):
15104 * lread.c (readchar):
15105 * redisplay-tty.c (tty_clear_frame):
15106 * redisplay-x.c (x_get_gc):
15107 * signal.c (interrupt_signal):
15108 And a whole bunch of other files: fixed up places that printed
15109 directly to stderr to instead call the function stderr_out so that
15110 the changes I made under Windows work correctly.
15112 * filemode.c (mode_string):
15116 * frame-msw.c (mswindows_size_frame_internal):
15117 Fixed the computation of frame size and position to keep the frame
15118 within the workspace area, rather than within the physical
15119 dimensions of the screen, so that the frame doesn't overlap window
15120 manager decorations, such as the start menu and toolbar, typically
15121 at the bottom of the screen.
15123 * frame.c (vars_of_frame):
15124 Changed the default frame title format under MS Windows to consist
15125 of buffername-XEmacs, which is standard under MS Windows. I think
15126 it might be a good idea to change this everywhere because I think
15127 it is superior to the current frame title format, but this is the
15128 kind of change that is likely to cause some people to get annoyed,
15129 so I'm not making it.
15131 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
15133 * gui-msw.c (mswindows_handle_gui_wm_command):
15134 Fixed compile warnings.
15137 * gui-x.c (strdup_and_add_accel):
15138 * gui-x.c (button_item_to_widget_value):
15140 Added code to automatically put an accelerator onto the beginning
15141 of menu items that don't have one as is now the standard, and is
15142 described more later. Also fixed things so that the menu item
15143 name can be an evaluated expression, again a new standard.
15146 * gui.c (gui_item_add_keyval_pair):
15147 * gui.c (make_gui_item_from_keywords_internal):
15148 * gui.c (gui_add_item_keywords_to_plist):
15149 * gui.c (gui_item_accelerator):
15150 * gui.c (gui_name_accelerator):
15151 * gui.c (gui_item_included_p):
15152 * gui.c (gui_item_display_flush_left):
15153 * gui.c (gui_item_display_flush_right):
15154 * gui.c (parse_gui_item_tree_item):
15155 * gui.c (parse_gui_item_tree_children):
15156 * gui.c (parse_gui_item_tree_list):
15157 Mule-ized. Cleanup. GCPRO addition.
15159 * line-number.c (buffer_line_number):
15161 * lisp.h (EMACS_INT_MAX):
15162 Added the manifest constant EMACS_INT_MIN corresponding to the
15163 existing constant EMACS_INT_MAX. This is partially to fix compile
15164 warnings under Windows, and partly for cleanliness.
15167 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
15168 * menubar-msw.c (msw_translate_menu_or_dialog_item):
15169 * menubar-msw.c (displayable_menu_item):
15170 * menubar-msw.c (populate_menu_add_item):
15171 * menubar-msw.c (populate_or_checksum_helper):
15172 * menubar-msw.c (populate_menu):
15173 * menubar-msw.c (update_frame_menubar_maybe):
15174 * menubar-msw.c (prune_menubar):
15175 * menubar-msw.c (msw_char_is_accelerator):
15176 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
15177 * menubar-msw.c (mswindows_handle_wm_command):
15178 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
15179 * menubar-msw.c (mswindows_handle_wm_initmenu):
15180 * menubar-msw.c (mswindows_update_frame_menubars):
15181 * menubar-msw.c (mswindows_free_frame_menubars):
15182 * menubar-msw.c (mswindows_popup_menu):
15183 Fixed a bug in handling accelerators where an extra character
15184 would be displayed in the menu item. Also generalized the
15185 function displayable_menu_item because it is now used by the
15186 dialog box code as well. And finally, added code in the functions
15187 that create the menubar to extract a list of accelerators for the
15188 top level menubar, which is used in the event code to determine
15189 whether a particular alt-key combination should be used to invoke
15190 a menu item, or should be passed through to access the standard
15191 XEmacs keymap binding for this key combination.
15193 Much needed GCPROing.
15196 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
15197 * menubar-x.c (menu_item_descriptor_to_widget_value):
15198 * menubar-x.c (restore_in_menu_callback):
15199 * menubar-x.c (x_popup_menu):
15200 * menubar-x.c (menu_move_up):
15201 * menubar-x.c (menu_move_down):
15202 * menubar-x.c (menu_move_left):
15203 * menubar-x.c (menu_move_right):
15204 * menubar-x.c (menu_select_item):
15205 * menubar-x.c (command_builder_operate_menu_accelerator):
15206 * menubar-x.c (menu_accelerator_junk_on_error):
15207 * menubar-x.c (command_builder_find_menu_accelerator):
15208 * menubar-x.c (Faccelerate_menu):
15210 Moved a whole bunch of code here that was previously in
15211 event-stream.c as described above. There is also code connected
15212 to the new standard of adding an accelerator to the beginning of
15213 menu items that don't have one as described above and below.
15216 * menubar.c (menu_parse_submenu_keywords):
15217 * menubar.c (Fmenu_find_real_submenu):
15218 * menubar.c (Fnormalize_menu_item_name):
15219 * menubar.c (syms_of_menubar):
15220 * menubar.c (vars_of_menubar):
15221 * menubar.c (complex_vars_of_menubar):
15223 a) Cleaned up a bunch of documentation and improved it.
15225 b) XEmacs now automatically adds an accelerator onto the beginning
15226 of any menu items that don't have one. I did this because there
15227 will inevitably be some menu items on the main menubar that don't
15228 have accelerators on them because the package that adds that
15229 particular menu item hasn't yet been fixed up to have accelerators
15230 in them and it looked rather strange to have some items with and
15231 some items without accelerators, especially since even in items
15232 without accelerators, you can, at least under windows, still
15233 access the item through an accelerator corresponding to the first
15234 character in the item's name. If people don't like this behavior,
15235 I can add a variable to turn it off optionally, but I'm not sure
15236 this is a good idea because we really do need to have accelerators
15237 on all of the menu items, and if a package doesn't like the
15238 accelerators being put on the first character, then it should put
15239 the accelerators where they belong.
15241 c) I made a behavior change, which is that the descriptor that
15242 specifies the text of the menu item, which formerly was just a
15243 string, can now also be an evaluated expression. This makes this
15244 descriptor parallel with all of the others, which could also be
15245 evaluated expressions. This also obviates the need for the
15246 keyword :label, which was previously listed in the documentation
15247 as unimplemented, and which was for the same purpose.
15252 * ntproc.c (new_child):
15253 * ntproc.c (sys_spawnve):
15254 * ntproc.c (find_child_console):
15255 * ntproc.c (sys_kill):
15256 Fixed compile warnings. By the way, this file should really go
15257 away entirely, and this will happen as soon as Kirill makes his
15258 final round of process cleanups, which affect the function
15262 * process-nt.c (struct nt_process_data):
15263 * process-nt.c (find_process_from_pid):
15264 * process-nt.c (send_signal_the_nt_way):
15265 * process-nt.c (enable_child_signals):
15266 * process-nt.c (find_child_console):
15267 * process-nt.c (send_signal_the_95_way):
15268 * process-nt.c (nt_finalize_process_data):
15269 * process-nt.c (ensure_console_window_exists):
15270 * process-nt.c (nt_create_process):
15271 * process-nt.c (nt_kill_child_process):
15272 * process-nt.c (nt_kill_process_by_pid):
15273 * process-nt.c (nt_open_network_stream):
15274 * process-nt.c (vars_of_process_nt):
15275 Copied over code from Emacs 20.5 to correctly send signals to sub-
15276 processes under Windows 95. Also added code to automatically
15277 create and hide console window when a sub-process is created under
15278 Windows 95, which obviates the need for the separate runemacs.exe
15279 executable, and finally implemented some variables that were
15280 implemented in Emacs 20.5, but previously not in XEmacs. These
15281 include mswindows- start-process-share-console and
15282 mswindows-start-process-inherit-error-mode. (Both of these only
15283 apply to Windows 95.)
15285 * regex.c (regex_compile): Fixed a compile warning.
15288 * select-msw.c (mswindows_own_selection):
15289 * select-msw.c (mswindows_get_foreign_selection):
15290 * select-msw.c (mswindows_disown_selection):
15291 * select-msw.c (console_type_create_select_mswindows):
15292 * select-msw.c (syms_of_select_mswindows):
15293 Cleaned up the file and implemented the device method
15294 selection_exists_p, which had accidentally been left out. Also
15295 removed four lisp functions that were remnants from before the
15296 time when the selection code was properly device abstracted.
15297 These functions are no longer needed because there are generic
15298 equivalents, and because they were added recently and don't exist
15299 in FSF Emacs, I don't think there's any problem with just deleting
15303 * sysdep.c (sys_subshell):
15304 Fixed a compile warning, although in this case there's probably
15305 something wrong with this code, and it ought to be looked into
15306 more thoroughly by somebody who understands it.
15309 * window.c (Fwindow_text_area_height):
15310 * window.c (Fwindow_width):
15311 * window.c (Fwindow_full_width):
15312 * window.c (Fwindow_pixel_width):
15313 * window.c (debug_print_window):
15314 * window.c (syms_of_window):
15315 Added functions window-text-area-height and window-full-width,
15316 which are functions for returning various width and height
15317 characteristics of a window. (One of these functions is necessary
15318 for making the file dialog box work correctly, and the other one
15319 was added for completeness.) Also added a table to the
15320 documentation for window-height which describes the entire scheme
15321 for accessing width and height characteristics of a window.
15323 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15325 * nt.c (fstat): Added a comment for another problem with
15326 non-encapsulated [f]stat(), reported by Adrian Aichner
15327 <aichner@ecf.teradyne.com>.
15329 2000-03-11 Andy Piper <andy@xemacs.org>
15331 * window.c (make_dummy_parent): initialize subwindow instance
15333 (Fset_window_configuration): zero extent_modiff.
15335 2000-03-10 Andy Piper <andy@xemacs.org>
15337 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
15338 more changes can be triggered.
15339 (Fredisplay_frame): ditto.
15340 (Fredraw_device): ditto.
15341 (Fredisplay_device): ditto.
15342 (redisplay_frame): make non-static.
15343 (redisplay_frame): call update_frame_gutter_geometry outside of
15346 * gutter.h: declare update_frame_gutter_geometry.
15348 * redisplay.h: declare redisplay_frame.
15350 * gutter.c (update_frame_gutter_geometry): move geometry changes
15351 in update_frame_gutters here. Geometry changes can only occur
15352 outside of redisplay.
15353 (update_frame_gutters): remove geometry change code.
15354 (Fredisplay_gutter_area): make sure that we are in display when we
15355 update and that we have flushed any size changes.
15357 2000-03-11 Andy Piper <andy@xemacs.org>
15359 * alloc.c (pdump_dump_data): remove i & count shadows.
15361 2000-02-27 Mike Alexander <mta@arbortext.com>
15363 * sysdep.h: Declare pdump_read_file
15365 * sysdep.c (pdump_read_file): New function
15367 * alloc.c (pdump_load): Call pdump_read_file to get the portable
15370 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
15372 * lrecord.h: add `lrecord_type_pgsetenv'.
15374 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
15376 * symsinit.h: declare (vars|syms)_of* functions.
15377 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
15379 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
15381 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
15383 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
15386 * emacs.c (main_1): Call postgres initialization code.
15388 * postgresql.h: New file. PostgreSQL RDBMS support.
15389 * postgresql.c: New file.
15391 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
15393 * redisplay-output.c (redisplay_output_display_block): Disable
15396 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15398 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
15399 (Fcanna_henkan_next): Ditto.
15400 (Fcanna_bunsetu_henkou): Ditto.
15401 (Fcanna_henkan_kakutei): Ditto.
15402 (Fcanna_henkan_end): Ditto.
15403 (Fcanna_henkan_quit): Ditto.
15404 (Fcanna_henkan_next): Set retun value correctly.
15405 (c2mu): Use unsigned char instead of signed char.
15407 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15409 * emacs.c (main_1): Always call syms_of_gui.
15410 * inline.c: include gui.h
15412 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15414 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
15415 converted to Lisp_Object.
15416 (Qtop_bottom): New variable.
15417 (syms_of_redisplay): Initialize it.
15418 * redisplay.h (Vvisible_bell): Ditto.
15419 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
15420 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
15421 only flash top and bottom.
15423 2000-03-08 Andy Piper <andy@xemacs.org>
15425 * buffer.c (Frename_buffer): record new buffer name the right way.
15427 2000-03-08 Andy Piper <andy@xemacs.org>
15429 * glyphs.c (update_subwindow): increase hash depth so that widget
15430 items get picked up properly.
15432 * redisplay-output.c (compare_runes): increase hash depth so that
15433 widget items get picked up properly.
15435 2000-03-08 Andy Piper <andy@xemacs.org>
15437 * gutter.c (output_gutter): add some debug.
15439 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
15440 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
15441 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
15443 * redisplay-output.c (compare_runes): use display_hash to
15444 determine if glyphs really are not the same.
15446 * glyphs.c (update_subwindow): check display_hash to see if
15447 anything really needs to be updated. If not then do
15448 nothing. Record the display_hash after updating.
15449 (image_instance_equal): compare the image_instance face also.
15451 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
15453 * redisplay.h: Fix comment style.
15455 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
15457 * consle-msw.h (struct mswindows_frame):
15458 Added new member paint_pending to indicate whether a WM_PAINT
15459 magic event has been queued for this frame.
15461 * event-msw.c (mswindows_drain_windows_queue):
15462 Don't queue a WM_PAINT magic event if one is already queued.
15463 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
15465 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
15467 2000-03-07 Didier Verna <didier@xemacs.org>
15469 * dired.c: #include `regex.h' after `sysfile.h'.
15471 2000-03-06 Martin Buchholz <martin@xemacs.org>
15473 * sound.c (init_nas_sound): Fix compiler warning.
15475 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
15477 (MARK_STRUCT_AS_FREE):
15478 (MARK_STRUCT_AS_NOT_FREE):
15479 Make `gcc -fstrict-aliasing' work properly.
15481 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
15483 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
15484 (mswindows_delete_device): Call CoUnnitialize().
15486 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
15488 2000-02-25 <CraigL@DyCon.com>
15490 * process-nt.c: MinGW now has <shellapi.h>, but still needs
15493 * sysdep.c: This extern declaration for environ prevents MinGW
15494 from finding the variable in CRTDLL.DLL.
15496 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
15498 (SHGFI_EXETYPE): ..
15499 (WM_MOUSEWHEEL): ..
15500 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
15502 (MMRESULT): Removed, now defined in cygwin's windows headers.
15504 (uid_t,gid_t,pid_t,ssize_t): ..
15505 (_timeb): Removed, MinGW defines both _timeb and timeb.
15506 (HAVE_H_ERRNO): Added.
15507 (HAVE_TZNAME): Added, configure is not detecting this.
15509 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
15511 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
15512 * syntax.c (syntax_match): Use it.
15514 * cmds.c: Import auto-fill-chars from FSF Emacs.
15515 (Vauto_fill_chars): New variables.
15516 (internal_self_insert): Check Vauto_fill_chars.
15518 Declare auto-fill-chars as a Lisp variable and initialize it.
15520 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
15522 * fileio.c (Fmake_symbolic_link):
15524 Run handlers even if local machine doesn't have symlinks.
15526 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
15528 * event-msw.c (mswindows_drain_windows_queue):
15529 Don't generate paint magic events for non-XEmacs frames.
15531 2000-03-05 Andy Piper <andy@xemacs.org>
15533 * redisplay.c (redisplay_frame): generate_displayable_area and
15534 friends assumes that we are not in GC, we therefore have to make
15535 sure that this doesn't happen.
15537 * gutter.c (calculate_gutter_size): generate_displayable_area
15538 assumes that we are not in GC, we therefore have to make sure that
15539 this doesn't happen.
15541 2000-03-05 Martin Buchholz <martin@xemacs.org>
15543 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
15545 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
15547 * redisplay.c (regenerate_window): Make sure we set a sane value
15548 for end_pos even if we jump out of the loop.
15549 (regenerate_window): Answer Ben's question :-).
15550 (start_end_of_last_line): Add may_error argument.
15551 (start_of_last_line):
15552 (end_of_last_line): Pass may_error = 0.
15553 (end_of_last_line_may_error): New function.
15554 (pixel_to_glyph_translation): Use it, so we don't crash in
15557 2000-03-04 Andy Piper <andy@xemacs.org>
15559 * window.h (struct window): add gutter_extent_modiff.
15561 * window.c (allocate_window): zero out gutter_extent_modiff.
15563 * redisplay.h: declare sync_display_line_structs.
15565 * redisplay.c (add_glyph_rune): add a better comment.
15567 * redisplay-output.c (sync_display_line_structs): made non-static.
15568 (compare_runes): remove unneccesary glyph cachel access.
15570 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
15572 * gutter.c (output_gutter): don't output the gutter if extent
15573 changes only involve extents in buffers. use 4 sets of display
15575 (gutter_extent_signal_changed_region_maybe): new function. Mark
15576 extents in gutters as changed.
15577 (update_frame_gutters): use 4 sets of display lines.
15578 (reset_gutter_display_lines): ditto.
15579 (free_frame_gutters): ditto.
15580 (redraw_exposed_gutter): force output of gutters.
15582 * frame.h (struct frame): add 4 sets of gutter display lines.
15584 * extents.c: (extent_changed_for_redisplay): signal changes to
15585 extents in strings in the gutter as well as extents in buffers.
15587 2000-03-02 Andy Piper <andy@xemacs.org>
15589 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
15591 * frame.c (Fmake_frame): make sure the gutters get initialized
15592 after the frame is visible.
15593 (set_frame_selected_window): re-arrange compilation macros a
15595 (change_frame_size_1): mark gutters changed.
15597 * device.c (Fset_device_class): mark gutters changed.
15599 2000-03-01 Andy Piper <andy@xemacs.org>
15601 * window.c (window_top_frame_gutter_height): deleted.
15602 (window_bottom_frame_gutter_height): ditto.
15603 (window_left_frame_gutter_height): ditto.
15604 (window_right_frame_gutter_height): ditto.
15605 (window_top_gutter_height): don't use them.
15606 (window_bottom_gutter_height): ditto.
15607 (window_left_gutter_width): ditto.
15608 (window_right_gutter_width): ditto.
15609 (Fsplit_window): ditto.
15610 (Fwindow_pixel_edges): don't use border dimensions here.
15612 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
15613 (update_scrollbar_instance): ditto.
15615 * redisplay.c (generate_modeline): don't take gutters into account.
15616 (generate_modeline): ditto.
15617 (redisplay_frame): small gutter display optimization.
15619 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
15621 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
15622 gutters into account.
15624 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
15625 for window position and type.
15627 * gutter.c (get_gutter_coords): fix for frame gutters.
15628 (update_frame_gutters): update frame geometry if the gutters have
15630 (init_frame_gutters): record current gutter geometries.
15632 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
15634 (mswindows_widget_instantiate): ditto.
15636 * frame.h (struct frame): add current_gutter_bounds.
15638 * frame.c (change_frame_size_1): position window and minibuffer
15639 appropriately taking into account the frame gutters.
15641 * frame-x.c: (x_initialize_frame_size): take into account the
15644 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
15646 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
15648 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
15650 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
15652 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15654 * file-coding.c (reset_decoding_stream): Clear previous
15655 detection state when autodetect.
15657 2000-02-29 Didier Verna <didier@xemacs.org>
15659 * extents.c (set_extent_glyph_1): don't require extents to be
15662 2000-02-27 Andy Piper <andy@xemacs.org>
15664 * gutter.c (Fset_default_gutter_position): don't default left and
15665 right gutter visibility to t.
15666 (Fset_default_gutter_position): run
15667 default-gutter-position-changed-hook.
15668 (syms_of_gutter): add default-gutter-position-changed-hook.
15670 2000-02-26 Andy Piper <andy@xemacs.org>
15672 * specifier.c (Fmake_specifier): add gutter references.
15674 * gutter.h (RAW_WINDOW_GUTTER): new macro.
15676 * lisp.h: declare Fvalid_plist_p.
15678 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
15680 (default_gutter_visible_p_changed_in_window): invalidate gutter as
15681 well as its visibility so that it gets reconstructed.
15682 (construct_window_gutter_spec): new function. Construct a string
15683 to be displayed in the gutter from a plist of strings. Take care
15684 to only use elements that are declared as visible.
15685 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
15687 (gutter_validate): allow plists of strings in the specifier.
15688 (gutter_specs_changed): construct the real_gutter from the gutter
15689 specs using construct_window_gutter_spec.
15690 (gutter_visible_validate): gutter-visible is a new specifier type.
15691 (Fgutter_visible_specifier_p): new function for the new specifier.
15692 (syms_of_gutter): declare gutter-visible and
15693 Fgutter_visible_specifier_p.
15694 (specifier_type_create_gutter): intitalize new gutter-visible
15696 (reinit_specifier_type_create_gutter): ditto.
15697 (specifier_vars_of_gutter): use new specifier type for gutter
15699 (init_frame_gutters): construct real_gutter correctly.
15700 (Fgutter_specifier_p): beef up documentation.
15701 (Fgutter_size_specifier_p): ditto.
15703 * winslots.h: add real_gutter slots.
15705 2000-02-25 Andy Piper <andy@xemacs.org>
15707 * device-msw.c: Be kind to older cygwin versions. From Raymond
15708 Toy <toy@rtp.ericsson.se>.
15710 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
15711 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
15713 2000-02-25 Martin Buchholz <martin@xemacs.org>
15715 * elhash.c (MARK_OBJ): Practice macro hygiene.
15717 2000-02-24 Martin Buchholz <martin@xemacs.org>
15719 * miscplay.c: s/__inline__/inline/g;
15720 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
15721 (get_device_compdc): INLINE ==> static inline
15722 * *.[ch]: Change INLINE to INLINE_HEADER globally.
15723 find -name '*.h' | \
15724 xargs global-replace \
15725 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
15727 2000-02-25 Andy Piper <andy@xemacs.org>
15729 * window.c (window_top_frame_gutter_height): new function.
15730 (window_top_window_gutter_height): ditto.
15731 (window_top_gutter_height): use them.
15732 (window_bottom_frame_gutter_height): new function.
15733 (window_bottom_window_gutter_height): ditto.
15734 (window_bottom_gutter_height): use them.
15735 (window_left_window_gutter_width): new function.
15736 (window_left_frame_gutter_width): ditto.
15737 (window_left_gutter_width): use them.
15738 (window_right_window_gutter_width): new function.
15739 (window_right_frame_gutter_width): ditto.
15740 (window_right_gutter_width): use them.
15741 (window_pixel_height): new function. calulate window pixel height
15742 with frame gutter involvement.
15743 (Fsplit_window): calculate new sizes taking frame gutters into
15745 (window_char_height_to_pixel_height): don't include frame gutters.
15746 (window_char_height): use window_pixel_height.
15747 (window_pixheight): rename from window_pixel_height.
15748 (change_window_height): use it.
15749 (window_pixel_height_to_char_height): don't include frame gutters.
15750 (window_char_width_to_pixel_width): ditto.
15752 2000-02-25 Andy Piper <andy@xemacs.org>
15754 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
15757 2000-02-24 Martin Buchholz <martin@xemacs.org>
15759 * alloc.c (staticpro):
15760 (staticpro_nodump):
15765 (compact_string_chars):
15766 (pdump_dump_wired):
15767 Convert: if (foo) abort(); ==> assert (! foo);
15769 * eldap.c (Fldap_search_basic):
15773 Fix compiler warnings, and possible crashes if (random) return
15774 value were to be used.
15776 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15778 * device-msw.c: Workaround ResetDC failure.
15780 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
15781 applying a devmode.
15783 * redisplay-msw.c (get_frame_dc): Added start_page_p.
15784 (mswindows_text_width): Do not start printer page.
15786 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
15788 * glyphs-msw.c: Added image methods to msprinter console and
15789 msprinter-specific image instantiation.
15791 2000-02-20 Mike Alexander <mta@arbortext.com>
15793 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
15794 to avoid crashes when selection-sets-clipboard is on
15795 (mswindows_own_selection): ditto
15797 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15800 * redisplay-msw.c (get_frame_dc):
15801 (get_frame_compdc):
15803 * device-msw.c (mswindows_init_device):
15804 (mswindows_delete_device):
15805 (msprinter_init_device):
15806 (msprinter_delete_device):
15807 * frame-msw.c (mswindows_init_frame_1):
15808 (mswindows_delete_frame):
15809 (msprinter_init_frame_3):
15810 (msprinter_delete_frame): Move compatible DC to device object from
15811 frame object, for both mswindows and msprinter. Only one at a time
15812 is needed, it is a real waste to have one per frame!
15814 2000-02-23 Andy Piper <andy@xemacs.org>
15816 * glyphs.c: add dynamic width and height elements.
15817 (image_instance_equal): ditto.
15819 * glyphs-widget.c (widget_query_geometry): calculate width and
15820 height dynamically if required.
15821 (initialize_widget_image_instance): initialize dynamic dimensions.
15822 (widget_instantiate): pick-up dynamic dimensions.
15824 * glyphs.h (struct Lisp_Image_Instance): add width and height for
15825 dynamic determination. Add appropriate macros.
15827 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
15829 (WINDOW_GUTTER_SIZE): ditto.
15830 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
15832 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
15834 (get_frame_dc): ditto.
15836 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
15839 2000-02-23 Martin Buchholz <martin@xemacs.org>
15841 * XEmacs 21.2.31 is released.
15843 2000-02-22 Ben Wing <ben@xemacs.org>
15845 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
15847 2000-02-22 Andy Piper <andy@xemacs.org>
15849 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
15851 2000-02-21 Mike Sperber <mike@xemacs.org>
15855 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
15858 2000-02-21 Mike Sperber <mike@xemacs.org>
15860 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
15862 2000-02-21 Martin Buchholz <martin@xemacs.org>
15864 * XEmacs 21.2.30 is released.
15866 2000-02-20 Martin Buchholz <martin@xemacs.org>
15868 Performance hacking.
15870 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
15871 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
15872 * emacs.c (main_1):
15874 * console.c (DEFVAR_CONSOLE_LOCAL_1):
15875 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
15876 * symeval.h (DEFVAR_SYMVAL_FWD):
15877 * symbols.c (guts_of_unbound_marker):
15878 Make all c_readonly objects also lisp_readonly and marked for life.
15879 * lrecord.h (struct lrecord_implementation):
15880 Document flags better.
15881 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
15882 * lrecord.h (DECLARE_LRECORD):
15883 * lrecord.h (XSETRECORD):
15884 * lrecord.h (RECORDP):
15885 * lrecord.h (RECORD_TYPEP):
15886 * lrecord.h (RECORD_MARKER): New.
15887 * lrecord.h (error_check_*):
15888 * lrecord.h (CONCHECK_NONRECORD):
15889 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
15890 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
15891 * lrecord.h (set_lheader_implementation):
15892 * lrecord.h (enum lrecord_type): New.
15893 * symeval.h (SYMBOL_VALUE_MAGIC_P):
15894 * alloc.c (disksave_object_finalization_1):
15895 * alloc.c (mark_object):
15896 * alloc.c (lrecord_type_index):
15897 * alloc.c (tick_lcrecord_stats):
15898 * alloc.c (Fgarbage_collect):
15899 * alloc.c (init_alloc_once_early):
15900 * alloc.c (pdump_load):
15901 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
15902 * alloc.c (lrecord_type_index): Delete.
15903 Make lisp object type indexes be constant.
15904 Makes (byte-compile) 5% faster.
15905 Put all marker functions into their own array.
15906 Makes (garbage-collect) 5% faster.
15907 Optimize SYMBOL_VALUE_MAGIC_P.
15908 Makes (byte-compile) 2-3% faster.
15909 * config.h.in (gc_checking_assert): New.
15910 * alloc.c: Use gc_checking_assert().
15911 * .dbxrc: Make compatible with new object type implementation.
15912 * .gdbinit: Make compatible with new object type implementation.
15913 * alloc.c: Delete all symbols defined only for debugging, such as
15914 Lisp_Type_Vector and lrecord_charset.
15916 2000-02-21 Andy Piper <andy@xemacs.org>
15918 * gui-msw.c (Fmswindows_shell_execute): fix file location
15921 * buffer.c (Fkill_buffer): remove buffer from alist buffer
15922 unshowing so that set_window_buffer doesn't undo
15923 kill_buffer_hook's hard work.
15925 * glyphs-widget.c (tab_control_query_geometry): don't count the
15926 first item when calculating geometry.
15928 * glyphs.c (map_subwindow): remove redundant code.
15929 (update_frame_subwindows): be more circumspect about when to
15932 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
15933 when items haven't changed. Update faces if faces have changed as
15934 well as just the widget face.
15935 (x_tab_control_update): Update faces if faces have changed as well
15936 as just the widget face.
15938 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
15940 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
15942 (build_syscolor_string): Use mswindows_color_to_string to try to
15944 (mswindows_device_system_metrics): Reverse the foreground and
15945 background colors so that they match the documentation.
15947 * objects-msw.c: (mswindows_X_color_map): tweak some values so
15948 they match the default Windows palette.
15949 (mswindows_color_to_string): New function.
15951 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
15953 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
15955 2000-02-18 Olivier Galibert <galibert@pobox.com>
15957 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
15958 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
15960 * symbols.c (init_symbols_once_early): Removed obsolete
15961 DATA_SEG_BITS related kludge.
15962 (defvar_magic): Ditto.
15964 * malloc.c: Removed obsolete DATA_SEG_BITS
15966 * mem-limits.h: Ditto.
15968 * Makefile.in.in: Removed obsolete HAVE_SHM
15971 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
15973 * device-msw.c (mswindows_delete_device): Free DDE string
15976 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15978 * keymap.c (get_keyelt):
15979 * unexnt.c (unexec):
15980 * vm-limit.c (memory_warnings):
15981 * ntheap.c (recreate_heap):
15982 * ntheap.h (UNINIT_PTR):
15983 * select-msw.c (Fmswindows_get_clipboard):
15984 (Fmswindows_set_clipboard):
15985 * objects-msw.h (MSWINDOWS_BAD_HFONT):
15987 * menubar-msw.c (displayable_menu_item):
15989 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
15990 * sysdep.c (sys_subshell):
15991 * process-nt.c (nt_create_process):
15992 * nt.c (normalize_filename):
15993 (dostounix_filename):
15994 (unixtodos_filename):
15995 * ntproc.c (win32_executable_type):
15996 * ntplay.c (play_sound_data_1):
15998 * editfns.c (get_home_directory):
15999 * event-msw.c (struct winsock_stream):
16000 (mswindows_dde_callback):
16001 * device-msw.c (msprinter_init_device):
16002 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
16004 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
16005 mswindows_clear_toolbar were swapped!
16007 * objects-msw.c:(colormap_t):
16009 * emacs.c (struct standard_args): Fixed const jumble.
16011 * glyphs-widget.c (update_widget): Fixed comparison notation.
16013 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
16015 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
16016 __declspec(noreturn) syntax.
16018 2000-02-19 Martin Buchholz <martin@xemacs.org>
16020 * eldap.c (Fldap_open):
16021 (Fldap_search_basic):
16024 Use new coding system conversion macros.
16026 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16028 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
16030 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
16032 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
16033 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16035 * eldap.c (Qadd, Qreplace): New constant symbols
16036 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
16037 interruptions by XEmacs signals
16038 Remove unnecessary calls to slow_down_interrupts and
16039 speed_up_interrupts
16040 (Fldap_search_basic): Renamed from Fldap_search_internal
16041 Added new optional parameter VERBOSE that triggers the
16042 display of progress messages
16043 Remove unnecessary calls to slow_down_interrupts and
16044 speed_up_interrupts
16045 LDAP result code analysis rewritten
16046 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16047 (syms_of_eldap): Define the new symbols and functions
16050 2000-02-17 Martin Buchholz <martin@xemacs.org>
16052 * realpath.c: Determine PATH_MAX maximally portably.
16054 * insdel.c (bytecount_to_charcount): Optimize.
16055 The function used to be optimized for entirely ASCII sequences.
16056 Now it is optimized for successive characters from the same
16057 charset. This also wins big for _mostly_ ASCII sequences.
16059 * fileio.c (Ffile_truename): convert return from realpath() using
16060 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
16061 - Rewrite GCPROing slightly.
16063 * sysdep.c (sys_open): Do filename conversion, like all other
16064 sys_* functions. Fixes bug:
16065 (let ((file-name-coding-system 'iso-8859-2))
16066 (write-region x y latin2-name))
16067 ==> writes filename using internal encoding.
16069 2000-02-18 Martin Buchholz <martin@xemacs.org>
16071 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
16072 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
16073 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
16074 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
16075 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
16076 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
16077 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
16078 (CONST_IF_NOT_DEBUG): Delete.
16079 * alloc.c (this_one_is_unmarkable): Delete.
16080 (mark_object): Don't check for this_one_is_unmarkable. Use the
16081 c_readonly flag instead.
16082 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
16084 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
16086 * event-msw.c (mswindows_drain_windows_queue):
16087 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
16088 away redundant repaint events.
16090 2000-02-17 Andy Piper <andy@xemacs.org>
16092 * redisplay.h: declare mark_redisplay_structs.
16094 * redisplay.c (redisplay_window):
16095 (redisplay_frame): don't check subwindows_state_changed.
16096 (mark_redisplay): mark gutters here.
16098 * glyphs.c: (instantiate_image_instantiator): always layout if we
16099 haven't done so already.
16100 (allocate_image_instance): don't mark as dirty.
16101 (update_subwindow): bind inhibit_quit.
16103 * gutter.c (mark_gutters): new function.
16105 * glyphs-x.c (x_update_widget): Always resize to get round a
16108 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
16109 breaking absolutely everything.
16111 * gutter.h: declare mark_gutters.
16113 2000-02-16 Martin Buchholz <martin@xemacs.org>
16115 * XEmacs 21.2.29 is released.
16117 2000-02-15 Olivier Galibert <galibert@pobox.com>
16119 * fns.c (size_bit_vector): Fix computation of the size.
16121 2000-02-15 Martin Buchholz <martin@xemacs.org>
16123 * *.[ch]: Change CONST to const globally.
16124 find -name '*.[ch]' | \
16125 xargs global-replace \
16126 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
16127 - Remove vestigial references to CONST_IS_LOSING
16129 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16131 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
16132 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
16133 events instead of dispatching them directly.
16134 (mswindows_handle_paint): New function to do repainting.
16135 (mswindows_wnd_proc):
16136 (emacs_mswindows_handle_magic_event): Call above function.
16138 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16140 * objects-msw.c (mswindows_create_font_variant): Return the new
16142 (initialize_font_instance): Get font metrics from the underlined
16143 variant of the font to cope with the case where the underlined
16144 font has a bigger descent.
16146 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
16148 * gui.c (gui_item_accelerator): Return the first underlined
16149 character in item name.
16151 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16153 * lisp.h: Added Qprinter.
16155 * general.c (syms_of_general): Initialized it.
16157 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
16159 (get_frame_compdc): Made inline.
16161 * console.h (struct console_methods): Added eject_page method.
16163 * frame.h: Added FRAME_DISPLAY_P and friends.
16164 Aligned backslahes in many macros in more readable fashion.
16165 Added page_number to struct frame, and an accessor macro
16168 * defice.h: Added DEVICE_DISPLAY_P and friends.
16170 * device.c (Fdevice_printer_p): Used these.
16172 * frame.c (allocate_frame_core): Initialize page number.
16173 (Fprint_job_page_number):
16174 (Fprint_job_eject_page): Implemented.
16176 * frame-msw.c (msprinter_eject_page): Added method.
16177 (msprinter_start_page): Added.
16179 * window.c (Fwindow_truncated_p): Fixed docstring.
16180 (Fwindow_last_line_visible_height): Implemented.
16182 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16184 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
16186 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16188 * syntax.c (scan_words): Always advance at least one character.
16190 2000-02-13 Andy Piper <andy@xemacs.org>
16192 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
16193 to make sure the glyph is in the cachels.
16195 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
16196 global image instance flag.
16197 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
16198 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
16200 * glyphs.c (allocate_image_instance): set dirty bits correctly.
16201 (Fset_image_instance_property): mark layout as changed.
16202 (invalidate_glyph_geometry_maybe): mark layout as changed.
16203 (glyph_width): use new NEEDS_LAYOUT macro.
16204 (glyph_ascent): ditto.
16205 (glyph_descent): ditto.
16206 (glyph_height): ditto.
16207 (image_instance_layout): mark layout as clean after laying out.
16208 (update_subwindow): don't mark layout as clean here.
16210 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
16211 should no longer be needed.
16213 * glyphs-x.c (x_update_widget): sanitize asserts.
16214 (x_finalize_image_instance): sanitize assignment to widgets.
16216 * glyphs-widget.c (widget_instantiate): don't need to clear the
16219 2000-02-13 Martin Buchholz <martin@xemacs.org>
16221 * sysdep.c (getcwd): Use standard prototype.
16222 * sysdep.h (getcwd): Use standard prototype.
16224 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
16225 (sequence, start, end).
16226 Remove redundant type checking.
16227 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
16228 view of `caller-protects') to avoid a crash where the real fix was
16231 2000-02-12 Martin Buchholz <martin@xemacs.org>
16233 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
16235 * s/sol2.h: Remove feature macro initialization.
16237 * alloc.c (alloc_lcrecord): Add more type checking assertions.
16238 (vector_hash): New. Code from internal_hash.
16240 Fix up allocation subsystem comments.
16242 * config.h.in: Add __EXTENSIONS__ for Solaris.
16244 * systime.h (EMACS_GETTIMEOFDAY): New.
16245 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
16246 Remove Solaris-specific code.
16247 Use void* for the (ignored) second arg for gettimeofday().
16249 * elhash.c (hash_table_hash): Implement it, finally.
16250 * elhash.c: Use hashcode_t.
16252 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
16253 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
16255 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
16256 * fns.c (size_bit_vector):
16257 * alloc.c (size_vector):
16258 (make_vector_internal):
16259 (make_bit_vector_internal):
16260 (sweep_bit_vectors_1):
16261 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
16263 2000-02-10 Martin Buchholz <martin@xemacs.org>
16265 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
16266 Include strings.h to avoid warnings for bzero and strcasecmp.
16268 2000-02-10 Olivier Galibert <galibert@pobox.com>
16270 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
16271 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
16273 * fns.c (size_bit_vector): New. Declare bit vectors as a
16276 2000-02-10 Olivier Galibert <galibert@pobox.com>
16278 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
16279 use a value field instead.
16280 (symbol_value_forward_forward): Use value field.
16281 (DEFVAR_SYMVAL_FWD): Use value field.
16282 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
16283 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
16284 (DEFVAR_CONST_INT): Ditto.
16285 (DEFVAR_BOOL): Ditto.
16286 (DEFVAR_CONST_BOOL): Ditto.
16287 (DEFVAR_INT_MAGIC): Ditto.
16288 (DEFVAR_BOOL_MAGIC): Ditto.
16290 * symbols.c (guts_of_unbound_marker): Use value field.
16291 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
16292 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
16294 * lisp.h: Declare dumpopaque and noninteractive1.
16296 * alloc.c (dumpopaque): Added.
16297 (pdump_dump_opaquevec): Added.
16298 (pdump): Call pdump_dump_opaquevec to dump opaque data.
16299 (pdump_load): Reload opaque data. Sync noninteractive1 with
16302 2000-02-10 Andy Piper <andy@xemacs.org>
16304 * glyphs.c (image_instance_layout): if the size changes, mark it
16307 * redisplay-output.c (redisplay_output_layout): Update the
16309 (redisplay_output_subwindow): ditto.
16311 * glyphs.c (update_subwindow): make sure we reset flags for
16312 layouts as well as everything else.
16314 * glyphs-widget.c (layout_layout): don't need to set the instances
16317 2000-02-09 Martin Buchholz <martin@xemacs.org>
16319 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
16320 not HAVE_DLOPEN, which is a lower-level thing.
16322 * .cvsignore: Ignore gmon.out
16324 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
16326 * .cvsignore: Ignore portable dumper xemacs.dmp file
16328 2000-02-09 Andy Piper <andy@xemacs.org>
16330 * redisplay-output.c (redisplay_output_layout): be more clever
16331 about when we output based on the changed flags.
16333 * glyphs.h (struct image_instantiator_methods): add update_method.
16334 (struct Lisp_Image_Instance): add changed flags. Declare new
16335 macros for manipulating them.
16337 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
16338 (image_instance_parent_glyph): find an image_instance's parent
16339 glyph or image_instance.
16340 (image_instance_layout): mark the size as changed.
16341 (set_image_instance_dirty_p): new function. mark an image
16342 instance, plus all of its parents, as dirty.
16343 (Fset_image_instance_property): use it.
16344 (Fglyph_animated_timeout_handler): use it.
16345 (update_subwindow): call update_widget and device methods for
16346 update_subwindow. Mark all changed flags as clean.
16347 (Fresize_subwindow): mark size as changed.
16349 * glyphs-x.c (x_finalize_image_instance): try and detect gc
16351 (x_update_subwindow): only resize subwindows here.
16352 (x_update_widget): new function. Update all changed properties of
16354 (x_resize_subwindow): deleted.
16355 (x_widget_set_property): deleted.
16356 (x_progress_gauge_set_property): deleted.
16357 (x_progress_gauge_update): new function. Implement recorded
16359 (x_tab_control_update): ditto.
16360 (x_tab_control_set_property): deleted.
16361 (console_type_create_glyphs_x): declare new functions.
16362 (image_instantiator_format_create_glyphs_x): ditto.
16364 * glyphs-widget.c (widget_set_property): mark text changed.
16365 (update_widget): new function. Update properties of a widget.
16366 (widget_instantiate): for layouts make sure we set their
16367 children's parent correctly.
16368 (tab_control_set_property): new function. Record changes that will
16369 take place under redisplay's control.
16370 (progress_gauge_set_property): ditto.
16371 (image_instantiator_progress_guage): declare new functions.
16372 (image_instantiator_tab_control): ditto.
16374 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
16376 (mswindows_update_widget): new function. Update all properties on
16377 a widget that have changed.
16378 (mswindows_button_update): new function. Update a button's set
16380 (mswindows_tab_control_update): new function. Update the items in
16382 (mswindows_tab_control_set_property): deleted.
16383 (mswindows_progress_gauge_update): new function. Update the
16384 progress gauge's progress.
16385 (mswindows_widget_set_property): deleted. This is all done
16386 asynchronously now.
16387 (mswindows_progress_gauge_set_property): ditto.
16388 (console_type_create_glyphs_mswindows): declare new methods.
16389 (image_instantiator_format_create_glyphs_mswindows): ditto.
16391 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
16392 (msprinter_set_frame_properties): ditto.
16394 * console.h (struct console_methods): Add update_widget_method.
16396 2000-02-09 Andy Piper <andy@xemacs.org>
16398 * gui-msw.c (Fmswindows_shell_execute): Make
16399 mswindows-shell-execute industrial strength.
16401 2000-02-08 Martin Buchholz <martin@xemacs.org>
16403 * lrecord.h: Make macro argument `props' match member function `plist'.
16406 * fns.c (Fremprop):
16407 * fns.c (Fobject_plist):
16410 Object property list frobbing cleanup.
16411 - Allow any lisp object (compared with `eq'), not just symbols, as
16412 keys in object plists.
16413 - Move symbol plist frobbing into symbols.c, where it belongs.
16414 - Move string plist frobbing into alloc.c, where it belongs.
16415 - Everything's an lrecord now, so no need to test for symbolp, etc.
16416 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
16418 * extents.c: Reorder code to remove declarations.
16420 * frame.h (store_in_alist): Remove useless declaration.
16422 2000-02-07 Martin Buchholz <martin@xemacs.org>
16424 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
16425 * config.h.in: Add HAVE_XCONVERTCASE.
16427 2000-02-07 Andy Piper <andy@xemacs.org>
16429 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
16430 it breaks many things.
16432 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
16434 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
16435 actually can start a common comment type.
16436 * src/syntax.h (SYNTAX_END_P): ditto for end.
16438 2000-02-07 Martin Buchholz <martin@xemacs.org>
16440 * XEmacs 21.2.28 is released.
16442 2000-02-06 Martin Buchholz <martin@xemacs.org>
16444 * event-Xt.c (x_keysym_to_character): New.
16445 (maybe_define_x_key_as_self_inserting_character): New.
16446 (x_has_keysym): New.
16447 Auto-define all keys on the keyboard as self-insert-key.
16449 2000-02-02 Martin Buchholz <martin@xemacs.org>
16451 * menubar.c (vars_of_menubar): A small code simplification.
16453 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
16456 * ExternalClient.c:
16457 * EmacsShell-sub.c:
16460 Use consistent style for specifying X resources.
16462 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
16463 This makes (dontusethis-set-symbol-value-handler) actually usable.
16465 * lrecord.h (lrecord_decription_type):
16466 * alloc.c (pdump_register_sub):
16469 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
16470 Comply with XEmacs coding style.
16471 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
16472 args, and XD_LISP_OBJECT_ARRAY with 3 args.
16474 * keymap.c (Faccessible_keymaps):
16475 Make (accessible-keymaps map "\C-h") do the Right Thing.
16476 Make (accessible-keymaps map []) do the Right Thing.
16477 Make (accessible-keymaps map "") do the Right Thing.
16478 (check_keymap_definition_loop): New function.
16479 (keymap_store_internal): Keep luser from shooting self in foot,
16480 via (define-key ctl-x-4-map "p" global-map).
16481 Remove fullness slot from struct Lisp_Keymap, since hash tables
16483 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
16485 2000-01-30 Martin Buchholz <martin@xemacs.org>
16487 * redisplay.c (init_redisplay): Fix small memory leak.
16489 * elhash.c (pdump_reorganize_hash_table):
16490 Rename from reorganize_hash_table. Change prototype.
16491 Reuse the original memory for hentries. Save 100k.
16492 * alloc.c (PDUMP_READ): new macro.
16493 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
16494 * alloc.c: No need to #ifndef before #undef.
16496 * print.c: Allow debug_print() to print readably by modifying
16497 debug_print_readably. Use consistent variable names.
16499 * .dbxrc: Try to get things to work even if stopped in a function
16500 without source available by explicitly specifying source files.
16501 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16503 * unexnt.c (_start): Removed bogus code which caused loading heap
16504 from differrent executable file.
16505 Removed bogus assignment to _fmode, which caused inconsistencies.
16507 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16509 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
16510 Have spawnve encapsulation regard DONT_ENCAPSULATE.
16511 Do not preliminary `#define signal sigset'.
16513 * systime.h: Do not prototype environ on windows nt and cygwin,
16514 this conflicts with system header.
16516 * syssignal.h: Use correct define for WINDOWSNT
16518 * sysdep.h: Do not prototype environ on windows nt, this conflicts
16519 with system header.
16521 * sysdep.c (near start of file): Fixed commentary and rearranged
16522 ifdefs in readable order.
16523 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
16526 (end_of_data): Do not compile in if using PDUMP.
16528 * symsinit.h: Prototyped vars_of_nt().
16530 * ntproc.c (windows9x_p): Added, instead of os_subtype.
16531 (find_child_console): Use it.
16532 (sys_kill): Use it.
16534 * ntheap.h: Do not extern os_subtype.
16536 * ntheap.c (cache_system_info): Do not cache unneeded:
16537 nt_major_version, nt_minor_version and os_subtype.
16538 (recreate_heap): Do not compile in when PDUMPing.
16540 * nt.c (geteuid and friends): Use the new varibale
16541 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
16542 (init_user_info): Removed the above mentioned hackery.
16543 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
16544 stat has been fixed in the C runtime.
16545 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
16547 * file-coding.c (struct file_coding_dump): Do not define
16548 ucs_to_mule_table in the struct if not MULE.
16549 (struct struct lrecord_description fcd_description_1): Do not dump
16552 * emacs.c (main_1): Call vars_of_nt().
16553 (right before Fdump_emacs_data): Don't need lastfile if using both
16554 portabe dumper and system malloc.
16556 * alloc.c (Fmemory_limit): Conditionalized out.
16557 (pdump): Use OPEN_BINARY for the portable dump file.
16558 (pdump_load): Ditto.
16560 2000-02-02 Mike Alexander <mta@arbortext.com>
16562 * nt.c (convert_time): Set tm_isdst before calling mktime and
16563 avoid calling it at all if the compiler supports 64 bit integers.
16564 Also initialize utc_base_ft before using it.
16566 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
16568 * frame.c (change_frame_size_1): Take f->internal_border_width
16569 into consideration when calculating the width of the frame.
16571 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16573 * window.c (frame_min_height):
16574 (frame_size_valid_p):
16575 (frame_pixsize_valid_p): Added.
16576 (check_frame_size): Generalized.
16578 * window.h: Prototyped the above.
16581 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
16582 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
16583 Deleted Vwin32_* and Vbinary_process_* unused variables.
16585 * device-msw.c (msprinter_init_device): Do not get printer font
16586 list; Added DEVMODE functions.
16588 * frame-msw.c: Added lots of printer code.
16590 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
16593 * console-msw.h: Added more msprinter device private slots.
16595 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16597 * event-msw.c (key_needs_default_processing_p): Added.
16598 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
16600 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16602 * glyphs.c (image_instance_layout): Mark image instance as clean
16604 (glyph_dirty_p): Removed redundant function.
16605 (invalidate_glyph_geometry_maybe): Added.
16606 (update_glyph_cachel_data): Call it.
16608 * glyphs.h: Prototyped it.
16610 * redisplay.c (add_glyph_rune): Call it.
16611 (redisplay_window): Reset glyphs cachels when frame faces have
16612 changed, thus forcing recomputation of built-in border glyphs.
16614 2000-01-30 Martin Buchholz <martin@xemacs.org>
16616 * Makefile.in.in: Make portable dumper and purify play well together.
16617 Add imperfect, but better than nothing, support for pdump.
16618 Remove xemacs.dmp when temacs is re-generated.
16619 Don't ignore errors when dumping xemacs.
16621 * symbols.c (maybe_call_magic_handler): Remove one magic number.
16623 2000-01-28 Andy Piper <andy@xemacs.org>
16625 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
16626 (setup_normal_frame): ditto.
16627 (setup_frame_without_minibuffer): ditto.
16628 (setup_minibuffer_frame): ditto.
16629 (delete_frame_internal): ditto.
16630 (Fmake_frame_invisible): ditto.
16631 (Ficonify_frame): ditto.
16633 * window.h: change Fset_window_buffer signature.
16635 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
16636 (Fset_window_buffer): allow recording of buffer if the window is
16637 the selected window.
16638 (window_loop): Use new Fset_window signature.
16640 2000-01-23 Daniel Pittman <daniel@danann.net>
16642 * config.h.in: Added template for `HAVE_ATHENA_3D'
16644 2000-01-29 Andy Piper <andy@xemacs.org>
16646 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
16648 * gutter.c (output_gutter): Don't output if the window isn't live.
16650 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16652 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
16653 of 01/12/00: Moved SetFocus back here where it belongs.
16655 2000-01-23 Andy Piper <andy@xemacs.org>
16657 * s/cygwin32.h: declare printer things.
16659 2000-01-26 Andy Piper <andy@xemacs.org>
16661 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
16664 2000-01-24 Andy Piper <andy@xemacs.org>
16666 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
16667 (mswindows_button_instantiate): Make sure glyph is a pixmap.
16669 * glyphs-widget.c (widget_instantiate): Avoid shadows.
16671 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
16673 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
16675 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
16676 (mswindows_output_display_block): Avoid local shadows.
16678 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
16679 (mswindows_enqueue_mouse_button_event): ditto.
16680 (mswindows_handle_gui_wm_command): remove declaration.
16682 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
16685 * console-msw.h: Avoid shadows.
16686 (mswindows_get_toolbar_button_text):
16687 (emacs_mswindows_create_stream_pair):
16688 (emacs_mswindows_delete_stream_pair):
16689 (mswindows_handle_toolbar_wm_command): declare.
16691 * device-msw.c (build_syscolor_string): Avoid shadows.
16693 2000-01-23 Andy Piper <andy@xemacs.org>
16695 * glyphs-widget.c (widget_instantiate): reverse the items for
16696 layouts so that children are in the expected order.
16698 2000-01-28 Martin Buchholz <martin@xemacs.org>
16700 * ralloc.c: safe_bcopy ==> memmove
16701 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
16702 * s/msdos.h: Remove BCOPY macros.
16703 * insdel.c (gap_right): Remove BCOPY conditional code.
16704 * insdel.c (gap_left): Remove BCOPY conditional code.
16705 XEmacs demands a working ANSI C compiler - hence memmove.
16707 * regex.c (regex_compile): Remove accidental use of trigraphs.
16709 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16711 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
16714 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16716 * event-msw.c (mswindows_drain_windows_queue): Added the
16718 (mswindows_need_event): Commented the call to
16719 mswindows_drain_windows_queue().
16720 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
16723 * console-msw.h: Moved a few function prototypes here from
16726 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
16727 parameter from unsigned short to unsigned long.
16728 (Fmswindows_shell_execute): Added return value.
16730 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
16732 * sysdep.c (init_system_name):
16733 process-unix.c (unix_canonicalized_host_name):
16734 Don't call freeaddrinfo() if getaddrinfo() fails.
16736 * process-unix.c (unix_open_unix_network_stream):
16737 Moved the code to get a port # into address loop.
16739 2000-01-27 Martin Buchholz <martin@xemacs.org>
16741 * buffer.c (reinit_vars_of_buffer):
16742 The right place to initialize conversion_in_dynarr and
16743 conversion_out_dynarr.
16745 * alloc.c (pdump): Use the real open() till sys_open() is functional.
16747 * process-unix.c (unix_canonicalize_host_name): Muleize.
16748 (unix_open_network_stream): Muleize.
16750 * buffer.h: Fix up prototypes for ralloc.c functions.
16752 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
16753 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
16754 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
16755 instead of gethostbyname()
16756 * process-unix.c: In unix_canonicalize_host_name() and
16757 unix_open_network_stream(), add code to use getaddrinfo()
16758 instead of gethostbyname().
16760 2000-01-27 Daniel Pittman <daniel@danann.net>
16762 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
16763 libs when built with flat Athena.
16765 2000-01-27 Martin Buchholz <martin@xemacs.org>
16767 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
16768 Use coding standards for function prototypes.
16770 2000-01-25 Martin Buchholz <martin@xemacs.org>
16772 * dialog-msw.c (push_lisp_string_as_unicode):
16773 * doc.c (unparesseuxify_doc_string):
16774 * dired.c (Fuser_name_completion_1):
16775 * dired.c (Fuser_name_all_completions):
16776 * dired.c (free_user_cache):
16777 * dired.c (user_name_completion):
16778 * console-x.c (get_display_arg_connection):
16779 * minibuf.c (clear_echo_area_internal):
16780 * minibuf.c (echo_area_append):
16781 * eldap.c (Fldap_open):
16782 * eldap.c (Fldap_search_internal):
16783 * frame-x.c (x_set_frame_text_value):
16784 * frame-x.c (x_set_frame_properties):
16785 * frame-x.c (x_create_widgets):
16786 * redisplay-tty.c (term_get_fkeys_1):
16787 * objects-x.c (x_parse_nearest_color):
16788 * objects-x.c (x_valid_color_name_p):
16789 * objects-x.c (x_initialize_font_instance):
16790 * objects-x.c (x_list_fonts):
16791 * objects-x.c (x_find_charset_font):
16792 * tooltalk.c (Fadd_tooltalk_message_arg):
16793 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
16794 * tooltalk.c (Fadd_tooltalk_pattern_arg):
16795 * process-unix.c (unix_create_process):
16796 * ntproc.c (sys_spawnve):
16797 * sound.c (Fplay_sound_file):
16798 * sound.c (Fplay_sound):
16799 * buffer.c (init_initial_directory):
16800 * buffer.c (init_buffer):
16801 * editfns.c (init_editfns):
16802 * editfns.c (Ftemp_directory):
16803 * editfns.c (Fuser_full_name):
16804 * editfns.c (uncache_home_directory):
16805 * editfns.c (get_home_directory):
16806 * editfns.c (Fuser_home_directory):
16807 * editfns.c (Fformat_time_string):
16808 * editfns.c (Fcurrent_time_string):
16809 * gui-x.c (button_item_to_widget_value):
16810 * database.c (Fopen_database):
16811 * event-Xt.c (x_to_emacs_keysym):
16812 * event-Xt.c (x_event_to_emacs_event):
16813 * event-Xt.c (describe_event_window):
16814 * event-msw.c (mswindows_wnd_proc):
16815 * glyphs-eimage.c (jpeg_instantiate):
16816 * glyphs-eimage.c (gif_instantiate):
16817 * glyphs-eimage.c (png_instantiate):
16818 * glyphs-eimage.c (tiff_instantiate):
16819 * glyphs-x.c (xbm_instantiate_1):
16820 * glyphs-x.c (x_xbm_instantiate):
16821 * glyphs-x.c (x_xface_instantiate):
16822 * glyphs-x.c (autodetect_instantiate):
16823 * glyphs-x.c (cursor_font_instantiate):
16824 * glyphs-x.c (x_widget_instantiate):
16825 * glyphs-x.c (x_widget_set_property):
16826 * glyphs-x.c (x_widget_property):
16827 * glyphs-x.c (BUILD_GLYPH_INST):
16828 * print.c (write_string_to_stdio_stream):
16829 * print.c (output_string):
16830 * print.c (Falternate_debugging_output):
16831 * print.c (Fexternal_debugging_output):
16832 * glyphs-msw.c (extract_xpm_color_names):
16833 * glyphs-msw.c (mswindows_xpm_instantiate):
16834 * glyphs-msw.c (bmp_instantiate):
16835 * glyphs-msw.c (resource_name_to_resource):
16836 * glyphs-msw.c (mswindows_resource_instantiate):
16837 * glyphs-msw.c (xbm_instantiate_1):
16838 * glyphs-msw.c (mswindows_xbm_instantiate):
16839 * glyphs-msw.c (mswindows_xface_instantiate):
16840 * glyphs-msw.c (mswindows_widget_instantiate):
16841 * glyphs-msw.c (add_tree_item):
16842 * glyphs-msw.c (add_tab_item):
16843 * glyphs-msw.c (mswindows_combo_box_instantiate):
16844 * glyphs-msw.c (mswindows_widget_property):
16845 * glyphs-msw.c (mswindows_combo_box_property):
16846 * glyphs-msw.c (mswindows_widget_set_property):
16847 * console.c (stuff_buffered_input):
16848 * objects-msw.c (mswindows_initialize_color_instance):
16849 * objects-msw.c (mswindows_valid_color_name_p):
16850 * objects-msw.c (mswindows_list_fonts):
16851 * objects-msw.c (mswindows_font_instance_truename):
16852 * bytecode.c (optimize_compiled_function):
16853 * select-x.c (symbol_to_x_atom):
16854 * select-x.c (x_atom_to_symbol):
16855 * select-x.c (hack_motif_clipboard_selection):
16856 * select-x.c (selection_data_to_lisp_data):
16857 * select-x.c (lisp_data_to_selection_data):
16858 * select-x.c (Fx_get_cutbuffer_internal):
16859 * select-x.c (Fx_store_cutbuffer_internal):
16860 * buffer.h (TO_EXTERNAL_FORMAT): New function.
16861 * buffer.h (TO_INTERNAL_FORMAT): New function.
16862 * emacs.c (make_arg_list_1):
16863 * emacs.c (make_argc_argv):
16864 * emacs.c (main_1):
16865 * emacs.c (Fdump_emacs):
16866 * emacs.c (split_string_by_emchar_1):
16871 * device-x.c (x_init_device):
16872 * device-x.c (Fx_valid_keysym_name_p):
16873 * device-x.c (Fx_get_font_path):
16874 * device-x.c (Fx_set_font_path):
16875 * glyphs.c (bitmap_to_lisp_data):
16876 * glyphs.c (pixmap_to_lisp_data):
16877 * alloc.c (make_ext_string): Use coding system arguments. Update
16879 * alloc.c (build_string):
16880 * callproc.c (child_setup):
16881 * callproc.c (init_callproc):
16882 * fileio.c (lisp_strerror):
16883 * fileio.c (directory_file_name):
16884 * fileio.c (Fexpand_file_name):
16885 * fileio.c (Ffile_truename):
16886 * fileio.c (Fsysnetunam):
16887 * fileio.c (Fdo_auto_save):
16888 * sysdep.c (sys_readdir):
16889 * tests.c: New file. Allow adding C tests.
16890 Replace GET_* macros with a more comprehensible and flexible
16891 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
16893 Any coding system can be used to do format conversion.
16894 Eliminate enum external_data_format.
16895 Eliminate convert_to_external_format.
16896 Eliminate convert_to_internal_format.
16897 Make sure file-name, keyboard, terminal, and ctext are always
16898 defined as coding systems or aliases. Make
16899 file-name-coding-system, terminal-coding-system, and
16900 keyboard-coding-system magical variables that are equivalent to
16901 defining the corresponding coding system aliases.
16903 * file-coding.c (Fcoding_system_canonical_name_p): New function.
16904 * file-coding.c (Fcoding_system_alias_p): New function.
16905 * file-coding.c (Fcoding_system_aliasee): New function.
16906 * file-coding.c (append_suffix_to_symbol): New function.
16907 * file-coding.c (dangling_coding_system_alias_p): New function.
16908 * file-coding.c (Ffind_coding_system):
16909 * file-coding.c (Fcopy_coding_system):
16910 * file-coding.c (encode_coding_no_conversion):
16911 * file-coding.c (syms_of_file_coding):
16912 * file-coding.c (vars_of_file_coding):
16913 Rewrite coding system alias code.
16914 Allow nested aliases, like symbolic links.
16915 Allow redefinition of coding system aliases.
16916 Prevent existence of dangling coding system aliases.
16918 * dired.c (Fuser_name_completion_1):
16919 * dired.c (Fuser_name_all_completions):
16920 A crash would happen if user did QUIT in the middle of building
16921 user_name_cache. Remove redundant code in mainline and unwind_protect.
16924 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
16926 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
16927 an unsigned char *. Update all callers.
16929 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16931 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
16933 2000-01-25 Martin Buchholz <martin@xemacs.org>
16935 * elhash.c (hentry_description): Use more portable definition.
16936 (resize_hash_table): Initialize new hentries using
16937 xnew_array_and_zero, thereby simplifying the code.
16939 * mule-charset.c (make_charset): Make sure entire object is
16940 initialized, to avoid Purify warnings.
16942 * alloc.c (resize_string): Fix unlikely crash with big strings.
16944 2000-01-24 Martin Buchholz <martin@xemacs.org>
16946 * realpath.c (xrealpath):
16947 Don't call getwd().
16949 2000-01-25 Martin Buchholz <martin@xemacs.org>
16951 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
16953 1999-12-28 Max Matveev <max@melbourne.sgi.com>
16955 * unexelfsgi.c (unexec): Change the way we decide which segment
16956 should be extended.
16958 Assumption that .bss section should be outside the PT_LOADable
16959 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
16960 it's present) is inside the 'data' segment. This would fail the
16961 test which was used to find a segment to grow and cover new
16962 heap. Instead of this assumption, I created another one - on IRIX
16963 the segment to grow should start below .bss and it's address
16964 should extent above the end of .bss. Once this segment is
16965 identified, it's grown to accommodate the new heap and new
16966 zero-length .bss section is added at the end of .data2.
16968 2000-01-25 Martin Buchholz <martin@xemacs.org>
16970 * eval.c (Feval): Wrong number of arguments should use original
16971 function, not the indirect_function version of it.
16973 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
16975 * glyphs-x.c (x_button_instantiate): Don't add image if
16976 it is not a pixmap.
16977 (x_locate_pixmap_file): Call Fexpand_file_name when file name
16980 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
16982 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
16984 (DEFVAR_INT_MAGIC): Ditto.
16985 (DEFVAR_BOOL_MAGIC): Ditto.
16986 * glyphs.h: Reindent backslash.
16988 2000-01-24 Martin Buchholz <martin@xemacs.org>
16990 * glyphs-widget.c (layout_query_geometry):
16991 (layout_layout): Use correct types for gheight, gwidth.
16993 2000-01-24 Martin Buchholz <martin@xemacs.org>
16995 * EmacsManager.c (QueryGeometry): Purified.
16997 2000-01-23 Martin Buchholz <martin@xemacs.org>
16999 * alloc.c (make_float): Make sure entire object is initialized, to
17000 avoid Purify warnings.
17001 (pdump_register_sub): Remove useless assignment.
17002 (pdump): Use xmalloc, not malloc.
17003 (pdump_load): Use xmalloc, not malloc.
17005 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17012 * sysdep.c: Removed redundant #include <windows.h>
17014 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17016 * frame.c (delete_frame_internal): Do not delete device when its
17017 implementation so declares.
17018 (delete_frame_internal): Set device selected frame to nil when
17019 last frame goes away.
17021 * device-msw.c (msprinter_device_system_metrics): Implemented.
17022 (mswindows_device_system_metrics): Added 'device-dpi property.
17024 * device.c: (Fdevice_printer_p): Added.
17025 Added 'offset-workspace device metric.
17027 * console.h (device_metrics): Declared DM_offset_workspace.
17029 2000-01-23 Martin Buchholz <martin@xemacs.org>
17031 * fileio.c (Ffile_truename): Remove pointless and confusing
17032 initialization of elen.
17034 * glyphs-widget.c: Compiler warning fixes.
17036 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
17038 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
17039 instead of a Lisp_Object as argument to make it consistent with
17040 the other LIVE_P macros.
17041 (CHECK_LIVE_PROCESS): New macro.
17043 * process.c: Declare Qprocess_live_p.
17044 (Fprocess_live_p): New function.
17045 (create_process): Use PROCESS_LIVE_P.
17046 (read_process_output): Ditto.
17047 (set_process_filter): Ditto.
17048 (Fdelete_process): Ditto.
17049 (kill_buffer_processes): Ditto
17050 (process_send_signal): Use CHECK_LIVE_PROCESS.
17051 (Fprocess_input_coding_system): Check whether process is still
17052 alive (fix PR#1061).
17053 (Fprocess_output_coding_system): Ditto.
17054 (Fprocess_coding_system): Ditto.
17055 (Fset_process_input_coding_system): Ditto.
17056 (Fset_process_output_coding_system): Ditto.
17058 2000-01-23 Andy Piper <andy@xemacs.org>
17060 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
17063 * glyphs.c (mark_image_instance): take into account changed
17064 image_instance format.
17065 (image_instance_equal): ditto.
17066 (image_instance_hash): ditto.
17068 * glyphs-widget.c (widget_instantiate): Incorporate layout
17069 instantiation here. Delay layout of the layout until later.
17070 (layout_instantiate): deleted.
17071 (layout_query_geometry): new function. get the geometry of a
17073 (layout_layout): layout a layout dynamically.
17074 (image_instantiator_widget): New function - splitting up
17075 image_instantiator_format_create_glyphs_widget for netwinder
17077 (image_instantiator_buttons):
17078 (image_instantiator_edit_fields):
17079 (image_instantiator_combo_box):
17080 (image_instantiator_scrollbar):
17081 (image_instantiator_progress_guage):
17082 (image_instantiator_tree_view):
17083 (image_instantiator_tab_control):
17084 (image_instantiator_labels):
17085 (image_instantiator_layout): ditto.
17086 (image_instantiator_format_create_glyphs_widget): Call preceding
17089 2000-01-22 Martin Buchholz <martin@xemacs.org>
17091 * process.c (Fset_process_coding_system):
17092 * device-x.c (Fx_keysym_hash_table):
17095 * lstream.c (Lstream_write): Return documented value, not 0.
17097 * fileio.c (directory_file_name):
17098 (Fsubstitute_in_file_name):
17099 (Fsubstitute_insert_file_contents_internal):
17100 (Fwrite_region_internal):
17105 Remove vestigial APOLLO-conditional code.
17107 2000-01-21 Martin Buchholz <martin@xemacs.org>
17109 * getpagesize.h: Add guard macros.
17110 * libsst.h: Add guard macros.
17111 * libst.h: Add guard macros.
17112 * line-number.h: Add guard macros.
17113 * ndir.h: Add guard macros.
17114 * sysfloat.h: Add guard macros.
17115 * sysfile.h: Add guard macros.
17116 * sysproc.h: Add guard macros.
17117 * syswait.h: Add guard macros.
17118 * xintrinsic.h: Add guard macros.
17119 * xintrinsicp.h: Add guard macros.
17120 * xmmanager.h: Add guard macros.
17121 * xmmanagerp.h: Add guard macros.
17122 * xmprimitive.h: Add guard macros.
17123 * xmu.h: Add guard macros.
17124 * gpmevent.h: Add copyright statement. Add guard macros.
17125 * miscplay.h: Add guard macros.
17126 * *.h: Use consistent C-standards-approved guard macro names.
17128 * opaque.c (make_opaque): Switch parameter order.
17129 * opaque.h (make_opaque): Switch parameter order.
17130 Update all callers.
17131 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
17133 * config.h.in (type_checking_assert): Added.
17134 (bufpos_checking_assert): Added.
17136 2000-01-21 Martin Buchholz <martin@xemacs.org>
17138 * alloc.c: Harmless pdump changes.
17140 - spell alignment correctly.
17141 * sysdep.c: Use countof()
17143 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17145 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
17146 initially_selected_for_input() console method, default to 0.
17147 (semi_canonicalize_console_connection): Try to delegate to
17148 canonicalize_console_connection if no such console method.
17149 (canonicalize_console_connection): Vice versa.
17150 (print_console): Do not print nil connection.
17152 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
17153 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
17154 (XDEVIMPF_FRAMELESS_OK): Added.
17155 (CONSOLE_INHERITS_METHOD): Added.
17157 * console-msw.c (mswindows_canonicalize_console_connection):
17159 (mswindows_canonicalize_device_connection): Added.
17161 * console-msw.h (struct msprinter_device): Added this struct and
17163 (mswindows_device): Made fontlist a lisp object.
17165 * device.c (semi_canonicalize_device_connection): Try to delegate
17166 to canonicalize_device_connection if no such console method.
17167 (canonicalize_device_connection): Vice versa.
17168 (print_device): Do not print nil connection.
17170 * device-msw.c (mswindows_init_device): Call InitCommonControls
17172 (mswindows_delete_device): Removed fontlist deallocation.
17173 (mswindows_mark_device): Added.
17175 * events.c (event_equal): Added abort() at unreached code.
17176 (event_hash): Ditto.
17178 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
17179 fallback tags of Windows devices.
17181 * general.c (syms_of_general): Initialized Qmsprinter.
17183 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
17184 of fallback tags of Windows devices.
17186 * lisp.h: Declared Qmsprinter.
17188 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
17190 (mswindows_list_fonts): Ditto.
17191 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
17192 that it can be used by both mswindows and msprinter devices.
17193 (initialize_font_instance): Added.
17194 (mswindows_initialize_font_instance): Use it.
17195 (msprinter_initialize_font_instance): Added.
17197 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
17198 and implementation flags check.
17199 (redisplay_without_hooks): Changed the call to the above.
17200 (Fredraw_device): Ditto.
17201 (Fredisplay_device): Ditto.
17203 * redisplay-msw.c (get_frame_dc): Implemented.
17204 (get_frame_compdc): Implemented.
17205 (many functions): Use the two functions above to get device
17206 contexts, ether for a window or a printer.
17208 2000-01-21 Olivier Galibert <galibert@pobox.com>
17210 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
17211 initialization here.
17212 (init_symbols_once_early): Call it.
17213 * emacs.c (main_1): Call it.
17214 * symsinit.h: Declare it.
17216 2000-01-19 Olivier Galibert <galibert@pobox.com>
17218 * alloc.c: Use a lrecord_header * in the backtrace instead of a
17220 (pdump_backtrace): Ditto.
17221 (pdump_register_object): Ditto. Cleanup use of the pointers.
17222 (pdump_get_entry): Abort if trying to register a null pointer.
17223 (pdump_dump_data): Cleanup types when relocating.
17224 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
17225 (pdump_dump_rtables): Remove bad casts.
17226 (pdump_load): Cleanup relocation w.r.t union type. Use a
17227 Lisp_Object instead of a EMACS_INT for the hashtable
17230 2000-01-20 Martin Buchholz <martin@xemacs.org>
17232 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
17234 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
17236 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
17238 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
17240 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17242 * faces.h (FACE_STRIKETHRU_P): Added.
17244 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
17247 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
17248 (mswindows_set_dc_font): New function, aware of font variants,
17249 separated from mswindows_update_dc.
17251 * objects-msw.h (struct mswindows_font_instance_data): Added
17254 * objects-msw.c (mswindows_finalize_font_instance): Delete all
17255 cached fonts and the data structure.
17256 (mswindows_initialize_font_instance): Added creation of font data
17258 (mswindows_print_font_instance): Print at least something.
17259 (mswindows_create_font_variant): Implemented.
17260 (mswindows_get_hfont): Implemented.
17262 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
17264 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
17265 prototyping problem with msvc.
17267 * emacs.c (main_1): added syms_of_gui_mswindows() call
17269 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
17270 syms_of_gui_mswindows() function
17272 * symsinit.h: added the prototype for syms_of_gui_mswindows()
17274 2000-01-18 Martin Buchholz <martin@xemacs.org>
17276 * XEmacs 21.2.27 is released.
17278 2000-01-18 Martin Buchholz <martin@xemacs.org>
17280 * glyphs-eimage.c (struct tiff_error_struct):
17282 (tiff_warning_func):
17283 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
17288 * unexec.c: Remove vestigial Lucid C code.
17292 * libsst.c: Ansify.
17293 Remove declarations of errno and strerror().
17295 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
17297 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
17299 2000-01-16 Martin Buchholz <martin@xemacs.org>
17301 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
17304 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17309 Change enum eol_type to eol_type_t.
17311 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17313 * gui.c (get_gui_callback): Check cons before accessing car.
17315 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17317 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
17318 (XSETSPECIFIER_TYPE): Ditto.
17320 2000-01-17 Didier Verna <didier@xemacs.org>
17322 * redisplay.c (generate_fstring_runes): compute string size in
17323 characters, not bytes.
17325 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
17327 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
17329 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
17331 * print.c (print_error_message): Call print_prepare().
17333 2000-01-14 Martin Buchholz <martin@xemacs.org>
17335 * .dbxrc: Renamed from dbxrc.
17337 * events.c (event_to_character):
17338 Use `assert (foo)' instead of `if (!foo) abort()'
17340 * .gdbinit (xtype): Add documentation.
17341 * .gdbinit (check-temacs): New function.
17342 * .gdbinit (check-xemacs): New function.
17343 * dbxrc (check-xemacs): New function.
17344 * dbxrc (check-xemacs): New function.
17346 2000-01-14 Andy Piper <andy@xemacs.org>
17348 * glyphs-widget.c (widget_query_geometry): Make sure that we
17349 calculate default dimensions correctly.
17351 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17353 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
17355 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
17356 pdump_wire'd variable.
17358 * emacs.c: (main_1): Conditionalized calls to
17359 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
17361 2000-01-13 Martin Buchholz <martin@xemacs.org>
17363 * window.c (Fset_window_configuration):
17364 * sysdep.c (_start):
17365 * input-method-motif.c (res):
17366 * event-Xt.c (Xt_process_to_emacs_event):
17367 Simple compiler warning fixes.
17369 * bytecode.c (funcall_compiled_function): Use the original
17370 function symbol on the backtrace list in preference to the
17371 compiled_function object in error messages.
17373 2000-01-13 Andy Piper <andy@xemacs.org>
17375 * glyphs-x.c (update_widget_face): Make sure we update the widget
17376 background as well as foreground.
17378 2000-01-13 Andy Piper <andy@xemacs.org>
17380 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
17381 fields to subwindow.
17382 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
17383 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
17384 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
17385 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
17387 * glyphs-widget.c (check_valid_tab_orientation): new function.
17388 (initialize_widget_image_instance): zero orientation and
17390 (widget_instantiate): pick up orientation.
17391 (tab_control_query_geometry): return appropriate values for
17394 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
17395 appropriate creation flags for left, right and bottom tabs.
17397 * s/cygwin32.h: add tab definitions.
17399 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17401 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
17402 frame upon hiding a subwindow.
17403 (mswindows_button_instantiate): Changed the push button style to
17405 (mswindows_button_instantiate): Removed button BS_NOTIFY
17407 (mswindows_button_instantiate): Removed redundant check for
17408 a disabled gui item.
17409 (mswindows_button_instantiate): Made use of WS_TABSTOP
17410 consistent: "operable" controls (edit, button, tree, scroll) have
17411 this style, "display-only" ones (static, progress gauge) do
17412 not. This style is currently ignored by XEmacs though. Also,
17413 removed the WS_EX_CONTROLPARENT style - it is not for children,
17414 it is for their parents!
17415 (mswindows_edit_field_instantiate): Ditto.
17416 (mswindows_progress_gauge_instantiate): Ditto.
17417 (mswindows_tree_view_instantiate): Ditto.
17418 (mswindows_tab_control_instantiate): Ditto.
17419 (mswindows_scrollbar_instantiate): Ditto.
17420 (mswindows_combo_box_instantiate): Ditto.
17421 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
17422 style to the "clip" window.
17423 (mswindows_button_instantiate): Removed compilation warning by
17424 equally typing terms of the ?: operator.
17426 2000-01-12 Didier Verna <didier@xemacs.org>
17428 * redisplay.c (generate_fstring_runes): new parameter holding the
17429 last modeline-format extent.
17430 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
17431 extent, fill the glyph block with it.
17432 (generate_fstring_runes): handle these parameters.
17433 (generate_formatted_string_db): ditto.
17435 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
17436 glyphs'extents in the modeline.
17438 1999-01-11 Mike Woolley <mike@bulsara.com>
17440 * ntheap.c: Reduced the reserved heap space from 1Gb down to
17441 256Mb, as a workaround for the non-starting problem many people
17444 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17446 * console-tty.c (Fset_console_tty_output_coding_system):
17447 Force redrawing tty frame.
17449 2000-01-10 Didier Verna <didier@xemacs.org>
17451 * redisplay.c (generate_fstring_runes): fix size computation bug.
17453 2000-01-09 William M. Perry <wmperry@aventail.com>
17455 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
17457 2000-01-09 Andy Piper <andy@xemacs.org>
17459 * glyphs-msw.c: index -> i to avoid shadows.
17460 (xbm_create_bitmap_from_data): make static.
17461 (check_valid_string_or_int): deleted.
17462 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
17464 * glyphs-x.c (x_update_subwindow): remove unused args.
17466 * glyphs.c (glyph_image_instance): return the thing. Don't set the
17467 back pointer - this is done in allocate_image_instance.
17468 (query_string_font): return Qnil to make the compiler happy.
17469 (unmap_subwindow): set to ~0 to make the compiler happy.
17470 (glyph_query_geometry): comment out until used.
17471 (glyph_layout): ditto.
17473 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
17475 * insdel.c (signal_after_change): Remove extraneous unbind_to().