1 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * chartab.c (Qto_decomposition_at_circled): New variable.
4 (put_char_composition): Return `=>decomposition@circled' instead
5 of `=decomposition' for compatibility decomposition mapping tagged
7 (syms_of_chartab): Add new symbol `=>decomposition@circled'.
9 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
11 * chartab.c (Q_subscript_of): New variable.
12 (put_char_composition): Return `<-subscript' instead of
13 `=decomposition' for compatibility mapping to single character
15 (Fput_char_attribute): Convert char-specs in value of
16 `{<-|->}subscript[^*]*' to characters and put reverse links.
17 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
19 (syms_of_chartab): Add new symbol `<-subscript'.
21 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
23 * chartab.c (Q_superscript_of): New variable.
24 (put_char_composition): Return `<-superscript' instead of
25 `=decomposition' for compatibility mapping to single character
27 (Fput_char_attribute): Convert char-specs in value of
28 `{<-|->}superscript[^*]*' to characters and put reverse links.
29 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
31 (syms_of_chartab): Add new symbol `<-superscript'.
33 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
35 * chartab.c (Qto_decomposition_at_compat): Deleted.
36 (Qto_decomposition_at_superscript): New variable.
37 (put_char_composition): Use `=>decomposition@superscript' instead
38 of `=decomposition' for compatibility decomposition mapping tagged
40 (Fput_char_attribute): Fix condition about `put_char_composition'.
41 (syms_of_chartab): Delete builtin symbol `=>decomposition@compat';
42 add news symbol `=>decomposition@superscript'.
44 2005-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
46 * chartab.c (put_char_composition): Return `=>decomposition@FOO'
47 for compatibility decomposition mapping tagged FOO.
48 (Fput_char_attribute): Modify for `put_char_composition'.
50 2005-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
52 * chartab.c (Qto_decomposition_at_compat): New variable.
53 (Q_compat_of): Renamed from `Q_compatibility_of'.
54 (put_char_composition): Rename `Q_compatibility_of' to
55 `Q_compat_of'; return `=>decomposition@compat' for compatibility
56 decomposition mapping.
57 (Fsave_char_attribute_table): Rename `Q_compatibility_of' to
59 (syms_of_chartab): Add new symbol `=>decomposition@compat'; rename
60 `<-compatibility' to `<-compat'.
62 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
64 * chartab.c (Q_compatibility_of): New variable.
65 (put_char_composition): Use XCAR/XCDR instead of Fcar/Fcdr if an
66 object is proved to be a cons cell; return `<-compatibility' if
67 the first element of argument `value' is `compat'.
68 (Fput_char_attribute): Eliminate the first value if
69 `put_char_composition' returns `<-compatibility'.
70 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
71 for `<-compatibility'.
72 (syms_of_chartab): Add new symbol `<-compatibility'.
74 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
76 * chartab.c (Q_canonical): New variable.
77 (put_char_composition): Return a feature name: return
78 `->canonical' if argument `value' specifies single character.
79 (Fput_char_attribute): Use `put_char_composition' to determine
80 feature name for `=decomposition' or `->denotational'.
81 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
83 (syms_of_chartab): Add new symbol `->canonical'.
85 2005-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
87 * chartab.c (Qmap_decomposition): New variable.
88 (Fput_char_attribute): Convert `->decomposition' to
90 (syms_of_chartab): Add new symbol `=decomposition'.
92 2005-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
94 * chartab.c (Fget_range_char_table): Fix serious problem when
97 2005-06-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
99 * chartab.c (char_table_get_db): Use `read_from_c_string'.
101 2005-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
103 * lread.c (read_from_c_string): New function.
105 * lisp.h (read_from_c_string): New prototype.
107 2005-05-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
109 * chartab.c (Fput_char_attribute): Convert char-specs in value of
110 `{<-|->}Oracle-Bones[^*]*' to characters and put reverse links.
111 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
112 for `{<-|->}Oracle-Bones[^*]*'.
114 2005-05-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
116 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.22
119 2005-02-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
121 * text-coding.c (Qccs_priority_list): New variable in XEmacs
123 (Fmake_coding_system): Support new property `ccs-priority-list' in
125 (Fcoding_system_property): Likewise.
126 (char_encode_iso2022): Prefer CODING_SYSTEM_CCS_PRIORITY_LIST than
127 Vdefault_coded_charset_priority_list in XEmacs CHISE.
128 (syms_of_file_coding): Add builtin symbol `ccs-priority-list' in
130 (complex_vars_of_file_coding): Define new coding-system-property
131 `ccs-priority-list' in XEmacs CHISE.
133 * file-coding.h (XCODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
135 2004-12-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
137 * char-ucs.h (decoding_table_put_char): Moved to mule-charset.c;
138 changed to normal function.
139 (encode_char_2): Likewise.
141 * mule-charset.c (decoding_table_put_char): Copied from
142 char-ucs.h; changed to normal function.
143 (encode_char_2): Likewise.
145 2004-12-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
147 * char-ucs.h (Vdisplay_coded_charset_priority_use_inheritance):
149 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
150 (encode_char_2_search_children): New inline function.
151 (encode_char_2): Refer
152 `Vdisplay_coded_charset_priority_use_{inheritance|hierarchy_order}'
153 and use `encode_char_2_search_children'.
155 2004-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
158 (Vdisplay_coded_charset_priority_use_inheritance): New variable.
159 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
160 (vars_of_mule_charset): Add new variable
161 `display-coded-charset-priority-use-inheritance' and
162 `display-coded-charset-priority-use-hierarchy-order'.
164 2004-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
166 * char-ucs.h (Q_subsumptive): New extern.
167 (Q_denotational): Likewise.
168 (encode_char_2): Search children specified by `->subsumptive' and
171 2004-11-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
173 * mule-charset.c (complex_vars_of_mule_charset): Modify the
174 X-registry of `ucs-bmp'.
176 2004-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
178 * chartab.c (char-variants): Refer `->subsumptive',
179 `->denotational' and `->identical' as same as `->ucs-unified'.
181 2004-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
183 * chartab.c (Fput_char_attribute): Convert char-specs in value of
184 `{<-|->}{fullwidth|halfwidth}[^*]*' to characters and put reverse
187 2004-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
189 * text-coding.c: Add EXFUN for `Fregexp_quote'.
190 (decode_add_er_char): Fix problem about infinite loop when a CCS
191 specified in `coded-charset-entity-reference-alist' is not
194 2004-09-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
196 * mule-charset.c (syms_of_mule_charset): Rename
197 `=jis-x0208-{1978|1983|1990}' to `=jis-x0208@{1978|1983|1990}'.
199 2004-08-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
201 * fns.c (simplify_char_spec): Don't allocate new character-object
202 if specified char_spec does not have any CCS-features.
204 * chartab.h: Add EXFUN for Fdefine_char.
206 * chartab.c: Delete EXFUN for Fdefine_char.
208 2004-08-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
210 * fns.c (simplify_char_spec): Use Fdefine_char instead of
211 Ffind_char for char-spec.
213 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
215 * lisp-disunion.h (XCHARVAL): Fix condition about
218 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
220 * mule-charset.c (decode_builtin_char): Use <EMACS_INT> instead of
222 (Fdecode_builtin_char): Use <EMACS_INT> instead of <int> for code
223 point; use <Emchar> instead of <int> for character-id.
225 2004-07-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
227 * lisp-disunion.h (make_int): Cast the argument into <EMACS_INT>.
228 (make_char): Likewise.
229 (XCHARVAL): Don't use the inline function for UTF-2000 in 64 bit
231 (XCHARVAL[for UTF-2000 in 32 bit environment]): Use <Emchar>
232 instead of <int> as the type of return value; use <Lisp_Object>
233 instead of <Emchar> as the type of argument.
234 (XCHARVAL[macro version]): Cast the result into <Emchar>.
236 * syntax.h (SYNTAX_CODE_UNSAFE): Use <Lisp_Object> and <enum
237 syntaxcode> instead of <int>.
239 2004-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
241 * chartab.c (put_char_composition): Use DECODE_CHAR to get
242 character corresponding with UCS code point.
243 (Fput_char_attribute): Likewise.
245 * mule-charset.c (put_char_ccs_code_point): Don't omit a UCS
246 character in the UCS decoding-table if the char-id is not equal to
249 2004-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
251 * mule-charset.c (Fsave_charset_properties): Use `true-name' only
252 for aliases; write `description'; write
253 `mother-code-{min|max|offset|conversion}' if CHARSET_MAX_CODE is
256 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
258 * chartab.c (Fsave_char_attribute_table): Don't use
259 `save_charset_properties'.
261 * mule-charset.c (Fsave_charset_properties): Renamed from
262 `save_charset_properties' and changed to Lisp function again;
263 write property `type' as `CCS'; write properties `final-byte' and
264 `mother' if they exists.
265 (syms_of_mule_charset): Revive builtin function
266 `save-charset-properties' when HAVE_LIBCHISE is defined.
268 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
270 * chartab.c (open_chise_data_source_maybe): Use Vdata_directory
271 instead of Vexec_directory.
272 (char_attribute_system_db_file): Likewise.
274 2004-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
276 * chartab.c (Fsave_char_attribute_table): Use
277 `save_charset_properties' for CCS features when HAVE_LIBCHISE is
280 * mule-charset.c (save_charset_properties): Renamed from
281 `Fsave_charset_properties'; changed to non-Lisp function.
282 (syms_of_mule_charset): Abolish builtin function
283 `save-charset-properties'.
285 2004-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
287 * mule-charset.c (Fsave_charset_properties): New function when
288 HAVE_LIBCHISE is defined.
289 (syms_of_mule_charset): Add new builtin function
290 `save-charset-properties' when HAVE_LIBCHISE is defined.
292 2004-06-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
294 * chartab.c (Fput_char_attribute): Convert char-specs in value of
295 `{<-|->}ancient[^*]*' to characters and put reverse links.
296 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
297 for `{<-|->}ancient[^*]*'.
299 2004-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
301 * chartab.c (Fput_char_attribute): Convert char-specs in value of
302 `{<-|->}original[^*]*' to characters and put reverse links.
303 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
304 for `{<-|->}original[^*]*'.
306 2004-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
308 * mule-canna.c (m2c): Fix problem with XEmacs CHISE.
310 2004-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
312 * mule-charset.c (Qsystem_char_id): New variable.
314 * chartab.c (Qsystem_char_id): Deleted even if HAVE_CHISE is
315 defined and HAVE_LIBCHISE_LIBCHISE is not defined.
317 2004-05-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
319 * chartab.c (Fput_char_attribute): When processing a reference of
320 a character, put into the end of the reversed reference of each
323 2004-05-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
325 * chartab.c (Q_same): Deleted.
326 (Q_same_of): Deleted.
327 (Fput_char_attribute): Use Fstring_match to find `{<-|->}same'.
328 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
330 (syms_of_chartab): Delete builtin symbol `{<-|->}same'.
332 2004-05-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
334 * chartab.c (Q_vulgar): Deleted.
335 (Q_vulgar_of): Deleted.
336 (Fput_char_attribute): Use Fstring_match to find `{<-|->}vulgar'.
337 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
339 (syms_of_chartab): Don't define `{<-|->}vulgar'.
341 2004-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
343 * chartab.c (Fput_char_attribute): Convert char-specs in value of
344 `{<-|->}wrong[^*]*' to characters and put reverse links.
345 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
346 for `{<-|->}wrong[^*]*'.
348 2004-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
350 * chartab.c (Q_vulgar): New variable.
351 (Q_vulgar_of): New variable.
352 (Fput_char_attribute): Convert char-specs in value of
353 `{->|<-}vulgar' to characters and put reverse links.
354 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
356 (syms_of_chartab): Add new symbols `{->|<-}vulgar'.
358 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
360 * text-coding.c (decode_add_er_char): Must to quote prefix string
363 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
365 * mule-charset.c (put_char_ccs_code_point): Store characters of
366 =ucs whose code_points >= 0xF0000.
368 2004-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
370 * mule-charset.c (Vcharset_system_char_id): New variable in XEmacs
372 (syms_of_mule_charset): Add new symbol `system-char-id' in XEmacs
374 (complex_vars_of_mule_charset): Add new coded-charset
375 `system-char-id' in XEmacs CHISE; modify `=ucs' to eliminate
376 builtin characters over 0xEFFFF.
378 * chartab.c (syms_of_chartab): Don't define symbol
379 `system-char-id' in every case.
381 * char-ucs.h (Qsystem_char_id): New extern variable.
382 (LEADING_BYTE_SYSTEM_CHAR_ID): New macro.
384 2004-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
386 * text-coding.c (char_encode_utf8): Try to use entity-references
387 for U-000F0000 ... U-0010FFFF.
389 2004-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
391 * text-coding.c (ER_BUF_SIZE): New macro.
392 (struct decoding_stream): Use `ER_BUF_SIZE' to specify size of
394 (decode_add_er_char): Use `ER_BUF_SIZE' instead of 16.
395 (char_encode_as_entity_reference): Use `ER_BUF_SIZE'.
397 2004-03-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
399 * chartab.c (find_char_feature_in_family): New function.
400 (Fchar_feature): Use `find_char_feature_in_family' with
401 `->identical', `<-subsumptive' and `<-denotational'.
403 2004-03-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
405 * text-coding.c (char_encode_as_entity_reference): Allow prefix
406 within 8 characters; fix infinite loop.
408 2004-03-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
410 * chartab.c (Q_same): New variable.
411 (Q_same_of): New variable.
412 (Fput_char_attribute): Convert char-specs in value of
413 `{->|<-}same' to characters and put reverse links.
414 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
416 (syms_of_chartab): Add new symbols `{->|<-}same'.
418 2004-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
420 * chartab.c (Q_component): New variable.
421 (Q_component_of): Likewise.
422 (Fput_char_attribute): Convert char-specs in value of
423 `{->|<-}ideographic-component-forms' to characters and put reverse
425 (syms_of_chartab): Add new symbols
426 `{->|<-}ideographic-component-forms'.
428 2004-02-24 MORIOKA Tomohiko <tomo@m17n.org>
430 * chartab.c (Q_identical): New variable.
431 (Q_identical_from): New variable.
432 (Fchar_feature): Regard `->identical' as a feature to find
434 (Fput_char_attribute): Add reversed link for `{->|<-}identical'.
435 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
436 for `{->|<-}identical'.
437 (syms_of_chartab): Add new symbols `{->|<-}identical'.
439 2004-02-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
441 * char-ucs.h (encode_char_2): New inline function.
442 (CHAR_TO_CHARC): Use `encode_char_2' instead of `encode_char_1'.
444 2004-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
446 * chartab.c (Fput_char_attribute): Convert char-specs to
447 characters in value of `ideographic-structure'.
448 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
449 for `{<-|->}simplified(@...)'.
450 (Fdefine_char): Try to use predefined character's id.
452 2004-02-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
454 * fns.c (simplify_char_spec): Try to convert builtin chars to
457 2004-02-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
459 * chartab.c (Fput_char_attribute): Convert char-specs in value of
460 `<-simplified[^*]*' to characters and put reverse links.
462 2004-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
464 * chartab.c (Q_subsumptive): Renamed from Q_unified.
465 (Q_subsumptive_from): Renamed from Q_unified_from.
466 (Fchar_feature): Use `Q_subsumptive_from' instead of
468 (Fput_char_attribute): Likewise; Use `Q_subsumptive' instead of
470 (syms_of_chartab): Rename `->unified' to `->subsumptive' and
471 `<-unified' to `<-subsumptive'.
473 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
475 * chartab.c (Fchar_feature): Check `<-denotational' to avoid
476 inheritance itself; fix typo; stop recursive search if cyclic
477 inheritance is found.
479 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
481 * chartab.c (Q_denotational): New variable.
482 (Q_denotational_from): New variable.
483 (Fchar_feature): Refer `<-denotational' as same as `<-unified'.
484 (put_char_attribute): New function.
485 (Fput_char_attribute): Use `put_char_attribute'; regard
486 `->denotational' and `<-denotational' as same as `->unified' and
488 (syms_of_chartab): Add new symbols `->denotational' and
491 2004-02-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
493 * chartab.c (Fget_composite_char): Use `Fchar_feature' instead of
494 `Fget_char_attribute'.
495 (Fchar_variants): Likewise.
496 (get_char_table): Likewise.
497 (Fchar_feature): New function.
498 (put_char_composition): Use `Fchar_feature' instead of
499 `Fget_char_attribute'.
500 (Fput_char_attribute): Likewise; don't put the target character
501 into its `->unified' value.
502 (syms_of_chartab): Add new builtin function `char-feature'.
504 2004-01-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
506 * text-coding.c (COMPOSE_ADD_CHAR): Use `Fchar_feature' instead of
507 `Fget_char_attribute'.
508 (char_encode_utf8): Likewise.
510 * chartab.h: Add an EXFUN for `Fchar_feature'.
512 2004-01-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
514 * chartab.c (Vnext_defined_char_id): New variable.
515 (Fput_char_attribute): Accept characters in `->unified'.
516 (Fdefine_char): Refer and update Vnext_defined_char_id to allocate
517 new characters which are not related with builtin char-id ranges.
518 (vars_of_chartab): Add new variable `next-defined-char-id'.
520 2004-01-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
522 * chartab.c (Q_unified): New variable.
523 (Q_unified_from): New variable.
524 (Fput_char_attribute): Add code for `->unified'.
525 (syms_of_chartab): Add new symbols `->unified' and `<-unified' in
528 2003-11-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
530 * mule-charset.c (decode_ccs_conversion): New function.
531 (decode_defined_char): Use `decode_ccs_conversion'.
532 (decode_builtin_char): Likewise.
534 2003-11-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
536 * char-ucs.h: Change some charset-ids of private coded-charsets.
538 2003-11-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
540 * text-coding.c (decode_add_er_char): Modify for `DECODE_CHAR'.
541 (char_encode_as_entity_reference): Likewise.
542 (decode_coding_big5): Modify for `decode_defined_char' and
544 (decode_coding_utf8): Modify for `decode_defined_char'; modify to
545 avoid compiler warning.
546 (decode_coding_iso2022): Modify for `DECODE_CHAR'.
548 * mule-charset.c (decode_defined_char): Add new argument
549 `without_inheritance'.
550 (Fdecode_char): Add new optional argument `without_inheritance'.
551 (Fdecode_builtin_char): Modify for `Fdecode_char'.
553 * fns.c (ids_format_unit): Modify for `Fdecode_char'.
554 (simplify_char_spec): Likewise.
556 * chartab.h (Fdecode_char): Modify number of arguments of EXFUN
559 * chartab.c (put_char_table): Modify for `DECODE_CHAR'.
560 (map_char_table): Likewise.
561 (Fdefine_char): Use `Fdecode_char' without inheritance.
562 (Ffind_char): Modify for `Fdecode_char'.
564 * character.h (CHARC_TO_CHAR): Modify for `DECODE_CHAR'.
566 * char-ucs.h (decode_defined_char): Add new argument
567 `without_inheritance'.
568 (DECODE_CHAR): Likewise.
569 (MAKE_CHAR): Modify for `DECODE_CHAR'.
571 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
573 * chartab.c (Vchise_system_db_directory): New variable.
574 (vars_of_chartab): Add new variable `chise-system-db-directory'.
576 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
578 * chartab.c: EXFUN `Fmount_char_attribute_table'.
579 (print_chartab_range): Don't define when `UTF2000' is defined.
580 (open_chise_data_source_maybe): Specify 0 instead of DB_HASH for
583 2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
585 * chartab.c (Fchar_attribute_list): When HAVE_LIBCHISE is defined
586 and optional argument `rehash' is specified, call
587 `open_chise_data_source_maybe' before
588 `chise_ds_foreach_char_feature_name' is called.
590 2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
592 * chartab.c (char_attribute_list_reset_map_func): New function
593 when HAVE_LIBCHISE is defined.
594 (Fchar_attribute_list): Add new optional argument `rehash' when
595 HAVE_LIBCHISE is defined.
596 (open_chise_data_source_maybe): Use "chise-db" instead of
598 (char_attribute_system_db_file): Likewise.
599 (Fload_char_attribute_table): Use
600 `chise_feature_foreach_char_with_value' instead of
601 `chise_char_feature_value_iterate'.
603 2003-10-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
605 * chartab.c (Vchise_db_directory): New variable.
606 (vars_of_chartab): Add new built-in variable `chise-db-directory'.
608 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
610 * mule-charset.c (Freset_charset_mapping_table): Use HAVE_LIBCHISE
611 instead of HAVE_CHISE to specify using with libchise.
613 * config.h.in (HAVE_CHISE_CLIENT): Deleted.
615 * chartab.h: Don't use HAVE_CHISE_CLIENT.
617 * chartab.c (Qsystem_char_id): Don't define when HAVE_CHISE is not
618 defined or HAVE_LIBCHISE_LIBCHISE is defined.
619 (char_attribute_system_db_file): Don't define when HAVE_LIBCHISE
621 (Freset_char_attribute_table): Use HAVE_LIBCHISE instead of
622 HAVE_CHISE to specify using with libchise.
623 (syms_of_chartab): Don't define symbol `system-char-id' when
624 HAVE_CHISE is not defined or HAVE_LIBCHISE_LIBCHISE is defined.
626 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
628 * mule-charset.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
629 specify CHISE DB support.
630 (Freset_charset_mapping_table): Use `chise_ccs_setup_db' instead
631 of `char_attribute_system_db_file' to check feature DB file.
633 * chartab.h, casetab.c, char-ucs.h: Use HAVE_CHISE instead of
634 HAVE_CHISE_CLIENT to specify CHISE DB support.
636 * chartab.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
637 specify CHISE DB support.
638 (open_chise_data_source_maybe): Don't define when HAVE_LIBCHISE is
640 (Freset_char_attribute_table): Use `chise_feature_setup_db'
641 instead of `char_attribute_system_db_file' to check feature DB
644 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
646 * mule.c (vars_of_mule): Use `HAVE_CHISE' instead of `CHISE' and
649 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
651 * mule-charset.c: Use HAVE_LIBCHISE instead of CHISE.
652 (Fsave_charset_mapping_table): Don't use
653 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
655 * config.h.in (HAVE_CHISE): Renamed from `CHISE'.
656 (HAVE_LIBCHISE): New macro.
658 * chartab.h: Use HAVE_LIBCHISE instead of CHISE.
660 * chartab.c: Use HAVE_LIBCHISE instead of CHISE.
661 (Fsave_char_attribute_table): Don't use
662 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
664 2003-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
666 * chartab.c (save_uint8_byte_table): Use libchise when CHISE is
668 (save_uint16_byte_table): Likewise.
669 (save_byte_table): Likewise.
670 (char_table_get_db): Use `chise_ds_load_char_feature_value'
671 instead of `chise_char_load_feature_value'.
672 (Fsave_char_attribute_table): Use libchise when CHISE is defined.
674 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
676 * chartab.h (struct Lisp_Char_Table): Delete member
677 `feature_table' if CHISE is defined.
679 * chartab.c (Fmake_char_table): Don't refer `ct->feature_table'.
680 (Fcopy_char_table): Likewise.
681 (char_table_open_db_maybe): Likewise.
682 (char_table_close_db_maybe): Likewise.
683 (char_table_get_db): Likewise.
684 (Fmount_char_attribute_table): Likewise.
685 (Fload_char_attribute_table): Likewise.
687 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
689 * mule-charset.c (load_char_decoding_entry_maybe): Use
690 `chise_ds_decode_char' instead of `chise_ds_get_ccs' and
693 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
695 * chartab.c (open_chise_data_source_maybe): Use `CHISE_DS_open'
696 instead of `chise_open_data_source'.
697 (Fclose_char_data_source): Use `CHISE_DS_close' instead of
700 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
702 * chartab.c (char_table_open_db_maybe): Use `chise_ds_get_feature'
703 instead of `chise_ds_open_feature_table'.
704 (char_table_close_db_maybe): Don't use `chise_ft_close'.
706 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
708 * mule-charset.c (Fsave_charset_mapping_table): Use
709 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
710 `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
711 `chise_ccs_sync' instead of `chise_ccst_close'.
712 (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
714 * chartab.c (open_chise_data_source_maybe): Modify for
715 `chise_open_data_source'.
716 (char_table_open_db_maybe): Modify for
717 `chise_ds_open_feature_table'.
719 2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
721 * mule-charset.c (load_char_decoding_entry_maybe): Use
722 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
725 2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
727 * mule-charset.c (Fsave_charset_mapping_table): Use
728 `chise_ds_open_ccs_table', `chise_ccst_put_char' and
729 `chise_ccst_close' instead of `chise_ds_open_decoding_table',
730 `chise_dt_put_char' and `chise_dt_close'.
731 (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
732 `chise_ccs_decode' and `chise_ccst_close' instead of
733 `chise_ds_open_decoding_table', `chise_dt_get_char' and
736 * chartab.c (char_table_get_db): Use
737 `chise_char_load_feature_value' instead of `chise_ft_get_value'.
738 (load_char_attribute_table_map_func): Modify for
739 `chise_char_feature_value_iterate'.
740 (Fload_char_attribute_table): Use
741 `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
743 2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
745 * text-coding.c (COMPOSE_ADD_CHAR): Fixed.
747 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
749 * chartab.c (put_char_table): Modify for inherited coded-charsets
752 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
754 * chartab.c (Fput_char_table_map_function): Fixed.
755 (word_boundary_p): Don't check charset in XEmacs CHISE.
757 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
759 * mule-charset.c (Fsave_charset_mapping_table): Use
760 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
761 instead of `chise_open_decoding_table'; refer
762 `default_chise_data_source'; use `chise_dt_close' instead of
763 `chise_close_decoding_table'.
764 (load_char_decoding_entry_maybe): Likewise.
766 * chartab.c (default_chise_data_source): New variable when `CHISE'
768 (Fcopy_char_table): `ct->ds' is deleted.
769 (open_chise_data_source_maybe): New function.
770 (Fclose_char_data_source): New function.
771 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
772 use `chise_ds_open_feature_table' instead of
773 `chise_open_feature_table'.
774 (char_table_close_db_maybe): Use `chise_ft_close' instead of
775 `chise_close_feature_table'; `cit->ds' is deleted.
776 (syms_of_chartab): Add new builtin function
777 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
779 * chartab.h (default_chise_data_source): New extern variable.
780 (open_chise_data_source_maybe): New prototype.
781 (struct Lisp_Char_Table): Delete `ds'.
783 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
785 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
788 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
790 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
791 not defined; add code for non-libchise setting.
792 (char_table_close_db_maybe): Likewise.
793 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
795 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
796 even if `CHISE' is not defined.
797 (Freset_char_attribute_table): Likewise.
798 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
799 `char_table_close_db_maybe' even if `CHISE' is not defined; use
801 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
802 `char_table_close_db_maybe' even if `CHISE' is not defined.
804 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
806 * chartab.c (char_table_open_db_maybe): New function.
807 (char_table_close_db_maybe): New function.
808 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
809 (Freset_char_attribute_table): Likewise.
810 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
811 `char_table_close_db_maybe'.
812 (Fload_char_attribute_table): Likewise.
814 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
816 * chartab.c: Don't include <chise.h> because it is included in
818 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
820 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
822 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
824 (Fclose_char_attribute_table): Close `ct->feature_table' and
825 `ct->ds' when `CHISE' is defined.
826 (Freset_char_attribute_table): Likewise.
827 (load_char_attribute_maybe): Use `cit->ds' and
828 `cit->feature_table' when `CHISE' is defined.
829 (Fload_char_attribute_table): Likewise.
831 * chartab.h: Include <chise.h> when `CHISE' is defined.
832 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
833 when `CHISE' is defined.
835 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
837 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
839 (char_table_description): Likewise.
840 (Fmake_char_table): Likewise.
841 (Fcopy_char_table): Likewise.
842 (Fmount_char_attribute_table): Likewise.
843 (Fclose_char_attribute_table): Likewise.
844 (Freset_char_attribute_table): Likewise.
845 (load_char_attribute_maybe): Likewise.
846 (Fload_char_attribute_table): Likewise.
848 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
851 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
853 * chartab.c (load_char_attribute_table_map_func): New function
854 when CHISE is defined.
855 (Qload_char_attribute_table_map_function): Don't define when CHISE
857 (Fload_char_attribute_table_map_function): Likewise.
858 (Fload_char_attribute_table): Use libchise when `CHISE' is
860 (syms_of_chartab): Don't define
861 `load-char-attribute-table-map-function' when CHISE is defined.
863 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
865 * chartab.c: Include <chise.h> when `CHISE' is defined.
866 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
868 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
870 * mule-charset.c (charset_code_point): Fix problem when searching
871 in mother CCS fails with `defined_only' mode.
873 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
875 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
876 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
877 (put_char_composition): Likewise.
878 (Fput_char_attribute): Likewise.
879 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
881 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
883 * chartab.c (Q_ucs): Deleted.
884 (Fput_char_attribute): Don't refer `->ucs'.
885 (Fdefine_char): Likewise.
886 (Ffind_char): Likewise.
887 (syms_of_chartab): Delete `->ucs'.
889 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
891 * mule-charset.c (Qmap_cns11643_2): Renamed from
892 `Qchinese_cns11643_2'.
893 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
894 `chinese-cns11643-2'.
895 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
898 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
900 * mule-charset.c (Qmap_cns11643_1): Renamed from
901 `Qchinese_cns11643_1'.
902 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
903 `chinese-cns11643-1'.
904 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
907 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
909 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
910 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
912 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
915 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
917 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
918 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
920 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
923 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
925 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
926 (syms_of_mule_charset): Add new symbol `=big5' instead of
928 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
930 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
932 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
933 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
935 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
938 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
940 * mule-charset.c (Qmap_jis_x0212): Renamed from
941 `Qjapanese_jisx0212'.
942 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
944 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
947 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
949 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
950 `Qjapanese_jisx0208'.
951 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
952 of `japanese-jisx0208'.
953 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
956 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
958 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
959 `Qjapanese_jisx0208_1978'.
960 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
961 of `japanese-jisx0208-1978'.
962 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
965 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
967 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
968 only for XEmacs CHISE.
970 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
972 * char-ucs.h: Compact non-ISO-IR charset-ids.
973 (LEADING_BYTE_UCS): Changed to -177.
974 (LEADING_BYTE_CONTROL_1): Changed to -77.
975 (LEADING_BYTE_UCS_BMP): Changed to -176.
976 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
978 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
980 * mule-charset.c (Qiso_ir): New variable.
981 (Fmake_charset): Recognise new property `iso-ir'.
982 (syms_of_mule_charset): Add new symbol `iso-ir'.
984 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
986 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
987 n to -n; charset-id of non ISO-IR sets are changed to positive
990 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
992 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
993 for &MCS-XXXXXXXX; values.
995 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
997 * mule.c (Vxemacs_chise_version): Renamed from
999 (vars_of_mule): Add new variable `xemacs-chise-version'; define
1000 `utf-2000-version' as an alias for `xemacs-chise-version'.
1002 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1004 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
1005 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
1008 * config.h.in (CHISE): New macro.
1010 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1012 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
1014 (Qmap_ucs): New variable.
1015 (syms_of_mule_charset): Add new symbol `=ucs'.
1016 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
1018 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
1019 (simplify_char_spec): Likewise.
1021 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
1023 * char-ucs.h (Qmap_ucs): New extern variable.
1025 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1027 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
1028 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
1029 don't define it when UTF2000 is not defined.
1030 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
1031 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
1032 when UTF2000 is not defined.
1033 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
1034 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
1036 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1038 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
1040 * mule-charset.c (Vcharset_ucs_gb): Deleted.
1042 (syms_of_mule_charset): Delete `ucs-gb'.
1043 (complex_vars_of_mule_charset): Likewise.
1045 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1047 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
1049 * mule-charset.c (Vcharset_ucs_cns): Deleted.
1050 (Qucs_cns): Deleted.
1051 (syms_of_mule_charset): Delete `ucs-cns'.
1052 (complex_vars_of_mule_charset): Likewise.
1054 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1056 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
1058 * mule-charset.c (Vcharset_ucs_jis): Deleted.
1059 (Qucs_jis): Deleted.
1060 (syms_of_mule_charset): Delete `ucs-jis'.
1061 (complex_vars_of_mule_charset): Likewise.
1063 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1065 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
1067 * mule-charset.c (Vcharset_ucs_ks): Deleted.
1069 (syms_of_mule_charset): Delete `ucs-ks'.
1070 (complex_vars_of_mule_charset): Likewise.
1072 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1074 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
1075 (Qideograph_daikanwa_2): Deleted.
1076 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
1077 (complex_vars_of_mule_charset): Likewise.
1079 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
1080 (LEADING_BYTE_DAIKANWA_1): Deleted.
1081 (LEADING_BYTE_DAIKANWA_2): Deleted.
1082 (MIN_CHAR_DAIKANWA): Deleted.
1083 (MAX_CHAR_DAIKANWA): Deleted.
1085 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1087 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
1088 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
1089 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
1091 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
1092 (Vcharset_ideograph_daikanwa): Deleted.
1093 (Qideograph_hanziku_{1..12}): Deleted.
1094 (Qideograph_daikanwa): Deleted.
1095 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
1096 Vcharset_ideograph_daikanwa.
1097 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
1098 `ideograph-hanziku-{1..12}'.
1099 (complex_vars_of_mule_charset): Likewise.
1101 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1103 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
1105 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
1106 (Qideograph_gt_pj_{1..11}): Deleted.
1107 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
1108 (complex_vars_of_mule_charset): Likewise.
1110 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1112 * mule-charset.c (Vcharset_ucs_big5): Deleted.
1113 (Vcharset_ideograph_gt): Deleted.
1114 (Qucs_big5): Deleted.
1115 (Qideograph_gt): Deleted.
1116 (syms_of_mule_charset): Delete symbol `ucs-big5' and
1118 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
1121 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
1122 (LEADING_BYTE_GT): Deleted.
1123 (MIN_CHAR_GT): Deleted.
1124 (MAX_CHAR_GT): Deleted.
1126 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1128 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
1130 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1132 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
1133 (save_uint16_byte_table): Likewise.
1134 (save_byte_table): Likewise; convert values by it.
1135 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
1136 for `ideographic-structure'.
1137 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
1138 as the filter for `ideographic-structure'.
1140 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1142 * chartab.c (put_char_composition): New function.
1143 (Fput_char_attribute): Use `put_char_composition'; use
1144 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
1146 * fns.c (simplify_char_spec): New function.
1147 (char_ref_simplify_spec): New function.
1148 (Fchar_refs_simplify_char_specs): New function.
1149 (syms_of_fns): Add new builtin function
1150 `char-refs-simplify-char-specs'.
1152 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1154 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
1155 (Qideograph_cbeta): Deleted.
1156 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
1157 (complex_vars_of_mule_charset): Likewise.
1159 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
1160 (MIN_CHAR_CBETA): Comment out.
1161 (MAX_CHAR_CBETA): Likewise.
1163 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1165 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
1166 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
1167 CHISE client feature.
1169 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1171 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
1173 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1175 * mule-charset.c (charset_lookup_description_1): Use
1176 `NUM_LEADING_BYTES' in UTF-2000.
1178 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1180 * char-ucs.h (GC_CHARSETP): Deleted.
1182 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1184 * char-ucs.h (MAX_CHAR_GT): Updated.
1186 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1188 * text-coding.c: Sync with XEmacs 21.4.10.
1190 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1192 * mule-charset.c (Vcharset_china3_jef): Deleted.
1193 (Qchina3_jef): Deleted.
1194 (syms_of_mule_charset): Don't define `china3-jef'.
1195 (complex_vars_of_mule_charset): Likewise.
1197 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
1198 (MIN_CHAR_CHINA3_JEF): Comment out.
1199 (MAX_CHAR_CHINA3_JEF): Comment out.
1201 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1203 * mule-charset.c (Vcharset_ucs_gb): New variable.
1204 (Qucs_gb): New variable.
1205 (syms_of_mule_charset): Add new symbol `ucs-gb'.
1206 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
1208 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
1210 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1212 * mule-charset.c (charset_code_point): if a coded-charset has a
1213 final-byte, don't inherit the builtin range of the mother CCS.
1215 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1217 * mule-charset.c (charset_code_point): Fix problem about
1220 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1222 * mule-charset.c (decode_builtin_char): Reorganized.
1224 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1226 * text-coding.c (char_encode_as_entity_reference): Modify for
1227 `charset_code_point'.
1228 (char_encode_shift_jis): Likewise.
1229 (char_encode_big5): Likewise.
1230 (char_encode_utf8): Likewise.
1231 (char_encode_iso2022): Likewise.
1233 * mule-charset.c (charset_code_point): Add new argument
1235 (Fencode_char): Add new optional argument `defined_only'.
1237 * chartab.c (put_char_table): Modify for `charset_code_point'.
1239 * char-ucs.h (charset_code_point): Add new argument
1241 (encode_char_1): Modify for `charset_code_point'.
1243 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1245 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
1246 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
1248 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1250 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
1251 (Qjis_x0208): Likewise.
1252 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
1253 XCHARSET_FINAL(charset).
1254 (charset_code_point): Modify condition for final-byte based
1256 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
1257 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
1258 in UTF-2000; specify `=jis-x0208' as the mother of
1259 `japanese-jisx0208-1978', `japanese-jisx0208' and
1260 `japanese-jisx0208-1990' in UTF-2000.
1262 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1264 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
1266 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1268 * text-coding.c (decode_coding_utf16): Support UTF-16.
1269 (char_encode_utf16): Fixed.
1271 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1273 * text-coding.c (Qutf16): New variable in MULE.
1274 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
1275 (Fcoding_system_type): Add `utf-16' in MULE.
1276 (struct detection_state): Add a structure for utf16 in MULE.
1277 (detect_coding_type): Setup st->utf16.mask in MULE.
1278 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
1280 (reset_encoding_stream): Use `char_encode_utf16' and
1281 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
1282 (detect_coding_utf16): New function [incomplete].
1283 (decode_coding_utf16): New function [support only UCS-2].
1284 (char_encode_utf16): New function.
1285 (char_finish_utf16): New function.
1286 (syms_of_file_coding): Add new symbol `utf-16'; setup
1287 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
1289 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
1291 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
1292 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
1294 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1296 * chartab.c (put_char_table): When a charset is specified as a
1297 range in UTF-2000, don't support builtin characters.
1299 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1301 * mule-charset.c (decode_defined_char): Don't refer external
1302 database if Qunbound or Qnil are found.
1303 (Fsave_charset_mapping_table): Don't define it if
1304 HAVE_CHISE_CLIENT is not defined.
1305 (Freset_charset_mapping_table): New function.
1306 (load_char_decoding_entry_maybe): Store Qnil if a character is not
1307 found in external database.
1308 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
1309 if HAVE_CHISE_CLIENT is not defined; add new builtin function
1310 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
1312 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1314 * text-coding.c (decode_coding_utf8): Check CCS is specified or
1317 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1319 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
1320 Q_lowercase, Q_uppercase in UTF-2000.
1322 * chartab.c (get_char_table): Add special code for the standard
1323 case table to use character attribute `->downcase' and
1324 `->uppercase' for case operations in UTF-2000.
1326 * casetab.c (Qflippedcase): New variable in UTF-2000.
1327 (Q_lowercase): Likewise.
1328 (Q_uppercase): Likewise.
1329 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
1330 and `->uppercase' in UTF-2000.
1331 (complex_vars_of_casetab): Assign attribute name `downcase' to
1332 downcase and CANON table of Vstandard_case_table in UTF-2000;
1333 assign attribute name `flippedcase' to upcase and EQV table of
1334 Vstandard_case_table in UTF-2000.
1336 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1338 * text-coding.c (decode_add_er_char): Support isolated-chars.
1339 (char_encode_as_entity_reference): Likewise.
1341 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1343 * emacs.c (Vutf_2000_lisp_directory): New variable.
1344 (Vconfigure_utf_2000_lisp_directory): Likewise.
1345 (complex_vars_of_emacs): Add new variable
1346 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
1348 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1350 * char-ucs.h (DECODE_CHAR): Delete special code for
1351 `chinese-big5-1' and `chinese-big5-2'.
1353 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
1354 (Qbig5_2): Likewise.
1355 (decode_defined_char): Support CONVERSION_BIG5_1 and
1357 (decode_builtin_char): Likewise.
1358 (charset_code_point): Likewise.
1359 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
1360 'conversion in UTF-2000.
1361 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
1362 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
1363 `chinese-big5-2' as children of `chinese-big5'.
1365 * char-ucs.h (CONVERSION_BIG5_1): New macro.
1366 (CONVERSION_BIG5_2): New macro.
1368 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1370 * text-coding.c (char_encode_big5): Support entity-reference.
1372 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1374 * text-coding.c (char_encode_as_entity_reference): New function.
1375 (char_encode_utf8): Use `char_encode_as_entity_reference'.
1377 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1379 * text-coding.c (decode_coding_big5): Support entity-reference
1382 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1384 * text-coding.c (allocate_coding_system): Initialize initial
1385 charsets for CODESYS_UTF8.
1386 (Fmake_coding_system): Accept charset-g0, charset-g1 and
1387 charset-g2 for CODESYS_UTF8.
1388 (decode_coding_utf8): Use charset-g0.
1389 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
1390 to force variants to map to UCS.
1392 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1394 * text-coding.c (Qutf_8_mcs): New variable.
1395 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
1396 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
1397 instead of `utf-8' in UTF-2000.
1399 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1401 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
1402 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
1403 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
1404 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
1405 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
1406 CONVERSION_96x96x96x96 are introduced.
1407 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
1408 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
1409 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
1411 * char-ucs.h (CONVERSION_94): New macro.
1412 (CONVERSION_96): New macro.
1413 (CONVERSION_94x94): New macro.
1414 (CONVERSION_96x96): New macro.
1415 (CONVERSION_94x94x94): New macro.
1416 (CONVERSION_96x96x96): New macro.
1417 (CONVERSION_94x94x94x60): New macro.
1418 (CONVERSION_94x94x94x94): New macro.
1419 (CONVERSION_96x96x96x96): New macro.
1421 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1423 * chartab.c (Vcharacter_variant_table): Deleted.
1424 (Fchar_variants): Use character-attribute `->ucs-variants' instead
1425 of `Vcharacter_variant_table'.
1426 (Fput_char_attribute): Likewise.
1427 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
1428 (complex_vars_of_chartab): Likewise.
1430 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1432 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
1434 * fns.c (Qideographic_structure): New variable.
1435 (Qkeyword_char): New variable.
1436 (ids_format_unit): New function.
1437 (Fideographic_structure_to_ids): New function.
1438 (syms_of_fns): Add new symbols `ideographic-structure' and
1439 `:char'; add new builtin function `ideographic-structure-to-ids'.
1441 * data.c (Fchar_ref_p): New function.
1442 (syms_of_data): Add new builtin function `char-ref-p'.
1444 * chartab.h: Add an EXFUN for `Ffind_char'.
1446 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1448 * text-coding.c (Vcharacter_composition_table): Deleted.
1449 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
1452 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
1454 (Vcharacter_composition_table): Deleted.
1455 (Fget_composite_char): Use the implementation for external-DB
1456 support in every UTF-2000.
1457 (Fput_char_attribute): Likewise.
1458 (char_attribute_system_db_file): Don't define if external-DB
1459 feature is not available.
1460 (Fsave_char_attribute_table): Likewise.
1461 (Fmount_char_attribute_table): Likewise.
1462 (Fclose_char_attribute_table): Likewise.
1463 (Freset_char_attribute_table): Likewise.
1464 (Fload_char_attribute_table): Likewise.
1465 (syms_of_chartab): Don't define `save-char-attribute-table',
1466 `mount-char-attribute-table', `reset-char-attribute-table',
1467 `close-char-attribute-table' and `load-char-attribute-table' if
1468 external-DB feature is not available.
1469 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
1471 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1473 * text-coding.c (Qcomposition): Add extern if external-DB feature
1475 (Vcharacter_composition_table): Don't add extern if external-DB
1476 feature is supported.
1477 (COMPOSE_ADD_CHAR): Modify for new data-representation of
1478 character composition rule if external-DB feature is supported.
1480 * chartab.c (Vcharacter_composition_table): Don't define if
1481 external-DB feature is supported.
1482 (Qcomposition): New variable.
1483 (Fget_composite_char): New implementation for external-DB support.
1484 (Fput_char_attribute): Use `composition' property of each
1485 character instead of `Vcharacter_composition_table' to store
1486 character-composition rules if external-DB feature is supported.
1487 (syms_of_chartab): Add new symbol `composition'.
1488 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
1489 external-DB feature is supported.
1491 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1493 * chartab.c (Vchar_db_stingy_mode): New variable.
1494 (load_char_attribute_maybe): Close database if
1495 Vchar_db_stingy_mode is not NIL.
1496 (Fload_char_attribute_table_map_function): Use
1497 `get_char_id_table_0' instead of `get_char_id_table'.
1498 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
1500 * chartab.h (get_char_id_table_0): New inline function.
1501 (get_char_id_table): Use `get_char_id_table_0'.
1503 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1505 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
1506 and `COMPOSE_ADD_CHAR'.
1507 (decode_coding_iso2022): Use `decode_flush_er_chars'.
1509 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1511 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
1512 instead of `DECODE_ADD_UCS_CHAR'.
1513 (COMPOSE_ADD_CHAR): Likewise.
1515 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1517 * text-coding.c (decode_flush_er_chars): New inline function.
1518 (decode_add_er_char): New function.
1519 (decode_coding_utf8): Use `decode_flush_er_chars' and
1520 `decode_add_er_char'.
1522 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1524 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
1525 done before `decode_output_utf8_partial_char'.
1527 * mule-charset.c (complex_vars_of_mule_charset): Specify
1528 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
1529 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
1531 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1533 * mule-charset.c (decode_defined_char): New function; search
1535 (decode_builtin_char): Don't search mother if
1536 XCHARSET_MAX_CODE(charset) == 0.
1537 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
1538 == 0 even if code >= XCHARSET_MAX_CODE(charset).
1539 (Fdecode_char): Use `decode_defined_char' instead of
1540 `DECODE_DEFINED_CHAR'.
1541 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
1542 mother of `Vcharset_ucs_jis'.
1544 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
1545 instead of `DECODE_DEFINED_CHAR'.
1547 * char-ucs.h (decode_defined_char): Renamed from
1548 `DECODE_DEFINED_CHAR'; changed to normal function.
1549 (DECODE_CHAR): Use `decode_defined_char' instead of
1550 `DECODE_DEFINED_CHAR'.
1552 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
1554 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1556 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
1558 * text-coding.c (Vcoded_charset_entity_reference_alist): New
1560 (Quse_entity_reference): New variable.
1564 (coding_system_description): Add description for
1565 `ccs_priority_list'.
1566 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
1567 (allocate_coding_system): Initialize `ccs_priority_list' in
1569 (Fmake_coding_system): Add description about
1570 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
1572 (Fcoding_system_property): Accept `disable-composition' and
1573 `use-entity-reference' in UTF-2000.
1574 (struct decoding_stream): Add new member `er_counter' and `er_buf'
1576 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
1577 (decode_coding_utf8): Decode entity-reference if
1578 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
1579 (char_encode_utf8): Encode non-Unicode characters as
1580 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
1582 (syms_of_file_coding): Add new symbols `use-entity-reference',
1584 (vars_of_file_coding): Add new variable
1585 `coded-charset-entity-reference-alist'.
1586 (complex_vars_of_file_coding): Declare `disable-composition' and
1587 `use-entity-reference' to be coding-system-properties in UTF-2000.
1589 * file-coding.h (struct Lisp_Coding_System): Add new member
1590 `use_entity_reference' and `ccs_priority_list'.
1591 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1592 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
1593 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1595 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1597 * chartab.c (save_uint8_byte_table): Don't clear the table.
1598 (save_uint16_byte_table): Likewise.
1599 (save_byte_table): Likewise.
1600 (Fmount_char_attribute_table): New function.
1601 (syms_of_chartab): Add new builtin function
1602 `mount-char-attribute-table'.
1604 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1606 * mule-charset.c (Fsave_charset_mapping_table): Open database as
1608 (load_char_decoding_entry_maybe): Open database as read-only mode.
1610 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
1611 open database as "w+" mode.
1612 (load_char_attribute_maybe): Open database as read-only mode.
1613 (Fload_char_attribute_table): Likewise.
1615 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1617 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
1618 (char_table_description): Delete member `db_file'.
1619 (Fmake_char_table): Don't refer `ct->db_file'.
1620 (Fcopy_char_table): Likewise.
1621 (Fsave_char_attribute_table): Likewise.
1622 (Fclose_char_attribute_table): Likewise.
1623 (Freset_char_attribute_table): Likewise.
1624 (load_char_attribute_maybe): Likewise.
1625 (Fload_char_attribute_table): Likewise.
1627 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
1629 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1631 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
1632 (Fsave_char_attribute_table): Don't check `ct->db_file' if
1634 (load_char_attribute_maybe): Likewise.
1635 (Fload_char_attribute_table): Likewise.
1637 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1639 * chartab.c (Fclose_char_attribute_table): Set Qnil on
1640 `ct->db_file' unconditionally.
1642 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1644 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
1646 (char_table_description): Add description for `db_file' and `db'
1648 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
1650 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
1651 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
1652 (Fclose_char_attribute_table): New function.
1653 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
1654 (load_char_attribute_maybe): Change interface; use `cit->db_file'
1656 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
1657 (syms_of_chartab): Add new builtin function
1658 `Fclose_char_attribute_table'.
1660 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1662 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
1664 (load_char_attribute_maybe): Change interface.
1665 (get_char_id_table): Modify for `load_char_attribute_maybe'.
1667 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1669 * database.h: Add an EXFUN for `Fdatabase_live_p'.
1671 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1673 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
1674 instead of `DECODE_CHAR' for mother; don't use special code for
1675 chinese-big5 to use code space of chinese-big5-1 and
1677 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
1678 `MAX_CHAR_BIG5_CDP' for chinese-big5.
1680 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
1681 (MAX_CHAR_BIG5_CDP): Revival.
1683 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1685 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
1686 the XLFD registry-encoding name of `chinese-big5'.
1688 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1690 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
1691 (Qchinese_big5_cdp): Deleted.
1692 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
1693 (complex_vars_of_mule_charset): Delete coded-charset
1696 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
1697 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
1698 `CHARSET_ID_OFFSET - n' for private CCS.
1699 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
1700 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
1701 of `MIN_LEADING_BYTE'.
1702 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
1703 `(CHARSET_ID_OFFSET - 97)'.
1704 (MIN_CHAR_BIG5_CDP): Deleted.
1705 (MAX_CHAR_BIG5_CDP): Deleted.
1707 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1709 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
1711 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1713 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
1714 (vars_of_mule): Add new variable `utf-2000-version' [moved from
1717 * chartab.c (Vutf_2000_version): Moved to mule.c.
1718 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
1720 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1722 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
1723 when HAVE_CHISE_CLIENT is not defined.
1725 * mule.c (vars_of_mule): Provide feature `chise' when
1726 HAVE_CHISE_CLIENT is defined.
1728 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1730 * config.h.in (UTF2000): Add comment.
1731 (HAVE_CHISE_CLIENT): New macro.
1733 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1735 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
1737 (Fput_char_attribute): Likewise.
1738 (char_attribute_system_db_file): Encode file-name of attribute.
1739 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
1742 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1744 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
1745 (Fsave_charset_mapping_table): Use
1746 `char_attribute_system_db_file'.
1747 (load_char_decoding_entry_maybe): Likewise.
1749 * chartab.h (Qsystem_char_id): New external variable.
1750 (char_attribute_system_db_file): New prototype.
1752 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
1753 (char_attribute_system_db_file): New function.
1754 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
1755 (Freset_char_attribute_table): Likewise.
1756 (load_char_attribute_maybe): Likewise.
1757 (Fload_char_attribute_table): Likewise.
1758 (syms_of_chartab): Add new symbol `system-char-id'.
1760 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1762 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
1763 `XCHARSET_GRAPHIC(ccs)'.
1765 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1767 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
1769 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1771 * chartab.c (Q_ucs_variants): New variable.
1772 (syms_of_chartab): Add new symbol `->ucs-variants'.
1773 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
1774 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
1775 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
1777 * mule-charset.c (load_char_decoding_entry_maybe): New function.
1779 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
1780 `HAVE_DATABASE' is defined.
1781 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
1782 `HAVE_DATABASE' is defined.
1784 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1786 * chartab.c (Fsave_char_attribute_table): Don't clear internal
1788 (Freset_char_attribute_table): New function.
1789 (syms_of_chartab): Add new builtin function
1790 `reset-char-attribute-table'.
1792 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1794 * chartab.c (load_char_attribute_maybe): Don't make directories.
1796 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1798 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
1800 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
1803 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1805 * mule-charset.c (Fsave_charset_mapping_table): Use
1806 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
1808 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
1809 instead of `XCHARSET_CHARS'.
1811 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1813 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
1814 (XCHARSET_BYTE_SIZE): Likewise.
1816 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
1818 (XCHARSET_BYTE_SIZE): Likewise.
1820 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1822 * chartab.c (Fput_char_attribute): Use exec-directory instead of
1823 data-directory to store database.
1824 (Fsave_char_attribute_table): Likewise.
1825 (load_char_attribute_maybe): Likewise.
1826 (Fload_char_attribute_table): Likewise.
1828 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1830 * mule-charset.c (Fsave_charset_mapping_table): New function.
1831 (syms_of_mule_charset): Add new builtin function
1832 `save-charset-mapping-table'.
1834 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1836 * char-ucs.h (decoding_table_check_elements): Delete prototype.
1837 (get_ccs_octet_table): New inline function.
1838 (put_ccs_octet_table): Likewise.
1839 (decoding_table_put_char): Use `get_ccs_octet_table' and
1840 `put_ccs_octet_table'.
1841 (decoding_table_remove_char): Use `decoding_table_put_char'.
1842 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
1844 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
1845 into encoding_table.
1846 (make_charset): Use Qunbound instead Qnil as initial value of
1849 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1851 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
1852 element is Qunloaded.
1853 (map_over_uint16_byte_table): Likewise.
1854 (map_over_byte_table): Likewise.
1855 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
1856 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
1857 database support, load encoding-table of the specified
1858 coded-charset if it is not loaded yet.
1859 (save_uint8_byte_table): New function of UTF-2000 with external
1861 (save_uint16_byte_table): Likewise.
1862 (save_byte_table): Likewise.
1863 (Fput_char_attribute): Don't store value into external database
1864 even if the external database feature is supported in UTF-2000;
1865 set `attribute' as name of char-table if the external database
1866 feature is supported.
1867 (Fsave_char_attribute_table): New function in UTF-2000.
1868 (syms_of_chartab): Add new builtin function
1869 `save-char-attribute-table' in UTF-2000.
1871 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1873 * chartab.c (char_attribute_table_to_put): New variable in
1875 (Qput_char_table_map_function): Likewise.
1876 (value_to_put): Likewise.
1877 (Fput_char_table_map_function): New function in UTF-2000.
1878 (put_char_table): Use `Fmap_char_attribute' for
1879 CHARTAB_RANGE_CHARSET in UTF-2000.
1880 (Fput_char_attribute): Store symbol instead of string in
1881 `XCHAR_TABLE_NAME (table)'.
1882 (load_char_attribute_maybe): Likewise.
1883 (syms_of_chartab): Add new symbol/function
1884 `put-char-table-map-function'.
1886 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1888 * database.h: Add new EXFUN for `Fmap_database'.
1890 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
1891 (syms_of_database): Likewise.
1893 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
1895 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
1896 (XCHAR_TABLE_UNLOADED): Likewise.
1898 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
1899 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
1900 HAVE_DATABASE is defined.
1901 (char_attribute_table_to_load): New variable of UTF-2000 with
1902 external database support.
1903 (Qload_char_attribute_table_map_function): Likewise.
1904 (Fload_char_attribute_table_map_function): New function of
1905 UTF-2000 with external database support.
1906 (Fload_char_attribute_table): New function of UTF-2000.
1907 (Fmap_char_attribute): Call Fload_char_attribute_table if
1908 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
1909 (syms_of_chartab): Add new symbol and function
1910 `load-char-attribute-table-map-function' in UTF-2000 with external
1911 database support; add new function `load-char-attribute-table' in
1914 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1916 * chartab.h (load_char_attribute_maybe): New prototype for
1917 UTF-2000 with DATABASE support.
1918 (get_char_id_table): Use `load_char_attribute_maybe' if
1919 HAVE_DATABASE is defined.
1921 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
1922 with DATABASE support.
1924 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1926 * chartab.c (Fput_char_attribute): Use S-expression as key of
1929 * chartab.h (get_char_id_table): Use S-expression as key of
1932 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1934 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
1935 if an element is not loaded, load the corresponding attributes
1936 from an external database.
1937 (map_over_uint16_byte_table): Likewise.
1938 (map_over_byte_table): Likewise.
1939 (map_char_table): Modify for `map_over_uint8_byte_table',
1940 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
1941 element is not loaded, load the corresponding attributes from an
1943 (Fput_char_attribute): Change initial values to Qunloaded.
1945 * chartab.h (get_char_id_table): If a character attribute is not
1946 loaded and the attribute value is not found in an external
1947 database, store Qunbound as the attribute value.
1949 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1951 * chartab.c (BT_UINT8_unloaded): New macro.
1952 (UINT8_VALUE_P): Accept Qunloaded.
1953 (UINT8_ENCODE): Likewise.
1954 (UINT8_DECODE): Likewise.
1955 (BT_UINT16_unloaded): New macro.
1956 (UINT16_VALUE_P): Accept Qunloaded.
1957 (UINT16_ENCODE): Likewise.
1958 (UINT16_DECODE): Likewise.
1959 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
1961 (mark_char_table): Mark `ct->name' in UTF-2000.
1962 (char_table_description): Add `name' in UTF-2000.
1963 (Fmake_char_table): Initialize `ct->name'.
1964 (Fcopy_char_table): Copy `ct->name'.
1965 (Fput_char_attribute): Store value into an external database if
1966 HAVE_DATABASE is defined.
1968 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
1970 (CHAR_TABLE_NAME): New macro in UTF-2000.
1971 (XCHAR_TABLE_NAME): New macro in UTF-2000.
1972 (get_char_id_table): Try to read an external database if Qunloaded
1973 is stored in a table.
1975 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
1978 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1980 * database.h: Add EXFUN definitions for Fopen_database,
1981 Fput_database, Fget_database and Fclose_database.
1983 * data.c (Qunloaded): New variable in UTF-2000.
1985 * lisp.h (Qunloaded): New variable in UTF-2000.
1987 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1989 * mule-charset.c (put_char_ccs_code_point): Modify for
1990 `decoding_table_remove_char' and `decoding_table_put_char'.
1991 (remove_char_ccs): Modify for `decoding_table_remove_char'.
1993 * char-ucs.h (decoding_table_remove_char): Change arguments to
1994 hide decoding_table vector.
1995 (decoding_table_put_char): Likewise.
1997 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1999 * mule-charset.c (decoding_table_remove_char): Moved to
2001 (decoding_table_put_char): Likewise.
2003 * char-ucs.h (decoding_table_check_elements): New prototype [moved
2004 from mule-charset.c].
2005 (decoding_table_remove_char): New inline function [moved from
2007 (decoding_table_put_char): Likewise.
2009 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2011 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
2014 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2016 * mule-charset.c (decode_builtin_char): Support mother charsets.
2018 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2020 * mule-charset.c (Q94x94x60): New variable.
2021 (charset_code_point): Support conversion `94x94x60'.
2022 (Fmake_charset): Likewise.
2023 (syms_of_mule_charset): Add new symbol `94x94x60'.
2025 * char-ucs.h (CONVERSION_94x94x60): New macro.
2027 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2029 * mule-charset.c (charset_code_point): Unify code about
2032 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2034 * mule-charset.c (charset_code_point): Merge code about builtin
2035 characters into code about mother charsets; don't use
2036 `range_charset_code_point'.
2037 (range_charset_code_point): Deleted.
2039 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2041 * mule-charset.c (Qcode_offset): New variable.
2042 (Fmake_charset): Use `XUINT' to get value of `min-code' and
2043 `max-code'; accept new property `code-offset'.
2044 (syms_of_mule_charset): Add new symbol `code-offset'.
2046 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2048 * mule-charset.c (range_charset_code_point): Fixed.
2050 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2052 * mule-charset.c (decode_builtin_char): Change semantics of
2053 code-offset of coded-charset.
2054 (charset_code_point): Likewise.
2055 (range_charset_code_point): Likewise.
2056 (complex_vars_of_mule_charset): Modify for the change.
2058 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2060 * mule-charset.c (Fencode_char): Reverse arguments.
2062 * mule-charset.c (charset_code_point): Fixed.
2064 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2066 * mule-charset.c (Vcharset_mojikyo): Deleted.
2067 (Vcharset_mojikyo_2022_1): Deleted.
2068 (Vcharset_mojikyo_pj_{1..21}): Deleted.
2069 (Qmin_code): New variable in UTF-2000.
2070 (Qmax_code): Likewise.
2071 (Qmother): Likewise.
2072 (Qconversion): Likewise.
2074 (Qmojikyo): Deleted.
2075 (Qmojikyo_2022_1): Deleted.
2076 (Qmojikyo_pj_{1..22}): Deleted.
2077 (mark_charset): Mark `cs->mother'.
2078 (charset_description): Add description for `mother'.
2079 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
2080 new arguments `mother' and `conversion'; use
2081 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
2082 (charset_code_point): Moved from char-ucs.h; support `mother'
2084 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
2085 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
2086 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
2087 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
2088 allow 2 as the value of `graphic' in UTF-2000; add new properties
2089 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
2090 require `final' in UTF-2000; modify for `make_charset'.
2091 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
2092 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
2093 (Fcharset_property): Support `mother', `min-code' and `max-code'.
2094 (Fencode_char): New function.
2095 (syms_of_mule_charset): Add new builtin function `encode-char' in
2096 UTF-2000; add new symbols `min-code', `max-code', `mother',
2097 `conversion' and `94x60'; delete symbols `mojikyo',
2098 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
2099 (complex_vars_of_mule_charset): Modify for `make_charset' change;
2100 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
2101 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
2103 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
2104 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
2106 * char-ucs.h (Vcharset_mojikyo): Deleted.
2107 (Vcharset_mojikyo_2022_1): Deleted.
2108 (LEADING_BYTE_MOJIKYO): Deleted.
2109 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
2110 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
2111 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
2112 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
2113 add new member `mother'; add new member `conversion'.
2114 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
2115 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
2116 (CHARSET_MOTHER): New macro.
2117 (CHARSET_CONVERSION): New macro.
2118 (CONVERSION_IDENTICAL): New macro.
2119 (CONVERSION_94x60): New macro.
2120 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
2121 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
2122 (XCHARSET_MOTHER): New macro.
2123 (XCHARSET_CONVERSION): New macro.
2124 (MIN_CHAR_MOJIKYO): Deleted.
2125 (MAX_CHAR_MOJIKYO): Deleted.
2126 (DECODE_MOJIKYO_2022): Deleted.
2127 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
2128 (charset_code_point): Changed to non-inline function.
2129 (encode_char_1): Use `charset_code_point'.
2130 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
2132 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2134 * lread.c (read_compiled_function): Fix prototype.
2135 (read_vector): Likewise.
2137 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2139 * lrecord.h (struct lrecord_header): Delete `older'.
2140 (set_lheader_implementation): Delete code for `older'.
2141 (set_lheader_older_implementation): Deleted.
2142 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
2143 (OLDER_RECORD_P): Deleted.
2144 (OLDER_RECORD_HEADER_P): Deleted.
2145 (alloc_older_lcrecord): Deleted.
2146 (alloc_older_lcrecord_type): Deleted.
2148 * alloc.c (all_older_lcrecords): Deleted.
2149 (alloc_older_lcrecord): Deleted.
2150 (disksave_object_finalization_1): Delete code for older objects.
2151 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
2152 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
2154 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2156 * mule-charset.c (decoding_table_put_char): Use `make_vector'
2157 instead of `make_older_vector'.
2158 (put_char_ccs_code_point): Likewise.
2159 (mark_charset): Mark `cs->decoding_table'.
2160 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
2162 * lisp.h (make_older_vector): Deleted.
2163 (make_vector_newer): Deleted.
2165 * config.h.in (HAVE_GGC): Deleted.
2167 * alloc.c (make_older_vector): Deleted.
2168 (make_vector_newer_1): Deleted.
2169 (make_vector_newer): Deleted.
2171 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2173 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
2174 (Qideograph_daikanwa_2): New variable.
2175 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
2176 (complex_vars_of_mule_charset): Add new coded-charset
2177 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
2178 `LEADING_BYTE_DAIKANWA'.
2180 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
2181 (LEADING_BYTE_DAIKANWA_1): New macro.
2182 (LEADING_BYTE_DAIKANWA_2): New macro.
2183 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
2185 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2187 * mule-charset.c (complex_vars_of_mule_charset): Change
2188 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
2189 the second revised version.
2191 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2193 * mule-charset.c (Vcharset_ucs_smp): New variable.
2194 (Vcharset_ucs_sip): New variable.
2195 (Qucs_smp): New variable.
2196 (Qucs_sip): New variable.
2197 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
2198 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
2199 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
2200 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
2201 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
2202 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
2204 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
2205 (LEADING_BYTE_UCS_SIP): New macro.
2206 (MIN_CHAR_SMP): New macro.
2207 (MAX_CHAR_SMP): New macro.
2208 (MIN_CHAR_SIP): New macro.
2209 (MAX_CHAR_SIP): New macro.
2211 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
2213 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
2216 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2218 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
2219 value; don't store value into `encoding_table' of `Lisp_Charset'.
2220 (mark_charset): `encoding_table' was deleted.
2221 (charset_description): Likewise.
2222 (make_charset): Likewise.
2223 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
2224 `put_char_ccs_code_point'.
2226 * chartab.h (Fput_char_attribute): New EXFUN.
2228 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
2229 is unified with normal symbol space.
2230 (Fget_char_attribute): Likewise.
2231 (Fput_char_attribute): Likewise; behavior of
2232 `put_char_ccs_code_point' is changed.
2234 * char-ucs.h: Include "elhash.h".
2235 (Vchar_attribute_hash_table): New external variable.
2236 (struct Lisp_Charset): Delete `encoding_table'.
2237 (CHARSET_ENCODING_TABLE): New implementation; refer
2238 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
2241 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2243 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
2246 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2248 * text-coding.c (char_encode_big5): Prefer charset-g1 than
2251 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2253 * chartab.c (uint8_byte_table_description): New constant.
2254 (uint8-byte-table): Use `uint8_byte_table_description'.
2255 (uint16_byte_table_description): New constant.
2256 (uint16-byte-table): Use `uint16_byte_table_description'.
2258 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2260 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
2261 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
2263 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2265 * mule-charset.c (Vcharset_ucs_ks): New variable.
2266 (Qucs_ks): New variable.
2267 (syms_of_mule_charset): Add new symbol `ucs-ks'.
2268 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
2270 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
2272 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2274 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
2275 (Fdecode_char): Likewise.
2277 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
2279 (Fdefine_char): Modify for Fdecode_char.
2280 (Ffind_char): Likewise.
2282 * mule-charset.c (Fdecode_char): Add new optional argument
2284 (Fdecode_builtin_char): Modify for `Fdecode_char'.
2286 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2288 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
2289 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
2290 (allocate_coding_system): Initialize initial-charsets of
2291 CODESYS_BIG5 in XEmacs UTF-2000.
2292 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
2293 CODESYS_BIG5 in XEmacs UTF-2000.
2294 (decode_coding_big5): Use initial-charset-g0 and -g1 of
2295 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
2297 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
2299 (Qideograph_hanziku_{1 .. 12}): Likewise.
2300 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
2302 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
2303 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
2304 `ideograph-hanziku-{1 .. 12}'.
2306 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
2307 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
2308 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
2309 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
2310 (DECODE_DEFINED_CHAR): New inline function.
2311 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
2313 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2315 * mule-charset.c (Vcharset_china3_jef): Renamed from
2316 `Vcharset_japanese_jef_china3'.
2317 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
2318 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
2319 `{MIN|MAX}_CHAR_JEF_CHINA3'..
2320 (syms_of_mule_charset): Rename `china3-jef' from
2321 `japanese-jef-china3'.
2322 (complex_vars_of_mule_charset): Likewise; rename
2323 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
2325 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
2326 `LEADING_BYTE_JEF_CHINA3'.
2327 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
2328 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
2330 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2332 * mule-charset.c (encode_builtin_char_1): Comment out special code
2333 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
2335 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
2336 (MAX_CHAR_MOJIKYO_0): Comment out.
2337 (MIN_CHAR_CBETA): Changed to 0x00E20000.
2338 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
2339 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
2340 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
2342 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2344 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
2345 (Qideograph_cbeta): New variable.
2346 (encode_builtin_char_1): Comment out special code for
2347 coded-charset `mojikyo' and `japanese-jef-china3'.
2348 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
2349 (complex_vars_of_mule_charset): Add new coded-charset
2352 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
2353 (MIN_CHAR_CBETA): New macro.
2354 (MAX_CHAR_CBETA): New macro.
2356 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2358 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
2359 (LEADING_BYTE_JEF_CHINA3): New macro.
2360 (MIN_CHAR_JEF_CHINA3): New macro.
2361 (MAX_CHAR_JEF_CHINA3): Likewise.
2362 (DECODE_CHAR): Fixed.
2364 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2366 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
2367 (Qjapanese_jef_china3): New variable.
2368 (encode_builtin_char_1): Support `japanese-jef-china3'.
2369 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
2370 (complex_vars_of_mule_charset): Add new coded-charset
2371 `japanese-jef-china3'.
2373 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2375 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
2376 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
2377 94^4, 96^3, 96^4, 128^n and 256^n set.
2378 (put_char_table): Use `XCHARSET_CELL_RANGE'.
2379 (map_char_table): Likewise.
2381 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2383 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
2386 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2388 * chartab.h (get_char_id_table): New inline function.
2390 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
2393 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2395 * chartab.h (decode_char_table_range): New prototype in XEmacs
2397 (put_char_id_table): New inline function in XEmacs UTF-2000.
2399 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
2401 (decode_char_table_range): Delete static declaration in XEmacs
2404 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2406 * chartab.c (put_char_id_table): Use `put_char_table'.
2408 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2410 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
2411 (map_over_uint16_byte_table): Likewise.
2412 (map_over_byte_table): Likewise.
2413 (map_char_table): Modify for `map_over_uint8_byte_table',
2414 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
2417 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2419 * chartab.c (struct map_char_table_for_charset_arg): New
2421 (map_char_table_for_charset_fun): New function.
2422 (map_char_table): Use `map_char_table' for encoding_table of
2425 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2427 * chartab.c (map_char_table): Check a character is found in
2428 range->charset instead of non default value is defined in
2429 char-table when range is CHARTAB_RANGE_ROW.
2431 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2433 * chartab.c (map_char_id_table): Deleted.
2434 (Fmap_char_attribute): Use `map_char_table' instead of
2435 `map_char_id_table'.
2437 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2439 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
2441 (update_syntax_table): Deleted in XEmacs UTF-2000.
2443 * syntax.c (find_defun_start): Use `syntax_table' instead of
2444 `mirror_syntax_table' in XEmacs UTF-2000.
2445 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
2447 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
2449 (Fmatching_paren): Likewise.
2450 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
2452 (find_start_of_comment): Likewise.
2453 (find_end_of_comment): Likewise.
2454 (Fforward_comment): Likewise.
2455 (scan_lists): Likewise.
2456 (char_quoted): Likewise.
2457 (Fbackward_prefix_chars): Likewise.
2458 (scan_sexps_forward): Likewise.
2459 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
2460 (update_syntax_table): Likewise.
2462 * search.c (skip_chars): Use `syntax_table' instead of
2463 `mirror_syntax_table' in XEmacs UTF-2000.
2464 (wordify): Likewise.
2465 (Freplace_match): Likewise.
2467 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
2468 `mirror_syntax_table' in XEmacs UTF-2000.
2469 (WORDCHAR_P_UNSAFE): Likewise.
2470 (re_match_2_internal): Likewise.
2472 * font-lock.c (find_context): Use `buf->syntax_table' instead of
2473 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2475 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
2476 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
2478 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
2481 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
2483 (print_char_table): Print `default_value' in XEmacs UTF-2000.
2484 (char_table_description): Delete `mirror_table' in XEmacs
2486 (fill_char_table): Don't call `update_syntax_table' in XEmacs
2488 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
2489 (Fcopy_char_table): Likewise.
2490 (put_char_table): Don't call `update_syntax_table' in XEmacs
2493 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
2494 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2495 (casify_region_internal): Likewise.
2497 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
2499 * buffer.c (common_init_complex_vars_of_buffer): Don't use
2500 `mirror_syntax_table' in XEmacs UTF-2000.
2502 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
2503 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2504 (Fexpand_abbrev): Likewise.
2506 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2508 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
2510 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2512 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
2513 (map_over_uint16_byte_table): Likewise.
2514 (map_over_byte_table): Likewise.
2515 (get_char_id_table): Refer `cit->default_value'.
2516 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2517 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
2518 of character-id ranges.
2519 (mark_char_table): Mark `ct->default_value'.
2520 (char_table_description): Add `default_value'.
2521 (fill_char_table): Use `default_value'.
2522 (decode_char_table_range): Decode `nil' as
2523 `CHARTAB_RANGE_DEFAULT'.
2524 (get_char_id_table): Refer `cit->default_value'.
2525 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2526 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
2527 temporary hack; check value of char-table is bound or not.
2528 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
2530 * chartab.h (struct Lisp_Char_Table): Add new member
2531 `default_value' in XEmacs UTF-2000.
2532 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
2533 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
2536 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2538 * chartab.h (Lisp_Char_ID_Table): Deleted.
2540 * chartab.c (char_table_description): Fix typo.
2541 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
2542 `Lisp_Char_ID_Table'.
2544 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2546 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
2549 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
2552 * chartab.h (XCHAR_ID_TABLE): Deleted.
2553 (XSETCHAR_ID_TABLE): Deleted.
2554 (CHAR_ID_TABLE_P): Deleted.
2556 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
2558 (Fget_composite_char): Likewise.
2559 (put_char_table): Likewise.
2560 (add_char_attribute_alist_mapper): Fixed.
2561 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
2563 (Fget_char_attribute): Likewise.
2564 (Fget_char_attribute): Likewise.
2565 (Fmap_char_attribute): Likewise.
2567 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
2569 (encode_char_1): Likewise.
2571 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2573 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
2576 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
2577 instead of `XCHAR_ID_TABLE'.
2578 (remove_char_ccs): Likewise.
2580 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
2582 (Fget_composite_char): Likewise.
2583 (Fchar_variants): Likewise.
2584 (put_char_table): Likewise.
2585 (add_char_attribute_alist_mapper): Likewise.
2586 (Fchar_attribute_alist): Likewise.
2587 (Fget_char_attribute): Likewise.
2588 (Fput_char_attribute): Likewise.
2589 (Fmap_char_attribute): Likewise.
2590 (Fmap_char_attribute): Likewise.
2592 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
2594 (encode_char_1): Likewise.
2596 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2598 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
2599 `Lisp_Char_ID_Table'.
2600 (mark_char_id_table): Deleted.
2601 (print_char_id_table): Likewise.
2602 (char_id_table_equal): Likewise.
2603 (char_id_table_hash): Likewise.
2604 (char_id_table_description): Likewise.
2605 (char_id_table): Likewise.
2606 (make_char_id_table): Use `Fmake_char_table' and
2608 (get_char_id_table): Use `Lisp_Char_Table' instead of
2609 `Lisp_Char_ID_Table'.
2610 (put_char_id_table): Likewise.
2611 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
2613 (Fremove_char_attribute): Likewise.
2614 (syms_of_chartab): Don't define type `char-id-table'.
2616 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
2617 (char_id_table): Likewise.
2618 (GC_CHAR_ID_TABLE_P): Likewise.
2619 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
2620 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
2621 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
2622 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
2623 (get_char_id_table): Use `Lisp_Char_Table' instead of
2624 `Lisp_Char_ID_Table'.
2625 (put_char_id_table_0): Likewise.
2626 (put_char_id_table): Likewise.
2628 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2630 * chartab.h: Lisp_Byte_Table related codes are moved from
2633 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
2635 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2637 * chartab.h: Don't include "chartab.h".
2638 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
2639 (Lisp_Char_ID_Table): Likewise.
2640 (char_id_table): Likewise.
2641 (XCHAR_ID_TABLE): Likewise.
2642 (XSETCHAR_ID_TABLE): Likewise.
2643 (CHAR_ID_TABLE_P): Likewise.
2644 (GC_CHAR_ID_TABLE_P): Likewise.
2645 (get_char_id_table): Likewise.
2647 * char-ucs.h: Include "chartab.h".
2648 (struct Lisp_Char_ID_Table): Moved to chartab.h.
2649 (Lisp_Char_ID_Table): Likewise.
2650 (char_id_table): Likewise.
2651 (XCHAR_ID_TABLE): Likewise.
2652 (XSETCHAR_ID_TABLE): Likewise.
2653 (CHAR_ID_TABLE_P): Likewise.
2654 (GC_CHAR_ID_TABLE_P): Likewise.
2655 (get_char_id_table): Likewise.
2657 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2659 * chartab.c (copy_uint8_byte_table): New function.
2660 (copy_uint16_byte_table): New function.
2661 (copy_byte_table): New function.
2662 (map_over_uint8_byte_table): Modify to avoid huge numbers of
2664 (map_over_uint16_byte_table): Likewise.
2665 (map_over_byte_table): Likewise.
2666 (get_byte_table): Move prototype to chartab.h.
2667 (put_byte_table): Likewise.
2668 (put_char_id_table_0): Moved to chartab.h.
2669 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
2670 (char_table_entry_equal): Likewise.
2671 (char_table_entry_hash): Likewise.
2672 (char_table_entry_description): Likewise.
2673 (char_table_entry): Likewise.
2674 (make_char_table_entry): Likewise.
2675 (copy_char_table_entry): Likewise.
2676 (get_non_ascii_char_table_value): Likewise.
2677 (map_over_charset_ascii): Likewise.
2678 (map_over_charset_control_1): Likewise.
2679 (map_over_charset_row): Likewise.
2680 (map_over_other_charset): Likewise.
2681 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
2682 (print_char_table): Likewise.
2683 (char_table_equal): Likewise.
2684 (char_table_hash): Likewise.
2685 (char_table_description): Likewise.
2686 (fill_char_table): Likewise.
2687 (Fcopy_char_table): Likewise.
2688 (get_char_table): Likewise.
2689 (Fget_range_char_table): Likewise.
2690 (put_char_table): Likewise.
2691 (map_char_table): Likewise.
2692 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
2695 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2697 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
2698 `Vauto_fill_chars' in XEmacs UTF-2000.
2700 * chartab.h (get_byte_table): New prototype [moved from
2702 (put_byte_table): Likewise [moved from chartab.c].
2703 (put_char_id_table_0): New inline function [moved from chartab.c].
2704 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
2705 (Lisp_Char_Table_Entry): Likewise.
2706 (char_table_entry): Likewise.
2707 (XCHAR_TABLE_ENTRY): Likewise.
2708 (XSETCHAR_TABLE_ENTRY): Likewise.
2709 (CHAR_TABLE_ENTRYP): Likewise.
2710 (CHECK_CHAR_TABLE_ENTRY): Likewise.
2711 (NUM_ASCII_CHARS): Likewise.
2712 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
2713 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
2715 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2717 * chartab.c (get_char_id_table): Change interface.
2718 (put_char_id_table_0): New function.
2719 (put_char_id_table): Change interface; new implementation.
2720 (Fget_composite_char): Modify for interface change of
2721 `get_char_id_table'.
2722 (Fchar_variants): Likewise.
2723 (add_char_attribute_alist_mapper): Likewise.
2724 (Fchar_attribute_alist): Likewise.
2725 (Fget_char_attribute): Likewise.
2726 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
2727 as same as character as the first argument like `put-char-table';
2728 modify for interface change of `put_char_id_table'.
2729 (Fremove_char_attribute): Modify for interface change of
2730 `put_char_id_table'.
2732 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2734 * text-coding.c: Sync up with XEmacs 21.2.41.
2735 (COMPOSE_ADD_CHAR): Modify for interface change of
2736 `get_char_id_table'.
2738 * mule-charset.c (put_char_ccs_code_point): Modify for interface
2739 change of `put_char_id_table'.
2740 (remove_char_ccs): Likewise.
2742 * chartab.h (put_char_id_table): Change interface.
2744 * char-ucs.h (get_char_id_table): Change interface.
2745 (charset_code_point): Modify for interface change of
2746 `get_char_id_table'.
2747 (encode_char_1): Likewise.
2749 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2751 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
2753 (map_over_uint16_byte_table): Likewise.
2754 (map_over_byte_table): Likewise.
2755 (map_char_id_table): Add new argument `range' like
2757 (Fmap_char_attribute): Add new argument `range' like
2760 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2762 * chartab.c (map_over_uint8_byte_table): Change interface of
2763 mapping function to use struct chartab_range instead of Emchar.
2764 (map_over_uint16_byte_table): Likewise.
2765 (map_over_byte_table): Likewise.
2766 (map_char_id_table): Likewise.
2767 (struct slow_map_char_id_table_arg): Deleted.
2768 (slow_map_char_id_table_fun): Deleted.
2769 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
2770 function `slow_map_char_table_fun' instead of struct
2771 `slow_map_char_id_table_arg' and function
2772 `slow_map_char_id_table_fun'.
2774 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2776 * mule-charset.c: Move char-it-table related codes to chartab.c.
2777 (Vutf_2000_version): Moved to chartab.c.
2778 (Fdefine_char): Likewise.
2779 (Ffind_char): Likewise.
2780 (syms_of_mule_charset): Move types `uint8-byte-table',
2781 `uint16-byte-table', `byte-table' and `char-id-table' to
2782 chartab.c; move functions `char_attribute_list,
2783 `find_char_attribute_table, `char_attribute_alist,
2784 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
2785 `map_char_attribute, `define_char, `find_char, `char_variants and
2786 `get_composite_char to chartab.c; move symbols `=>ucs',
2787 `->decomposition', `compat', `isolated', `initial', `medial',
2788 `final', `vertical', `noBreak', `fraction', `super', `sub',
2789 `circle', `square', `wide', `narrow', `small' and `font' to
2791 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
2792 setting codes for `Vcharacter_composition_table' and
2793 `Vcharacter_variant_table' to chartab.c.
2794 (complex_vars_of_mule_charset): Move setting code for
2795 `Vchar_attribute_hash_table' to chartab.c.
2797 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
2798 (make_char_id_table): New prototype.
2799 (put_char_id_table): Likewise.
2800 (Fget_char_attribute): Likewise.
2802 * chartab.c: Move char-id-table related code from mule-charset.c.
2803 (Vutf_2000_version): Moved from mule-charset.c.
2805 * char-ucs.h (Qucs): New external variable.
2806 (put_char_ccs_code_point): New prototype.
2807 (remove_char_ccs): Likewise.
2809 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2811 * mule-charset.c (Vcharset_ucs_jis): New variable.
2812 (Qucs_jis): Likewise.
2813 (syms_of_mule_charset): Add new symbol `ucs-jis'.
2814 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
2816 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
2818 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2820 * mule-charset.c (map_over_uint8_byte_table): New function.
2821 (map_over_uint16_byte_table): Likewise.
2822 (map_over_byte_table): Likewise.
2823 (map_char_id_table): Likewise.
2824 (slow_map_char_id_table_fun): Likewise.
2825 (Fmap_char_attribute): Likewise.
2826 (syms_of_mule_charset): Add new function `map-char-attribute'.
2828 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2830 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
2831 (syms_of_mule_charset): Add new function `find-char'.
2833 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2835 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
2837 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
2838 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
2840 (complex_vars_of_mule_charset): Add new coded-charset
2841 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
2842 `ideograph-gt-pj-*'.
2844 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
2846 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2848 * mule-charset.c (encode_builtin_char_1): Purge codes about
2849 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
2850 {MIN|MAX}_CHAR_HEBREW.
2851 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
2852 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
2854 * char-ucs.h (MIN_CHAR_GREEK): Purged.
2855 (MAX_CHAR_GREEK): Purged.
2856 (MIN_CHAR_CYRILLIC): Purged.
2857 (MAX_CHAR_CYRILLIC): Purged.
2858 (MIN_CHAR_HEBREW): Commented out.
2859 (MAX_CHAR_HEBREW): Likewise.
2861 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2863 * mule-charset.c (Qto_ucs): New variable.
2864 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
2865 (Fdefine_char): Likewise.
2866 (syms_of_mule_charset): Add new symbol `=>ucs'.
2868 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2870 * mule-charset.c (Fdecode_char): Fixed.
2872 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2874 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
2875 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
2878 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2880 * mule-charset.c (Vcharset_ucs_big5): New variable.
2881 (Qucs_big5): Likewise.
2882 (syms_of_mule_charset): Add new symbol `ucs-big5'.
2883 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
2885 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
2887 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2889 * mule-charset.c (decode_builtin_char): Check Big5 code range
2890 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
2892 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2894 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
2895 (Qchinese_gb12345): Likewise.
2896 (Fdecode_builtin_char): Fixed.
2897 (syms_of_mule_charset): Add `chinese-gb12345'.
2898 (complex_vars_of_mule_charset): Add coded-charset
2901 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
2902 (LEADING_BYTE_CHINESE_GB12345): New macro.
2904 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2906 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
2907 and `latin-viscii-upper' for `latin-viscii'.
2909 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2911 * mule-charset.c (Fdecode_builtin_char): Comment out
2912 regularization code for ISO-IR GR representation.
2914 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2916 * mule-charset.c (decode_builtin_char): New function; renamed from
2917 `make_builtin_char'; return -1 instead of signal.
2918 (Fdecode_builtin_char): Use `decode_builtin_char'.
2920 * char-ucs.h (decode_builtin_char): New prototype; renamed from
2921 `make_builtin_char'.
2922 (DECODE_CHAR): Use `decode_builtin_char' instead of
2923 `make_builtin_char'; use mapping table of `chinese-big5' for
2924 `chinese-big5-{1,2}'.
2926 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2928 * text-coding.c (char_encode_big5): New function.
2929 (char_finish_big5): Likewise.
2930 (reset_encoding_stream): Use `char_encode_big5' and
2931 `char_finish_big5' for CODESYS_BIG5.
2932 (mule_encode): Don't use `encode_coding_big5'.
2933 (encode_coding_big5): Deleted.
2935 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2937 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
2938 0x81- in XEmacs UTF-2000.
2939 (detect_coding_big5): Likewise.
2941 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2943 * mule-charset.c (Fdefine_char): Don't use a CCS property to
2944 generate character-id if the CCS property does not have
2945 corresponding predefined character.
2946 (make_builtin_char): Return -1 if corresponding predefined
2947 character is not found.
2948 (Fdecode_char): Return nil if corresponding character is not
2950 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
2951 don't map to builtin ucs space.
2953 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2955 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
2956 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
2958 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2960 * mule-charset.c (Vcharset_ideograph_gt): New variable.
2961 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
2962 (Qideograph_gt): Likewise.
2963 (Qideograph_gt_pj_{1..11}): Likewise.
2964 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
2965 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
2966 `ideograph-gt-pj-11'.
2967 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
2968 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
2969 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
2971 * char-ucs.h (LEADING_BYTE_GT): New macro.
2972 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
2973 (MIN_CHAR_GT): Likewise.
2974 (MAX_CHAR_GT): Likewise.
2976 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2978 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
2979 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
2981 * doprnt.c (unsigned_int_converters): Add `c'.
2982 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
2984 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
2985 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
2987 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
2988 (MAX_CHAR_MOJIKYO_0): New macro.
2989 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
2991 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2993 * mule-charset.c (Fdefine_char): Delete cemented out code.
2994 (encode_builtin_char_1): Modify for new allocation of builtin
2997 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
2999 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3001 * mule-charset.c (Vcharset_ucs_cns): New variable.
3002 (Qucs_cns): New variable.
3003 (syms_of_mule_charset): Add new symbol `ucs-cns'.
3004 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
3006 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3008 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
3010 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3012 * search.c (search_buffer): Make `charset_base_code' as
3013 character-id >> 6 to eliminate the corresponding last byte in
3014 UTF-8 representation [I'm not sure it is right thing].
3015 (boyer_moore): Likewise.
3017 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3019 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
3020 representation in MULE.
3022 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3024 * text-coding.c (Fmake_coding_system): Use
3025 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
3026 `EXTERNAL_PROPERTY_LIST_LOOP'.
3028 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3030 * text-coding.c (decode_output_utf8_partial_char): New function.
3031 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
3033 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3035 * text-coding.c (decode_coding_utf8): Output original byte
3036 sequence if it is broken; change order of conditions.
3038 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
3041 * mb-multibyte.h (BYTE_ASCII_P):
3042 Use bit ops for char-signedness safety.
3043 (BYTE_C0_P): Use bit ops for char-signedness safety.
3044 (BYTE_C1_P): Use bit ops for char-signedness safety.
3046 * character.h: (XCHAR_OR_CHAR_INT):
3047 Always use inline function.
3048 Remove redundant type checking assert() - XINT will abort quite
3051 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3053 * text-coding.c: (Fencode_shift_jis_char):
3054 (Fencode_big5_char):
3055 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
3056 Replace 0 with '\0' when working with bytes.
3057 Replace initial "(" with "\(" in docstrings.
3059 (Fmake_coding_system):
3060 When type is ccl and value is vector, register it with a proper
3061 symbol. And checks whether the given ccl program is valid.
3062 (mule_decode): When calling ccl_driver, if src indicates
3063 NULL pointer, set an empty string instead.
3064 (mule_encode): Likewise.
3067 (detect_coding_sjis):
3068 (decode_coding_sjis):
3069 (detect_coding_big5):
3070 (decode_coding_big5):
3071 (detect_coding_ucs4):
3072 (decode_coding_ucs4):
3073 (detect_coding_utf8):
3074 (decode_coding_utf8):
3075 (detect_coding_iso2022):
3076 (decode_coding_iso2022):
3077 (decode_coding_no_conversion):
3079 Make all detecting and decoding functions take an Extbyte * arg.
3080 (text_encode_generic):
3081 (encode_coding_big5):
3082 (encode_coding_no_conversion):
3084 Make all encoding functions take a Bufbyte * arg.
3085 Use size_t instead of unsigned int for memory sizes.
3086 Only cast to unsigned char whenever dereferencing Extbyte *.
3088 (struct lrecord_description fcd_description_1): Use countof.
3089 (complex_vars_of_file_coding):
3090 Use countof instead of sizeof.
3091 Use CHECK_NATNUM instead of CHECK_INT.
3093 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3095 * mule-charset.c (Fget_char_attribute): Add new optional argument
3097 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
3098 (remove_char_ccs): Likewise.
3100 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3102 * text-coding.c (char_encode_shift_jis): New implementation in
3104 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
3107 * mule-charset.c (Vcharset_chinese_big5): New variable in
3109 (Qchinese_big5): New variable in UTF-2000.
3110 (BIG5_SAME_ROW): New macro in UTF-2000.
3111 (make_builtin_char): Use builtin characters of
3112 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
3113 characters of `Vcharset_chinese_big5'.
3114 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
3115 (complex_vars_of_mule_charset): Add new coded-charset
3116 `chinese-big5' in UTF-2000.
3118 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
3119 (Vcharset_chinese_big5): New external variable declaration.
3120 (Vcharset_japanese_jisx0208_1990): Likewise.
3122 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3124 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
3126 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
3128 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3130 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
3131 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
3132 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
3135 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3137 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
3139 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3141 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3144 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3146 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
3147 for `CHARSET_BY_ATTRIBUTES'.
3148 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3149 `CHARSET_BY_ATTRIBUTES'.
3151 * text-coding.c (struct decoding_stream): Rename member `CH' to
3153 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
3154 (decode_coding_sjis): Likewise.
3155 (decode_coding_big5): Likewise.
3156 (decode_coding_ucs4): Likewise.
3157 (decode_coding_utf8): Likewise.
3158 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3159 `CHARSET_BY_ATTRIBUTES'.
3160 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
3161 `str->counter'; decode 3, 4 bytes sets.
3162 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
3164 (decode_coding_no_conversion): Use `str->cpos' instead of
3167 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
3168 (Qmojikyo_2022_1): New variable.
3169 (make_charset): Don't use `CHARSET_TYPE_*'.
3170 (range_charset_code_point): Support coded-charset
3172 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
3173 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
3174 `CHARSET_BY_ATTRIBUTES'.
3175 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
3176 `CHARSET_BY_ATTRIBUTES'.
3177 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
3178 (complex_vars_of_mule_charset): Add new coded-charset
3181 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
3182 interface; changed to inline function.
3184 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
3185 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
3186 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
3187 (CHARSET_TYPE_94): Deleted.
3188 (CHARSET_TYPE_94X94): Deleted.
3189 (CHARSET_TYPE_96): Deleted.
3190 (CHARSET_TYPE_96X96): Deleted.
3191 (CHARSET_TYPE_128): Deleted.
3192 (CHARSET_TYPE_128X128): Deleted.
3193 (CHARSET_TYPE_256): Deleted.
3194 (CHARSET_TYPE_256X256): Deleted.
3195 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
3197 (DECODE_MOJIKYO_2022): New inline function.
3198 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
3199 `Vcharset_mojikyo_2022_1'.
3201 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3203 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
3205 (put_byte_table): Likewise.
3206 (char_id_table_equal): Use `get_byte_table' [new implementation].
3208 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3210 * mule-charset.c: Include <limits.h> in UTF-2000.
3211 (BT_UINT8_MIN): New macro in UTF-2000.
3212 (BT_UINT8_MAX): New macro in UTF-2000.
3213 (BT_UINT8_t): New macro in UTF-2000.
3214 (BT_UINT8_nil): New macro in UTF-2000.
3215 (BT_UINT8_unbound): New macro in UTF-2000.
3216 (INT_UINT8_P): New inline function in UTF-2000.
3217 (UINT8_VALUE_P): New inline function in UTF-2000.
3218 (UINT8_ENCODE): New inline function in UTF-2000.
3219 (UINT8_DECODE): New inline function in UTF-2000.
3220 (mark_uint8_byte_table): New function in UTF-2000.
3221 (print_uint8_byte_table): New function in UTF-2000.
3222 (uint8_byte_table_equal): New function in UTF-2000.
3223 (uint8_byte_table_hash): New function in UTF-2000.
3224 (make_uint8_byte_table): New function in UTF-2000.
3225 (uint8_byte_table_same_value_p): New function in UTF-2000.
3226 (BT_UINT16_MIN): New macro in UTF-2000.
3227 (BT_UINT16_MAX): New macro in UTF-2000.
3228 (BT_UINT16_t): New macro in UTF-2000.
3229 (BT_UINT16_nil): New macro in UTF-2000.
3230 (BT_UINT16_unbound): New macro in UTF-2000.
3231 (INT_UINT16_P): New inline function in UTF-2000.
3232 (UINT16_VALUE_P): New inline function in UTF-2000.
3233 (UINT16_ENCODE): New inline function in UTF-2000.
3234 (UINT16_DECODE): New inline function in UTF-2000.
3235 (UINT8_TO_UINT16): New inline function in UTF-2000.
3236 (mark_uint16_byte_table): New function in UTF-2000.
3237 (print_uint16_byte_table): New function in UTF-2000.
3238 (uint16_byte_table_equal): New function in UTF-2000.
3239 (uint16_byte_table_hash): New function in UTF-2000.
3240 (make_uint16_byte_table): New function in UTF-2000.
3241 (uint16_byte_table_same_value_p): New function in UTF-2000.
3242 (print_byte_table): New function in UTF-2000.
3243 (byte-table): Use `print_byte_table' as printer.
3244 (make_byte_table): Delete second argument `older'.
3245 (byte_table_same_value_p): New function in UTF-2000.
3246 (copy_byte_table): Deleted.
3247 (get_byte_table): New function in UTF-2000.
3248 (put_byte_table): New function in UTF-2000.
3249 (print_char_id_table): New function in UTF-2000.
3250 (char-id-table): Use `print_char_id_table' as printer.
3251 (make_char_id_table): Delete second argument `older'.
3252 (get_char_id_table): Use `get_byte_table [new implementation].
3253 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
3255 (Ffind_char_attribute_table): New function in UTF-2000.
3256 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3257 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
3258 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
3259 (syms_of_mule_charset): Add new function
3260 `find-char-attribute-table' in UTF-2000.
3262 * lrecord.h (enum lrecord_type): Add
3263 `lrecord_type_uint16_byte_table' and
3264 `lrecord_type_uint8_byte_table'.
3266 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
3267 (Lisp_Uint8_Byte_Table): New type.
3268 (XUINT8_BYTE_TABLE): New macro.
3269 (XSETUINT8_BYTE_TABLE): New macro.
3270 (UINT8_BYTE_TABLE_P): New macro.
3271 (GC_UINT8_BYTE_TABLE_P): New macro.
3272 (struct Lisp_Uint16_Byte_Table): New structure.
3273 (Lisp_Uint16_Byte_Table): New type.
3274 (XUINT16_BYTE_TABLE): New macro.
3275 (XSETUINT16_BYTE_TABLE): New macro.
3276 (UINT16_BYTE_TABLE_P): New macro.
3277 (GC_UINT16_BYTE_TABLE_P): New macro.
3279 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3281 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
3282 (Vcharacter_ideographic_strokes_table): Deleted.
3283 (Vcharacter_total_strokes_table): Deleted.
3284 (Vcharacter_morohashi_daikanwa_table): Deleted.
3285 (Vcharacter_decomposition_table): Deleted.
3286 (Qname): Deleted because it is duplicated.
3287 (Qideographic_radical): Deleted.
3288 (Qideographic_strokes): Deleted.
3289 (Qtotal_strokes): Deleted.
3290 (Qmorohashi_daikanwa): Deleted.
3291 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
3292 `ideographic-radical', `ideographic-strokes', `total-strokes',
3293 `morohashi-daikanwa' and `->decomposition'.
3294 (Fget_char_attribute): Likewise.
3295 (Fput_char_attribute): Likewise; use `make-vector' instead of
3296 `make_older_vector' for `->decomposition' value.
3297 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
3298 `ideograph-daikanwa'.
3299 (syms_of_mule_charset): Delete builtin symbols `name',
3300 `ideographic-radical', `ideographic-strokes', `total-strokes' and
3301 `morohashi-daikanwa'.
3302 (vars_of_mule_charset): Don't setup
3303 `Vcharacter_ideographic_radical_table',
3304 `Vcharacter_ideographic_strokes_table',
3305 `Vcharacter_total_strokes_table',
3306 `Vcharacter_morohashi_daikanwa_table' and
3307 `Vcharacter_decomposition_table'.
3309 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3311 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
3312 `make_older_vector', `make_vector_newer_1' and
3313 `make_vector_newer'.
3315 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
3316 `make_older_vector' and `make_vector_newer'.
3318 * config.h.in (HAVE_GGC): New macro.
3320 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3322 * mule-charset.c (struct char_attribute_list_closure): New
3323 structure in UTF-2000.
3324 (add_char_attribute_to_list_mapper): New function in UTF-2000.
3325 (Fchar_attribute_list): Likewise.
3326 (Fset_charset_mapping_table): Use `make_vector_newer'.
3327 (Fdecode_builtin_char): New function in UTF-2000.
3328 (syms_of_mule_charset): Add new function `char-attribute-list' and
3329 `decode-builtin-char' in UTF-2000.
3331 * lisp.h (make_vector_newer): New prototype.
3333 * alloc.c (make_vector_newer_1): New function.
3334 (make_vector_newer): New function.
3336 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3338 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
3341 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3343 * mule-charset.c (Vchar_attribute_hash_table): New variable.
3344 (Vcharacter_attribute_table): Deleted.
3345 (Vcharacter_name_table): Deleted.
3346 (put_char_attribute): Deleted.
3347 (remove_char_attribute): Deleted.
3348 (struct char_attribute_alist_closure): New structure.
3349 (add_char_attribute_alist_mapper): New function.
3350 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
3351 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
3352 (Fget_char_attribute): Likewise.
3353 (Fput_char_attribute): Likewise.
3354 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
3355 of `remove_char_attribute'.
3356 (Fdefine_char): Return character.
3357 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
3358 and `Vcharacter_name_table'.
3359 (complex_vars_of_mule_charset): Likewise
3360 `Vchar_attribute_hash_table'.
3362 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3364 * character.h (CHARC_CHARSET): New macro.
3365 (CHARC_CHARSET_ID): New macro.
3366 (CHARC_CODE_POINT): New macro.
3367 (CHARC_COLUMNS): New macro.
3368 (CHARC_TO_CHAR): New inline function.
3369 (CHARC_EQ): New inline function.
3370 (CHARC_ASCII_EQ): New inline function.
3371 (CHARC_IS_SPACE): New inline function.
3372 (ASCII_TO_CHARC): New inline function.
3374 * char-ucs.h (encode_char_2): Deleted.
3375 (ENCODE_CHAR): Use `encode_char_1' again.
3376 (breakup_char_1): Likewise.
3377 (CHAR_TO_CHARC): New inline function.
3379 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
3381 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3383 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
3384 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
3385 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
3386 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
3387 (create_string_text_block): Use `CHARC_ASCII_EQ' and
3389 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
3391 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
3393 (x_output_display_block): Use `CHARC_CHARSET' and
3396 * redisplay-tty.c (tty_output_display_block): Use
3398 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
3400 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
3402 * insdel.c (find_charsets_in_charc_string): Use
3404 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
3405 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
3406 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
3407 (convert_charc_string_into_malloced_string): Likewise.
3409 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3411 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
3412 instead of <Emchar_dynarr *> for buf; use
3413 `convert_bufbyte_string_into_charc_dynarr' instead of
3414 `convert_bufbyte_string_into_emchar_dynarr'; use
3415 `find_charsets_in_charc_string' instead of
3416 `find_charsets_in_emchar_string'.
3419 - Include "character.h".
3420 (struct rune): New member `cglyph'; delete member `chr'.
3422 * redisplay.c (redisplay_text_width_charc_string): New function;
3423 delete `redisplay_text_width_emchar_string'.
3424 (rtw_charc_dynarr): New variable; renamed from
3425 `rtw_emchar_dynarr'.
3426 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
3427 `rtw_emchar_dynarr'; use
3428 `convert_bufbyte_string_into_charc_dynarr' instead of
3429 `convert_bufbyte_string_into_emchar_dynarr'; use
3430 `redisplay_text_width_charc_string' instead of
3431 `redisplay_text_width_emchar_string'.
3432 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
3433 instead of `rtw_emchar_dynarr'; use
3434 `convert_bufbyte_string_into_charc_dynarr' instead of
3435 `convert_bufbyte_string_into_emchar_dynarr'.
3436 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
3437 `redisplay_text_width_charc_string' instead of
3438 `redisplay_text_width_emchar_string'.
3439 (create_text_block): Modify for <struct rune> change.
3440 (generate_formatted_string_db): Likewise.
3441 (create_string_text_block): Likewise.
3442 (pixel_to_glyph_translation): Likewise.
3444 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
3445 instead of <const Emchar *>.
3446 (x_text_width): Likewise.
3447 (x_output_display_block): Use <Charc_dynarr *> instead
3448 <Emchar_dynarr *>; modify for <structure rune> change.
3449 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
3452 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
3453 <const Emchar *>; use `charc_string_displayed_columns' instead of
3454 `emchar_string_displayed_columns'.
3455 (tty_output_display_block): Use <Charc_dynarr *> instead of
3456 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
3457 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
3458 (tty_output_charc_dynarr_dynarr): New variable; renamed from
3459 `tty_output_emchar_dynarr_dynarr'.
3460 (tty_output_charc_dynarr): New function; delete
3461 `tty_output_charc_dynarr'.
3463 * redisplay-output.c (compare_runes): Modify for `struct rune'.
3464 (redisplay_output_layout): Use <Charc_dynarr *> instead of
3465 <Emchar_dynarr *> for buf; use
3466 `convert_bufbyte_string_into_charc_dynarr' instead of
3467 `convert_bufbyte_string_into_emchar_dynarr'.
3469 * frame.c (title_string_charc_dynarr): New variable; renamed from
3470 `title_string_emchar_dynarr'.
3471 (generate_title_string): Use `title_string_charc_dynarr' instead
3472 of `title_string_emchar_dynarr'; use
3473 `convert_charc_string_into_malloced_string' instead of
3474 `convert_emchar_string_into_malloced_string'.
3475 (init_frame): Use `title_string_charc_dynarr' instead of
3476 `title_string_emchar_dynarr'.
3479 - Include "character.h".
3480 (struct console_methods): Use <const Charc *> instead of <const
3481 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
3482 <Emchar_dynarr *> in output_string_method.
3484 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
3487 * console-stream.c (stream_text_width): Use <const Charc *>
3488 instead of <const Emchar *>.
3490 * character.h (Charc_dynarr): New type.
3492 * char-ucs.h (structure Charc): New structure; define new type
3495 * char-lb.h (DECODE_CHAR): New inline function.
3496 (encode_char_1): New inline function.
3497 (ENCODE_CHAR): New macro.
3498 (structure Charc): New structure; define new type `Charc'.
3500 * char-1byte.h (Vcharset_control_1): New macro.
3501 (Vcharset_latin_iso8859_1): New macro.
3502 (DECODE_CHAR): New inline function.
3503 (encode_char_1): New inline function.
3504 (ENCODE_CHAR): New macro.
3505 (structure Charc): New structure; define new type `Charc'.
3507 * insdel.c (find_charsets_in_charc_string): New function; delete
3508 `find_charsets_in_emchar_string'.
3509 (charc_string_displayed_columns): New function; delete
3510 `emchar_string_displayed_columns'.
3511 (convert_bufbyte_string_into_charc_dynarr): New function; delete
3512 `convert_bufbyte_string_into_emchar_dynarr'.
3513 (convert_charc_string_into_bufbyte_dynarr): New function; delete
3514 `convert_charc_string_into_bufbyte_dynarr'.
3515 (convert_charc_string_into_malloced_string): New function; delete
3516 `convert_charc_string_into_malloced_string'.
3518 * buffer.h (find_charsets_in_charc_string): New prototype; delete
3519 `find_charsets_in_emchar_string'.
3520 (charc_string_displayed_columns): New prototype; delete
3521 `emchar_string_displayed_columns'.
3522 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
3523 `convert_charc_string_into_bufbyte_dynarr'.
3524 (convert_charc_string_into_malloced_string): New prototype; delete
3525 `convert_charc_string_into_malloced_string'.
3527 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3529 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
3531 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3533 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
3535 * char-ucs.h: Use <short> for <Charset_ID>.
3537 * mule-charset.h, char-1byte.h: Use <unsigned char> for
3540 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3542 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3545 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3547 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
3549 (Qmorohashi_daikanwa): New variable.
3550 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
3551 for `morohashi-daikanwa' attribute.
3552 (Fget_char_attribute): Likewise.
3553 (Fput_char_attribute): Likewise.
3554 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
3555 has the same value of `ideograph-daikanwa'.
3556 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
3557 (vars_of_mule_charset): Setup
3558 `Vcharacter_morohashi_daikanwa_table'.
3560 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3562 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
3564 (add_charset_to_list_mapper): Add `key' instead of
3565 `XCHARSET_NAME (value)' to return aliases.
3567 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3569 * mule-charset.c (Vcharacter_ideographic_radical_table): New
3571 (Vcharacter_ideographic_strokes_table): New variable.
3572 (Qideographic_radical): New variable.
3573 (Qideographic_strokes): New variable.
3574 (Fchar_attribute_alist): Use
3575 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
3576 attribute; use `Vcharacter_ideographic_strokes_table' for
3577 `ideographic-strokes' attribute.
3578 (Fget_char_attribute): Likewise.
3579 (Fput_char_attribute): Likewise.
3580 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
3581 `ideographic-strokes'.
3582 (vars_of_mule_charset): Setup
3583 `Vcharacter_ideographic_radical_table' and
3584 `Vcharacter_ideographic_strokes_table'.
3586 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3588 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
3589 (Qtotal_strokes): New variable.
3590 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
3591 `total-strokes' attribute.
3592 (Fget_char_attribute): Likewise.
3593 (Fput_char_attribute): Likewise.
3594 (syms_of_mule_charset): Add new symbol `total-strokes'.
3595 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
3597 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3599 * mule-charset.c (Vcharacter_decomposition_table): New variable.
3600 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
3602 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
3603 `->decomposition' attribute.
3604 (Fput_char_attribute): Likewise.
3605 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
3607 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3609 * mule-charset.c (decoding_table_check_elements): New function.
3610 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
3612 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3614 * mule-charset.c (Fset_charset_mapping_table): Use
3615 `put_char_ccs_code_point'.
3617 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3619 * mule-charset.c (decoding_table_put_char): New inline function.
3620 (put_char_ccs_code_point): Use `decoding_table_put_char'.
3622 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3624 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
3625 (XCHARSET_BYTE_SIZE): New macro.
3626 (decoding_table_remove_char): New inline function.
3627 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
3628 `decoding_table_remove_char'.
3629 (remove_char_ccs): Use `decoding_table_remove_char'.
3630 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
3632 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3634 * mule-charset.c (Vcharacter_name_table): New variable.
3635 (Qname): New variable.
3636 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
3638 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
3639 `Vcharacter_name_table' for `name' attribute.
3640 (Fremove_char_attribute): Use function `remove_char_ccs'.
3641 (put_char_ccs_code_point): New function.
3642 (remove_char_ccs): New function.
3643 (syms_of_mule_charset): Add new symbol `name'.
3644 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
3646 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3648 * mule-charset.c (make_byte_table): Add new argument `older'.
3649 (make_char_id_table): Likewise.
3650 (copy_char_id_table): Comment out because it is not used.
3651 (put_char_id_table): Modify for `make_byte_table'.
3652 (Fput_char_attribute): Make encoding_table as older object;
3653 inherit older bit of `Vcharacter_composition_table'.
3654 (mark_charset): Don't mark `cs->encoding_table'.
3655 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
3656 normal object; make `Vcharacter_composition_table' as an older
3657 object; delete staticpro for `Vcharacter_composition_table'; make
3658 `Vcharacter_variant_table' as a normal object.
3660 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
3661 (mark_object): Don't check older object in UTF-2000.
3663 * lrecord.h (struct lrecord_header): Add new member `older' in
3665 (set_lheader_implementation): Setup `SLI_header->older' in
3667 (set_lheader_older_implementation): New macro in UTF-2000.
3668 (OLDER_RECORD_P): New macro in UTF-2000.
3669 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
3670 (alloc_older_lcrecord): New prototype in UTF-2000.
3671 (alloc_older_lcrecord_type): New macro in UTF-2000.
3673 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3675 * mule-charset.c (byte_table_description): Use
3676 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
3677 (char_id_table_description): Delete bogus `, 1'.
3678 (Fget_char_attribute): Refer encoding_table of each coded-charset
3679 to get value of coded-charset attribute of a character.
3680 (Fput_char_attribute): Use `make_older_vector' instead of
3681 `make_vector'; use encoding_table of each coded-charset to store
3682 value of coded-charset attribute of a character.
3683 (Fremove_char_attribute): Use encoding_table of each coded-charset
3684 to store value of coded-charset attribute of a character.
3685 (mark_charset): Mark `cs->encoding_table'; don't mark
3686 `cs->decoding_table'.
3687 (charset_description): Add description of new member
3689 (make_charset): Initialize `encoding_table'.
3691 * char-ucs.h (struct Lisp_Charset): Add new member
3693 (CHARSET_ENCODING_TABLE): New macro.
3694 (XCHARSET_ENCODING_TABLE): New macro.
3695 (charset_code_point): New implementation.
3696 (encode_char_1): Likewise.
3698 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
3699 (disksave_object_finalization_1): Call finalizers of
3700 `all_older_lcrecords' in UTF-2000.
3701 (make_older_vector): New function in UTF-2000.
3702 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
3705 * lisp.h (make_older_vector): New prototype in UTF-2000.
3707 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3709 * lrecord.h (enum lrecord_type): Rename
3710 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
3712 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
3713 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
3714 `get_char_code_table'.
3716 * mule-charset.c (mark_char_id_table): Renamed from
3717 `mark_char_code_table'.
3718 (char_id_table_equal): Renamed from `char_code_table_equal'.
3719 (char_id_table_hash): Renamed from `char_code_table_hash'.
3720 (make_char_id_table): Renamed from `make_char_code_table'.
3721 (copy_char_id_table): Renamed from `copy_char_code_table'.
3722 (get_char_id_table): Renamed from `get_char_code_table'.
3723 (put_char_id_table): Renamed from `put_char_code_table'.
3724 (to_char_id): Renamed from `to_char_code'.
3726 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
3727 `Lisp_Char_Code_Table'.
3728 (char_id_table): Renamed from `char_code_table'.
3729 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
3730 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
3731 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
3732 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
3733 (get_char_id_table): Renamed from `get_char_code_table'.
3735 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3737 * lrecord.h (enum lrecord_type): Rename
3738 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
3740 * mule-charset.c (mark_byte_table): Renamed from
3741 `mark_char_byte_table'.
3742 (byte_table_equal): Renamed from `char_byte_table_equal'.
3743 (byte_table_hash): Renamed from `byte_table_hash'.
3744 (make_byte_table): Renamed from `make_byte_table'.
3745 (copy_byte_table): Renamed from `copy_char_byte_table'.
3747 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
3748 `Lisp_Char_Byte_Table'.
3749 (byte_table): Renamed from `char_byte_table'.
3750 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
3751 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
3752 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
3753 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
3755 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3757 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
3758 (dfc_convert_to_internal_format): Likewise.
3760 * text-coding.c (Fcoding_system_canonical_name_p): New function.
3761 * text-coding.c (Fcoding_system_alias_p): New function.
3762 * text-coding.c (Fcoding_system_aliasee): New function.
3763 * text-coding.c (append_suffix_to_symbol): New function.
3764 * text-coding.c (dangling_coding_system_alias_p): New function.
3765 * text-coding.c (Ffind_coding_system):
3766 * text-coding.c (Fcopy_coding_system):
3767 * text-coding.c (encode_coding_no_conversion):
3768 * text-coding.c (syms_of_file_coding):
3769 * text-coding.c (vars_of_file_coding):
3770 Rewrite coding system alias code.
3771 Allow nested aliases, like symbolic links.
3772 Allow redefinition of coding system aliases.
3773 Prevent existence of dangling coding system aliases.
3774 Eliminate convert_to_external_format.
3775 Eliminate convert_to_internal_format.
3777 * text-coding.c: Change enum eol_type to eol_type_t.
3779 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3781 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
3782 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3784 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
3785 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3787 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3789 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
3790 `ideograph-daikanwa'.
3792 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
3793 (Vcharset_ucs_bmp): Likewise.
3794 (Vcharset_mojikyo): Add new extern variable definition.
3795 (Vcharset_latin_iso8859_2): Deleted because it is not used.
3796 (Vcharset_latin_iso8859_3): Likewise.
3797 (Vcharset_latin_iso8859_4): Likewise.
3798 (Vcharset_latin_iso8859_9): Likewise.
3799 (Vcharset_latin_viscii_lower): Likewise.
3800 (Vcharset_latin_viscii_upper): Likewise.
3801 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
3802 `mojikyo' code-point is used to decode.
3803 (encode_char_2): New function [to convert `mojikyo' code-point to
3804 Mojikyo font encoding].
3805 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
3806 (breakup_char_1): Likewise.
3807 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
3809 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3811 * text-coding.c (Fmake_coding_system): Add document about
3812 `disable-composition' property.
3814 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3816 * text-coding.c (Qdisable_composition): New variable; delete
3818 (Fmake_coding_system): Add new property `disable-composite';
3819 delete property `composite'.
3820 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
3821 instead of `!CODING_SYSTEM_COMPOSITE'.
3822 (syms_of_file_coding): Add new symbol `disable-composition';
3823 delete symbol `composite'.
3825 * file-coding.h (struct Lisp_Coding_System): Add
3826 `disable_composition'; delete `enable_composition'.
3827 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3828 `CODING_SYSTEM_COMPOSITE'.
3829 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3830 `XCODING_SYSTEM_COMPOSITE'.
3832 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3834 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3837 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3839 * text-coding.c (Qcomposite): New variable.
3840 (Fmake_coding_system): Add new property `composite'.
3841 (struct decoding_stream): Add `combined_char_count',
3842 `combined_chars' and `combining_table' in UTF-2000.
3843 (COMPOSE_FLUSH_CHARS): New macro.
3844 (COMPOSE_ADD_CHAR): New macro.
3845 (reset_decoding_stream): Reset `str->combined_char_count' and
3846 `str->combining_table' in UTF-2000.
3847 (decode_coding_iso2022): Modify for character-decomposition.
3848 (syms_of_file_coding): Add new symbol `composite'.
3850 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3852 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
3853 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
3854 of `Vcharacter_composition_table' if `->decomposition' property
3856 (Qlatin_tcvn5712): New variable.
3857 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
3858 (complex_vars_of_mule_charset): Add new coded-charset
3861 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
3863 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3865 * file-coding.h (struct Lisp_Coding_System): Add
3866 `enable_composition'.
3867 (CODING_SYSTEM_COMPOSITE): New macro.
3868 (XCODING_SYSTEM_COMPOSITE): New macro.
3870 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
3872 * mule-canna.c (c2mu): Fix problem with UTF-2000.
3874 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
3876 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
3877 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
3879 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
3881 * mule-charset.c (Vcharset_mojikyo): New variable.
3882 (Fdefine_char): Don't use coded-charset which does not have
3883 non-builtin character range to allocate character-id.
3884 (Qmojikyo): New variable.
3885 (syms_of_mule_charset): Add new symbol `mojikyo'.
3886 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
3888 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
3889 (LEADING_BYTE_MOJIKYO): New macro.
3890 (MIN_CHAR_MOJIKYO): New macro.
3891 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
3892 (MAX_CHAR_MOJIKYO): New macro.
3894 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
3896 * mule-charset.c (remove_char_attribute): Fixed.
3898 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
3900 * mule-charset.c (remove_char_attribute): New function.
3901 (Fremove_char_attribute): New function.
3902 (encode_builtin_char_1): Comment out builtin-support for
3903 greek-iso8859-7 and cyrillic-iso8859-5.
3904 (Fdecode_char): Check `code' is an integer.
3905 (syms_of_mule_charset): Add `remove-char-attribute'.
3906 (MIN_CHAR_GREEK): Deleted.
3907 (MAX_CHAR_GREEK): Likewise.
3908 (MIN_CHAR_CYRILLIC): Likewise.
3909 (MAX_CHAR_CYRILLIC): Likewise.
3910 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
3911 MAX_CHAR_GREEK for `greek-iso8859-7'.
3913 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
3914 (MAX_CHAR_GREEK): Likewise.
3915 (MIN_CHAR_CYRILLIC): Likewise.
3916 (MAX_CHAR_CYRILLIC): Likewise.
3918 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
3920 * mule-charset.c (Fdefine_char): Fix problem when new code-point
3921 format is used without `ucs' property.
3922 (Fdecode_char): Fix problem with GR representation.
3923 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
3924 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
3926 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3928 * mule-charset.c (make_builtin_char): New function.
3929 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
3930 (Fset_charset_mapping_table): Modify for new representation of
3932 (Fdecode_char): New function.
3933 (syms_of_mule_charset): Add new builtin function `decode-char' in
3936 * char-ucs.h (make_builtin_char): New prototype.
3937 (DECODE_CHAR): New inline function.
3938 (MAKE_CHAR): Use `DECODE_CHAR'.
3940 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
3942 * text-coding.c (parse_charset_conversion_specs): Use
3943 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
3945 (iso2022_designate): Likewise.
3947 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
3948 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
3950 * mule-charset.c (Vcharset_ucs): New variable.
3951 (print_charset): Change design; use `CHARSET_CHARS' and
3952 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
3953 (make_charset): Change signature to specify `chars' and
3954 `dimension' instead of `type'.
3955 (range_charset_code_point): Modify for 256^n-set.
3956 (encode_builtin_char_1): Encode as `ucs' in default.
3957 (Fmake_charset): Modify for `make_charset'.
3958 (Fmake_reverse_direction_charset): Likewise.
3959 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
3961 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
3964 * char-ucs.h (Vcharset_ucs): New variable.
3965 (LEADING_BYTE_UCS): New macro.
3966 (struct Lisp_Charset): Delete `type'; change type of `dimension'
3967 and `chars' to `unsigned short' from `unsigned int'.
3968 (CHARSET_TYPE): Deleted.
3969 (XCHARSET_TYPE): Deleted.
3971 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
3973 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
3975 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
3976 (ENCODE_CHAR): New macro.
3978 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3980 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3981 to 0.14 (Kawachi-Katakami).
3983 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3985 * text-coding.c (char_encode_shift_jis): Modify for
3986 `charset_code_point'.
3987 (char_encode_iso2022): Likewise.
3989 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
3990 (integer) instead of list of <Lisp_Object>s (integers) as the
3991 format of code-point of a coded-charset.
3992 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3993 (encode_builtin_char_1): New function; delete
3994 `split_builtin_char'.
3995 (charset_code_point): Return <int> instead of <Lisp_Object>.
3996 (Fsplit_char): Don't use `SPLIT_CHAR'.
3998 * char-ucs.h (encode_builtin_char_1): New prototype; delete
3999 prototype for `split_builtin_char'.
4000 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4001 (charset_code_point): Likewise.
4002 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
4003 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
4005 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
4007 * mule-charset.c (complex_vars_of_mule_charset): Don't define
4008 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
4010 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4012 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
4014 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
4015 (MAX_CHAR_OBS_94x94): Deleted.
4017 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4019 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
4021 * char-ucs.h (MAX_CHAR_BMP): New macro.
4023 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4025 * text-coding.c: Sync with r21-2-24.
4027 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4029 * file-coding.c: Modify for UTF-2000.
4031 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4033 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4036 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4038 * mule-charset.c (split_builtin_char): Delete builtin support for
4039 `katakana-jisx0201'.
4040 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
4041 BMP area in builtin representation.
4043 * char-ucs.h (MAKE_CHAR): Delete builtin support for
4044 `Vcharset_katakana_jisx0201'.
4046 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
4048 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
4049 (Qisolated): New variable.
4050 (Qinitial): New variable.
4051 (Qmedial): New variable.
4052 (Qfinal): New variable.
4053 (Qvertical): New variable.
4054 (Qsmall): New variable.
4055 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
4056 `Qvertical' and `Qsmall'.
4057 (Qmojikyo_pj_[1 .. 21]): New variable.
4058 (syms_of_mule_charset): Add new symbols `isolated', `initial',
4059 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
4060 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
4063 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4065 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
4066 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
4067 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
4069 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4071 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
4072 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
4074 (Qjapanese_jisx0208_1990): New variable.
4075 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
4076 (complex_vars_of_mule_charset): Add new coded-charset
4077 `japanese-jisx0208-1990'.
4079 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
4080 (MIN_CHAR_JIS_X0208_1990): New macro.
4081 (MAX_CHAR_JIS_X0208_1990): New macro.
4083 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4085 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
4086 coded-charset is not found.
4088 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4090 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
4091 (Fdefine_char): Use `Fmake_char'.
4093 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4095 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
4096 (Vcharset_hiragana_jisx0208): Deleted.
4097 (Vcharset_katakana_jisx0208): Deleted.
4098 (Qideograph_daikanwa): New variable.
4099 (Qhiragana_jisx0208): Deleted.
4100 (Qkatakana_jisx0208): Deleted.
4101 (split_builtin_char): Split `ideograph-daikanwa'.
4102 (Fsplit_char): New implementation for UTF-2000.
4103 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
4104 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
4105 (complex_vars_of_mule_charset): Add new coded-charset
4106 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
4107 `katakana-jisx0208'.
4109 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
4110 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
4111 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
4112 (MIN_CHAR_DAIKANWA): New macro.
4113 (MAX_CHAR_DAIKANWA): New macro.
4115 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4117 * data.c (Fstring_to_number): Don't recognize floating point if
4120 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4122 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
4124 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4126 * mule-charset.c (Qsquare): New variable.
4127 (to_char_code): Add `Qsquare'.
4128 (syms_of_mule_charset): Add new symbol `square'.
4130 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4132 * mule-charset.c (Qcircle): New variable.
4133 (to_char_code): Add `Qcircle'.
4134 (syms_of_mule_charset): Add new symbol `circle'.
4136 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4138 * mule-charset.c (Qfont): New variable.
4139 (to_char_code): Add `Qfont'.
4140 (syms_of_mule_charset): Add new symbol `font'.
4142 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4144 * mule-charset.c (Qsub): New variable.
4145 (to_char_code): Add `Qsub'.
4146 (syms_of_mule_charset): Add new symbol `sub'.
4148 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4150 * mule-charset.c (Fput_char_attribute): Convert each element of
4151 VALUE to GL position if ATTRIBUTE is a GR-set,
4153 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4155 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
4156 coded-charset is a GR-set.
4158 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4160 * mule-charset.c (Fput_char_attribute): Check each element of
4161 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
4163 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4165 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
4167 (Qethiopic_ucs): New variable in UTF-2000.
4168 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
4169 (complex_vars_of_mule_charset): Add new coded-charset
4170 `ethiopic-ucs' in UTF-2000.
4172 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
4173 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4175 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4177 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
4179 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4181 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
4184 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4186 * mule-charset.c (Vcharacter_variant_table): New variable.
4187 (Q_ucs): New variable.
4188 (Fchar_variants): New function.
4189 (Fput_char_attribute): Register `->ucs' value to
4190 `Vcharacter_variant_table'.
4191 (syms_of_mule_charset): Add new function `char-variants' and new
4193 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
4195 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4197 * mule-charset.c (get_char_code_table): Allow negative character
4199 (put_char_code_table): Likewise.
4200 (Vcharacter_composition_table): New variable.
4201 (Q_decomposition): New variable.
4202 (Qwide): New variable.
4203 (Qnarrow): New variable.
4204 (Qcompat): New variable.
4205 (QnoBreak): New variable.
4206 (Qsuper): New variable.
4207 (Qfraction): New variable.
4208 (to_char_code): New function.
4209 (Fget_composite_char): New function.
4210 (Fput_char_attribute): Register `->decomposition' value to
4211 `Vcharacter_composition_table'.
4212 (syms_of_mule_charset): Add new function `get-composite-char', new
4213 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
4214 `super' and `fraction'.
4215 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
4217 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4219 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
4220 character; copy the return value.
4222 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4224 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
4226 * mule-charset.c (range_charset_code_point): Must use make_int.
4227 (split_builtin_char): New function.
4229 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4231 * mule-charset.c (char_byte_table): Change name from
4232 "char-code-table" to "char-byte-table".
4233 (mark_char_code_table): New function.
4234 (char_code_table_equal): New function.
4235 (char_code_table_hash): New function.
4236 (char_code_table_description): New constant.
4237 (char_code_table): New type.
4238 (make_char_code_table): New function.
4239 (copy_char_code_table): New function.
4240 (get_char_code_table): Modify for `char_code_table' type.
4241 (put_char_code_table): Likewise.
4242 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
4245 * char-ucs.h (char_code_table): New type.
4246 (XCHAR_CODE_TABLE): New macro.
4247 (XSETCHAR_CODE_TABLE): New macro.
4248 (CHAR_CODE_TABLE_P): New macro.
4249 (GC_CHAR_CODE_TABLE_P): New macro.
4250 (struct Lisp_Char_Code_Table): New structure.
4252 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4254 * mule-charset.c (Fmake_charset): Setup byte_offset for
4257 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
4259 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
4262 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4264 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
4267 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4269 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
4270 charset, it is regarded as a charset.
4271 (put_char_attribute): New function in UTF-2000.
4272 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
4273 charset, mapping-table of the charset is modified.
4274 (Fdefine_char): New function in UTF-2000.
4275 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
4276 `Fput_char_attribute'.
4277 (syms_of_mule_charset): Add new function `define-char' and new
4278 symbol `ucs' in UTF-2000.
4279 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
4281 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4283 * mule-charset.c (Fcharset_name): Define `byte_offset' in
4284 non-UTF-2000 configuration.
4286 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4288 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
4289 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
4291 * mule-charset.c (mark_charset): `cs->encoding_table' has been
4293 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
4294 (Fset_charset_mapping_table): Likewise.
4296 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
4297 (CHARSET_ENCODING_TABLE): Delete.
4298 (XCHARSET_ENCODING_TABLE): Delete.
4299 (charset_code_point): New interface.
4301 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4303 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
4304 instead of `charset_get_byte1' and `charset_get_byte2'.
4306 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
4307 (charset_get_byte2): Deleted.
4309 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4311 * char-ucs.h (SPLIT_CHAR): New inline function.
4312 (breakup_char_1): Use `SPLIT_CHAR'.
4314 * mule-charset.c (range_charset_code_point): New function.
4315 (charset_code_point): New function.
4317 * char-ucs.h (range_charset_code_point): New interface.
4318 (breakup_char_1): Use `range_charset_code_point'.
4320 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4322 * mule-charset.c (Fmake_charset): Delete unused local variable
4325 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
4326 (breakup_char_1): Find a charset and code-point in
4327 `Vcharacter_attribute_table'.
4329 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4331 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4334 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4336 * mule-charset.c (Vcharacter_attribute_table): New variable.
4337 (Fchar_attribute_alist): New function.
4338 (Fget_char_attribute): New function.
4339 (Fput_char_attribute): New function.
4340 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
4342 (syms_of_mule_charset): Add new function `char-attribute-alist',
4343 `get-char-attribute' and `put-char-attribute'.
4344 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
4346 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
4348 * mule-charset.c (Fmake_charset): Just use
4349 `get_unallocated_leading_byte'.
4351 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
4352 sets; don't use final-byte based number for private sets.
4354 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4356 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
4359 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4361 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4364 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4366 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
4367 of `CHAR_LEADING_BYTE' in UTF-2000.
4369 * insdel.c (find_charsets_in_bufbyte_string): Use
4370 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4371 (find_charsets_in_emchar_string): Likewise.
4373 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
4374 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4376 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
4377 (CHAR_CHARSET_ID): New macro.
4379 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4381 * chartab.c (get_char_table): Don't use type `Charset_ID' for
4382 charset-id - MIN_LEADING_BYTE.
4383 (put_char_table): Likewise.
4385 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4387 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
4388 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
4389 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
4390 (CHARSET_ID_OFFSET): New macro.
4391 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
4392 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
4393 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
4394 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4396 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4398 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
4399 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
4400 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
4401 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
4402 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
4404 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4406 * mule-charset.c (next_allocated_leading_byte): New variable in
4408 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
4409 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
4410 (get_unallocated_leading_byte): Simply use
4411 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
4412 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
4415 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
4416 (MAX_LEADING_BYTE_PRIVATE): New macro.
4417 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
4418 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
4420 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4422 * mule-charset.c (Fmake_charset): Allocate final-byte based
4423 charset-id for 94-set, 96-set and 94x94-set.
4425 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4427 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
4429 (Fmake_charset): Likewise.
4430 (complex_vars_of_mule_charset): Modify the font registry of
4431 `ucs-bmp' not to match `Ethiopic-Unicode'.
4433 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4435 * mule-charset.c (complex_vars_of_mule_charset): Add font
4436 registory of `ucs-bmp'.
4438 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4440 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
4441 coded-charsets in `default-coded-charset-priority-list' when
4442 breaking up a character.
4444 * mule-charset.c (Vcharset_latin_viscii): New variable.
4445 (Qlatin_viscii): New variable.
4446 (make_charset): Don't use `decoding_table'.
4447 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
4449 (Fset_charset_mapping_table): New implementation.
4450 (syms_of_mule_charset): Add new symbol `latin-viscii'.
4451 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
4452 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
4453 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
4454 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
4455 charset `latin_viscii'.
4457 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
4458 (CHARSET_TYPE_94X94): Change to 1 from 2.
4459 (CHARSET_TYPE_96): Change to 2 from 1.
4460 (CHARSET_TYPE_128): New macro.
4461 (CHARSET_TYPE_128X128): Change to 5 from 4.
4462 (CHARSET_TYPE_256): New macro.
4463 (CHARSET_TYPE_256X256): Change to 7 from 5.
4464 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
4466 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4468 * text-coding.c (char_encode_shift_jis): Refer
4469 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
4470 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
4472 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
4473 (char_byte_table_equal): New function in UTF-2000.
4474 (char_byte_table_hash): New function in UTF-2000.
4475 (char_byte_table_description): New constant in UTF-2000.
4476 (char_byte_table): New type in UTF-2000.
4477 (make_char_byte_table): New function in UTF-2000.
4478 (copy_char_byte_table): New function in UTF-2000.
4479 (make_char_code_table): New macro in UTF-2000.
4480 (get_char_code_table): New function in UTF-2000.
4481 (put_char_code_table): New function in UTF-2000.
4482 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
4483 (charset_description): Add setting in UTF-2000.
4484 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
4485 `CHARSET_TO_BYTE1_TABLE(cs)'.
4486 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
4487 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
4488 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
4489 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
4490 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
4491 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
4492 `CHARSET_TO_BYTE2_TABLE(cs)'.
4494 * char-ucs.h (char_byte_table): New type.
4495 (XCHAR_BYTE_TABLE): New macro.
4496 (XSETCHAR_BYTE_TABLE): New macro.
4497 (CHAR_BYTE_TABLE_P): New macro.
4498 (GC_CHAR_BYTE_TABLE_P): New macro.
4499 (struct Lisp_Char_Byte_Table): New structure.
4500 (get_char_code_table): New interface.
4501 (Emchar_to_byte_table): Deleted.
4502 (get_byte_from_character_table): Deleted.
4503 (struct Lisp_Charset): Add `encoding_table'; delete
4504 `to_byte1_table' and `to_byte2_table'.
4505 (CHARSET_ENCODING_TABLE): New macro.
4506 (CHARSET_TO_BYTE1_TABLE): Deleted.
4507 (CHARSET_TO_BYTE2_TABLE): Deleted.
4508 (XCHARSET_ENCODING_TABLE): New macro.
4509 (XCHARSET_TO_BYTE1_TABLE): Deleted.
4510 (XCHARSET_TO_BYTE2_TABLE): Deleted.
4512 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4514 * mule-charset.c (syms_of_mule_charset): Delete charset alias
4515 `vietnamese-viscii-*'.
4517 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4519 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
4520 (Qvietnamese_viscii_upper): New variable.
4521 (Fdefine_charset_alias): New function.
4522 (syms_of_mule_charset): Add new function `define-charset-alias'.
4523 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
4524 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
4527 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
4529 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
4530 (MAX_CHAR_OBS_94x94): New macro.
4531 (breakup_char_1): Support obsolete XEmacs-UCS private code space
4534 * mule-charset.c (put_byte_from_character_table): Change unit size
4536 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
4538 (Fmake_reverse_direction_charset): Modify dummy argument of
4539 `make_charset' for non-UTF-2000 environment.
4541 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4543 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
4545 * mule-charset.c (destroy_byte_from_character_table): New macro.
4546 (latin_jisx0201_to_ucs): Deleted.
4547 (latin_iso8859_2_to_ucs): Deleted.
4548 (latin_iso8859_3_to_ucs): Deleted.
4549 (latin_iso8859_4_to_ucs): Deleted.
4550 (latin_iso8859_9_to_ucs): Deleted.
4551 (latin_viscii_lower_to_ucs): Deleted.
4552 (latin_viscii_upper_to_ucs): Deleted.
4553 (mark_charset): Mark `cs->decoding_table'.
4554 (Fcharset_mapping_table): Fix DOC-string.
4555 (Fset_charset_mapping_table): New function.
4556 (syms_of_mule_charset): Add nwe function
4557 `set-charset-mapping-table'.
4558 (complex_vars_of_mule_charset): Don't setup and use
4561 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
4563 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
4566 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
4568 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
4569 (Vcharset_katakana_jisx0208): New variable.
4570 (Qhiragana_jisx0208): New variable.
4571 (Qkatakana_jisx0208): New variable.
4572 (make_charset): Add new argument `byte_offset'.
4573 (charset_get_byte1): Modify for new coded-charset definition; use
4574 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4575 `XCHARSET_BYTE_OFFSET'.
4576 (Fmake_charset): Modify for `make_charset'.
4577 (Fmake_reverse_direction_charset): Likewise.
4578 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
4579 `katakana-jisx0208'.
4580 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
4581 `.' in font registry of charset `katakana-jisx0201',
4582 `latin-jisx0201', `vietnamese-viscii-lower' and
4583 `vietnamese-viscii-upper'; modify DOC-string of charset
4584 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
4585 registry of charset `japanese-jisx0208' not to use font for JIS
4586 X0208:1990; add new charset `hiragana-jisx0208' and
4587 `katakana-jisx0208'.
4589 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
4590 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
4591 (struct Lisp_Charset): Add `byte_offset'.
4592 (CHARSET_BYTE_OFFSET): New macro.
4593 (XCHARSET_UCS_MIN): New macro.
4594 (XCHARSET_UCS_MAX): New macro.
4595 (XCHARSET_CODE_OFFSET): New macro.
4596 (XCHARSET_BYTE_OFFSET): New macro.
4597 (MIN_CHAR_HIRAGANA): New macro.
4598 (MAX_CHAR_HIRAGANA): New macro.
4599 (MIN_CHAR_KATAKANA): New macro.
4600 (MAX_CHAR_KATAKANA): New macro.
4601 (MAKE_CHAR): Modify for new coded-charset definition; use
4602 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4603 `XCHARSET_BYTE_OFFSET'.
4605 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4607 * mule-charset.c (CHAR96): Deleted.
4608 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
4610 (latin_iso8859_2_to_ucs): Likewise.
4611 (latin_iso8859_3_to_ucs): Likewise.
4612 (latin_iso8859_4_to_ucs): Likewise.
4613 (latin_iso8859_9_to_ucs): Likewise.
4614 (latin_viscii_lower_to_ucs): Likewise.
4615 (latin_viscii_upper_to_ucs): Likewise.
4616 (latin_tcvn5712_to_ucs): Commented out.
4617 (make_charset): Change type of argument `decoding_table' from
4618 <Emchar*> to <Lisp_Object> [vector of characters].
4619 (Fmake_charset): Modify for `make_charset'.
4620 (Fmake_reverse_direction_charset): Likewise.
4621 (Fcharset_mapping_table): New function in UTF-2000.
4622 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
4624 (complex_vars_of_mule_charset): Modify for type change of
4625 `*_to_ucs'; modify for `make_charset'.
4627 * char-ucs.h (struct Lisp_Charset): Change type of
4628 `decoding_table' from <Emchar*> to <Lisp_Object>.
4629 (MAKE_CHAR): Modify for new specification of `decoding_table'.
4631 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4633 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
4634 error with non-UTF-2000-Mule.
4636 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
4638 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
4640 (Vcharset_chinese_cns11643_4): Likewise.
4641 (Vcharset_chinese_cns11643_5): Likewise.
4642 (Vcharset_chinese_cns11643_6): Likewise.
4643 (Vcharset_chinese_cns11643_7): Likewise.
4644 (Qchinese_cns11643_3): Likewise.
4645 (Qchinese_cns11643_4): Likewise.
4646 (Qchinese_cns11643_5): Likewise.
4647 (Qchinese_cns11643_6): Likewise.
4648 (Qchinese_cns11643_7): Likewise.
4649 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
4650 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4651 and `chinese-cns11643-7' to lisp/mule/chinese.el.
4652 (complex_vars_of_mule_charset): Likewise.
4654 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4656 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
4658 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
4659 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
4661 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4663 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
4665 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
4666 (breakup_char_1): Likewise.
4668 * text-coding.c (char_encode_iso2022): Keep designated charsets if
4669 one of them includes the specified character.
4671 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4673 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
4675 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4677 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
4679 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4681 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
4682 definition for non-UTF-2000 Mule.
4683 (latin_iso8859_3_to_ucs): Likewise.
4684 (latin_iso8859_4_to_ucs): Likewise.
4685 (latin_iso8859_9_to_ucs): Likewise.
4686 (latin_jisx0201_to_ucs): Likewise.
4687 (MIN_CHAR_THAI): Likewise.
4688 (MAX_CHAR_THAI): Likewise.
4689 (MIN_CHAR_GREEK): Likewise.
4690 (MAX_CHAR_GREEK): Likewise.
4691 (MIN_CHAR_HEBREW): Likewise.
4692 (MAX_CHAR_HEBREW): Likewise.
4693 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
4694 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
4695 (MIN_CHAR_CYRILLIC): Likewise.
4696 (MAX_CHAR_CYRILLIC): Likewise.
4698 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4700 * char-ucs.h (breakup_char_1): Use
4701 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
4702 thai-tis620 and katakana-jisx0201 area.
4704 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4706 * char-ucs.h (breakup_char_1): Use
4707 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
4710 * text-coding.c (reset_encoding_stream): Fixed.
4711 (char_encode_ucs4): Delete `& 255'.
4713 * char-ucs.h (breakup_char_1): Use
4714 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
4716 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4718 * file-coding.c (Fmake_coding_system): Don't set up
4719 `codesys->fixed.size'.
4720 (encode_coding_no_conversion): Don't refer
4721 `str->codesys->fixed.size'.
4723 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4725 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
4726 (latin_a_char_to_byte1): Deleted.
4727 (latin_a_char_to_byte2): Deleted.
4729 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4731 * mule-charset.c (make_charset): Add new argument `ucs_min',
4732 `ucs_max' and `code_offset'.
4733 (charset_get_byte1): New implementation [delete specific charset
4734 depended implementations].
4735 (Fmake_charset): Modify for `make_charset'.
4736 (Fmake_reverse_direction_charset): Likewise.
4737 (complex_vars_of_mule_charset): Likewise.
4739 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
4741 (CHARSET_UCS_MIN): New macro.
4742 (CHARSET_UCS_MAX): New macro.
4743 (CHARSET_CODE_OFFSET): New macro.
4744 (MAKE_CHAR): Delete charset depended definitions [except
4747 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4749 * char-ucs.h (breakup_char_1): Use
4750 `Vdefault_coded_charset_priority_list' for C0-Controls,
4751 Basic-Latin, C1-Controls and Latin-1-Supplement area.
4753 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4755 * char-ucs.h (charset_get_byte1): New function.
4756 (XCHARSET_GET_BYTE1): Deleted.
4757 (charset_get_byte2): New function.
4758 (XCHARSET_GET_BYTE2): Deleted.
4759 (Vdefault_coded_charset_priority_list): New external variable.
4760 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
4761 `Vdefault_preferred_coded_charset_list'.
4763 * mule-charset.c (charset_get_byte1): New function.
4764 (charset_get_byte2): New function.
4765 (Vdefault_coded_charset_priority_list): New variable.
4766 (vars_of_mule_charset): Add new variable
4767 `default-coded-charset-priority-list'.
4769 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4771 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
4772 (XCHARSET_GET_BYTE2): New inline function.
4773 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
4774 `XCHARSET_GET_BYTE2'.
4776 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4778 * mule-charset.c (make_charset): Initialize
4779 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
4780 NULL if table is not defined.
4782 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4784 * text-coding.c (char_encode_shift_jis): Use
4785 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
4786 `ucs_to_latin_jisx0201'.
4788 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
4789 (ucs_to_latin_iso8859_2): Deleted.
4790 (ucs_to_latin_iso8859_3): Deleted.
4791 (ucs_to_latin_iso8859_4): Deleted.
4792 (ucs_to_latin_iso8859_9): Deleted.
4793 (ucs_to_latin_viscii_lower): Deleted.
4794 (ucs_to_latin_viscii_upper): Deleted.
4795 (ucs_to_latin_tcvn5712): Deleted.
4796 (make_charset): Add new argument `decoding_table'; set up
4797 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
4798 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
4799 `decoding_table' is defined in UTF-2000.
4800 (Fmake_charset): Modify for `make_charset'.
4801 (Fmake_reverse_direction_charset): Likewise.
4802 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
4803 and `GENERATE_96_SET'.
4805 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
4806 (ucs_to_latin_jisx0201): Deleted.
4807 (latin_iso8859_2_to_ucs): Deleted.
4808 (ucs_to_latin_iso8859_2): Deleted.
4809 (latin_iso8859_3_to_ucs): Deleted.
4810 (ucs_to_latin_iso8859_3): Deleted.
4811 (latin_iso8859_4_to_ucs): Deleted.
4812 (ucs_to_latin_iso8859_4): Deleted.
4813 (latin_iso8859_9_to_ucs): Deleted.
4814 (ucs_to_latin_iso8859_9): Deleted.
4815 (latin_viscii_lower_to_ucs): Deleted.
4816 (ucs_to_latin_viscii_lower): Deleted.
4817 (latin_viscii_upper_to_ucs): Deleted.
4818 (ucs_to_latin_viscii_upper): Deleted.
4819 (struct Lisp_Charset): Renamed `encoding_table' to
4820 `to_byte1_table'; add `to_byte2_table'.
4821 (CHARSET_DECODING_TABLE): New macro.
4822 (CHARSET_TO_BYTE1_TABLE): New macro.
4823 (CHARSET_TO_BYTE2_TABLE): New macro.
4824 (XCHARSET_DECODING_TABLE): New macro.
4825 (XCHARSET_TO_BYTE1_TABLE): New macro.
4826 (XCHARSET_TO_BYTE2_TABLE): New macro.
4827 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
4829 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
4830 don't use `ucs_to_*' tables.
4832 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4834 * text-coding.c (Fmake_coding_system): Don't set up
4835 `codesys->fixed.size'.
4836 (encode_coding_no_conversion): Use `if' instead of `switch'.
4838 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
4840 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4842 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
4843 (Fmake_charset): Modify for `make_charset'.
4844 (Fmake_reverse_direction_charset): Likewise.
4845 (complex_vars_of_mule_charset): Likewise.
4847 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4849 * text-coding.c (char_encode_shift_jis): Use table
4850 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
4852 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4854 * text-coding.c (text_encode_generic): Use `if' instead of
4856 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
4859 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4861 * text-coding.c (encode_coding_sjis): Deleted.
4862 (char_encode_shift_jis): New function.
4863 (char_finish_shift_jis): New function.
4864 (reset_encoding_stream): Set up `encode_char' and `finish' for
4865 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
4866 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
4867 (char_encode_utf8): Treat `eol_type'.
4869 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4871 * file-coding.c (decode_coding_iso2022): Use
4872 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
4874 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4876 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4879 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4881 * char-lb.h (CHAR_COLUMNS): New macro.
4883 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4885 * text-coding.c (char_encode_ucs4): New function.
4886 (char_finish_ucs4): New function.
4887 (encode_coding_ucs4): Deleted.
4888 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
4889 (text_encode_generic): Delete local variable `charset' and `half'.
4890 (ucs_to_mule_table): Deleted.
4891 (mule_to_ucs_table): Deleted.
4892 (Fset_ucs_char): Deleted.
4893 (ucs_to_char): Deleted.
4894 (Fucs_char): Deleted.
4895 (Fset_char_ucs): Deleted.
4896 (Fchar_ucs): Deleted.
4897 (decode_ucs4): Deleted.
4898 (mule_char_to_ucs4): Deleted.
4899 (encode_ucs4): Deleted.
4900 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
4901 (decode_coding_utf8): Likewise.
4902 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
4903 (char_encode_iso2022): Fixed.
4904 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
4905 `Fset_char_ucs' and `Fchar_ucs'.
4906 (complex_vars_of_file_coding): Don't initialize
4907 `ucs_to_mule_table'.
4909 * objects-tty.c (tty_initialize_font_instance): Don't use
4912 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
4915 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
4916 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4918 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
4919 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4920 (emchar_string_displayed_columns): Likewise.
4922 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
4923 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4924 (string_column_at_point): Likewise.
4925 (Fmove_to_column): Likewise.
4927 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
4928 `encoding_table' and `decoding_table'.
4929 (CHARSET_REP_BYTES): Deleted.
4930 (XCHARSET_REP_BYTES): Deleted.
4931 (XCHARSET_COLUMNS): Deleted.
4932 (CHAR_COLUMNS): New macro.
4933 (lookup_composite_char): Deleted unconditionally.
4934 (composite_char_string): Likewise.
4936 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4938 * char-ucs.h (Emchar_to_byte_table): New type.
4939 (get_byte_from_character_table): New function interface.
4940 (Vcharset_latin_jisx0201): New variable.
4941 (latin_jisx0201_to_ucs): New variable.
4942 (ucs_to_latin_jisx0201): New variable.
4943 (Vcharset_latin_iso8859_2): New variable.
4944 (latin_iso8859_2_to_ucs): New variable.
4945 (ucs_to_latin_iso8859_2): New variable.
4946 (Vcharset_latin_iso8859_3): New variable.
4947 (latin_iso8859_3_to_ucs): New variable.
4948 (ucs_to_latin_iso8859_3): New variable.
4949 (Vcharset_latin_iso8859_4): New variable.
4950 (latin_iso8859_4_to_ucs): New variable.
4951 (ucs_to_latin_iso8859_4): New variable.
4952 (Vcharset_latin_iso8859_9): New variable.
4953 (latin_iso8859_9_to_ucs): New variable.
4954 (ucs_to_latin_iso8859_9): New variable.
4955 (Vcharset_latin_viscii_lower): New variable.
4956 (latin_viscii_lower_to_ucs): New variable.
4957 (ucs_to_latin_viscii_lower): New variable.
4958 (Vcharset_latin_viscii_upper): New variable.
4959 (latin_viscii_upper_to_ucs): New variable.
4960 (ucs_to_latin_viscii_upper): New variable.
4961 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
4962 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
4963 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
4964 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
4965 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
4966 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
4967 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
4968 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
4969 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
4970 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
4972 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
4973 (Vcharset_latin_viscii_upper): New variable.
4974 (make_byte_from_character_table): New function.
4975 (put_byte_from_character_table): New function.
4976 (get_byte_from_character_table): New function.
4977 (CHAR96): New macro.
4978 (ucs_to_latin_jisx0201): New variable.
4979 (latin_jisx0201_to_ucs): New variable.
4980 (ucs_to_latin_iso8859_2): New variable.
4981 (latin_iso8859_2_to_ucs): New variable.
4982 (ucs_to_latin_iso8859_3): New variable.
4983 (latin_iso8859_3_to_ucs): New variable.
4984 (ucs_to_latin_iso8859_4): New variable.
4985 (latin_iso8859_4_to_ucs): New variable.
4986 (ucs_to_latin_iso8859_9): New variable.
4987 (latin_iso8859_9_to_ucs): New variable.
4988 (ucs_to_latin_viscii_lower): New variable.
4989 (latin_viscii_lower_to_ucs): New variable.
4990 (ucs_to_latin_viscii_upper): New variable.
4991 (latin_viscii_upper_to_ucs): New variable.
4992 (ucs_to_latin_tcvn5712): New variable.
4993 (latin_tcvn5712_to_ucs): New variable.
4994 (Qlatin_viscii_lower): New variable.
4995 (Qlatin_viscii_upper): New variable.
4996 (syms_of_mule_charset): Set up new symbol
4997 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
4998 (complex_vars_of_mule_charset): Set up new charset
4999 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
5000 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
5001 `ucs_to_<CHARSET>' tables.
5003 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
5005 * text-coding.c: New file.
5007 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
5009 * mule-charset.c (Fmake_char): Fix problem of 256-set.
5011 * char-ucs.h (Vcharset_ucs_bmp): New variable.
5012 (MAKE_CHAR): Modify for `ucs-bmp'.
5013 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
5014 non-MULE characters of BMP.
5016 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
5018 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5021 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
5024 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
5025 - Include character.h for `CHAR_ASCII_P'.
5027 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
5029 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
5030 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
5032 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
5033 (BYTE_C0_P): Likewise.
5034 (BYTE_C1_P): Likewise.
5035 (Lstream_get_emchar_1): Likewise.
5036 (Lstream_fput_emchar): Likewise.
5037 (Lstream_funget_emchar): Likewise.
5038 (copy_internal_to_external): Likewise.
5039 (copy_external_to_internal): Likewise.
5041 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
5042 (BYTE_C0_P): Likewise.
5043 (BYTE_C1_P): Likewise.
5044 (Lstream_get_emchar_1): Likewise.
5045 (Lstream_fput_emchar): Likewise.
5046 (Lstream_funget_emchar): Likewise.
5047 (copy_internal_to_external): Likewise.
5048 (copy_external_to_internal): Likewise.
5050 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
5051 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5053 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
5054 (BYTE_ASCII_P): Moved to mb-1byte.h.
5056 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
5058 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
5060 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
5061 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
5062 (VALID_CHARPTR_P): Moved to mb-*byte.h.
5063 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5064 (VALIDATE_CHARPTR_FORWARD): Likewise.
5065 (simple_charptr_emchar): Moved to mb-multibyte.h.
5066 (simple_set_charptr_emchar): Likewise.
5067 (simple_charptr_copy_char): Likewise.
5068 (non_ascii_charptr_emchar): Likewise.
5069 (non_ascii_set_charptr_emchar): Likewise.
5070 (non_ascii_charptr_copy_char): Likewise.
5071 (charptr_emchar): Moved to mb-*byte.h.
5072 (set_charptr_emchar): Likewise.
5073 (charptr_copy_char): Likewise.
5075 * mb-1byte.h, mb-multibyte.h: New files.
5077 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
5079 * mb-utf-8.h (MULTIBYTE): New macro.
5080 (MAX_EMCHAR_LEN): Moved from buffer.h.
5081 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
5083 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
5085 * mb-lb.h, multibyte.h: New files.
5087 * char-1byte.h (Charset_ID): Moved from buffer.h.
5088 (MIN_LEADING_BYTE): Likewise.
5089 (LEADING_BYTE_ASCII): Likewise.
5090 (NUM_LEADING_BYTES): Likewise.
5091 (CHARSETP): Likewise.
5092 (CHARSET_BY_LEADING_BYTE): Likewise.
5093 (XCHARSET_LEADING_BYTE): Likewise.
5094 (XCHARSET_GRAPHIC): Likewise.
5095 (XCHARSET_COLUMNS): Likewise.
5096 (XCHARSET_DIMENSION): Likewise.
5097 (CHAR_CHARSET): Likewise.
5098 (CHAR_LEADING_BYTE): Likewise.
5099 (BREAKUP_CHAR): Likewise.
5100 (Vcharset_ascii): Likewise.
5102 * buffer.h: Include multibyte.h unconditionally.
5103 (VALID_CHARPTR_P): Moved to multibyte.h.
5104 (ASSERT_VALID_CHARPTR): Likewise.
5105 (REAL_INC_CHARPTR): Likewise.
5106 (REAL_INC_CHARBYTIND): Likewise.
5107 (REAL_DEC_CHARPTR): Likewise.
5108 (INC_CHARPTR): Likewise.
5109 (INC_CHARBYTIND): Likewise.
5110 (DEC_CHARPTR): Likewise.
5111 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5112 (VALIDATE_CHARPTR_FORWARD): Likewise.
5113 (charptr_n_addr): Likewise.
5114 (MAX_EMCHAR_LEN): Moved to mb-*.h.
5115 (simple_charptr_emchar): Moved to multibyte.h.
5116 (simple_set_charptr_emchar): Likewise.
5117 (simple_charptr_copy_char): Likewise.
5118 (non_ascii_charptr_emchar): Likewise.
5119 (non_ascii_set_charptr_emchar): Likewise.
5120 (non_ascii_charptr_copy_char): Likewise.
5121 (charptr_emchar): Likewise.
5122 (set_charptr_emchar): Likewise.
5123 (charptr_copy_char): Likewise.
5124 (charptr_emchar_n): Likewise.
5125 (Charset_ID): Moved to char-1byte.h.
5126 (Vcharset_ascii): Likewise.
5127 (CHAR_CHARSET): Likewise.
5128 (CHAR_LEADING_BYTE): Likewise.
5129 (LEADING_BYTE_ASCII): Likewise.
5130 (NUM_LEADING_BYTES): Likewise.
5131 (MIN_LEADING_BYTE): Likewise.
5132 (CHARSETP): Likewise.
5133 (CHARSET_BY_LEADING_BYTE): Likewise.
5134 (XCHARSET_LEADING_BYTE): Likewise.
5135 (XCHARSET_GRAPHIC): Likewise.
5136 (XCHARSET_COLUMNS): Likewise.
5137 (XCHARSET_DIMENSION): Likewise.
5138 (BREAKUP_CHAR): Likewise.
5140 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5142 * character.h: Add document about interface for characters.
5144 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
5145 (MAKE_CHAR): Delete comment about
5146 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
5147 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
5148 (BREAKUP_CHAR): Modify name of arguments.
5149 (CHAR_CHARSET): Modify name of argument.
5151 * buffer.h: Delete document about Emchar accessors.
5153 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5155 * character.h (CHAR_INTP): Moved from buffer.h
5156 (CHAR_OR_CHAR_INTP): Likewise.
5157 (XCHAR_OR_CHAR_INT): Likewise.
5158 (CHECK_CHAR_COERCE_INT): Likewise.
5160 * buffer.h (CHAR_INTP): Moved to character.h
5161 (CHAR_OR_CHAR_INTP): Likewise.
5162 (XCHAR_OR_CHAR_INT): Likewise.
5163 (CHECK_CHAR_COERCE_INT): Likewise.
5165 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5168 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
5169 - Include char-1byte.h, char-lb.h or char-ucs.h.
5171 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
5173 * buffer.h: Include character unconditionally.
5174 (valid_char_p): Moved to char-*.h.
5175 (non_ascii_valid_char_p): Moved to char-lb.h.
5177 * char-1byte.h, char-lb.h, char-ucs.h: New files.
5179 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5181 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
5182 in UTF-2000 because it is not ported yet and not to use
5183 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
5184 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
5185 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
5187 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
5188 (CHAR_ASCII_P): Moved from character.h.
5190 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
5191 (CHAR_ASCII_P): Likewise.
5192 (CHAR_FIELD1_MASK): Deleted.
5193 (CHAR_FIELD2_MASK): Deleted.
5194 (CHAR_FIELD3_MASK): Deleted.
5195 (MAX_CHAR_BASIC_LATIN): New macro.
5196 (CHAR_FIELD1): Deleted.
5197 (CHAR_FIELD2_INTERNAL): Deleted.
5198 (CHAR_FIELD3_INTERNAL): Deleted.
5199 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
5200 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
5201 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
5202 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
5203 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
5204 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
5205 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
5206 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
5207 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
5208 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
5209 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
5210 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
5211 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
5212 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
5213 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
5214 (MIN_CHAR_COMPOSITION): Deleted.
5215 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
5216 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
5218 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
5220 * buffer.h: Include mb-utf-8.h in UTF-2000.
5222 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
5224 * mb-utf-8.h: New file.
5226 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
5228 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
5231 * mule-charset.h, buffer.h (Charset_ID): New type.
5233 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5235 * mule-canna.c (c2mu): Use `MAKE_CHAR',
5236 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
5237 instead of `MULE_CHAR_PRIVATE_OFFSET',
5238 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
5239 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
5240 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
5242 * character.h (Vcharset_japanese_jisx0212): New variable
5245 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5247 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
5248 (charset_by_attributes): Delete array about direction.
5249 (latin_a_char_to_charset): New variable in UTF-2000.
5250 (latin_a_char_to_byte1): New variable in UTF-2000.
5251 (latin_a_char_to_byte2): New variable in UTF-2000.
5252 (Qucs_bmp): New variable.
5253 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
5255 (next_allocated_2_byte_leading_byte): Likewise.
5256 (non_ascii_set_charptr_emchar): Likewise.
5257 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
5258 `CHARSET_TYPE_256X256' in UTF-2000; modify for
5259 `charset_by_attributes'.
5260 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
5261 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
5262 and `CHARSET_BY_LEADING_BYTE'.
5263 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
5264 `utf-2000-version' to `vars_of_mule_charset'.
5265 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
5266 define `leading-code-private-11' in UTF-2000; move setting of
5267 `utf-2000-version' from `syms_of_mule_charset'.
5268 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
5271 * character.h (Charset_ID): New type.
5272 (LEADING_BYTE_UCS_BMP): New macro.
5273 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
5274 (CHARSET_ID_OFFSET_94): New macro.
5275 (MIN_CHARSET_ID_PRIVATE_94): New macro.
5276 (MAX_CHARSET_ID_PRIVATE_94): New macro.
5277 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
5279 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
5280 (LEADING_BYTE_LATIN_JISX0201): Likewise.
5281 (CHARSET_ID_OFFSET_96): New macro.
5282 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
5283 CHARSET_ID_OFFSET_96 and final-byte.
5284 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
5285 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
5286 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
5287 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
5288 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
5289 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
5290 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
5291 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
5292 (LEADING_BYTE_THAI_TIS620): Likewise.
5293 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
5294 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
5295 (CHARSET_ID_OFFSET_94x94): New macro.
5296 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
5297 CHARSET_ID_OFFSET_94x94 and final-byte.
5298 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
5299 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
5300 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
5301 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
5302 (LEADING_BYTE_CHINESE_GB2312): Likewise.
5303 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
5304 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
5305 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
5306 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
5307 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
5308 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
5309 (CHARSET_TYPE_128X128): New macro.
5310 (CHARSET_TYPE_256X256): New macro.
5311 (XCHARSET_PRIVATE_P): Delete unconditionally.
5312 (charset_by_attributes): Delete array about direction.
5313 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
5314 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
5315 (MIN_CHAR_94): New macro.
5316 (MAX_CHAR_94): New macro.
5317 (MIN_CHAR_96): New macro.
5318 (MAX_CHAR_96): New macro.
5319 (MIN_CHAR_94x94): New macro.
5320 (MAX_CHAR_94x94): New macro.
5321 (MIN_CHAR_96x96): New macro.
5322 (MAX_CHAR_96x96): New macro.
5323 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
5324 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5325 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
5327 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
5328 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
5329 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
5330 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
5331 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
5332 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
5333 `XCHARSET_LEADING_BYTE' to make code-point.
5334 (latin_a_char_to_charset): New variable.
5335 (latin_a_char_to_byte1): New variable.
5336 (latin_a_char_to_byte2): New variable.
5337 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
5338 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
5339 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
5341 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
5342 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
5343 (find_charsets_in_emchar_string): Likewise.
5344 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
5346 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
5348 (decode_coding_iso2022): Likewise.
5350 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
5353 * redisplay.c (redisplay_text_width_emchar_string): Use
5354 `Charset_ID' instead of `unsigned char'.
5355 (redisplay_frame_text_width_string): Likewise.
5357 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
5360 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
5361 instead of `unsigned char'.
5362 (face_cachel_charset_font_metric_info): Likewise.
5364 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
5365 (get_non_ascii_char_table_value): Likewise.
5366 (get_char_table): Likewise.
5367 (put_char_table): Likewise.
5368 (map_over_other_charset): Likewise.
5369 (map_char_table): Likewise.
5371 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
5372 instead of `unsigned char'.
5374 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
5376 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
5377 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
5379 * mule-charset.c (leading_code_private_11): Don't define in
5382 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
5383 in UTF-2000 because it is not ported yet and not to use
5384 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
5386 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
5388 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
5390 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5392 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
5395 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
5396 of unsigned char to store leading-byte.
5398 * chartab.c (get_non_ascii_char_table_value): Don't use
5399 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
5401 * file-coding.c (encode_coding_big5): Delete bogus implementation
5404 * character.h (LEADING_BYTE_*): Delete definition for
5406 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
5407 (LEADING_BYTE_PREFIX_P): Deleted.
5408 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
5409 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
5410 (BUFBYTE_LEADING_BYTE_P): Deleted.
5411 (CHARSET_PRIVATE_P): Deleted unconditionally.
5412 (rep_bytes_by_first_byte): Deleted unconditionally.
5413 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
5414 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
5415 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5416 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
5417 (CHAR_FIELD2): Deleted.
5418 (CHAR_FIELD3): Deleted.
5419 (MAKE_CHAR): Delete definition for non-UTF-2000.
5420 (BREAKUP_CHAR_1_UNSAFE): Deleted.
5421 (breakup_char_1): New implementation.
5422 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
5423 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
5425 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5427 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
5430 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5432 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
5433 (CHARSET_PRIVATE_P): Likewise.
5434 (XCHARSET_PRIVATE_P): Likewise.
5435 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
5437 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
5439 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
5441 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5443 * character.h (LEADING_BYTE_*): Changed in UTF2000.
5444 (NUM_LEADING_BYTES): Changed from 128 to 256.
5445 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5446 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
5448 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5450 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
5452 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
5453 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
5454 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
5455 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
5456 (Qchinese_cns11643_3): New variable in UTF2000.
5457 (Qchinese_cns11643_4): New variable in UTF2000.
5458 (Qchinese_cns11643_5): New variable in UTF2000.
5459 (Qchinese_cns11643_6): New variable in UTF2000.
5460 (Qchinese_cns11643_7): New variable in UTF2000.
5461 (syms_of_mule_charset): Define `chinese-cns11643-3',
5462 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
5463 and `chinese-cns11643-7' in UTF2000.
5464 (vars_of_mule_charset): Initialize
5465 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
5467 (complex_vars_of_mule_charset): Setup charset
5468 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
5469 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
5471 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5473 * mule-charset.c: Move setting for `leading-code-private-11' from
5474 `syms_of_mule_charset' to `vars_of_mule_charset'.
5476 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5478 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
5479 and `NUM_LEADING_BYTES' in assert.
5481 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5483 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
5485 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
5486 `NUM_LEADING_BYTES' instead of 128.
5488 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
5490 * mule-charset.h (charset_by_leading_byte): Use
5491 `NUM_LEADING_BYTES' instead of 128.
5492 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
5494 * mule-charset.c (charset_by_leading_byte): Use
5495 `NUM_LEADING_BYTES' instead of 128.
5496 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
5498 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
5501 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
5503 * mule-charset.c (syms_of_mule_charset): Update to
5506 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
5508 * file-coding.c (encode_coding_sjis): New implementation for
5509 UTF2000. (decode_coding_sjis): Ditto.
5511 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5513 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
5514 Don't define in UTF2000.
5516 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
5519 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5520 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
5523 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5525 * config.h.in (CHAR_IS_UCS4): New macro.
5527 * mule-charset.c (rep_bytes_by_first_byte): Modify for
5528 conventional MULE representation.
5529 (syms_of_mule_charset): Update to 0.3 (Imamiya).
5531 * mule-charset.h: Reverted to original.
5533 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5534 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
5535 "mule-charset.h" if CHAR_IS_UCS4 is defined.
5537 * character.h: New file.
5539 * file-coding.c (Fmake_coding_system): Set 1 to
5540 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
5542 (encode_coding_no_conversion): New implementation for UTF2000.
5544 * file-coding.h (struct Lisp_Coding_System): Add new member
5547 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
5549 * file-coding.c (decode_coding_iso2022): Code-point arguments of
5550 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
5551 (encode_coding_iso2022): New implementation for UTF2000.
5553 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5555 * mule-canna.c (c2mu): New implementation for UTF2000.
5558 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5560 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
5562 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5564 * file-coding.c (reset_encoding_stream): Set 0 to
5565 `str->iso2022.current_char_boundary' in UTF2000.
5566 (encode_utf8): Don't define in UTF2000.
5567 (encode_coding_utf8): New implementation for UTF-8 representation
5569 (complex_vars_of_file_coding): Define coding-system `utf-8'.
5571 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5573 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
5575 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
5577 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5579 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
5581 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
5582 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
5583 as UTF-8 in UTF2000.
5584 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
5585 (non_ascii_valid_char_p): Don't define in UTF2000.
5586 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
5587 (Lstream_get_emchar_1): Likewise.
5588 (utf-2000-version): New variable in UTF2000.
5590 * lread.c (read_escape): Add new reader `u'.
5592 * insdel.c (three_to_one_table): Don't define in UTF2000.
5593 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
5594 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5596 (bytind_to_bufpos_func): Likewise.
5597 (buffer_mule_signal_inserted_region): Likewise.
5598 (vars_of_insdel): Don't initialize `three_to_one_table'.
5599 (init_buffer_text): Use `buf->text->mule_size' instead of
5600 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5603 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
5604 UTF-8 representation in UTF2000.
5605 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
5606 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
5607 (decode_coding_iso2022): Don't define local variable `lb' in
5608 UTF2000; don't use LEADING_BYTE in UTF2000; use
5609 `DECODE_ADD_UCS_CHAR' in UTF2000.
5610 (convert_to_external_format): Decode as UTF-8 in UTF2000.
5612 * config.h.in (UTF2000): New macro.
5614 * buffer.h (struct buffer_text): Add new member `mule_size' and
5615 don't add `mule_shifter' and `mule_three_p' in UTF2000.
5616 (valid_char_p): Return always 1 in UTF2000.
5617 (MAX_EMCHAR_LEN): 6 in UTF2000.
5618 (three_to_one_table): Don't define in UTF2000.
5619 (real_bufpos_to_bytind): Modify for UTF-8 representation in
5621 (real_bytind_to_bufpos): Likewise.
5623 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
5625 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5627 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
5628 representation change.
5629 (Vutf_2000_version): New variable.
5630 (leading_code_private_11): New variable.
5631 (syms_of_mule_charset): Add new variables `utf-2000-version' and
5632 `leading-code-private-11'.
5634 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
5635 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
5636 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
5637 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
5638 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
5639 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
5640 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
5641 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
5642 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
5643 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
5644 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
5645 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
5646 (MIN_CHAR_GREEK): New macro.
5647 (MAX_CHAR_GREEK): New macro.
5648 (MIN_CHAR_CYRILLIC): New macro.
5649 (MAX_CHAR_CYRILLIC): New macro.
5650 (MIN_CHAR_HEBREW): New macro.
5651 (MAX_CHAR_HEBREW): New macro.
5652 (MIN_CHAR_THAI): New macro.
5653 (MAX_CHAR_THAI): New macro.
5654 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
5655 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
5656 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
5657 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
5658 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
5659 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
5660 (CHAR_FIELD2): New inline function.
5661 (CHAR_FIELD3): New inline function.
5662 (MULE_CHAR_PRIVATE_OFFSET): New macro.
5663 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
5664 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
5665 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
5666 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
5667 (MIN_CHAR_COMPOSITION): Likewise.
5668 (CHAR_LEADING_BYTE): Modified for character representation change.
5669 (MAKE_CHAR): Likewise.
5671 * lisp.h (Vcharset_latin_iso8859_1): New variable.
5672 (Vcharset_greek_iso8859_7): Likewise.
5673 (Vcharset_cyrillic_iso8859_5): Likewise.
5674 (Vcharset_hebrew_iso8859_8): Likewise.
5675 (Vcharset_thai_tis620): Likewise.
5676 (Vcharset_katakana_jisx0201): Likewise.
5678 2005-02-06 Vin Shelton <acs@xemacs.org>
5680 * XEmacs 21.4.17 is released
5682 2005-01-31 Ben Wing <ben@xemacs.org>
5685 Define assert_failed() always.
5687 Always define ABORT().
5689 2005-01-25 Ben Wing <ben@xemacs.org>
5692 * Makefile.in.in (%.o):
5693 Don't compile executable as Windows (-mwindows) under Cygwin.
5694 Semi-recent changes to Cygwin's executable-startup handling make
5695 it impossible to access the TTY this way.
5697 Don't use special linker file under Cygwin (cygwin.sc) except
5698 when non-PDUMP (even in this case it is highly questionable); you
5701 1 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening input console handle after exec, errno 13, Win32 error 5
5702 5820 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening output console handle after exec, errno 13, Win32 error 5
5704 2005-01-29 Ben Wing <ben@xemacs.org>
5706 Port this: 2003-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5708 * mule-charset.c (get_unallocated_leading_byte): Compiler quietus.
5710 2005-01-29 Ben Wing <ben@xemacs.org>
5712 * bytecode.c (optimize_compiled_function):
5714 * print.c (long_to_string):
5715 Add casts to avoid warning.
5718 Some really nasty hacks to allow TIFF and JPEG to both be compiled.
5719 #### The better solution is to move the TIFF and JPEG code to
5722 * glyphs-msw.c (mswindows_xbm_instantiate):
5723 Define __STDC__ to avoid problems with compface.h.
5725 * EmacsFrame.c (EmacsFrameRecomputeCellSize):
5727 * EmacsShell-sub.c (ABORT):
5728 * EmacsShell-sub.c (SuperClassRootGeometryManager):
5729 * EmacsShell-sub.c (RootGeometryManager):
5731 * EmacsShell.c (ABORT):
5732 * EmacsShell.c (EmacsShellUpdateSizeHints):
5733 * alloc.c (free_lcrecord):
5734 * alloca.c (i00afunc):
5735 * buffer.c (delete_from_buffer_alist):
5736 * buffer.c (MARKED_SLOT):
5737 * bytecode.c (execute_rare_opcode):
5738 * bytecode.c (optimize_byte_code):
5739 * bytecode.c (Ffetch_bytecode):
5740 * chartab.c (char_table_type_to_symbol):
5741 * chartab.c (Freset_char_table):
5742 * chartab.c (decode_char_table_range):
5743 * chartab.c (Fget_range_char_table):
5744 * chartab.c (check_valid_char_table_value):
5745 * chartab.c (map_char_table):
5746 * chartab.c (slow_map_char_table_fun):
5747 * chartab.c (chartab_instantiate):
5748 * cm.c (cmcheckmagic):
5749 * console-msw.c (DHEADER):
5750 * console.c (MARKED_SLOT):
5751 * data.c (finish_marking_weak_lists):
5752 * data.c (encode_weak_list_type):
5753 * debug.h (DASSERT):
5754 * device-gtk.c (gtk_init_device):
5755 * device-msw.c (mswindows_get_default_margin):
5756 * device-tty.c (tty_init_device):
5757 * device-x.c (get_device_from_display):
5758 * device-x.c (x_get_visual_depth):
5759 * doprnt.c (parse_doprnt_spec):
5760 * doprnt.c (get_doprnt_args):
5761 * dumper.c (pdump_get_indirect_count):
5762 * dumper.c (pdump_register_sub):
5763 * dumper.c (pdump_register_object):
5764 * dumper.c (pdump_register_struct):
5765 * dumper.c (pdump_dump_data):
5766 * dumper.c (pdump_reloc_one):
5767 * elhash.c (print_hash_table):
5768 * elhash.c (make_standard_lisp_hash_table):
5769 * elhash.c (hash_table_instantiate):
5771 * emacs.c (Fforce_debugging_signal):
5772 * emacs.c (sort_args):
5774 * emacs.c (assert_failed):
5775 * eval.c (throw_or_bomb_out):
5776 * eval.c (signal_1):
5779 * event-Xt.c (emacs_Xt_mapping_action):
5780 * event-Xt.c (Xt_process_to_emacs_event):
5782 * event-stream.c (check_event_stream_ok):
5783 * event-stream.c (Fadd_timeout):
5784 * event-stream.c (Fadd_async_timeout):
5785 * event-stream.c (Fdiscard_input):
5786 * event-stream.c (execute_internal_event):
5787 * event-stream.c (Frecent_keys):
5788 * event-stream.c (extract_this_command_keys_nth_mouse_event):
5789 * event-stream.c (lookup_command_event):
5790 * event-unixoid.c (poll_fds_for_input):
5792 * events.c (mark_event):
5793 * events.c (event_equal):
5794 * events.c (event_hash):
5795 * events.c (Fmake_event):
5796 * events.c (Fdeallocate_event):
5797 * events.c (event_chain_find_previous):
5798 * events.c (event_to_character):
5799 * events.c (format_event_object):
5800 * events.c (Fevent_type):
5801 * events.c (event_pixel_translation):
5802 * events.c (Fevent_properties):
5803 * extents.c (extent_in_region_p):
5804 * extents.c (print_extent):
5805 * extents.c (process_extents_for_insertion_mapper):
5806 * extents.c (report_extent_modification_mapper):
5807 * extents.c (glyph_layout_to_symbol):
5808 * faces.c (face_validate):
5809 * file-coding.c (eol_type_to_symbol):
5810 * file-coding.c (subsidiary_coding_system):
5811 * file-coding.c (Fcoding_system_type):
5812 * file-coding.c (Fcoding_system_property):
5813 * file-coding.c (mule_decode):
5814 * file-coding.c (mule_encode):
5815 * file-coding.c (encode_coding_ucs4):
5816 * file-coding.c (encode_coding_utf8):
5817 * file-coding.c (parse_iso2022_esc):
5818 * file-coding.c (encode_coding_iso2022):
5823 * fns.c (Fbase64_encode_region):
5824 * fns.c (Fbase64_encode_string):
5825 * fns.c (Fbase64_decode_region):
5826 * fns.c (Fbase64_decode_string):
5827 * font-lock.c (find_context):
5828 * font-lock.c (context_to_symbol):
5829 * frame-gtk.c (gtk_set_frame_pointer):
5830 * frame-gtk.c (gtk_update_frame_external_traits):
5831 * frame-x.c (x_wm_mark_shell_size_user_specified):
5832 * frame-x.c (x_wm_mark_shell_position_user_specified):
5833 * frame-x.c (x_wm_set_shell_iconic_p):
5834 * frame-x.c (x_wm_set_cell_size):
5835 * frame-x.c (x_wm_set_variable_size):
5836 * frame-x.c (x_wm_store_class_hints):
5837 * frame-x.c (x_wm_maybe_store_wm_command):
5838 * frame-x.c (x_initialize_frame_size):
5839 * frame-x.c (x_update_frame_external_traits):
5841 * frame.c (delete_frame_internal):
5842 * frame.c (mouse_pixel_position_1):
5843 * frame.c (change_frame_size_1):
5844 * free-hook.c (check_free):
5845 * free-hook.c (check_realloc):
5846 * free-hook.c (note_block_input):
5847 * free-hook.c (log_gcpro):
5848 * gccache-gtk.c (gc_cache_lookup):
5849 * glyphs-eimage.c (tiff_memory_write):
5850 * glyphs-gtk.c (gtk_finalize_image_instance):
5851 * glyphs-gtk.c (init_image_instance_from_gdk_pixmap):
5852 * glyphs-gtk.c (init_image_instance_from_xbm_inline):
5853 * glyphs-gtk.c (gtk_xpm_instantiate):
5854 * glyphs-gtk.c (gtk_unmap_subwindow):
5855 * glyphs-gtk.c (gtk_map_subwindow):
5856 * glyphs-gtk.c (gtk_button_redisplay):
5858 * glyphs-msw.c (init_image_instance_from_xbm_inline):
5859 * glyphs-x.c (init_image_instance_from_xbm_inline):
5860 * glyphs-x.c (extract_xpm_color_names):
5861 * glyphs-x.c (x_xpm_instantiate):
5862 * glyphs.c (get_image_instantiator_governing_domain):
5863 * glyphs.c (print_image_instance):
5864 * glyphs.c (image_instance_equal):
5865 * glyphs.c (image_instance_hash):
5866 * glyphs.c (encode_image_instance_type):
5867 * glyphs.c (make_image_instance_1):
5868 * glyphs.c (inherit_instantiate):
5869 * glyphs.c (image_instantiate):
5870 * glyphs.c (allocate_glyph):
5871 * glyphs.c (Fglyph_type):
5872 * glyphs.c (redisplay_subwindow):
5873 * glyphs.c (display_table_entry):
5874 * gtk-glue.c (xemacs_list_to_gtklist):
5875 * gtk-glue.c (xemacs_gtklist_to_list):
5876 * gtk-glue.c (xemacs_list_to_array):
5877 * gutter.c (SET_GUTTER_WAS_VISIBLE_FLAG):
5878 * gutter.c (gutter_was_visible):
5879 * gutter.c (get_gutter_coords):
5880 * input-method-xlib.c (get_XIM_input):
5881 * insdel.c (bufpos_to_bytind_func):
5882 * insdel.c (bytind_to_bufpos_func):
5883 * insdel.c (move_gap):
5884 * intl.c (x_get_composed_input):
5885 * keymap.c (keymap_lookup_directly):
5886 * keymap.c (keymap_delete_inverse_internal):
5887 * keymap.c (ensure_meta_prefix_char_keymapp):
5888 * keymap.c (accessible_keymaps_mapper_1):
5889 * keymap.c (where_is_recursive_mapper):
5892 * lread.c (read_atom):
5893 * lstream.c (Lstream_delete):
5894 * lstream.c (make_lisp_buffer_stream_1):
5895 * macros.c (pop_kbd_macro_event):
5896 * malloc.c (malloc):
5898 * marker.c (bi_marker_position):
5899 * marker.c (set_bi_marker_position):
5900 * menubar-gtk.c (menu_descriptor_to_widget_1):
5901 * menubar-msw.c (prune_menubar):
5902 * menubar-x.c (set_frame_menubar):
5903 * mule-charset.c (get_unallocated_leading_byte):
5904 * mule-charset.h (CHAR_LEADING_BYTE):
5905 * native-gtk-toolbar.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
5906 * nt.c (init_environment):
5907 * nt.c (generate_inode_val):
5908 * ntproc.c (delete_child):
5909 * ntproc.c (_sys_read_ahead):
5910 * ntproc.c (create_child):
5911 * objects.c (color_instantiate):
5912 * objects.c (font_instantiate):
5913 * objects.c (face_boolean_instantiate):
5914 * print.c (printing_major_badness):
5915 * process-nt.c (nt_send_process):
5916 * process-unix.c (unix_send_process):
5917 * process.c (get_process):
5918 * ralloc.c (obtain):
5919 * ralloc.c (relinquish):
5920 * ralloc.c (relocate_blocs):
5921 * ralloc.c (resize_bloc):
5922 * ralloc.c (r_alloc_free):
5923 * ralloc.c (r_re_alloc):
5924 * ralloc.c (r_alloc_thaw):
5925 * ralloc.c (init_ralloc):
5926 * ralloc.c (Free_Addr_Block):
5927 * ralloc.c (r_alloc):
5928 * redisplay-gtk.c (gtk_output_display_block):
5929 * redisplay-msw.c (mswindows_output_display_block):
5930 * redisplay-output.c (get_next_display_block):
5931 * redisplay-output.c (get_cursor_size_and_location):
5932 * redisplay-output.c (redisplay_output_layout):
5933 * redisplay-output.c (redisplay_clear_region):
5934 * redisplay-tty.c (tty_output_display_block):
5935 * redisplay-x.c (x_output_display_block):
5936 * redisplay.c (add_propagation_runes):
5937 * redisplay.c (add_glyph_rune):
5938 * redisplay.c (create_text_block):
5939 * redisplay.c (add_margin_runes):
5940 * redisplay.c (create_left_glyph_block):
5941 * redisplay.c (create_right_glyph_block):
5942 * redisplay.c (create_string_text_block):
5943 * redisplay.c (regenerate_window):
5944 * redisplay.c (REGEN_INC_FIND_START_END):
5945 * redisplay.c (redisplay_frame):
5946 * redisplay.c (point_in_line_start_cache):
5949 * regex.c (re_compile_fastmap):
5950 * regex.c (re_match_2_internal):
5951 * regex.c (regerror):
5952 * scrollbar-gtk.c (gtk_scrollbar_loop):
5953 * scrollbar-gtk.c (scrollbar_cb):
5954 * scrollbar-gtk.c (gtk_update_frame_scrollbars):
5955 * scrollbar-msw.c (mswindows_handle_scrollbar_event):
5956 * scrollbar-x.c (x_update_scrollbar_instance_status):
5957 * scrollbar-x.c (x_scrollbar_loop):
5958 * scrollbar-x.c (x_update_frame_scrollbars):
5959 * search.c (search_command):
5960 * search.c (Fmatch_data):
5961 * select-x.c (motif_clipboard_cb):
5962 * signal.c (interrupt_signal):
5963 * specifier.c (specifier_add_spec):
5964 * specifier.c (specifier_instance_from_inst_list):
5965 * specifier.c (specifier_instance):
5967 * specifier.h (struct specifier_methods):
5968 * strftime.c (add_num_time_t):
5969 * sunplay.c (init_device):
5970 * symbols.c (Fsetplist):
5971 * symbols.c (do_symval_forwarding):
5972 * symbols.c (store_symval_forwarding):
5974 * symbols.c (Fbuilt_in_variable_type):
5975 * symbols.c (decode_magic_handler_type):
5976 * symbols.c (handler_type_from_function_symbol):
5977 * syntax.c (update_syntax_cache):
5978 * sysdep.c (init_baud_rate):
5979 * toolbar-gtk.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
5980 * toolbar-msw.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
5981 * toolbar-x.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
5982 * toolbar.c (get_toolbar_coords):
5983 * ui-gtk.c (build_gtk_boxed):
5984 * ui-gtk.c (describe_gtk_arg):
5985 * ui-gtk.c (gtk_type_to_lisp):
5986 * ui-gtk.c (lisp_to_gtk_type):
5987 * ui-gtk.c (lisp_to_gtk_ret_type):
5988 * ui-gtk.c (lisp_to_flag):
5989 * unexnt.c (read_in_bss):
5990 * unexnt.c (map_in_heap):
5991 * window.c (real_window):
5992 * window.c (window_display_lines):
5993 * window.c (window_display_buffer):
5994 * window.c (set_window_display_buffer):
5995 * window.c (window_modeline_height):
5996 * window.c (unshow_buffer):
5997 * window.c (window_loop):
5998 * window.c (Fget_lru_window):
5999 * window.c (Fsplit_window):
6000 * window.c (Fset_window_configuration):
6001 * window.c (saved_window_index):
6002 * xgccache.c (gc_cache_lookup):
6003 abort() -> ABORT(). Eliminate preprocessor games with abort()
6004 since it creates huge problems in VC7, solvable only by including
6005 massive amounts of files in every compile (and not worth it).
6009 Inclusion of process.h does not need to be before lisp.h any more.
6010 Move later and remove comment about abort().
6012 2005-01-26 Arnaud Giersch <arnaud.giersch@free.fr>
6014 * regex.c (re_match_2_internal):
6015 Correctly initialize loop which clears uninitialized registers.
6017 2005-01-28 Vin Shelton <acs@xemacs.org>
6019 * sheap.c (more_static_core): Applied Ben's version of the long
6022 2005-01-24 Vin Shelton <acs@xemacs.org>
6024 * sheap.c (more_static_core): Reformatted printf string so
6025 gcc-3.3.3 will compile this on Cygwin.
6027 2004-02-22 Stephen J. Turnbull <stephen@xemacs.org>
6029 * console.c (function_key_map): Reference `key-binding'.
6031 * keymap.c (Vkey_translation_map): Improve docstring.
6033 2004-03-30 Zajcev Evgeny <zevlg@yandex.ru>
6035 * window.c: Declare `allow_deletion_of_last_visible_frame' extern.
6036 * window.c (window_loop): [fix] Take into account
6037 `allow-deletion-of-last-visible-frame' variable.
6038 * window.c (replace-buffer-in-windows): Ditto.
6040 2004-12-15 Stephen J. Turnbull <stephen@xemacs.org>
6042 * EmacsManager.c (EmacsManagerChangeSize): Respect XtGeometryNo.
6044 2005-01-20 Malcolm Purvis <malcolmp@xemacs.org>
6046 * event-gtk.c: Recognise AltGr as a valid modifier.
6048 2005-01-12 Ville Skyttä <scop@xemacs.org>
6050 * console-x.h: #include X11/keysym.h before xintrinsic.h.
6052 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6054 Fix backreference bug caught by test suite.
6056 * regex.c (regex_compile):
6057 Make backref duplicate internal register.
6059 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6061 Documentation, code clarification, and warning suppression.
6063 * regex.c (regex_compile):
6065 (re_match_2_internal):
6066 Improve comments and avoid redundant braces. [Most of the big hunk
6067 at l. 4710 is indentation; use diff -w to see the real changes.]
6068 (alt_match_null_string_p):
6069 (common_op_match_null_string_p):
6070 Avoid shadowing global on Mac OS X 10.4, at least.
6072 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6074 * regex.c (regcomp): Fix "unsigned comparison" warning (maybe
6075 introduced with shy groups fix). [Already applied, probably
6076 with the second "fix shy groups" patch of 2004-10-07.]
6078 2005-01-10 Steve Youngs <steve@sxemacs.org>
6080 From Andrey Slusar <anrays@gmail.com>:
6082 * unexelf.c: define `Elfw(type)' for FreeBSD alpha and amd64.
6084 2004-11-21 Malcolm Purvis <malcolmp@xemacs.org>
6086 * Makefile (RECURSIVE_MAKE): Removed.
6087 * Makefile (RECURSIVE_MAKE_ARGS): New. The new method for
6088 handling parallel builds.
6090 2004-09-08 Malcolm Purvis <malcolmp@xemacs.org>
6092 * Makefile.in.in: Enable support for parallel builds.
6094 2005-01-09 Steve Youngs <steve@sxemacs.org>
6096 From Andrey Slusar <anrays@gmail.com>:
6098 * s/freebsd.h (LIBS_SYSTEM): Only set to "-lutil -lxpg4" if
6099 FreeBSD version is >= 199701 _and_ < 600006.
6101 2005-01-06 Zajcev Evgeny <zevlg@yandex.ru>
6103 * scrollbar.c (compute_scrollbar_instance_usage):
6104 Only call device method compute_scrollbar_instance_usage() if it
6107 2004-12-05 Vin Shelton <acs@xemacs.org>
6109 * XEmacs 21.4.16 is released
6111 2004-12-04 Vin Shelton <acs@xemacs.org>
6113 * depend: Regenerated.
6115 2004-10-07 Stephen J. Turnbull <stephen@xemacs.org>
6117 * regex.c (re_match_2_internal): Map internal to external
6118 registers. Fixes bug identified by Steve Youngs 2004-09-30
6119 <microsoft-free.87ekkjhj7t.fsf@youngs.au.com>.
6121 2004-09-02 Yoshiki Hayashi <yoshiki@xemacs.org>
6123 * buffer.c (Frecord_buffer): Make sure the argument is buffer
6124 to fix a crash. Also, check the buffer is live and it
6125 really exists in buffer_list. If the buffer is not in the list,
6128 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6130 Fix shy groups by implementing recording of all groups for
6131 repetition and backtracking. Backport from 21.5.
6133 * regex.h (struct re_pattern_buffer): Add members re_ngroups,
6134 external_to_internal_register, external_to_internal_register_size,
6135 and update comments for re_nsub.
6137 * regex.c (re_opcode_t): Update comments.
6138 (print_compiled_pattern): Ouput external_to_internal_register,
6139 external_to_internal_register_size, and re_ngroups for debugging.
6140 (INIT_REG_TRANSLATE_SIZE): New manifest constant.
6141 (regex_compile): Update header comment.
6142 Ensure that all groups are recorded so that repeat matches and
6143 backtracking work correctly. Comment related warning for groups >
6145 (re_search_2): Construct map of API indexes (which count only
6146 nonshy groups) to internal register numbers, and keep it updated.
6148 2004-07-27 Malcolm Purvis <malcolmp@xemacs.org>
6150 * frame-gtk.c (gtk_make_frame_visible):
6151 * frame-gtk.c (gtk_make_frame_invisible): Use map/unmap instead of
6152 show/hide. This is what X uses and is prevents previously hidden
6153 widgets from suddenly reappearing.
6154 * gtk-xemacs.c (gtk_xemacs_paint):
6155 * gtk-xemacs.c (gtk_xemacs_draw):
6156 * gtk-xemacs.c (gtk_xemacs_expose): Only operate if the widget is
6158 * scrollbar-gtk.c (gtk_update_scrollbar_instance_status): Force
6159 size and location changes so that they can be seen before the next
6160 idle event. Without this rapid changes to scrollbar properties
6163 2004-07-02 Malcolm Purvis <malcolmp@xemacs.org>
6166 * console-gtk.h (struct gtk_frame):
6167 * console-gtk.h (FRAME_GTK_WIDGET_INSTANCE_HASH_TABLE):
6168 Add hash tables track tab_control callback data.
6169 Added #defines for GTK object data names.
6170 Declaration of gtk_widget_to_frame().
6171 * event-gtk.c (enqueue_gtk_dispatch_event) No longer static:
6172 * frame-gtk.c (gtk_widget_to_frame): New.
6173 * frame-gtk.c (gtk_create_widgets):
6174 * frame-gtk.c (allocate_gtk_frame_struct):
6175 * frame-gtk.c (gtk_mark_frame):
6176 Manage frame callbakc hash tables.
6177 * glyphs-gtk.c (gtk_map_subwindow): Fix size and moving bugs.
6178 * glyphs-gtk.c (gtk_redisplay_widget): Use correct size for widgets.
6179 * glyphs-gtk.c (gtk_widget_instantiate_1): Force reconsideration
6181 * glyphs-gtk.c (gtk_widget_query_geometry): New
6182 * glyphs-gtk.c (gtk_register_gui_item): New
6183 * glyphs-gtk.c (gtk_add_tab_item): New
6184 * glyphs-gtk.c (gtk_tab_control_callback): New
6185 * glyphs-gtk.c (gtk_tab_control_instantiate): New
6186 * glyphs-gtk.c (gtk_tab_control_redisplay): Set notebook page.
6187 Use correct list when loading item.
6188 * glyphs-gtk.c (image_instantiator_format_create_glyphs_gtk):
6189 Register new methods.
6190 * gtk-xemacs.c (gtk_xemacs_size_allocate): Use XEmacs size, not
6191 default size, for widgets.
6192 * gui-x.c: Improved comment.
6193 * menubar-gtk.c (__generic_button_callback): Use
6194 gtk_widget_to_frame instead of __get_channel.
6196 * ui-gtk.c: Use symbolic names for GTK object data.
6198 2004-06-23 Ilya N. Golubev <gin@mo.msk.ru>
6200 * s/usg5-4.h (NSIG): Define only inside emacs binary.
6202 2002-03-04 Stephen J. Turnbull <stephen@xemacs.org>
6204 * fileio.c (Fwrite_region_internal): Document use of start == Qnil.
6206 2004-06-16 Malcolm Purvis <malcolmp@xemacs.org>
6208 * malloc.c (morecore): siz is a long because in some architectures
6209 (eg ia-64) an int cannot hold the address range. Additional patch
6210 from the SuSe distribution.
6212 2004-06-13 Malcolm Purvis <malcolmp@xemacs.org>
6215 * malloc.c: lim_data is a long because in some architectures
6216 (eg ia-64) an int cannot hold the address range.
6217 * mem-limits.h: lim-data is a long. Linux uses getrlimit()
6218 instead of ulimit() because ulimit() always returns -1.
6220 2004-06-09 Stephen J. Turnbull <stephen@xemacs.org>
6222 * search.c: Reenable an ansync semaphore. Remove bogus comments.
6224 2004-06-11 David Kastrup <dak@gnu.org>
6226 * search.c (match_limit): Don't flag an error if match-data
6227 exceeding the allocated search_regs.num_regs gets requested, just
6230 2003-07-21 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6232 * glyphs-gtk.c (gtk_xpm_instantiate): Rewrite the XPM data to
6233 replace symbolic color entries with the real colors specified in
6234 xpm-color-symbols, before passing the XPM to gtk.
6235 * glyphs-gtk.h: Use the generic pixmap_image_instance.mask for masks,
6236 instead of a GTK specific field, so that it is used in by generic
6239 2004-05-05 Chuck Hines <chuck.hines@baesystems.com>
6241 * dgif_lib.c (DGifSlurp): Changed do-while to while to stop
6242 coredump from deref of NULL ptr (ExtData)
6244 2004-04-19 Jerry James <james@xemacs.org>
6246 * data.c (sign_extend_lisp_int): Use INT_VALBITS instead of
6247 VALBITS to compute the location of the sign bit.
6248 * event-stream.c (Fcurrent_event_timestamp): Replace incorrect use
6249 of VALBITS with EMACS_INT_MAX.
6250 * events.c (Fevent_timestamp): Ditto.
6251 * events.c (TIMESTAMP_HALFSPACE): Change VALBITS to INT_VALBITS to
6252 compute the halfway point to timestamp wraparound.
6253 * floatfns.c (float_to_int): Compare against EMACS_INT_MAX and
6254 EMACS_INT_MIN instead of using VALBITS.
6255 * floatfns.c (Flogb): Use EMACS_INT_MIN instead of building an
6256 incorrect number with VALBITS.
6257 * fns.c (Frandom): Correct number of integer bits in docstring.
6258 Use INT_VALBITS instead of VALBITS to compute the denominator.
6259 * sysdep.c (get_random): Use INT_VALBITS instead of VALBITS to
6260 build random numbers.
6262 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6264 * event-gtk.c (gtk_event_to_emacs_event):
6266 * menubar-gtk.c (gtk_xemacs_menubar_class_init):
6267 * menubar-gtk.c (gtk_xemacs_menubar_size_request):
6268 * menubar-gtk.c (gtk_xemacs_accel_label_get_type):
6269 * menubar-gtk.c (gtk_xemacs_set_accel_keys):
6270 * menubar-gtk.c (__activate_menu):
6271 * menubar-gtk.c (convert_underscores):
6272 * menubar-gtk.c (remove_underscores):
6273 * menubar-gtk.c (menu_convert):
6274 * menubar-gtk.c (menu_descriptor_to_widget_1):
6275 * menubar-gtk.c (menu_descriptor_to_widget):
6276 * menubar-gtk.c (menu_can_reuse_widget):
6277 * menubar-gtk.c (menu_create_menubar):
6278 * menubar-gtk.c (gtk_popup_menu):
6279 * menubar-gtk.c (Fgtk_build_xemacs_menu):
6280 Added support for Gtk menu bar and menu item mnemonics.
6282 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6284 * sysdll.c: (dll_function): Added support for finding symbols in
6285 Darwin shared libraries as well in Darwin bundles.
6286 * sysdll.c (image_for_address): New
6287 * sysdll.c (my_find_image): New
6288 * sysdll.c (search_linked_libs): New
6290 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6292 * ui-gtk.c (__internal_callback_marshal): Marshalling data to
6293 return to GTK requires a different API to marshalling data to use
6295 * ui-gtk.c (lisp_to_gtk_ret_type): New.
6297 2004-03-08 Lutz Euler <lutz.euler@freenet.de>
6299 * lstream.c (Lstream_pseudo_close): Fix test for LSTREAM_FL_IS_OPEN.
6301 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
6303 * glyphs.c (process_image_string_instantiator):
6304 (Fset_console_type_image_conversion_list):
6305 Stop GCC from warning about shadowing of `exp'.
6307 * redisplay-x.c (x_output_string): Fix unsigned lossage.
6309 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
6311 * regex.c (re_match_2_internal): Shut up GCC about syn1, syn2.
6313 2004-02-03 Vin Shelton <acs@xemacs.org>
6315 * glyphs.c (image_instance_layout): Remove pointless assertion.
6316 * regex.c (regex_grow_registers): Return type is void.
6318 2004-02-02 Vin Shelton <acs@xemacs.org>
6320 * XEmacs 21.4.15 is released
6322 2004-01-30 Glynn Clements <glynn.clements@virgin.net>
6324 * device-x.c (x_error_handler): Don't call stderr_out
6326 2003-11-07 Katsumi Yamaoka <yamaoka@jpl.org>
6328 * buffer.c (other-buffer): Clarify documentation of order of
6329 arguments for FSF Emacs.
6331 2003-10-11 Olivier Galibert <galibert@pobox.com>
6333 * window.c (Fdelete_window): Dirty the mirror structure _before_
6334 marking the window deleted.
6336 2003-09-15 Jerry James <james@xemacs.org>
6338 * event-msw.c (debug_mswin_messages): Conditionally compile
6339 messages missing from the Cygwin headers.
6341 2003-06-16 Stephen J. Turnbull <stephen@xemacs.org>
6343 * data.c (eq_with_ebola_notice): Fix typo in comment.
6344 (Ftrue_list_p): Improve docstring.
6346 2003-10-13 Stephen J. Turnbull <stephen@xemacs.org>
6348 * frame-x.c (x_update_frame_external_traits): Fix XtSetArg idiom.
6350 2003-09-27 Stephen J. Turnbull <stephen@xemacs.org>
6352 * search.c (trivial_regexp_p): Regexps containing "\{" are
6353 nontrivial. Thanks to Manfred Bartz for reporting the bug and
6354 Stefan Monnier for suggesting a diagnosis.
6356 2003-09-25 Stephen J. Turnbull <stephen@xemacs.org>
6358 * elhash.c (make-hash-table): Clarify use of :test #'equal.
6360 2003-09-12 Stephen J. Turnbull <stephen@xemacs.org>
6362 * search.c (Fsearch_forward):
6364 Document negative count.
6366 2003-09-13 Stephen J. Turnbull <stephen@xemacs.org>
6368 * regex.c (re_max_failures): Bump to 20000 for REGEX_MALLOC, too.
6370 2003-09-13 Martin Buchholz <martin@xemacs.org>
6372 * s/sol2.h: Use OS_RELEASE=os_release_major*100+os_release_minor
6374 2003-09-15 Vin Shelton <acs@xemacs.org>
6376 * .gdbinit (pobj): Remove Ilya's fix that was only intended for
6379 2003-09-12 Yoshiki Hayashi <yoshiki@xemacs.org>
6381 * regex.c (TRANSLATE_EXTENDED_UNSAFE): Remove.
6382 (re_search_2): Match the first byte of Bufbyte, not Emchar.
6383 (re_match_2_internal): Use TRANSLATE instead of
6384 TRANSLATE_EXTENDED_UNSAFE. The latter was a hack to bypass
6385 non-ASCII char case conversion.
6387 2003-09-08 Mike Sperber <mike@xemacs.org>
6389 * symbols.c (Fvariable_binding_locus): Add, as per suggestion from
6390 RMS at: http://article.gmane.org/gmane.emacs.pretest.bugs/1010
6392 2003-06-14 Ilya N. Golubev <gin@mo.msk.ru>
6394 * .gdbinit (pobj): fix printing of symbol name.
6396 2003-08-01 Ilya N. Golubev <gin@mo.msk.ru>
6398 * frame-x.c (x_layout_widgets): When resizing is about to cause
6399 frame size slip, mark it for redisplay.
6401 2003-08-18 Jerry James <james@xemacs.org>
6403 * opaque.h: Remove unused (X)OPAQUE_MARKFUN definitions.
6405 2003-09-03 Vin Shelton <acs@xemacs.org>
6407 * XEmacs 21.4.14 is released
6409 2003-08-15 Stephen J. Turnbull <stephen@xemacs.org>
6411 * config.h.in (REGEX_MALLOC): Make it configure'able.
6413 2003-08-14 Andrew Begel <abegel@CS.Berkeley.EDU>
6415 * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic
6417 * sysdll.c (dll_init):
6418 * sysdll.c (dll_open):
6419 * sysdll.c (dll_close):
6420 * sysdll.c (dll_function):
6421 * sysdll.c (dll_variable):
6422 * sysdll.c (dll_error):
6423 Add support for loading bundles using Darwin/MacOSX
6426 2003-08-12 Stephen J. Turnbull <stephen@xemacs.org>
6428 * process.c (start-process-internal): Document coding systems.
6430 2003-07-30 Jerry James <james@xemacs.org>
6432 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
6434 2003-07-31 René Kyllingstad <listmailxemacs@kyllingstad.com>
6436 * event-msw.c (mswindows_enqueue_mouse_button_event):
6437 * event-msw.c (mswindows_wnd_proc):
6438 enqueue button event when scrollwheel event isn't handled by
6439 mswindows_handle_mousewheel_event, such as when the scrollbars
6442 2003-07-29 Stephen J. Turnbull <stephen@xemacs.org>
6444 * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*.
6446 2003-03-24 Stephen J. Turnbull <stephen@xemacs.org>
6448 * database.c (Fopen_database): Don't use DB_AUTO_COMMIT.
6450 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org>
6452 * regex.c (re_match_2_internal): Fix matching degenerate word
6455 2003-05-25 XEmacs Build Bot <builds@cvs.xemacs.org>
6457 * XEmacs 21.4.13 is released
6459 2003-03-20 Stephen J. Turnbull <stephen@xemacs.org>
6461 * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H):
6462 * lisp.h (<inttypes.h>):
6463 Cygwin defines these types in <cygwin/types.h>. Don't duplicate
6466 2003-03-15 Martin Buchholz <martin@xemacs.org>
6468 * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file.
6469 Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs'
6470 Result: "temacs can only be run in -batch mode."
6471 Fix: Check xemacs executable candidate for directory-ness.
6473 2003-03-03 Robert Pluim <rpluim@bigfoot.com>
6475 * database.c: Don't use the u_int8_t etc typedefs on FreeBSD,
6476 they conflict with <sys/types.h>.
6478 2003-02-14 Martin Buchholz <martin@xemacs.org>
6480 * database.c: Berkeley DB wants __STDC__ to be defined.
6482 2003-02-13 Martin Buchholz <martin@xemacs.org>
6484 * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'.
6486 2003-02-01 Martin Buchholz <martin@xemacs.org>
6488 * process-unix.c (unix_send_process): Fix C++ compile error.
6490 2003-02-25 Andrew Begel <abegel@cs.berkeley.edu>
6492 * Added .dylib as an acceptable shared library file extension
6493 * to support MacOSX.
6495 2003-02-01 Martin Buchholz <martin@xemacs.org>
6497 * EmacsFrameP.h (EmacsFramePart):
6498 Kludge to allow compiling with Motif1, but linking with Motif2.
6500 2003-01-28 Martin Buchholz <martin@xemacs.org>
6502 * config.h.in (_ALL_SOURCE): Guard against multiple definition.
6505 2003-02-23 Stephen J. Turnbull <stephen@xemacs.org>
6507 * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin.
6509 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
6511 * sysdll.c: Included lisp.h to define needed alloca_array.
6513 2003-02-13 Martin Buchholz <martin@xemacs.org>
6515 Make XEmacs redisplay 10 times faster.
6516 If, that is, you're using a slow X connection and MoveOpaque.
6517 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
6518 Use compress_motion = TRUE.
6519 * EmacsFrame.c (emacsFrameClassRec):
6520 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
6521 * EmacsManager.c (emacsManagerClassRec):
6522 * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
6524 2003-01-30 Vin Shelton <acs@xemacs.org>
6526 * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux.
6528 2003-01-17 Stephen J. Turnbull <stephen@xemacs.org>
6530 * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef.
6531 Patch by Martin Buchholz.
6533 2003-01-16 Stephen J. Turnbull <stephen@xemacs.org>
6535 * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison.
6536 Thanks to icc for warning and Martin Buchholz for reporting.
6538 2003-01-29 Vin Shelton <acs@xemacs.org>
6540 Patch courtesy of Andrew Begel <abegel@cs.berkeley.edu>
6542 * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so
6543 remember to multiply by the element size.
6545 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
6547 * XEmacs 21.4.12 "Portable Code" is released.
6549 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
6551 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
6552 * s/cygwin.sc: new linker file.
6554 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
6556 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
6558 * redisplay-x.c (x_output_string): Use X11-specified types.
6559 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
6560 * emacs.c (__free_hook): Use typeof with Intel compiler.
6561 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
6563 2003-01-08 Andy Piper <andy@xemacs.org>
6565 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
6566 reserve size during unexec().
6568 2003-01-07 Daiki Ueno <daiki@xemacs.org>
6570 * process-unix.c (unix_create_process): Don't let outchannel block.
6572 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
6574 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
6575 Needed for IsBadReadPtr().
6577 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
6579 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
6581 2002-12-14 Ben Wing <ben@xemacs.org>
6583 * callint.c: Declaration error.
6585 * dumper.c (pdump_load): Warning fix.
6586 * process.c: GCPRO error.
6587 * glyphs.c (unmap_subwindow):
6588 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
6589 * event-stream.c (maybe_kbd_translate): Wrong argument to
6590 character_to_event().
6592 * alloc.c (garbage_collect_1):
6594 * emacs.c (debug_can_access_memory):
6595 * emacs.c (fatal_error_signal):
6596 * emacs.c (mswindows_handle_hardware_exceptions):
6599 * emacs.c (assert_failed):
6600 * emacs.c (syms_of_emacs):
6603 * print.c (std_handle_out_va):
6604 * print.c (write_string_to_stdio_stream):
6605 * print.c (write_fmt_string):
6606 * print.c (printing_badness):
6607 * print.c (printing_major_badness):
6608 * print.c (print_internal):
6609 * print.c (debug_print_no_newline):
6610 * print.c (debug_backtrace):
6611 Be more defensive in handling bad values when printing. Add code
6612 from trunk involving inhibit_non_essential_printing_operations.
6613 When going down or in debug_print(), don't do external conversion
6614 and such and try really, really hard when printing to avoid core
6615 dumping. Add force-debugging-signal, debug_break().
6617 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
6619 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
6620 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
6622 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
6624 * database.c: Fix open_database. Berkeley DB API has changed in
6625 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
6627 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
6629 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
6631 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
6633 * event-Xt.c (Xt_timeout):
6634 (Xt_timeout_callback):
6635 (emacs_Xt_add_timeout):
6636 (emacs_Xt_remove_timeout):
6637 (Xt_timeout_to_emacs_event):
6638 Turn completed_timeouts from a stack into a queue. Fixes
6639 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
6641 2002-11-07 Wolfram Gloger <wg@malloc.de>
6643 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
6644 * emacs.c (main): Assert that mmap'd allocation is disabled.
6646 2002-10-14 Andy Piper <andy@xemacs.org>
6648 * glyphs-widget.c (layout_query_geometry): add in fiddle
6649 factor. Include border text in width layout calculation.
6650 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
6652 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
6654 * XEmacs 21.4.10 "Military Intelligence" is released.
6656 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
6658 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
6659 using the NAS private array SoundFileInfo that no longer exists in
6660 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
6661 and earlier. This is broken for some versions between 1.5a and
6664 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
6666 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
6668 * emacs.c (shut_down_emacs): Improve crash message.
6670 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
6672 * file-coding.c (determine_real_coding_system): Check for coding
6673 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
6674 shebangs and Python PEP 263.
6676 2002-10-08 Andy Piper <andy@xemacs.org>
6678 * glyphs-widget.c (layout_query_geometry): only resize dynamically
6679 if static sizes haven't been set.
6681 2002-08-30 Mike Alexander <mta@arbortext.com>
6683 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
6686 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
6688 * callproc.c (child_setup): 21.4 doesn't have retry_close.
6690 2002-09-20 Mike Sperber <mike@xemacs.org>
6692 (This partially gets back my patch from 2002-07-20 without the
6694 * callproc.c (child_setup): Remove Ben's comment noting confusion
6695 over the file descriptors >= 3: close_process_descs() doesn't
6696 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
6697 * process-unix.c (unix_create_process): Call
6698 begin_dont_check_for_quit to inhibit unwanted interaction (and
6699 thus breaking of X event synchronicity) in the child.
6701 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
6703 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
6706 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
6708 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
6709 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
6710 the xemacs process did not exit, but looped infinitely here. This
6713 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
6715 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
6716 (find_context): Improve comments.
6718 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
6719 (re_match_2): An XCHAR_TABLE operation was missing.
6721 Many of the following changes were inspired by Andy Piper's (now
6722 obsolete) patch to make syntax-table text property lookup optional.
6726 * syntax.h (top level): Document semantics of syntax flags.
6727 * syntax.c (comstr_start, Fforward_comment): Improve comments.
6728 * syntax.c, syntax.h (top level): Document syntax cache better in
6731 [Instrument syntax caching (temporary change)]
6733 * syntax.h (enum syntax_cache_statistics_functions, struct
6734 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
6735 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
6736 * syntax.c (scan_words, Fforward_comment, scan_lists,
6737 Fbackward_prefix_characters):
6738 * font-lock.c (find_context):
6739 Use them to instrument syntax caching.
6740 * syntax.c (struct syntax_cache_statistics, scs_statistics,
6741 syntax_cache_statistics_function_names): New type and variables.
6742 * syntax.c (update_syntax_cache): Update and report statistics.
6744 [Major syntax cache optimizations]
6746 syntax.c (lookup_syntax_properties): Default off.
6748 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
6749 * syntax.c (update_syntax_cache):
6750 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
6752 [Minor syntax cache optimizations and code clarifications]
6754 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
6755 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
6756 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
6757 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
6758 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
6759 (Code clarification.)
6761 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
6762 scan_lists): Compute code from syncode, use Boolean macros instead
6763 of redundant masking operations. (Code clarification; any decent
6764 compiler can do this optimization.)
6766 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
6769 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
6770 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
6771 use F*_single_property_change instead of F*_extent_change.
6772 Currently F*_single_property_change is _much_ less efficient.
6774 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
6775 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
6776 syntax_cache.object properly, don't leave Qt or Qnil.
6777 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
6778 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
6779 tests for Qt or Qnil.
6781 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
6783 * redisplay.c (point_in_line_start_cache):
6784 * extents.c (print_extent_1):
6787 * extents.c (Fset_extent_property): Document `syntax-table' property.
6789 * extents.h (Fnext_single_property_change): EXFUN it.
6791 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
6793 * search.c (clear_unused_search_regs): New static function.
6797 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
6798 Minor clarifications in comments.
6800 * regex.c (re_match_2_internal): Ensure no stale submatches.
6802 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
6804 * event-Xt.c (enqueue_focus_event): Add missing prototype.
6806 2002-08-29 Jerry James <james@xemacs.org>
6808 * lisp.h: structrures -> structures.
6810 2002-06-03 Andy Piper <andy@xemacs.org>
6812 * frame.c (frame_conversion_internal): add conversion appropriate
6813 for setting frame dimensions in pixels.
6815 * console.h (struct console_methods): add device-specific widget
6818 * emacs.c (main_1): initialize glyph vars.
6820 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
6821 (handle_focus_event_2): new function. Allow focus to
6822 be set to a particular window and widget.
6823 (enqueue_focus_event): new function. Create a
6824 synthetic focus event.
6825 (emacs_Xt_handle_magic_event): call
6826 handle_focus_event_2.
6828 * frame.c (Fset_frame_pixel_height): new function. Allow
6829 pixel-based sizing. Does the right thing on character-oriented
6831 (Fset_frame_pixel_width): ditto.
6832 (Fset_frame_pixel_size): ditto.
6833 (syms_of_frame): declare.
6835 * general-slots.h: add :vertically-justify and
6836 :horizontally-justify.
6838 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
6839 (mswindows_widget_border_width): new function.
6840 (mswindows_combo_box_instantiate): set border widths.
6841 (console_type_create_glyphs_mswindows): declare.
6844 (check_valid_justification): allow vertical and horizontal
6846 (widget_border_width): new function. Call device methods.
6847 (widget_instance_border_width): ditto.
6848 (logical_unit_height): new function. Determine the height of a
6849 logical-unit. Logical units are intended to provide grid-like
6850 layout for subcontrols in a layout. If the layout is
6851 :vertically-justify top then subcontrols will be positioned on
6852 logical-unit boundaries, thus allowing adjacent subcontrols to
6854 (widget_logical_unit_height): ditto for widgets.
6855 (redisplay_widget): misc cleanup.
6856 (widget_spacing): new function. Call device specific
6857 methods. Intended to be the default gap between adjacent widgets.
6858 (widget_query_geometry): use new spacing functions to determine
6859 appropriate geometry.
6860 (initialize_widget_image_instance): initialize horizontal and
6861 vertical justification.
6862 (widget_instantiate): use logica-units where appropriate for
6863 sizing large widgets.
6864 (button_query_geometry): use widget_instance_border_width.
6865 (tree_view_query_geometry): ditto.
6866 (tab_control_query_geometry): ditto.
6867 (edit_field_query_geometry): new function.
6868 (layout_update): pick up :justify, :horizontally-justify and
6869 :vertically-justify none of which worked previously. :justify is
6870 used as a fallback for both horizontal and vertical justification.
6871 (layout_query_geometry): use logical units to size appropriately.
6872 (layout_layout): ditto.
6873 (Fwidget_logical_to_character_width): new function. Allow users to
6874 convert from logical units to characters so that frame sizes can
6875 be set appropriately.
6876 (Fwidget_logical_to_character_height): ditto.
6877 (syms_of_glyphs_widget): declare.
6878 (image_instantiator_edit_fields): add edit_field_query_geometry.
6879 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
6880 :horizontally-justify.
6881 (specifier_vars_of_glyphs_widget): new function. Declare
6882 Vwidget_border_width which is not yet used.
6884 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
6885 (x_widget_border_width): new function.
6886 (x_widget_instantiate): create a sensible name for widgets.
6887 (console_type_create_glyphs_x): declare x_widget_border_width.
6889 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
6890 (struct Lisp_Image_Instance): add :vertically-justify and
6891 :horizontally-justify.
6892 (LAYOUT_JUSTIFY_TOP): new.
6893 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
6894 (ROUND_UP): new macro. Round argument up to next integral
6897 * redisplay-output.c (redisplay_output_layout): misc formatting.
6899 * symsinit.h: declare specifier_vars_of_glyphs_widget.
6901 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
6903 * XEmacs 21.4.9 "Informed Management" is released.
6905 2002-08-19 Andy Piper <andy@xemacs.org>
6907 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
6910 * realpath.c (xrealpath): normalize drive spec also so that dir
6911 sep chars are not mixed on cygwin.
6913 2002-08-06 Jerry James <james@xemacs.org>
6915 * window.c (Fsplit_window): Count only half of the divider width
6916 against the left window when splitting horizontally.
6918 2002-06-24 Andy Piper <andy@xemacs.org>
6920 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
6921 toolbar was cleared.
6923 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
6924 function. Split out from mswindows_output_frame_toolbars.
6925 (mswindows_output_frame_toolbars): move clear pieces to
6926 mswindows_output_frame_toolbars.
6928 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
6929 out from gtk_output_frame_toolbars.
6930 (gtk_output_frame_toolbars): move clear pieces to
6931 gtk_clear_frame_toolbars.
6933 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
6934 the frame is cleared. How this ever worked before is a mystery.
6935 (x_output_frame_toolbars): Only output toolbars.
6936 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
6938 * gutter.c (update_gutter_geometry):
6939 Mark frame layout changed.
6940 (update_frame_gutter_geometry, update_frame_gutters):
6941 Respect frame_layout_changed.
6943 * console.h (struct console_methods): add
6944 clear_frame_toolbars_method.
6946 * redisplay.c (redisplay_frame): call
6947 update_frame_toolbars_geometry and re-order update_frame_toolbars.
6949 * toolbar.h: declare update_frame_toolbars_geometry.
6951 * toolbar.c (update_frame_toolbars_geometry): new function. Split
6952 out from update_frame_toolbars. Call clear_frame_toolbars.
6953 (update_frame_toolbars): only output, do not change geometry.
6955 * redisplay.c: add frame_layout_changed.
6957 * redisplay.h: add frame_layout_changed.
6958 (CLASS_RESET_CHANGED_FLAGS): set it.
6959 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
6960 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
6961 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
6963 * device.h (struct device): add frame_layout_changed.
6964 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
6966 * frame.h (struct frame): add frame_layout_changed.
6967 (MARK_FRAME_LAYOUT_CHANGED): new.
6969 2002-06-30 Mike Alexander <mta@arbortext.com>
6971 * event-msw.c (mswindows_need_event): Don't wait for a new message
6972 if the queue is not empty. Suggested by Paul Moore.
6974 2002-06-12 Andy Piper <andy@xemacs.org>
6976 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
6977 for printing on accurately.
6979 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
6981 * event-msw.c (mswindows_wnd_proc): Add a handler for the
6982 WM_ACTIVATE message. Make sure that the frame is visible if the
6983 window is visible. This seemss to fix the problem where XEmacs
6984 appears to freeze after switching desktops with certain virtual
6986 (debug_output_mswin_message): Added code to output message
6987 parameters for WM_WINDOWPOSCHANGED,
6988 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
6990 2002-05-25 Andy Piper <andy@xemacs.org>
6992 * select-x.c (vars_of_select_x): Fix docstring of
6993 x-selection-strict-motif-ownership
6995 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6997 * keymap.c (get_keymap):
6998 Add comment about do_autoload GCPROs own args.
7000 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7002 * bytecode.c (execute_optimized_program): check_opcode ifdef
7003 ERROR_CHECK_BYTE_CODE.
7005 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7007 Thanks to Ben Wing and Michael Sperber.
7009 * eval.c (Fcommand_execute):
7012 (Fmacroexpand_internal):
7013 (function_argcount):
7014 callint.c (Fcall_interactively):
7015 Add comment about do_autoload GCPROs own args.
7017 * (do_autoload): GCPRO both args as well as local Lisp_Object.
7019 * eval.c (Ffuncall): Extra braces to placate GCC.
7021 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
7023 * backtrace.h (grow_specpdl):
7025 * EmacsFrame.c (EmacsFrameSetValues):
7026 * eval.c (grow_specpdl):
7027 * ExternalShell.c (hack_event_masks_1):
7028 * glyphs-x.c (convert_EImage_to_XImage):
7029 (x_finalize_image_instance):
7030 * ralloc.c (page_size):
7032 * xgccache.c (gc_cache_hash):
7033 Fix unsigned comparison warnings.
7035 2002-07-29 Jerry James <james@xemacs.org>
7037 * lread.c (locate_file): Any nonnegative return value indicates
7038 success if MODE is nonnegative.
7040 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
7042 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
7045 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
7047 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
7049 * dumper.c (pdump_get_indirect_count):
7050 (pdump_scan_by_alignment):
7051 (pdump_dump_root_struct_ptrs):
7052 (pdump_dump_rtables):
7053 (pdump_dump_root_objects):
7055 * nas.c (WaveOpenDataForReading):
7056 * fns.c (print_bit_vector):
7057 * font-lock.c (SINGLE_SYNTAX_STYLE):
7058 * glyphs.c (check_for_ignored_expose):
7059 (find_matching_subwindow):
7061 * imgproc.c (get_histogram):
7062 * redisplay.c (point_in_line_start_cache):
7063 * redisplay-output.c (redisplay_unmap_subwindows):
7064 * symbols.c (defsymbol_massage_name_1):
7065 (defkeyword_massage_name):
7066 (deferror_massage_name_and_message):
7067 * redisplay-x.c (x_output_string):
7068 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
7069 * frame.h (struct frame):
7070 * filelock.c (current_lock_owner):
7071 * doprnt.c (emacs_doprnt_1):
7072 * lisp.h (struct Lisp_Bit_Vector):
7076 2002-02-13 Ben Wing <ben@xemacs.org>
7078 * event-stream.c (reset_key_echo):
7079 * event-stream.c (reset_this_command_keys):
7080 * event-stream.c (execute_command_event):
7081 If console is dead as a result of C-x 5 0, then post-command stuff
7082 needs to be careful and do only non-console-specific stuff.
7084 2002-07-01 Mike Sperber <mike@xemacs.org>
7086 * process-unix.c (unix_send_process): Mark coding_outstream as
7087 non-open upon SIGPIPE.
7089 * event-stream.c (Fnext_event): Reorder switch cases to something
7092 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
7094 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
7095 Don't bogusly reinitialize ascii_character property.
7097 2002-07-08 Mike Sperber <mike@xemacs.org>
7099 * process.c (Fstart_process_internal): Do error checking before we
7100 fork off the child, so the child can't muck with the state of the
7103 2002-07-08 Mike Sperber <mike@xemacs.org>
7105 * ralloc.c (init_ralloc): Allocate properly for pdump.
7107 2002-06-12 Andy Piper <andy@xemacs.org>
7109 * glyphs.c (query_string_geometry): check the string.
7111 * glyphs-widget.c (widget_logical_unit_height): cope with nil
7114 2002-06-17 Jerry James <james@xemacs.org>
7116 * sysdll.c: Remove RTLD_GLOBAL initialization.
7117 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
7119 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
7121 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
7123 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
7125 * sysdep.c (sys_rename): Make sys_rename work for the case where
7126 Windows rename sets errno to EACCES if target file exists.
7128 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
7130 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7131 Fix detection of metric units to work on Win95
7133 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
7135 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
7137 2002-04-25 Andy Piper <andy@xemacs.org>
7139 * redisplay.c (create_text_block): Remove extra comment trailer.
7141 2002-04-24 Andy Piper <andy@xemacs.org>
7143 * redisplay.c (create_text_block): Don't actually add propagation
7144 data if the line ends after we have added a glyph.
7146 2002-04-22 Andy Piper <andy@xemacs.org>
7148 * extents.c (extent_fragment_update): check for glyphs we have
7149 previously displayed.
7150 * extents.c (print_extent_1): warning removal.
7151 * extents.h: change prototype.
7152 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
7153 widths correctly for wide glyphs.
7154 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
7155 * redisplay.c (prop_type): add PROP_GLYPH.
7156 * redisplay.c (struct prop_block): add glyph type
7157 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
7158 to the propagation data.
7159 * redisplay.c (create_text_block): if there is a glyph in the
7160 propagation data use it to salt extent_fragment_update.
7161 * redisplay.c (create_string_text_block): ditto.
7163 2002-04-13 Nix <nix@esperi.demon.co.uk>
7165 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
7166 * redisplay-output.c (compare_runes): Compare them.
7167 * redisplay.c: Update copyright date.
7168 * redisplay.c (pos_data): Add need_baseline_computation field.
7169 * redisplay.c (add_glyph_rune): Update ascent, descent, and
7170 need_baseline_computation; zero yoffset. Set max_pixmap_height
7171 for all pixmaps, not just automatically positioned ones.
7172 * redisplay.c (calculate_yoffset): New, compute yoffset values.
7173 * redisplay.c (calculate_baseline): New, compute textual baseline.
7174 * redisplay.c (add_glyph_rune): Call them.
7175 * redisplay.c (create_text_block): Likewise.
7176 * redisplay.c (create_overlay_glyph_block): Likewise.
7177 * redisplay.c (add_margin_runes): Likewise.
7178 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
7180 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
7181 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
7182 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
7183 * redisplay-msw.c (mswindows_output_string): Likewise.
7184 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
7185 * redisplay-gtk.c (gtk_output_display_block): Likewise.
7186 * redisplay-x.c (x_output_display_block): Likewise.
7188 2002-03-28 Ben Wing <ben@xemacs.org>
7190 * redisplay.c: Fixed bug in redisplay
7191 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
7192 and down of the lines, since they're bigger than the line
7193 size. (It was seen most obviously when there's a horizontal scroll
7194 bar, e.g. do C-h a glyph or something like that.) The problem was
7195 that the glyph-contrib-p setting on glyphs was ignored even if it
7196 was set properly, which it wasn't until now.
7198 2002-04-24 Andy Piper <andy@xemacs.org>
7200 * lisp.h (Dynarr_end): Fix definition.
7202 2002-02-06 Adrian Aichner <adrian@xemacs.org>
7204 * redisplay.c (mark_redisplay): Remove call to
7205 update_frame_window_mirror.
7207 2001-11-15 Andy Piper <andy@xemacs.org>
7209 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
7212 2002-02-13 Andy Piper <andy@xemacs.org>
7214 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
7215 we did in fact enqueue the XM_MAPFRAME event.
7217 2002-01-15 Adrian Aichner <adrian@xemacs.org>
7219 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
7220 to fix problem switching between virtual desktops under virtuawin
7221 virtual window manager.
7223 2001-07-30 Adrian Aichner <adrian@xemacs.org>
7225 * event-msw.c: Typo fix.
7226 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
7227 magic XM_MAPFRAME event has been sent.
7229 2001-11-23 Andy Piper <andy@xemacs.org>
7231 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
7233 2001-11-21 Andy Piper <andy@xemacs.org>
7235 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
7236 mouse events outside the frame.
7238 2002-03-20 Andy Piper <andy@xemacs.org>
7240 * menubar-msw.c (mswindows_popup_menu): warning removal.
7241 * dialog-msw.c (dialog_popped_down): ditto.
7243 2001-12-11 Andy Piper <andy@xemacs.org>
7245 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
7246 * dialog-msw.c (mswindows_make_dialog_box_internal): set
7248 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
7249 * menubar-msw.c (mswindows_handle_wm_command): ditto.
7250 * menubar-msw.c (mswindows_popup_menu): ditto.
7252 2001-10-29 Andy Piper <andy@xemacs.org>
7254 * dialog-msw.c (handle_directory_dialog_box): quit if the user
7257 2002-01-03 Andy Piper <andy@xemacs.org>
7259 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
7263 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
7265 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
7266 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
7267 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7268 Detect and handle case where machine is set up for metric units
7270 2002-04-02 Andy Piper <andy@xemacs.org>
7272 * dired-msw.c (mswindows_get_files):
7273 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
7274 completely handled by XEmacs. Suggested by Thomas Vogler
7275 <mail@thomas-vogler.de>.
7277 2001-11-14 Andy Piper <andy@xemacs.org>
7279 * nt.c (REG_ROOT): change registry key to XEmacs.
7281 2002-04-27 Andy Piper <andy@xemacs.org>
7283 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
7285 2002-04-26 Andy Piper <andy@xemacs.org>
7287 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
7290 2002-03-14 Mike Alexander <mta@arbortext.com>
7292 * event-msw.c (mswindows_unwait_process): New, remove process from
7294 * process-nt.c (nt_finalize_process_data): Call
7295 mswindows_unwait_process
7296 * console-msw.h: Declare mswindows_unwait_process
7298 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
7300 * editfns.c (Fdecode_time):
7301 (Fformat_time_string):
7302 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
7303 (make_time): Warning elimination (change arg name).
7305 2001-11-24 Andy Piper <andy@xemacs.org>
7307 * window.c (Fsplit_window): Doc return type.
7309 2002-04-01 Andy Piper <andy@xemacs.org>
7311 * emacs.c (Fkill_emacs): Only output message box in interactive
7314 2002-04-26 Andy Piper <andy@xemacs.org>
7316 * config.h.in: pull in 21.5.x change to stop alloca warnings under
7319 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
7321 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
7324 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
7326 * XEmacs 21.4.8 "Honest Recruiter" is released.
7328 2002-05-07 Nix <nix@esperi.demon.co.uk>
7330 Supersedes 2002-04-17 patch.
7332 * process.h (PROCESS_LIVE_P): Use the process status as
7333 evidence of health, not the state of the input stream.
7334 (PROCESS_READABLE_P): Say if the process is readable
7335 from. (It may be dead nonetheless.)
7336 (CHECK_READABLE_PROCESS): Test for that condition.
7338 * process.c (create_process): Use PROCESS_READABLE_P.
7339 (read_process_output, set_process_filter): Likewise.
7341 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
7342 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
7344 This code is #if 0'd, this is not the time to add new functions:
7346 * process.c (Fprocess_readable_p): Report readability status.
7347 * process.c (Qprocess_readable_p): New, associated symbol...
7348 * process.c (syms_of_process): ... initialize it.
7350 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
7352 * XEmacs 21.4.7 "Economic Science" is released.
7354 2002-04-17 Nix <nix@esperi.demon.co.uk>
7356 * process.h (PROCESS_LIVE_P): Use the process status as
7357 evidence of health, not the state of the input stream.
7359 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
7361 * sysdep.c (sys_siglist): change "signum" to "signal"
7363 2001-04-21 Martin Buchholz <martin@xemacs.org>
7365 * s/darwin.h: New file.
7366 Thanks to Greg Parker <gparker@cs.stanford.edu>.
7368 2002-04-23 Andreas Jaeger <aj@suse.de>
7370 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
7371 which use lib64 for 64-bit libs.
7372 (START_FILES): Likewise.
7374 2002-02-11 Mike Sperber <mike@xemacs.org>
7377 (x_IO_error_handler):
7378 (x_init_device): Temporarily keep device in static variable
7379 `device_being_initialized' so we can recover gracefully from
7380 internal XOpenDevice failure. (XOpenDevice is documented to
7381 return NULL on failure, but sometimes calls the IO error handler
7384 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
7386 * dired.c (Ffile_name_all_completions): Change documentation --
7387 remove reference to completion-ignored-extensions.
7388 * dired.c (vars_of_dired): Change documentation for
7389 completion-ignored-extensions -- remove reference to
7390 file-name-all-completions.
7392 2002-03-06 Jerry James <james@xemacs.org>
7394 * emodules.c (emodules_load): Fix multiple loading of same module.
7396 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
7397 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
7398 RTLD_LAZY to avoid incorrect symbol binding when using nested
7399 shared libraries on Solaris.
7401 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
7403 * fileio.c (Ffind_file_name_handler): Improve docstring.
7405 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
7407 * fns.c (Fmapconcat): Improve docstring.
7409 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
7411 * device-gtk.c: Add prototype for
7412 emacs_gtk_selection_clear_event_handle.
7413 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
7414 selection. Setup signal handler for "selection_clear_event"
7415 (emacs_gtk_selection_clear_event_handle).
7417 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
7418 other applications owning the clipboard (based on
7419 x_handle_selection_clear).
7421 2001-12-23 William M. Perry <wmperry@gnu.org>
7423 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
7425 2002-01-04 Martin Buchholz <martin@xemacs.org>
7427 * keymap.c (define_key_alternate_name): Parenthesize EQ.
7429 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
7431 * XEmacs 21.4.6 "Common Lisp" is released.
7433 2001-12-16 Torsten Duwe <duwe@caldera.de>
7435 * search.c (Freplace_match): Add missing sub-expression functionality.
7437 * buffer.c (decode_buffer): Add a check for pointer type to
7438 decode_buffer, before gcc's CSE optimization reorders a
7439 dereference in front of the allow_string test.
7441 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
7443 * window.c (window_loop): Fix bug that sometimes prevented
7444 window_loop() from iterating across multiple devices. Also, at
7445 Ben's request, changed infloop-detecting code to abort() instead
7446 of silently terminating window_loop().
7448 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
7450 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
7451 * editfns.c (make_time): New function.
7452 (Fencode_time): Use it instead of wasteful_word_to_lisp.
7453 * lisp.h (make_time): Prototype and comment it.
7454 * dired.c (wasteful_word_to_lisp): Deprecate.
7455 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
7457 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
7459 * fileio.c (auto_save_1): Use current coding system, not
7462 2001-11-13 Ben Wing <ben@xemacs.org>
7465 * window.c (window_truncation_on):
7466 * window.c (syms_of_window):
7467 truncate-partial-width-windows should respect the buffer being
7468 displayed, like other redisplay vars.
7470 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
7472 * event-stream.c (Fread_key_sequence): save current buffer.
7474 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
7476 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
7478 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
7480 * alloc.c (lcrecord_stats): Add space for types defined in modules.
7482 2001-10-26 Mike Alexander <mta@arbortext.com>
7484 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
7486 2001-10-25 Andy Piper <andy@xemacs.org>
7489 * dialog-msw.c (handle_directory_proc): new function.
7490 (handle_directory_dialog_box): new fucntion.
7491 (handle_file_dialog_box): use new directory dialog support.
7492 (mswindows_make_dialog_box_internal): ditto.
7493 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
7495 (mswindows_find_frame): make global.
7496 * fileio.c (Fexpand_file_name): build fix.
7497 * general-slots.h: add Qdirectory.
7498 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
7500 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
7501 cygwin not leaving win32 paths unchanged.
7502 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
7503 cygwin runtime to do path conversion.
7504 (Fmswindows_shell_execute): fix cygwin handling of URLs.
7505 (syms_of_win32): add new function.
7506 * window.c (window_loop): build fix.
7508 2001-10-15 Andy Piper <andy@xemacs.org>
7510 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
7512 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
7514 * XEmacs 21.4.5 "Civil Service" is released.
7516 2001-04-08 Danny Colascione <qtmstr@optonline.net>
7518 * glyphs-x.c: Force buffer-tab highlight update when moving the
7519 buffer, avoiding an ugly black border, used for keyboard focus
7520 indication, on a widget that can never have keyboard focus, the
7523 2001-08-30 Daiki Ueno <ueno@unixuser.org>
7525 * process-unix.c (unix_open_multicast_group): Remove too much
7526 conversion between host and network byte order.
7528 2001-09-10 Nix <nix@esperi.demon.co.uk>
7530 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
7531 before replacing them.
7533 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
7536 * src/window.c (undedicate_windows): Use it.
7537 * src/window.h: Add prototype.
7539 2001-09-17 Ben Wing <ben@xemacs.org>
7541 * fileio.c (normalize_filename):
7542 * fileio.c (Fexpand_file_name):
7543 Fix various C++ compile errors in Andy's recent code.
7545 * callint.c (Fcall_interactively):
7546 * editfns.c (Ftemp_directory):
7547 * editfns.c (Fuser_full_name):
7548 * emacs.c (argmatch):
7549 * lread.c (locate_file_map_suffixes):
7550 * redisplay-x.c (x_ring_bell):
7551 Fix sign-compare warnings.
7553 2001-09-08 Andy Piper <andy@xemacs.org>
7555 * fileio.c (normalize_filename): copied from nt.c
7556 * (Ffile_name_directory): enable win32 paths under cygwin.
7557 * (Ffile_name_nondirectory): ditto.
7558 * (directory_file_name): ditto.
7559 * (Fexpand_file_name): ditto.
7560 * (Ffile_truename): ditto.
7561 * (Fsubstitute_in_file_name): ditto.
7562 * (Ffile_name_absolute_p): ditto.
7563 * (Ffile_readable_p): ditto.
7565 2001-09-08 Andy Piper <andy@xemacs.org>
7567 * device-msw.c (mswindows_finish_init_device): remove dde
7569 * device-msw.c (mswindows_init_dde): factor out from
7570 mswindows_finish_init_device()
7571 * device-msw.c (init_mswindows_very_early): new function
7572 initialize but don't enable dde.
7573 * emacs.c (main_1): call init_mswindows_very_early.
7575 * event-msw.c (mswindows_dde_callback): only execute when we are
7577 * symsinit.h: declare init_mswindows_very_early.
7579 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7581 [sjt: This has been in 21.5 for months with no complaints.]
7583 * console.h (struct console_methods): Added flags member.
7584 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
7585 (CONMETH_IMPL_FLAG):
7586 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
7587 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
7589 * device.c (window_system_pixelated_geometry): Use the above macros.
7591 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
7592 implememntation flag.
7593 * device.h (DEVICE_DISPLAY_P): Use it.
7595 * frame.c (delete_frame_internal): Use the above macro.
7597 * redisplay.c (redisplay_device): Use it.
7598 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
7599 (redisplay_frame): Ditto.
7601 * device-msw.c (mswindows_device_implementation_flags): Removed.
7602 (msprinter_device_implementation_flags): Removed.
7603 (console_type_create_device_mswindows): Removed references to
7604 implementation_flags methods, set implementation flags here.
7605 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
7607 * device-gtk.c (gtk_device_implementation_flags): Removed method.
7608 (console_type_create_device_gtk): Removed method declaration.
7609 Added commented out statement which semantically matches the
7610 commented out statement in the above removed method.
7612 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
7614 The attached patch fixes a few warnings.
7616 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
7617 * src/frame-gtk.c: guard against GNOME calls in GTK only
7618 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
7619 * src/select-gtk.c: prototype lisp_to_time
7621 2001-06-08 Ben Wing <ben@xemacs.org>
7623 ------ gc-in-window-procedure fixes ------
7626 * alloc.c (struct post_gc_action):
7627 * alloc.c (register_post_gc_action):
7628 * alloc.c (run_post_gc_actions):
7629 * alloc.c (garbage_collect_1):
7630 Create "post-gc actions", to avoid those dreaded "GC during window
7631 procedure" problems.
7634 Abort, clean and simple, when GC in window procedure. We want
7635 to flush these puppies out.
7638 * glyphs-msw.c (finalize_destroy_window):
7639 * glyphs-msw.c (mswindows_finalize_image_instance):
7640 Use a post-gc action when destroying subwindows.
7643 Declare register_post_gc_action().
7646 * scrollbar-msw.c (unshow_that_mofo):
7647 Use a post-gc action when unshowing scrollbar windows, if in gc.
7649 * redisplay.c (mark_redisplay):
7650 Add comment about the utter evilness of what's going down here.
7652 ------ cygwin setitimer fixes ------
7654 * Makefile.in.in (sheap_objs):
7655 * Makefile.in.in (profile_objs):
7656 * Makefile.in.in (objs):
7657 Compile profile.c only when HAVE_SETITIMER.
7659 * nt.c (mswindows_sigset):
7660 * nt.c (mswindows_sighold):
7661 * nt.c (mswindows_sigrelse):
7662 * nt.c (mswindows_sigpause):
7663 * nt.c (mswindows_raise):
7664 * nt.c (close_file_data):
7668 Move setitimer() emulation to win32.c, because Cygwin needs it too.
7671 * profile.c (Fstart_profiling):
7672 * profile.c (Fstop_profiling):
7673 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
7674 instead of just plain setitimer().
7677 * signal.c (set_one_shot_timer):
7679 Define qxe_setitimer() as an encapsulation around setitimer() --
7680 call setitimer() directly unless Cygwin or MS Win, in which case
7681 we use our simulated version in win32.c.
7684 * systime.h (struct itimerval):
7685 * systime.h (ITIMER_REAL):
7686 Prototype mswindows_setitimer() and qxe_setitimer(). Long
7687 comment about "qxe" and the policy regarding encapsulation.
7690 * win32.c (setitimer_helper_proc):
7691 * win32.c (setitimer_helper_period):
7692 * win32.c (setitimer_helper):
7693 * win32.c (mswindows_setitimer):
7694 Move setitimer() emulation here, so Cygwin can use it.
7695 Rename a couple of functions and variables to be longer and more
7696 descriptive. In setitimer_helper_proc(), send the signal
7697 using either mswindows_raise() or (on Cygwin) kill(). If for
7698 some reason we are still getting lockups, we'll change the kill()
7699 to directly invoke the signal handlers.
7701 ------ windows shell fixes ------
7705 Comments about how these two files must die.
7707 * callproc.c (init_callproc):
7708 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
7709 not just COMSPEC. (more correct and closer to FSF.) Don't
7710 force a value for SHELL into the environment. (Comments added
7711 to explain why not.)
7713 * nt.c (init_user_info):
7714 Don't shove a fabricated SHELL into the environment. See above.
7716 2001-06-01 Ben Wing <ben@xemacs.org>
7718 * Makefile.in.in (ldflags):
7719 eliminate that pesky "defaulting to 00401000" warning.
7723 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
7725 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
7726 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
7728 2001-04-24 Jerry James <james@xemacs.org>
7730 * faces.h: pass parameters to Fadd_spec_to_specifier in the
7733 2001-06-01 Ben Wing <ben@xemacs.org>
7735 * event-msw.c (debug_mswin_messages):
7736 conditionalize the messages that were causing compile errors.
7737 (if only macros could generate #ifdef statements ...)
7739 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
7741 * XEmacs 21.4.4 "Artificial Intelligence" is released.
7743 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
7745 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
7747 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
7749 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
7750 * process-unix.c (unix_canonicalize_host_name):
7751 sysdep.c (init_system_name):
7752 Use it to conditionally support IPv6 canonicalization.
7754 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
7757 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
7759 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
7761 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
7762 attempt is made to scroll when no scroll bar is available.
7764 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
7766 * input-method-motif.c (XIM_delete_frame): New callback.
7767 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
7768 got deleted from 21.4.3.)
7770 2001-06-01 Ben Wing <ben@xemacs.org>
7772 * nt.c (mswindows_utime):
7773 * nt.c (close_file_data):
7774 fix off-by-one-indirection error.
7776 2001-05-29 Adrian Aichner <adrian@xemacs.org>
7778 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
7779 because set_file_times() now takes Lisp_Object path, instead of
7781 * nt.c: Include buffer.h.
7782 * nt.c (convert_from_time_t): New.
7783 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
7784 not set mtime correctly.
7785 * nt.h: Declare mswindows_utime().
7786 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
7787 path, instead of char*.
7788 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
7790 2001-05-30 Ben Wing <ben@xemacs.org>
7794 (Stephen, just take all event-msw.c patches. This includes
7795 the "iconify" fix below.)
7798 * event-msw.c (mswindows_dequeue_dispatch_event):
7799 * event-msw.c (assert):
7800 * event-msw.c (emacs_mswindows_quit_p):
7801 * event-msw.c (debug_mswin_messages):
7802 * event-msw.c (debug_output_mswin_message):
7803 * event-msw.c (vars_of_event_mswindows):
7804 Fix yet more problems with C-g handling.
7805 Implement debug-mswindows-events.
7807 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7809 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
7811 2001-05-23 Ben Wing <ben@xemacs.org>
7813 * event-msw.c (winsock_writer):
7814 * event-msw.c (winsock_closer):
7815 prior kludgy code was clobbering the buffer, thinking it was
7816 "unused" space to store an unneeded return value; instead, use
7817 the variable we've already got staring us in the face.
7819 2001-05-17 Andy Piper <andy@xemacs.org>
7821 * sysfile.h: don't assume that file attributes are boolean
7823 2001-05-23 Ben Wing <ben@xemacs.org>
7825 * device-msw.c (msprinter_init_device):
7826 signal an error rather than crash with an unavailable network
7827 printer (from Mike Alexander).
7830 * event-msw.c (struct winsock_stream):
7831 * event-msw.c (winsock_writer):
7832 * event-msw.c (winsock_closer):
7833 * event-msw.c (make_winsock_stream_1):
7834 cleanup headers. fix (hopefully) an error with data corruption
7835 when sending to a network connection.
7837 * fileio.c (Fexpand_file_name): Fix evil code that attempts
7838 to handle the ~user prefix by (a) always assuming we're referencing
7839 ourselves and not even verifying the user -- hence any file with
7840 a tilde as its first char is invalid! (b) if there wasn't a slash
7841 following the filename, the pointer was set *past* the end of
7842 file and we started reading from uninitialized memory. Now we
7843 simply treat these as files, always.
7845 * buffer.c (common_init_complex_vars_of_buffer): comment change.
7847 2001-05-19 Ben Wing <ben@xemacs.org>
7849 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
7852 * process-nt.c (vars_of_process_nt):
7853 remove unused mswindows-quote-process-args. rec for 21.4.
7855 2001-05-12 Ben Wing <ben@xemacs.org>
7857 * event-msw.c (mswindows_dde_callback):
7858 * event-msw.c (mswindows_wnd_proc):
7859 eliminate cygwin warnings.
7861 2001-05-06 Ben Wing <ben@xemacs.org>
7865 * device-msw.c (print_dialog_worker):
7866 * device-msw.c (mswindows_handle_print_dialog_box):
7867 * device-msw.c (syms_of_device_mswindows):
7868 * dialog-msw.c (mswindows_make_dialog_box_internal):
7870 implement printing the selection when it's selected.
7872 2001-05-20 Drazen Kacar <dave@arsdigita.com>
7874 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
7876 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
7878 * lisp.h (EMACS_INT_MAX): This should be one bit less since
7879 EMACS_INT is signed.
7881 2001-04-15 Michael Lausch <mla@1012surf.net>
7883 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
7884 gtk_widget_request_size() to give scrollbar >0 width for
7887 2001-05-30 William M. Perry <wmperry@gnu.org>
7889 * event-gtk.c: Check for buttons as modifier keys.
7891 2001-05-25 Craig Lanning <CraigL@Knology.net>
7894 Properly find MinGW's <process.h> inside Cygwin's restructured
7895 include directories. Don't try to include <cygwin/version.h>
7896 since we are dropping support for MinGW in versions of Cygwin
7899 Drop support for MinGW in versions of Cygwin before b21.
7901 Properly find MinGW's <process.h> inside Cygwin's restructured
7902 include directories.
7904 Drop support for MinGW in versions of Cygwin before b21.
7906 Even though a.out.h is no longer detected by configure, allow
7907 MinGW to use it until we figure out how to do the job with Win32.
7909 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
7911 * syntax.c (find_start_of_comment):
7912 Fix `unbalanced parentheses' bug when dealing with mixed comment
7913 styles in c++/java/etc. mode
7915 2001-05-29 Mike Alexander <mta@arbortext.com>
7917 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
7918 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
7920 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
7922 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
7924 2001-03-31 Mike Sperber <mike@xemacs.org>
7926 * search.c (Freplace_match): Support FSF-style specification of
7927 match subexpression when applied to a buffer.
7929 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
7931 * event-stream.c (is_scrollbar_event): add missing semicolon
7933 2001-05-22 Isaac Hollander <ysh@mindspring.com>
7935 * Makefile.in.in: Use TAR macro instead of hardcoding
7936 tar. Allows use of GNU tar instead of system tar
7938 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
7940 * event-stream.c (is_scrollbar_event): add missing semicolon
7942 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
7944 * XEmacs 21.4.3 "Academic Rigor" is released.
7946 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
7948 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
7950 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
7952 * buffer.c (Vcase_fold_search): Remove obsolete
7953 comment about non ASCII case-fold-search. This
7954 bug has been fixed by case-table changes.
7956 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
7958 * event-msw.c: Restore include of events-mod.h.
7960 2001-04-22 zhaoway <zw@debian.org>
7962 * event-stream.c (is_scrollbar_event): Noop returning 0 if
7965 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
7967 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
7969 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
7971 * mule-charset.c (Fmake_charset): Add missing else.
7973 2001-04-23 Ben Wing <ben@xemacs.org>
7975 * event-msw.c (FAKE_MOD_QUIT):
7976 * event-msw.c (mswindows_dequeue_dispatch_event):
7977 * event-msw.c (mswindows_wnd_proc):
7978 * event-msw.c (emacs_mswindows_quit_p):
7979 Get critical quit working.
7981 2001-05-05 Ben Wing <ben@xemacs.org>
7985 * device-msw.c (mswindows_get_default_margin):
7986 * frame-msw.c (mswindows_size_frame_internal):
7987 * frame-msw.c (msprinter_init_frame_1):
7988 * frame-msw.c (vars_of_frame_mswindows):
7989 Change top/bottom margin defaults to 0.5 inches.
7991 2001-05-01 Martin Buchholz <martin@xemacs.org>
7993 Fix link error with gcc 3.0 on Linux.
7994 * terminfo.c (UP): Remove.
7995 * terminfo.c (BC): Remove.
7996 * terminfo.c (PC): Remove.
7997 They weren't used, and in any case, these symbols should be
7998 defined in the *library*.
8000 2001-05-03 Martin Buchholz <martin@xemacs.org>
8002 * s/aix4.h: Fix crash with xlc -O3.
8003 Improve comment explaining how -O3 works.
8005 2001-04-15 Ben Wing <ben@xemacs.org>
8008 * event-stream.c (Fnext_event):
8009 * event-stream.c (is_scrollbar_event):
8010 * event-stream.c (execute_command_event):
8011 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
8012 crash' problem. His fix introduces other problems. We filter
8013 out scrollbar events specifically, making them somewhat invisible
8014 to command-building, and not appearing in `this-command-keys'.
8015 More work is still needed (see comments in event-stream.c), but
8016 this fixes all the major problems.
8018 2001-04-20 Ben Wing <ben@xemacs.org>
8020 * .cvsignore: Added stuff for Windows.
8022 2001-04-28 Ben Wing <ben@xemacs.org>
8024 * buffer.c (Ferase_buffer):
8025 * editfns.c (buffer_insert1):
8026 * editfns.c (Finsert_before_markers):
8027 * editfns.c (Finsert_string):
8028 * editfns.c (Finsert_char):
8029 * editfns.c (Fdelete_region):
8030 * editfns.c (Fwiden):
8031 * editfns.c (Fnarrow_to_region):
8032 remove bogus lines setting zmacs_region_stays to 0.
8034 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
8036 * process-unix.c (unix_open_network_stream): If connect() fails
8037 invalidate file descriptor after closing it.
8039 2001-03-08 Mike Alexander <mta@arbortext.com>
8041 * event-msw.c (mswindows_need_event_in_modal_loop):
8042 Don't dispatch a message if we didn't get one.
8043 (mswindows_need_event):
8044 Terminate the correct process when one exits instead of the first
8045 one on Vprocess_list and look for process termination when in
8046 mswindows_protect_modal_loop.
8048 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
8050 * XEmacs 21.4.1 "Copyleft" is released.
8052 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
8054 * input-method-motif.c (XIM_delete_frame): New callback.
8055 (XIM_init_frame): Register it.
8057 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8059 * XEmacs 21.4.0 "Solid Vapor" is released.
8061 2001-04-15 Ben Wing <ben@xemacs.org>
8063 * cmdloop.c (call_command_loop):
8064 Fix braino in bit-rotting code.
8066 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
8068 * extents.c (Fset_extent_endpoints): Force creation of extent info
8069 in buffer_or_string.
8071 * extents.c (process_extents_for_insertion_mapper): Correctly
8072 check for open-open zero-length extents.
8074 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8076 * lisp.h: New typedefs Memory_count, Element_count.
8079 Sign-compare warning elimination: several unsigned -> signed.
8080 Based on work by Ben Wing <ben@xemacs.org>.
8082 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
8084 * XEmacs 21.2.47 "Zephir" is released.
8086 2001-04-02 Jan Vroonhof <jan@xemacs.org>
8088 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
8090 2001-04-03 Mike Sperber <mike@xemacs.org>
8092 * search.c: Revert previous patch due because of release.
8094 2001-03-30 Ben Wing <ben@xemacs.org>
8097 Add missing killpg prototype.
8100 Add a comment about fixing problems when a new entry is added
8103 * frame-msw.c (mswindows_init_frame_1):
8104 Fix compile warnings.
8106 * menubar.c (vars_of_menubar):
8107 Provide `menu-accelerator-support' to indicate that we properly
8108 support %_ in menu specifications, so that package code can
8109 conditionalize on this (and remove %_ from menu specifications
8114 * scrollbar-msw.c (can_scroll):
8116 Fix handling of mouse wheel under Windows to follow standards --
8117 now scrolls window under pointer, not selected window.
8119 2001-03-31 Mike Sperber <mike@xemacs.org>
8121 * search.c (Freplace_match): Support FSF-style specification of
8122 match subexpression when applied to a buffer.
8124 2001-03-15 Martin Buchholz <martin@xemacs.org>
8126 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
8127 function to modify KEYMAP, so map over a copy of the hash table.
8129 2001-03-21 Martin Buchholz <martin@xemacs.org>
8131 * XEmacs 21.2.46 "Urania" is released.
8133 2001-03-20 Dan Holmsand <dan@eyebee.com>
8135 * realpath.c (xrealpath): Make file-truename work with symlinks to
8136 /cygdrive paths on cygwin. Always lowercase drive-letters on
8138 (cygwin_readlink): Don't try to find canonical filename unless
8141 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
8143 * ChangeLog: Log GTK merge.
8149 Revert gratuitous whitespace changes from GTK merge.
8151 * emacs.c: Document end of complex #ifdef @ l. 1495.
8154 2001-03-12 Andy Piper <andy@xemacs.org>
8156 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
8157 have to do likewise.
8159 2001-03-12 Andy Piper <andy@xemacs.org>
8161 * sysdep.c: we only support mingw now.
8163 2001-03-09 Andy Piper <andy@xemacs.org>
8165 * unexcw.c (copy_executable_and_dump_data_section): making approx
8166 overrun a warning only.
8168 2001-03-10 William M. Perry <wmperry@aventail.com>
8170 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
8171 satisfy Stephen's identical-after-cpp plea.
8173 2001-03-02 Ben Wing <ben@xemacs.org>
8176 * cmds.c (Fforward_char):
8180 Augment documentation of the most common motion commands to make
8181 note of the shifted-motion support.
8183 2001-03-02 Ben Wing <ben@xemacs.org>
8185 * nt.c (mswindows_fstat):
8186 * nt.c (mswindows_stat):
8187 * search.c (boyer_moore):
8188 Fix compile warnings under Windows.
8190 * sysdep.c (sys_readdir):
8191 Fix buggy filename-conversion code under Mule.
8193 2001-03-09 William M. Perry <wmperry@aventail.com>
8215 * redisplay-output.c:
8221 The Great GTK Merge.
8228 * emacs-widget-accessors.c:
8242 * native-gtk-toolbar.c:
8253 The Great GTK Merge: new files.
8255 2001-02-26 Ben Wing <ben@xemacs.org>
8257 Reapplied Lstream change.
8259 2001-02-26 Ben Wing <ben@xemacs.org>
8261 Undid the last change, since it is more controversial than I
8262 thought. It should be back in at some point soon.
8264 2001-02-25 Ben Wing <ben@xemacs.org>
8267 * callproc.c (Fold_call_process_internal):
8268 * event-msw.c (ntpipe_slurp_reader):
8269 * event-msw.c (ntpipe_shove_writer):
8270 * event-msw.c (winsock_reader):
8271 * event-msw.c (winsock_writer):
8273 * file-coding.c (detect_eol_type):
8274 * file-coding.c (detect_coding_type):
8275 * file-coding.c (determine_real_coding_system):
8276 * file-coding.c (Fdetect_coding_region):
8277 * file-coding.c (decoding_reader):
8278 * file-coding.c (decoding_writer):
8279 * file-coding.c (mule_decode):
8280 * file-coding.c (Fdecode_coding_region):
8281 * file-coding.c (encoding_reader):
8282 * file-coding.c (encoding_writer):
8283 * file-coding.c (mule_encode):
8284 * file-coding.c (Fencode_coding_region):
8285 * file-coding.c (detect_coding_sjis):
8286 * file-coding.c (decode_coding_sjis):
8287 * file-coding.c (encode_coding_sjis):
8288 * file-coding.c (detect_coding_big5):
8289 * file-coding.c (decode_coding_big5):
8290 * file-coding.c (encode_coding_big5):
8291 * file-coding.c (detect_coding_ucs4):
8292 * file-coding.c (decode_coding_ucs4):
8293 * file-coding.c (encode_coding_ucs4):
8294 * file-coding.c (detect_coding_utf8):
8295 * file-coding.c (decode_coding_utf8):
8296 * file-coding.c (encode_coding_utf8):
8297 * file-coding.c (detect_coding_iso2022):
8298 * file-coding.c (decode_coding_iso2022):
8299 * file-coding.c (encode_coding_iso2022):
8300 * file-coding.c (decode_coding_no_conversion):
8301 * file-coding.c (encode_coding_no_conversion):
8302 * glyphs-x.c (write_lisp_string_to_temp_file):
8303 * gpmevent.c (tty_get_foreign_selection):
8306 * lstream.c (Lstream_flush_out):
8307 * lstream.c (Lstream_adding):
8308 * lstream.c (Lstream_write_1):
8309 * lstream.c (Lstream_write):
8310 * lstream.c (Lstream_raw_read):
8311 * lstream.c (Lstream_read_more):
8312 * lstream.c (Lstream_read):
8313 * lstream.c (Lstream_unread):
8314 * lstream.c (Lstream_fputc):
8315 * lstream.c (stdio_reader):
8316 * lstream.c (stdio_writer):
8317 * lstream.c (filedesc_reader):
8318 * lstream.c (filedesc_writer):
8319 * lstream.c (lisp_string_reader):
8320 * lstream.c (struct fixed_buffer_stream):
8321 * lstream.c (make_fixed_buffer_input_stream):
8322 * lstream.c (make_fixed_buffer_output_stream):
8323 * lstream.c (fixed_buffer_reader):
8324 * lstream.c (fixed_buffer_writer):
8325 * lstream.c (struct resizing_buffer_stream):
8326 * lstream.c (resizing_buffer_writer):
8327 * lstream.c (dynarr_writer):
8328 * lstream.c (lisp_buffer_reader):
8329 * lstream.c (lisp_buffer_writer):
8331 * lstream.h (lstream_implementation):
8332 * lstream.h (struct lstream):
8334 * process-nt.c (nt_send_process):
8335 * process-unix.c (unix_send_process):
8337 Correct Lstream lossage due to mixing of signed and unsigned
8338 quantities. All Lstream uses of size_t and ssize_t are now a
8339 single signed data type Lstream_data_count. This fixes problems
8340 under Windows with sending large quantities of data to a process,
8341 and may well fix other subtle bugs.
8343 2001-02-23 Martin Buchholz <martin@xemacs.org>
8345 * XEmacs 21.2.45 "Thelxepeia" is released.
8347 2001-02-21 Martin Buchholz <martin@xemacs.org>
8349 * lisp-union.h (XSETINT):
8352 Reverse previous change of 2001-02-06.
8354 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
8356 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
8358 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
8359 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
8360 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
8361 * regex.c (POS_AS_IN_BUFFER): removed
8362 * regex.c (re_search_2):
8363 * regex.c (re_match_2):
8364 Don't use an offset of 1 when calculating buffer positions, since
8365 `BI_BUF_BEGV' does it already.
8367 2001-02-18 Wim Dumon <wim@easics.be>
8369 * insdel.c (prepare_to_modify_buffer): Also check for
8370 supersession when clash-detection is enabled.
8372 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
8374 * regex.c (re_match_2_internal):
8375 Convert temp characters from 'const unsigned char' to 're_char'.
8376 Fix crashing bug with extended characters under mule.
8377 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
8378 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
8379 font-lock, pdump, and new syntax-table code.
8380 * syntax.c (find_start_of_comment):
8381 (find_end_of_comment):
8383 Fix crashing bugs involving moving beyond end of buffer.
8384 * syntax.c (find_start_of_comment):
8385 Fixed logic to allow proper detection of cases where the same
8386 character is used to end both a two-char comment start and a
8387 two-char comment end sequence. Fixes `(forward-comment -1)'.
8388 * syntax.c (find_start_of_comment):
8389 Return position just past last comment-end character for all cases
8390 (previously was only done for two-char comment-end sequences).
8391 * syntax.c (forward-comment):
8392 Take value returned from `find_end_of_comment', rather than
8394 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
8395 Properly deal with BUFFERP (syntax_cache.object)
8397 2001-02-17 Martin Buchholz <martin@xemacs.org>
8399 * alloc.c (Fgarbage_collect):
8400 * alloc.c (make_bit_vector_from_byte_vector):
8401 -Wsign-compare-correctness.
8403 2001-02-16 Martin Buchholz <martin@xemacs.org>
8405 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
8406 (XSETCHAR): Likewise.
8407 (XSETOBJ): Likewise.
8409 2001-02-15 Martin Buchholz <martin@xemacs.org>
8411 * mule-canna.c (canna-func-delete_previous):
8412 Rename to canna-func-delete-previous.
8414 2001-02-14 Martin Buchholz <martin@xemacs.org>
8416 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
8418 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
8420 * font-lock.c (find_context): Fix C++ compile errors introduced by
8423 2001-02-13 Martin Buchholz <martin@xemacs.org>
8425 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
8426 pragma, but earlier ones barf on the same pragma.
8428 2001-02-06 Mike Sperber <mike@xemacs.org>
8430 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
8431 `configure-mule-lisp-directory'.
8433 2001-02-12 Martin Buchholz <martin@xemacs.org>
8435 Make sure dump-id.c is compiled in the same way as other .c's.
8436 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
8437 * dump-id.h: Remove.
8438 * emacs.c: Move dump-id.h into dumper.h.
8439 * dumper.h: Move dump-id.h into dumper.h.
8441 Use standard .c.o rule for building dump-id.o.
8442 Remove preprocessor flags from link command.
8443 Add dump-id.o to ${otherobjs} if PDUMP.
8445 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
8447 Port FSF 20.7 syntax table improvements.
8451 Fixups for new syntax table stuff.
8452 * dired.c: Include syntax.c.
8453 (Fdirectory_files): Initialize regex_match_object and
8455 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
8456 and Fget_char_property.
8458 Use ported FSF 20.7 syntax table improvements.
8463 2001-02-09 Martin Buchholz <martin@xemacs.org>
8465 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
8466 Unixware's enum boolean from sys/types.h.
8468 2001-02-10 Martin Buchholz <martin@xemacs.org>
8470 Fix support for building with latest Purify.
8471 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
8472 (PURIFY_FLAGS): Likewise.
8474 2001-02-09 Martin Buchholz <martin@xemacs.org>
8476 * fileio.c (lisp_string_set_file_times): New.
8477 * fileio.c (Fcopy_file): Use it.
8479 (copy-file filename non-ascii-filename t t)
8480 ==> No such file or directory, non-ascii-filename
8482 2001-02-10 Martin Buchholz <martin@xemacs.org>
8484 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
8485 USHRT_MAX seems clearer than ~0 anyways.
8487 2001-02-09 Martin Buchholz <martin@xemacs.org>
8489 dumper improvements. Inspired by Olivier.
8490 * dumper.c (pdump_max_align): New.
8491 * dumper.c (pdump_add_entry): Use pdump_max_align.
8492 * dumper.c (pdump_get_entry_list): Likewise.
8493 * dumper.c (pdump_scan_by_alignment): Likewise.
8494 Don't iterate through unnecessary alignments.
8495 * dumper.c (pdump_file_get): No need to align result of malloc().
8496 * dumper.c (pdump_mallocadr): Remove.
8497 The result of malloc() is guaranteed to be maximally aligned.
8498 * dumper.c: s/elmt/elt/g;
8499 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
8500 * dumper.c (pdump_alert_undump_object): Likewise.
8501 * dumper.c (pdump_align_table):
8502 Don't support alignments > 64.
8503 Store ALIGNOF's, not shift counts, in table.
8505 2001-02-09 Martin Buchholz <martin@xemacs.org>
8507 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
8508 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
8509 * systime.h: Use HAVE_UTIME.
8510 * sysdep.c (struct utimbuf): Remove.
8511 * sysdep.c (set_file_times): Prefer utime() to utimes().
8512 * config.h.in (HAVE_UTIME): New.
8513 * config.h.in (HAVE_UTIME_H): Remove.
8514 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
8516 2001-02-09 Martin Buchholz <martin@xemacs.org>
8518 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
8520 2001-02-08 Martin Buchholz <martin@xemacs.org>
8522 * s/irix6-0.h: Use the standard system memmove, not bcopy.
8524 2001-02-08 Martin Buchholz <martin@xemacs.org>
8526 * XEmacs 21.2.44 "Thalia" is released.
8528 2001-02-06 Martin Buchholz <martin@xemacs.org>
8530 Fixes crashes in kill-emacs on some systems.
8531 * process-unix.c (unix_kill_child_process):
8532 It's OK for kill() to fail with ESRCH.
8534 2001-02-07 Martin Buchholz <martin@xemacs.org>
8536 Contortions to make .gdbinit tricks work on most systems.
8537 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
8538 * alloc.c (dbg_valmask): Make non-const.
8539 * alloc.c (dbg_typemask): Make non-const.
8540 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
8541 * alloc.c (dbg_valbits): Make non-const.
8542 * alloc.c (dbg_gctypebits): Make non-const.
8543 * .gdbinit (decode_object): Make it work with AIX cc.
8545 2001-02-06 Martin Buchholz <martin@xemacs.org>
8547 * elhash.c (make_general_lisp_hash_table):
8548 Use simpler and more efficient calloc to clear entries.
8550 2001-02-07 Martin Buchholz <martin@xemacs.org>
8552 * window.c (window_scroll): Work around an AIX C compiler bug.
8553 Fixes 'scroll-up' does nothing problem with xlC.
8555 2001-02-05 Martin Buchholz <martin@xemacs.org>
8557 * .gdbinit: Remove obsolete comment.
8559 2001-01-31 Mike Alexander <mta@arbortext.com>
8561 * select.c (Fown_selection_internal): Set owned_p for device
8564 2001-02-01 Martin Buchholz <martin@xemacs.org>
8567 "not" cannot be used as a macro name as it is an operator in C++
8568 * config.h.in: Stop #defining `not'.
8569 * chartab.c (check_category_char): not ==> not_p
8570 * chartab.h: Likewise.
8571 * regex.c (re_match_2_internal): Likewise.
8573 2001-02-02 Martin Buchholz <martin@xemacs.org>
8575 * lisp-disunion.h: Fix up comments.
8577 2001-01-31 Martin Buchholz <martin@xemacs.org>
8579 * keymap.c (define_key_check_and_coerce_keysym):
8581 Support mouse-6 and mouse-7 bindings in the obvious way.
8583 2001-02-01 Martin Buchholz <martin@xemacs.org>
8585 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
8587 2001-01-30 Martin Buchholz <martin@xemacs.org>
8589 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
8590 Previous patch missed DEFVAR_INT_MAGIC.
8591 Make sure future DEFVAR_foo use correct types.
8592 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
8593 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
8594 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
8595 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
8596 * (DEFVAR_INT): Likewise.
8597 * redisplay.c (vertical_clip): Should be of type Fixnum.
8598 * redisplay.c (horizontal_clip): Likewise.
8599 * lisp.h (dump_add_opaque_int): New.
8600 (dump_add_opaque_fixnum): New.
8602 2001-01-29 Andy Piper <andy@xemacs.org>
8604 * glyphs-widget.c (check_valid_int_or_function): allow symbols
8605 since they can be eval'ed
8607 2001-01-29 Martin Buchholz <martin@xemacs.org>
8609 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
8610 Oops, XEmacs redefines `class'. Use `typename' instead.
8612 2001-01-28 Martin Buchholz <martin@xemacs.org>
8614 * dumper.c: Fix C++ compile errors.
8616 2001-01-29 Martin Buchholz <martin@xemacs.org>
8618 * tparam.c: Use correct prototypes.
8620 2001-01-28 Martin Buchholz <martin@xemacs.org>
8622 * sysproc.h: #include util.h for NetBSD's openpty.
8624 2001-01-27 Martin Buchholz <martin@xemacs.org>
8626 More 64-bit correctness.
8627 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
8628 Use a typedef `fixnum' for the type used for DEFVAR_INT.
8630 This finally finishes the 64-bit SGI port.
8631 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
8632 * symbols.c: Fix up comments and type casts.
8633 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
8634 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
8635 * symeval.h (Fixnum): New type.
8636 * symeval.h (symbol_value_type): Fix up comment.
8652 * mule-canna.c: A million DEFVAR_INTs here...
8653 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
8666 s/int/Fixnum/g in DEFVAR_INT declarations.
8668 2001-01-26 Martin Buchholz <martin@xemacs.org>
8670 Port pdump to SGI alignment-sensitive environment.
8671 Lisp Object sizeof methods now return aligned sizes. Rely on that.
8672 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
8674 Define and use aligned reading and writing macros.
8675 Use buffered stdio instead of posix i/o for faster dumping.
8676 Eliminate kludgy 256 byte space for header.
8677 Read and write from dump file using structs for alignment safety.
8678 * dumper.c (pdump_align_stream): New.
8679 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
8680 * dumper.c (PDUMP_READ_ALIGNED): New.
8681 * dumper.c (PDUMP_WRITE_ALIGNED): New.
8682 * dumper.c (pdump_static_Lisp_Object): New struct.
8683 * dumper.c (pdump_static_pointer): New struct.
8684 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
8685 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
8686 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
8687 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
8689 * dumper.c (pdump_backtrace):
8690 * dumper.c (pdump_get_indirect_count):
8691 * dumper.c (pdump_register_object):
8692 * dumper.c (pdump_register_struct):
8693 * dumper.c (pdump_reloc_one):
8694 * dumper.c (pdump_scan_by_alignment):
8695 * dumper.c (pdump_dump_from_root_struct_ptrs):
8696 * dumper.c (pdump_dump_opaques):
8697 * dumper.c (pdump_dump_rtables):
8698 * dumper.c (pdump_dump_from_root_objects):
8700 * dumper.c (pdump_load_finish):
8701 Use aligned reading and writing.
8703 * dumper.c (pdump_free): Make static.
8704 * dumper.c (pdump_hFile): Likewise.
8705 * dumper.c (pdump_hMap): Likewise.
8707 2001-01-26 Martin Buchholz <martin@xemacs.org>
8709 * XEmacs 21.2.43 "Terspichore" is released.
8711 2001-01-25 Martin Buchholz <martin@xemacs.org>
8713 Type fiddling for window_config.saved_windows_count
8714 * window.c (struct window_config):
8715 Make saved_windows_count member unsigned.
8716 * window.c (sizeof_window_config_for_n_windows):
8717 Make parameter unsigned.
8718 * window.c (mark_window_config):
8719 * window.c (window_config_equal):
8720 * window.c (free_window_configuration):
8721 * window.c (Fset_window_configuration):
8722 * window.c (count_windows):
8723 * window.c (Fcurrent_window_configuration):
8724 * window.c (reinit_vars_of_window):
8725 Update all callers and users.
8727 2001-01-25 Martin Buchholz <martin@xemacs.org>
8729 Alignment correctness for flexible arrays.
8730 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
8731 Make alignment-correct. Add interesting comments.
8732 * alloc.c (size_vector):
8733 * alloc.c (make_vector_internal):
8734 * alloc.c (make_bit_vector_internal):
8735 * alloc.c (sweep_bit_vectors_1):
8736 * fns.c (size_bit_vector):
8737 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
8738 * window.c (sizeof_window_config_for_n_windows):
8739 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
8741 2001-01-24 Martin Buchholz <martin@xemacs.org>
8743 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
8745 2001-01-23 Andy Piper <andy@xemacs.org>
8747 * select.c (Fown_selection_internal): pass owned_p
8749 * select-msw.c (mswindows_own_selection): New Signature.
8751 * console.h (struct console_methods): add owned_p to
8754 * select-x.c (x_own_selection): pass owned_p
8755 (hack_motif_clipboard_selection): use owned_p
8756 (vars_of_select_x): new variable -
8757 x_selection_strict_motif_ownership.
8759 2001-01-23 Martin Buchholz <martin@xemacs.org>
8761 * specifier.h (specifier_data_offset): Remove pointless parens.
8762 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
8764 2001-01-24 Martin Buchholz <martin@xemacs.org>
8766 Make Lisp_Object sizeof methods be alignment-correct.
8767 pdump must restore objects to the same alignment as the C compiler
8768 assumes. It really matters on SGIs.
8769 * lstream.c (aligned_sizeof_lstream): New.
8770 (sizeof_lstream): Use aligned_sizeof_lstream.
8771 (Lstream_new): Likewise.
8772 * opaque.c (aligned_sizeof_opaque): New.
8773 (sizeof_opaque): Use aligned_sizeof_opaque.
8774 (make_opaque): Likewise.
8775 * specifier.c (aligned_sizeof_specifier): New.
8776 (sizeof_specifier): Use aligned_sizeof_specifier.
8777 (make_specifier_internal): Likewise.
8779 2001-01-23 Martin Buchholz <martin@xemacs.org>
8781 * lstream.h (struct lstream): Use max_align_t for trailing data.
8782 * specifier.h (struct Lisp_Specifier): Likewise.
8784 2001-01-22 Martin Buchholz <martin@xemacs.org>
8786 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
8787 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
8788 (CCL_SUSPEND): Likewise.
8789 (CCL_INVALID_CMD): Likewise.
8790 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
8791 (ccl_driver): Likewise.
8792 (CCL_WRITE_CHAR): Macro hygiene.
8793 (CCL_WRITE_STRING): Macro hygiene.
8795 2001-01-22 Martin Buchholz <martin@xemacs.org>
8797 Port "portable" dumper to SunOS 4 and HP-UX.
8798 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
8799 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
8800 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
8802 2001-01-22 Martin Buchholz <martin@xemacs.org>
8804 * lisp.h (ALIGNOF): A better definition for C++.
8806 2001-01-20 Martin Buchholz <martin@xemacs.org>
8809 Fix printf warnings: int format, long int arg.
8810 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
8811 (PUSH_FAILURE_POINT): Use correct printf formats.
8812 (POP_FAILURE_POINT): Use correct printf formats.
8813 Use do {...} while (0)
8815 2001-01-20 Martin Buchholz <martin@xemacs.org>
8817 * XEmacs 21.2.42 "Poseidon" is released.
8819 2001-01-20 Martin Buchholz <martin@xemacs.org>
8821 * console-x.h: typo fix du jour. Remove #if 0'ed code.
8823 2001-01-19 Martin Buchholz <martin@xemacs.org>
8825 De-kludgify FIXED_TYPE free list frobbing.
8826 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
8827 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
8828 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
8829 * alloc.c (Lisp_Free): New pseudo lisp object definition.
8830 * alloc.c (LRECORD_FREE_P): New.
8831 * alloc.c (MARK_LRECORD_AS_FREE): New.
8832 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
8833 * alloc.c (STRUCT_FREE_P): Deleted.
8834 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
8835 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
8836 * alloc.c (STRING_CHARS_FREE_P): New.
8837 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
8838 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
8839 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
8840 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
8841 * alloc.c (resize_string): Use new definitions.
8842 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
8843 * alloc.c (verify_string_chars_integrity): Use new definitions.
8844 * alloc.c (compact_string_chars): Use new definitions.
8845 * alloc.c: Update monster comments.
8846 * lrecord.h (lrecord_type): Add some new lrecord types for
8849 2001-01-18 Martin Buchholz <martin@xemacs.org>
8851 Improve alignment hackery.
8852 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
8853 (max_align_t): Moved from opaque.h - general purpose.
8854 (ALIGN_PTR): Use size_t, not long.
8855 * opaque.h (max_align_t): Move to lisp.h.
8857 2001-01-18 Norbert Koch <nk@LF.net>
8859 * gui.h: Fix and add prototypes to fix build problems.
8861 2001-01-18 Martin Buchholz <martin@xemacs.org>
8863 temacs is going away, so `dump-temacs' is now a bad name.
8864 * .dbxrc (dump-temacs): Rename to `dmp'.
8865 * .gdbinit (dump-temacs): Rename to `dmp'.
8867 2001-01-17 Andy Piper <andy@xemacs.org>
8869 * glyphs.c (print_image_instance): comment to make martin happy.
8871 * glyphs-x.c (x_redisplay_widget): update faces after a frame
8874 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
8876 (mswindows_tab_control_redisplay): warning suppression.
8878 * glyphs-widget.c (widget_update): re-write to cope with updated
8880 (widget_instantiate): use new gui_item functions.
8881 (tab_control_update): deleted.
8882 (progress_gauge_update): deleted.
8883 (image_instantiator_progress_guage): take out update reference.
8884 (image_instantiator_tree_view): ditto.
8885 (image_instantiator_tab_control): ditto.
8887 * gui.c (widget_gui_parse_item_keywords): new function. Do things
8889 (gui_item_add_keyval_pair): re-write to cope with descriptors and
8890 return whether anything was changed.
8891 (update_gui_item_keywords): as it sounds.
8893 * gui.h: declare widget_gui_parse_item_keywords.
8895 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
8896 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
8898 2001-01-17 Martin Buchholz <martin@xemacs.org>
8900 * XEmacs 21.2.41 "Polyhymnia" is released.
8902 2001-01-16 Didier Verna <didier@xemacs.org>
8904 * glyphs.c (image_instantiate): don't use fallbacks when
8905 instantiating a face's background pixmap by inheritance.
8907 2001-01-14 Mike Sperber <mike@xemacs.org>
8909 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
8910 Conditionalize accordingly.
8912 2001-01-16 Martin Buchholz <martin@xemacs.org>
8914 * dumper.c (pdump_file_get): Fix a compiler warning.
8916 2001-01-15 Martin Buchholz <martin@xemacs.org>
8918 Make Purify happy when pdumping.
8919 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
8920 iniitalizing all bits of new lisp object memory.
8921 * symbols.c (Fmake_local_variable): Likewise.
8922 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
8923 * symbols.c (Fdefvaralias): Likewise.
8924 * mule-charset.c (vars_of_mule_charset): Likewise.
8926 2001-01-15 Martin Buchholz <martin@xemacs.org>
8927 Add the `-nd' flag when running pre-dump operations under the debugger.
8928 * .dbxrc (run-temacs): Add `-nd'.
8929 * .dbxrc (update-elc): Likewise.
8930 * .dbxrc (dump-temacs): Likewise.
8931 * .gdbinit (run-temacs): Likewise.
8932 * .gdbinit (check-temacs): Likewise.
8933 * .gdbinit (update-elc): Likewise.
8934 * .gdbinit (dump-temacs): Likewise.
8936 2001-01-14 Martin Buchholz <martin@xemacs.org>
8938 Allow building 64-bit executables on AIX with GNU malloc, e.g.
8939 export OBJECT_MODE=64
8940 configure --pdump --use-union-type=no
8941 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
8942 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
8944 * miscplay.c (sndcnv8U_2mono):
8945 Avoid two uses of `++' in the same expression.
8946 Suppresses a GCC warning.
8948 2001-01-13 Martin Buchholz <martin@xemacs.org>
8950 Make sure future compilers don't miscompile alloc.c.
8952 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
8953 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
8955 2001-01-12 Martin Buchholz <martin@xemacs.org>
8957 * dumper.c: A little post-pdump-rename comment fixup.
8959 2001-01-09 Jerry James <james@eecs.ku.edu>
8961 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
8963 2001-01-13 Martin Buchholz <martin@xemacs.org>
8965 * *.[ch]: Globally rename symbols using the following `pdump-rename'
8969 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
8972 replace_symbol pdump_wire_lists pdump_weak_object_chains
8973 replace_symbol pdump_wire_list dump_add_weak_object_chain
8975 replace_symbol pdump_wires pdump_root_objects
8976 replace_symbol pdump_wire dump_add_root_object
8978 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
8979 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
8981 replace_symbol dumpstructinfos pdump_root_struct_ptrs
8982 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
8983 replace_symbol dumpstructinfo pdump_root_struct_ptr
8984 replace_symbol dumpstruct dump_add_root_struct_ptr
8986 replace_symbol dumpopaque dump_add_opaque
8987 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
8988 replace_symbol dumpopaqueinfos pdump_opaques
8989 replace_symbol dumpopaqueinfo pdump_opaque
8991 replace_symbol nb_structdump nb_root_struct_ptrs
8992 replace_symbol nb_opaquedump nb_opaques
8994 replace_symbol align_table pdump_align_table
8995 replace_symbol dump_header pdump_header
8997 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
8998 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
9001 2001-01-12 Martin Buchholz <martin@xemacs.org>
9003 * s/aix4.h: Keep the C for AIX compiler from overaggressively
9004 optimizing bytecount_to_charcount().
9006 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9009 (HAVE_DLFCN_H): Removed.
9010 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
9012 2001-01-06 Martin Buchholz <martin@xemacs.org>
9014 Portable dumper maintainability improvements.
9015 * alloc.c (staticpro):
9016 * alloc.c (staticpro_nodump):
9017 * alloc.c (garbage_collect_1):
9018 * alloc.c (reinit_alloc_once_early):
9019 * alloc.c (init_alloc_once_early):
9020 * alloc.c: Move dumper functions to alloc.c.
9021 * dumper.c (pdump_backtrace):
9022 * dumper.c (pdump_dump_structs):
9023 * dumper.c (pdump_dump_opaques):
9024 * dumper.c (pdump_dump_rtables):
9025 * dumper.c (pdump_dump_wired):
9027 * dumper.c (pdump_load_check):
9028 * dumper.c (pdump_load_finish):
9029 * dumper.c (pdump_file_unmap):
9030 * dumper.c (pdump_file_get):
9031 * dumper.c (pdump_resource_free):
9032 * dumper.c (pdump_resource_get):
9033 * dumper.c (pdump_file_free):
9034 * dumper.c (pdump_file_try):
9035 * dumper.c (pdump_load):
9036 Remove fixed size limits on staticpro(), staticpro_nodump(),
9037 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
9038 Remove custom code for dumping lrecord_implementations_table - use
9040 Remove (most of the) custom code for dumping staticpros - dump it
9041 like any other dynarr.
9043 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
9044 * dumper.c: Moved functions from alloc.c.
9045 * alloc.c (dumpstruct): Moved to dumper.c.
9046 * alloc.c (dumpopaque): Likewise.
9047 * alloc.c (pdump_wire): Likewise.
9048 * alloc.c (pdump_wire_list): Likewise.
9050 * lisp.h (Dynarr_sizeof): New.
9051 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
9052 * lisp.h (Dynarr_end): New. Very slightly C++oid.
9053 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
9055 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
9056 * lisp.h (dumpopaque): ditto.
9057 * lisp.h (pdump_wire): ditto.
9058 * lisp.h (pdump_wire_list): ditto.
9060 2001-01-09 Martin Buchholz <martin@xemacs.org>
9062 * make-src-depend (PrintPatternDeps):
9063 Use `sort' to make output independent of perl version.
9065 2001-01-08 Martin Buchholz <martin@xemacs.org>
9068 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
9069 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
9071 2001-01-03 Didier Verna <didier@xemacs.org>
9073 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
9074 that `focus_frame' is alive before thinking of calling
9075 `redisplay_redraw_cursor' on it.
9077 2001-01-08 Martin Buchholz <martin@xemacs.org>
9079 * XEmacs 21.2.40 is released.
9081 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9083 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
9085 2001-01-06 Martin Buchholz <martin@xemacs.org>
9087 * alloc.c (dbg_valmask): Make const.
9088 * alloc.c (dbg_typemask): Make const.
9089 * alloc.c (dbg_USE_UNION_TYPE): Make const.
9090 * alloc.c (dbg_valbits): Make const.
9091 * alloc.c (dbg_gctypebits): Make const.
9093 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
9095 * redisplay-x.c (x_bevel_area):
9096 redisplay.h (struct rune):
9097 Typo fixes in comments.
9099 2001-01-05 Andy Piper <andy@xemacs.org>
9101 * glyphs-x.c (x_redisplay_widget): use size changed for offset
9104 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
9106 2001-01-05 Martin Buchholz <martin@xemacs.org>
9108 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
9110 * mule-ccl.c (stack_idx_of_map_multiple):
9111 Non const global data must not be initialized!
9112 Found by MIYASHITA Hisashi.
9114 2001-01-02 Andy Piper <andy@xemacs.org>
9116 * frame.c (change_frame_size): make sure frame size is always
9119 * glyphs.c (image_instance_layout): minor code reuse.
9121 * window.c (Fcurrent_window_configuration): revert previous
9124 2001-01-02 Martin Buchholz <martin@xemacs.org>
9127 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
9129 2000-12-31 Andy Piper <andy@xemacs.org>
9131 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
9132 when widget gets unmapped.
9134 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
9135 function. Make sure widgets losing focus don't just drop it.
9136 (handle_focus_event_1): record the widget with focus.
9138 2000-12-31 Andy Piper <andy@xemacs.org>
9140 * window.c (allocate_window): use
9141 make_image_instance_cache_hash_table.
9142 (make_dummy_parent): ditto.
9143 (Fset_window_configuration): ditto.
9145 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
9147 * glyphs.c (process_image_string_instantiator): use
9149 (get_image_instantiator_governing_domain): ditto.
9150 (normalize_image_instantiator): ditto.
9151 (instantiate_image_instantiator): ditto.
9152 (make_image_instance_1): ditto.
9153 (image_instantiate): ditto. Key on glyph *and* instantiator type.
9154 (instantiator_eq_equal): new function for use with instance hash
9156 (instantiator_eq_hash): ditto.
9157 (make_image_instance_cache_hash_table): create a suitable hash
9158 table for storing image instances.
9160 * elhash.h (hash_table_weakness): new internal weakness type
9161 HASH_TABLE_KEY_CAR_VALUE_WEAK.
9162 declare new functions.
9164 * elhash.c (finish_marking_weak_hash_tables): introduce yet
9165 another weakness type for glyphs.
9166 (make_standard_lisp_hash_table): new function split out from
9167 make_general_lisp_hash_table.
9168 (make_lisp_hash_table): call make_standard_lisp_hash_table.
9169 (hash_table_instantiate): ditto.
9170 (Fmake_hash_table): ditto.
9172 2000-12-31 Martin Buchholz <martin@xemacs.org>
9174 * XEmacs 21.2.39 is released.
9176 2000-12-29 Andy Piper <andy@xemacs.org>
9178 * menubar.c (menubar_visible_p_changed): signal the frame changed.
9180 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
9181 the frame has changed so that we pick up geometry changes such as
9184 2000-12-28 Andy Piper <andy@xemacs.org>
9186 * lastfile.c (my_ebss): make a char array so we can pad the
9187 bss. Fixes cygwin unexec.
9189 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
9191 2000-12-26 Andy Piper <andy@xemacs.org>
9193 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
9194 comments and try and be more precise about a non-/SIGIO world.
9195 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
9198 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
9199 we don't normalize to zero width or height.
9201 2000-12-24 Andy Piper <andy@xemacs.org>
9203 * Makefile.in.in (ldflags): add -mwindows when appropriate.
9205 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
9207 * s/sco5.h: SCO 5 has pty support.
9209 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
9211 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
9212 input-method-xlib.c contains whole contents of input-method-xfs.c,
9213 so we can use input-method-xlib.c's code for USE_XFONTSET
9215 * input-method-xfs.c: removed.
9217 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
9219 * file-coding.h (enum coding_category_type): reorder enumerators to
9220 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
9221 (now one greater than largest real coding_category_type enumerator).
9222 * file-coding.c (coding_category_symbol, coding_category_by_priority,
9223 coding_category_system, fcd_descriptihon_1, decode_coding_category,
9224 Fcoding_category_list, Fset_coding_priority_list,
9225 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
9226 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
9228 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
9230 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
9231 * redisplay-output.c (redisplay_output_window): Clear top of window
9232 when face is changed.
9233 * redisplay-x.c (x_redraw_exposed_window): Call
9234 redisplay_clear_top_of_window.
9235 * redisplay.h: Publish redisplay_clear_top_of_window.
9237 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
9239 * buffer.c (Fkill_buffer): Map over all devices.
9240 * window.c (window_loop): Remove UNSHOW_BUFFER code.
9241 (list_windows): New function.
9242 (list_all_windows): Ditto.
9243 (Freplace_buffer_in_windows): Use them.
9245 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
9247 * database.c (berkdb_subtype): Recognize new subtype `queue'.
9248 (Fopen_database): Use `db_create' instead of `db_open'.
9249 (syms_of_database): Initialize Qqueue.
9251 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9253 * buffer.c (common_init_complex_vars_of_buffer): Initialize
9254 buffer_local_face_property.
9255 * buffer.h (struct buffer): New member buffer_local_face_property.
9256 * window.c (Fset_window_buffer): Mark window's face as changed
9257 when buffer has buffer local face.
9258 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
9259 * objects.c (color_after_change): Set buffer_local_face_property
9260 when locale of face specifier is buffer.
9261 * objects.c (font_after_change): Ditto.
9262 * objects.c (face_boolean_after_change): Ditto.
9263 * glyphs.c (image_after_change): Ditto.
9265 2000-12-09 Dan Holmsand <dan@eyebee.com>
9267 * nt.c (mswindows_fstat): Report file permissions, volume serial
9268 number, etc. Code adapted from FSF Emacs 20.7.
9270 2000-12-09 Dan Holmsand <dan@eyebee.com>
9272 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
9273 of stat when we don't have symbolic links, to make sure
9274 mswindows_stat is called on mswindows.
9276 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
9278 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
9280 2000-12-12 Martin Buchholz <martin@xemacs.org>
9282 * doprnt.c (emacs_doprnt_1): More printing fixes.
9283 Make printing of numbers compatible with libc and FSF Emacs.
9284 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
9285 Use the system printf to do most of the hard work of formatting,
9286 instead of doprnt_1().
9287 Calculate memory to allocate for format string.
9288 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
9289 (doprnt_1): Cleaner code and documentation.
9291 2000-12-01 Jerry James <james@eecs.ukans.edu>
9293 * Makefile.in.in: Use the loop variable to install headers.
9295 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9297 * window.c (Fsplit_window): Don't invalidate face cache.
9299 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9301 * minibuf.c (Fall_completions): Undo the previous change
9302 which removed checking elements start with space.
9304 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
9306 * mule-canna.c: Didier suppression.
9308 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
9310 * mule-canna.c: rename static unsigned char buf[] to key_buffer
9311 (warning suppression). Add English comment translations.
9313 2000-12-05 Martin Buchholz <martin@xemacs.org>
9315 * unexelfsgi.c (unexec): Better test for mmap failure.
9317 2000-12-05 Martin Buchholz <martin@xemacs.org>
9319 * XEmacs 21.2.38 is released.
9321 2000-12-05 Martin Buchholz <martin@xemacs.org>
9323 * redisplay.c (bar-cursor): Make a user variable.
9325 * symsinit.h: Add init_postgresql_from_environment.
9327 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9329 * regex.c: Convert to clean C.
9331 2000-12-05 Dan Holmsand <dan@eyebee.com>
9334 Don't #include sysfile.h. Revert to duplicating PATH_MAX
9336 (sys_readlink): renamed to system_readlink to avoid conflict with
9337 the other sys_readlink.
9339 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
9341 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
9343 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
9345 * postgresql.c (init_postgresql_from_environment): new function.
9346 (vars_of_postgresql): Move code initializing Lisp variables out and
9347 into init_postgresql_from_environment.
9348 emacs.c (main_1): Call init_postgresql_from_environment if and only
9349 if running a dumped XEmacs.
9351 2000-08-31 Dan Holmsand <dan@eyebee.com>
9353 * buffer.c: Make find-file-compare-truenames default to true on
9356 * realpath.c (win32_abs_start):
9358 (win32_readlink): New functions.
9359 (xrealpath): Return really real filenames on windows.
9361 * fileio.c (Ffile_truename): Make file-truename work on windows.
9363 2000-11-29 Didier Verna <didier@xemacs.org>
9365 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
9366 * faces.c (update_face_cachel_data): use it.
9367 * faces.c (add_face_cachel): use it. Complete background pixmap
9368 frobbing in face cache if `update_face_cachel_data' has not done so.
9370 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
9372 * search.c (string_match_1): Don't set last_thing_searched
9375 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
9377 * buffer.c: Include casetab.h
9378 (common_init_complex_vars_of_buffer): Use new case-table object.
9379 * buffer.h: Include casetab.h
9380 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
9381 (DOWNCASE_TABLE_OF): Ditto.
9382 * bufslots.h: Remove char-tables and add case-table.
9383 * casetab.c: Include casetab.h
9384 (CASE_TABLE_P): Removed.
9385 (mark_case_table): New function.
9386 (allocate_case_table): New function.
9387 (Fcase_table_p): Use new case-table.
9388 (case_table_char): New function.
9389 (Fget_case_table): Ditto.
9390 (Fput_case_table): Ditto.
9391 (Fput_case_table_pair): Ditto.
9392 (Fcopy_case_table): Ditto.
9393 (Fcurrent_case_table): Return case-table.
9394 (Fstandard_case_table): Return case-table.
9395 (Fset_case_table): Fix doc-string.
9396 (set_case_table): Use case-table
9397 (syms_of_casetab): DEFSUBR new functions.
9398 (complex_vars_of_casetab): Set up standard case-table.
9399 * casetab.h: New file.
9400 * editfns.c: Include casetab.h
9401 (Fcompare_buffer_substrings): Use case-table.
9402 * inline.c: Include casetab.h
9403 * lisp.h: Remove bogus extern.
9404 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
9405 * search.c: Include casetab.h
9406 (TRANSLATE_ASCII): Removed.
9407 (TRANSLATE): Unconditionally translate character.
9408 (looking_at_1): Use case-table.
9409 (string_match_1): Ditto.
9410 (fast_string_match): Ditto.
9411 (search_command): Ditto.
9412 (search_buffer): Separate boyer_moore. Check whether
9413 boyer_moore is possible.
9414 (simple_search): New function.
9415 (boyer_moore): Separated from search_buffer. Translate char.
9417 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
9419 * regex.c (RE_TR_ASCII): Removed.
9420 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
9421 (PATFETCH): Call PATFETCH_RAW.
9422 (PATFETCH_RAW): Fetch Emchar.
9423 (PATUNFETCH): Decrement charptr.
9424 (GET_BUFFER_SPACE): Rename b to buf_end.
9426 (BUF_PUSH_2): Ditto.
9427 (BUF_PUSH_3): Ditto.
9428 (EXTEND_BUFFER): Ditto.
9429 (SET_LIST_BIT): Ditto.
9430 (regex_compile): Ditto. Translate non ASCII char.
9431 (compile_range): Ditto.
9432 (re_search_2): Ditto.
9433 (re_match_2_internal): Compare Emchar.
9434 (bcmp_translate): Ditto.
9436 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
9438 * lisp.h (basic char/int typedefs): comment improvement.
9440 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
9442 * emacs.c (main_1): unconditional pdump unstomping; don't save and
9443 unstomp inhibit_site_lisp. Improve comments.
9445 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
9447 * mule-charset.c (Fcharset_property): improve type checking, comments.
9449 2000-11-28 Andy Piper <andy@xemacs.org>
9451 * redisplay-output.c (redisplay_output_subwindow): make sure we do
9452 clipped display for windows in the gutter also.
9453 (redisplay_display_boxes_in_window_p): change semantics of return
9454 codes to be more intuitive.
9456 * gutter.h: declare display_boxes_in_gutter_p.
9458 * gutter.c (display_boxes_in_gutter_p): new function for
9461 2000-11-22 Andy Piper <andy@xemacs.org>
9463 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
9466 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
9468 * callproc.c (Fold_call_process_internal):
9469 * gpm.c (Freceive_gpm_event):
9470 (tty_get_foreign_selection): Might be just warning supression.
9471 * fileio.c (Fwrite_region_internal):
9472 (Fset_visited_file_modtime):
9473 * keymap.c (event_matches_key_specifier_p):
9474 Initialize GCPROed variable.
9476 * menubar-x.c (command_builder_find_menu_accelerator):
9477 Initialize before use.
9479 2000-11-23 Andy Piper <andy@xemacs.org>
9481 * unexcw.c (unexec): make the resulting executable executable.
9483 2000-11-21 Martin Buchholz <martin@xemacs.org>
9485 * doc.c (get_doc_string):
9486 Use size_t, not int, for result of XSTRING_LENGTH.
9488 * cmds.c (Fdelete_char):
9489 * cmds.c (Fpoint_at_eol):
9490 * cmds.c (Fself_insert_command):
9491 Use EMACS_INT, not int, for result of XINT.
9492 Someday, someone will want to insert more than 2**31 identical characters.
9494 * cmds.c (Fdelete_char):
9495 * cmds.c (Fdelete_backward_char):
9496 * syntax.c (Fforward_word):
9497 * syntax.c (Fforward_comment):
9498 Make COUNT argument optional, for consistency with forward-char et al.
9500 2000-11-22 Martin Buchholz <martin@xemacs.org>
9503 * print.c (long_to_string):
9504 Return a useful value: the pointer at end of data written.
9507 Use `static const char * const' for constant strings.
9508 (union printf_arg): Delete `i', `ui' members.
9511 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
9512 Do all printf-ing via the `l' specifier.
9513 Use EMACS_INT instead of int.
9516 2000-11-20 Didier Verna <didier@xemacs.org>
9518 * faces.c (update_face_cachel_data): don't frob the background
9519 pixmap when the window is being created. The face is needed but
9522 2000-11-20 Andy Piper <andy@xemacs.org>
9524 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
9525 messing with a debug environment.
9527 2000-11-20 Martin Buchholz <martin@xemacs.org>
9529 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
9531 2000-11-20 Martin Buchholz <martin@xemacs.org>
9533 * casetab.c (Fcase_table_p): Fix compile error and crash.
9535 2000-11-18 Philip Aston <philipa@mail.com>
9537 * s/cygwin32.h: Cygwin has SVR4-like pty support.
9539 2000-11-18 Martin Buchholz <martin@xemacs.org>
9541 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
9542 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
9544 2000-11-17 Martin Buchholz <martin@xemacs.org>
9546 * config.h.in: Define HAVE_ELF_H if elf.h exists.
9547 * unexelf.c: Use HAVE_ELF_H.
9548 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
9549 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
9550 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
9551 Greg Harrington <greg_harrington@hotmail.com> provided a machine
9553 So this is an unexelfsgi.c from a different line of development.
9555 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
9557 * regex.c (RE_TR_ASCII): New function.
9558 (RE_TRANSLATE): Call it.
9560 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
9562 * buffer.h (TRT_TABLE_OF): Remove assert.
9563 (IN_TRT_TABLE_DOMAIN): Removed.
9565 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
9567 * free-hook.c (log_gcpro):
9568 (show_gcprohist): Add support for GCPRO5.
9570 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
9572 * emacs.c (main_1): Improve -sd error message when --pdump=no.
9574 2000-11-16 Olivier Galibert <galibert@xemacs.org>
9576 * symeval.h: Declare flush_all_buffer_local_cache.
9578 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
9579 (flush_buffer_local_cache): Added.
9580 (flush_all_buffer_local_cache): Added.
9582 * lrecord.h: Remove unused XD_LO_RESET_NIL.
9584 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
9585 (pdump_dump_data): Ditto.
9586 (pdump_reloc_one): Ditto.
9587 (pdump): Remove unused pdump_qnil. Flush buffer local caches
9591 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
9593 * buffer.c: Remove if 0'ed entry.
9594 * buffer.h: Rewrite TRT to use char-table.
9595 * bufslots.h: Remove mirror tables.
9596 * casetab.c: Remove mirror tables.
9597 (CASE_TABLE_P): New macro.
9598 (Fcase_table_p): Element of a case table is string or char-table.
9599 (make_mirror_trt_table): Removed.
9600 (set_case_table): Setup char-table from strings for backward
9602 * dired.c (Fdirectory_files):
9603 * dired-msw.c: (mswindows_get_files):
9604 * lisp.h: Change prototype of re_pattern_buffer.
9605 * regex.c: (RE_TRANSLATE): New macro.
9606 (TRANSLATE_P): Ditto.
9607 Change translate to type RE_TRANSLATE_TYPE.
9608 * regex.h: Define RE_TRANSLATE_TYPE
9609 * search.c (TRANSLATE): New macro.
9610 (TRANSLATE_ASCII): New macro.
9611 Translate table is changed to Lisp_Object.
9612 (signal_failure): Inhibit return.
9614 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
9621 Do UNGCPRO before return.
9623 2000-11-14 Martin Buchholz <martin@xemacs.org>
9625 * XEmacs 21.2.37 is released.
9627 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9629 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
9630 Add comments about discarded return value.
9632 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
9635 * event-stream.c: Fix comments. Remove some #if 0'ed part.
9637 2000-10-27 Andy Piper <andy@xemacs.org>
9639 * gutter.c (Fset_default_gutter_position): default left and right
9641 (calculate_gutter_size): calculate resonable heuristic for left
9642 and right gutter sizes.
9643 (specifier_vars_of_gutter): change left and right gutter sizes to
9645 (calculate_gutter_size_from_display_lines): new function.
9646 (output_gutter): check for resizing on left and right gutters.
9647 (clear_gutter): don't special case top and left gutters.
9648 (specifier_vars_of_gutter): use new signature for
9649 set_specifier_caching.
9651 * glyphs-x.c (x_redisplay_widget): spelling fix.
9652 * glyphs.c (specifier_vars_of_glyphs):
9653 * menubar.c (specifier_vars_of_menubar):
9654 * redisplay.c (specifier_vars_of_redisplay):
9655 * toolbar.c (specifier_vars_of_toolbar):
9656 * window.c (specifier_vars_of_window):
9657 * scrollbar.c (specifier_vars_of_scrollbar):
9658 (complex_vars_of_scrollbar): use new signature for
9659 set_specifier_caching.
9661 * specifier.c (set_specifier_caching): include recompute flag.
9662 (recompute_one_cached_specifier_in_window): always recompute if
9664 (recompute_one_cached_specifier_in_frame): ditto.
9666 * specifier.h (struct specifier_caching): add recompute flag.
9668 2000-10-24 Andy Piper <andy@xemacs.org>
9670 * unexcw.c (copy_executable_and_dump_data_section): add new
9671 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
9674 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
9676 * console-x.h (x_device): New member modifier_release_time.
9677 * event-Xt.c (x_handle_sticky_modifiers):
9678 Bound interval modifier keys are sticky.
9679 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
9680 * events.h: extern it.
9682 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
9684 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
9686 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
9688 * event-stream.c (execute_command_event): Preserve current_events
9689 and the like when event is misc-user-event.
9690 Inhibit quit during the call to maybe_echo_keys.
9692 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
9694 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
9695 symlink when buffer is killed.
9696 (inhibit_clash_detection): New variable.
9698 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
9700 * console.c (Fset_input_method): Trigger redisplay on tty.
9702 2000-11-07 Martin Buchholz <martin@xemacs.org>
9704 * process.c (Fprocess_status): Revert to previous behavior:
9705 (process-status "nosuchprocess") ==> nil
9707 2000-11-06 Martin Buchholz <martin@xemacs.org>
9709 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
9710 Work around another GCC 2.95.2 optimizer bug.
9712 2000-11-02 Martin Buchholz <martin@xemacs.org>
9714 * process.c (Fget_process): Use LIST_LOOP_2.
9715 (kill_buffer_processes): Use LIST_LOOP_2.
9717 * minibuf.c (Fall_completions):
9718 Delete old non-functional code for FSF fourth argument.
9720 * frame.c (frame_matches_frame_spec):
9721 Renamed from `frame_matches_frametype'. Update all callers.
9722 (device_matches_device_spec):
9723 Renamed from 'device_matches_console_spec'. Update all callers.
9725 * doc.c (Fsubstitute_command_keys):
9726 Remove buffer overflow crash. Small code cleanups.
9728 * casetab.c (check_case_table): Simpler code.
9730 * window.c (Freplace_buffer_in_windows):
9731 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
9732 (and similar implementation) as Fdelete_windows_on.
9735 * alloc.c (Fmake_list):
9736 * alloc.c (make_vector):
9737 * alloc.c (Fmake_vector):
9738 * alloc.c (make_bit_vector):
9739 * alloc.c (Fmake_bit_vector):
9740 * alloc.c (Fbit_vector):
9741 * alloc.c (Fmake_string):
9742 * alloc.c (Fpurecopy):
9743 * alloc.c (Fmemory_limit):
9745 * buffer.c (Fget_buffer):
9746 * buffer.c (Fkill_buffer):
9747 * buffer.c (complex_vars_of_buffer):
9748 * bytecode.c (Fcompiled_function_stack_depth):
9749 * callint.c (Fprefix_numeric_value):
9751 * event-stream.c (Fread_key_sequence):
9753 * casetab.c (Fcase_table_p):
9754 * casetab.c (check_case_table):
9755 * casetab.c (Fset_case_table):
9756 * casetab.c (Fset_standard_case_table):
9758 * chartab.c (Fchar_table_type):
9759 * chartab.c (Freset_char_table):
9760 * chartab.c (Fget_char_table):
9761 * chartab.c (Fget_range_char_table):
9762 * chartab.c (Fput_char_table):
9763 * chartab.c (Fmap_char_table):
9764 * chartab.c (Fcategory_table_p):
9765 * chartab.c (Fcheck_category_at):
9766 * chartab.c (Fchar_in_category_p):
9767 * chartab.c (Fcategory_table):
9768 * chartab.c (Fcopy_category_table):
9769 * chartab.c (Fset_category_table):
9770 * chartab.c (Fcategory_designator_p):
9771 * chartab.c (Fcategory_table_value_p):
9772 * cmds.c (Fdelete_char):
9773 * cmds.c (Fdelete_backward_char):
9774 * cmds.c (Fself_insert_command):
9775 * cmds.c (Fself_insert_internal):
9776 * console.c (Fvalid_console_type_p):
9777 * console.c (Fcdfw_console):
9778 * console.c (Fconsole_type):
9779 * console.c (Fconsole_name):
9780 * console.c (Fconsole_device_list):
9781 * console.c (Fconsole_on_window_system_p):
9785 * data.c (Fsubr_interactive):
9786 * data.c (Fchar_to_int):
9787 * data.c (Fint_to_char):
9790 * data.c (Fnumber_to_string):
9791 * data.c (Fstring_to_number):
9793 * database.c (mark_database):
9794 * database.c (finalize_database):
9795 * database.c (Fdatabase_live_p):
9796 * database.c (Fdatabasep):
9797 * device-x.c (Fx_get_resource):
9798 * device.c (Fdfw_device):
9800 * dired.c (Ffile_name_completion):
9801 * dired.c (Ffile_name_all_completions):
9802 * dired.c (Fuser_name_completion):
9803 * dired.c (Fuser_name_completion_1):
9804 * dired.c (Fuser_name_all_completions):
9805 * doc.c (Fdocumentation):
9806 * doc.c (Fdocumentation_property):
9807 * doc.c (Fsubstitute_command_keys):
9809 * editfns.c (Fchar_to_string):
9810 * editfns.c (Fstring_to_char):
9811 * editfns.c (Ftemp_directory):
9812 * editfns.c (Finsert_char):
9813 * editfns.c (Fbuffer_substring_no_properties):
9814 * editfns.c (Fnarrow_to_region):
9815 * editfns.c (Fchar_equal):
9816 * editfns.c (Fchar_Equal):
9817 * editfns.c (Ftranspose_regions):
9818 * emacs.c (Fdump_emacs):
9820 * eval.c (Fcommand_execute):
9821 * eval.c (Fautoload):
9822 * eval.c (Fbacktrace):
9823 * eval.c (Fbacktrace_frame):
9825 * events.c (Fcopy_event):
9826 * events.c (Fcharacter_to_event):
9827 * events.c (Fevent_button):
9828 * events.c (Fevent_process):
9830 * extents.c (Fnext_extent_change):
9831 * extents.c (Fextent_property):
9833 * faces.c (Fmake_face):
9835 * file-coding.c (Fencode_shift_jis_char):
9836 * file-coding.c (Fencode_big5_char):
9837 * fileio.c (Ffile_name_directory):
9838 * fileio.c (Ffile_name_nondirectory):
9839 * fileio.c (Ffile_name_as_directory):
9840 * fileio.c (Fdirectory_file_name):
9841 * fileio.c (Ffile_truename):
9842 * fileio.c (Fsubstitute_in_file_name):
9843 * fileio.c (Ffile_modes):
9844 * fileio.c (Fset_file_modes):
9845 * fileio.c (Fset_default_file_modes):
9846 * fileio.c (Fverify_visited_file_modtime):
9847 * floatfns.c (Facos):
9848 * floatfns.c (Fasin):
9849 * floatfns.c (Fatan):
9850 * floatfns.c (Fcos):
9851 * floatfns.c (Fsin):
9852 * floatfns.c (Ftan):
9853 * floatfns.c (Fbessel_j0):
9854 * floatfns.c (Fbessel_j1):
9855 * floatfns.c (Fbessel_jn):
9856 * floatfns.c (Fbessel_y0):
9857 * floatfns.c (Fbessel_y1):
9858 * floatfns.c (Fbessel_yn):
9859 * floatfns.c (Ferf):
9860 * floatfns.c (Ferfc):
9861 * floatfns.c (Flog_gamma):
9862 * floatfns.c (Fexp):
9863 * floatfns.c (Fexpt):
9864 * floatfns.c (Flog):
9865 * floatfns.c (Flog10):
9866 * floatfns.c (Fsqrt):
9867 * floatfns.c (Fcube_root):
9868 * floatfns.c (Facosh):
9869 * floatfns.c (Fasinh):
9870 * floatfns.c (Fatanh):
9871 * floatfns.c (Fcosh):
9872 * floatfns.c (Fsinh):
9873 * floatfns.c (Ftanh):
9874 * floatfns.c (Fabs):
9875 * floatfns.c (Ffloat):
9876 * floatfns.c (Flogb):
9877 * floatfns.c (Fceiling):
9878 * floatfns.c (Ffloor):
9879 * floatfns.c (Fround):
9880 * floatfns.c (Ftruncate):
9881 * floatfns.c (Ffceiling):
9882 * floatfns.c (Fffloor):
9883 * floatfns.c (Ffround):
9884 * floatfns.c (Fftruncate):
9885 * fns.c (Fstring_equal):
9886 * fns.c (Fstring_lessp):
9891 * fns.c (Fsubstring):
9893 * fns.c (Fold_assoc):
9894 * fns.c (assoc_no_quit):
9896 * fns.c (Fold_assq):
9897 * fns.c (assq_no_quit):
9899 * fns.c (Fold_rassoc):
9901 * fns.c (Fold_rassq):
9902 * fns.c (rassq_no_quit):
9903 * fns.c (Fremassoc):
9904 * fns.c (remassoc_no_quit):
9906 * fns.c (remassq_no_quit):
9907 * fns.c (Fremrassoc):
9908 * fns.c (Fremrassq):
9909 * fns.c (remrassq_no_quit):
9911 * fns.c (Fplist_get):
9912 * fns.c (Fplist_put):
9913 * fns.c (Fplist_remprop):
9914 * fns.c (Fplist_member):
9915 * fns.c (Flax_plist_get):
9916 * fns.c (Flax_plist_put):
9917 * fns.c (Flax_plist_remprop):
9918 * fns.c (Flax_plist_member):
9920 * fns.c (Fold_equal):
9922 * fns.c (Fbase64_encode_region):
9923 * fns.c (Fbase64_encode_string):
9924 * fns.c (Fbase64_decode_region):
9926 * frame.c (frame_matches_frame_spec):
9927 * frame.c (device_matches_device_spec):
9928 * frame.c (next_frame):
9929 * frame.c (previous_frame):
9930 * frame.c (Fnext_frame):
9931 * frame.c (Fprevious_frame):
9932 * frame.c (Fframe_property):
9933 * frame.c (Fset_frame_height):
9934 * frame.c (Fset_frame_size):
9938 * glyphs.c (decode_error_behavior_flag):
9939 * glyphs.c (Fmake_image_instance):
9940 * indent.c (Findent_to):
9941 * intl.c (Fignore_defer_gettext):
9942 * keymap.c (Fkeymapp):
9943 * keymap.c (Flookup_key):
9945 * lread.c (Fload_internal):
9946 * lread.c (Feval_buffer):
9947 * lread.c (Feval_region):
9948 * macros.c (Fexecute_kbd_macro):
9949 * marker.c (set_marker_internal):
9950 * marker.c (Fset_marker):
9951 * marker.c (set_marker_restricted):
9952 * marker.c (Fcopy_marker):
9953 * marker.c (noseeum_copy_marker):
9955 * menubar.c (Fpopup_menu):
9957 * mule-charset.c (Fcharset_name):
9958 * mule-charset.c (Fchar_charset):
9959 * mule-charset.c (Fchar_octet):
9960 * mule-charset.c (Fsplit_char):
9961 * mule-wnnfns.c (Fwnn_open):
9962 * mule-wnnfns.c (Fwnn_dict_comment):
9963 * mule-wnnfns.c (Fwnn_quit_henkan):
9964 * mule-wnnfns.c (Fwnn_word_toroku):
9965 * mule-wnnfns.c (Fwnn_word_sakujo):
9966 * mule-wnnfns.c (Fwnn_word_use):
9967 * mule-wnnfns.c (Fwnn_hindo_set):
9969 * objects.c (Fmake_color_instance):
9970 * objects.c (Fmake_font_instance):
9971 * print.c (Fwrite_char):
9973 * process.c (mark_process):
9974 * process.c (print_process):
9975 * process.c (get_process_from_usid):
9976 * process.c (Fprocessp):
9977 * process.c (Fprocess_live_p):
9978 * process.c (Fget_process):
9979 * process.c (Fget_buffer_process):
9980 * process.c (get_process):
9981 * process.c (Fprocess_id):
9982 * process.c (Fprocess_name):
9983 * process.c (Fprocess_command):
9984 * process.c (init_process_io_handles):
9985 * process.c (start_process_unwind):
9986 * process.c (Fstart_process_internal):
9987 * process.c (Fopen_multicast_group_internal):
9988 * process.c (Fset_process_window_size):
9989 * process.c (read_process_output):
9990 * process.c (send_process):
9991 * process.c (Fprocess_tty_name):
9992 * process.c (Fset_process_buffer):
9993 * process.c (Fprocess_buffer):
9994 * process.c (Fprocess_mark):
9995 * process.c (set_process_filter):
9996 * process.c (Fset_process_filter):
9997 * process.c (Fprocess_filter):
9998 * process.c (Fprocess_send_region):
9999 * process.c (Fprocess_send_string):
10000 * process.c (exec_sentinel):
10001 * process.c (Fset_process_sentinel):
10002 * process.c (Fprocess_sentinel):
10003 * process.c (status_notify):
10004 * process.c (Fprocess_status):
10005 * process.c (Fprocess_exit_status):
10006 * process.c (process_send_signal):
10007 * process.c (Fprocess_send_eof):
10008 * process.c (deactivate_process):
10009 * process.c (remove_process):
10010 * process.c (Fdelete_process):
10011 * process.c (kill_buffer_processes):
10012 * process.c (Fprocess_kill_without_query):
10013 * process.c (Fprocess_kill_without_query_p):
10015 * rangetab.c (Fget_range_table):
10016 * rangetab.c (Fput_range_table):
10017 * rangetab.c (Fremove_range_table):
10018 * rangetab.c (Fclear_range_table):
10020 * search.c (Fskip_chars_forward):
10021 * search.c (Fskip_chars_backward):
10022 * search.c (Fskip_syntax_forward):
10023 * search.c (Fskip_syntax_backward):
10024 * search.c (search_command):
10025 * search.c (Freplace_match):
10026 * search.c (Fregexp_quote):
10027 * select.c (Fown_selection_internal):
10028 * select.c (Fselection_owner_p):
10029 * select.c (Fselection_exists_p):
10030 * select.c (Fget_selection_internal):
10033 * symbols.c (Fintern):
10034 * symbols.c (Fintern_soft):
10035 * symbols.c (Funintern):
10036 * symbols.c (Fapropos_internal):
10037 * symbols.c (Fset_default):
10039 * syntax.c (Fsyntax_table_p):
10040 * syntax.c (Fcopy_syntax_table):
10041 * syntax.c (Fset_syntax_table):
10042 * syntax.c (Fchar_syntax):
10043 * syntax.c (syntax_match):
10044 * syntax.c (Fmatching_paren):
10045 * syntax.c (Fforward_word):
10046 * syntax.c (scan_lists):
10047 * syntax.c (Fscan_lists):
10048 * syntax.c (Fscan_sexps):
10049 * syntax.c (Fparse_partial_sexp):
10050 * toolbar.c (Fcheck_toolbar_button_syntax):
10053 * window.c (Fwindowp):
10054 * window.c (Fwindow_live_p):
10055 * window.c (Fwindow_point):
10056 * window.c (Fdelete_window):
10057 * window.c (Fnext_window):
10058 * window.c (Fprevious_window):
10059 * window.c (Fother_window):
10060 * window.c (window_loop):
10061 * window.c (Fget_lru_window):
10062 * window.c (Fsplit_window):
10063 * window.c (Fenlarge_window):
10064 * window.c (Fenlarge_window_pixels):
10065 * window.c (Fshrink_window):
10066 * window.c (Fshrink_window_pixels):
10067 * window.c (change_window_height):
10068 * window.c (Fwindow_configuration_p):
10069 * window.c (Fcurrent_window_configuration):
10071 * casefiddle.c (casify_object):
10072 * casefiddle.c (Fupcase):
10073 * casefiddle.c (Fdowncase):
10074 * casefiddle.c (Fcapitalize):
10075 * casefiddle.c (Fupcase_initials):
10076 * casefiddle.c (casify_region_internal):
10077 * casefiddle.c (casify_region):
10078 * casefiddle.c (Fupcase_region):
10079 * casefiddle.c (Fdowncase_region):
10080 * casefiddle.c (Fcapitalize_region):
10081 * casefiddle.c (Fupcase_initials_region):
10082 * casefiddle.c (Fupcase_word):
10083 * casefiddle.c (Fdowncase_word):
10084 * casefiddle.c (Fcapitalize_word):
10085 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
10086 Replace 0 with '\0' when working with bytes.
10087 Replace initial "(" with "\(" in docstrings.
10089 2000-11-01 Martin Buchholz <martin@xemacs.org>
10091 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
10093 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
10095 2000-10-31 Martin Buchholz <martin@xemacs.org>
10097 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
10099 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10101 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
10104 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10106 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
10107 (inhibit_auto_save_session): New variable.
10108 (vars_of_fileio): Declare and initialize them.
10109 * fileio.c (Fdo_auto_save): Don't create session file if
10110 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
10112 2000-10-31 Martin Buchholz <martin@xemacs.org>
10114 * sgiplay.c (play_internal): C++ compilability.
10115 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
10116 * callproc.c (Fold_call_process_internal):
10117 Remove unused vars `env', `first'.
10118 * scrollbar.c (update_scrollbar_instance):
10119 #### unused var `current_window'.
10120 * redisplay-tty.c: Put currently unused vars insert_mode_on,
10121 etc. within #ifdef NOT_YET.
10122 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
10123 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
10124 * specifier.c (specifier_instance):
10125 #### unused var `tag'.
10126 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
10128 2000-10-27 Martin Buchholz <martin@xemacs.org>
10130 * fns.c (Fbutlast):
10131 * fns.c (list_sort):
10132 * fns.c (Ffillarray):
10133 * fns.c (bytecode_nconc2):
10136 * fns.c (Fmapconcat):
10137 Be pedantically 64-bit correct. For the time when someone will
10138 want to have a list with length > 2**32.
10140 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
10141 Work around MIPSpro compiler bug.
10143 * process-unix.c (unix_kill_child_process): Add snarky comment.
10144 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
10146 * config.h.in: Oops, _getpt ==> _getpty
10148 2000-10-26 Martin Buchholz <martin@xemacs.org>
10152 Use void*, not char*, as return type of alloca().
10154 * alloc.c (free_marker): Side effect inside assert expression!
10156 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
10158 * mule-charset.c (Fset_charset_ccl_program): To check
10159 if the given ccl program is valid, use setup_ccl_program()
10160 instead of CHECK_VECTOR().
10161 (Fmake_charset): Likewise.
10163 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
10165 * faces.c (get_extent_fragment_face_cache_index):
10166 Fix cachel.merged_faces memory leak.
10168 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
10170 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
10171 Reset MSB of octets obtained by DECODE_SJIS
10172 because of the incompatibility with Emacs.
10173 (ccl_driver)<CCL_ENCODE_SJIS>:
10174 Set MSB of octets before passing them to
10175 ENCODE_SJIS because of the incompatibility
10178 2000-10-18 Daiki Ueno <ueno@unixuser.org>
10180 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
10181 (DECLARE_LRECORD): Undo the last change.
10182 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
10184 2000-10-17 Daiki Ueno <ueno@unixuser.org>
10186 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
10187 the implementation to lrecord_implementations_table.
10189 2000-10-14 Daiki Ueno <ueno@unixuser.org>
10191 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
10192 initial value of `lrecord_type_##c_name' and
10193 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
10194 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
10195 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
10196 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
10197 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
10199 2000-10-17 Martin Buchholz <martin@xemacs.org>
10201 * miscplay.c (sndcnv8S_2mono):
10202 (sndcnv2monounsigned):
10203 (sndcnvULaw_2linear):
10205 Remove implementation-defined behavior.
10207 2000-10-12 Martin Buchholz <martin@xemacs.org>
10209 * input-method-xlib.c: Warning suppression.
10211 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
10213 * mule-ccl.c: Sync up with Emacs 21.0.90.
10214 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
10216 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
10218 (ccl_driver[WriteMultibyteChar2]): Bug fix.
10219 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
10220 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
10221 leading char belongs to official 2-dimensional charset.
10222 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
10223 write the given character as is. Otherwise,
10224 if it is a multibyte char, convert it by
10225 non_ascii_set_charptr_emchar, then write it.
10226 (CCL_WRITE_STRING): Likewise.
10227 (ccl_get_compiled_code): New function.
10228 (setup_ccl_program): When ccl_prog is invalid,
10230 (Fregister_code_conversion_map): New function.
10231 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
10233 * mule-ccl.h: Sync up with Emacs 21.0.90.
10234 (Fregister_ccl_program): export it.
10236 * redisplay-msw.c (separate_textual_runs):
10237 If ccl program is not valid, don't do ccl conversion.
10239 * redisplay-x.c (separate_textual_runs): Ditto.
10241 * file-coding.c (Fmake_coding_system):
10242 When type is ccl and value is vector, register it
10243 with a proper symbol. And checks whether the
10244 given ccl program is valid.
10245 (mule_decode): When calling ccl_driver, if src indicates
10246 NULL pointer, set an empty string instead.
10247 (mule_encode): Likewise.
10249 2000-10-11 Martin Buchholz <martin@xemacs.org>
10251 The following large batch of changes gets us back to a state of
10252 C++ compilability. Extbyte is now a char, which means that
10253 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
10255 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
10257 * sound.c (Fplay_sound): Type correctness.
10259 * select-x.c (hack_motif_clipboard_selection): Type correctness.
10260 (x_get_window_property): Type correctness.
10261 (receive_incremental_selection): unsigned char ==> Extbyte
10262 (selection_data_to_lisp_data): unsigned char ==> Extbyte
10263 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
10264 (Fx_store_cutbuffer_internal): Type correctness.
10266 * process-unix.c (try_to_initialize_subtty): Type correctness.
10268 * objects-x.c (x_print_color_instance): Type correctness.
10269 (x_print_font_instance): Type correctness.
10270 (x_list_fonts): SExtbyte ==> Extbyte.
10271 (valid_x_font_name_p): SExtbyte ==> Extbyte.
10272 (x_find_charset_font): SExtbyte ==> Extbyte.
10273 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
10274 (truename_via_XListFonts): SExtbyte ==> Extbyte.
10275 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
10276 Use bufbyte_strcmp.
10278 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
10279 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
10280 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
10281 (BYTE_C0_P): Use bit ops for char-signedness safety.
10282 (BYTE_C1_P): Use bit ops for char-signedness safety.
10283 (CHARSET_BY_LEADING_BYTE):
10284 (CHARSET_BY_ATTRIBUTES):
10285 Always use inline function.
10286 Use type_checking_assert.
10289 * mule-charset.c (non_ascii_charptr_copy_char):
10290 Modify to work with both ASCII and non-ASCII characters.
10291 Improve docs and variable names.
10292 Replace over-clever fall-through switch with a simple loop.
10293 (Lstream_get_emchar_1):
10294 Replace over-clever fall-through switch with a simple loop.
10296 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10297 Warning suppression.
10299 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
10300 the return value of Lstream_getc, which could be EOF as well.
10302 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
10304 * lisp.h: Make Extbyte a char, not unsigned char, so that external
10305 APIs can be used on Extbytes without casts. Risky!
10306 (SExtbyte): Remove.
10307 (UExtbyte): Remove.
10309 * input-method-xlib.c (XIM_init_device):
10310 Use Xlib.h instead of IntrinsicP.h.
10311 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
10312 which will break in X11R7.
10313 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
10314 to call XRegisterIMInstantiateCallback with correct types.
10316 * gui-x.c (button_item_to_widget_value): Type correctness.
10318 * glyphs.c (bitmap_to_lisp_data): Type correctness.
10320 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
10321 (xbm_instantiate_1): Type correctness.
10322 (BUILD_GLYPH_INST): Type correctness.
10324 * fileio.c (Fsubstitute_in_file_name): Type correctness.
10327 (decode_coding_sjis):
10328 (decode_coding_big5):
10329 (decode_coding_ucs4):
10330 (decode_coding_utf8):
10331 (decode_coding_iso2022):
10332 (decode_coding_no_conversion):
10333 Make all decoding functions take an Extbyte * arg.
10334 (encode_coding_sjis):
10335 (encode_coding_big5):
10336 (encode_coding_ucs4):
10337 (encode_coding_utf8):
10338 (encode_coding_iso2022):
10339 (encode_coding_no_conversion):
10340 Make all encoding functions take a Bufbyte * arg.
10341 Use size_t instead of unsigned int for memory sizes.
10342 Only cast to unsigned char whenever dereferencing Extbyte *.
10344 * doc.c (unparesseuxify_doc_string): Type correctness.
10346 * console-x.c (split_up_display_spec):
10347 Rewrite without using details of internal string representation.
10348 (x_semi_canonicalize_device_connection): Type correctness.
10351 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
10352 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
10353 (HAVE_XFREE386): Removed.
10355 * buffer.h (DEC_CHARPTR): `const' correctness.
10356 (bufbyte_strcmp): New.
10357 (bufbyte_memcmp): New.
10359 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
10361 * buffer.h (XCHAR_OR_CHAR_INT):
10362 Always use inline function.
10363 Remove redundant type checking assert() - XINT will abort quite nicely.
10365 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
10367 * search.c (Freplace_match): Set newtext to an empty string.
10369 2000-10-10 Martin Buchholz <martin@xemacs.org>
10371 * s/decosf1-3.h: Remove #include of stropts.h
10372 * s/ptx.h: Remove #include of stropts.h
10373 * s/usg5-4.h: Remove #include of stropts.h
10376 Use stropts.h, not sys/stropts.h.
10377 Use strtio.h, not sys/strtio.h.
10379 2000-10-04 Martin Buchholz <martin@xemacs.org>
10381 * XEmacs 21.2.36 is released.
10383 2000-09-21 Andy Piper <andy@xemacs.org>
10385 * glyphs-x.c (x_redisplay_widget): make sure non-structural
10386 changes still involve copying the widget tree.
10387 (update_widget_face): make sure a change is register in the widget
10388 tree. Call update_tab_widget_face appropriately.
10389 (update_tab_widget_face): ditto.
10390 (x_tab_control_redisplay): make sure non-structural changes still
10391 involve copying the widget tree.
10393 2000-08-31 Daiki Ueno <ueno@unixuser.org>
10395 * lread.c (locate_file): Check the path element is non-nil.
10397 2000-10-02 Martin Buchholz <martin@xemacs.org>
10399 * lisp.h: Warning suppression for SCO compilers.
10401 * redisplay-tty.c (reset_tty_modes): Fix crash.
10402 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
10404 2000-09-27 Martin Buchholz <martin@xemacs.org>
10406 Big signal/process handling overhaul. Bugs fixed:
10407 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
10408 M-x comint-kill-subjob should work for both values nil and t of
10409 process-connection-type. It was broken on most platforms.
10410 Testing on Irix and Cygwin still needed. Other plaforms tested.
10411 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
10412 * process-unix.c: Signal/Process handling overhaul.
10413 (pty_name): make 64 bytes, as `expect' does, for paranoia.
10414 (allocate_pty): Use all available modern methods of allocating
10415 ptys, falling back to old style BSD allocation as a last resort.
10416 Use allegedly more secure Unix98 pty allocation by default.
10417 (allocate_pty_the_old_fashioned_way): New. the last resort.
10418 (unix_create_process): Push ptem, ldterm, ttcompat where
10419 available. Autoconfiscate.
10420 (try_to_initialize_subtty): New.
10421 (unix_kill_child_process): Proper signal handling for ptys on most
10422 platforms, using special knowledge of AIX, BSD, etc...
10423 (unix_create_process): Always disconnect_controlling_terminal() for
10424 subprocesses, whether using ptys or not.
10425 * process.h: Remove old getpt-dependent PTY code.
10426 * process.c (Fprocess_send_signal): New, obvious generic function.
10427 (decode_signal): New.
10428 (Finterrupt_process):
10432 (Fcontinue_process):
10433 (Fsignal_process): Use decode_signal.
10434 (process_send_signal):
10435 Many docstring corrections.
10436 Allow any signal to be sent to a process object.
10437 * config.h.in: Add symbols for big signal/process overhaul.
10438 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
10439 * sysproc.h: Include process-related headers, where available:
10440 sys/stropts.h sys/strtio.h pty.h libutil.h
10448 Remove old S&M pty stuff.
10449 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
10450 * systty.h: Simplify cpp hackery, improve comments.
10451 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
10453 * editfns.c (Fformat_time_string):
10454 Be a little more paranoid with the return value of ctime.
10456 * fileio.c (check_executable):
10458 Use symbolic constants X_OK, W_OK.
10460 * console-x.c (split_up_display_spec): Fix a warning.
10462 2000-10-02 Martin Buchholz <martin@xemacs.org>
10464 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
10465 * ntproc.c (sys_spawnve): make_string ==> build_string
10466 Small clarity improvements.
10468 2000-09-30 Martin Buchholz <martin@xemacs.org>
10470 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
10472 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
10474 * config.h.in (HAVE_STRCASECMP): Remove.
10476 2000-09-29 Martin Buchholz <martin@xemacs.org>
10478 * redisplay-output.c (redisplay_output_pixmap):
10479 Cleaner and possibly more 64-bit correct code.
10481 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
10483 * dumper.c (pdump_load_finish): move restoration of
10484 `noninteractive1' to emacs.c (main_1).
10485 * emacs.c (main_1): protect LISP-visible command-line flags
10488 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
10490 * Makefile.in.in (versionclean): Use EXE_TARGET and
10491 DUMP_TARGET instead of literal program names.
10493 2000-09-20 Martin Buchholz <martin@xemacs.org>
10495 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
10497 2000-09-19 Martin Buchholz <martin@xemacs.org>
10499 * *: Spelling mega-patch
10501 2000-09-19 Martin Buchholz <martin@xemacs.org>
10503 * fns.c (bad_bad_turtle):
10504 Delete "Eek!" comment, since we fixed the bug to which it refers.
10506 2000-09-16 Martin Buchholz <martin@xemacs.org>
10508 * alloca.c: Replace REGISTER with register.
10510 2000-09-16 Daiki Ueno <ueno@unixuser.org>
10512 * file-coding.c (ucs_to_char): Use countof.
10514 2000-09-16 Martin Buchholz <martin@xemacs.org>
10516 * file-coding.c: (ucs_to_char):
10517 (complex_vars_of_file_coding):
10518 Use countof instead of sizeof.
10519 Use CHECK_NATNUM instead of CHECK_INT.
10521 * sysdep.c (strcasecmp): Remove.
10522 * device-x.c (ascii_strcasecmp): New.
10523 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
10524 Avoid using non-standard non-portable strcasecmp.
10526 2000-09-16 Martin Buchholz <martin@xemacs.org>
10528 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
10529 * font-lock.c: remove reference to emacsfns.h.
10530 * search.c: small doc improvement.
10531 * event-Xt.c: correct file names in comments.
10532 * console-x.h Correct file names in comments.
10533 * frame.c: Correct file names in comments.
10534 * event-stream.c: remove Energize from comments.
10536 2000-09-15 Martin Buchholz <martin@xemacs.org>
10538 * symeval.h (DEFERROR_STANDARD):
10541 (DEFSYMBOL_NO_DUMP):
10542 (DEFSYMBOL_MULTIWORD_PREDICATE):
10543 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
10545 The construct &##name is not sensible C.
10546 Fixes compilation errors with Unixware native compiler.
10548 2000-09-14 Martin Buchholz <martin@xemacs.org>
10550 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
10551 (next_frame_internal): Removed. We now just have next_frame.
10553 Write a simpler and cleaner one-pass algorithm.
10554 Remove called_from_delete_device arg and #ifdefed-out code.
10556 Renamed from prev_frame. Update callers.
10557 Cleaned up to have an analogous implementation to next_frame.
10558 (other_visible_frames_internal): Remove the
10559 called_from_delete_device bogus arg, and hence, remove this
10560 function. Just use other_visible_frames().
10562 * window.c (Fnext_window):
10563 Prettify docstring.
10564 Since next_frame() is guaranteed to return a frame, remove check
10565 for nil inserted in previous patch.
10566 (Fprevious_window):
10567 Prettify docstring.
10568 Make code look more like Fnext_window.
10570 Respect the `console' arg when iterating through windows.
10571 Fixes bug: (get-buffer-window buffer t device) not respecting
10573 This function needs more work, as others have pointed out.
10575 * frame.h: Rename prev_frame to previous_frame.
10576 device_matches_console_spec no longer takes a `frame' arg.
10581 Use EMACS_BLOCK_SIGNAL instead of sigblock.
10582 From "Golubev I. N." <gin@mo.msk.ru>.
10584 * make-src-depend: Fix typo.
10586 2000-09-13 Martin Buchholz <martin@xemacs.org>
10588 * window.c (Fnext_window):
10589 next_frame() might return nil, not a frame.
10591 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
10593 * frame.c (next_frame_internal):
10594 We've passed a frame if we've passed its device.
10596 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
10597 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
10599 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
10601 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
10602 Allow option to suppress accelerators in menu/dialog items.
10603 (populate_or_checksum_helper): Pass dialog title through above.
10605 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
10607 * event-msw.c (mswindows_key_to_emacs_keysym):
10608 Add "pause" key, fix "menu" key.
10610 2000-09-09 Martin Buchholz <martin@xemacs.org>
10612 * eval.c (reinit_vars_of_eval):
10613 Increase max_lisp_eval_depth to 1000,
10614 required for thai-xtis.el to byte-compile under some circumstances.
10616 2000-09-04 Martin Buchholz <martin@xemacs.org>
10618 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
10619 From Kenichi Handa.
10621 2000-09-01 Martin Buchholz <martin@xemacs.org>
10623 * make-src-depend: Make the generated Makefiles smaller.
10625 * s/hpux.h (SETUP_SLAVE_PTY):
10626 Provide a %d in the format string for the errno argument.
10628 * editfns.c (Ftemp_directory):
10630 Avoid buffer overrun on very long file name.
10632 * input-method-xlib.c (XIM_init_device):
10633 6th parameter of XRegisterIMInstantiateCallback has different
10634 pointer types on different OSes, so simply cast to (void *).
10636 * unexhp9k800.c: Warning fixes. Fiddly changes.
10638 * sysdll.c (dll_open):
10639 shl_load will hang hard if passed a NULL filename.
10640 Simply return NULL for compatibility with dlopen.
10641 * sysdll.c: Conform to XEmacs coding standards.
10643 * sysdep.c (get_pty_max_bytes):
10644 Support pty input lines longer than 512 bytes on HP-UX 10.20.
10646 2000-08-31 Martin Buchholz <martin@xemacs.org>
10648 * tooltalk.c: Add #include <syssignal.h>
10650 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
10652 * s/hpux.h: Don't use undefined function sigunblock().
10654 2000-08-31 Martin Buchholz <martin@xemacs.org>
10656 * config.h.in: Add HAVE_BALLOON_HELP.
10657 * emacs.c: Use HAVE_BALLOON_HELP.
10658 * Makefile.in.in (x_objs):
10659 Make Balloon Help conditional on finding shape.h.
10661 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
10663 * syntax.c (regex_emacs_buffer_p): New variable.
10664 * syntax.h (regex_emacs_buffer_p): extern.
10665 * search.c (looking_at_1):
10667 (fast_string_match):
10668 (search_buffer): Set regex_emacs_buffer_p.
10669 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
10670 when before_dot, at_dot, after_dot.
10672 2000-08-23 Andy Piper <andy@xemacs.org>
10674 * gui-x.c (popup_selection_callback): Only set action_occurred
10675 when we really have an image instance.
10676 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
10678 2000-08-23 Andy Piper <andy@xemacs.org>
10680 * gui-msw.c (mswindows_handle_gui_wm_command): set
10682 * gui-x.c (popup_selection_callback): ditto.
10684 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
10685 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
10686 (struct Lisp_Image_Instance): add action_occurred flag.
10688 * glyphs.c (redisplay_subwindow): use action_occurred flag.
10689 (image_instance_changed): ditto.
10690 (reset_frame_subwindow_instance_cache): only unmap windows - do
10691 not remove them from the cache also.
10693 * glyphs-widget.c (tab_control_update): better debug.
10694 (progress_gauge_update): ditto.
10695 (layout_update): ditto.
10696 (layout_instantiate): ditto.
10697 (tab_control_order_only_changed): cope with null pending items.
10699 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
10700 debug. Force selection of an item when an action occurred. Cope
10701 with null pending_items.
10702 (mswindows_progress_gauge_redisplay): better debug.
10703 * glyphs-x.c (x_tab_control_redisplay): ditto.
10705 * redisplay.c (redisplay_frame): reset the frame cache if the
10708 * window.c (Fset_window_configuration): potentially re-enable
10710 (window_unmap_subwindows): need to finalize instances here since
10711 it is only used in mark_window_as_deleted.
10713 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
10715 * nas.c (SndOpenDataForReading):
10716 nas.c (WaveOpenDataForReading):
10717 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
10718 Somehow escaped from the 2000-08-14 patch.
10720 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
10722 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
10723 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
10725 2000-08-21 Andy Piper <andy@xemacs.org>
10727 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
10728 window if it is not already displayed.
10730 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
10731 it is not already displayed.
10733 * window.c (Fset_window_configuration): don't reset the frame
10736 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
10737 instances from the frame cache if we are actually finalizing them.
10738 (reset_frame_subwindow_instance_cache): reset frame cache only
10739 after unmapping everything.
10740 (map_subwindow): set displayed flag after mapping.
10742 2000-08-21 Martin Buchholz <martin@xemacs.org>
10744 * data.c (indirect_function):
10745 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
10747 * eval.c (function_argcount):
10748 Use original function when signaling errors.
10750 2000-08-18 Andy Piper <andy@xemacs.org>
10752 * frame.c (delete_frame_internal): use new
10753 free_frame_subwindow_instances name.
10755 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
10756 (add_tab_item): make return type correct.
10757 (mswindows_tab_control_instantiate): assert index of tab.
10758 (mswindows_tab_control_redisplay): Re-code to use
10759 gui_item_equal_sans_selected and gui_item_list_find_selected.
10761 * glyphs-widget.c (tab_control_update): Correct comment.
10763 * window.c (window_unmap_subwindows): use new
10764 unmap_subwindow_instance_cache_mapper.
10765 (window_unmap_subwindows_cache_mapper): deleted.
10766 (Fset_window_configuration): comparisons should now be with
10767 EQ. Preserve the subwindow instance cache across configuration
10769 (allocate_window): ditto.
10770 (make_dummy_parent): ditto.
10772 * glyphs.c (free_frame_subwindow_instances): rename from
10773 free_frame_subwindow_instance_cache. finalize all instances rather
10774 than just those in the display cache.
10775 (finalize_all_subwindow_instances): walk windows unmapping and
10776 finalizing subwindows.
10777 (unmap_subwindow_instance_cache_mapper): moved from
10778 window.c. Allow finalization as well as unmapping.
10780 * gui.c (gui_item_list_find_selected): new function.
10782 * gui.h (gui_item_list_find_selected): declare.
10784 * glyphs-x.c (x_tab_control_redisplay): pick tab
10785 explicitly. Re-code to use gui_item_equal_sans_selected and
10786 gui_item_list_find_selected.
10788 * glyphs-x.h: add lwlib-utils.h
10790 * buffer.c (Frecord_buffer): undo previous change.
10792 2000-08-09 Vin Shelton <acs@xemacs.org>
10794 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
10795 possible. Create temporary files more securely. The patch was
10796 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
10797 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
10798 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
10801 2000-08-07 Ben Wing <ben@xemacs.org>
10803 * getloadavg.c: remove duplicate (and windows-breaking)
10804 includes of fcntl.h and sys/file.h.
10806 * nt.c: remove duplicate getloadavg() definition.
10808 * sysdll.h (Qdll_filename_encoding): add missing stand-in
10811 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
10813 * eval.c (function_argcount): If function needs to be autoloaded
10814 actually use the loaded definition.
10817 2000-08-05 Ben Wing <ben@xemacs.org>
10819 * getloadavg.c: add prototype for getloadavg(). remove
10820 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
10821 of the code). remove duplicate header includes.
10823 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
10825 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
10826 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
10827 useful load average.
10829 * alloc.c (reinit_alloc_once_early): removed references to
10830 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
10831 the lisp vars are the only things referencing the malloc_sbrk_*
10832 vars, and they were already if 0'd out. these vars only exist
10833 in the older malloc.c, which is basically unused, and they're
10834 only for informational purposes.
10836 * m\*.h: removed useless VIRT_ADDR_VARIES.
10838 * m\powerpc.h: removed stray NO_ARG_ARRAY.
10840 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
10842 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
10843 color if the image is a mono pixmap.
10845 2000-07-30 Ben Wing <ben@xemacs.org>
10847 * Makefile.in.in (release):
10850 * buffer.c (directory_is_current_directory):
10851 * dired-msw.c (mswindows_get_files):
10853 * dired.c (Fdirectory_files):
10854 * dired.c (file_name_completion_stat):
10855 * dired.c (Ffile_attributes):
10856 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
10857 preprocessor tricks, to avoid problems on some machines
10860 * callproc.c (egetenv): GC docs.
10863 * console-msw.h (struct mswindows_dialog_id):
10864 * lrecord.h (lrecord_type):
10865 New object for use with MSW dialogs.
10867 * console.h (struct console_methods):
10868 New enable/disable frame methods, for proper modal dialogs.
10870 * device-msw.c (msprinter_default_printer): Fix to follow
10871 proper Mule conventions.
10874 * device-msw.c (signal_open_printer_error):
10875 * device-msw.c (msprinter_init_device):
10876 * device-msw.c (ensure_not_printing):
10877 * device-msw.c (plist_get_margin):
10878 * device-msw.c (Fmsprinter_select_settings):
10879 * device-msw.c (finalize_devmode):
10880 * device-msw.c (Fmsprinter_settings_despecialize):
10881 * device-msw.c (signal_enum_priner_error):
10882 * extents.c (decode_extent):
10883 * extents.c (decode_map_extents_flags):
10884 * extents.c (decode_extent_at_flag):
10885 * extents.c (Fextent_at):
10886 * extents.c (Fextents_at):
10887 * extents.c (symbol_to_glyph_layout):
10888 [[[[2]]]] Use structured errors.
10891 * dialog-msw.c (mswindows_is_dialog_msg):
10892 * dialog-msw.c (mark_mswindows_dialog_id):
10893 * dialog-msw.c (dialog_proc):
10894 * dialog-msw.c (handle_question_dialog_box):
10895 * dialog-msw.c (syms_of_dialog_mswindows):
10896 Define new object to clean up marking; use it as a dialog identifier.
10897 Call new delete-dialog-box-hook.
10899 * dialog-x.c (dbox_selection_callback):
10900 * dialog-x.c (dbox_descriptor_to_widget_value):
10901 * dialog-x.c (x_make_dialog_box_internal):
10902 Call new delete-dialog-box-hook.
10906 * dialog.c (syms_of_dialog):
10907 * dialog.c (vars_of_dialog):
10908 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
10911 * eval.c (signal_call_debugger):
10912 when noninteractive, output stack traces on the console instead
10913 of in a (never-seen) buffer.
10915 * eval.c (signal_type_error):
10916 * eval.c (invalid_argument_2):
10918 new funs for use w/structured errors.
10921 * event-Xt.c (x_to_emacs_keysym):
10922 * event-Xt.c (describe_event):
10923 * event-Xt.c (emacs_Xt_event_handler):
10924 * event-Xt.c (vars_of_event_Xt):
10926 * event-msw.c (mswindows_wnd_proc):
10927 * event-msw.c (vars_of_event_mswindows):
10928 rename {x,mswindows}-debug-events to debug-{}-events for
10929 consistency with other debug-foo variables.
10932 document next-event more clearly.
10934 * fileio.c (Ffile_name_directory):
10935 * fileio.c (Ffile_name_nondirectory):
10936 * fileio.c (Funhandled_file_name_directory):
10937 * fileio.c (file_name_as_directory):
10938 * fileio.c (Ffile_name_as_directory):
10939 * fileio.c (directory_file_name):
10940 * fileio.c (Fdirectory_file_name):
10941 * fileio.c (Fmake_temp_name):
10942 * fileio.c (Ffile_truename):
10943 * fileio.c (Fsubstitute_in_file_name):
10944 * fileio.c (expand_and_dir_to_file):
10945 * fileio.c (barf_or_query_if_file_exists):
10946 * fileio.c (check_executable):
10947 * fileio.c (Ffile_exists_p):
10948 * fileio.c (Ffile_writable_p):
10949 * fileio.c (Ffile_directory_p):
10950 * fileio.c (Ffile_regular_p):
10951 * fileio.c (Ffile_modes):
10952 * fileio.c (Ffile_newer_than_file_p):
10953 * fileio.c (Fverify_visited_file_modtime):
10954 * fileio.c (Fset_visited_file_modtime):
10955 * fileio.c (auto_save_1):
10960 * frame-msw.c (mswindows_init_frame_1):
10961 * frame-msw.c (mswindows_enable_frame):
10962 * frame-msw.c (error_frame_unsizable):
10963 * frame-msw.c (msprinter_init_frame_1):
10964 * frame-msw.c (msprinter_init_frame_3):
10965 * frame-msw.c (console_type_create_frame_mswindows):
10967 implement new enable/disable frame methods.
10970 * frame-x.c (x_enable_frame):
10971 * frame-x.c (console_type_create_frame_x):
10972 implement new enable/disable frame methods.
10975 * frame.c (Fdisable_frame):
10976 * frame.c (syms_of_frame):
10977 * frame.h (struct frame):
10978 implement new enable/disable frame methods/functions.
10983 * glyphs-msw.c (mswindows_widget_instantiate):
10984 comment that initial-focus should be implemented.
10987 * glyphs-widget.c (check_valid_instantiator):
10988 * glyphs-widget.c (check_valid_orientation):
10989 * glyphs-widget.c (check_valid_tab_orientation):
10990 * glyphs-widget.c (check_valid_justification):
10991 * glyphs-widget.c (check_valid_border):
10992 * glyphs-widget.c (check_valid_callback):
10993 * glyphs-widget.c (check_valid_int_or_function):
10994 * glyphs-widget.c (check_valid_string_or_vector):
10995 * glyphs-widget.c (check_valid_item_list_1):
10996 * glyphs-widget.c (widget_validate):
10997 * glyphs-widget.c (combo_box_validate):
10998 * glyphs-widget.c (widget_instantiate):
10999 * glyphs-widget.c (syms_of_glyphs_widget):
11000 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
11001 * glyphs-widget.c (image_instantiator_combo_box):
11002 * glyphs-widget.c (image_instantiator_scrollbar):
11003 * glyphs-widget.c (image_instantiator_tab_control):
11004 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
11006 support (unimplemented) keyword initial-focus.
11007 reindent long macros.
11009 * glyphs-x.c (x_redisplay_widget):
11010 * glyphs-x.c (x_button_instantiate):
11011 * glyphs-x.c (x_button_redisplay):
11012 * glyphs-x.c (x_progress_gauge_instantiate):
11013 * glyphs-x.c (x_edit_field_instantiate):
11014 * glyphs-x.c (x_combo_box_instantiate):
11015 * glyphs-x.c (x_tab_control_instantiate):
11016 * glyphs-x.c (x_label_instantiate):
11018 * gui-x.c (button_item_to_widget_value):
11019 * gui-x.c (gui_items_to_widget_values_1):
11020 * gui-x.c (gui_item_children_to_widget_values):
11021 * gui-x.c (gui_items_to_widget_values):
11023 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11024 add new flag to gui-parsing routines to indicate whether
11025 accelerator specs should be supported.
11027 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
11029 * glyphs.h (struct Lisp_Image_Instance):
11030 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
11031 add initial-focus flag.
11034 * gui.c (syms_of_gui):
11035 * gui.c (vars_of_gui):
11036 clean up menu-no-selection-hook.
11039 support delete-dialog-box-hook.
11041 * lread.c (Fload_internal):
11042 * lread.c (locate_file_in_directory_mapper):
11046 * lrecord.h (struct toolbar_button):
11047 * lrecord.h (syms_of_toolbar):
11048 document how to create a new object.
11050 * menubar-msw.c (mswindows_char_is_accelerator):
11051 may be called on frames w/o menus.
11053 * menubar.c (vars_of_menubar):
11054 clean up :filter docs.
11061 * process-nt.c (validate_signal_number):
11062 * process-nt.c (signal_cannot_launch):
11063 * process-nt.c (nt_create_process):
11064 * process-nt.c (nt_send_process):
11065 * process-nt.c (nt_kill_child_process):
11066 * process-nt.c (nt_open_network_stream):
11067 * process-nt.c (syms_of_process_nt):
11069 delete quote-handling. call new lisp code that does it better.
11071 * process-unix.c (connect_to_file_descriptor):
11072 * process-unix.c (allocate_pty):
11073 * process-unix.c (unix_send_process):
11074 * process-unix.c (unix_kill_child_process):
11075 * process-unix.c (unix_open_network_stream):
11076 * process-unix.c (unix_open_multicast_group):
11080 * process.c (Fstart_process_internal):
11081 (2). need to canonicalize process path even if absolute.
11083 * select-msw.c (symbol_to_ms_cf):
11084 * select-msw.c (ms_cf_to_symbol):
11085 * select-msw.c (cf_is_autofreed):
11086 * select-msw.c (mswindows_destroy_selection):
11088 * select.c (syms_of_select):
11090 support dibv5, fix bugs. (from Mike Alexander)
11092 * select.c (Fget_selection_internal):
11093 * select.c (select_convert_out):
11096 * sysdep.c (xemacs_stat):
11099 * sysdep.c (mkdir):
11100 * sysdep.c (rmdir):
11101 but keep original stat() here because we provide encapsulation
11105 * sysfile.h (fstat):
11106 remove stat garbage.
11109 fix X/MSW conflict.
11110 don't include tchar.h. it's inappropriate because it makes
11111 compile-time distinctions when we want runtime distinctions.
11112 (we provide our own tchar replacements)
11115 use default object printer for toolbar-button.
11118 make sure we don't encapsulate.
11120 * window.c (vars_of_window):
11121 emphasize that temp-buffer-show-hook is obsolete.
11123 2000-08-05 Martin Buchholz <martin@xemacs.org>
11125 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
11126 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
11128 * events.c (Fevent_timestamp_lessp):
11129 Not 64-bit clean. Use EMACS_INT, not int.
11131 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
11133 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
11134 unsigned int and changed the last enum to
11135 lrecord_type_last_built_in_type.
11136 (lrecord_implementations_table): changed prototype to know how
11137 long the array is supposed to be.
11138 (lrecord_type_count): new unsigned int to keep track of the
11139 current number of lisp lrecord types.
11140 (DEFINE_EXTERNAL_LRECORD):
11141 (DECLARE_EXTERNAL_LRECORD): Added these two for external
11142 dynamic-modules to declare new lisp types. They are the same
11143 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
11144 int for each new type, and increment lrecord_type_count by 1.
11146 * alloc.c (lrecord_implementations_table): Changed to reference
11147 lrecord_type_last_built_in_type for the size of the array.
11148 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
11150 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
11152 * glyphs.h (check_valid_item_list): Renamed from
11153 check_valid_item_list_1.
11155 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
11157 * select.c (Qselect_coerce): New.
11158 * select.c (Vselection_coercion_alist): New.
11159 * select.c (syms_of_select): Declare.
11160 * select.c (get-selection-internal): Use it.
11161 Use the new select-coerce functionality.
11163 * select.c (select_coerce): New.
11164 * select.h (select_coerce): Declare.
11165 New function to coerce one type of data into another.
11167 2000-08-03 Martin Buchholz <martin@xemacs.org>
11169 * callproc.c (Fcall_process_internal):
11170 (Fcall_process_internal):
11171 * process-unix.c (unix_create_process):
11172 Save and restore the value of errno, so that error messages are accurate.
11174 2000-08-01 Martin Buchholz <martin@xemacs.org>
11176 * elhash.c (print_hash_table):
11177 Fix printing of hash tables to also use `key-and-value' instead of `t'.
11178 Prettify docstrings and indentation.
11180 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
11182 * window.c (Fwindow_pixel_edges): Subtract frame border and
11185 2000-07-31 Andy Piper <andy@xemacs.org>
11187 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
11188 will acknowledge the change.
11190 * glyphs.h: declare tab_control_order_only_changed.
11192 * glyphs-x.c (x_tab_control_redisplay): use
11193 tab_control_order_only_changed.
11195 * glyphs-widget.c (tab_control_order_only_changed): new function.
11197 * glyphs-msw.c (mswindows_tab_control_redisplay): use
11198 tab_control_order_only_changed.
11200 * gui.c (gui_item_equal_sans_selected): new function.
11201 (gui_item_equal): use it.
11203 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
11204 :properties in favor of :items..
11206 * glyphs-widget.c (check_valid_item_list): rename from
11207 check_valid_item_list_1.
11208 (check_valid_item_list_1): renamed.
11209 (combo_box_validate): deprecate :properties in favor of :items.
11210 (widget_instantiate): ditto.
11211 (tab_control_update): ditto.
11212 (image_instantiator_combo_box): ditto.
11213 (image_instantiator_tree_view): ditto.
11214 (image_instantiator_tab_control): ditto.
11215 (layout_post_instantiate): remove dead code.
11217 * print.c (debug_print_no_newline): only write to debugger if in
11220 * elhash.c (Fmake_hash_table): update doc string.
11222 * event-msw.c (mswindows_wnd_proc): don't allow processing of
11223 messages whilst in GC. This at least stops XEmacs crashing but has
11224 the potential for wierd behaviour.
11226 2000-07-31 Martin Buchholz <martin@xemacs.org>
11229 Make existence of s&m files optional.
11231 * s/bsd386.h: Remove HAVE_GETLOADAVG.
11232 * s/freebsd.h: Remove HAVE_GETLOADAVG.
11233 * s/gnu.h: Remove HAVE_GETLOADAVG.
11234 * s/netbsd.h: Remove HAVE_GETLOADAVG.
11235 * s/sol2.h: Remove HAVE_GETLOADAVG.
11236 * lisp.h: Remove getloadavg() declaration.
11238 Include <sys/loadavg.h> if available.
11239 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
11240 * config.h.in: Group together getloadavg()-related macros.
11241 Use only configure-time tests to detect getloadavg().
11243 2000-07-30 Martin Buchholz <martin@xemacs.org>
11245 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
11247 2000-07-25 Andy Piper <andy@xemacs.org>
11249 * syswindows.h: add tchar.h for native builds.
11251 * frame.c (syms_of_frame): remove set-glyph-image.
11253 * general-slots.h: add Qset_glyph_image.
11255 * glyphs-widget.c (layout_update): add domain arg to
11257 (syms_of_glyphs_widget): remove set-glyph-image.
11259 2000-07-23 Ben Wing <ben@xemacs.org>
11261 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
11264 2000-07-22 Andy Piper <andy@xemacs.org>
11266 * symsinit.h: add syms_of_win32().
11268 * gui-msw.c (syms_of_gui_mswindows): remove
11269 Fmswindows_shell_execute.
11270 (Fmswindows_shell_execute): moved to win32.c.
11272 * emacs.c (main_1): add syms_of_win32 ().
11274 * win32.c (init_potentially_nonexistent_functions): rewrite in
11275 compiler-friendly terms.
11276 (Fmswindows_shell_execute): move here from gui-msw.c.
11277 (syms_of_win32): new.
11279 * device-msw.c (Fmswindows_printer_list): clean up args to
11281 Don't include tchar under cygwin or mingw.
11282 (msprinter_default_printer): make cygwin-friendly.
11284 2000-07-21 Andy Piper <andy@xemacs.org>
11286 * glyphs-widget.c (image_instantiator_tree_view): use tab
11287 control's update function.
11288 (layout_property): new function. Retrieve items.
11290 * glyphs-msw.c (mswindows_tree_view_redisplay): new
11291 function. Re-populate the tree view from the pending items.
11293 * glyphs.c (instantiate_image_instantiator): Make sure the domain
11294 is designated the parent if the domain is an image instance. This
11295 is needed so that dirtiness can be cascade up the hierarchy and
11296 thus for layout children to be redisplayed correctly.
11297 (allocate_image_instance): rename glyph -> parent.
11299 * redisplay.h: change redisplay_output_layout signature.
11301 * redisplay-msw.c (mswindows_output_display_block): use domain
11304 * redisplay-x.c (x_output_display_block): use domain arg.
11306 2000-07-10 Andy Piper <andy@xemacs.org>
11308 * window.c (Fset_window_configuration): add comment.
11310 * redisplay-output.c (compare_runes):
11311 (redisplay_output_subwindow): redisplay rather than update subwindow.
11312 (redisplay_output_layout): ditto.
11314 * redisplay-msw.c (mswindows_frame_output_end):
11315 (mswindows_frame_output_end): make defer window pos optional.
11317 * lisp.h: add Flast.
11319 * glyphs.h (struct image_instantiator_methods): add dest_mask top
11320 normalize method. Change update method to be for changed
11321 instantiators. Add redisplay method. Change signature of layout
11323 (struct Lisp_Image_Instance): add instantiator.
11324 (IMAGE_INSTANCE_INSTANTIATOR): new.
11325 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
11326 (XIMAGE_INSTANCE_INSTANTIATOR): new.
11327 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
11330 (find_instantiator_differences): new function.
11331 (Fset_instantiator_property): new convenience function.
11332 (check_image_instance_structure): strictly check for vector
11334 (normalize_image_instantiator): make non-static.
11335 (instantiate_image_instantiator): pass on dest_mask and use new
11336 signatures for image_instance_layout and friends.
11337 (mark_image_instance): mark the instantiator. Mark the subwindow
11338 face not the widget face.
11339 (image_instance_equal): add instantiator.
11340 (image_instance_hash): ditto.
11341 (allocate_image_instance): ditto.
11342 (Fset_image_instance_property): removed.
11343 (Fimage_instance_file_name): ditto.
11344 (Fcolorize_image_instance): ditto.
11345 (image_instance_layout): add offsets to be set.
11346 (update_image_instance): new function. update an image instance
11347 from its changed instantiator.
11348 (inherit_normalize): add dest_mask.
11349 (xbm_normalize): ditto.
11350 (xface_normalize): ditto.
11351 (xpm_normalize): ditto.
11352 (text_update): set_property -> update.
11353 (image_instantiate): use the glyph identity as a hash key, not the
11355 (glyph_width): use new image_instance_layout signature.
11356 (glyph_ascent): ditto.
11357 (glyph_descent): ditto.
11358 (glyph_height): ditto.
11359 (glyph_query_geometry): ressurrect.
11360 (glyph_layout): ditto.
11361 (redisplay_subwindow): update -> redisplay.
11362 (syms_of_glyphs): add Fset_instantiator_property.
11363 (image_instantiator_format_create): set_property -> update.
11366 (autodetect_normalize): add dest_maks to signature.
11367 (x_redisplay_subwindow): update -> redisplay.
11368 (x_redisplay_widget): ditto.
11369 (x_button_redisplay): ditto.
11370 (x_progress_gauge_redisplay): ditto.
11371 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
11373 (console_type_create_glyphs_x): update -> redisplay.
11374 (image_instantiator_format_create_glyphs_x): ditto.
11377 (check_valid_instantiator): disallow glyphs in the instantiator,
11378 they must now be vectors.
11379 (check_valid_instantiator_list): ditto.
11380 (glyph_instantiator_to_glyph): use internal symbol rather than
11382 (widget_update): renamed from widget_set_property. Call cascaded
11384 (redisplay_widget): renamed from update_widget.
11385 (widget_layout): image_instance_layout now takes position as well
11387 (widget_normalize): ditto.
11388 (widget_instantiate): ditto.
11389 (tab_control_query_geometry) ditto.:
11390 (tab_control_update): renamed from tab_control_set_property.
11391 (progress_gauge_update): set_property -> update.
11392 (layout_normalize): rewrite so that child instantiators are
11394 (layout_update): new function. Create glyphs from the normalized
11395 children and cope with any other layout keywords. We do not
11396 instantiate children here that will be take care of by
11397 redisplay_output_layout.
11398 (layout_instantiate): call layout_update and not much else.
11399 (layout_post_instantiate): not sure whether this is needed
11401 (layout_query_geometry): query glyph geometry rather than
11402 image_instance geometry.
11403 (layout_layout): set offsets from pass in parameters. Use glyph
11404 geometry and layout functions rather than image instance ones.
11405 (native_layout_layout): ditto.
11406 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
11407 (image_instantiator_widget): set_property -> update.
11408 (image_instantiator_buttons): ditto.
11409 (image_instantiator_progress_guage): ditto.
11410 (image_instantiator_tab_control): ditto.
11411 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
11412 (image_instantiator_layout): add update method.
11414 * glyphs-msw.c (bmp_normalize):
11415 (mswindows_resource_normalize): add dest_mask so that it can be
11416 proprogated by layout_normalize.
11417 (begin_defer_window_pos): make optional because it may not be the
11418 right thing to do and it introduces differences with X.
11419 (mswindows_unmap_subwindow): ditto.
11420 (mswindows_map_subwindow): ditto.
11421 (mswindows_redisplay_subwindow): renamed from
11422 mswindows_update_subwindow.
11423 (mswindows_redisplay_widget): ditto.
11424 (mswindows_button_redisplay): renamed from
11425 mswindows_button_update. Update is now what the instantiation
11426 function does for a changed instantiator.
11427 (mswindows_progress_gauge_instantiate): set the progress value
11428 here if appropriate.
11429 (mswindows_tab_control_redisplay): cope with re-ordering of the
11430 members of the tab widget by simply selecting the new top
11431 widget. This makes things appear ok if you click on a tab.
11432 (mswindows_combo_box_instantiate): image_instance_layout now takes
11433 position as well as size.
11434 (mswindows_progress_gauge_redisplay): renamed from
11435 mswindows_progress_gauge_update.
11436 (console_type_create_glyphs_mswindows): fix update -> redisplay.
11437 (image_instantiator_format_create_glyphs_mswindows): ditto.
11439 * glyphs-eimage.c (jpeg_normalize):
11442 (tiff_normalize): add dest_mask so that it can be proprogated by
11446 (print_hash_table):
11447 (hash_table_weakness_validate):
11448 (decode_hash_table_weakness):
11449 (Fhash_table_weakness):
11450 (Fhash_table_type):
11451 (syms_of_elhash): use Ben's naming scheme for hashtable types..
11453 * console.h (struct console_methods): move update_* to
11456 2000-07-20 Ben Wing <ben@xemacs.org>
11458 * *.[ch] (XSETOBJ): remove unused middle argument.
11459 lisp-disunion.h: correct wrap_object() to one argument.
11461 2000-07-15 Ben Wing <ben@xemacs.org>
11464 * s/cygwin32.h (CYGWIN_CONV_PATH):
11465 Add missing logb prototype for v1.1.
11466 Use post-b20 names and alias to pre-b20 names when pre-b20.
11468 * s/windowsnt.h: [5].
11470 2000-07-15 Ben Wing <ben@xemacs.org>
11472 * Makefile.in.in (x_objs):
11473 * Makefile.in.in (sheap_objs):
11474 * Makefile.in.in (objs):
11475 added win32.o, cosmetic cleanups.
11477 * alloc.c (Fmake_byte_code):
11478 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
11479 etc. macros which declare their own args now.
11481 * alloc.c (syms_of_alloc):
11482 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
11485 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
11487 * buffer.c (Fget_file_buffer):
11488 Fixed GCPRO problem.
11490 * buffer.c (get_truename_buffer):
11491 Fixed comment about GC checking.
11493 * buffer.c (syms_of_buffer):
11494 Undeclared those dedicated frame funs.
11498 Define convenience macros for internal/external conversions.
11499 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
11500 and Qenvironment_variable_encoding for cleaner code.
11503 Remove dedicated-frame; in lisp.
11505 * bytecode.c (funcall_compiled_function):
11508 * bytecode.c (syms_of_bytecode):
11512 * console-msw.c (mswindows_show_console): Rewrote.
11514 * console-msw.c (Fmswindows_debugging_output): New.
11515 Sends to OutputDebugString (special MSWin debugger interface).
11517 * console-msw.c (Fmswindows_message_box):
11518 Fixed stupid bugs so it works when called from kill-emacs.
11520 * console-msw.c (syms_of_console_mswindows):
11521 Declare Fmswindows_debugging_output.
11524 New MSWin prototypes.
11526 * console-msw.h (struct mswindows_frame):
11527 New entry last-click-mods for improved button-modifier support.
11529 * console-msw.h (FRAME_MSWINDOWS_POPUP):
11530 New struct entry `popup' with corresponding accessor.
11533 * console-x.c (split_up_display_spec):
11534 * console-x.c (get_display_arg_connection):
11535 * console-x.c (x_semi_canonicalize_console_connection):
11536 * console-x.c (x_canonicalize_device_connection):
11537 [[[6]]]: Change char to more specific type.
11538 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
11540 * console-x.c (x_semi_canonicalize_console_connection):
11541 * console-x.c (x_canonicalize_device_connection):
11542 [[[9]]]: Fix up error signalling to use new structured error system.
11545 [[[4]]]: Define codesys aliases:
11546 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
11547 Qx_color_name_encoding, Qx_display_name_encoding.
11549 * console.h (struct console_methods):
11550 New method make_dialog_box_internal supersedes older
11551 popup_dialog_box method.
11554 Define many new errors, part of new structured errors.
11556 * data.c (init_errors_once_early):
11557 * data.c (syms_of_data):
11560 * device-msw.c (mswindows_init_device):
11561 [[[5]]]: Cleanup to support NT 3.51.
11563 * device-msw.c (decode_devmode): Cleanup.
11565 * device-msw.c (mswindows_handle_print_setup_dialog_box):
11566 * device-msw.c (mswindows_handle_print_dialog_box):
11567 * device-msw.c (mswindows_handle_page_setup_dialog_box):
11568 * device-msw.c (syms_of_device_mswindows):
11569 Delete the dialog box primitives recently introduced by Kirill and
11570 instead interface to general dialog box interface.
11573 * device-x.c (compute_x_app_name):
11574 * device-x.c (x_init_device):
11575 * device-x.c (Fx_valid_keysym_name_p):
11576 * device-x.c (Fx_set_font_path):
11580 * device.h (wrap_device): New.
11581 First of its kind; meant to replace XSETDEVICE.
11583 * dialog-msw.c: Many file-dialog symbols.
11585 * dialog-msw.c (mswindows_register_popup_frame): New.
11586 * dialog-msw.c (mswindows_is_dialog_msg): New.
11587 For supporting kbd traversal in dialog boxes.
11589 * dialog-msw.c (dialog_proc):
11590 Support hitting ESC in dialogs.
11592 * dialog-msw.c (struct):
11593 Common dialog box errors.
11595 * dialog-msw.c (handle_file_dialog_box): New.
11596 Add file dialog code.
11598 * dialog-msw.c (handle_question_dialog_box):
11599 Redo existing code to support new question dialog syntax.
11601 * dialog-msw.c (console_type_create_dialog_mswindows):
11602 We support new dialog console method.
11604 * dialog-msw.c (syms_of_dialog_mswindows):
11605 * dialog-msw.c (vars_of_dialog_mswindows):
11606 New file dialog symbols, vars.
11609 * dialog-x.c (maybe_run_dbox_text_callback):
11610 * dialog-x.c (dbox_descriptor_to_widget_value):
11611 * dialog-x.c (x_make_dialog_box_internal):
11612 * dialog-x.c (console_type_create_dialog_x):
11613 Mule-ize entire file.
11614 Redo to support question dialog syntax.
11618 * dialog.c (Fmake_dialog_box_internal):
11619 * dialog.c (syms_of_dialog):
11620 Kill old popup-dialog-box, replace with new primitive.
11621 Just call device method or signal error.
11623 * eldap.c (Fldap_open):
11624 * eldap.c (Fldap_search_basic):
11625 * eldap.c (Fldap_add):
11626 * eldap.c (Fldap_modify):
11631 * emacs.c (make_arg_list_1):
11632 * emacs.c (make_arg_list):
11633 Mule-ize call to dll_init().
11637 * emacs.c (make_argc_argv):
11638 * emacs.c (free_argc_argv):
11639 * emacs.c (init_cmdargs):
11640 * emacs.c (main_1):
11641 * emacs.c (Fkill_emacs):
11642 * emacs.c (Fdump_emacs):
11643 Update comments about what can be used in syms_* etc.
11644 Call init_win32() when necessary.
11645 Fix up MS Win dialog box in kill-buffer to actually work right.
11656 * eval.c (condition_case_3):
11658 * eval.c (function_argcount):
11659 * eval.c (funcall_lambda):
11662 * eval.c (type_error): New.
11663 * eval.c (maybe_type_error): New.
11664 * eval.c (continuable_type_error): New.
11665 * eval.c (maybe_continuable_type_error): New.
11666 * eval.c (type_error_with_frob): New.
11667 * eval.c (maybe_type_error_with_frob): New.
11668 * eval.c (continuable_type_error_with_frob): New.
11669 * eval.c (maybe_continuable_type_error_with_frob): New.
11670 New functions for use with structured errors.
11673 * event-Xt.c (x_event_to_emacs_event):
11674 Buttons are now modifiers too.
11676 * event-Xt.c (emacs_Xt_current_event_timestamp):
11677 Implement new event method.
11678 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
11681 * event-msw.c (ntpipe_shove_writer): [5].
11682 * event-msw.c (mswindows_enqueue_mouse_button_event):
11683 * event-msw.c (mswindows_drain_windows_queue):
11684 * event-msw.c (mswindows_wnd_proc): [7].
11685 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
11686 * event-msw.c (mswindows_modifier_state):
11687 Throughout: support new button modifiers.
11689 * event-msw.c (emacs_mswindows_current_event_timestamp):
11690 Implement new event method.
11691 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
11694 * event-stream.c (event_stream_current_event_timestamp): New.
11695 * event-stream.c (maybe_kbd_translate): New functionality.
11696 * event-stream.c (vars_of_event_stream):
11697 Document new kbd-translate-table functionality.
11699 * event-stream.c (Fcurrent_event_timestamp): New.
11700 New primitive for use in fabricated events.
11701 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
11703 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
11706 * events.c (Fmake_event):
11707 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
11711 * events.c (format_event_object): fix gcc warnings.
11713 * events.c (Fevent_timestamp): Document new primitives.
11715 * events.c (TIMESTAMP_HALFSPACE): New.
11717 * events.c (Fevent_timestamp_lessp): New. New primitive for
11718 comparing timestamps correctly (half-space algorithm).
11720 * events.c (Fevent_modifier_bits): Doc fix.
11722 * events.c (Fevent_modifiers): Major doc addition.
11723 * events.c (event_x_y_pixel_internal): Typo fix.
11724 * events.c (syms_of_events): Declare new primitives.
11727 Update long comment for button modifiers, timestamps.
11729 * events.h (struct event_stream):
11730 New current_event_timestamp method.
11733 * extents.c (extent_in_region_p):
11734 * extents.c (decode_extent):
11735 * extents.c (Fset_extent_parent):
11736 * extents.c (decode_map_extents_flags):
11740 * extents.c (struct extent_at_arg):
11741 * extents.c (decode_extent_at_flag):
11742 * extents.c (extent_at_mapper):
11743 * extents.c (extent_at_bytind):
11744 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
11745 * extents.c (Fextents_at): New primitive. [9].
11746 * extents.c (symbol_to_glyph_layout): [9].
11747 Support new primitive `extents-at'.
11750 * extents.c (get_text_property_bytind):
11751 extent_at_bytind has another arg.
11754 * extents.c (syms_of_extents): New primitive.
11756 * file-coding.c (Fmake_coding_system): [1].
11757 * file-coding.c (subsidiary_coding_system): fix gcc warning
11758 * file-coding.c (syms_of_file_coding): [2].
11760 * fileio.c (Fexpand_file_name):
11761 * fileio.c (Fsysnetunam):
11762 * fileio.c (Ffile_exists_p):
11763 * fileio.c (Ffile_executable_p):
11764 * fileio.c (Fverify_visited_file_modtime):
11767 * fileio.c (syms_of_fileio): [2].
11769 * filelock.c (lock_file_1):
11770 * filelock.c (current_lock_owner):
11771 * filelock.c (lock_if_free):
11772 * filelock.c (lock_file):
11773 * filelock.c (unlock_file):
11776 * fns.c (concat): Fix gcc warning.
11779 * fns.c (Fold_member):
11781 * fns.c (Fold_memq):
11782 * fns.c (memq_no_quit):
11784 * fns.c (Fold_assoc):
11786 * fns.c (Fold_assq):
11787 * fns.c (assq_no_quit):
11789 * fns.c (Fold_rassoc):
11791 * fns.c (Fold_rassq):
11792 * fns.c (rassq_no_quit):
11794 * fns.c (Fold_delete):
11796 * fns.c (Fold_delq):
11797 * fns.c (delq_no_quit):
11798 * fns.c (Fremassoc):
11799 * fns.c (Fremassq):
11800 * fns.c (remassq_no_quit):
11801 * fns.c (Fremrassoc):
11802 * fns.c (Fremrassq):
11803 * fns.c (remrassq_no_quit):
11804 * fns.c (Freverse):
11808 * frame-msw.c (mswindows_init_frame_1):
11809 * frame-msw.c (mswindows_delete_frame):
11810 Register popups with dialog code so keyboard traversing works.
11812 * frame-tty.c (tty_raise_frame_no_select): [1].
11815 * frame-x.c (x_set_frame_text_value):
11816 * frame-x.c (x_set_frame_properties):
11817 * frame-x.c (x_create_widgets):
11821 * frame.c (Fmouse_pixel_position): Minor doc fixes.
11823 * frame.h (wrap_frame): New.
11824 Macro like wrap_device.
11827 * general.c (SYMBOL):
11828 * general.c (syms_of_general):
11829 Major reorg. This is now just a wrapper and symbols themselves
11830 are listed in general-slots.h.
11832 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
11833 * glyphs-msw.c (mswindows_resource_instantiate): [5].
11835 * glyphs-msw.c (mswindows_native_layout_instantiate):
11836 Add DS_CONTROL so keyboard traversal will work.
11839 * glyphs-widget.c (syms_of_glyphs_widget):
11840 Move some symbols to general-slots.h.
11843 * glyphs-x.c (xbm_instantiate_1):
11844 * glyphs-x.c (x_xbm_instantiate):
11845 * glyphs-x.c (x_xface_instantiate):
11846 * glyphs-x.c (autodetect_instantiate):
11847 * glyphs-x.c (cursor_font_instantiate):
11848 * glyphs-x.c (x_update_widget):
11849 * glyphs-x.c (x_widget_instantiate):
11850 * glyphs.c (bitmap_to_lisp_data):
11851 * glyphs.c (pixmap_to_lisp_data):
11854 * glyphs.c (syms_of_glyphs):
11858 * gui-x.c (print_widget_value):
11859 * gui-x.c (menu_separator_style_and_to_external):
11860 * gui-x.c (add_accel_and_to_external):
11861 * gui-x.c (button_item_to_widget_value):
11862 * gui-x.c (gui_items_to_widget_values_1):
11863 * gui-x.c (gui_items_to_widget_values):
11864 * gui-x.c (syms_of_gui_x):
11865 * gui-x.c (vars_of_gui_x):
11866 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
11870 Muleize, prototype changes matching gui-x.c.
11873 * gui.c (separator_string_p):
11874 * gui.c (gui_item_add_keyval_pair):
11875 * gui.c (make_gui_item_from_keywords_internal):
11876 * gui.c (signal_too_long_error):
11877 * gui.c (parse_gui_item_tree_item):
11878 * gui.c (syms_of_gui):
11879 * gui.c (vars_of_gui):
11881 menu-no-selection-hook moved here (used by MSWin).
11882 Move some symbols to general-slots.h.
11886 * insdel.c (get_buffer_pos_char):
11887 * insdel.c (get_buffer_range_char):
11890 * keymap.c (keymap_lookup_directly):
11891 * keymap.c (keymap_store):
11892 * keymap.c (ensure_meta_prefix_char_keymapp):
11893 * keymap.c (describe_map):
11895 Support new button modifiers.
11897 * lisp-disunion.h (wrap_object):
11898 * lisp-disunion.h (XSETOBJ):
11899 Rename make_obj to wrap_object.
11902 * lisp-union.h (make_int):
11903 * lisp-union.h (make_char):
11904 Support wrap_object.
11907 * lisp.h (LIST_LOOP):
11908 * lisp.h (EXTERNAL_LIST_LOOP):
11909 * lisp.h (LIST_LOOP_2):
11910 * lisp.h (EXTERNAL_LIST_LOOP_1):
11911 * lisp.h (EXTERNAL_LIST_LOOP_2):
11912 * lisp.h (EXTERNAL_LIST_LOOP_3):
11913 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
11914 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
11915 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
11916 * lisp.h (EXTERNAL_ALIST_LOOP_5):
11917 * lisp.h (EXTERNAL_ALIST_LOOP_6):
11918 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
11919 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
11920 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
11921 * lisp.h (struct Lisp_Symbol):
11922 * lisp.h (maybe_continuable_error_with_frob):
11923 Fix up section comments.
11924 Add new types for char to indicate usage.
11925 Delete symbols auto-generated from general-slots.h.
11926 Add prototypes for structured error functions.
11927 Add long comments describing looping macros and change interface
11928 so that lvalues are automatically declared.
11929 Add NO_DECLARE macro in case callers want to declare lvalues
11932 * lread.c (read_syntax_error):
11933 * lread.c (continuable_read_syntax_error):
11934 * lread.c (read_structure):
11935 * lread.c (sequence_reader):
11936 * lread.c (read_list_conser):
11937 * lread.c (read_compiled_function):
11938 Rename syntax_error and continuable_syntax_error to avoid clash
11939 with same-named structured error functions.
11941 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11942 * menubar-msw.c (populate_menu_add_item):
11943 * menubar-msw.c (populate_or_checksum_helper):
11948 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11949 Mule-ize whole file.
11951 * menubar.c (Fnormalize_menu_item_name): Add optimization.
11953 * mule-charset.c (Fmake_charset):
11954 * mule-wnnfns.c (Fwnn_set_param):
11957 * ntproc.c (create_child):
11958 * ntproc.c (Fwin32_set_current_locale):
11959 Add comments portending doom.
11962 * objects-msw.c (old_font_enum_callback_2):
11963 * objects-msw.c (font_enum_callback_1):
11964 * objects-msw.c (mswindows_enumerate_fonts):
11968 * objects-x.c (allocate_nearest_color):
11969 * objects-x.c (x_parse_nearest_color):
11970 * objects-x.c (x_initialize_color_instance):
11971 * objects-x.c (x_print_color_instance):
11972 * objects-x.c (x_finalize_color_instance):
11973 * objects-x.c (x_valid_color_name_p):
11974 * objects-x.c (x_initialize_font_instance):
11975 * objects-x.c (x_print_font_instance):
11976 * objects-x.c (valid_x_font_name_p):
11977 * objects-x.c (truename_via_FONT_prop):
11978 * objects-x.c (truename_via_random_props):
11979 * objects-x.c (truename_via_XListFonts):
11980 * objects-x.c (x_font_truename):
11981 * objects-x.c (x_font_instance_truename):
11982 * objects-x.c (x_font_instance_properties):
11983 * objects-x.c (x_list_fonts):
11984 * objects-x.c (x_find_charset_font):
11985 Mule-ize entire file.
11992 * print.c (std_handle_out_external):
11993 * print.c (debug_print_no_newline):
11994 * print.c (syms_of_print):
11995 Output to all debugger kinds in debug-print.
11996 Fix console-output code under MSWin to actually work.
11998 * process-nt.c (send_signal):
11999 * process-nt.c (nt_create_process):
12000 Use newer Unicode macros.
12002 * process-unix.c (unix_create_process):
12003 * process-unix.c (unix_canonicalize_host_name):
12004 * process-unix.c (unix_open_network_stream):
12010 * search.c (syms_of_search):
12013 * select-msw.c (mswindows_destroy_selection):
12016 * select-x.c (symbol_to_x_atom):
12019 * select.c (syms_of_select):
12022 * sound.c (Fplay_sound_file):
12026 * specifier.c (decode_specifier_type):
12027 * specifier.c (Fvalid_specifier_locale_type_p):
12028 * specifier.c (check_valid_locale_or_locale_type):
12029 * specifier.c (decode_locale):
12030 * specifier.c (decode_locale_type):
12031 * specifier.c (decode_locale_list):
12032 * specifier.c (check_valid_domain):
12033 * specifier.c (decode_specifier_tag_set):
12034 * specifier.c (Fcanonicalize_tag_set):
12035 * specifier.c (Fdefine_specifier_tag):
12036 * specifier.c (Fspecifier_tag_predicate):
12037 * specifier.c (check_valid_inst_list):
12038 * specifier.c (check_valid_spec_list):
12039 * specifier.c (decode_how_to_add_specification):
12040 * specifier.c (check_modifiable_specifier):
12041 * specifier.c (specifier_add_spec):
12042 * specifier.c (boolean_validate):
12043 * specifier.c (display_table_validate):
12046 * specifier.c (syms_of_specifier):
12047 Move some symbols to general-slots.h.
12051 * symbols.c (Fmapatoms):
12052 * symbols.c (Fapropos_internal):
12055 * symbols.c (set_default_buffer_slot_variable):
12056 * symbols.c (set_default_console_slot_variable):
12059 * symbols.c (defsymbol_massage_name_1):
12060 * symbols.c (defkeyword_massage_name):
12061 * symbols.c (deferror_1):
12062 * symbols.c (deferror):
12063 * symbols.c (deferror_massage_name_and_message):
12065 * symeval.h (DEFSYMBOL):
12066 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
12068 * symbols.c (syms_of_symbols):
12072 * symsinit.h (init_win32): New.
12073 Also new is syms_of_dialog_mswindows.
12076 Add new Unicode macros, missing Cygwin wide-char functions,
12077 convenience conversion macros for Qmswindows_tstr, macros for
12078 encapsulating required MSWin <-> Cygwin filename conversions,
12079 prototype for dynamically-extracted (not in NT 3.51) functions.
12084 * tooltalk.c (Fadd_tooltalk_message_arg):
12085 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
12086 * tooltalk.c (Fadd_tooltalk_pattern_arg):
12089 * tooltalk.c (syms_of_tooltalk):
12093 * unexnt.c (unexec):
12094 Fix up headers, declaration of unexec() to be more standard.
12096 2000-07-20 Martin Buchholz <martin@xemacs.org>
12098 * offix.h: Revert change to guard macros - they're used in offix.c!
12100 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12102 * lisp.h: Defsubred Fdelete.
12104 * console-msw.h: (msprinter_default_printer): Added.
12106 * console-msw.c (msprinter_canonicalize_console_connection):
12107 (msprinter_canonicalize_device_connection): Added.
12109 * device-msw.c (msprinter_default_printer):
12110 (Fmswingows_get_default_printer):
12111 (signal_enum_priner_error):
12112 (Fmswingows_printer_list): Added.
12114 2000-07-19 Martin Buchholz <martin@xemacs.org>
12116 * XEmacs 21.2.35 is released.
12118 2000-07-19 Martin Buchholz <martin@xemacs.org>
12120 * select-x.c (x_handle_selection_request):
12121 Text selected in xemacs and pasted into xterm failed to appear.
12122 Spelling fixes and cosmetic changes.
12124 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12126 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
12127 XEmacs frame (fix for doubling chars in dialog boxes).
12129 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
12131 * select.c (select_convert_in, select_convert_out):
12132 Don't call intern() every time.
12134 * select.c (Qselect_convert_in, Qselect_convert_out): New.
12135 * select.c (vars_of_select): Initialise them.
12137 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
12139 * select.c (selection-coercible-types): New.
12141 * select.c (own-selection-internal):
12142 * select.c (get-selection-internal):
12143 MULE bug fix - these should default to COMPOUND_TEXT and not
12144 STRING for MULE. I think.
12146 * select.c (select_convert_out): Use selection-coercible-types
12147 to find types that we can attempt to perform coercions on.
12149 2000-07-18 Martin Buchholz <martin@xemacs.org>
12153 Add coding: cookie to identify encoding.
12155 * mule-canna.c (CANNA_mode_keys): make static.
12156 Use proper prototypes, even for functions of no arguments.
12157 Remove external prototype for Fding().
12159 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
12161 * select.c (syms_of_select): Add missing DEFSUBR.
12163 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
12165 * select.c (get_selection_internal, own_selection_internal):
12166 Make the type default to STRING, rather than placing a nil type
12167 into Vselection_alist.
12169 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
12171 * gpmevent.c (tty_selection_exists_p):
12172 * gpmevent.c (tty_own_selection):
12173 Updated parameter lists.
12175 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
12177 * select.h (selection-alist): Removed declaration.
12179 * select.h (get_local_selection):
12180 * select.c (get_local_selection):
12183 * select.h (convert_selection): Removed declaration.
12184 * select.c (convert_selection): Removed.
12185 This function belongs in Lisp.
12187 * select.h (select_convert_in): Declare.
12188 * select.h (select_convert_out): Declare.
12189 * select.c (select_convert_in): New.
12190 * select.c (select_convert_out): New.
12191 New conversion functions for other files to call.
12193 * select.h (select_notify_buffer_kill): Declare.
12194 * select.c (select_notify_buffer_kill): New.
12195 New functions that get called from kill-buffer.
12197 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
12198 X-specific lisp code.
12200 * select.h: Declare some of the lisp-visible functions for
12203 * select.c (clean_local_selection_data): Removed. This was
12204 a disgusting function, and previously should have been in
12205 select-x.c in any case. The functionality is now provided
12206 in select-convert-from-integer (select.el).
12208 * select.c (available-selection-types): Fixed stupidity where
12209 INTEGER and ATOM got added twice. Also add STRING when we see an
12212 * select.c (get-selection-internal): Removed symbol stripping. No
12213 longer causes conversion when data comes from the internal cache.
12215 * select.c (syms_of_select): Added new functions.
12217 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
12218 error checking - previously this called abort!
12220 * select-x.c (x_own_selection): Changed comment.
12222 * select-x.c (x_handle_selection_request): Use select_convert_out.
12223 Don't mess with selection-alist; it's an internal variable of select.c.
12225 * select-x.c (x_get_foreign_selection): Use select_convert_in.
12227 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
12228 rather than messing with selection-alist.
12230 * select-msw.c (mswindows_get_foreign_selection):
12231 Use TO_INTERNAL_FORMAT rather than hacking.
12233 2000-07-14 Martin Buchholz <martin@xemacs.org>
12235 * process-unix.c (unix_open_multicast_group):
12236 (unix_open_multicast_group): Remove useless casts.
12238 2000-07-13 Martin Buchholz <martin@xemacs.org>
12240 * sound.c (Fplay_sound): Fix `unused variable' warning.
12242 * emacs.c (main): Use correct type for _environ on SCO5.
12244 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
12246 * console.h (own_selection_method):
12247 * console.h (selection_exists_p_method):
12248 * console.h (available_selection_types_method): New.
12249 * console.h (register_selection_data_type_method): New.
12250 * console.h (selection_data_type_name): New.
12252 * console-msw.h (mswindows_destroy_selection): Declare it. New
12253 function & alist to track GlobalAlloc()'d handles that need
12254 releasing when the clipboard data gets replaced or emptied.
12256 * event-msw.c (mswindows_wnd_proc): Call it.
12258 * lisp.h, general.c (Qappend): New symbol representing a
12261 * select.c (own-selection-internal):
12262 * select.c (selection-exists-p):
12263 * select.c (available-selection-types): New.
12264 * select.c (register-selection-data-type): New.
12265 * select.c (selection-data-type-name): New. New functions to deal
12266 with device-specific selection data formats.
12267 * select.c (selection-converter-out-alist): Renamed.
12268 * select.c (selection-converter-in-alist): New.
12269 * select.c (selection-appender-alist): New. Added new alists.
12270 * select.c (syms_of_select, vars_of_select): Added new symbols &
12272 * select.c (get_local_selection): Split.
12273 * select.c: Removed spurious type checking - selections may now be
12274 of any type, not just strings.
12275 * select.c (own-selection-internal):
12277 * select.h, select.c (convert_selection): New. Created
12278 convert_selection() function based on get_local_selection().
12279 * select.h, select.c (QCF_*): New symbols representing mswindows
12281 * select.h, select.c (Qreplace_all, Qreplace_existing): New
12282 symbols representing `how-to-add' modes.
12284 * select-msw.c (x_sym_p): New.
12285 * select-msw.c (symbol_to_ms_cf): New.
12286 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
12287 symbols & clipboard formats. Can also handle string names.
12288 * select-msw.c (mswindows_own_selection):
12289 * select-msw.c (mswindows_selection_exists_p):
12290 Added `data-type' parameter. Use it.
12291 * select-msw.c (mswindows_available_selection_types): New.
12292 * select-msw.c (mswindows_register_selection_data_type): New.
12293 * select-msw.c (mswindows_selection_data_type_name): New.
12294 * select-msw.c (mswindows_own_selection):
12295 * select-msw.c (mswindows_get_foreign_selection):
12296 * select-msw.c (mswindows_selection_exists_p): Rewrote.
12297 * select-msw.c (console_create_select_mswindows): Added new methods.
12298 * select-msw.c (mswindows_destroy_selection): New.
12299 * select-msw.c (Vhandle_alist): New list.
12300 * select-msw.c (mswindows_own_selection):
12302 * select-x.c (x_own_selection):
12303 * select-x.c (x_selection_exists_p):
12304 * select-x.c: Added some comments about maybe using new
12306 * select-x.c (x_own_selection):
12308 * specifier.c: Remove definition of Qappend (now in general.c)
12309 * specifier.c (syms_of_specifier): Remove Qappend.
12311 2000-07-12 Martin Buchholz <martin@xemacs.org>
12313 * config.h.in: Add socklen_t.
12315 * s/decosf4-0.h: No special compiler flags needed or desired.
12316 In particular, undefine _BSD for DEC OSF 4.0.
12318 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12320 * redisplay-msw.c (msprinter_frame_output_end): Added.
12321 (console_type_create_redisplay_mswindows): Referred the above.
12323 * frame.c (setup_frame_without_minibuffer): Do not create a
12324 default minibuffer frame on a printer device.
12326 * frame-msw.c (apply_dc_geometry): Added.
12327 (msprinter_start_page):
12328 (msprinter_init_frame_3):
12329 (msprinter_eject_page): Use it.
12331 * console-msw.h (struct msprinter_frame): Added pix_left and top,
12332 and removed residual duplex and orientation properties.
12334 2000-07-11 Martin Buchholz <martin@xemacs.org>
12336 * eval.c (function_argcount): Work around a DEC CC compiler bug.
12338 * unexalpha.c: Remove system prototypes from C sources!
12340 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
12342 * eval.c: Remove references to M-x edit-options in DEFUNs for
12343 `defvar' and `defconst'.
12345 2000-07-09 Martin Buchholz <martin@xemacs.org>
12347 * config.h.in: Remove SMART_INCLUDE hackery.
12349 PostgreSQL hacking:
12350 * config.h.in: Don't use SMART_INCLUDE.
12352 * postgresql.h: Include libpq-fe.h here. Fix typo.
12353 * inline.c: Simply #include "postgresql.h"
12355 - Don't use SMART_INCLUDE
12356 - Use simply "const".
12357 - Use standard doc string conventions.
12358 - Use correct type for result of PQstatus.
12360 2000-07-09 Martin Buchholz <martin@xemacs.org>
12362 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
12364 C++ compilation changes.
12365 * config.h.in (EXTERN_C): Define.
12366 * config.h.in (not): This is also a C++ keyword.
12367 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
12368 * cm.c: Use EXTERN_C.
12369 * redisplay-tty.c: Use EXTERN_C.
12370 * sysdep.c: Use EXTERN_C. Remove Gould support.
12372 2000-07-09 Martin Buchholz <martin@xemacs.org>
12374 * general.c: Remove duplicate definition for Qfunction.
12376 2000-07-08 Ben Wing <ben@xemacs.org>
12378 * device-msw.c (msprinter_init_device):
12379 * device-msw.c (sync_printer_with_devmode):
12380 * device-msw.c (handle_devmode_changes):
12381 * device-msw.c (print_dialog_worker):
12382 * device-msw.c (Fmsprinter_apply_settings):
12383 * device-msw.c (hash_devmode):
12384 * device-msw.c (Fmsprinter_settings_despecialize):
12385 use Qmswindows_tstr, not Qctext.
12387 * vm-limit.c (check_memory_limits):
12388 avoid infinite loop printing warning messages.
12390 2000-07-05 Craig Lanning <lanning@scra.org>
12392 * Makefile.in.in: Add support for including the Windows resources
12393 when building with the cygwin and mingw targets.
12395 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
12396 not set or not correct.
12397 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
12398 (init_initial_directory): Don't try to use $PWD on the
12399 WIN32_NATIVE target.
12402 [[Add -mwindows to eliminate console window.]] not required --ben
12403 (HAVE_NATIVE_SOUND): removed; now handled by configure.
12404 (MAIL_USE_POP): removed; now handled by configure.
12406 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
12407 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
12408 (HAVE_NATIVE_SOUND): removed; now handled by configure.
12409 (MAIL_USE_POP): removed; now handled by configure.
12410 (ENCAPSULATE_STAT): from Dan Holmsand, added.
12411 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
12412 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
12414 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
12415 up from <winsock.h> via systime.h.
12416 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
12417 (getpagesize): from Dan Holmsand, added.
12418 Added #endif which was left dangling by Ben's mega patch; added
12419 comment to help prevent this in the future.
12421 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
12423 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12425 * console-msw.h (struct mswindows_device): Removed unnecessary
12426 cached device geometry values.
12427 Added update_tick and an accessor macro.
12428 (Lisp_Devmode): Added lrecord declaration.
12429 (struct msprinter_device): Contain devmode as a Lisp object.
12430 Added mswindows_get_selected_frame_hwnd();
12432 * console.h (struct console_methods): Indentation nitpicking.
12434 * device-msw.c (mswindows_init_device): Do not initialize geometry
12435 cache. Initialize update tick.
12436 (mswindows_device_system_metrics): Ask the device for its geometry.
12437 (global_free_2_maybe):
12438 (devmode_to_hglobal):
12439 (handle_printer_changes):
12440 (ensure_not_printing):
12441 (print_dialog_worker):
12442 (Fmsprinter_print_setup_dialog):
12443 (Fmsprinter_print_dialog):
12444 (plist_get_margin):
12445 (plist_set_margin):
12446 (Fmsprinter_page_setup_dialog): Added functions.
12447 (sync_printer_with_devmode):
12448 (handle_devmode_changes):
12449 (Fmsprinter_get_settings):
12450 (Fmsprinter_select_settings):
12451 (Fmsprinter_apply_settings):
12452 (allocate_devmode):
12453 (Fmsprinter_settings_copy):
12454 (Fmsprinter_settings_despecialize):
12456 (finalize_devmode):
12458 (hash_devmode): Added functions
12459 (syms_of_device_mswindows): Init devmode lrecord class.
12461 * device.h: Added an exfun for find-device.
12463 * event-msw.c (mswindows_wnd_proc): Do not update the cached
12464 geometry; although, recreate the device compatible DC.
12466 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
12467 (msprinter_init_frame_3):
12468 (msprinter_frame_property):
12469 (msprinter_internal_frame_property_p):
12470 (msprinter_frame_properties):
12471 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
12472 print job properties (will move to device settings).
12474 * lisp.h: Added symbols.
12476 * general.c (syms_of_general): Declared them.
12478 * hash.c (string_hash): Added.
12480 * lrecord.h (lrecord_type): Added devmode lrecord type.
12482 2000-07-02 Mike Sperber <mike@xemacs.org>
12484 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
12487 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
12489 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
12492 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
12494 * data.c (Fstring_to_number): Don't recognize floating point if
12497 2000-06-22 Martin Buchholz <martin@xemacs.org>
12499 * glyphs-widget.c (tab_control_query_geometry):
12500 (widget_query_geometry):
12501 (button_query_geometry):
12502 * glyphs.c (text_query_geometry):
12503 Enforce type correctness.
12505 2000-06-18 Martin Buchholz <martin@xemacs.org>
12507 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
12508 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
12510 2000-06-17 Martin Buchholz <martin@xemacs.org>
12512 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
12513 conflicts with gcc's fixincluded version of FOO.h.
12515 * glyphs.h (image_instance_geometry): Remove trailing `,'
12517 2000-06-08 Mike Alexander <mta@arbortext.com>
12519 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
12520 (shove_thread): Don't write the same output twice
12521 (make_ntpipe_output_stream): Increase priority of shove thread
12522 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
12524 (ntpipe_shove_closer): Don't delete the pipe until we're done with
12527 2000-06-12 Ben Wing <ben@xemacs.org>
12529 * s\mingw32.h (sigset):
12530 * s\windowsnt.h (sigset):
12531 rename msw_ to mswindows_ for consistency with general convention.
12533 2000-06-12 Ben Wing <ben@xemacs.org>
12536 * console-msw.c (mswindows_get_console_hwnd):
12537 * console-msw.c (mswindows_ensure_console_allocated):
12538 * console-msw.c (mswindows_hide_console):
12539 * console-msw.c (mswindows_show_console):
12540 * console-msw.c (mswindows_ensure_console_buffered):
12541 * console-msw.c (mswindows_output_console_string):
12542 * console-msw.c (mswindows_windows9x_p):
12544 * device-msw.c (mswindows_get_workspace_coords):
12545 * device-msw.c (mswindows_device_system_metrics):
12546 * dialog-msw.c (mswindows_popup_dialog_box):
12547 * event-msw.c (mswindows_wnd_proc):
12548 * frame-msw.c (mswindows_size_frame_internal):
12549 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
12550 * menubar-msw.c (displayable_menu_item):
12551 * menubar-msw.c (mswindows_char_is_accelerator):
12553 * nt.c (mswindows_sigset):
12554 * nt.c (mswindows_sigrelse):
12555 * nt.c (mswindows_sigpause):
12556 * nt.c (mswindows_raise):
12557 * nt.c (timer_proc):
12559 * ntproc.c (find_child_console):
12560 * ntproc.c (sys_kill):
12562 * print.c (std_handle_out_external):
12563 * process-nt.c (find_child_console):
12564 * process-nt.c (send_signal_the_95_way):
12565 * process-nt.c (ensure_console_window_exists):
12566 * process-nt.c (nt_create_process):
12568 rename msw_ to mswindows_ for consistency with general convention.
12572 include nt.h, not syswindows.h.
12574 * nt.c (mswindows_fstat):
12575 * nt.c (mswindows_stat):
12576 prefix mswindows_ instead of attempting to directly override the
12577 library functions. fix declarations.
12580 include syswindows.h. move some sysdep.h stuff here.
12583 include syswindows.h, not <windows.h>.
12591 * sysdep.c (sys_fstat):
12592 * sysdep.c (sys_stat):
12593 call mswindows versions when appropriate.
12596 move mswin decls to nt.h.
12599 add long comment describing appropriate use of the various windows
12602 2000-06-11 Ben Wing <ben@xemacs.org>
12604 * device-x.c: Correct doc string for sixth arg of x-get-resource.
12606 2000-06-10 Ben Wing <ben@xemacs.org>
12608 * Makefile.in.in (release):
12609 Correction to make sure xemacs.exe always dumped when correct.
12613 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
12615 * buffer.c (set_buffer_internal):
12616 [[[[2]]]]: Remove HAVE_FEP code.
12618 * buffer.c (init_initial_directory):
12622 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
12626 * callproc.c (call_process_cleanup):
12627 * callproc.c (Fold_call_process_internal):
12628 * callproc.c (child_setup):
12629 * callproc.c (getenv_internal):
12630 * callproc.c (init_callproc):
12631 * callproc.c (vars_of_callproc):
12632 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
12633 __CYGWIN32__ -> CYGWIN.
12634 DOS_NT -> WIN32_NATIVE.
12635 Remove MSDOS support/references, converting to WIN32_NATIVE
12637 __MINGW32__ -> MINGW.
12638 Fix windows.h includes.
12639 Remove bogus HAVE_NTGUI.
12645 mswindows_message_outputted added for use in allowing startup
12646 errors on the console to be seen.
12648 * console-msw.c (msw_ensure_console_allocated):
12649 * console-msw.c (msw_output_console_string):
12650 * console-msw.c (DHEADER):
12651 * console-msw.c (DOPAQUE_DATA):
12652 * console-msw.c (DEVENT):
12653 * console-msw.c (DCONS):
12654 * console-msw.c (DCONSCDR):
12655 * console-msw.c (DSTRING):
12656 * console-msw.c (DVECTOR):
12657 * console-msw.c (DSYMBOL):
12658 * console-msw.c (DSYMNAME):
12661 * console-stream.c (stream_init_console):
12662 Fix text/binary problems.
12665 * device-msw.c (mswindows_finish_init_device):
12666 * device-msw.c (mswindows_delete_device):
12669 * device.c (handle_asynch_device_change):
12673 * dgif_lib.c (DGifOpenFileName):
12674 * dgif_lib.c (DGifOpenFileHandle):
12675 * dgif_lib.c (DGifGetLine):
12676 * dgif_lib.c (DGifGetPixel):
12677 Added config.h/lisp.h, fix up includes.
12684 * dired.c (file_name_completion):
12685 * dired.c (Ffile_attributes):
12686 * dired.c (syms_of_dired):
12690 * dumper.c (pdump_file_unmap):
12691 * dumper.c (pdump_load):
12695 * editfns.c (Ftemp_directory):
12696 * editfns.c (user_login_name):
12697 * editfns.c (Fuser_real_login_name):
12698 * editfns.c (get_home_directory):
12701 * elhash.c (finish_marking_weak_hash_tables):
12702 [[[[5]]]]: Fix GCC warnings.
12705 * emacs.c (mswindows_handle_hardware_exceptions):
12706 * emacs.c (make_arg_list_1):
12707 * emacs.c (main_1):
12708 * emacs.c (Fkill_emacs):
12709 * emacs.c (Fdump_emacs):
12711 Fix problems with nested crashes, add long comment.
12713 * event-Xt.c (init_event_Xt_late):
12717 * event-msw.c (mswindows_dde_callback):
12718 * event-msw.c (mswindows_handle_sticky_modifiers):
12719 * event-msw.c (mswindows_wnd_proc):
12723 * events.c (character_to_event):
12727 * fileio.c (Ffile_name_directory):
12728 * fileio.c (Ffile_name_nondirectory):
12729 * fileio.c (directory_file_name):
12730 * fileio.c (Fexpand_file_name):
12731 * fileio.c (Fsubstitute_in_file_name):
12732 * fileio.c (Ffile_name_absolute_p):
12733 * fileio.c (check_executable):
12734 * fileio.c (Ffile_readable_p):
12735 * fileio.c (Ffile_accessible_directory_p):
12736 * fileio.c (Ffile_modes):
12737 * fileio.c (Funix_sync):
12738 * fileio.c (vars_of_fileio):
12741 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
12743 Expand getdefdir defn.
12744 Fix bogus rename() comment.
12746 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
12747 to use standard XEmacs include files, e.g. sysfile.h, rather
12748 than system-specific includes.
12754 * frame.c (vars_of_frame):
12758 * getloadavg.c (getloadavg):
12760 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
12761 (We don't use it elsewhere in the code; just add a comment.)
12768 * glyphs-msw.c (mswindows_resource_instantiate):
12771 * glyphs-x.c (x_native_layout_instantiate):
12774 * gui-msw.c (Fmswindows_shell_execute):
12783 * lread.c (locate_file_in_directory_mapper):
12790 * mem-limits.h (get_lim_data):
12802 * nt.c (rva_to_section):
12803 * nt.c (mswindows_executable_type):
12805 Fix closedir() defn.
12808 [[[[8]]]]: *_OK defs moved to sysfile.h.
12817 * print.c (std_handle_out_external):
12821 * process-nt.c (nt_create_process):
12823 try to fix process quoting somewhat.
12825 * process-unix.c (unix_create_process):
12829 * process.c (vars_of_process):
12836 * realpath.c (xrealpath):
12839 * redisplay-tty.c (init_tty_for_redisplay):
12849 * sheap.c (more_static_core):
12850 * sheap.c (report_sheap_usage):
12854 * signal.c (alarm_signal):
12861 * strftime.c (zone_name):
12864 * symsinit.h (init_sunpro):
12868 commctrl.h not in Cygwin b20.1.
12871 * sysdep.c (endif):
12872 * sysdep.c (sys_subshell):
12873 * sysdep.c (init_baud_rate):
12874 * sysdep.c (emacs_get_tty):
12875 * sysdep.c (emacs_set_tty):
12876 * sysdep.c (tty_init_sys_modes_on_device):
12877 * sysdep.c (init_system_name):
12878 * sysdep.c (sys_open):
12879 * sysdep.c (interruptible_open):
12880 * sysdep.c (sys_fopen):
12881 * sysdep.c (sys_mkdir):
12882 * sysdep.c (sys_rename):
12883 * sysdep.c (get_process_times_1):
12890 * sysdir.h (DIRENTRY_NONEMPTY):
12893 * sysdll.c (dll_init):
12899 added text/binary defs.
12905 * sysproc.h (EDESTADDRREQ):
12906 * sysproc.h (poll_fds_for_input):
12923 Always define WIN32_LEAN_AND_MEAN.
12925 * unexcw.c (unexec):
12929 * unexec.c (copy_text_and_data):
12930 * unexec.c (adjust_lnnoptrs):
12934 * unexnt.c (_start):
12937 2000-06-07 Ben Wing <ben@xemacs.org>
12939 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
12940 was used only as a model. We've long since extracted any useful
12941 logic or code out of this. (I just did an exhaustive search.)
12943 * s\msdos.h: Removed.
12945 * s\windows95.h: Removed.
12947 2000-06-10 Ben Wing <ben@xemacs.org>
12951 Don't use extern with fun defs.
12955 Remove nt\inc include.
12956 Remove getdisk, getdefdir. (The former is unused, the latter
12957 expanded in fileio.h.)
12960 * s\windowsnt.h (WIN32_NATIVE):
12961 * s\windowsnt.h (HAVE_STRCASECMP):
12963 Add long comment about preprocessor changes.
12964 Remove getdisk, getdefdir. (The former is unused, the latter
12965 expanded in fileio.h.)
12967 2000-06-10 Ben Wing <ben@xemacs.org>
12976 Remove bogus/unused NO_SOCK_SIGIO.
12978 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
12980 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
12983 2000-06-04 Mike Sperber <mike@xemacs.org>
12985 * casetab.c (set_case_table): For `set-standard-case-table',
12986 actually deposit the new case tables where the rest of XEmacs can
12989 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
12991 * data.c (Faset): Don't cast XCHAR() to unsigned char.
12993 2000-06-05 Ben Wing <ben@xemacs.org>
12995 * callproc.c (child_setup): Don't do close_load_descs() under
12996 MS Windows. Put in a comment explaining why.
12998 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
13000 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
13001 Toolkit shell" which breaks `kill-compilation' on Windows NT
13002 native, retaining STDERR handling improvements.
13004 2000-06-01 Andreas Jaeger <aj@suse.de>
13006 * s/s390.h: Support for S390, based on a patch by Martin
13007 Schwidefsky <schwidefsky@de.ibm.com>.
13009 2000-05-30 Andy Piper <andy@xemacs.org>
13011 * window.c (allocate_window):
13012 (make_dummy_parent):
13013 (Fset_window_configuration): use new hashtable type.
13015 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
13016 (struct image_instantiator_methods):
13017 (struct Lisp_Image_Instance): make instance geometry signed.
13019 * glyphs.c (instantiate_image_instantiator):
13020 (image_instance_query_geometry):
13021 (image_instance_layout):
13022 (image_instance_layout):
13023 (query_string_geometry):
13024 (text_query_geometry):
13025 (image_instantiate):
13026 (image_instantiate):
13027 (cache_subwindow_instance_in_frame_maybe):
13028 (subwindow_query_geometry): make instance geometry signed.
13030 * glyphs-widget.c (widget_query_geometry):
13032 (button_query_geometry):
13033 (tree_view_query_geometry):
13034 (tab_control_query_geometry):
13035 (layout_query_geometry):
13037 (native_layout_layout): make instance geometry signed.
13039 2000-05-29 Olivier Galibert <galibert@pobox.com>
13041 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
13044 * general.c (syms_of_general): Add Qfull_assoc symbol.
13046 * data.c (finish_marking_weak_lists): Mark full-assoc lists
13048 (decode_weak_list_type): Decode full-assoc type.
13049 (encode_weak_list_type): Encode full-assoc type.
13050 (Fmake_weak_list): Update doc string.
13052 2000-05-30 Andy Piper <andy@xemacs.org>
13054 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
13056 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
13057 (decode_hash_table_weakness): ditto.
13058 (Fhash_table_weakness): ditto.
13059 (Fhash_table_type): ditto.
13060 (finish_marking_weak_hash_tables): ditto.
13061 (hash_table_weakness_validate): ditto.
13062 (syms_of_elhash): ditto.
13064 2000-05-28 Martin Buchholz <martin@xemacs.org>
13066 * XEmacs 21.2.34 is released.
13068 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13070 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
13072 (updating_line_start_cache): Gone.
13073 (regenerate_window): Replace resetting of VERTICAL_CLIP by
13074 generic code to force a minimum of 1 line laid out in the
13077 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13079 * glyphs.c (instantiate_image_instantiator): Check for initialized
13080 height & width no longer special cases IMAGE_NOTHING.
13081 (nothing_instantiate): Set height and width of instance.
13083 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
13085 * unexelf.c (unexec): Search for ".data" section.
13086 Initialize new_data2_offset from old_data_index.
13087 Remove redundant check for ElfW.
13089 2000-05-23 Andy Piper <andy@xemacs.org>
13091 * glyphs.c (get_image_instantiator_governing_domain): allow more
13092 specific domains as the governing domain rather than expecting an
13093 exact match. This fixes problems with layouts.
13095 2000-05-22 Andy Piper <andy@xemacs.org>
13097 * redisplay-output.c (compare_runes): check for non-images
13099 * glyphs.c (set_glyph_dirty_p): ditto.
13100 (update_glyph_cachel_data): ditto.
13102 * glyphs-widget.c (layout_post_instantiate): ditto.
13103 (layout_post_instantiate): ditto.
13105 * event-msw.c (mswindows_wnd_proc): warning removal.
13107 2000-05-12 Craig Lanning <CraigL@DyCon.com>
13109 * s\mingw32.h: Added #undef for CLASH_DETECTION.
13111 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
13113 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
13115 * nt.c (rva_to_section): mingw32 needs rva_to_section.
13116 (mswindows_executable_type): mingw32 now has enough headers for
13119 2000-05-20 Andy Piper <andy@xemacs.org>
13121 * console-msw.c (mswindows_output_last_error): ; -> ,
13123 2000-05-12 Andy Piper <andy@xemacs.org>
13125 * console-msw.c (FROB): compare ints with ints.
13127 2000-05-11 Andy Piper <andy@xemacs.org>
13129 * glyphs-x.c (x_finalize_image_instance): make minimal build
13132 2000-05-20 Ben Wing <ben@xemacs.org>
13135 * event-Xt.c (vars_of_event_Xt):
13136 move modifier-keys-are-sticky to event-stream.c.
13139 * event-msw.c (mswindows_enqueue_mouse_button_event):
13140 * event-msw.c (key_needs_default_processing_p):
13141 * event-msw.c (XEMSW_LCONTROL):
13142 * event-msw.c (mswindows_handle_sticky_modifiers):
13143 * event-msw.c (FROB):
13144 * event-msw.c (clear_sticky_modifiers):
13145 * event-msw.c (output_modifier_keyboard_state):
13146 * event-msw.c (output_alt_keyboard_state):
13147 * event-msw.c (mswindows_wnd_proc):
13148 * event-msw.c (mswindows_modifier_state):
13149 * event-msw.c (emacs_mswindows_handle_magic_event):
13150 implement sticky modifiers.
13153 * event-stream.c (vars_of_event_stream):
13154 move modifier-keys-are-sticky here.
13157 add CHECK_FUNCTION.
13160 implement map-range-table.
13163 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
13165 * redisplay-tty.c (reset_tty_modes):
13166 (tty_redisplay_shutdown): Adjust argument type to
13167 tty_frame_output_end.
13169 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
13171 * eval.c (Fbacktrace): Don't output a line with only right
13174 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
13176 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
13177 (Fpq_reset_poll): Ditto.
13179 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
13181 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
13183 2000-05-16 Ben Wing <ben@xemacs.org>
13186 * buffer.c (dfc_convert_to/from_internal_format):
13187 * buffer.c (reinit_vars_of_buffer):
13188 Fix conversion functions to allow reentrancy.
13191 * console-msw.c (mswindows_output_last_error):
13192 New fun, generally useful -- output a human-readable
13193 version of GetLastError() on the console.
13196 * console-msw.h (struct mswindows_frame):
13197 Changes for DeferWindowPos. Declare mswindows_output_last_error().
13199 * console-stream.c (stream_output_begin):
13200 * console-stream.c (stream_output_end):
13201 * console-stream.c (stream_output_vertical_divider):
13202 * console-stream.c (stream_clear_region):
13203 * console-stream.c (stream_flash):
13204 * console-stream.c (console_type_create_stream):
13205 Delete blank stream methods, not needed.
13207 * console.h (struct console_methods):
13208 Split begin/end methods into window and frame.
13211 * event-msw.c (mswindows_handle_paint):
13212 * event-msw.c (output_alt_keyboard_state):
13213 * event-msw.c (mswindows_wnd_proc):
13214 * event-msw.c (vars_of_event_mswindows):
13215 Comment about problems with ignored-expose.
13216 Define mswindows-debug-events; not really implemented.
13218 * frame-msw.c (mswindows_init_frame_1):
13222 * glyphs-msw.c (begin_defer_window_pos):
13223 * glyphs-msw.c (mswindows_unmap_subwindow):
13224 * glyphs-msw.c (mswindows_map_subwindow):
13225 * glyphs-msw.c (mswindows_resize_subwindow):
13226 Use DeferWindowPos to reduce flashing when mapping/unmapping.
13228 * glyphs.c (make_image_instance_1):
13231 * gutter.c (Fredisplay_gutter_area):
13232 Use new begin/end methods.
13234 * lisp.h (Dynarr_new2):
13238 * redisplay-msw.c (mswindows_frame_output_begin):
13239 * redisplay-msw.c (mswindows_frame_output_end):
13240 * redisplay-msw.c (console_type_create_redisplay_mswindows):
13241 New begin/end methods -- handle DeferWindowPos.
13243 * redisplay-output.c (redisplay_move_cursor):
13244 * redisplay-output.c (redraw_cursor_in_window):
13245 * redisplay-output.c (redisplay_update_line):
13246 * redisplay-output.c (redisplay_output_window):
13247 New begin/end methods.
13250 * redisplay-tty.c (tty_frame_output_begin):
13251 * redisplay-tty.c (tty_frame_output_end):
13252 * redisplay-tty.c (console_type_create_redisplay_tty):
13253 New begin/end methods.
13256 * redisplay-x.c (x_window_output_begin):
13257 * redisplay-x.c (x_window_output_end):
13258 * redisplay-x.c (console_type_create_redisplay_x):
13259 New begin/end methods.
13261 * redisplay.c (redisplay_frame):
13262 * redisplay.c (Fredisplay_echo_area):
13263 New begin/end methods.
13264 use MAYBE_DEVMETH for clear_frame; it may not exist.
13266 * window.h (WINDOW_XFRAME):
13267 WINDOW_XFOO macros -- get locale and decode struct pointer.
13270 2000-05-12 Ben Wing <ben@xemacs.org>
13273 * emacs.c (ensure_no_quitting_from_now_on):
13274 * emacs.c (fatal_error_signal):
13275 * emacs.c (mswindows_handle_hardware_exceptions):
13277 * emacs.c (Fkill_emacs):
13278 * emacs.c (shut_down_emacs):
13279 * emacs.c (assert_failed):
13280 various improvements in fatal error handling.
13283 move preparing_for_armageddon to emacs.c.
13286 declare fatal_error_in_progress.
13289 * print.c (std_handle_out_external):
13290 * print.c (std_handle_out_va):
13291 * print.c (stderr_out):
13292 * print.c (stdout_out):
13293 use console under mswin when no standard output.
13294 don't do code conversion during fatal error.
13296 * scrollbar.c (Fscrollbar_page_up):
13297 * scrollbar.c (Fscrollbar_page_down):
13298 fix missing else. reindent.
13300 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
13304 * glyphs.h (GLYPH_CACHEL_DESCENT):
13305 (GLYPH_CACHEL_DESCENT):
13306 (GLYPH_CACHEL_DESCENT):
13307 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
13308 used in case these are inline functions.
13309 Use more absurd values to error check.
13311 include window.h for error check functions.
13313 2000-05-11 Ben Wing <ben@xemacs.org>
13315 * cmdloop.c (Freally_early_error_handler):
13316 Display message box under windows; otherwise, message will disappear
13317 before it can be viewed.
13320 * console-msw.c (Fmswindows_message_box):
13321 * console-msw.c (FROB):
13322 * console-msw.c (syms_of_console_mswindows):
13323 Define new fun `mswindows-message-box'.
13324 #### I will merge this into `popup-dialog-box'; just give me
13328 * general.c (syms_of_general):
13329 Some new symbols used in `mswindows-message-box'.
13332 * glyphs.c (Fset_image_instance_property):
13333 put warning in this fun.
13336 * glyphs.h (GLYPH_CACHEL_WIDTH):
13337 * glyphs.h (GLYPH_CACHEL_ASCENT):
13338 * glyphs.h (GLYPH_CACHEL):
13339 * glyphs.h (GLYPH_CACHEL_GLYPH):
13340 define error-checking versions to try to catch a bug i've seen --
13341 redisplay gets in an infinite loop because the glyph width of the
13342 continuation glyph is 65535.
13345 Extern message-box stuff.
13347 * window.c (allocate_window):
13348 * window.c (make_dummy_parent):
13349 * window.c (Fset_window_configuration):
13350 Use EQUAL not EQ for subwindow caches to make them work a bit
13351 better. (Something is still very broken.)
13354 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
13356 * glyphs.c (image_instantiate): Suppress gcc warnings.
13357 (Fmake_image_instance): Fix doc string.
13358 * specifier.c (Fmake_specifier): Ditto.
13360 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
13362 * paths.h.in (PATH_LOCK): Removed.
13363 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
13364 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
13366 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
13368 * fns.c (Ffeaturep): Update e-mail address in doc-string.
13369 Document (featurep '(and xemacs 21.02)).
13371 2000-05-09 Ben Wing <ben@xemacs.org>
13373 * buffer.c (complex_vars_of_buffer):
13374 update modeline-format doc.
13377 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
13380 timeline of all released versions of Emacs, for use in creating
13381 authorship comments and in synching up.
13383 * glyphs-widget.c (image_instantiator_buttons):
13384 * glyphs-widget.c (image_instantiator_edit_fields):
13385 * glyphs-widget.c (image_instantiator_combo_box):
13386 * glyphs-widget.c (image_instantiator_scrollbar):
13387 * glyphs-widget.c (image_instantiator_progress_guage):
13388 * glyphs-widget.c (image_instantiator_tree_view):
13389 * glyphs-widget.c (image_instantiator_tab_control):
13390 * glyphs-widget.c (image_instantiator_labels):
13391 * glyphs-widget.c (image_instantiator_layout):
13392 * glyphs-widget.c (image_instantiator_native_layout):
13393 rename decode_domain method to governing_domain.
13396 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
13397 * glyphs.c (add_entry_to_device_ii_format_list):
13398 make sure we don't put an entry more than once into the list.
13399 * glyphs.c (check_instance_cache_mapper):
13400 *************************************************************
13401 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
13403 *************************************************************
13404 * glyphs.c (get_image_instantiator_governing_domain):
13405 clean up, expand on new concept of governing domain.
13406 * glyphs.c (instantiate_image_instantiator):
13407 * glyphs.c (allocate_image_instance):
13408 use governing_domain instead of cache_domain in naming.
13409 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
13410 * glyphs.c (make_image_instance_1):
13411 * glyphs.c (Fmake_image_instance):
13412 allow for any domain (not just device), and process the
13413 governing domain correctly. very big doc fix.
13414 * glyphs.c (Fimage_instance_domain):
13415 new primitive, to retrieve the governing domain of an image instance.
13416 * glyphs.c (image_instantiate):
13417 use new governing_domain stuff. this fixes a crash you could get
13418 by instantiating certain widget glyphs in frame locales. (should
13419 signal an error instead of crashing.)
13420 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
13421 * glyphs.c (Fglyphp): clean up doc.
13422 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
13423 * glyphs.c (syms_of_glyphs):
13424 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
13425 * glyphs.c (image_instantiator_format_create): add some comments about
13427 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
13428 for current-display-table. (Apparently Hrjove implemented in 1998 a
13429 design I wrote up in 1996, but didn't update the doc string.)
13431 * glyphs.h: clean up a doc string.
13432 * glyphs.h (governing_domain):
13433 * glyphs.h (struct image_instantiator_methods):
13434 changes for governing_domain stuff.
13437 * gutter.c (Fgutter_specifier_p):
13438 * gutter.c (Fgutter_size_specifier_p):
13439 * gutter.c (Fgutter_visible_specifier_p):
13441 * objects.c (Fcolor_specifier_p):
13442 * objects.c (Ffont_specifier_p):
13443 * objects.c (Fface_boolean_specifier_p):
13444 doc strings moved to make-*-specifier.
13446 * redisplay.c (add_disp_table_entry_runes_1):
13447 * redisplay.c (generate_fstring_runes):
13448 * redisplay.c (screen):
13449 add random comments and doc strings.
13452 * specifier.c (Fmake_specifier):
13453 major overhaul of this doc string.
13455 * specifier.c (Fvalid_specifier_domain_p):
13456 comment about the bogosity of image instances being domains.
13457 * specifier.c (decode_domain):
13458 now non-static, used in glyphs.c.
13459 * specifier.c (specifier_instance):
13460 comment about the bogosity of image instances being domains.
13461 * specifier.c (Fgeneric_specifier_p):
13462 move doc string to make-generic-specifier.
13463 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
13467 * specifier.h (DOMAIN_FRAME):
13468 * specifier.h (DOMAIN_LIVE_P):
13469 * specifier.h (DOMAIN_XDEVICE):
13471 add comments about problems with these macros.
13472 prototype for decode_domain.
13475 * toolbar.c (Ftoolbar_specifier_p):
13476 move doc string to `make-toolbar-specifier'.
13478 * window.c (window_unmap_subwindows_cache_mapper):
13479 *************************************************************
13480 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
13482 *************************************************************
13484 2000-05-09 Andy Piper <andy@xemacs.org>
13486 * glyphs.h: declare reset_frame_subwindow_instance_cache.
13488 * window.c (Fset_window_configuration): reset the frame subwindow
13489 cache and re-initialize the window subwindow caches.
13491 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
13493 2000-05-09 Ben Wing <ben@xemacs.org>
13495 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
13498 2000-04-26 Mike Woolley <mike@bulsara.com>
13500 * ntheap.c: Changed recreate_heap to limit the amount reserved
13501 for the heap to that which is actually available. Also now
13502 displays a message box (with some dignostics) in the event that
13503 it still can't start.
13505 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
13507 * callproc.c (Fold_call_process_internal): GCPRO path
13509 2000-05-08 Jan Vroonhof <jan@xemacs.org>
13511 Patch by Bill Perry.
13513 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
13514 back data instead of #ifdef.
13515 (Fscrollbar_page_down): ditto.
13517 2000-05-07 Ben Wing <ben@xemacs.org>
13520 Kludge for defining Qmswindows_tstr.
13523 * nt.c (open_input_file):
13524 * nt.c (open_output_file):
13525 * nt.c (rva_to_section):
13526 * nt.c (mswindows_executable_type):
13527 Move all memory-mapped-file routines here (some were in unexnt.c,
13528 which is bad because they are used by process-nt.c, and unexnt
13529 won't be around when portable dumping). Synched the above routines
13533 Removed ifdef'd out bogus code.
13534 Fixed some prototypes.
13536 * nt.h (file_data):
13537 * nt.h (OFFSET_TO_RVA):
13538 * nt.h (RVA_TO_OFFSET):
13539 * nt.h (RVA_TO_PTR):
13540 Moved the memory-mapped-file structures, macros and prototypes
13541 here, to parallel nt.c. ntheap.h should really be removed
13542 entirely, and it's a non-portable-dumper specific file.
13544 * ntheap.h (round_to_next):
13545 Moved the memory-mapped-file structures, macros and prototypes
13548 * ntproc.c (compare_env):
13549 Moved rva_to_section and mswindows_executable_type to nt.c.
13550 Moved compare_env to process-nt.c.
13551 ntproc.c will die, one day.
13553 * ntproc.c (sys_spawnve):
13554 Account for win32_ -> mswindows_.
13557 * process-nt.c (struct nt_process_data):
13558 * process-nt.c (ensure_console_window_exists):
13559 * process-nt.c (compare_env):
13560 * process-nt.c (nt_create_process):
13561 * process-nt.c (nt_kill_process_by_pid):
13562 * process-nt.c (syms_of_process_nt):
13563 * process-nt.c (vars_of_process_nt):
13564 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
13565 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
13566 changes). Eliminate our old `nt-quote-process-args' mechanism.
13567 Synch up nt_create_process with FSF 20.6 sys_spawnve.
13568 Move compare_env here from ntproc.c.
13570 * process.c (Fprocess_send_region):
13571 Takes an optional fourth argument, BUFFER, which should fix some
13572 problems with call-process.
13575 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
13578 Move ICC_BAR_CLASSES to syscommctrl.h.
13579 Add preliminary macros for MSWindows/Mule. More to come.
13582 * unexnt.c (unexec):
13583 open_output_file moved to nt.c.
13586 2000-05-05 Andy Piper <andy@xemacs.org>
13588 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
13589 instance from the frame cache also since GC may catch up too late
13590 to make frame deletion sane.
13592 2000-05-04 Andy Piper <andy@xemacs.org>
13594 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
13595 (x_finalize_image_instance): ungcpro on deletion.
13597 * glyphs.c (image_instantiator_format_create): give pointers a
13598 query geometry method so that the geometry is at least set.
13600 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
13601 initialize layouts if using widgets.
13603 2000-05-03 Andy Piper <andy@xemacs.org>
13605 * nt.c: remove bogus reference to sysmmsystem.h
13607 * gui-x.c (popup_selection_callback): fix no selection abort.
13609 2000-05-02 Andy Piper <andy@xemacs.org>
13611 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
13612 (mswindows_widget_instantiate): ditto.
13614 * glyphs-widget.c (initialize_widget_image_instance): initialize
13615 children correctly.
13616 (widget_instantiate): cope with children and items in the same
13619 * glyphs.c (mark_image_instance): cope with children as a first
13621 (image_instance_equal): ditto.
13622 (image_instance_hash): ditto.
13623 (image_instance_changed): ditto.
13625 2000-04-30 Andy Piper <andy@xemacs.org>
13627 * glyphs.c (subwindow_query_geometry): new function. Return some
13629 (subwindow_instantiate): don't assign dimensions if none have been
13631 (image_instantiator_format_create): add subwindow_query_geometry.
13632 (print_image_instance): cope with layouts as widgets.
13634 2000-04-29 Andy Piper <andy@xemacs.org>
13636 * frame.c (delete_frame_internal): call
13637 free_frame_subwindow_instance_cache so that all subwindows are
13638 finalized before their parent.
13639 (mark_frame): remove subwindow_cachels.
13640 (Fmake_frame): remove subwindow_cachel manipulation.
13641 (allocate_frame_core): subwindow_instance_cache is a weak list.
13642 (delete_frame_internal): set subwindow_instance_cache to nil.
13644 * glyphs-msw.c (mswindows_finalize_image_instance): make double
13646 (mswindows_finalize_image_instance): use the device
13647 not the domain as the domain may have died already.
13649 * glyphs-x.c (x_finalize_image_instance): ditto.
13650 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
13653 * redisplay-output.c (redisplay_unmap_subwindows): update for
13654 subwindow instance cache as a weak list.
13655 (redisplay_unmap_subwindows_maybe): ditto.
13656 (redisplay_unmap_subwindows_except_us): ditto.
13658 * glyphs.c (unmap_subwindow): error checking will check the domain
13659 so don't deal with it here. Don't use cachels anymore.
13660 (map_subwindow): ditto.
13661 (update_subwindow_cachel_data): remove old accessor names.
13662 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
13663 (Fresize_subwindow): don't update cachel.
13664 (mark_subwindow_cachels):
13665 (update_subwindow_cachel_data):
13666 (add_subwindow_cachel):
13667 (get_subwindow_cachel_index):
13668 (update_subwindow_cachel):
13669 (reset_subwindow_cachels):
13670 (mark_subwindow_cachels_as_not_updated): deleted.
13671 (cache_subwindow_instance_in_frame_maybe): new function. Add a
13672 subwindow instance to the frame cache.
13673 (find_matching_subwindow): update for subwindow instance cache as
13675 (update_widget_instances): ditto.
13676 (image_instance_type_to_mask):inlined.
13677 (free_frame_subwindow_instance_cache): new function. finalize all
13678 subwindows that are instantiated.
13680 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
13681 of cachel information.
13682 (IMAGE_INSTANCE_DISPLAY_X):
13683 (IMAGE_INSTANCE_DISPLAY_Y):
13684 (IMAGE_INSTANCE_DISPLAY_WIDTH):
13685 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
13686 (XIMAGE_INSTANCE_DISPLAY_X):
13687 (XIMAGE_INSTANCE_DISPLAY_Y):
13688 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
13689 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
13690 remove subwindow_cachel structure and function references.
13691 (image_instance_type_to_mask): inline from glyphs.c
13693 * redisplay.c (redisplay_frame): remove subwindow_cachel
13696 * frame.h (struct frame): remove subwindow_cachels.
13697 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
13699 * frameslots.h: add subwindow_instance_cache.
13701 * window.c (replace_window): check subwindow cache of replacement.
13702 (window_unmap_subwindows_cache_mapper):
13703 (window_unmap_subwindows): new functions. Unmap all subwindows
13704 cached on this window.
13705 (mark_window_as_deleted): unmap all subwindows.
13707 2000-04-27 Andy Piper <andy@xemacs.org>
13709 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
13711 * glyphs-widget.c (widget_layout): return something.
13712 (layout_layout): return something. Fail if not initialized.
13713 (layout_query_geometry): ditto.
13714 (image_instantiator_native_layout): new function. Initialized the
13715 native layout type.
13716 (widget_instantiate): don't do layout stuff here.
13718 * glyphs.c (instantiate_image_instantiator): reorded calling or
13719 instantiate and post_instantiate with layout in between.
13720 (image_instance_layout): be more selective about deciding whether
13721 the layout has been done or not.
13723 * glyphs.h (struct image_instantiator_methods): return a value
13724 from layout_method.
13726 2000-04-26 Andy Piper <andy@xemacs.org>
13728 * glyphs.c (allocate_image_instance): make initial width and
13729 height unspecified. Set initialized to 0.
13731 * syscommctrl.h new file. Encapsulates commctrl.h.
13733 * syswindows.h new file. Encapsulates windows.h.
13735 * ntplay.c: use new syswindows.h and syscommctrl.h header.
13737 * console-msw.h: ditto.
13739 * redisplay-tty.c (tty_output_display_block): remove layout references.
13741 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
13742 window handle rather than just the frame.
13744 * glyphs.c (mark_image_instance): remove layout references.
13745 (print_image_instance): ditto.
13746 (image_instance_equal): ditto.
13747 (image_instance_hash): ditto.
13748 (decode_image_instance_type): ditto.
13749 (encode_image_instance_type): ditto.
13750 (image_instantiate): ditto.
13751 (allocate_glyph): ditto.
13752 (Fimage_instance_height): ditto.
13753 (Fimage_instance_width): ditto.
13754 (update_subwindow): ditto.
13756 * redisplay-x.c (x_output_display_block): recode for layouts as
13759 * redisplay-output.c (redisplay_output_layout): recode for layouts
13761 (compare_runes): remove layout references.
13763 * redisplay-msw.c (mswindows_output_display_block): recode for
13764 layouts as widgets.
13766 * glyphs-widget.c (image_instantiator_layout): remove
13767 layout_possible_dest_types.
13768 (layout_possible_dest_types): deleted.
13770 * glyphs.h (image_instance_type): remove layout references.
13771 (struct Lisp_Image_Instance): ditto. Add initialized flag.
13772 (IMAGE_INSTANCE_INITIALIZED): new accessor.
13773 (XIMAGE_INSTANCE_INITIALIZED): ditto.
13775 2000-04-25 Andy Piper <andy@xemacs.org>
13777 * glyphs-widget.c (image_instantiator_buttons):
13778 (image_instantiator_edit_fields):
13779 (image_instantiator_combo_box):
13780 (image_instantiator_scrollbar):
13781 (image_instantiator_progress_guage):
13782 (image_instantiator_tree_view):
13783 (image_instantiator_tab_control):
13784 (image_instantiator_labels):
13785 (image_instantiator_layout): call default post_instantiate method.
13786 (widget_post_instantiate): new function. Simply lays out the
13789 * glyphs.h (struct image_instantiator_methods): add
13790 post_instantiate method.
13792 * glyphs.c (instantiate_image_instantiator): add post_instantiate
13795 2000-04-23 Andy Piper <andy@xemacs.org>
13797 * glyphs.h (struct image_instantiator_methods): add
13798 decode_domain_method.
13799 (struct Lisp_Image_Instance): remove subwindow frame - it can be
13800 derived from the domain.
13801 (IMAGE_INSTANCE_FRAME): new accessor.
13802 (XIMAGE_INSTANCE_FRAME): ditto.
13804 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
13805 instead of _SUBWINDOW_FRAME.
13806 (finalize_image_instance): ditto.
13807 (Fimage_instance_foreground): ditto.
13808 (Fimage_instance_background): ditto.
13809 (image_instantiate): ditto.
13810 (update_subwindow_cachel): ditto.
13811 (update_subwindow): ditto.
13812 (unmap_subwindow): ditto.
13813 (map_subwindow): ditto
13814 (subwindow_instantiate): ditto.
13815 * glyphs-msw.c (mswindows_update_widget): ditto.
13816 (mswindows_progress_gauge_instantiate): ditto.
13817 (mswindows_tab_control_update): ditto.
13818 * glyphs-x.c (x_update_widget): ditto.
13819 (x_widget_instantiate): ditto.
13820 (x_tab_control_instantiate): ditto.
13821 (x_tab_control_update): ditto.
13822 * event-msw.c (mswindows_wnd_proc): ditto
13824 * glyphs-widget.c (image_instantiator_layout): use
13825 subwindow_decode_domain.
13826 (image_instantiator_buttons): ditto.
13827 (image_instantiator_edit_fields): ditto.
13828 (image_instantiator_combo_box): ditto.
13829 (image_instantiator_scrollbar): ditto.
13830 (image_instantiator_progress_guage): ditto.
13831 (image_instantiator_tree_view): ditto.
13832 (image_instantiator_tab_control): ditto.
13833 (image_instantiator_labels): ditto.
13834 (image_instantiator_layout): ditto.
13836 * glyphs.c: add instance error checking to many functions.
13837 (instantiate_image_instantiator): decode device from cache_domain.
13838 (image_instantiate): partially rewrite by using
13839 decode_image_instantiator_domain to determine what domain the
13840 instance needs to be cached in.
13841 (decode_image_instantiator_domain): new function. Determine what
13842 domain the image needs to be cached in.
13843 (check_window_subwindow_cache): new error checking function.
13844 (check_instance_cache_mapper): ditto.
13845 (check_image_instance_structure): ditto.
13846 (subwindow_decode_domain): new function. Encodes a window as a
13847 subwindow's cache domain.
13848 (image_instantiator_format_create): use it for text and
13851 2000-04-21 Andy Piper <andy@xemacs.org>
13853 * glyphs.c (image_instance_device): new function.
13854 (image_instance_frame): new function.
13855 (image_instance_window): new function.
13856 (image_instance_live_p): new function.
13858 * window.c (mark_window_as_deleted): reset the subwindow_instance_
13861 * glyphs.h (struct Lisp_Image_Instance): device->domain.
13862 (IMAGE_INSTANCE_DOMAIN): new accessor.
13863 (XIMAGE_INSTANCE_DOMAIN): ditto.
13865 * glyphs-x.c (x_finalize_image_instance): device->domain.
13867 * glyphs-msw.c (init_image_instance_geometry): device->domain.
13868 (mswindows_finalize_image_instance): ditto.
13870 * glyphs-eimage.c (jpeg_instantiate): device->domain.
13871 (gif_instantiate): ditto.
13872 (png_instantiate): ditto.
13873 (tiff_instantiate): ditto.
13875 * glyphs.c (instantiate_image_instantiator): use domain rather
13877 (mark_image_instance): device -> domain.
13878 (print_image_instance): ditto.
13879 (finalize_image_instance): ditto.
13880 (image_instance_equal): ditto.
13881 (allocate_image_instance): ditto.
13882 (Fcolorize_image_instance): ditto.
13883 (query_string_geometry): ditto.
13884 (image_instantiate): ditto
13885 (query_string_font): ditto.
13886 (image_instantiate): ditto.
13887 (update_subwindow): ditto.
13888 (unmap_subwindow): ditto.
13889 (map_subwindow): ditto.
13890 (subwindow_instantiate): ditto.
13892 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
13893 (DOMAIN_FRAME): ditto.
13894 (DOMAIN_WINDOW): ditto.
13895 (DOMAIN_LIVE_P): ditto.
13896 (XDOMAIN_DEVICE): ditto.
13897 (XDOMAIN_FRAME): ditto.
13898 (XDOMAIN_WINDOW): ditto.
13900 * specifier.c (Fvalid_specifier_domain_p): add image instances as
13901 a valid specifier domain.
13903 2000-04-19 Andy Piper <andy@xemacs.org>
13905 * glyphs-widget.c (syms_of_glyphs_widget): remove
13906 widget-callback-current-channel.
13907 (vars_of_glyphs_widget): ditto.
13910 * gui.c (get_gui_callback): revert to previous behaviour.
13912 2000-04-18 Andy Piper <andy@xemacs.org>
13914 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
13915 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
13916 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
13918 * glyphs.c (image_instance_equal): add margin_width.
13919 (image_instance_hash): ditto.
13921 * glyphs-widget.c (widget_instantiate): deal with margin-width.
13922 (layout_query_geometry): ditto.
13923 (layout_layout): ditto.
13924 (syms_of_glyphs_widget): add margin-width.
13925 (image_instantiator_layout): allow margin-width.
13927 * glyphs.c (update_widget_instances): make a normal function.
13928 (syms_of_glyphs): remove Qupdate_widget_instances.
13931 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
13932 so that we don't corrupt ideas about the last event or
13933 command. Remove widget-callback-current-channel fiddling.
13934 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
13936 2000-05-01 Martin Buchholz <martin@xemacs.org>
13938 * XEmacs 21.2.33 is released.
13940 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
13942 * make-src-depend: Allow dots in header file name.
13944 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
13946 * mule-charset.h (struct charset_lookup): Add
13947 next_allocated_1_byte_leading_byte and
13948 next_allocated_2_byte_leading_byte.
13949 * mule-charset.c: Move above two variables so that those values
13952 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
13954 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
13955 when string length is zero.
13956 (find_charsets_in_emchar_string): Ditto.
13958 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
13960 * lisp.h: extern Qdialog and Qmenubar.
13962 * gui-x.c: added events.h.
13963 also fixed typo which made the file uncompilable.
13965 * general.c: Added Qmenubar and Qdialog
13967 2000-04-28 Ben Wing <ben@xemacs.org>
13969 * frame-msw.c (mswindows_init_frame_1):
13970 * frame-msw.c (mswindows_mark_frame):
13971 * event-msw.c (mswindows_enqueue_dispatch_event):
13973 * console-msw.h (struct mswindows_frame):
13974 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
13975 there are now three hash tables for callbacks.
13976 mswindows_enqueue_dispatch_event is no longer static.
13978 * dialog-x.c (maybe_run_dbox_text_callback):
13979 * dialog-x.c (dbox_descriptor_to_widget_value):
13980 switch to new cons3 form for callbacks.
13982 * glyphs-msw.c (mswindows_register_gui_item):
13983 * glyphs-msw.c (mswindows_widget_instantiate):
13984 * glyphs-msw.c (add_tree_item):
13985 * glyphs-msw.c (add_tab_item):
13986 new image instance parameter, so it can be passed to callback-ex.
13987 respect :callback-ex as well as :callback.
13989 * glyphs-widget.c (VALID_GUI_KEYWORDS):
13992 * glyphs.c (print_image_instance):
13993 prettify, e.g. now prints widget type.
13996 certain funs have new image instance parameter.
13999 * gui.c (get_gui_callback):
14000 * gui.c (gui_item_add_keyval_pair):
14001 * gui.c (gui_item_init):
14002 * gui.c (gui_add_item_keywords_to_plist):
14003 * gui.c (mark_gui_item):
14004 * gui.c (gui_item_hash):
14005 * gui.c (gui_item_equal):
14006 * gui.c (copy_gui_item):
14007 * gui.c (syms_of_gui):
14008 recognize callback-ex in a number of places.
14009 also, fix the annoying "can't get out of yes-no dialog" bug.
14012 * gui.h (struct Lisp_Gui_Item):
14013 recognize callback-ex in a number of places.
14015 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
14016 new parameter in button_item_to_widget_value.
14018 * glyphs-x.c (x_update_widget):
14019 * glyphs-x.c (x_button_instantiate):
14020 * glyphs-x.c (x_button_update):
14021 * glyphs-x.c (x_progress_gauge_instantiate):
14022 * glyphs-x.c (x_edit_field_instantiate):
14023 * glyphs-x.c (x_combo_box_instantiate):
14024 * glyphs-x.c (x_tab_control_instantiate):
14025 * glyphs-x.c (x_label_instantiate):
14026 new image instance parameter in various places.
14029 * event-Xt.c (enqueue_Xt_dispatch_event):
14030 this fun gets exported.
14033 * gui-msw.c (mswindows_handle_gui_wm_command):
14034 handle both :callback and :callback-ex, and generate our own
14035 event because it's one of the callback-ex arguments.
14038 * gui-x.c (popup_selection_callback):
14039 handle both :callback and :callback-ex, and generate our own
14040 event because it's one of the callback-ex arguments.
14041 * gui-x.c (button_item_to_widget_value):
14042 * gui-x.c (gui_items_to_widget_values_1):
14043 * gui-x.c (gui_item_children_to_widget_values):
14044 * gui-x.c (gui_items_to_widget_values):
14045 new image instance parameter in various places.
14047 * fns.c (Freplace_list):
14048 fix small typo in doc string.
14051 declare enqueue_Xt_dispatch_event.
14053 2000-04-28 Ben Wing <ben@xemacs.org>
14056 * buffer.c (Frecord_buffer):
14057 * buffer.c (syms_of_buffer):
14058 delete record-buffer-hook.
14061 * fns.c (Freplace_list):
14062 * fns.c (syms_of_fns):
14063 new primitive replace-list.
14066 slot for old buffer-alist.
14069 exfun replace-list.
14072 * redisplay.c (redisplay_frame):
14073 * redisplay.c (syms_of_redisplay):
14074 * redisplay.c (vars_of_redisplay):
14075 new hook buffer-list-changed-hook.
14078 2000-04-27 Ben Wing <ben@xemacs.org>
14080 * extents.h: extern in_modeline_generation.
14082 * redisplay.c (generate_formatted_string_db): set
14083 in_modeline_generation.
14085 * extents.c (extent_changed_for_redisplay): don't mark redisplay
14086 flags if in modeline generation. otherwise frame-modified-tick
14087 is ticked far too often.
14088 Declare in_modeline_generation.
14090 2000-04-26 Ben Wing <ben@xemacs.org>
14092 * emacs.c (vars_of_emacs): document quick-build "error-checking"
14094 (vars_of_emacs): add quick-build as an error-checking option.
14095 A bit kludgy, but there doesn't seem much point in creating
14096 a real var for this.
14098 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
14100 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
14102 * redisplay.h (struct display_line): Add a new variable,
14105 * redisplay.c (create_text_block): Set dl->line_continuation if
14106 the line continues.
14107 (create_string_text_block): Ditto.
14108 (regenerate_window_incrementally): Use line_continuation instead
14109 of searching continuation glyph.
14110 (add_margin_runes): Call add_glyph_rune.
14111 (add_glyph_rune): Handle margin glyph.
14113 2000-04-20 Martin Buchholz <martin@xemacs.org>
14115 * filelock.c (fill_in_lock_file_name):
14117 Check for IS_ANY_SEP instead of '/'.
14119 Avoid generating gratuitous garbage. Call user_login_name() directly.
14120 Never check errno without first seeing that system call failed.
14121 (unlock_file): Add GCPRO.
14122 (Flock_buffer): Fix docstring.
14123 (Ffile_locked_p): Fix docstring. Add GCPRO.
14125 2000-04-19 Martin Buchholz <martin@xemacs.org>
14127 * sysdep.c (get_pty_max_bytes):
14128 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
14129 strings longer than 252 bytes.
14131 * md5.c: Unconditionally include ANSI header <limits.h>
14133 * glyphs-x.c (convert_EImage_to_XImage):
14134 * lisp-union.h (union Lisp_Object):
14135 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
14137 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
14139 * filelock.c (current_lock_owner): Remove unused variable o, p.
14141 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
14143 * callint.c: Remove multiply defined symbol Qlet
14144 (syms_of_callint): ditto.
14146 2000-04-14 Andy Piper <andy@xemacs.org>
14148 * general.c (syms_of_general): add last-command, this-command, let
14151 * lisp.h: declare various symbols.
14153 * glyphs.h: declare Qwidget_callback_current_channel;
14155 * glyphs-widget.c (syms_of_glyphs_widget): add
14156 Qgui_callback_current_channel.
14157 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
14159 * gui-msw.c (mswindows_handle_gui_wm_command): bind
14160 widget-callback-current-channel when invoking the interactive
14161 arg. Also bind last-command and next-command when invoking the
14163 * gui-x.c (popup_selection_callback): ditto.
14165 * gui.c (get_gui_callback): massage args so that we are always
14166 calling eval. This allows us to add our own variable bindings
14169 * glyphs-x.c (x_button_instantiate): use
14170 gui_items_to_widget_values since this is GC safe.
14171 (x_progress_gauge_instantiate): ditto.
14172 (x_edit_field_instantiate): ditto.
14173 (x_label_instantiate): ditto.
14175 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
14176 (emacs_Xt_event_widget_focus_out): new function
14177 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
14179 (emacs_Xt_event_add_widget_actions): new function. add focus
14180 functions as actions.
14181 (init_event_Xt_late): use it.
14183 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
14185 * event-stream.c (Fdispatch_event): Doc fix.
14187 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
14189 * postgresql.c: Remove all references to PQsetenv*.
14191 * postgresql.h: Remove references to PGsetenvHandler object.
14192 * lrecord.h (lrecord_type): Ditto.
14194 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14196 * glyphs-msw.h (struct mswindows_image_instance_data): Added
14197 real_heigh and real_width members, and accessor macros for these.
14199 * glyphs-msw.c (init_image_instance_geometry): New function.
14200 (init_image_instance_from_dibitmap): Use it.
14201 (mswindows_resource_instantiate): Use it.
14202 (init_image_instance_from_xbm_inline): Use it.
14203 (mswindows_initialize_image_instance_mask): Use real bitmap
14205 (mswindows_create_resized_bitmap): Ditto.
14206 (mswindows_create_resized_mask): Ditto.
14208 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
14209 and bitmap to their surface size.
14211 2000-04-11 Jan Vroonhof <jan@xemacs.org>
14213 * process-unix.c (unix_send_process): Guard against process MIA
14214 after Faccept_process_output.
14216 2000-04-11 Ben Wing <ben@xemacs.org>
14218 * eval.c (unbind_to_hairy): fix brokenness introduced by
14219 nanosecond speed improvements.
14221 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
14223 * sunplay.c (init_device): To play sounds correctly, the device
14224 apparently needs to be initialized at least once by XEmacs. Make
14227 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
14229 * redisplay.c (add_margin_runes): Add text image glyph
14232 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
14234 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
14235 gcc is newer than 2.5.
14237 2000-04-06 Colin Rafferty <colin@xemacs.org>
14239 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
14241 * fns.c (size_bit_vector):
14242 * alloc.c (size_vector):
14243 (make_vector_internal):
14244 (make_bit_vector_internal):
14245 (sweep_bit_vectors_1):
14246 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
14248 2000-04-06 Andy Piper <andy@xemacs.org>
14250 * gmalloc.c (malloc): undo previous change.
14255 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
14257 * line-number.c (buffer_line_number): Revert to former version.
14259 2000-04-06 Andy Piper <andy@xemacs.org>
14261 * gmalloc.c (malloc): add error checking.
14266 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
14267 button_item_to_widget_value arg.
14269 * glyphs-x.c (x_button_instantiate): add extra
14270 button_item_to_widget_value arg.
14271 (x_progress_gauge_instantiate): ditto.
14272 (x_edit_field_instantiate): ditto.
14273 (x_label_instantiate): ditto.
14275 * gui-x.c (gui_items_to_widget_values_1): add extra
14276 button_item_to_widget_value arg.
14277 (button_item_to_widget_value): add extra menu_item_p arg.
14279 * gui-x.h: change signature of button_item_to_widget_value.
14281 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
14282 button_item_to_widget_value arg.
14284 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
14286 * buffer.h (struct buffer): auto_save_modified should be long.
14288 2000-04-05 Andy Piper <andy@xemacs.org>
14290 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
14292 (button_query_geometry): give a little more room so that athena
14295 2000-04-05 Andy Piper <andy@xemacs.org>
14297 * faces.c (complex_vars_of_faces): The widget face should inherit
14298 the font of the gui-element face.
14300 2000-04-04 Andy Piper <andy@xemacs.org>
14302 * glyphs-x.c (x_button_update): new function. unconditionally
14303 update a button's state when the instance is dirty.
14304 (image_instantiator_format_create_glyphs_x): add x_button_update.
14305 (x_widget_instantiate): remove old resize cruft.
14307 2000-04-02 Andy Piper <andy@xemacs.org>
14309 * frame.c (change_frame_size_1): The introduction of gutters means
14310 that we need to allow 0 as a potential frame dimension.
14312 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
14314 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
14315 image glyph if allow_cursor.
14316 (add_hscroll_rune): Don't allow cursor to border glyph.
14317 (create_text_block): Ditto.
14319 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
14320 text not in buffer.
14321 (redisplay_output_layout): Call ensure_face_cachel_complete for
14325 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
14327 * redisplay.c (add_glyph_rune): Adding text image as text runes.
14329 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
14332 * redisplay-tty.c (tty_output_display_block): Delete the routine
14333 for text image glyph
14334 * redisplay-x.c (x_output_display_block): ditto
14335 * redisplay-msw.c (mswindows_output_display_block): ditto
14337 2000-02-02 Mike Alexander <mta@arbortext.com>
14339 Note: Some of these were committed by accident as part of other
14342 * regex.c (regex_compile): Avoid compiler warnings.
14344 * ntproc.c (sys_spawnve): Avoid compiler warnings.
14346 * nt.h: Declare term_ntproc correctly.
14348 * nt.c: Remove incorrect declaration of get_home_directory which
14349 is declared correctly in lisp.h.
14351 * keymap.c (get_keyelt): Avoid compiler warnings.
14352 (raw_lookup_key_mapper): Avoid compiler warnings.
14354 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
14356 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
14358 * filemode.c (mode_string): Avoid compiler warnings.
14360 * file-coding.c (Fcoding_system_aliasee): Add return statement to
14363 * events-mod.h: Undef some things that winuser.h defines differently.
14365 * data.c (Faset): Avoid compiler warnings.
14367 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
14369 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14371 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
14372 Fall through to simple beep on error.
14373 Replace "extern" by real header file.
14375 * linuxplay.c: Use nativesound.h
14376 (play_sound_data): Return error code. Be less verbose on error.
14378 * sunplay.c: Use nativesound.h
14379 (play_sound_data): Return error code. Be less verbose on error.
14381 * ntplay.c: Use nativesound.h
14382 (play_sound_data): Return fake error code
14384 * sgiplay.c: Use nativesound.h
14385 (play_sound_data): Return error code
14387 * hpplay.c: Use nativesound.h, partially implement
14388 new error code. Break compilation until finished.
14389 (play_sound_data): error code.
14391 * nativesound.h (play_sound_file):
14392 (play_sound_data): Prototype in new header.
14394 2000-03-31 Andy Piper <andy@xemacs.org>
14396 * glyphs-widget.c: (button_query_geometry): new function. Adjust
14397 for toggle and radio buttons.
14398 (image_instantiator_buttons): use it.
14400 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14402 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
14403 (x_update_horizontal_scrollbar_callback): Return if no mirror was
14404 found. Scrollbar event probably belonged to some old config.
14406 2000-03-31 Andy Piper <andy@xemacs.org>
14408 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
14410 (initialize_widget_image_instance): default layout to
14411 LAYOUT_HORIZONTAL rather than 0.
14412 (widget_instantiate): reverse the item list at the end rather than
14414 (layout_layout): re-code for the border text at the front of the
14415 item list rather than at the end.
14416 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
14417 provided by the user.
14418 (widget_query_geometry): comment.
14420 2000-03-30 Andy Piper <andy@xemacs.org>
14422 * glyphs-widget.c (image_instantiator_layout): allow standard
14423 widget keywords in layouts.
14425 * gutter.c (output_gutter): cope with nil gutter contents.
14427 * frame.c (Fset_frame_properties): add gutter docs.
14429 2000-03-29 Andy Piper <andy@xemacs.org>
14431 * toolbar-msw.c (TBSTYLE_FLAT): add.
14432 (mswindows_output_toolbar): minor fiddling.
14434 2000-03-29 Andy Piper <andy@xemacs.org>
14436 * gutter.c (output_gutter): force gutter size recalculation if
14437 what we are trying to display won't fit.
14438 (update_gutter_geometry): new function. A per-gutter version of
14439 update_frame_gutter_geometry.
14440 (update_frame_gutter_geometry): use it.
14441 (redraw_exposed_gutter): add extra debugging output.
14443 2000-03-28 Mike Alexander <mta@arbortext.com>
14445 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
14446 (pdump_file_unmap): Implement it on Windows
14447 (pdump_file_get): Save alocated handles for pdump_file_unmap
14449 2000-03-28 Andy Piper <andy@xemacs.org>
14451 * gui.c (get_gui_callback): treat Quit specially.
14453 2000-03-27 Andy Piper <andy@xemacs.org>
14455 * glyphs.c (image_instantiate): be careful to check in the same
14458 2000-03-27 Didier Verna <didier@xemacs.org>
14460 * config.h.in: define the proper SMART_INCLUDE macro.
14461 handle renaming of `foo_h_path' to `foo_h_file'.
14463 * database.c: ditto.
14467 * linuxplay.c: ditto.
14469 * terminfo.c: ditto.
14471 * tooltalk.h: ditto.
14473 2000-03-27 Andy Piper <andy@xemacs.org>
14475 * glyphs-msw.c (mswindows_update_widget): make sure the widget
14476 gets updated whenever the face might have changed.
14478 2000-03-26 Mike Alexander <mta@arbortext.com>
14480 * dumper.c (pdump_resource_free): Fix the comment.
14482 2000-03-21 Olivier Galibert <galibert@pobox.com>
14484 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
14486 2000-03-22 Mike Alexander <mta@arbortext.com>
14488 * dumper.c: Include Windows headers on Windows
14489 (pdump_resource_free): Add a body to the function
14490 (pdump_load): exe_name -> exe_path and add some comments.
14492 2000-03-25 Mike Alexander <mta@arbortext.com>
14494 * gui.c (copy_gui_item_tree): Return a value in all cases
14496 2000-03-21 Didier Verna <didier@xemacs.org>
14498 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
14500 (SMART_INCLUDE): new macro.
14501 (POSTGRES_INCLUDE): new macro to include postgresql headers from
14502 the proper location.
14504 * postgresql.c: use it.
14508 2000-03-24 Andy Piper <andy@xemacs.org>
14510 * gutter.c (redraw_exposed_gutters): must be "in display" when we
14513 2000-03-24 Andy Piper <andy@xemacs.org>
14515 * redisplay-output.c (compare_runes): use image_instance_changed
14516 to detect changes. Do not depend on glyphs_changed, only depend on
14518 (redisplay_output_layout): add debug messages.
14519 (compare_runes): ditto.
14521 * glyphs.h: declare new functions.
14522 (struct Lisp_Image_Instance): remove percent and associated
14525 * gui.h: declare new copying functions.
14527 * gui.c (copy_gui_item_tree): new function.
14528 (copy_gui_item): new function.
14529 (gui_item_id_hash): revert to standard hash.
14530 (gui_item_hash): ditto.
14531 (gui_item_hash_internal): deleted.
14532 (mark_gui_item): mark value.
14533 (gui_item_add_keyval_pair): add value.
14534 (gui_item_init): ditto.
14535 (gui_add_item_keywords_to_plist): ditto.
14536 (gui_item_equal): ditto.
14537 (syms_of_gui): add Q_value.
14539 * glyphs-x.c (x_progress_gauge_update): use pending items and
14540 value for setting the state.
14541 (x_update_widget): don't set items from pending here.
14543 * glyphs-widget.c (update_widget): update items here.
14544 (progress_gauge_set_property): use items for storing value. Put
14545 new value in pending items.
14547 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
14548 items for new value. Convert percent -> value.
14549 (mswindows_tab_control_update): don't update items here.
14551 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
14552 (update_subwindow): ditto.
14553 (image_instance_changed): new function. Compare hash values and
14554 past and present widget items.
14555 (image_instantiate): We more careful about where we instantiate
14557 (image_instantiate): add error checking.
14559 * gutter.c (syms_of_gutter): use -hook.
14561 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
14563 * console-tty.c (Fset_console_tty_input_coding_system): Use
14565 (Fset_console_tty_output_coding_system): Use Qterminal.
14566 (tty_init_console): Use Qkeyboard and Qterminal.
14568 2000-03-21 Ben Wing <ben@xemacs.org>
14570 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
14571 From Mike Alexander <mta@arbortext.com>.
14573 2000-03-21 Ben Wing <ben@xemacs.org>
14575 * event-msw.c (mswindows_need_event): Horrible kludge to fix
14576 process brokenness. Proper implementation to come.
14578 Rename call-process-internal to old-call-process-internal.
14579 New impl. in process.el.
14581 2000-03-21 Martin Buchholz <martin@xemacs.org>
14583 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
14585 2000-03-20 Andy Piper <andy@xemacs.org>
14587 * glyphs.c (full_list_hash): make hashes of the same elements in
14588 different orders return different values.
14590 2000-03-20 Martin Buchholz <martin@xemacs.org>
14592 * XEmacs 21.2.32 is released.
14594 2000-03-20 Martin Buchholz <martin@xemacs.org>
14596 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
14597 (DFC_MALLOC_USE_CONVERTED_DATA):
14598 Add aliasing-safe casts to allow use with char* or unsigned char*
14601 * eldap.c (Fldap_open):
14602 (Fldap_search_basic):
14605 Make C++-compilable.
14606 Make sure GCPRO'ed variables are initialized.
14607 Use temp variables to avoid repeated calls to Flength.
14609 2000-03-16 Martin Buchholz <martin@xemacs.org>
14612 Make sure PATH_MAX is always defined.
14613 Include limits.h for PATH_MAX.
14614 Deprecate use of MAXPATHLEN.
14616 2000-03-10 Martin Buchholz <martin@xemacs.org>
14618 * emacs.c: Add reinit_vars_of_fileio.
14619 * symsinit.h: Add reinit_vars_of_fileio.
14620 * fileio.c (reinit_vars_of_fileio): New.
14621 * fileio.c (Fmake_temp_name):
14622 Initialize temp_name random number from microseconds to make
14623 collisions even less likely. Initialize always at process startup
14624 time. (make-temp-name) used to return the same file name twice in
14626 Random stylistic fiddling.
14629 2000-03-20 Andy Piper <andy@xemacs.org>
14631 * glyphs.c (image_instantiate): allow text glyphs to be
14632 instantiated in the minibuffer window.
14634 2000-03-19 Andy Piper <andy@xemacs.org>
14636 * glyphs.c (image_instance_hash): be careful about which items we
14639 * glyphs-widget.c (tab_control_set_property): record into pending
14640 items rather than the actual items.
14642 * glyphs-x.c (x_update_widget): use pending items to update with.
14644 * glyphs-msw.c (mswindows_tab_control_update): use pending items
14647 * glyphs.c (mark_image_instance): mark pending items.
14649 * window.c (Fset_window_configuration): record the buffer.
14650 (Fselect_window): totally revert previous change which breaks many
14653 2000-03-18 Andy Piper <andy@xemacs.org>
14655 * glyphs-msw.c (mswindows_tab_control_update): force selected
14658 * glyphs.c (image_instantiate): don't allow the minibuffer as a
14659 window domain cache, otherwise we get inconsistencies at
14660 startup. There is something fishy at startup which can lead to the
14661 minibuffer being the selected window when the gutter content is
14664 * gui.c (parse_gui_item_tree_list): add probably unnecessary
14666 (parse_gui_item_tree_children): ditto.
14667 (parse_gui_item_tree_item): ditto.
14669 * glyphs.c (Fupdate_widget_instances): return something.
14671 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
14673 * window.c (Fselect_window): Undo 2000-03-17 change.
14675 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
14677 * postgresql.c (Fpq_setenv): Remove this turkey when linking
14678 against v7.0 libraries. Insta-coredump city until the postgres
14681 2000-03-17 Andy Piper <andy@xemacs.org>
14683 * faces.c (complex_vars_of_faces): don't give the widget face an
14684 inherited background pixmap.
14686 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
14689 * event-stream.c (Fdispatch_non_command_events): return something.
14691 * gutter.c (output_gutter): use widget face.
14692 (clear_gutter): ditto.
14694 * NEWS: adjust again.
14696 * window.c (Fselect_window): make sure this runs to completion to
14697 avoid oddities with Fset_window_configuration.
14698 (Fcurrent_window_configuration): in general do not save the
14699 minibuffer as the selected window.
14701 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
14703 2000-03-16 Olivier Galibert <galibert@pobox.com>
14705 * emacs.c (Frunning_temacs_p): Revert previous patch.
14706 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
14708 2000-03-16 Andy Piper <andy@xemacs.org>
14710 * glyphs-x.c (x_tab_control_update): if no widget values then
14713 * NEWS: update for new features.
14715 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
14716 synthetic event to the native system.
14717 (reinit_vars_of_event_Xt): set force_event_pending to
14718 emacs_Xt_force_event_pending.
14720 * events.h (struct event_stream): add force_event_pending.
14722 * specifier.c (recompute_one_cached_specifier_in_window): add
14725 * redisplay.c (redisplay_frame): don't call
14726 update_frame_subwindows. Reset subwindow cachels when
14727 subwindows_changed, removing this was an optimization too far.
14729 * redisplay-output.c (compare_runes): reorganize so that we catch
14730 glyph changes when we want them. Set optimize_output when this
14731 would help layouts.
14732 (redisplay_output_layout): remove frame_really_changed, use
14733 optimize_output instead.
14735 * redisplay-msw.c (mswindows_output_display_block): reset
14736 optimize_output after outputting a glyph.
14737 * redisplay-x.c (x_output_display_block): ditto.
14738 * redisplay-tty.c (tty_output_display_block): ditto.
14740 * gutter.c: (specifier_vars_of_gutter): use new spec changed
14742 (gutter_specs_changed): do specific gutter positions.
14743 (top_gutter_specs_changed): new function. Only update the
14744 specified gutter specs.
14745 (bottom_gutter_specs_changed): ditto.
14746 (left_gutter_specs_changed): ditto.
14747 (right_gutter_specs_changed): ditto.
14749 * gui.c (gui_item_hash_internal): new function, does a real hash.
14750 (gui_item_id_hash): use it.
14751 (gui_item_hash): hash the eval'ed gui_item.
14753 * gui-x.c (popup_selection_callback): send an eval event to call
14754 Fupdate_widget_instances.
14756 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
14757 to call Fupdate_widget_instances.
14759 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
14760 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
14762 * glyphs.c: (update_frame_subwindows): deleted.
14763 (Fupdate_widget_instances): new function for updating the dirty
14764 state of widgets that might have changed.
14765 (syms_of_glyphs): add Qupdate_widget_instances.
14766 (full_list_hash): hash a list completely.
14767 (image_instance_hash): use it for items and properties.
14769 * frame-msw.c (mswindows_size_frame_internal): remove unused
14772 * faces.h (struct face_cachel): fix comment.
14774 * event-stream.c (Fdispatch_non_command_events): new
14775 function. Process non-command events, forcing an event cycle
14777 (syms_of_event_stream): declare.
14778 (event_stream_force_event_pending): new function. Force an event
14779 on the native event queue so that an event cycle will occur next
14783 (struct ntpipe_shove_stream):
14784 (mswindows_enqueue_dispatch_event):
14785 (mswindows_dequeue_dispatch_event):
14786 (mswindows_cancel_dispatch_event):
14787 (mswindows_pump_outstanding_events):
14788 (mswindows_drain_windows_queue):
14789 (mswindows_handle_paint):
14790 (mswindows_wnd_proc):
14791 (mswindows_key_to_emacs_keysym):
14792 (get_process_input_waitable):
14793 (emacs_mswindows_delete_stream_pair): re-indent file.
14794 (mswindows_need_event): do not process further fds if the windows
14795 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
14796 fixes the 100% cpu problem.
14797 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
14799 2000-03-15 Olivier Galibert <galibert@pobox.com>
14805 * emacs.c: Moved dump file searching to dumper.c.
14806 (Frunning_temacs_p): Fixed.
14808 * alloc.c: Moved everything pdump-related to dumper.c. Removed
14809 last_lrecord_type_index_assigned.
14811 2000-02-20 Olivier Galibert <galibert@pobox.com>
14813 * symsinit.h: Added reinit parameter to init_console_stream
14816 * lisp.h: Added file parameter to pdump_load declaration.
14818 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
14819 support. Added dump file searching.
14821 * config.h.in: Added EMACS_PROGNAME.
14823 * console-stream.c (init_console_stream): Fix reinitialisation
14824 when running from temacs.
14826 * alloc.c (pdump): Add id support.
14827 (pdump_load): Add file parameter and signature/id support.
14829 * Makefile.in.in: Add full pdump support.
14831 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
14833 * postgresql.c: Update documentation to reflect latest code
14835 (print_result): Show tuple counts in printed representation when
14837 (Fpq_put_nbytes): MULE-ize.
14838 (Fpq_get_line_async): Ditto.
14840 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
14842 * postgresql.c (Fpq_lo_import): Fix return value.
14843 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
14845 2000-03-13 Ben Wing <ben@xemacs.org>
14847 * alloc.c (pdump_load):
14848 Fix compile warning under mswin.
14850 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
14852 * postgresql.c: Mule-ization, bug fixes.
14853 Use PG_CODING to encapsulate coding system name changes.
14854 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
14855 (pg-coding-system): Create.
14857 (Fpq_conn_defaults): Mule-ize.
14858 (Fpq_connectdb): Mule-ize & bug fix.
14859 (Fpq_connect_start): Mule-ize.
14860 (Fpq_set_client_encoding): Mule-ize.
14861 (Fpq_finish): Document `DEAD' connection status.
14862 (Fpq_clear): Ditto.
14863 (Fpq_pgconn): Mule-ize.
14864 (Fpq_exec): Mule-ize & bug fix.
14865 (Fpq_send_query): Ditto.
14866 (Fpq_get_result): Ditto.
14867 (Fpq_res_status): Mule-ize.
14868 (Fpq_result_error_message): Mule-ize.
14869 (Fpq_ntuples): fix comments.
14870 (Fpq_fname): Mule-ize.
14871 (Fpq_fnumber): Mule-ize.
14872 (Fpq_ftype): fix comments.
14873 (Fpq_get_value): Mule-ize.
14874 (Fpq_cmd_status): Ditto.
14875 (Fpq_cmd_tuples): Ditto.
14876 (Fpq_oid_value): Ditto.
14877 (Fpq_notifies): Ditto.
14878 (Fpq_lo_import): Ditto.
14879 (Fpq_lo_export): Ditto.
14880 (Fpq_get_line): Ditto.
14881 (Fpq_put_line): Mule-ize and bug fix.
14882 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
14884 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
14886 * postgresql.c (vars_of_postgresql): Mule-ize.
14887 (Fpq_conn_defaults): Ditto.
14889 2000-03-12 Ben Wing <ben@xemacs.org>
14891 * alloc.c (Fmake_byte_code):
14892 * alloc.c (debug_string_purity_print):
14893 * alloc.c (pdump_backtrace):
14894 * alloc.c (pdump_get_indirect_count):
14895 * alloc.c (pdump_register_sub):
14896 * alloc.c (pdump_register_object):
14897 * alloc.c (pdump_register_struct):
14898 * alloc.c (pdump_dump_data):
14899 * alloc.c (pdump_reloc_one):
14903 * console-msw.c (GetConsoleHwnd):
14904 * console-msw.c (msw_hide_console):
14905 * console-msw.c (msw_show_console):
14906 * console-msw.c (msw_ensure_console_buffered):
14907 * console-msw.c (msw_output_console_string):
14908 * console-msw.c (console_type_create_mswindows):
14910 a) Added functions to manipulate the console window for use with
14913 b) Added support for writing text to the console, which is now
14914 used under Windows when xemacs is not being run non-interactively,
14915 to write text that would otherwise be destined for stdout because
14916 under these circumstances, text written to stdout tends to
14917 disappear and not be seen.
14921 * event-Xt.c (x_event_to_emacs_event):
14922 * event-Xt.c (describe_event_window):
14923 * events-mod.h (XEMACS_MOD_CONTROL):
14925 * events.c (Fmake_event):
14926 * events.c (character_to_event):
14927 * events.c (event_to_character):
14928 * events.c (format_event_object):
14929 * events.c (Fevent_modifiers):
14931 * events.h (struct key_data):
14932 * events.h (struct button_data):
14933 * events.h (struct misc_user_data):
14934 * frame-x.c (Fcde_start_drag_internal):
14935 * frame-x.c (Foffix_start_drag_internal):
14936 * gpmevent.c (Freceive_gpm_event):
14938 * keymap.c (bucky_sym_to_bucky_bit):
14939 * keymap.c (control_meta_superify):
14940 * keymap.c (make_key_description):
14941 * keymap.c (keymap_lookup_directly):
14942 * keymap.c (create_bucky_submap):
14943 * keymap.c (keymap_store):
14944 * keymap.c (define_key_check_and_coerce_keysym):
14945 * keymap.c (define_key_parser):
14946 * keymap.c (define_key_alternate_name):
14947 * keymap.c (Fdefine_key):
14948 * keymap.c (raw_lookup_key_mapper):
14949 * keymap.c (struct map_keymap_unsorted_closure):
14950 * keymap.c (map_keymap_unsorted_mapper):
14951 * keymap.c (map_keymap_sort_predicate):
14952 * keymap.c (map_keymap_sorted):
14953 * keymap.c (accessible_keymaps_mapper_1):
14954 * keymap.c (where_is_recursive_mapper):
14955 * keymap.c (describe_map_mapper):
14956 * keymap.c (describe_map_sort_predicate):
14957 * keymap.c (describe_map):
14958 * keymap.c (complex_vars_of_keymap):
14959 And a number of other files, the key modifier preprocessor
14960 constants that xemacs uses have names that conflict with constants
14961 defined under MS Windows for other purposes, so they were renamed
14962 to begin with the prefix XEMACS_. The variables that hold such
14963 modifiers were changed to consistently be of type int to fix
14964 various compile warnings.
14966 * console.c (complex_vars_of_console):
14969 * device-msw.c (mswindows_finish_init_device):
14970 * device-msw.c (msw_get_workspace_coords):
14971 * device-msw.c (mswindows_device_system_metrics):
14972 and various other files, added support for a new
14973 device property called offset-workspace which returns the position
14974 of the upper left corner of the workspace area and goes along with
14975 the existing size-workspace property.
14978 * dialog-msw.c (push_bufbyte_string_as_unicode):
14979 * dialog-msw.c (mswindows_popup_dialog_box):
14980 Added support for XEmacs-style accelerator specifications in
14981 button text. Note: I didn't add support for this under X Windows,
14982 and somebody needs to do this.
14985 * dialog.c (Fpopup_dialog_box):
14986 Documented the support for accelerators that was just mentioned.
14988 editfns.c (get_home_directory): Changed behavior under Windows
14989 when HOME not defined; former behavior was irretrievably broken.
14992 * emacs.c (main_1):
14994 * minibuf.c (clear_echo_area_internal):
14995 * minibuf.c (echo_area_append):
14997 * print.c (std_handle_out_external):
14998 * print.c (std_handle_out_va):
15000 * print.c (write_string_to_stdio_stream):
15001 * print.c (output_string):
15002 * print.c (debug_print):
15003 * print.c (debug_backtrace):
15004 * print.c (debug_short_backtrace):
15005 Cleaned up the code that prints text to stdout so that this can be
15006 changed to output into a console window instead under MS Windows,
15007 as described above.
15010 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
15011 * eval.c (internal_catch):
15012 * eval.c (unwind_to_catch):
15013 * eval.c (throw_or_bomb_out):
15014 * eval.c (condition_case_1):
15015 * eval.c (signal_1):
15016 * eval.c (check_error_state_sanity):
15017 * eval.c (call_with_suspended_errors_1):
15018 * eval.c (call_with_suspended_errors):
15019 * eval.c (reinit_vars_of_eval):
15020 Added code to catch throw loops and check for a pesky bug that may
15024 * event-msw.c (key_needs_default_processing_p):
15025 * event-msw.c (mswindows_wnd_proc):
15026 * event-msw.c (mswindows_modifier_state):
15027 * event-msw.c (emacs_mswindows_quit_p):
15028 * event-msw.c (vars_of_event_mswindows):
15029 a) Added support for using the alt key to select menu items as is
15030 standard under MS Windows. This is controlled using the variable
15031 menu-accelerator-enabled, just like under X Windows. There is an
15032 option on the options menu to turn this support on. I really
15033 think that it should be on by default under Windows, but I'm not
15034 going to make this change yet.
15036 b) Added support for dynamic display size changes under Windows.
15039 * event-stream.c (maybe_echo_keys):
15040 * event-stream.c (Fnext_event):
15041 * event-stream.c (command_builder_find_leaf):
15042 * event-stream.c (lookup_command_event):
15043 * event-stream.c (execute_command_event):
15044 * event-stream.c (pre_command_hook):
15045 * event-stream.c (post_command_hook):
15046 * event-stream.c (syms_of_event_stream):
15047 * event-stream.c (vars_of_event_stream):
15048 * event-stream.c (complex_vars_of_event_stream):
15049 * events.h (struct command_builder):
15051 a) Tried to clean up a little bit the horribly written x-specific
15052 accelerator code that crept into this file. I moved this code
15053 into menubar-x.c where it belongs. I also needed to move the
15054 command builder structure into the file events.h because it is
15055 accessed directly by this accelerator code. What I didn't do, but
15056 which should be done at some point, is to properly abstract this
15057 code using device methods instead of the kludgy way that it
15058 currently hooks into the event code.
15060 b) Added the lisp variables this-command-properties and
15061 last-command- properties, which should be used to synchronize two
15062 adjacent commands in preference to playing games with the variable
15063 this-command, which is typically what happens.
15065 c) Added some slightly nasty code to hook into the lisp support
15066 for shifted- motion-key selection. This is actually necessary for
15067 somewhat complicated reasons, which are described in
15068 simple.el. (NB: I think the proper thing would be to have the code
15069 that calls the pre and post command hooks also call out to generic
15070 lisp functions in simple.el, where all built-in stuff could be
15071 added. I will think about this more.)
15073 * event-unixoid.c (poll_fds_for_input):
15074 * lread.c (readchar):
15075 * redisplay-tty.c (tty_clear_frame):
15076 * redisplay-x.c (x_get_gc):
15077 * signal.c (interrupt_signal):
15078 And a whole bunch of other files: fixed up places that printed
15079 directly to stderr to instead call the function stderr_out so that
15080 the changes I made under Windows work correctly.
15082 * filemode.c (mode_string):
15086 * frame-msw.c (mswindows_size_frame_internal):
15087 Fixed the computation of frame size and position to keep the frame
15088 within the workspace area, rather than within the physical
15089 dimensions of the screen, so that the frame doesn't overlap window
15090 manager decorations, such as the start menu and toolbar, typically
15091 at the bottom of the screen.
15093 * frame.c (vars_of_frame):
15094 Changed the default frame title format under MS Windows to consist
15095 of buffername-XEmacs, which is standard under MS Windows. I think
15096 it might be a good idea to change this everywhere because I think
15097 it is superior to the current frame title format, but this is the
15098 kind of change that is likely to cause some people to get annoyed,
15099 so I'm not making it.
15101 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
15103 * gui-msw.c (mswindows_handle_gui_wm_command):
15104 Fixed compile warnings.
15107 * gui-x.c (strdup_and_add_accel):
15108 * gui-x.c (button_item_to_widget_value):
15110 Added code to automatically put an accelerator onto the beginning
15111 of menu items that don't have one as is now the standard, and is
15112 described more later. Also fixed things so that the menu item
15113 name can be an evaluated expression, again a new standard.
15116 * gui.c (gui_item_add_keyval_pair):
15117 * gui.c (make_gui_item_from_keywords_internal):
15118 * gui.c (gui_add_item_keywords_to_plist):
15119 * gui.c (gui_item_accelerator):
15120 * gui.c (gui_name_accelerator):
15121 * gui.c (gui_item_included_p):
15122 * gui.c (gui_item_display_flush_left):
15123 * gui.c (gui_item_display_flush_right):
15124 * gui.c (parse_gui_item_tree_item):
15125 * gui.c (parse_gui_item_tree_children):
15126 * gui.c (parse_gui_item_tree_list):
15127 Mule-ized. Cleanup. GCPRO addition.
15129 * line-number.c (buffer_line_number):
15131 * lisp.h (EMACS_INT_MAX):
15132 Added the manifest constant EMACS_INT_MIN corresponding to the
15133 existing constant EMACS_INT_MAX. This is partially to fix compile
15134 warnings under Windows, and partly for cleanliness.
15137 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
15138 * menubar-msw.c (msw_translate_menu_or_dialog_item):
15139 * menubar-msw.c (displayable_menu_item):
15140 * menubar-msw.c (populate_menu_add_item):
15141 * menubar-msw.c (populate_or_checksum_helper):
15142 * menubar-msw.c (populate_menu):
15143 * menubar-msw.c (update_frame_menubar_maybe):
15144 * menubar-msw.c (prune_menubar):
15145 * menubar-msw.c (msw_char_is_accelerator):
15146 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
15147 * menubar-msw.c (mswindows_handle_wm_command):
15148 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
15149 * menubar-msw.c (mswindows_handle_wm_initmenu):
15150 * menubar-msw.c (mswindows_update_frame_menubars):
15151 * menubar-msw.c (mswindows_free_frame_menubars):
15152 * menubar-msw.c (mswindows_popup_menu):
15153 Fixed a bug in handling accelerators where an extra character
15154 would be displayed in the menu item. Also generalized the
15155 function displayable_menu_item because it is now used by the
15156 dialog box code as well. And finally, added code in the functions
15157 that create the menubar to extract a list of accelerators for the
15158 top level menubar, which is used in the event code to determine
15159 whether a particular alt-key combination should be used to invoke
15160 a menu item, or should be passed through to access the standard
15161 XEmacs keymap binding for this key combination.
15163 Much needed GCPROing.
15166 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
15167 * menubar-x.c (menu_item_descriptor_to_widget_value):
15168 * menubar-x.c (restore_in_menu_callback):
15169 * menubar-x.c (x_popup_menu):
15170 * menubar-x.c (menu_move_up):
15171 * menubar-x.c (menu_move_down):
15172 * menubar-x.c (menu_move_left):
15173 * menubar-x.c (menu_move_right):
15174 * menubar-x.c (menu_select_item):
15175 * menubar-x.c (command_builder_operate_menu_accelerator):
15176 * menubar-x.c (menu_accelerator_junk_on_error):
15177 * menubar-x.c (command_builder_find_menu_accelerator):
15178 * menubar-x.c (Faccelerate_menu):
15180 Moved a whole bunch of code here that was previously in
15181 event-stream.c as described above. There is also code connected
15182 to the new standard of adding an accelerator to the beginning of
15183 menu items that don't have one as described above and below.
15186 * menubar.c (menu_parse_submenu_keywords):
15187 * menubar.c (Fmenu_find_real_submenu):
15188 * menubar.c (Fnormalize_menu_item_name):
15189 * menubar.c (syms_of_menubar):
15190 * menubar.c (vars_of_menubar):
15191 * menubar.c (complex_vars_of_menubar):
15193 a) Cleaned up a bunch of documentation and improved it.
15195 b) XEmacs now automatically adds an accelerator onto the beginning
15196 of any menu items that don't have one. I did this because there
15197 will inevitably be some menu items on the main menubar that don't
15198 have accelerators on them because the package that adds that
15199 particular menu item hasn't yet been fixed up to have accelerators
15200 in them and it looked rather strange to have some items with and
15201 some items without accelerators, especially since even in items
15202 without accelerators, you can, at least under windows, still
15203 access the item through an accelerator corresponding to the first
15204 character in the item's name. If people don't like this behavior,
15205 I can add a variable to turn it off optionally, but I'm not sure
15206 this is a good idea because we really do need to have accelerators
15207 on all of the menu items, and if a package doesn't like the
15208 accelerators being put on the first character, then it should put
15209 the accelerators where they belong.
15211 c) I made a behavior change, which is that the descriptor that
15212 specifies the text of the menu item, which formerly was just a
15213 string, can now also be an evaluated expression. This makes this
15214 descriptor parallel with all of the others, which could also be
15215 evaluated expressions. This also obviates the need for the
15216 keyword :label, which was previously listed in the documentation
15217 as unimplemented, and which was for the same purpose.
15222 * ntproc.c (new_child):
15223 * ntproc.c (sys_spawnve):
15224 * ntproc.c (find_child_console):
15225 * ntproc.c (sys_kill):
15226 Fixed compile warnings. By the way, this file should really go
15227 away entirely, and this will happen as soon as Kirill makes his
15228 final round of process cleanups, which affect the function
15232 * process-nt.c (struct nt_process_data):
15233 * process-nt.c (find_process_from_pid):
15234 * process-nt.c (send_signal_the_nt_way):
15235 * process-nt.c (enable_child_signals):
15236 * process-nt.c (find_child_console):
15237 * process-nt.c (send_signal_the_95_way):
15238 * process-nt.c (nt_finalize_process_data):
15239 * process-nt.c (ensure_console_window_exists):
15240 * process-nt.c (nt_create_process):
15241 * process-nt.c (nt_kill_child_process):
15242 * process-nt.c (nt_kill_process_by_pid):
15243 * process-nt.c (nt_open_network_stream):
15244 * process-nt.c (vars_of_process_nt):
15245 Copied over code from Emacs 20.5 to correctly send signals to sub-
15246 processes under Windows 95. Also added code to automatically
15247 create and hide console window when a sub-process is created under
15248 Windows 95, which obviates the need for the separate runemacs.exe
15249 executable, and finally implemented some variables that were
15250 implemented in Emacs 20.5, but previously not in XEmacs. These
15251 include mswindows- start-process-share-console and
15252 mswindows-start-process-inherit-error-mode. (Both of these only
15253 apply to Windows 95.)
15255 * regex.c (regex_compile): Fixed a compile warning.
15258 * select-msw.c (mswindows_own_selection):
15259 * select-msw.c (mswindows_get_foreign_selection):
15260 * select-msw.c (mswindows_disown_selection):
15261 * select-msw.c (console_type_create_select_mswindows):
15262 * select-msw.c (syms_of_select_mswindows):
15263 Cleaned up the file and implemented the device method
15264 selection_exists_p, which had accidentally been left out. Also
15265 removed four lisp functions that were remnants from before the
15266 time when the selection code was properly device abstracted.
15267 These functions are no longer needed because there are generic
15268 equivalents, and because they were added recently and don't exist
15269 in FSF Emacs, I don't think there's any problem with just deleting
15273 * sysdep.c (sys_subshell):
15274 Fixed a compile warning, although in this case there's probably
15275 something wrong with this code, and it ought to be looked into
15276 more thoroughly by somebody who understands it.
15279 * window.c (Fwindow_text_area_height):
15280 * window.c (Fwindow_width):
15281 * window.c (Fwindow_full_width):
15282 * window.c (Fwindow_pixel_width):
15283 * window.c (debug_print_window):
15284 * window.c (syms_of_window):
15285 Added functions window-text-area-height and window-full-width,
15286 which are functions for returning various width and height
15287 characteristics of a window. (One of these functions is necessary
15288 for making the file dialog box work correctly, and the other one
15289 was added for completeness.) Also added a table to the
15290 documentation for window-height which describes the entire scheme
15291 for accessing width and height characteristics of a window.
15293 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15295 * nt.c (fstat): Added a comment for another problem with
15296 non-encapsulated [f]stat(), reported by Adrian Aichner
15297 <aichner@ecf.teradyne.com>.
15299 2000-03-11 Andy Piper <andy@xemacs.org>
15301 * window.c (make_dummy_parent): initialize subwindow instance
15303 (Fset_window_configuration): zero extent_modiff.
15305 2000-03-10 Andy Piper <andy@xemacs.org>
15307 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
15308 more changes can be triggered.
15309 (Fredisplay_frame): ditto.
15310 (Fredraw_device): ditto.
15311 (Fredisplay_device): ditto.
15312 (redisplay_frame): make non-static.
15313 (redisplay_frame): call update_frame_gutter_geometry outside of
15316 * gutter.h: declare update_frame_gutter_geometry.
15318 * redisplay.h: declare redisplay_frame.
15320 * gutter.c (update_frame_gutter_geometry): move geometry changes
15321 in update_frame_gutters here. Geometry changes can only occur
15322 outside of redisplay.
15323 (update_frame_gutters): remove geometry change code.
15324 (Fredisplay_gutter_area): make sure that we are in display when we
15325 update and that we have flushed any size changes.
15327 2000-03-11 Andy Piper <andy@xemacs.org>
15329 * alloc.c (pdump_dump_data): remove i & count shadows.
15331 2000-02-27 Mike Alexander <mta@arbortext.com>
15333 * sysdep.h: Declare pdump_read_file
15335 * sysdep.c (pdump_read_file): New function
15337 * alloc.c (pdump_load): Call pdump_read_file to get the portable
15340 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
15342 * lrecord.h: add `lrecord_type_pgsetenv'.
15344 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
15346 * symsinit.h: declare (vars|syms)_of* functions.
15347 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
15349 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
15351 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
15353 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
15356 * emacs.c (main_1): Call postgres initialization code.
15358 * postgresql.h: New file. PostgreSQL RDBMS support.
15359 * postgresql.c: New file.
15361 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
15363 * redisplay-output.c (redisplay_output_display_block): Disable
15366 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15368 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
15369 (Fcanna_henkan_next): Ditto.
15370 (Fcanna_bunsetu_henkou): Ditto.
15371 (Fcanna_henkan_kakutei): Ditto.
15372 (Fcanna_henkan_end): Ditto.
15373 (Fcanna_henkan_quit): Ditto.
15374 (Fcanna_henkan_next): Set retun value correctly.
15375 (c2mu): Use unsigned char instead of signed char.
15377 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15379 * emacs.c (main_1): Always call syms_of_gui.
15380 * inline.c: include gui.h
15382 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15384 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
15385 converted to Lisp_Object.
15386 (Qtop_bottom): New variable.
15387 (syms_of_redisplay): Initialize it.
15388 * redisplay.h (Vvisible_bell): Ditto.
15389 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
15390 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
15391 only flash top and bottom.
15393 2000-03-08 Andy Piper <andy@xemacs.org>
15395 * buffer.c (Frename_buffer): record new buffer name the right way.
15397 2000-03-08 Andy Piper <andy@xemacs.org>
15399 * glyphs.c (update_subwindow): increase hash depth so that widget
15400 items get picked up properly.
15402 * redisplay-output.c (compare_runes): increase hash depth so that
15403 widget items get picked up properly.
15405 2000-03-08 Andy Piper <andy@xemacs.org>
15407 * gutter.c (output_gutter): add some debug.
15409 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
15410 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
15411 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
15413 * redisplay-output.c (compare_runes): use display_hash to
15414 determine if glyphs really are not the same.
15416 * glyphs.c (update_subwindow): check display_hash to see if
15417 anything really needs to be updated. If not then do
15418 nothing. Record the display_hash after updating.
15419 (image_instance_equal): compare the image_instance face also.
15421 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
15423 * redisplay.h: Fix comment style.
15425 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
15427 * consle-msw.h (struct mswindows_frame):
15428 Added new member paint_pending to indicate whether a WM_PAINT
15429 magic event has been queued for this frame.
15431 * event-msw.c (mswindows_drain_windows_queue):
15432 Don't queue a WM_PAINT magic event if one is already queued.
15433 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
15435 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
15437 2000-03-07 Didier Verna <didier@xemacs.org>
15439 * dired.c: #include `regex.h' after `sysfile.h'.
15441 2000-03-06 Martin Buchholz <martin@xemacs.org>
15443 * sound.c (init_nas_sound): Fix compiler warning.
15445 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
15447 (MARK_STRUCT_AS_FREE):
15448 (MARK_STRUCT_AS_NOT_FREE):
15449 Make `gcc -fstrict-aliasing' work properly.
15451 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
15453 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
15454 (mswindows_delete_device): Call CoUnnitialize().
15456 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
15458 2000-02-25 <CraigL@DyCon.com>
15460 * process-nt.c: MinGW now has <shellapi.h>, but still needs
15463 * sysdep.c: This extern declaration for environ prevents MinGW
15464 from finding the variable in CRTDLL.DLL.
15466 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
15468 (SHGFI_EXETYPE): ..
15469 (WM_MOUSEWHEEL): ..
15470 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
15472 (MMRESULT): Removed, now defined in cygwin's windows headers.
15474 (uid_t,gid_t,pid_t,ssize_t): ..
15475 (_timeb): Removed, MinGW defines both _timeb and timeb.
15476 (HAVE_H_ERRNO): Added.
15477 (HAVE_TZNAME): Added, configure is not detecting this.
15479 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
15481 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
15482 * syntax.c (syntax_match): Use it.
15484 * cmds.c: Import auto-fill-chars from FSF Emacs.
15485 (Vauto_fill_chars): New variables.
15486 (internal_self_insert): Check Vauto_fill_chars.
15488 Declare auto-fill-chars as a Lisp variable and initialize it.
15490 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
15492 * fileio.c (Fmake_symbolic_link):
15494 Run handlers even if local machine doesn't have symlinks.
15496 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
15498 * event-msw.c (mswindows_drain_windows_queue):
15499 Don't generate paint magic events for non-XEmacs frames.
15501 2000-03-05 Andy Piper <andy@xemacs.org>
15503 * redisplay.c (redisplay_frame): generate_displayable_area and
15504 friends assumes that we are not in GC, we therefore have to make
15505 sure that this doesn't happen.
15507 * gutter.c (calculate_gutter_size): generate_displayable_area
15508 assumes that we are not in GC, we therefore have to make sure that
15509 this doesn't happen.
15511 2000-03-05 Martin Buchholz <martin@xemacs.org>
15513 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
15515 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
15517 * redisplay.c (regenerate_window): Make sure we set a sane value
15518 for end_pos even if we jump out of the loop.
15519 (regenerate_window): Answer Ben's question :-).
15520 (start_end_of_last_line): Add may_error argument.
15521 (start_of_last_line):
15522 (end_of_last_line): Pass may_error = 0.
15523 (end_of_last_line_may_error): New function.
15524 (pixel_to_glyph_translation): Use it, so we don't crash in
15527 2000-03-04 Andy Piper <andy@xemacs.org>
15529 * window.h (struct window): add gutter_extent_modiff.
15531 * window.c (allocate_window): zero out gutter_extent_modiff.
15533 * redisplay.h: declare sync_display_line_structs.
15535 * redisplay.c (add_glyph_rune): add a better comment.
15537 * redisplay-output.c (sync_display_line_structs): made non-static.
15538 (compare_runes): remove unneccesary glyph cachel access.
15540 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
15542 * gutter.c (output_gutter): don't output the gutter if extent
15543 changes only involve extents in buffers. use 4 sets of display
15545 (gutter_extent_signal_changed_region_maybe): new function. Mark
15546 extents in gutters as changed.
15547 (update_frame_gutters): use 4 sets of display lines.
15548 (reset_gutter_display_lines): ditto.
15549 (free_frame_gutters): ditto.
15550 (redraw_exposed_gutter): force output of gutters.
15552 * frame.h (struct frame): add 4 sets of gutter display lines.
15554 * extents.c: (extent_changed_for_redisplay): signal changes to
15555 extents in strings in the gutter as well as extents in buffers.
15557 2000-03-02 Andy Piper <andy@xemacs.org>
15559 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
15561 * frame.c (Fmake_frame): make sure the gutters get initialized
15562 after the frame is visible.
15563 (set_frame_selected_window): re-arrange compilation macros a
15565 (change_frame_size_1): mark gutters changed.
15567 * device.c (Fset_device_class): mark gutters changed.
15569 2000-03-01 Andy Piper <andy@xemacs.org>
15571 * window.c (window_top_frame_gutter_height): deleted.
15572 (window_bottom_frame_gutter_height): ditto.
15573 (window_left_frame_gutter_height): ditto.
15574 (window_right_frame_gutter_height): ditto.
15575 (window_top_gutter_height): don't use them.
15576 (window_bottom_gutter_height): ditto.
15577 (window_left_gutter_width): ditto.
15578 (window_right_gutter_width): ditto.
15579 (Fsplit_window): ditto.
15580 (Fwindow_pixel_edges): don't use border dimensions here.
15582 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
15583 (update_scrollbar_instance): ditto.
15585 * redisplay.c (generate_modeline): don't take gutters into account.
15586 (generate_modeline): ditto.
15587 (redisplay_frame): small gutter display optimization.
15589 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
15591 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
15592 gutters into account.
15594 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
15595 for window position and type.
15597 * gutter.c (get_gutter_coords): fix for frame gutters.
15598 (update_frame_gutters): update frame geometry if the gutters have
15600 (init_frame_gutters): record current gutter geometries.
15602 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
15604 (mswindows_widget_instantiate): ditto.
15606 * frame.h (struct frame): add current_gutter_bounds.
15608 * frame.c (change_frame_size_1): position window and minibuffer
15609 appropriately taking into account the frame gutters.
15611 * frame-x.c: (x_initialize_frame_size): take into account the
15614 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
15616 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
15618 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
15620 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
15622 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15624 * file-coding.c (reset_decoding_stream): Clear previous
15625 detection state when autodetect.
15627 2000-02-29 Didier Verna <didier@xemacs.org>
15629 * extents.c (set_extent_glyph_1): don't require extents to be
15632 2000-02-27 Andy Piper <andy@xemacs.org>
15634 * gutter.c (Fset_default_gutter_position): don't default left and
15635 right gutter visibility to t.
15636 (Fset_default_gutter_position): run
15637 default-gutter-position-changed-hook.
15638 (syms_of_gutter): add default-gutter-position-changed-hook.
15640 2000-02-26 Andy Piper <andy@xemacs.org>
15642 * specifier.c (Fmake_specifier): add gutter references.
15644 * gutter.h (RAW_WINDOW_GUTTER): new macro.
15646 * lisp.h: declare Fvalid_plist_p.
15648 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
15650 (default_gutter_visible_p_changed_in_window): invalidate gutter as
15651 well as its visibility so that it gets reconstructed.
15652 (construct_window_gutter_spec): new function. Construct a string
15653 to be displayed in the gutter from a plist of strings. Take care
15654 to only use elements that are declared as visible.
15655 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
15657 (gutter_validate): allow plists of strings in the specifier.
15658 (gutter_specs_changed): construct the real_gutter from the gutter
15659 specs using construct_window_gutter_spec.
15660 (gutter_visible_validate): gutter-visible is a new specifier type.
15661 (Fgutter_visible_specifier_p): new function for the new specifier.
15662 (syms_of_gutter): declare gutter-visible and
15663 Fgutter_visible_specifier_p.
15664 (specifier_type_create_gutter): intitalize new gutter-visible
15666 (reinit_specifier_type_create_gutter): ditto.
15667 (specifier_vars_of_gutter): use new specifier type for gutter
15669 (init_frame_gutters): construct real_gutter correctly.
15670 (Fgutter_specifier_p): beef up documentation.
15671 (Fgutter_size_specifier_p): ditto.
15673 * winslots.h: add real_gutter slots.
15675 2000-02-25 Andy Piper <andy@xemacs.org>
15677 * device-msw.c: Be kind to older cygwin versions. From Raymond
15678 Toy <toy@rtp.ericsson.se>.
15680 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
15681 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
15683 2000-02-25 Martin Buchholz <martin@xemacs.org>
15685 * elhash.c (MARK_OBJ): Practice macro hygiene.
15687 2000-02-24 Martin Buchholz <martin@xemacs.org>
15689 * miscplay.c: s/__inline__/inline/g;
15690 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
15691 (get_device_compdc): INLINE ==> static inline
15692 * *.[ch]: Change INLINE to INLINE_HEADER globally.
15693 find -name '*.h' | \
15694 xargs global-replace \
15695 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
15697 2000-02-25 Andy Piper <andy@xemacs.org>
15699 * window.c (window_top_frame_gutter_height): new function.
15700 (window_top_window_gutter_height): ditto.
15701 (window_top_gutter_height): use them.
15702 (window_bottom_frame_gutter_height): new function.
15703 (window_bottom_window_gutter_height): ditto.
15704 (window_bottom_gutter_height): use them.
15705 (window_left_window_gutter_width): new function.
15706 (window_left_frame_gutter_width): ditto.
15707 (window_left_gutter_width): use them.
15708 (window_right_window_gutter_width): new function.
15709 (window_right_frame_gutter_width): ditto.
15710 (window_right_gutter_width): use them.
15711 (window_pixel_height): new function. calulate window pixel height
15712 with frame gutter involvement.
15713 (Fsplit_window): calculate new sizes taking frame gutters into
15715 (window_char_height_to_pixel_height): don't include frame gutters.
15716 (window_char_height): use window_pixel_height.
15717 (window_pixheight): rename from window_pixel_height.
15718 (change_window_height): use it.
15719 (window_pixel_height_to_char_height): don't include frame gutters.
15720 (window_char_width_to_pixel_width): ditto.
15722 2000-02-25 Andy Piper <andy@xemacs.org>
15724 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
15727 2000-02-24 Martin Buchholz <martin@xemacs.org>
15729 * alloc.c (staticpro):
15730 (staticpro_nodump):
15735 (compact_string_chars):
15736 (pdump_dump_wired):
15737 Convert: if (foo) abort(); ==> assert (! foo);
15739 * eldap.c (Fldap_search_basic):
15743 Fix compiler warnings, and possible crashes if (random) return
15744 value were to be used.
15746 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15748 * device-msw.c: Workaround ResetDC failure.
15750 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
15751 applying a devmode.
15753 * redisplay-msw.c (get_frame_dc): Added start_page_p.
15754 (mswindows_text_width): Do not start printer page.
15756 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
15758 * glyphs-msw.c: Added image methods to msprinter console and
15759 msprinter-specific image instantiation.
15761 2000-02-20 Mike Alexander <mta@arbortext.com>
15763 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
15764 to avoid crashes when selection-sets-clipboard is on
15765 (mswindows_own_selection): ditto
15767 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15770 * redisplay-msw.c (get_frame_dc):
15771 (get_frame_compdc):
15773 * device-msw.c (mswindows_init_device):
15774 (mswindows_delete_device):
15775 (msprinter_init_device):
15776 (msprinter_delete_device):
15777 * frame-msw.c (mswindows_init_frame_1):
15778 (mswindows_delete_frame):
15779 (msprinter_init_frame_3):
15780 (msprinter_delete_frame): Move compatible DC to device object from
15781 frame object, for both mswindows and msprinter. Only one at a time
15782 is needed, it is a real waste to have one per frame!
15784 2000-02-23 Andy Piper <andy@xemacs.org>
15786 * glyphs.c: add dynamic width and height elements.
15787 (image_instance_equal): ditto.
15789 * glyphs-widget.c (widget_query_geometry): calculate width and
15790 height dynamically if required.
15791 (initialize_widget_image_instance): initialize dynamic dimensions.
15792 (widget_instantiate): pick-up dynamic dimensions.
15794 * glyphs.h (struct Lisp_Image_Instance): add width and height for
15795 dynamic determination. Add appropriate macros.
15797 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
15799 (WINDOW_GUTTER_SIZE): ditto.
15800 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
15802 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
15804 (get_frame_dc): ditto.
15806 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
15809 2000-02-23 Martin Buchholz <martin@xemacs.org>
15811 * XEmacs 21.2.31 is released.
15813 2000-02-22 Ben Wing <ben@xemacs.org>
15815 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
15817 2000-02-22 Andy Piper <andy@xemacs.org>
15819 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
15821 2000-02-21 Mike Sperber <mike@xemacs.org>
15825 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
15828 2000-02-21 Mike Sperber <mike@xemacs.org>
15830 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
15832 2000-02-21 Martin Buchholz <martin@xemacs.org>
15834 * XEmacs 21.2.30 is released.
15836 2000-02-20 Martin Buchholz <martin@xemacs.org>
15838 Performance hacking.
15840 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
15841 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
15842 * emacs.c (main_1):
15844 * console.c (DEFVAR_CONSOLE_LOCAL_1):
15845 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
15846 * symeval.h (DEFVAR_SYMVAL_FWD):
15847 * symbols.c (guts_of_unbound_marker):
15848 Make all c_readonly objects also lisp_readonly and marked for life.
15849 * lrecord.h (struct lrecord_implementation):
15850 Document flags better.
15851 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
15852 * lrecord.h (DECLARE_LRECORD):
15853 * lrecord.h (XSETRECORD):
15854 * lrecord.h (RECORDP):
15855 * lrecord.h (RECORD_TYPEP):
15856 * lrecord.h (RECORD_MARKER): New.
15857 * lrecord.h (error_check_*):
15858 * lrecord.h (CONCHECK_NONRECORD):
15859 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
15860 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
15861 * lrecord.h (set_lheader_implementation):
15862 * lrecord.h (enum lrecord_type): New.
15863 * symeval.h (SYMBOL_VALUE_MAGIC_P):
15864 * alloc.c (disksave_object_finalization_1):
15865 * alloc.c (mark_object):
15866 * alloc.c (lrecord_type_index):
15867 * alloc.c (tick_lcrecord_stats):
15868 * alloc.c (Fgarbage_collect):
15869 * alloc.c (init_alloc_once_early):
15870 * alloc.c (pdump_load):
15871 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
15872 * alloc.c (lrecord_type_index): Delete.
15873 Make lisp object type indexes be constant.
15874 Makes (byte-compile) 5% faster.
15875 Put all marker functions into their own array.
15876 Makes (garbage-collect) 5% faster.
15877 Optimize SYMBOL_VALUE_MAGIC_P.
15878 Makes (byte-compile) 2-3% faster.
15879 * config.h.in (gc_checking_assert): New.
15880 * alloc.c: Use gc_checking_assert().
15881 * .dbxrc: Make compatible with new object type implementation.
15882 * .gdbinit: Make compatible with new object type implementation.
15883 * alloc.c: Delete all symbols defined only for debugging, such as
15884 Lisp_Type_Vector and lrecord_charset.
15886 2000-02-21 Andy Piper <andy@xemacs.org>
15888 * gui-msw.c (Fmswindows_shell_execute): fix file location
15891 * buffer.c (Fkill_buffer): remove buffer from alist buffer
15892 unshowing so that set_window_buffer doesn't undo
15893 kill_buffer_hook's hard work.
15895 * glyphs-widget.c (tab_control_query_geometry): don't count the
15896 first item when calculating geometry.
15898 * glyphs.c (map_subwindow): remove redundant code.
15899 (update_frame_subwindows): be more circumspect about when to
15902 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
15903 when items haven't changed. Update faces if faces have changed as
15904 well as just the widget face.
15905 (x_tab_control_update): Update faces if faces have changed as well
15906 as just the widget face.
15908 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
15910 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
15912 (build_syscolor_string): Use mswindows_color_to_string to try to
15914 (mswindows_device_system_metrics): Reverse the foreground and
15915 background colors so that they match the documentation.
15917 * objects-msw.c: (mswindows_X_color_map): tweak some values so
15918 they match the default Windows palette.
15919 (mswindows_color_to_string): New function.
15921 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
15923 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
15925 2000-02-18 Olivier Galibert <galibert@pobox.com>
15927 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
15928 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
15930 * symbols.c (init_symbols_once_early): Removed obsolete
15931 DATA_SEG_BITS related kludge.
15932 (defvar_magic): Ditto.
15934 * malloc.c: Removed obsolete DATA_SEG_BITS
15936 * mem-limits.h: Ditto.
15938 * Makefile.in.in: Removed obsolete HAVE_SHM
15941 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
15943 * device-msw.c (mswindows_delete_device): Free DDE string
15946 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15948 * keymap.c (get_keyelt):
15949 * unexnt.c (unexec):
15950 * vm-limit.c (memory_warnings):
15951 * ntheap.c (recreate_heap):
15952 * ntheap.h (UNINIT_PTR):
15953 * select-msw.c (Fmswindows_get_clipboard):
15954 (Fmswindows_set_clipboard):
15955 * objects-msw.h (MSWINDOWS_BAD_HFONT):
15957 * menubar-msw.c (displayable_menu_item):
15959 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
15960 * sysdep.c (sys_subshell):
15961 * process-nt.c (nt_create_process):
15962 * nt.c (normalize_filename):
15963 (dostounix_filename):
15964 (unixtodos_filename):
15965 * ntproc.c (win32_executable_type):
15966 * ntplay.c (play_sound_data_1):
15968 * editfns.c (get_home_directory):
15969 * event-msw.c (struct winsock_stream):
15970 (mswindows_dde_callback):
15971 * device-msw.c (msprinter_init_device):
15972 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
15974 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
15975 mswindows_clear_toolbar were swapped!
15977 * objects-msw.c:(colormap_t):
15979 * emacs.c (struct standard_args): Fixed const jumble.
15981 * glyphs-widget.c (update_widget): Fixed comparison notation.
15983 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
15985 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
15986 __declspec(noreturn) syntax.
15988 2000-02-19 Martin Buchholz <martin@xemacs.org>
15990 * eldap.c (Fldap_open):
15991 (Fldap_search_basic):
15994 Use new coding system conversion macros.
15996 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15998 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
16000 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
16002 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
16003 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16005 * eldap.c (Qadd, Qreplace): New constant symbols
16006 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
16007 interruptions by XEmacs signals
16008 Remove unnecessary calls to slow_down_interrupts and
16009 speed_up_interrupts
16010 (Fldap_search_basic): Renamed from Fldap_search_internal
16011 Added new optional parameter VERBOSE that triggers the
16012 display of progress messages
16013 Remove unnecessary calls to slow_down_interrupts and
16014 speed_up_interrupts
16015 LDAP result code analysis rewritten
16016 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16017 (syms_of_eldap): Define the new symbols and functions
16020 2000-02-17 Martin Buchholz <martin@xemacs.org>
16022 * realpath.c: Determine PATH_MAX maximally portably.
16024 * insdel.c (bytecount_to_charcount): Optimize.
16025 The function used to be optimized for entirely ASCII sequences.
16026 Now it is optimized for successive characters from the same
16027 charset. This also wins big for _mostly_ ASCII sequences.
16029 * fileio.c (Ffile_truename): convert return from realpath() using
16030 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
16031 - Rewrite GCPROing slightly.
16033 * sysdep.c (sys_open): Do filename conversion, like all other
16034 sys_* functions. Fixes bug:
16035 (let ((file-name-coding-system 'iso-8859-2))
16036 (write-region x y latin2-name))
16037 ==> writes filename using internal encoding.
16039 2000-02-18 Martin Buchholz <martin@xemacs.org>
16041 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
16042 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
16043 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
16044 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
16045 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
16046 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
16047 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
16048 (CONST_IF_NOT_DEBUG): Delete.
16049 * alloc.c (this_one_is_unmarkable): Delete.
16050 (mark_object): Don't check for this_one_is_unmarkable. Use the
16051 c_readonly flag instead.
16052 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
16054 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
16056 * event-msw.c (mswindows_drain_windows_queue):
16057 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
16058 away redundant repaint events.
16060 2000-02-17 Andy Piper <andy@xemacs.org>
16062 * redisplay.h: declare mark_redisplay_structs.
16064 * redisplay.c (redisplay_window):
16065 (redisplay_frame): don't check subwindows_state_changed.
16066 (mark_redisplay): mark gutters here.
16068 * glyphs.c: (instantiate_image_instantiator): always layout if we
16069 haven't done so already.
16070 (allocate_image_instance): don't mark as dirty.
16071 (update_subwindow): bind inhibit_quit.
16073 * gutter.c (mark_gutters): new function.
16075 * glyphs-x.c (x_update_widget): Always resize to get round a
16078 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
16079 breaking absolutely everything.
16081 * gutter.h: declare mark_gutters.
16083 2000-02-16 Martin Buchholz <martin@xemacs.org>
16085 * XEmacs 21.2.29 is released.
16087 2000-02-15 Olivier Galibert <galibert@pobox.com>
16089 * fns.c (size_bit_vector): Fix computation of the size.
16091 2000-02-15 Martin Buchholz <martin@xemacs.org>
16093 * *.[ch]: Change CONST to const globally.
16094 find -name '*.[ch]' | \
16095 xargs global-replace \
16096 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
16097 - Remove vestigial references to CONST_IS_LOSING
16099 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16101 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
16102 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
16103 events instead of dispatching them directly.
16104 (mswindows_handle_paint): New function to do repainting.
16105 (mswindows_wnd_proc):
16106 (emacs_mswindows_handle_magic_event): Call above function.
16108 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16110 * objects-msw.c (mswindows_create_font_variant): Return the new
16112 (initialize_font_instance): Get font metrics from the underlined
16113 variant of the font to cope with the case where the underlined
16114 font has a bigger descent.
16116 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
16118 * gui.c (gui_item_accelerator): Return the first underlined
16119 character in item name.
16121 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16123 * lisp.h: Added Qprinter.
16125 * general.c (syms_of_general): Initialized it.
16127 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
16129 (get_frame_compdc): Made inline.
16131 * console.h (struct console_methods): Added eject_page method.
16133 * frame.h: Added FRAME_DISPLAY_P and friends.
16134 Aligned backslahes in many macros in more readable fashion.
16135 Added page_number to struct frame, and an accessor macro
16138 * defice.h: Added DEVICE_DISPLAY_P and friends.
16140 * device.c (Fdevice_printer_p): Used these.
16142 * frame.c (allocate_frame_core): Initialize page number.
16143 (Fprint_job_page_number):
16144 (Fprint_job_eject_page): Implemented.
16146 * frame-msw.c (msprinter_eject_page): Added method.
16147 (msprinter_start_page): Added.
16149 * window.c (Fwindow_truncated_p): Fixed docstring.
16150 (Fwindow_last_line_visible_height): Implemented.
16152 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16154 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
16156 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16158 * syntax.c (scan_words): Always advance at least one character.
16160 2000-02-13 Andy Piper <andy@xemacs.org>
16162 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
16163 to make sure the glyph is in the cachels.
16165 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
16166 global image instance flag.
16167 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
16168 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
16170 * glyphs.c (allocate_image_instance): set dirty bits correctly.
16171 (Fset_image_instance_property): mark layout as changed.
16172 (invalidate_glyph_geometry_maybe): mark layout as changed.
16173 (glyph_width): use new NEEDS_LAYOUT macro.
16174 (glyph_ascent): ditto.
16175 (glyph_descent): ditto.
16176 (glyph_height): ditto.
16177 (image_instance_layout): mark layout as clean after laying out.
16178 (update_subwindow): don't mark layout as clean here.
16180 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
16181 should no longer be needed.
16183 * glyphs-x.c (x_update_widget): sanitize asserts.
16184 (x_finalize_image_instance): sanitize assignment to widgets.
16186 * glyphs-widget.c (widget_instantiate): don't need to clear the
16189 2000-02-13 Martin Buchholz <martin@xemacs.org>
16191 * sysdep.c (getcwd): Use standard prototype.
16192 * sysdep.h (getcwd): Use standard prototype.
16194 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
16195 (sequence, start, end).
16196 Remove redundant type checking.
16197 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
16198 view of `caller-protects') to avoid a crash where the real fix was
16201 2000-02-12 Martin Buchholz <martin@xemacs.org>
16203 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
16205 * s/sol2.h: Remove feature macro initialization.
16207 * alloc.c (alloc_lcrecord): Add more type checking assertions.
16208 (vector_hash): New. Code from internal_hash.
16210 Fix up allocation subsystem comments.
16212 * config.h.in: Add __EXTENSIONS__ for Solaris.
16214 * systime.h (EMACS_GETTIMEOFDAY): New.
16215 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
16216 Remove Solaris-specific code.
16217 Use void* for the (ignored) second arg for gettimeofday().
16219 * elhash.c (hash_table_hash): Implement it, finally.
16220 * elhash.c: Use hashcode_t.
16222 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
16223 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
16225 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
16226 * fns.c (size_bit_vector):
16227 * alloc.c (size_vector):
16228 (make_vector_internal):
16229 (make_bit_vector_internal):
16230 (sweep_bit_vectors_1):
16231 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
16233 2000-02-10 Martin Buchholz <martin@xemacs.org>
16235 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
16236 Include strings.h to avoid warnings for bzero and strcasecmp.
16238 2000-02-10 Olivier Galibert <galibert@pobox.com>
16240 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
16241 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
16243 * fns.c (size_bit_vector): New. Declare bit vectors as a
16246 2000-02-10 Olivier Galibert <galibert@pobox.com>
16248 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
16249 use a value field instead.
16250 (symbol_value_forward_forward): Use value field.
16251 (DEFVAR_SYMVAL_FWD): Use value field.
16252 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
16253 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
16254 (DEFVAR_CONST_INT): Ditto.
16255 (DEFVAR_BOOL): Ditto.
16256 (DEFVAR_CONST_BOOL): Ditto.
16257 (DEFVAR_INT_MAGIC): Ditto.
16258 (DEFVAR_BOOL_MAGIC): Ditto.
16260 * symbols.c (guts_of_unbound_marker): Use value field.
16261 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
16262 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
16264 * lisp.h: Declare dumpopaque and noninteractive1.
16266 * alloc.c (dumpopaque): Added.
16267 (pdump_dump_opaquevec): Added.
16268 (pdump): Call pdump_dump_opaquevec to dump opaque data.
16269 (pdump_load): Reload opaque data. Sync noninteractive1 with
16272 2000-02-10 Andy Piper <andy@xemacs.org>
16274 * glyphs.c (image_instance_layout): if the size changes, mark it
16277 * redisplay-output.c (redisplay_output_layout): Update the
16279 (redisplay_output_subwindow): ditto.
16281 * glyphs.c (update_subwindow): make sure we reset flags for
16282 layouts as well as everything else.
16284 * glyphs-widget.c (layout_layout): don't need to set the instances
16287 2000-02-09 Martin Buchholz <martin@xemacs.org>
16289 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
16290 not HAVE_DLOPEN, which is a lower-level thing.
16292 * .cvsignore: Ignore gmon.out
16294 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
16296 * .cvsignore: Ignore portable dumper xemacs.dmp file
16298 2000-02-09 Andy Piper <andy@xemacs.org>
16300 * redisplay-output.c (redisplay_output_layout): be more clever
16301 about when we output based on the changed flags.
16303 * glyphs.h (struct image_instantiator_methods): add update_method.
16304 (struct Lisp_Image_Instance): add changed flags. Declare new
16305 macros for manipulating them.
16307 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
16308 (image_instance_parent_glyph): find an image_instance's parent
16309 glyph or image_instance.
16310 (image_instance_layout): mark the size as changed.
16311 (set_image_instance_dirty_p): new function. mark an image
16312 instance, plus all of its parents, as dirty.
16313 (Fset_image_instance_property): use it.
16314 (Fglyph_animated_timeout_handler): use it.
16315 (update_subwindow): call update_widget and device methods for
16316 update_subwindow. Mark all changed flags as clean.
16317 (Fresize_subwindow): mark size as changed.
16319 * glyphs-x.c (x_finalize_image_instance): try and detect gc
16321 (x_update_subwindow): only resize subwindows here.
16322 (x_update_widget): new function. Update all changed properties of
16324 (x_resize_subwindow): deleted.
16325 (x_widget_set_property): deleted.
16326 (x_progress_gauge_set_property): deleted.
16327 (x_progress_gauge_update): new function. Implement recorded
16329 (x_tab_control_update): ditto.
16330 (x_tab_control_set_property): deleted.
16331 (console_type_create_glyphs_x): declare new functions.
16332 (image_instantiator_format_create_glyphs_x): ditto.
16334 * glyphs-widget.c (widget_set_property): mark text changed.
16335 (update_widget): new function. Update properties of a widget.
16336 (widget_instantiate): for layouts make sure we set their
16337 children's parent correctly.
16338 (tab_control_set_property): new function. Record changes that will
16339 take place under redisplay's control.
16340 (progress_gauge_set_property): ditto.
16341 (image_instantiator_progress_guage): declare new functions.
16342 (image_instantiator_tab_control): ditto.
16344 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
16346 (mswindows_update_widget): new function. Update all properties on
16347 a widget that have changed.
16348 (mswindows_button_update): new function. Update a button's set
16350 (mswindows_tab_control_update): new function. Update the items in
16352 (mswindows_tab_control_set_property): deleted.
16353 (mswindows_progress_gauge_update): new function. Update the
16354 progress gauge's progress.
16355 (mswindows_widget_set_property): deleted. This is all done
16356 asynchronously now.
16357 (mswindows_progress_gauge_set_property): ditto.
16358 (console_type_create_glyphs_mswindows): declare new methods.
16359 (image_instantiator_format_create_glyphs_mswindows): ditto.
16361 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
16362 (msprinter_set_frame_properties): ditto.
16364 * console.h (struct console_methods): Add update_widget_method.
16366 2000-02-09 Andy Piper <andy@xemacs.org>
16368 * gui-msw.c (Fmswindows_shell_execute): Make
16369 mswindows-shell-execute industrial strength.
16371 2000-02-08 Martin Buchholz <martin@xemacs.org>
16373 * lrecord.h: Make macro argument `props' match member function `plist'.
16376 * fns.c (Fremprop):
16377 * fns.c (Fobject_plist):
16380 Object property list frobbing cleanup.
16381 - Allow any lisp object (compared with `eq'), not just symbols, as
16382 keys in object plists.
16383 - Move symbol plist frobbing into symbols.c, where it belongs.
16384 - Move string plist frobbing into alloc.c, where it belongs.
16385 - Everything's an lrecord now, so no need to test for symbolp, etc.
16386 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
16388 * extents.c: Reorder code to remove declarations.
16390 * frame.h (store_in_alist): Remove useless declaration.
16392 2000-02-07 Martin Buchholz <martin@xemacs.org>
16394 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
16395 * config.h.in: Add HAVE_XCONVERTCASE.
16397 2000-02-07 Andy Piper <andy@xemacs.org>
16399 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
16400 it breaks many things.
16402 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
16404 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
16405 actually can start a common comment type.
16406 * src/syntax.h (SYNTAX_END_P): ditto for end.
16408 2000-02-07 Martin Buchholz <martin@xemacs.org>
16410 * XEmacs 21.2.28 is released.
16412 2000-02-06 Martin Buchholz <martin@xemacs.org>
16414 * event-Xt.c (x_keysym_to_character): New.
16415 (maybe_define_x_key_as_self_inserting_character): New.
16416 (x_has_keysym): New.
16417 Auto-define all keys on the keyboard as self-insert-key.
16419 2000-02-02 Martin Buchholz <martin@xemacs.org>
16421 * menubar.c (vars_of_menubar): A small code simplification.
16423 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
16426 * ExternalClient.c:
16427 * EmacsShell-sub.c:
16430 Use consistent style for specifying X resources.
16432 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
16433 This makes (dontusethis-set-symbol-value-handler) actually usable.
16435 * lrecord.h (lrecord_decription_type):
16436 * alloc.c (pdump_register_sub):
16439 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
16440 Comply with XEmacs coding style.
16441 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
16442 args, and XD_LISP_OBJECT_ARRAY with 3 args.
16444 * keymap.c (Faccessible_keymaps):
16445 Make (accessible-keymaps map "\C-h") do the Right Thing.
16446 Make (accessible-keymaps map []) do the Right Thing.
16447 Make (accessible-keymaps map "") do the Right Thing.
16448 (check_keymap_definition_loop): New function.
16449 (keymap_store_internal): Keep luser from shooting self in foot,
16450 via (define-key ctl-x-4-map "p" global-map).
16451 Remove fullness slot from struct Lisp_Keymap, since hash tables
16453 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
16455 2000-01-30 Martin Buchholz <martin@xemacs.org>
16457 * redisplay.c (init_redisplay): Fix small memory leak.
16459 * elhash.c (pdump_reorganize_hash_table):
16460 Rename from reorganize_hash_table. Change prototype.
16461 Reuse the original memory for hentries. Save 100k.
16462 * alloc.c (PDUMP_READ): new macro.
16463 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
16464 * alloc.c: No need to #ifndef before #undef.
16466 * print.c: Allow debug_print() to print readably by modifying
16467 debug_print_readably. Use consistent variable names.
16469 * .dbxrc: Try to get things to work even if stopped in a function
16470 without source available by explicitly specifying source files.
16471 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16473 * unexnt.c (_start): Removed bogus code which caused loading heap
16474 from differrent executable file.
16475 Removed bogus assignment to _fmode, which caused inconsistencies.
16477 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16479 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
16480 Have spawnve encapsulation regard DONT_ENCAPSULATE.
16481 Do not preliminary `#define signal sigset'.
16483 * systime.h: Do not prototype environ on windows nt and cygwin,
16484 this conflicts with system header.
16486 * syssignal.h: Use correct define for WINDOWSNT
16488 * sysdep.h: Do not prototype environ on windows nt, this conflicts
16489 with system header.
16491 * sysdep.c (near start of file): Fixed commentary and rearranged
16492 ifdefs in readable order.
16493 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
16496 (end_of_data): Do not compile in if using PDUMP.
16498 * symsinit.h: Prototyped vars_of_nt().
16500 * ntproc.c (windows9x_p): Added, instead of os_subtype.
16501 (find_child_console): Use it.
16502 (sys_kill): Use it.
16504 * ntheap.h: Do not extern os_subtype.
16506 * ntheap.c (cache_system_info): Do not cache unneeded:
16507 nt_major_version, nt_minor_version and os_subtype.
16508 (recreate_heap): Do not compile in when PDUMPing.
16510 * nt.c (geteuid and friends): Use the new varibale
16511 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
16512 (init_user_info): Removed the above mentioned hackery.
16513 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
16514 stat has been fixed in the C runtime.
16515 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
16517 * file-coding.c (struct file_coding_dump): Do not define
16518 ucs_to_mule_table in the struct if not MULE.
16519 (struct struct lrecord_description fcd_description_1): Do not dump
16522 * emacs.c (main_1): Call vars_of_nt().
16523 (right before Fdump_emacs_data): Don't need lastfile if using both
16524 portabe dumper and system malloc.
16526 * alloc.c (Fmemory_limit): Conditionalized out.
16527 (pdump): Use OPEN_BINARY for the portable dump file.
16528 (pdump_load): Ditto.
16530 2000-02-02 Mike Alexander <mta@arbortext.com>
16532 * nt.c (convert_time): Set tm_isdst before calling mktime and
16533 avoid calling it at all if the compiler supports 64 bit integers.
16534 Also initialize utc_base_ft before using it.
16536 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
16538 * frame.c (change_frame_size_1): Take f->internal_border_width
16539 into consideration when calculating the width of the frame.
16541 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16543 * window.c (frame_min_height):
16544 (frame_size_valid_p):
16545 (frame_pixsize_valid_p): Added.
16546 (check_frame_size): Generalized.
16548 * window.h: Prototyped the above.
16551 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
16552 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
16553 Deleted Vwin32_* and Vbinary_process_* unused variables.
16555 * device-msw.c (msprinter_init_device): Do not get printer font
16556 list; Added DEVMODE functions.
16558 * frame-msw.c: Added lots of printer code.
16560 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
16563 * console-msw.h: Added more msprinter device private slots.
16565 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16567 * event-msw.c (key_needs_default_processing_p): Added.
16568 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
16570 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16572 * glyphs.c (image_instance_layout): Mark image instance as clean
16574 (glyph_dirty_p): Removed redundant function.
16575 (invalidate_glyph_geometry_maybe): Added.
16576 (update_glyph_cachel_data): Call it.
16578 * glyphs.h: Prototyped it.
16580 * redisplay.c (add_glyph_rune): Call it.
16581 (redisplay_window): Reset glyphs cachels when frame faces have
16582 changed, thus forcing recomputation of built-in border glyphs.
16584 2000-01-30 Martin Buchholz <martin@xemacs.org>
16586 * Makefile.in.in: Make portable dumper and purify play well together.
16587 Add imperfect, but better than nothing, support for pdump.
16588 Remove xemacs.dmp when temacs is re-generated.
16589 Don't ignore errors when dumping xemacs.
16591 * symbols.c (maybe_call_magic_handler): Remove one magic number.
16593 2000-01-28 Andy Piper <andy@xemacs.org>
16595 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
16596 (setup_normal_frame): ditto.
16597 (setup_frame_without_minibuffer): ditto.
16598 (setup_minibuffer_frame): ditto.
16599 (delete_frame_internal): ditto.
16600 (Fmake_frame_invisible): ditto.
16601 (Ficonify_frame): ditto.
16603 * window.h: change Fset_window_buffer signature.
16605 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
16606 (Fset_window_buffer): allow recording of buffer if the window is
16607 the selected window.
16608 (window_loop): Use new Fset_window signature.
16610 2000-01-23 Daniel Pittman <daniel@danann.net>
16612 * config.h.in: Added template for `HAVE_ATHENA_3D'
16614 2000-01-29 Andy Piper <andy@xemacs.org>
16616 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
16618 * gutter.c (output_gutter): Don't output if the window isn't live.
16620 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16622 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
16623 of 01/12/00: Moved SetFocus back here where it belongs.
16625 2000-01-23 Andy Piper <andy@xemacs.org>
16627 * s/cygwin32.h: declare printer things.
16629 2000-01-26 Andy Piper <andy@xemacs.org>
16631 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
16634 2000-01-24 Andy Piper <andy@xemacs.org>
16636 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
16637 (mswindows_button_instantiate): Make sure glyph is a pixmap.
16639 * glyphs-widget.c (widget_instantiate): Avoid shadows.
16641 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
16643 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
16645 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
16646 (mswindows_output_display_block): Avoid local shadows.
16648 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
16649 (mswindows_enqueue_mouse_button_event): ditto.
16650 (mswindows_handle_gui_wm_command): remove declaration.
16652 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
16655 * console-msw.h: Avoid shadows.
16656 (mswindows_get_toolbar_button_text):
16657 (emacs_mswindows_create_stream_pair):
16658 (emacs_mswindows_delete_stream_pair):
16659 (mswindows_handle_toolbar_wm_command): declare.
16661 * device-msw.c (build_syscolor_string): Avoid shadows.
16663 2000-01-23 Andy Piper <andy@xemacs.org>
16665 * glyphs-widget.c (widget_instantiate): reverse the items for
16666 layouts so that children are in the expected order.
16668 2000-01-28 Martin Buchholz <martin@xemacs.org>
16670 * ralloc.c: safe_bcopy ==> memmove
16671 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
16672 * s/msdos.h: Remove BCOPY macros.
16673 * insdel.c (gap_right): Remove BCOPY conditional code.
16674 * insdel.c (gap_left): Remove BCOPY conditional code.
16675 XEmacs demands a working ANSI C compiler - hence memmove.
16677 * regex.c (regex_compile): Remove accidental use of trigraphs.
16679 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16681 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
16684 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16686 * event-msw.c (mswindows_drain_windows_queue): Added the
16688 (mswindows_need_event): Commented the call to
16689 mswindows_drain_windows_queue().
16690 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
16693 * console-msw.h: Moved a few function prototypes here from
16696 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
16697 parameter from unsigned short to unsigned long.
16698 (Fmswindows_shell_execute): Added return value.
16700 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
16702 * sysdep.c (init_system_name):
16703 process-unix.c (unix_canonicalized_host_name):
16704 Don't call freeaddrinfo() if getaddrinfo() fails.
16706 * process-unix.c (unix_open_unix_network_stream):
16707 Moved the code to get a port # into address loop.
16709 2000-01-27 Martin Buchholz <martin@xemacs.org>
16711 * buffer.c (reinit_vars_of_buffer):
16712 The right place to initialize conversion_in_dynarr and
16713 conversion_out_dynarr.
16715 * alloc.c (pdump): Use the real open() till sys_open() is functional.
16717 * process-unix.c (unix_canonicalize_host_name): Muleize.
16718 (unix_open_network_stream): Muleize.
16720 * buffer.h: Fix up prototypes for ralloc.c functions.
16722 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
16723 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
16724 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
16725 instead of gethostbyname()
16726 * process-unix.c: In unix_canonicalize_host_name() and
16727 unix_open_network_stream(), add code to use getaddrinfo()
16728 instead of gethostbyname().
16730 2000-01-27 Daniel Pittman <daniel@danann.net>
16732 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
16733 libs when built with flat Athena.
16735 2000-01-27 Martin Buchholz <martin@xemacs.org>
16737 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
16738 Use coding standards for function prototypes.
16740 2000-01-25 Martin Buchholz <martin@xemacs.org>
16742 * dialog-msw.c (push_lisp_string_as_unicode):
16743 * doc.c (unparesseuxify_doc_string):
16744 * dired.c (Fuser_name_completion_1):
16745 * dired.c (Fuser_name_all_completions):
16746 * dired.c (free_user_cache):
16747 * dired.c (user_name_completion):
16748 * console-x.c (get_display_arg_connection):
16749 * minibuf.c (clear_echo_area_internal):
16750 * minibuf.c (echo_area_append):
16751 * eldap.c (Fldap_open):
16752 * eldap.c (Fldap_search_internal):
16753 * frame-x.c (x_set_frame_text_value):
16754 * frame-x.c (x_set_frame_properties):
16755 * frame-x.c (x_create_widgets):
16756 * redisplay-tty.c (term_get_fkeys_1):
16757 * objects-x.c (x_parse_nearest_color):
16758 * objects-x.c (x_valid_color_name_p):
16759 * objects-x.c (x_initialize_font_instance):
16760 * objects-x.c (x_list_fonts):
16761 * objects-x.c (x_find_charset_font):
16762 * tooltalk.c (Fadd_tooltalk_message_arg):
16763 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
16764 * tooltalk.c (Fadd_tooltalk_pattern_arg):
16765 * process-unix.c (unix_create_process):
16766 * ntproc.c (sys_spawnve):
16767 * sound.c (Fplay_sound_file):
16768 * sound.c (Fplay_sound):
16769 * buffer.c (init_initial_directory):
16770 * buffer.c (init_buffer):
16771 * editfns.c (init_editfns):
16772 * editfns.c (Ftemp_directory):
16773 * editfns.c (Fuser_full_name):
16774 * editfns.c (uncache_home_directory):
16775 * editfns.c (get_home_directory):
16776 * editfns.c (Fuser_home_directory):
16777 * editfns.c (Fformat_time_string):
16778 * editfns.c (Fcurrent_time_string):
16779 * gui-x.c (button_item_to_widget_value):
16780 * database.c (Fopen_database):
16781 * event-Xt.c (x_to_emacs_keysym):
16782 * event-Xt.c (x_event_to_emacs_event):
16783 * event-Xt.c (describe_event_window):
16784 * event-msw.c (mswindows_wnd_proc):
16785 * glyphs-eimage.c (jpeg_instantiate):
16786 * glyphs-eimage.c (gif_instantiate):
16787 * glyphs-eimage.c (png_instantiate):
16788 * glyphs-eimage.c (tiff_instantiate):
16789 * glyphs-x.c (xbm_instantiate_1):
16790 * glyphs-x.c (x_xbm_instantiate):
16791 * glyphs-x.c (x_xface_instantiate):
16792 * glyphs-x.c (autodetect_instantiate):
16793 * glyphs-x.c (cursor_font_instantiate):
16794 * glyphs-x.c (x_widget_instantiate):
16795 * glyphs-x.c (x_widget_set_property):
16796 * glyphs-x.c (x_widget_property):
16797 * glyphs-x.c (BUILD_GLYPH_INST):
16798 * print.c (write_string_to_stdio_stream):
16799 * print.c (output_string):
16800 * print.c (Falternate_debugging_output):
16801 * print.c (Fexternal_debugging_output):
16802 * glyphs-msw.c (extract_xpm_color_names):
16803 * glyphs-msw.c (mswindows_xpm_instantiate):
16804 * glyphs-msw.c (bmp_instantiate):
16805 * glyphs-msw.c (resource_name_to_resource):
16806 * glyphs-msw.c (mswindows_resource_instantiate):
16807 * glyphs-msw.c (xbm_instantiate_1):
16808 * glyphs-msw.c (mswindows_xbm_instantiate):
16809 * glyphs-msw.c (mswindows_xface_instantiate):
16810 * glyphs-msw.c (mswindows_widget_instantiate):
16811 * glyphs-msw.c (add_tree_item):
16812 * glyphs-msw.c (add_tab_item):
16813 * glyphs-msw.c (mswindows_combo_box_instantiate):
16814 * glyphs-msw.c (mswindows_widget_property):
16815 * glyphs-msw.c (mswindows_combo_box_property):
16816 * glyphs-msw.c (mswindows_widget_set_property):
16817 * console.c (stuff_buffered_input):
16818 * objects-msw.c (mswindows_initialize_color_instance):
16819 * objects-msw.c (mswindows_valid_color_name_p):
16820 * objects-msw.c (mswindows_list_fonts):
16821 * objects-msw.c (mswindows_font_instance_truename):
16822 * bytecode.c (optimize_compiled_function):
16823 * select-x.c (symbol_to_x_atom):
16824 * select-x.c (x_atom_to_symbol):
16825 * select-x.c (hack_motif_clipboard_selection):
16826 * select-x.c (selection_data_to_lisp_data):
16827 * select-x.c (lisp_data_to_selection_data):
16828 * select-x.c (Fx_get_cutbuffer_internal):
16829 * select-x.c (Fx_store_cutbuffer_internal):
16830 * buffer.h (TO_EXTERNAL_FORMAT): New function.
16831 * buffer.h (TO_INTERNAL_FORMAT): New function.
16832 * emacs.c (make_arg_list_1):
16833 * emacs.c (make_argc_argv):
16834 * emacs.c (main_1):
16835 * emacs.c (Fdump_emacs):
16836 * emacs.c (split_string_by_emchar_1):
16841 * device-x.c (x_init_device):
16842 * device-x.c (Fx_valid_keysym_name_p):
16843 * device-x.c (Fx_get_font_path):
16844 * device-x.c (Fx_set_font_path):
16845 * glyphs.c (bitmap_to_lisp_data):
16846 * glyphs.c (pixmap_to_lisp_data):
16847 * alloc.c (make_ext_string): Use coding system arguments. Update
16849 * alloc.c (build_string):
16850 * callproc.c (child_setup):
16851 * callproc.c (init_callproc):
16852 * fileio.c (lisp_strerror):
16853 * fileio.c (directory_file_name):
16854 * fileio.c (Fexpand_file_name):
16855 * fileio.c (Ffile_truename):
16856 * fileio.c (Fsysnetunam):
16857 * fileio.c (Fdo_auto_save):
16858 * sysdep.c (sys_readdir):
16859 * tests.c: New file. Allow adding C tests.
16860 Replace GET_* macros with a more comprehensible and flexible
16861 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
16863 Any coding system can be used to do format conversion.
16864 Eliminate enum external_data_format.
16865 Eliminate convert_to_external_format.
16866 Eliminate convert_to_internal_format.
16867 Make sure file-name, keyboard, terminal, and ctext are always
16868 defined as coding systems or aliases. Make
16869 file-name-coding-system, terminal-coding-system, and
16870 keyboard-coding-system magical variables that are equivalent to
16871 defining the corresponding coding system aliases.
16873 * file-coding.c (Fcoding_system_canonical_name_p): New function.
16874 * file-coding.c (Fcoding_system_alias_p): New function.
16875 * file-coding.c (Fcoding_system_aliasee): New function.
16876 * file-coding.c (append_suffix_to_symbol): New function.
16877 * file-coding.c (dangling_coding_system_alias_p): New function.
16878 * file-coding.c (Ffind_coding_system):
16879 * file-coding.c (Fcopy_coding_system):
16880 * file-coding.c (encode_coding_no_conversion):
16881 * file-coding.c (syms_of_file_coding):
16882 * file-coding.c (vars_of_file_coding):
16883 Rewrite coding system alias code.
16884 Allow nested aliases, like symbolic links.
16885 Allow redefinition of coding system aliases.
16886 Prevent existence of dangling coding system aliases.
16888 * dired.c (Fuser_name_completion_1):
16889 * dired.c (Fuser_name_all_completions):
16890 A crash would happen if user did QUIT in the middle of building
16891 user_name_cache. Remove redundant code in mainline and unwind_protect.
16894 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
16896 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
16897 an unsigned char *. Update all callers.
16899 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16901 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
16903 2000-01-25 Martin Buchholz <martin@xemacs.org>
16905 * elhash.c (hentry_description): Use more portable definition.
16906 (resize_hash_table): Initialize new hentries using
16907 xnew_array_and_zero, thereby simplifying the code.
16909 * mule-charset.c (make_charset): Make sure entire object is
16910 initialized, to avoid Purify warnings.
16912 * alloc.c (resize_string): Fix unlikely crash with big strings.
16914 2000-01-24 Martin Buchholz <martin@xemacs.org>
16916 * realpath.c (xrealpath):
16917 Don't call getwd().
16919 2000-01-25 Martin Buchholz <martin@xemacs.org>
16921 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
16923 1999-12-28 Max Matveev <max@melbourne.sgi.com>
16925 * unexelfsgi.c (unexec): Change the way we decide which segment
16926 should be extended.
16928 Assumption that .bss section should be outside the PT_LOADable
16929 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
16930 it's present) is inside the 'data' segment. This would fail the
16931 test which was used to find a segment to grow and cover new
16932 heap. Instead of this assumption, I created another one - on IRIX
16933 the segment to grow should start below .bss and it's address
16934 should extent above the end of .bss. Once this segment is
16935 identified, it's grown to accommodate the new heap and new
16936 zero-length .bss section is added at the end of .data2.
16938 2000-01-25 Martin Buchholz <martin@xemacs.org>
16940 * eval.c (Feval): Wrong number of arguments should use original
16941 function, not the indirect_function version of it.
16943 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
16945 * glyphs-x.c (x_button_instantiate): Don't add image if
16946 it is not a pixmap.
16947 (x_locate_pixmap_file): Call Fexpand_file_name when file name
16950 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
16952 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
16954 (DEFVAR_INT_MAGIC): Ditto.
16955 (DEFVAR_BOOL_MAGIC): Ditto.
16956 * glyphs.h: Reindent backslash.
16958 2000-01-24 Martin Buchholz <martin@xemacs.org>
16960 * glyphs-widget.c (layout_query_geometry):
16961 (layout_layout): Use correct types for gheight, gwidth.
16963 2000-01-24 Martin Buchholz <martin@xemacs.org>
16965 * EmacsManager.c (QueryGeometry): Purified.
16967 2000-01-23 Martin Buchholz <martin@xemacs.org>
16969 * alloc.c (make_float): Make sure entire object is initialized, to
16970 avoid Purify warnings.
16971 (pdump_register_sub): Remove useless assignment.
16972 (pdump): Use xmalloc, not malloc.
16973 (pdump_load): Use xmalloc, not malloc.
16975 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16982 * sysdep.c: Removed redundant #include <windows.h>
16984 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16986 * frame.c (delete_frame_internal): Do not delete device when its
16987 implementation so declares.
16988 (delete_frame_internal): Set device selected frame to nil when
16989 last frame goes away.
16991 * device-msw.c (msprinter_device_system_metrics): Implemented.
16992 (mswindows_device_system_metrics): Added 'device-dpi property.
16994 * device.c: (Fdevice_printer_p): Added.
16995 Added 'offset-workspace device metric.
16997 * console.h (device_metrics): Declared DM_offset_workspace.
16999 2000-01-23 Martin Buchholz <martin@xemacs.org>
17001 * fileio.c (Ffile_truename): Remove pointless and confusing
17002 initialization of elen.
17004 * glyphs-widget.c: Compiler warning fixes.
17006 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
17008 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
17009 instead of a Lisp_Object as argument to make it consistent with
17010 the other LIVE_P macros.
17011 (CHECK_LIVE_PROCESS): New macro.
17013 * process.c: Declare Qprocess_live_p.
17014 (Fprocess_live_p): New function.
17015 (create_process): Use PROCESS_LIVE_P.
17016 (read_process_output): Ditto.
17017 (set_process_filter): Ditto.
17018 (Fdelete_process): Ditto.
17019 (kill_buffer_processes): Ditto
17020 (process_send_signal): Use CHECK_LIVE_PROCESS.
17021 (Fprocess_input_coding_system): Check whether process is still
17022 alive (fix PR#1061).
17023 (Fprocess_output_coding_system): Ditto.
17024 (Fprocess_coding_system): Ditto.
17025 (Fset_process_input_coding_system): Ditto.
17026 (Fset_process_output_coding_system): Ditto.
17028 2000-01-23 Andy Piper <andy@xemacs.org>
17030 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
17033 * glyphs.c (mark_image_instance): take into account changed
17034 image_instance format.
17035 (image_instance_equal): ditto.
17036 (image_instance_hash): ditto.
17038 * glyphs-widget.c (widget_instantiate): Incorporate layout
17039 instantiation here. Delay layout of the layout until later.
17040 (layout_instantiate): deleted.
17041 (layout_query_geometry): new function. get the geometry of a
17043 (layout_layout): layout a layout dynamically.
17044 (image_instantiator_widget): New function - splitting up
17045 image_instantiator_format_create_glyphs_widget for netwinder
17047 (image_instantiator_buttons):
17048 (image_instantiator_edit_fields):
17049 (image_instantiator_combo_box):
17050 (image_instantiator_scrollbar):
17051 (image_instantiator_progress_guage):
17052 (image_instantiator_tree_view):
17053 (image_instantiator_tab_control):
17054 (image_instantiator_labels):
17055 (image_instantiator_layout): ditto.
17056 (image_instantiator_format_create_glyphs_widget): Call preceding
17059 2000-01-22 Martin Buchholz <martin@xemacs.org>
17061 * process.c (Fset_process_coding_system):
17062 * device-x.c (Fx_keysym_hash_table):
17065 * lstream.c (Lstream_write): Return documented value, not 0.
17067 * fileio.c (directory_file_name):
17068 (Fsubstitute_in_file_name):
17069 (Fsubstitute_insert_file_contents_internal):
17070 (Fwrite_region_internal):
17075 Remove vestigial APOLLO-conditional code.
17077 2000-01-21 Martin Buchholz <martin@xemacs.org>
17079 * getpagesize.h: Add guard macros.
17080 * libsst.h: Add guard macros.
17081 * libst.h: Add guard macros.
17082 * line-number.h: Add guard macros.
17083 * ndir.h: Add guard macros.
17084 * sysfloat.h: Add guard macros.
17085 * sysfile.h: Add guard macros.
17086 * sysproc.h: Add guard macros.
17087 * syswait.h: Add guard macros.
17088 * xintrinsic.h: Add guard macros.
17089 * xintrinsicp.h: Add guard macros.
17090 * xmmanager.h: Add guard macros.
17091 * xmmanagerp.h: Add guard macros.
17092 * xmprimitive.h: Add guard macros.
17093 * xmu.h: Add guard macros.
17094 * gpmevent.h: Add copyright statement. Add guard macros.
17095 * miscplay.h: Add guard macros.
17096 * *.h: Use consistent C-standards-approved guard macro names.
17098 * opaque.c (make_opaque): Switch parameter order.
17099 * opaque.h (make_opaque): Switch parameter order.
17100 Update all callers.
17101 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
17103 * config.h.in (type_checking_assert): Added.
17104 (bufpos_checking_assert): Added.
17106 2000-01-21 Martin Buchholz <martin@xemacs.org>
17108 * alloc.c: Harmless pdump changes.
17110 - spell alignment correctly.
17111 * sysdep.c: Use countof()
17113 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17115 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
17116 initially_selected_for_input() console method, default to 0.
17117 (semi_canonicalize_console_connection): Try to delegate to
17118 canonicalize_console_connection if no such console method.
17119 (canonicalize_console_connection): Vice versa.
17120 (print_console): Do not print nil connection.
17122 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
17123 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
17124 (XDEVIMPF_FRAMELESS_OK): Added.
17125 (CONSOLE_INHERITS_METHOD): Added.
17127 * console-msw.c (mswindows_canonicalize_console_connection):
17129 (mswindows_canonicalize_device_connection): Added.
17131 * console-msw.h (struct msprinter_device): Added this struct and
17133 (mswindows_device): Made fontlist a lisp object.
17135 * device.c (semi_canonicalize_device_connection): Try to delegate
17136 to canonicalize_device_connection if no such console method.
17137 (canonicalize_device_connection): Vice versa.
17138 (print_device): Do not print nil connection.
17140 * device-msw.c (mswindows_init_device): Call InitCommonControls
17142 (mswindows_delete_device): Removed fontlist deallocation.
17143 (mswindows_mark_device): Added.
17145 * events.c (event_equal): Added abort() at unreached code.
17146 (event_hash): Ditto.
17148 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
17149 fallback tags of Windows devices.
17151 * general.c (syms_of_general): Initialized Qmsprinter.
17153 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
17154 of fallback tags of Windows devices.
17156 * lisp.h: Declared Qmsprinter.
17158 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
17160 (mswindows_list_fonts): Ditto.
17161 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
17162 that it can be used by both mswindows and msprinter devices.
17163 (initialize_font_instance): Added.
17164 (mswindows_initialize_font_instance): Use it.
17165 (msprinter_initialize_font_instance): Added.
17167 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
17168 and implementation flags check.
17169 (redisplay_without_hooks): Changed the call to the above.
17170 (Fredraw_device): Ditto.
17171 (Fredisplay_device): Ditto.
17173 * redisplay-msw.c (get_frame_dc): Implemented.
17174 (get_frame_compdc): Implemented.
17175 (many functions): Use the two functions above to get device
17176 contexts, ether for a window or a printer.
17178 2000-01-21 Olivier Galibert <galibert@pobox.com>
17180 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
17181 initialization here.
17182 (init_symbols_once_early): Call it.
17183 * emacs.c (main_1): Call it.
17184 * symsinit.h: Declare it.
17186 2000-01-19 Olivier Galibert <galibert@pobox.com>
17188 * alloc.c: Use a lrecord_header * in the backtrace instead of a
17190 (pdump_backtrace): Ditto.
17191 (pdump_register_object): Ditto. Cleanup use of the pointers.
17192 (pdump_get_entry): Abort if trying to register a null pointer.
17193 (pdump_dump_data): Cleanup types when relocating.
17194 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
17195 (pdump_dump_rtables): Remove bad casts.
17196 (pdump_load): Cleanup relocation w.r.t union type. Use a
17197 Lisp_Object instead of a EMACS_INT for the hashtable
17200 2000-01-20 Martin Buchholz <martin@xemacs.org>
17202 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
17204 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
17206 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
17208 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
17210 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17212 * faces.h (FACE_STRIKETHRU_P): Added.
17214 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
17217 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
17218 (mswindows_set_dc_font): New function, aware of font variants,
17219 separated from mswindows_update_dc.
17221 * objects-msw.h (struct mswindows_font_instance_data): Added
17224 * objects-msw.c (mswindows_finalize_font_instance): Delete all
17225 cached fonts and the data structure.
17226 (mswindows_initialize_font_instance): Added creation of font data
17228 (mswindows_print_font_instance): Print at least something.
17229 (mswindows_create_font_variant): Implemented.
17230 (mswindows_get_hfont): Implemented.
17232 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
17234 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
17235 prototyping problem with msvc.
17237 * emacs.c (main_1): added syms_of_gui_mswindows() call
17239 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
17240 syms_of_gui_mswindows() function
17242 * symsinit.h: added the prototype for syms_of_gui_mswindows()
17244 2000-01-18 Martin Buchholz <martin@xemacs.org>
17246 * XEmacs 21.2.27 is released.
17248 2000-01-18 Martin Buchholz <martin@xemacs.org>
17250 * glyphs-eimage.c (struct tiff_error_struct):
17252 (tiff_warning_func):
17253 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
17258 * unexec.c: Remove vestigial Lucid C code.
17262 * libsst.c: Ansify.
17263 Remove declarations of errno and strerror().
17265 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
17267 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
17269 2000-01-16 Martin Buchholz <martin@xemacs.org>
17271 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
17274 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17279 Change enum eol_type to eol_type_t.
17281 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17283 * gui.c (get_gui_callback): Check cons before accessing car.
17285 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17287 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
17288 (XSETSPECIFIER_TYPE): Ditto.
17290 2000-01-17 Didier Verna <didier@xemacs.org>
17292 * redisplay.c (generate_fstring_runes): compute string size in
17293 characters, not bytes.
17295 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
17297 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
17299 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
17301 * print.c (print_error_message): Call print_prepare().
17303 2000-01-14 Martin Buchholz <martin@xemacs.org>
17305 * .dbxrc: Renamed from dbxrc.
17307 * events.c (event_to_character):
17308 Use `assert (foo)' instead of `if (!foo) abort()'
17310 * .gdbinit (xtype): Add documentation.
17311 * .gdbinit (check-temacs): New function.
17312 * .gdbinit (check-xemacs): New function.
17313 * dbxrc (check-xemacs): New function.
17314 * dbxrc (check-xemacs): New function.
17316 2000-01-14 Andy Piper <andy@xemacs.org>
17318 * glyphs-widget.c (widget_query_geometry): Make sure that we
17319 calculate default dimensions correctly.
17321 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17323 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
17325 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
17326 pdump_wire'd variable.
17328 * emacs.c: (main_1): Conditionalized calls to
17329 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
17331 2000-01-13 Martin Buchholz <martin@xemacs.org>
17333 * window.c (Fset_window_configuration):
17334 * sysdep.c (_start):
17335 * input-method-motif.c (res):
17336 * event-Xt.c (Xt_process_to_emacs_event):
17337 Simple compiler warning fixes.
17339 * bytecode.c (funcall_compiled_function): Use the original
17340 function symbol on the backtrace list in preference to the
17341 compiled_function object in error messages.
17343 2000-01-13 Andy Piper <andy@xemacs.org>
17345 * glyphs-x.c (update_widget_face): Make sure we update the widget
17346 background as well as foreground.
17348 2000-01-13 Andy Piper <andy@xemacs.org>
17350 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
17351 fields to subwindow.
17352 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
17353 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
17354 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
17355 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
17357 * glyphs-widget.c (check_valid_tab_orientation): new function.
17358 (initialize_widget_image_instance): zero orientation and
17360 (widget_instantiate): pick up orientation.
17361 (tab_control_query_geometry): return appropriate values for
17364 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
17365 appropriate creation flags for left, right and bottom tabs.
17367 * s/cygwin32.h: add tab definitions.
17369 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17371 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
17372 frame upon hiding a subwindow.
17373 (mswindows_button_instantiate): Changed the push button style to
17375 (mswindows_button_instantiate): Removed button BS_NOTIFY
17377 (mswindows_button_instantiate): Removed redundant check for
17378 a disabled gui item.
17379 (mswindows_button_instantiate): Made use of WS_TABSTOP
17380 consistent: "operable" controls (edit, button, tree, scroll) have
17381 this style, "display-only" ones (static, progress gauge) do
17382 not. This style is currently ignored by XEmacs though. Also,
17383 removed the WS_EX_CONTROLPARENT style - it is not for children,
17384 it is for their parents!
17385 (mswindows_edit_field_instantiate): Ditto.
17386 (mswindows_progress_gauge_instantiate): Ditto.
17387 (mswindows_tree_view_instantiate): Ditto.
17388 (mswindows_tab_control_instantiate): Ditto.
17389 (mswindows_scrollbar_instantiate): Ditto.
17390 (mswindows_combo_box_instantiate): Ditto.
17391 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
17392 style to the "clip" window.
17393 (mswindows_button_instantiate): Removed compilation warning by
17394 equally typing terms of the ?: operator.
17396 2000-01-12 Didier Verna <didier@xemacs.org>
17398 * redisplay.c (generate_fstring_runes): new parameter holding the
17399 last modeline-format extent.
17400 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
17401 extent, fill the glyph block with it.
17402 (generate_fstring_runes): handle these parameters.
17403 (generate_formatted_string_db): ditto.
17405 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
17406 glyphs'extents in the modeline.
17408 1999-01-11 Mike Woolley <mike@bulsara.com>
17410 * ntheap.c: Reduced the reserved heap space from 1Gb down to
17411 256Mb, as a workaround for the non-starting problem many people
17414 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17416 * console-tty.c (Fset_console_tty_output_coding_system):
17417 Force redrawing tty frame.
17419 2000-01-10 Didier Verna <didier@xemacs.org>
17421 * redisplay.c (generate_fstring_runes): fix size computation bug.
17423 2000-01-09 William M. Perry <wmperry@aventail.com>
17425 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
17427 2000-01-09 Andy Piper <andy@xemacs.org>
17429 * glyphs-msw.c: index -> i to avoid shadows.
17430 (xbm_create_bitmap_from_data): make static.
17431 (check_valid_string_or_int): deleted.
17432 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
17434 * glyphs-x.c (x_update_subwindow): remove unused args.
17436 * glyphs.c (glyph_image_instance): return the thing. Don't set the
17437 back pointer - this is done in allocate_image_instance.
17438 (query_string_font): return Qnil to make the compiler happy.
17439 (unmap_subwindow): set to ~0 to make the compiler happy.
17440 (glyph_query_geometry): comment out until used.
17441 (glyph_layout): ditto.
17443 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
17445 * insdel.c (signal_after_change): Remove extraneous unbind_to().